@claritylabs/cl-sdk 2.0.1 → 3.0.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 +12 -11
- package/dist/index.d.mts +692 -20
- package/dist/index.d.ts +692 -20
- package/dist/index.js +1385 -253
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1374 -253
- package/dist/index.mjs.map +1 -1
- package/dist/storage-sqlite.d.mts +104 -0
- package/dist/storage-sqlite.d.ts +104 -0
- package/dist/storage-sqlite.js +80 -0
- package/dist/storage-sqlite.js.map +1 -1
- package/dist/storage-sqlite.mjs +80 -0
- package/dist/storage-sqlite.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as zod from 'zod';
|
|
|
2
2
|
import { ZodSchema, ZodTypeAny, z } from 'zod';
|
|
3
3
|
import { PDFDocument } from 'pdf-lib';
|
|
4
4
|
|
|
5
|
-
type ModelTaskKind = "extraction_classify" | "extraction_form_inventory" | "extraction_page_map" | "extraction_focused" | "extraction_long_list" | "extraction_referential_lookup" | "extraction_review" | "extraction_summary" | "extraction_format" | "query_attachment" | "query_classify" | "query_reason" | "query_verify" | "query_respond" | "application_classify" | "application_extract_fields" | "application_auto_fill" | "application_lookup" | "application_parse_answers" | "application_batch" | "application_email" | "application_pdf_mapping" | "pce_impact_analysis" | "pce_reply_parse" | "pce_packet_generation";
|
|
5
|
+
type ModelTaskKind = "extraction_classify" | "extraction_source_tree" | "extraction_operational_profile" | "extraction_form_inventory" | "extraction_page_map" | "extraction_focused" | "extraction_long_list" | "extraction_referential_lookup" | "extraction_review" | "extraction_summary" | "extraction_format" | "query_attachment" | "query_classify" | "query_reason" | "query_verify" | "query_respond" | "application_classify" | "application_extract_fields" | "application_auto_fill" | "application_lookup" | "application_parse_answers" | "application_batch" | "application_email" | "application_pdf_mapping" | "pce_impact_analysis" | "pce_reply_parse" | "pce_packet_generation";
|
|
6
6
|
interface ModelCapabilities {
|
|
7
7
|
/** Human-readable model identifier for diagnostics. */
|
|
8
8
|
model?: string;
|
|
@@ -6696,6 +6696,8 @@ declare const DocumentAgentGuidanceSchema: z.ZodObject<{
|
|
|
6696
6696
|
}>;
|
|
6697
6697
|
type DocumentAgentGuidance = z.infer<typeof DocumentAgentGuidanceSchema>;
|
|
6698
6698
|
declare const DocumentMetadataSchema: z.ZodObject<{
|
|
6699
|
+
sourceTreeVersion: z.ZodOptional<z.ZodString>;
|
|
6700
|
+
sourceTreeCanonical: z.ZodOptional<z.ZodBoolean>;
|
|
6699
6701
|
formInventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6700
6702
|
formNumber: z.ZodString;
|
|
6701
6703
|
editionDate: z.ZodOptional<z.ZodString>;
|
|
@@ -6791,6 +6793,8 @@ declare const DocumentMetadataSchema: z.ZodObject<{
|
|
|
6791
6793
|
sourceSpanIds?: string[] | undefined;
|
|
6792
6794
|
}>, "many">>;
|
|
6793
6795
|
}, "strip", z.ZodTypeAny, {
|
|
6796
|
+
sourceTreeVersion?: string | undefined;
|
|
6797
|
+
sourceTreeCanonical?: boolean | undefined;
|
|
6794
6798
|
formInventory?: {
|
|
6795
6799
|
formNumber: string;
|
|
6796
6800
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -6826,6 +6830,8 @@ declare const DocumentMetadataSchema: z.ZodObject<{
|
|
|
6826
6830
|
sourceSpanIds?: string[] | undefined;
|
|
6827
6831
|
}[] | undefined;
|
|
6828
6832
|
}, {
|
|
6833
|
+
sourceTreeVersion?: string | undefined;
|
|
6834
|
+
sourceTreeCanonical?: boolean | undefined;
|
|
6829
6835
|
formInventory?: {
|
|
6830
6836
|
formNumber: string;
|
|
6831
6837
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -6957,6 +6963,8 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
6957
6963
|
recordId?: string | undefined;
|
|
6958
6964
|
}>, "many">;
|
|
6959
6965
|
documentMetadata: z.ZodObject<{
|
|
6966
|
+
sourceTreeVersion: z.ZodOptional<z.ZodString>;
|
|
6967
|
+
sourceTreeCanonical: z.ZodOptional<z.ZodBoolean>;
|
|
6960
6968
|
formInventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6961
6969
|
formNumber: z.ZodString;
|
|
6962
6970
|
editionDate: z.ZodOptional<z.ZodString>;
|
|
@@ -7052,6 +7060,8 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
7052
7060
|
sourceSpanIds?: string[] | undefined;
|
|
7053
7061
|
}>, "many">>;
|
|
7054
7062
|
}, "strip", z.ZodTypeAny, {
|
|
7063
|
+
sourceTreeVersion?: string | undefined;
|
|
7064
|
+
sourceTreeCanonical?: boolean | undefined;
|
|
7055
7065
|
formInventory?: {
|
|
7056
7066
|
formNumber: string;
|
|
7057
7067
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -7087,6 +7097,8 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
7087
7097
|
sourceSpanIds?: string[] | undefined;
|
|
7088
7098
|
}[] | undefined;
|
|
7089
7099
|
}, {
|
|
7100
|
+
sourceTreeVersion?: string | undefined;
|
|
7101
|
+
sourceTreeCanonical?: boolean | undefined;
|
|
7090
7102
|
formInventory?: {
|
|
7091
7103
|
formNumber: string;
|
|
7092
7104
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -10853,6 +10865,8 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
10853
10865
|
id: string;
|
|
10854
10866
|
insuredName: string;
|
|
10855
10867
|
documentMetadata: {
|
|
10868
|
+
sourceTreeVersion?: string | undefined;
|
|
10869
|
+
sourceTreeCanonical?: boolean | undefined;
|
|
10856
10870
|
formInventory?: {
|
|
10857
10871
|
formNumber: string;
|
|
10858
10872
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -11902,6 +11916,8 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
11902
11916
|
id: string;
|
|
11903
11917
|
insuredName: string;
|
|
11904
11918
|
documentMetadata: {
|
|
11919
|
+
sourceTreeVersion?: string | undefined;
|
|
11920
|
+
sourceTreeCanonical?: boolean | undefined;
|
|
11905
11921
|
formInventory?: {
|
|
11906
11922
|
formNumber: string;
|
|
11907
11923
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -13087,6 +13103,8 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
13087
13103
|
recordId?: string | undefined;
|
|
13088
13104
|
}>, "many">;
|
|
13089
13105
|
documentMetadata: z.ZodObject<{
|
|
13106
|
+
sourceTreeVersion: z.ZodOptional<z.ZodString>;
|
|
13107
|
+
sourceTreeCanonical: z.ZodOptional<z.ZodBoolean>;
|
|
13090
13108
|
formInventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13091
13109
|
formNumber: z.ZodString;
|
|
13092
13110
|
editionDate: z.ZodOptional<z.ZodString>;
|
|
@@ -13182,6 +13200,8 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
13182
13200
|
sourceSpanIds?: string[] | undefined;
|
|
13183
13201
|
}>, "many">>;
|
|
13184
13202
|
}, "strip", z.ZodTypeAny, {
|
|
13203
|
+
sourceTreeVersion?: string | undefined;
|
|
13204
|
+
sourceTreeCanonical?: boolean | undefined;
|
|
13185
13205
|
formInventory?: {
|
|
13186
13206
|
formNumber: string;
|
|
13187
13207
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -13217,6 +13237,8 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
13217
13237
|
sourceSpanIds?: string[] | undefined;
|
|
13218
13238
|
}[] | undefined;
|
|
13219
13239
|
}, {
|
|
13240
|
+
sourceTreeVersion?: string | undefined;
|
|
13241
|
+
sourceTreeCanonical?: boolean | undefined;
|
|
13220
13242
|
formInventory?: {
|
|
13221
13243
|
formNumber: string;
|
|
13222
13244
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -16981,6 +17003,8 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
16981
17003
|
id: string;
|
|
16982
17004
|
insuredName: string;
|
|
16983
17005
|
documentMetadata: {
|
|
17006
|
+
sourceTreeVersion?: string | undefined;
|
|
17007
|
+
sourceTreeCanonical?: boolean | undefined;
|
|
16984
17008
|
formInventory?: {
|
|
16985
17009
|
formNumber: string;
|
|
16986
17010
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -18063,6 +18087,8 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
18063
18087
|
id: string;
|
|
18064
18088
|
insuredName: string;
|
|
18065
18089
|
documentMetadata: {
|
|
18090
|
+
sourceTreeVersion?: string | undefined;
|
|
18091
|
+
sourceTreeCanonical?: boolean | undefined;
|
|
18066
18092
|
formInventory?: {
|
|
18067
18093
|
formNumber: string;
|
|
18068
18094
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -19196,6 +19222,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
19196
19222
|
recordId?: string | undefined;
|
|
19197
19223
|
}>, "many">;
|
|
19198
19224
|
documentMetadata: z.ZodObject<{
|
|
19225
|
+
sourceTreeVersion: z.ZodOptional<z.ZodString>;
|
|
19226
|
+
sourceTreeCanonical: z.ZodOptional<z.ZodBoolean>;
|
|
19199
19227
|
formInventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19200
19228
|
formNumber: z.ZodString;
|
|
19201
19229
|
editionDate: z.ZodOptional<z.ZodString>;
|
|
@@ -19291,6 +19319,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
19291
19319
|
sourceSpanIds?: string[] | undefined;
|
|
19292
19320
|
}>, "many">>;
|
|
19293
19321
|
}, "strip", z.ZodTypeAny, {
|
|
19322
|
+
sourceTreeVersion?: string | undefined;
|
|
19323
|
+
sourceTreeCanonical?: boolean | undefined;
|
|
19294
19324
|
formInventory?: {
|
|
19295
19325
|
formNumber: string;
|
|
19296
19326
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -19326,6 +19356,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
19326
19356
|
sourceSpanIds?: string[] | undefined;
|
|
19327
19357
|
}[] | undefined;
|
|
19328
19358
|
}, {
|
|
19359
|
+
sourceTreeVersion?: string | undefined;
|
|
19360
|
+
sourceTreeCanonical?: boolean | undefined;
|
|
19329
19361
|
formInventory?: {
|
|
19330
19362
|
formNumber: string;
|
|
19331
19363
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -23092,6 +23124,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
23092
23124
|
id: string;
|
|
23093
23125
|
insuredName: string;
|
|
23094
23126
|
documentMetadata: {
|
|
23127
|
+
sourceTreeVersion?: string | undefined;
|
|
23128
|
+
sourceTreeCanonical?: boolean | undefined;
|
|
23095
23129
|
formInventory?: {
|
|
23096
23130
|
formNumber: string;
|
|
23097
23131
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -24141,6 +24175,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
24141
24175
|
id: string;
|
|
24142
24176
|
insuredName: string;
|
|
24143
24177
|
documentMetadata: {
|
|
24178
|
+
sourceTreeVersion?: string | undefined;
|
|
24179
|
+
sourceTreeCanonical?: boolean | undefined;
|
|
24144
24180
|
formInventory?: {
|
|
24145
24181
|
formNumber: string;
|
|
24146
24182
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -25324,6 +25360,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
25324
25360
|
recordId?: string | undefined;
|
|
25325
25361
|
}>, "many">;
|
|
25326
25362
|
documentMetadata: z.ZodObject<{
|
|
25363
|
+
sourceTreeVersion: z.ZodOptional<z.ZodString>;
|
|
25364
|
+
sourceTreeCanonical: z.ZodOptional<z.ZodBoolean>;
|
|
25327
25365
|
formInventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
25328
25366
|
formNumber: z.ZodString;
|
|
25329
25367
|
editionDate: z.ZodOptional<z.ZodString>;
|
|
@@ -25419,6 +25457,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
25419
25457
|
sourceSpanIds?: string[] | undefined;
|
|
25420
25458
|
}>, "many">>;
|
|
25421
25459
|
}, "strip", z.ZodTypeAny, {
|
|
25460
|
+
sourceTreeVersion?: string | undefined;
|
|
25461
|
+
sourceTreeCanonical?: boolean | undefined;
|
|
25422
25462
|
formInventory?: {
|
|
25423
25463
|
formNumber: string;
|
|
25424
25464
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -25454,6 +25494,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
25454
25494
|
sourceSpanIds?: string[] | undefined;
|
|
25455
25495
|
}[] | undefined;
|
|
25456
25496
|
}, {
|
|
25497
|
+
sourceTreeVersion?: string | undefined;
|
|
25498
|
+
sourceTreeCanonical?: boolean | undefined;
|
|
25457
25499
|
formInventory?: {
|
|
25458
25500
|
formNumber: string;
|
|
25459
25501
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -29218,6 +29260,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
29218
29260
|
id: string;
|
|
29219
29261
|
insuredName: string;
|
|
29220
29262
|
documentMetadata: {
|
|
29263
|
+
sourceTreeVersion?: string | undefined;
|
|
29264
|
+
sourceTreeCanonical?: boolean | undefined;
|
|
29221
29265
|
formInventory?: {
|
|
29222
29266
|
formNumber: string;
|
|
29223
29267
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -30300,6 +30344,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
30300
30344
|
id: string;
|
|
30301
30345
|
insuredName: string;
|
|
30302
30346
|
documentMetadata: {
|
|
30347
|
+
sourceTreeVersion?: string | undefined;
|
|
30348
|
+
sourceTreeCanonical?: boolean | undefined;
|
|
30303
30349
|
formInventory?: {
|
|
30304
30350
|
formNumber: string;
|
|
30305
30351
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -33561,6 +33607,575 @@ declare const SourceChunkSchema: z.ZodObject<{
|
|
|
33561
33607
|
metadata?: Record<string, string> | undefined;
|
|
33562
33608
|
}>;
|
|
33563
33609
|
type SourceChunk = z.infer<typeof SourceChunkSchema>;
|
|
33610
|
+
declare const DocumentSourceNodeKindSchema: z.ZodEnum<["document", "page_group", "page", "form", "endorsement", "section", "schedule", "clause", "table", "table_row", "table_cell", "text"]>;
|
|
33611
|
+
type DocumentSourceNodeKind = z.infer<typeof DocumentSourceNodeKindSchema>;
|
|
33612
|
+
declare const DocumentSourceNodeSchema: z.ZodObject<{
|
|
33613
|
+
id: z.ZodString;
|
|
33614
|
+
documentId: z.ZodString;
|
|
33615
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
33616
|
+
kind: z.ZodEnum<["document", "page_group", "page", "form", "endorsement", "section", "schedule", "clause", "table", "table_row", "table_cell", "text"]>;
|
|
33617
|
+
title: z.ZodString;
|
|
33618
|
+
description: z.ZodString;
|
|
33619
|
+
textExcerpt: z.ZodOptional<z.ZodString>;
|
|
33620
|
+
sourceSpanIds: z.ZodArray<z.ZodString, "many">;
|
|
33621
|
+
pageStart: z.ZodOptional<z.ZodNumber>;
|
|
33622
|
+
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
33623
|
+
bbox: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
33624
|
+
page: z.ZodNumber;
|
|
33625
|
+
x: z.ZodNumber;
|
|
33626
|
+
y: z.ZodNumber;
|
|
33627
|
+
width: z.ZodNumber;
|
|
33628
|
+
height: z.ZodNumber;
|
|
33629
|
+
}, "strip", z.ZodTypeAny, {
|
|
33630
|
+
page: number;
|
|
33631
|
+
x: number;
|
|
33632
|
+
y: number;
|
|
33633
|
+
width: number;
|
|
33634
|
+
height: number;
|
|
33635
|
+
}, {
|
|
33636
|
+
page: number;
|
|
33637
|
+
x: number;
|
|
33638
|
+
y: number;
|
|
33639
|
+
width: number;
|
|
33640
|
+
height: number;
|
|
33641
|
+
}>, "many">>;
|
|
33642
|
+
order: z.ZodNumber;
|
|
33643
|
+
path: z.ZodString;
|
|
33644
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
33645
|
+
}, "strip", z.ZodTypeAny, {
|
|
33646
|
+
path: string;
|
|
33647
|
+
title: string;
|
|
33648
|
+
sourceSpanIds: string[];
|
|
33649
|
+
description: string;
|
|
33650
|
+
kind: "endorsement" | "schedule" | "page" | "text" | "section" | "table" | "table_row" | "table_cell" | "document" | "page_group" | "form" | "clause";
|
|
33651
|
+
id: string;
|
|
33652
|
+
documentId: string;
|
|
33653
|
+
order: number;
|
|
33654
|
+
pageStart?: number | undefined;
|
|
33655
|
+
pageEnd?: number | undefined;
|
|
33656
|
+
metadata?: Record<string, unknown> | undefined;
|
|
33657
|
+
bbox?: {
|
|
33658
|
+
page: number;
|
|
33659
|
+
x: number;
|
|
33660
|
+
y: number;
|
|
33661
|
+
width: number;
|
|
33662
|
+
height: number;
|
|
33663
|
+
}[] | undefined;
|
|
33664
|
+
parentId?: string | undefined;
|
|
33665
|
+
textExcerpt?: string | undefined;
|
|
33666
|
+
}, {
|
|
33667
|
+
path: string;
|
|
33668
|
+
title: string;
|
|
33669
|
+
sourceSpanIds: string[];
|
|
33670
|
+
description: string;
|
|
33671
|
+
kind: "endorsement" | "schedule" | "page" | "text" | "section" | "table" | "table_row" | "table_cell" | "document" | "page_group" | "form" | "clause";
|
|
33672
|
+
id: string;
|
|
33673
|
+
documentId: string;
|
|
33674
|
+
order: number;
|
|
33675
|
+
pageStart?: number | undefined;
|
|
33676
|
+
pageEnd?: number | undefined;
|
|
33677
|
+
metadata?: Record<string, unknown> | undefined;
|
|
33678
|
+
bbox?: {
|
|
33679
|
+
page: number;
|
|
33680
|
+
x: number;
|
|
33681
|
+
y: number;
|
|
33682
|
+
width: number;
|
|
33683
|
+
height: number;
|
|
33684
|
+
}[] | undefined;
|
|
33685
|
+
parentId?: string | undefined;
|
|
33686
|
+
textExcerpt?: string | undefined;
|
|
33687
|
+
}>;
|
|
33688
|
+
type DocumentSourceNode = z.infer<typeof DocumentSourceNodeSchema>;
|
|
33689
|
+
declare const SourceBackedValueSchema: z.ZodObject<{
|
|
33690
|
+
value: z.ZodString;
|
|
33691
|
+
normalizedValue: z.ZodOptional<z.ZodString>;
|
|
33692
|
+
confidence: z.ZodDefault<z.ZodEnum<["low", "medium", "high"]>>;
|
|
33693
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33694
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33695
|
+
}, "strip", z.ZodTypeAny, {
|
|
33696
|
+
value: string;
|
|
33697
|
+
sourceSpanIds: string[];
|
|
33698
|
+
confidence: "low" | "medium" | "high";
|
|
33699
|
+
sourceNodeIds: string[];
|
|
33700
|
+
normalizedValue?: string | undefined;
|
|
33701
|
+
}, {
|
|
33702
|
+
value: string;
|
|
33703
|
+
sourceSpanIds?: string[] | undefined;
|
|
33704
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
33705
|
+
normalizedValue?: string | undefined;
|
|
33706
|
+
sourceNodeIds?: string[] | undefined;
|
|
33707
|
+
}>;
|
|
33708
|
+
type SourceBackedValue = z.infer<typeof SourceBackedValueSchema>;
|
|
33709
|
+
declare const OperationalCoverageLineSchema: z.ZodObject<{
|
|
33710
|
+
name: z.ZodString;
|
|
33711
|
+
coverageCode: z.ZodOptional<z.ZodString>;
|
|
33712
|
+
limit: z.ZodOptional<z.ZodString>;
|
|
33713
|
+
deductible: z.ZodOptional<z.ZodString>;
|
|
33714
|
+
premium: z.ZodOptional<z.ZodString>;
|
|
33715
|
+
formNumber: z.ZodOptional<z.ZodString>;
|
|
33716
|
+
sectionRef: z.ZodOptional<z.ZodString>;
|
|
33717
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33718
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33719
|
+
}, "strip", z.ZodTypeAny, {
|
|
33720
|
+
name: string;
|
|
33721
|
+
sourceSpanIds: string[];
|
|
33722
|
+
sourceNodeIds: string[];
|
|
33723
|
+
formNumber?: string | undefined;
|
|
33724
|
+
limit?: string | undefined;
|
|
33725
|
+
deductible?: string | undefined;
|
|
33726
|
+
sectionRef?: string | undefined;
|
|
33727
|
+
coverageCode?: string | undefined;
|
|
33728
|
+
premium?: string | undefined;
|
|
33729
|
+
}, {
|
|
33730
|
+
name: string;
|
|
33731
|
+
formNumber?: string | undefined;
|
|
33732
|
+
sourceSpanIds?: string[] | undefined;
|
|
33733
|
+
limit?: string | undefined;
|
|
33734
|
+
deductible?: string | undefined;
|
|
33735
|
+
sectionRef?: string | undefined;
|
|
33736
|
+
coverageCode?: string | undefined;
|
|
33737
|
+
premium?: string | undefined;
|
|
33738
|
+
sourceNodeIds?: string[] | undefined;
|
|
33739
|
+
}>;
|
|
33740
|
+
type OperationalCoverageLine = z.infer<typeof OperationalCoverageLineSchema>;
|
|
33741
|
+
declare const OperationalPartySchema: z.ZodObject<{
|
|
33742
|
+
role: z.ZodString;
|
|
33743
|
+
name: z.ZodString;
|
|
33744
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33745
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33746
|
+
}, "strip", z.ZodTypeAny, {
|
|
33747
|
+
name: string;
|
|
33748
|
+
sourceSpanIds: string[];
|
|
33749
|
+
role: string;
|
|
33750
|
+
sourceNodeIds: string[];
|
|
33751
|
+
}, {
|
|
33752
|
+
name: string;
|
|
33753
|
+
role: string;
|
|
33754
|
+
sourceSpanIds?: string[] | undefined;
|
|
33755
|
+
sourceNodeIds?: string[] | undefined;
|
|
33756
|
+
}>;
|
|
33757
|
+
type OperationalParty = z.infer<typeof OperationalPartySchema>;
|
|
33758
|
+
declare const OperationalEndorsementSupportSchema: z.ZodObject<{
|
|
33759
|
+
kind: z.ZodString;
|
|
33760
|
+
status: z.ZodEnum<["supported", "excluded", "requires_review"]>;
|
|
33761
|
+
summary: z.ZodString;
|
|
33762
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33763
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33764
|
+
}, "strip", z.ZodTypeAny, {
|
|
33765
|
+
status: "supported" | "excluded" | "requires_review";
|
|
33766
|
+
sourceSpanIds: string[];
|
|
33767
|
+
kind: string;
|
|
33768
|
+
summary: string;
|
|
33769
|
+
sourceNodeIds: string[];
|
|
33770
|
+
}, {
|
|
33771
|
+
status: "supported" | "excluded" | "requires_review";
|
|
33772
|
+
kind: string;
|
|
33773
|
+
summary: string;
|
|
33774
|
+
sourceSpanIds?: string[] | undefined;
|
|
33775
|
+
sourceNodeIds?: string[] | undefined;
|
|
33776
|
+
}>;
|
|
33777
|
+
type OperationalEndorsementSupport = z.infer<typeof OperationalEndorsementSupportSchema>;
|
|
33778
|
+
declare const PolicyOperationalProfileSchema: z.ZodObject<{
|
|
33779
|
+
documentType: z.ZodDefault<z.ZodEnum<["policy", "quote"]>>;
|
|
33780
|
+
policyTypes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33781
|
+
policyNumber: z.ZodOptional<z.ZodObject<{
|
|
33782
|
+
value: z.ZodString;
|
|
33783
|
+
normalizedValue: z.ZodOptional<z.ZodString>;
|
|
33784
|
+
confidence: z.ZodDefault<z.ZodEnum<["low", "medium", "high"]>>;
|
|
33785
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33786
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33787
|
+
}, "strip", z.ZodTypeAny, {
|
|
33788
|
+
value: string;
|
|
33789
|
+
sourceSpanIds: string[];
|
|
33790
|
+
confidence: "low" | "medium" | "high";
|
|
33791
|
+
sourceNodeIds: string[];
|
|
33792
|
+
normalizedValue?: string | undefined;
|
|
33793
|
+
}, {
|
|
33794
|
+
value: string;
|
|
33795
|
+
sourceSpanIds?: string[] | undefined;
|
|
33796
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
33797
|
+
normalizedValue?: string | undefined;
|
|
33798
|
+
sourceNodeIds?: string[] | undefined;
|
|
33799
|
+
}>>;
|
|
33800
|
+
namedInsured: z.ZodOptional<z.ZodObject<{
|
|
33801
|
+
value: z.ZodString;
|
|
33802
|
+
normalizedValue: z.ZodOptional<z.ZodString>;
|
|
33803
|
+
confidence: z.ZodDefault<z.ZodEnum<["low", "medium", "high"]>>;
|
|
33804
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33805
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33806
|
+
}, "strip", z.ZodTypeAny, {
|
|
33807
|
+
value: string;
|
|
33808
|
+
sourceSpanIds: string[];
|
|
33809
|
+
confidence: "low" | "medium" | "high";
|
|
33810
|
+
sourceNodeIds: string[];
|
|
33811
|
+
normalizedValue?: string | undefined;
|
|
33812
|
+
}, {
|
|
33813
|
+
value: string;
|
|
33814
|
+
sourceSpanIds?: string[] | undefined;
|
|
33815
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
33816
|
+
normalizedValue?: string | undefined;
|
|
33817
|
+
sourceNodeIds?: string[] | undefined;
|
|
33818
|
+
}>>;
|
|
33819
|
+
insurer: z.ZodOptional<z.ZodObject<{
|
|
33820
|
+
value: z.ZodString;
|
|
33821
|
+
normalizedValue: z.ZodOptional<z.ZodString>;
|
|
33822
|
+
confidence: z.ZodDefault<z.ZodEnum<["low", "medium", "high"]>>;
|
|
33823
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33824
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33825
|
+
}, "strip", z.ZodTypeAny, {
|
|
33826
|
+
value: string;
|
|
33827
|
+
sourceSpanIds: string[];
|
|
33828
|
+
confidence: "low" | "medium" | "high";
|
|
33829
|
+
sourceNodeIds: string[];
|
|
33830
|
+
normalizedValue?: string | undefined;
|
|
33831
|
+
}, {
|
|
33832
|
+
value: string;
|
|
33833
|
+
sourceSpanIds?: string[] | undefined;
|
|
33834
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
33835
|
+
normalizedValue?: string | undefined;
|
|
33836
|
+
sourceNodeIds?: string[] | undefined;
|
|
33837
|
+
}>>;
|
|
33838
|
+
broker: z.ZodOptional<z.ZodObject<{
|
|
33839
|
+
value: z.ZodString;
|
|
33840
|
+
normalizedValue: z.ZodOptional<z.ZodString>;
|
|
33841
|
+
confidence: z.ZodDefault<z.ZodEnum<["low", "medium", "high"]>>;
|
|
33842
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33843
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33844
|
+
}, "strip", z.ZodTypeAny, {
|
|
33845
|
+
value: string;
|
|
33846
|
+
sourceSpanIds: string[];
|
|
33847
|
+
confidence: "low" | "medium" | "high";
|
|
33848
|
+
sourceNodeIds: string[];
|
|
33849
|
+
normalizedValue?: string | undefined;
|
|
33850
|
+
}, {
|
|
33851
|
+
value: string;
|
|
33852
|
+
sourceSpanIds?: string[] | undefined;
|
|
33853
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
33854
|
+
normalizedValue?: string | undefined;
|
|
33855
|
+
sourceNodeIds?: string[] | undefined;
|
|
33856
|
+
}>>;
|
|
33857
|
+
effectiveDate: z.ZodOptional<z.ZodObject<{
|
|
33858
|
+
value: z.ZodString;
|
|
33859
|
+
normalizedValue: z.ZodOptional<z.ZodString>;
|
|
33860
|
+
confidence: z.ZodDefault<z.ZodEnum<["low", "medium", "high"]>>;
|
|
33861
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33862
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33863
|
+
}, "strip", z.ZodTypeAny, {
|
|
33864
|
+
value: string;
|
|
33865
|
+
sourceSpanIds: string[];
|
|
33866
|
+
confidence: "low" | "medium" | "high";
|
|
33867
|
+
sourceNodeIds: string[];
|
|
33868
|
+
normalizedValue?: string | undefined;
|
|
33869
|
+
}, {
|
|
33870
|
+
value: string;
|
|
33871
|
+
sourceSpanIds?: string[] | undefined;
|
|
33872
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
33873
|
+
normalizedValue?: string | undefined;
|
|
33874
|
+
sourceNodeIds?: string[] | undefined;
|
|
33875
|
+
}>>;
|
|
33876
|
+
expirationDate: z.ZodOptional<z.ZodObject<{
|
|
33877
|
+
value: z.ZodString;
|
|
33878
|
+
normalizedValue: z.ZodOptional<z.ZodString>;
|
|
33879
|
+
confidence: z.ZodDefault<z.ZodEnum<["low", "medium", "high"]>>;
|
|
33880
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33881
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33882
|
+
}, "strip", z.ZodTypeAny, {
|
|
33883
|
+
value: string;
|
|
33884
|
+
sourceSpanIds: string[];
|
|
33885
|
+
confidence: "low" | "medium" | "high";
|
|
33886
|
+
sourceNodeIds: string[];
|
|
33887
|
+
normalizedValue?: string | undefined;
|
|
33888
|
+
}, {
|
|
33889
|
+
value: string;
|
|
33890
|
+
sourceSpanIds?: string[] | undefined;
|
|
33891
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
33892
|
+
normalizedValue?: string | undefined;
|
|
33893
|
+
sourceNodeIds?: string[] | undefined;
|
|
33894
|
+
}>>;
|
|
33895
|
+
retroactiveDate: z.ZodOptional<z.ZodObject<{
|
|
33896
|
+
value: z.ZodString;
|
|
33897
|
+
normalizedValue: z.ZodOptional<z.ZodString>;
|
|
33898
|
+
confidence: z.ZodDefault<z.ZodEnum<["low", "medium", "high"]>>;
|
|
33899
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33900
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33901
|
+
}, "strip", z.ZodTypeAny, {
|
|
33902
|
+
value: string;
|
|
33903
|
+
sourceSpanIds: string[];
|
|
33904
|
+
confidence: "low" | "medium" | "high";
|
|
33905
|
+
sourceNodeIds: string[];
|
|
33906
|
+
normalizedValue?: string | undefined;
|
|
33907
|
+
}, {
|
|
33908
|
+
value: string;
|
|
33909
|
+
sourceSpanIds?: string[] | undefined;
|
|
33910
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
33911
|
+
normalizedValue?: string | undefined;
|
|
33912
|
+
sourceNodeIds?: string[] | undefined;
|
|
33913
|
+
}>>;
|
|
33914
|
+
premium: z.ZodOptional<z.ZodObject<{
|
|
33915
|
+
value: z.ZodString;
|
|
33916
|
+
normalizedValue: z.ZodOptional<z.ZodString>;
|
|
33917
|
+
confidence: z.ZodDefault<z.ZodEnum<["low", "medium", "high"]>>;
|
|
33918
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33919
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33920
|
+
}, "strip", z.ZodTypeAny, {
|
|
33921
|
+
value: string;
|
|
33922
|
+
sourceSpanIds: string[];
|
|
33923
|
+
confidence: "low" | "medium" | "high";
|
|
33924
|
+
sourceNodeIds: string[];
|
|
33925
|
+
normalizedValue?: string | undefined;
|
|
33926
|
+
}, {
|
|
33927
|
+
value: string;
|
|
33928
|
+
sourceSpanIds?: string[] | undefined;
|
|
33929
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
33930
|
+
normalizedValue?: string | undefined;
|
|
33931
|
+
sourceNodeIds?: string[] | undefined;
|
|
33932
|
+
}>>;
|
|
33933
|
+
coverageTypes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33934
|
+
coverages: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
33935
|
+
name: z.ZodString;
|
|
33936
|
+
coverageCode: z.ZodOptional<z.ZodString>;
|
|
33937
|
+
limit: z.ZodOptional<z.ZodString>;
|
|
33938
|
+
deductible: z.ZodOptional<z.ZodString>;
|
|
33939
|
+
premium: z.ZodOptional<z.ZodString>;
|
|
33940
|
+
formNumber: z.ZodOptional<z.ZodString>;
|
|
33941
|
+
sectionRef: z.ZodOptional<z.ZodString>;
|
|
33942
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33943
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33944
|
+
}, "strip", z.ZodTypeAny, {
|
|
33945
|
+
name: string;
|
|
33946
|
+
sourceSpanIds: string[];
|
|
33947
|
+
sourceNodeIds: string[];
|
|
33948
|
+
formNumber?: string | undefined;
|
|
33949
|
+
limit?: string | undefined;
|
|
33950
|
+
deductible?: string | undefined;
|
|
33951
|
+
sectionRef?: string | undefined;
|
|
33952
|
+
coverageCode?: string | undefined;
|
|
33953
|
+
premium?: string | undefined;
|
|
33954
|
+
}, {
|
|
33955
|
+
name: string;
|
|
33956
|
+
formNumber?: string | undefined;
|
|
33957
|
+
sourceSpanIds?: string[] | undefined;
|
|
33958
|
+
limit?: string | undefined;
|
|
33959
|
+
deductible?: string | undefined;
|
|
33960
|
+
sectionRef?: string | undefined;
|
|
33961
|
+
coverageCode?: string | undefined;
|
|
33962
|
+
premium?: string | undefined;
|
|
33963
|
+
sourceNodeIds?: string[] | undefined;
|
|
33964
|
+
}>, "many">>;
|
|
33965
|
+
parties: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
33966
|
+
role: z.ZodString;
|
|
33967
|
+
name: z.ZodString;
|
|
33968
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33969
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33970
|
+
}, "strip", z.ZodTypeAny, {
|
|
33971
|
+
name: string;
|
|
33972
|
+
sourceSpanIds: string[];
|
|
33973
|
+
role: string;
|
|
33974
|
+
sourceNodeIds: string[];
|
|
33975
|
+
}, {
|
|
33976
|
+
name: string;
|
|
33977
|
+
role: string;
|
|
33978
|
+
sourceSpanIds?: string[] | undefined;
|
|
33979
|
+
sourceNodeIds?: string[] | undefined;
|
|
33980
|
+
}>, "many">>;
|
|
33981
|
+
endorsementSupport: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
33982
|
+
kind: z.ZodString;
|
|
33983
|
+
status: z.ZodEnum<["supported", "excluded", "requires_review"]>;
|
|
33984
|
+
summary: z.ZodString;
|
|
33985
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33986
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33987
|
+
}, "strip", z.ZodTypeAny, {
|
|
33988
|
+
status: "supported" | "excluded" | "requires_review";
|
|
33989
|
+
sourceSpanIds: string[];
|
|
33990
|
+
kind: string;
|
|
33991
|
+
summary: string;
|
|
33992
|
+
sourceNodeIds: string[];
|
|
33993
|
+
}, {
|
|
33994
|
+
status: "supported" | "excluded" | "requires_review";
|
|
33995
|
+
kind: string;
|
|
33996
|
+
summary: string;
|
|
33997
|
+
sourceSpanIds?: string[] | undefined;
|
|
33998
|
+
sourceNodeIds?: string[] | undefined;
|
|
33999
|
+
}>, "many">>;
|
|
34000
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
34001
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
34002
|
+
warnings: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
34003
|
+
}, "strip", z.ZodTypeAny, {
|
|
34004
|
+
sourceSpanIds: string[];
|
|
34005
|
+
coverages: {
|
|
34006
|
+
name: string;
|
|
34007
|
+
sourceSpanIds: string[];
|
|
34008
|
+
sourceNodeIds: string[];
|
|
34009
|
+
formNumber?: string | undefined;
|
|
34010
|
+
limit?: string | undefined;
|
|
34011
|
+
deductible?: string | undefined;
|
|
34012
|
+
sectionRef?: string | undefined;
|
|
34013
|
+
coverageCode?: string | undefined;
|
|
34014
|
+
premium?: string | undefined;
|
|
34015
|
+
}[];
|
|
34016
|
+
policyTypes: string[];
|
|
34017
|
+
sourceNodeIds: string[];
|
|
34018
|
+
documentType: "policy" | "quote";
|
|
34019
|
+
coverageTypes: string[];
|
|
34020
|
+
parties: {
|
|
34021
|
+
name: string;
|
|
34022
|
+
sourceSpanIds: string[];
|
|
34023
|
+
role: string;
|
|
34024
|
+
sourceNodeIds: string[];
|
|
34025
|
+
}[];
|
|
34026
|
+
endorsementSupport: {
|
|
34027
|
+
status: "supported" | "excluded" | "requires_review";
|
|
34028
|
+
sourceSpanIds: string[];
|
|
34029
|
+
kind: string;
|
|
34030
|
+
summary: string;
|
|
34031
|
+
sourceNodeIds: string[];
|
|
34032
|
+
}[];
|
|
34033
|
+
warnings: string[];
|
|
34034
|
+
retroactiveDate?: {
|
|
34035
|
+
value: string;
|
|
34036
|
+
sourceSpanIds: string[];
|
|
34037
|
+
confidence: "low" | "medium" | "high";
|
|
34038
|
+
sourceNodeIds: string[];
|
|
34039
|
+
normalizedValue?: string | undefined;
|
|
34040
|
+
} | undefined;
|
|
34041
|
+
premium?: {
|
|
34042
|
+
value: string;
|
|
34043
|
+
sourceSpanIds: string[];
|
|
34044
|
+
confidence: "low" | "medium" | "high";
|
|
34045
|
+
sourceNodeIds: string[];
|
|
34046
|
+
normalizedValue?: string | undefined;
|
|
34047
|
+
} | undefined;
|
|
34048
|
+
effectiveDate?: {
|
|
34049
|
+
value: string;
|
|
34050
|
+
sourceSpanIds: string[];
|
|
34051
|
+
confidence: "low" | "medium" | "high";
|
|
34052
|
+
sourceNodeIds: string[];
|
|
34053
|
+
normalizedValue?: string | undefined;
|
|
34054
|
+
} | undefined;
|
|
34055
|
+
policyNumber?: {
|
|
34056
|
+
value: string;
|
|
34057
|
+
sourceSpanIds: string[];
|
|
34058
|
+
confidence: "low" | "medium" | "high";
|
|
34059
|
+
sourceNodeIds: string[];
|
|
34060
|
+
normalizedValue?: string | undefined;
|
|
34061
|
+
} | undefined;
|
|
34062
|
+
expirationDate?: {
|
|
34063
|
+
value: string;
|
|
34064
|
+
sourceSpanIds: string[];
|
|
34065
|
+
confidence: "low" | "medium" | "high";
|
|
34066
|
+
sourceNodeIds: string[];
|
|
34067
|
+
normalizedValue?: string | undefined;
|
|
34068
|
+
} | undefined;
|
|
34069
|
+
insurer?: {
|
|
34070
|
+
value: string;
|
|
34071
|
+
sourceSpanIds: string[];
|
|
34072
|
+
confidence: "low" | "medium" | "high";
|
|
34073
|
+
sourceNodeIds: string[];
|
|
34074
|
+
normalizedValue?: string | undefined;
|
|
34075
|
+
} | undefined;
|
|
34076
|
+
broker?: {
|
|
34077
|
+
value: string;
|
|
34078
|
+
sourceSpanIds: string[];
|
|
34079
|
+
confidence: "low" | "medium" | "high";
|
|
34080
|
+
sourceNodeIds: string[];
|
|
34081
|
+
normalizedValue?: string | undefined;
|
|
34082
|
+
} | undefined;
|
|
34083
|
+
namedInsured?: {
|
|
34084
|
+
value: string;
|
|
34085
|
+
sourceSpanIds: string[];
|
|
34086
|
+
confidence: "low" | "medium" | "high";
|
|
34087
|
+
sourceNodeIds: string[];
|
|
34088
|
+
normalizedValue?: string | undefined;
|
|
34089
|
+
} | undefined;
|
|
34090
|
+
}, {
|
|
34091
|
+
sourceSpanIds?: string[] | undefined;
|
|
34092
|
+
retroactiveDate?: {
|
|
34093
|
+
value: string;
|
|
34094
|
+
sourceSpanIds?: string[] | undefined;
|
|
34095
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
34096
|
+
normalizedValue?: string | undefined;
|
|
34097
|
+
sourceNodeIds?: string[] | undefined;
|
|
34098
|
+
} | undefined;
|
|
34099
|
+
premium?: {
|
|
34100
|
+
value: string;
|
|
34101
|
+
sourceSpanIds?: string[] | undefined;
|
|
34102
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
34103
|
+
normalizedValue?: string | undefined;
|
|
34104
|
+
sourceNodeIds?: string[] | undefined;
|
|
34105
|
+
} | undefined;
|
|
34106
|
+
effectiveDate?: {
|
|
34107
|
+
value: string;
|
|
34108
|
+
sourceSpanIds?: string[] | undefined;
|
|
34109
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
34110
|
+
normalizedValue?: string | undefined;
|
|
34111
|
+
sourceNodeIds?: string[] | undefined;
|
|
34112
|
+
} | undefined;
|
|
34113
|
+
coverages?: {
|
|
34114
|
+
name: string;
|
|
34115
|
+
formNumber?: string | undefined;
|
|
34116
|
+
sourceSpanIds?: string[] | undefined;
|
|
34117
|
+
limit?: string | undefined;
|
|
34118
|
+
deductible?: string | undefined;
|
|
34119
|
+
sectionRef?: string | undefined;
|
|
34120
|
+
coverageCode?: string | undefined;
|
|
34121
|
+
premium?: string | undefined;
|
|
34122
|
+
sourceNodeIds?: string[] | undefined;
|
|
34123
|
+
}[] | undefined;
|
|
34124
|
+
policyNumber?: {
|
|
34125
|
+
value: string;
|
|
34126
|
+
sourceSpanIds?: string[] | undefined;
|
|
34127
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
34128
|
+
normalizedValue?: string | undefined;
|
|
34129
|
+
sourceNodeIds?: string[] | undefined;
|
|
34130
|
+
} | undefined;
|
|
34131
|
+
expirationDate?: {
|
|
34132
|
+
value: string;
|
|
34133
|
+
sourceSpanIds?: string[] | undefined;
|
|
34134
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
34135
|
+
normalizedValue?: string | undefined;
|
|
34136
|
+
sourceNodeIds?: string[] | undefined;
|
|
34137
|
+
} | undefined;
|
|
34138
|
+
policyTypes?: string[] | undefined;
|
|
34139
|
+
insurer?: {
|
|
34140
|
+
value: string;
|
|
34141
|
+
sourceSpanIds?: string[] | undefined;
|
|
34142
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
34143
|
+
normalizedValue?: string | undefined;
|
|
34144
|
+
sourceNodeIds?: string[] | undefined;
|
|
34145
|
+
} | undefined;
|
|
34146
|
+
broker?: {
|
|
34147
|
+
value: string;
|
|
34148
|
+
sourceSpanIds?: string[] | undefined;
|
|
34149
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
34150
|
+
normalizedValue?: string | undefined;
|
|
34151
|
+
sourceNodeIds?: string[] | undefined;
|
|
34152
|
+
} | undefined;
|
|
34153
|
+
sourceNodeIds?: string[] | undefined;
|
|
34154
|
+
documentType?: "policy" | "quote" | undefined;
|
|
34155
|
+
namedInsured?: {
|
|
34156
|
+
value: string;
|
|
34157
|
+
sourceSpanIds?: string[] | undefined;
|
|
34158
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
34159
|
+
normalizedValue?: string | undefined;
|
|
34160
|
+
sourceNodeIds?: string[] | undefined;
|
|
34161
|
+
} | undefined;
|
|
34162
|
+
coverageTypes?: string[] | undefined;
|
|
34163
|
+
parties?: {
|
|
34164
|
+
name: string;
|
|
34165
|
+
role: string;
|
|
34166
|
+
sourceSpanIds?: string[] | undefined;
|
|
34167
|
+
sourceNodeIds?: string[] | undefined;
|
|
34168
|
+
}[] | undefined;
|
|
34169
|
+
endorsementSupport?: {
|
|
34170
|
+
status: "supported" | "excluded" | "requires_review";
|
|
34171
|
+
kind: string;
|
|
34172
|
+
summary: string;
|
|
34173
|
+
sourceSpanIds?: string[] | undefined;
|
|
34174
|
+
sourceNodeIds?: string[] | undefined;
|
|
34175
|
+
}[] | undefined;
|
|
34176
|
+
warnings?: string[] | undefined;
|
|
34177
|
+
}>;
|
|
34178
|
+
type PolicyOperationalProfile = z.infer<typeof PolicyOperationalProfileSchema>;
|
|
33564
34179
|
|
|
33565
34180
|
interface SourceSpanIdInput {
|
|
33566
34181
|
documentId: string;
|
|
@@ -33586,8 +34201,15 @@ interface SourceRetrievalResult {
|
|
|
33586
34201
|
span: SourceSpan;
|
|
33587
34202
|
relevance: number;
|
|
33588
34203
|
}
|
|
34204
|
+
interface SourceNodeRetrievalResult {
|
|
34205
|
+
node: DocumentSourceNode;
|
|
34206
|
+
relevance: number;
|
|
34207
|
+
hierarchy: DocumentSourceNode[];
|
|
34208
|
+
spans: SourceSpan[];
|
|
34209
|
+
}
|
|
33589
34210
|
interface SourceRetriever {
|
|
33590
34211
|
searchSourceSpans(query: SourceRetrievalQuery): Promise<SourceRetrievalResult[]>;
|
|
34212
|
+
searchSourceNodes?(query: SourceRetrievalQuery): Promise<SourceNodeRetrievalResult[]>;
|
|
33591
34213
|
}
|
|
33592
34214
|
interface OrderableSourceEvidence {
|
|
33593
34215
|
source?: string;
|
|
@@ -33658,6 +34280,15 @@ declare class MemorySourceStore implements SourceStore {
|
|
|
33658
34280
|
searchSourceSpans(query: SourceRetrievalQuery): Promise<SourceRetrievalResult[]>;
|
|
33659
34281
|
}
|
|
33660
34282
|
|
|
34283
|
+
declare function normalizeDocumentSourceTreePaths(nodes: DocumentSourceNode[]): DocumentSourceNode[];
|
|
34284
|
+
declare function buildDocumentSourceTree(sourceSpans: SourceSpan[], documentId?: string): DocumentSourceNode[];
|
|
34285
|
+
|
|
34286
|
+
declare function buildDeterministicOperationalProfile(params: {
|
|
34287
|
+
sourceTree: DocumentSourceNode[];
|
|
34288
|
+
sourceSpans?: SourceSpan[];
|
|
34289
|
+
}): PolicyOperationalProfile;
|
|
34290
|
+
declare function mergeOperationalProfile(base: PolicyOperationalProfile, candidate: Partial<PolicyOperationalProfile>, validNodeIds: Set<string>, validSpanIds: Set<string>): PolicyOperationalProfile;
|
|
34291
|
+
|
|
33661
34292
|
interface DoclingReferenceLike {
|
|
33662
34293
|
$ref?: string;
|
|
33663
34294
|
ref?: string;
|
|
@@ -33964,6 +34595,9 @@ interface ExtractionResult {
|
|
|
33964
34595
|
chunks: DocumentChunk[];
|
|
33965
34596
|
sourceSpans: SourceSpan[];
|
|
33966
34597
|
sourceChunks: SourceChunk[];
|
|
34598
|
+
sourceTree?: DocumentSourceNode[];
|
|
34599
|
+
operationalProfile?: PolicyOperationalProfile;
|
|
34600
|
+
warnings?: string[];
|
|
33967
34601
|
tokenUsage: TokenUsage;
|
|
33968
34602
|
usageReporting: {
|
|
33969
34603
|
modelCalls: number;
|
|
@@ -33986,6 +34620,23 @@ declare function createExtractor(config: ExtractorConfig): {
|
|
|
33986
34620
|
extract: (input: ExtractionInput, documentId?: string, options?: ExtractOptions) => Promise<ExtractionResult>;
|
|
33987
34621
|
};
|
|
33988
34622
|
|
|
34623
|
+
type ExtractionV3Result = {
|
|
34624
|
+
sourceTree: DocumentSourceNode[];
|
|
34625
|
+
sourceSpans: SourceSpan[];
|
|
34626
|
+
sourceChunks: SourceChunk[];
|
|
34627
|
+
operationalProfile: PolicyOperationalProfile;
|
|
34628
|
+
document: InsuranceDocument;
|
|
34629
|
+
chunks: [];
|
|
34630
|
+
warnings: string[];
|
|
34631
|
+
tokenUsage: TokenUsage;
|
|
34632
|
+
usageReporting: {
|
|
34633
|
+
modelCalls: number;
|
|
34634
|
+
callsWithUsage: number;
|
|
34635
|
+
callsMissingUsage: number;
|
|
34636
|
+
};
|
|
34637
|
+
performanceReport: PerformanceReport;
|
|
34638
|
+
};
|
|
34639
|
+
|
|
33989
34640
|
/**
|
|
33990
34641
|
* Break a validated document into retrieval-friendly chunks.
|
|
33991
34642
|
* Each chunk has a deterministic ID, type tag, text for embedding, and metadata for filtering.
|
|
@@ -35570,8 +36221,9 @@ declare const QueryClassifyResultSchema: z.ZodObject<{
|
|
|
35570
36221
|
}>;
|
|
35571
36222
|
type QueryClassifyResult = z.infer<typeof QueryClassifyResultSchema>;
|
|
35572
36223
|
declare const EvidenceItemSchema: z.ZodObject<{
|
|
35573
|
-
source: z.ZodEnum<["chunk", "document", "conversation", "attachment", "source_span"]>;
|
|
36224
|
+
source: z.ZodEnum<["chunk", "document", "conversation", "attachment", "source_span", "source_node"]>;
|
|
35574
36225
|
chunkId: z.ZodOptional<z.ZodString>;
|
|
36226
|
+
sourceNodeId: z.ZodOptional<z.ZodString>;
|
|
35575
36227
|
sourceSpanId: z.ZodOptional<z.ZodString>;
|
|
35576
36228
|
documentId: z.ZodOptional<z.ZodString>;
|
|
35577
36229
|
turnId: z.ZodOptional<z.ZodString>;
|
|
@@ -35620,7 +36272,7 @@ declare const EvidenceItemSchema: z.ZodObject<{
|
|
|
35620
36272
|
}, "strip", z.ZodTypeAny, {
|
|
35621
36273
|
text: string;
|
|
35622
36274
|
relevance: number;
|
|
35623
|
-
source: "attachment" | "chunk" | "
|
|
36275
|
+
source: "attachment" | "document" | "chunk" | "source_node" | "conversation" | "source_span";
|
|
35624
36276
|
documentId?: string | undefined;
|
|
35625
36277
|
metadata?: {
|
|
35626
36278
|
key: string;
|
|
@@ -35629,6 +36281,7 @@ declare const EvidenceItemSchema: z.ZodObject<{
|
|
|
35629
36281
|
chunkId?: string | undefined;
|
|
35630
36282
|
sourceSpanId?: string | undefined;
|
|
35631
36283
|
retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
|
|
36284
|
+
sourceNodeId?: string | undefined;
|
|
35632
36285
|
turnId?: string | undefined;
|
|
35633
36286
|
attachmentId?: string | undefined;
|
|
35634
36287
|
sourceLocation?: {
|
|
@@ -35644,7 +36297,7 @@ declare const EvidenceItemSchema: z.ZodObject<{
|
|
|
35644
36297
|
}, {
|
|
35645
36298
|
text: string;
|
|
35646
36299
|
relevance: number;
|
|
35647
|
-
source: "attachment" | "chunk" | "
|
|
36300
|
+
source: "attachment" | "document" | "chunk" | "source_node" | "conversation" | "source_span";
|
|
35648
36301
|
documentId?: string | undefined;
|
|
35649
36302
|
metadata?: {
|
|
35650
36303
|
key: string;
|
|
@@ -35653,6 +36306,7 @@ declare const EvidenceItemSchema: z.ZodObject<{
|
|
|
35653
36306
|
chunkId?: string | undefined;
|
|
35654
36307
|
sourceSpanId?: string | undefined;
|
|
35655
36308
|
retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
|
|
36309
|
+
sourceNodeId?: string | undefined;
|
|
35656
36310
|
turnId?: string | undefined;
|
|
35657
36311
|
attachmentId?: string | undefined;
|
|
35658
36312
|
sourceLocation?: {
|
|
@@ -35687,8 +36341,9 @@ type AttachmentInterpretation = z.infer<typeof AttachmentInterpretationSchema>;
|
|
|
35687
36341
|
declare const RetrievalResultSchema: z.ZodObject<{
|
|
35688
36342
|
subQuestion: z.ZodString;
|
|
35689
36343
|
evidence: z.ZodArray<z.ZodObject<{
|
|
35690
|
-
source: z.ZodEnum<["chunk", "document", "conversation", "attachment", "source_span"]>;
|
|
36344
|
+
source: z.ZodEnum<["chunk", "document", "conversation", "attachment", "source_span", "source_node"]>;
|
|
35691
36345
|
chunkId: z.ZodOptional<z.ZodString>;
|
|
36346
|
+
sourceNodeId: z.ZodOptional<z.ZodString>;
|
|
35692
36347
|
sourceSpanId: z.ZodOptional<z.ZodString>;
|
|
35693
36348
|
documentId: z.ZodOptional<z.ZodString>;
|
|
35694
36349
|
turnId: z.ZodOptional<z.ZodString>;
|
|
@@ -35737,7 +36392,7 @@ declare const RetrievalResultSchema: z.ZodObject<{
|
|
|
35737
36392
|
}, "strip", z.ZodTypeAny, {
|
|
35738
36393
|
text: string;
|
|
35739
36394
|
relevance: number;
|
|
35740
|
-
source: "attachment" | "chunk" | "
|
|
36395
|
+
source: "attachment" | "document" | "chunk" | "source_node" | "conversation" | "source_span";
|
|
35741
36396
|
documentId?: string | undefined;
|
|
35742
36397
|
metadata?: {
|
|
35743
36398
|
key: string;
|
|
@@ -35746,6 +36401,7 @@ declare const RetrievalResultSchema: z.ZodObject<{
|
|
|
35746
36401
|
chunkId?: string | undefined;
|
|
35747
36402
|
sourceSpanId?: string | undefined;
|
|
35748
36403
|
retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
|
|
36404
|
+
sourceNodeId?: string | undefined;
|
|
35749
36405
|
turnId?: string | undefined;
|
|
35750
36406
|
attachmentId?: string | undefined;
|
|
35751
36407
|
sourceLocation?: {
|
|
@@ -35761,7 +36417,7 @@ declare const RetrievalResultSchema: z.ZodObject<{
|
|
|
35761
36417
|
}, {
|
|
35762
36418
|
text: string;
|
|
35763
36419
|
relevance: number;
|
|
35764
|
-
source: "attachment" | "chunk" | "
|
|
36420
|
+
source: "attachment" | "document" | "chunk" | "source_node" | "conversation" | "source_span";
|
|
35765
36421
|
documentId?: string | undefined;
|
|
35766
36422
|
metadata?: {
|
|
35767
36423
|
key: string;
|
|
@@ -35770,6 +36426,7 @@ declare const RetrievalResultSchema: z.ZodObject<{
|
|
|
35770
36426
|
chunkId?: string | undefined;
|
|
35771
36427
|
sourceSpanId?: string | undefined;
|
|
35772
36428
|
retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
|
|
36429
|
+
sourceNodeId?: string | undefined;
|
|
35773
36430
|
turnId?: string | undefined;
|
|
35774
36431
|
attachmentId?: string | undefined;
|
|
35775
36432
|
sourceLocation?: {
|
|
@@ -35788,7 +36445,7 @@ declare const RetrievalResultSchema: z.ZodObject<{
|
|
|
35788
36445
|
evidence: {
|
|
35789
36446
|
text: string;
|
|
35790
36447
|
relevance: number;
|
|
35791
|
-
source: "attachment" | "chunk" | "
|
|
36448
|
+
source: "attachment" | "document" | "chunk" | "source_node" | "conversation" | "source_span";
|
|
35792
36449
|
documentId?: string | undefined;
|
|
35793
36450
|
metadata?: {
|
|
35794
36451
|
key: string;
|
|
@@ -35797,6 +36454,7 @@ declare const RetrievalResultSchema: z.ZodObject<{
|
|
|
35797
36454
|
chunkId?: string | undefined;
|
|
35798
36455
|
sourceSpanId?: string | undefined;
|
|
35799
36456
|
retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
|
|
36457
|
+
sourceNodeId?: string | undefined;
|
|
35800
36458
|
turnId?: string | undefined;
|
|
35801
36459
|
attachmentId?: string | undefined;
|
|
35802
36460
|
sourceLocation?: {
|
|
@@ -35815,7 +36473,7 @@ declare const RetrievalResultSchema: z.ZodObject<{
|
|
|
35815
36473
|
evidence: {
|
|
35816
36474
|
text: string;
|
|
35817
36475
|
relevance: number;
|
|
35818
|
-
source: "attachment" | "chunk" | "
|
|
36476
|
+
source: "attachment" | "document" | "chunk" | "source_node" | "conversation" | "source_span";
|
|
35819
36477
|
documentId?: string | undefined;
|
|
35820
36478
|
metadata?: {
|
|
35821
36479
|
key: string;
|
|
@@ -35824,6 +36482,7 @@ declare const RetrievalResultSchema: z.ZodObject<{
|
|
|
35824
36482
|
chunkId?: string | undefined;
|
|
35825
36483
|
sourceSpanId?: string | undefined;
|
|
35826
36484
|
retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
|
|
36485
|
+
sourceNodeId?: string | undefined;
|
|
35827
36486
|
turnId?: string | undefined;
|
|
35828
36487
|
attachmentId?: string | undefined;
|
|
35829
36488
|
sourceLocation?: {
|
|
@@ -35842,6 +36501,7 @@ type RetrievalResult = z.infer<typeof RetrievalResultSchema>;
|
|
|
35842
36501
|
declare const CitationSchema: z.ZodObject<{
|
|
35843
36502
|
index: z.ZodNumber;
|
|
35844
36503
|
chunkId: z.ZodOptional<z.ZodString>;
|
|
36504
|
+
sourceNodeId: z.ZodOptional<z.ZodString>;
|
|
35845
36505
|
sourceSpanId: z.ZodOptional<z.ZodString>;
|
|
35846
36506
|
documentId: z.ZodString;
|
|
35847
36507
|
documentType: z.ZodOptional<z.ZodEnum<["policy", "quote"]>>;
|
|
@@ -35884,9 +36544,10 @@ declare const CitationSchema: z.ZodObject<{
|
|
|
35884
36544
|
index: number;
|
|
35885
36545
|
chunkId?: string | undefined;
|
|
35886
36546
|
sourceSpanId?: string | undefined;
|
|
35887
|
-
field?: string | undefined;
|
|
35888
36547
|
documentType?: "policy" | "quote" | undefined;
|
|
36548
|
+
field?: string | undefined;
|
|
35889
36549
|
retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
|
|
36550
|
+
sourceNodeId?: string | undefined;
|
|
35890
36551
|
sourceLocation?: {
|
|
35891
36552
|
page?: number | undefined;
|
|
35892
36553
|
fieldPath?: string | undefined;
|
|
@@ -35904,9 +36565,10 @@ declare const CitationSchema: z.ZodObject<{
|
|
|
35904
36565
|
index: number;
|
|
35905
36566
|
chunkId?: string | undefined;
|
|
35906
36567
|
sourceSpanId?: string | undefined;
|
|
35907
|
-
field?: string | undefined;
|
|
35908
36568
|
documentType?: "policy" | "quote" | undefined;
|
|
36569
|
+
field?: string | undefined;
|
|
35909
36570
|
retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
|
|
36571
|
+
sourceNodeId?: string | undefined;
|
|
35910
36572
|
sourceLocation?: {
|
|
35911
36573
|
page?: number | undefined;
|
|
35912
36574
|
fieldPath?: string | undefined;
|
|
@@ -35925,6 +36587,7 @@ declare const SubAnswerSchema: z.ZodObject<{
|
|
|
35925
36587
|
citations: z.ZodArray<z.ZodObject<{
|
|
35926
36588
|
index: z.ZodNumber;
|
|
35927
36589
|
chunkId: z.ZodOptional<z.ZodString>;
|
|
36590
|
+
sourceNodeId: z.ZodOptional<z.ZodString>;
|
|
35928
36591
|
sourceSpanId: z.ZodOptional<z.ZodString>;
|
|
35929
36592
|
documentId: z.ZodString;
|
|
35930
36593
|
documentType: z.ZodOptional<z.ZodEnum<["policy", "quote"]>>;
|
|
@@ -35967,9 +36630,10 @@ declare const SubAnswerSchema: z.ZodObject<{
|
|
|
35967
36630
|
index: number;
|
|
35968
36631
|
chunkId?: string | undefined;
|
|
35969
36632
|
sourceSpanId?: string | undefined;
|
|
35970
|
-
field?: string | undefined;
|
|
35971
36633
|
documentType?: "policy" | "quote" | undefined;
|
|
36634
|
+
field?: string | undefined;
|
|
35972
36635
|
retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
|
|
36636
|
+
sourceNodeId?: string | undefined;
|
|
35973
36637
|
sourceLocation?: {
|
|
35974
36638
|
page?: number | undefined;
|
|
35975
36639
|
fieldPath?: string | undefined;
|
|
@@ -35987,9 +36651,10 @@ declare const SubAnswerSchema: z.ZodObject<{
|
|
|
35987
36651
|
index: number;
|
|
35988
36652
|
chunkId?: string | undefined;
|
|
35989
36653
|
sourceSpanId?: string | undefined;
|
|
35990
|
-
field?: string | undefined;
|
|
35991
36654
|
documentType?: "policy" | "quote" | undefined;
|
|
36655
|
+
field?: string | undefined;
|
|
35992
36656
|
retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
|
|
36657
|
+
sourceNodeId?: string | undefined;
|
|
35993
36658
|
sourceLocation?: {
|
|
35994
36659
|
page?: number | undefined;
|
|
35995
36660
|
fieldPath?: string | undefined;
|
|
@@ -36012,9 +36677,10 @@ declare const SubAnswerSchema: z.ZodObject<{
|
|
|
36012
36677
|
index: number;
|
|
36013
36678
|
chunkId?: string | undefined;
|
|
36014
36679
|
sourceSpanId?: string | undefined;
|
|
36015
|
-
field?: string | undefined;
|
|
36016
36680
|
documentType?: "policy" | "quote" | undefined;
|
|
36681
|
+
field?: string | undefined;
|
|
36017
36682
|
retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
|
|
36683
|
+
sourceNodeId?: string | undefined;
|
|
36018
36684
|
sourceLocation?: {
|
|
36019
36685
|
page?: number | undefined;
|
|
36020
36686
|
fieldPath?: string | undefined;
|
|
@@ -36038,9 +36704,10 @@ declare const SubAnswerSchema: z.ZodObject<{
|
|
|
36038
36704
|
index: number;
|
|
36039
36705
|
chunkId?: string | undefined;
|
|
36040
36706
|
sourceSpanId?: string | undefined;
|
|
36041
|
-
field?: string | undefined;
|
|
36042
36707
|
documentType?: "policy" | "quote" | undefined;
|
|
36708
|
+
field?: string | undefined;
|
|
36043
36709
|
retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
|
|
36710
|
+
sourceNodeId?: string | undefined;
|
|
36044
36711
|
sourceLocation?: {
|
|
36045
36712
|
page?: number | undefined;
|
|
36046
36713
|
fieldPath?: string | undefined;
|
|
@@ -36076,6 +36743,7 @@ declare const QueryResultSchema: z.ZodObject<{
|
|
|
36076
36743
|
citations: z.ZodArray<z.ZodObject<{
|
|
36077
36744
|
index: z.ZodNumber;
|
|
36078
36745
|
chunkId: z.ZodOptional<z.ZodString>;
|
|
36746
|
+
sourceNodeId: z.ZodOptional<z.ZodString>;
|
|
36079
36747
|
sourceSpanId: z.ZodOptional<z.ZodString>;
|
|
36080
36748
|
documentId: z.ZodString;
|
|
36081
36749
|
documentType: z.ZodOptional<z.ZodEnum<["policy", "quote"]>>;
|
|
@@ -36118,9 +36786,10 @@ declare const QueryResultSchema: z.ZodObject<{
|
|
|
36118
36786
|
index: number;
|
|
36119
36787
|
chunkId?: string | undefined;
|
|
36120
36788
|
sourceSpanId?: string | undefined;
|
|
36121
|
-
field?: string | undefined;
|
|
36122
36789
|
documentType?: "policy" | "quote" | undefined;
|
|
36790
|
+
field?: string | undefined;
|
|
36123
36791
|
retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
|
|
36792
|
+
sourceNodeId?: string | undefined;
|
|
36124
36793
|
sourceLocation?: {
|
|
36125
36794
|
page?: number | undefined;
|
|
36126
36795
|
fieldPath?: string | undefined;
|
|
@@ -36138,9 +36807,10 @@ declare const QueryResultSchema: z.ZodObject<{
|
|
|
36138
36807
|
index: number;
|
|
36139
36808
|
chunkId?: string | undefined;
|
|
36140
36809
|
sourceSpanId?: string | undefined;
|
|
36141
|
-
field?: string | undefined;
|
|
36142
36810
|
documentType?: "policy" | "quote" | undefined;
|
|
36811
|
+
field?: string | undefined;
|
|
36143
36812
|
retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
|
|
36813
|
+
sourceNodeId?: string | undefined;
|
|
36144
36814
|
sourceLocation?: {
|
|
36145
36815
|
page?: number | undefined;
|
|
36146
36816
|
fieldPath?: string | undefined;
|
|
@@ -36164,9 +36834,10 @@ declare const QueryResultSchema: z.ZodObject<{
|
|
|
36164
36834
|
index: number;
|
|
36165
36835
|
chunkId?: string | undefined;
|
|
36166
36836
|
sourceSpanId?: string | undefined;
|
|
36167
|
-
field?: string | undefined;
|
|
36168
36837
|
documentType?: "policy" | "quote" | undefined;
|
|
36838
|
+
field?: string | undefined;
|
|
36169
36839
|
retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
|
|
36840
|
+
sourceNodeId?: string | undefined;
|
|
36170
36841
|
sourceLocation?: {
|
|
36171
36842
|
page?: number | undefined;
|
|
36172
36843
|
fieldPath?: string | undefined;
|
|
@@ -36190,9 +36861,10 @@ declare const QueryResultSchema: z.ZodObject<{
|
|
|
36190
36861
|
index: number;
|
|
36191
36862
|
chunkId?: string | undefined;
|
|
36192
36863
|
sourceSpanId?: string | undefined;
|
|
36193
|
-
field?: string | undefined;
|
|
36194
36864
|
documentType?: "policy" | "quote" | undefined;
|
|
36865
|
+
field?: string | undefined;
|
|
36195
36866
|
retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
|
|
36867
|
+
sourceNodeId?: string | undefined;
|
|
36196
36868
|
sourceLocation?: {
|
|
36197
36869
|
page?: number | undefined;
|
|
36198
36870
|
fieldPath?: string | undefined;
|
|
@@ -36411,4 +37083,4 @@ interface DocumentTemplate {
|
|
|
36411
37083
|
}
|
|
36412
37084
|
declare function getTemplate(policyType: string): DocumentTemplate;
|
|
36413
37085
|
|
|
36414
|
-
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 DocumentAgentGuidance, DocumentAgentGuidanceSchema, type DocumentChunk, type DocumentFilters, type DocumentMetadata, DocumentMetadataSchema, type DocumentNode, DocumentNodeSchema, type DocumentPageMapEntry, DocumentPageMapEntrySchema, type DocumentStore, type DocumentTableOfContentsEntry, DocumentTableOfContentsEntrySchema, 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 SourceSpanTableLocation, SourceSpanTableLocationSchema, type SourceSpanUnit, SourceSpanUnitSchema, 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 };
|
|
37086
|
+
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 DocumentAgentGuidance, DocumentAgentGuidanceSchema, type DocumentChunk, type DocumentFilters, type DocumentMetadata, DocumentMetadataSchema, type DocumentNode, DocumentNodeSchema, type DocumentPageMapEntry, DocumentPageMapEntrySchema, type DocumentSourceNode, type DocumentSourceNodeKind, DocumentSourceNodeKindSchema, DocumentSourceNodeSchema, type DocumentStore, type DocumentTableOfContentsEntry, DocumentTableOfContentsEntrySchema, 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 ExtractionV3Result, 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 OperationalCoverageLine, OperationalCoverageLineSchema, type OperationalEndorsementSupport, OperationalEndorsementSupportSchema, type OperationalParty, OperationalPartySchema, 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 PolicyOperationalProfile, PolicyOperationalProfileSchema, 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 SourceBackedValue, SourceBackedValueSchema, type SourceChunk, type SourceChunkOptions, SourceChunkSchema, type SourceKind, SourceKindSchema, type SourceNodeRetrievalResult, 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 SourceSpanTableLocation, SourceSpanTableLocationSchema, type SourceSpanUnit, SourceSpanUnitSchema, 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, buildDeterministicOperationalProfile, buildDoclingProviderOptions, buildDocumentSourceTree, 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, mergeOperationalProfile, mergeQuestionAnswers, mergeSourceSpans, normalizeDoclingDocument, normalizeDocumentSourceTreePaths, normalizeForMatch, orderSourceEvidence, overlayTextOnPdf, pLimit, pdfInputToBase64, pdfInputToBytes, processReply, resolveModelBudget, safeGenerateObject, sanitizeNulls, scoreCaseProposal, selectPceExecutionMode, sourceSpanTextHash, stableCaseId, stableHash, stablePolicyChangeItemId, stableStringify, stripFences, toStrictSchema, validateEvidence, validatePceItems, validateQuotedEvidence, withRetry };
|