@claritylabs/cl-sdk 0.16.2 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.d.mts +526 -15
- package/dist/index.d.ts +526 -15
- package/dist/index.js +822 -262
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +820 -262
- package/dist/index.mjs.map +1 -1
- package/dist/storage-sqlite.d.mts +223 -1
- package/dist/storage-sqlite.d.ts +223 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -6281,6 +6281,73 @@ declare const AuxiliaryFactSchema: z.ZodObject<{
|
|
|
6281
6281
|
context?: string | undefined;
|
|
6282
6282
|
}>;
|
|
6283
6283
|
type AuxiliaryFact = z.infer<typeof AuxiliaryFactSchema>;
|
|
6284
|
+
declare const DefinitionSchema: z.ZodObject<{
|
|
6285
|
+
term: z.ZodString;
|
|
6286
|
+
definition: z.ZodString;
|
|
6287
|
+
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
6288
|
+
formNumber: z.ZodOptional<z.ZodString>;
|
|
6289
|
+
formTitle: z.ZodOptional<z.ZodString>;
|
|
6290
|
+
sectionRef: z.ZodOptional<z.ZodString>;
|
|
6291
|
+
originalContent: z.ZodOptional<z.ZodString>;
|
|
6292
|
+
}, "strip", z.ZodTypeAny, {
|
|
6293
|
+
definition: string;
|
|
6294
|
+
term: string;
|
|
6295
|
+
formNumber?: string | undefined;
|
|
6296
|
+
pageNumber?: number | undefined;
|
|
6297
|
+
sectionRef?: string | undefined;
|
|
6298
|
+
originalContent?: string | undefined;
|
|
6299
|
+
formTitle?: string | undefined;
|
|
6300
|
+
}, {
|
|
6301
|
+
definition: string;
|
|
6302
|
+
term: string;
|
|
6303
|
+
formNumber?: string | undefined;
|
|
6304
|
+
pageNumber?: number | undefined;
|
|
6305
|
+
sectionRef?: string | undefined;
|
|
6306
|
+
originalContent?: string | undefined;
|
|
6307
|
+
formTitle?: string | undefined;
|
|
6308
|
+
}>;
|
|
6309
|
+
type Definition = z.infer<typeof DefinitionSchema>;
|
|
6310
|
+
declare const CoveredReasonSchema: z.ZodObject<{
|
|
6311
|
+
coverageName: z.ZodString;
|
|
6312
|
+
reasonNumber: z.ZodOptional<z.ZodString>;
|
|
6313
|
+
title: z.ZodOptional<z.ZodString>;
|
|
6314
|
+
content: z.ZodString;
|
|
6315
|
+
conditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6316
|
+
exceptions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6317
|
+
appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6318
|
+
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
6319
|
+
formNumber: z.ZodOptional<z.ZodString>;
|
|
6320
|
+
formTitle: z.ZodOptional<z.ZodString>;
|
|
6321
|
+
sectionRef: z.ZodOptional<z.ZodString>;
|
|
6322
|
+
originalContent: z.ZodOptional<z.ZodString>;
|
|
6323
|
+
}, "strip", z.ZodTypeAny, {
|
|
6324
|
+
content: string;
|
|
6325
|
+
coverageName: string;
|
|
6326
|
+
title?: string | undefined;
|
|
6327
|
+
conditions?: string[] | undefined;
|
|
6328
|
+
formNumber?: string | undefined;
|
|
6329
|
+
appliesTo?: string[] | undefined;
|
|
6330
|
+
pageNumber?: number | undefined;
|
|
6331
|
+
sectionRef?: string | undefined;
|
|
6332
|
+
originalContent?: string | undefined;
|
|
6333
|
+
exceptions?: string[] | undefined;
|
|
6334
|
+
formTitle?: string | undefined;
|
|
6335
|
+
reasonNumber?: string | undefined;
|
|
6336
|
+
}, {
|
|
6337
|
+
content: string;
|
|
6338
|
+
coverageName: string;
|
|
6339
|
+
title?: string | undefined;
|
|
6340
|
+
conditions?: string[] | undefined;
|
|
6341
|
+
formNumber?: string | undefined;
|
|
6342
|
+
appliesTo?: string[] | undefined;
|
|
6343
|
+
pageNumber?: number | undefined;
|
|
6344
|
+
sectionRef?: string | undefined;
|
|
6345
|
+
originalContent?: string | undefined;
|
|
6346
|
+
exceptions?: string[] | undefined;
|
|
6347
|
+
formTitle?: string | undefined;
|
|
6348
|
+
reasonNumber?: string | undefined;
|
|
6349
|
+
}>;
|
|
6350
|
+
type CoveredReason = z.infer<typeof CoveredReasonSchema>;
|
|
6284
6351
|
declare const PolicyDocumentSchema: z.ZodObject<{
|
|
6285
6352
|
type: z.ZodLiteral<"policy">;
|
|
6286
6353
|
policyNumber: z.ZodString;
|
|
@@ -6383,6 +6450,71 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
6383
6450
|
sectionNumber?: string | undefined;
|
|
6384
6451
|
}[] | undefined;
|
|
6385
6452
|
}>, "many">>;
|
|
6453
|
+
definitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6454
|
+
term: z.ZodString;
|
|
6455
|
+
definition: z.ZodString;
|
|
6456
|
+
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
6457
|
+
formNumber: z.ZodOptional<z.ZodString>;
|
|
6458
|
+
formTitle: z.ZodOptional<z.ZodString>;
|
|
6459
|
+
sectionRef: z.ZodOptional<z.ZodString>;
|
|
6460
|
+
originalContent: z.ZodOptional<z.ZodString>;
|
|
6461
|
+
}, "strip", z.ZodTypeAny, {
|
|
6462
|
+
definition: string;
|
|
6463
|
+
term: string;
|
|
6464
|
+
formNumber?: string | undefined;
|
|
6465
|
+
pageNumber?: number | undefined;
|
|
6466
|
+
sectionRef?: string | undefined;
|
|
6467
|
+
originalContent?: string | undefined;
|
|
6468
|
+
formTitle?: string | undefined;
|
|
6469
|
+
}, {
|
|
6470
|
+
definition: string;
|
|
6471
|
+
term: string;
|
|
6472
|
+
formNumber?: string | undefined;
|
|
6473
|
+
pageNumber?: number | undefined;
|
|
6474
|
+
sectionRef?: string | undefined;
|
|
6475
|
+
originalContent?: string | undefined;
|
|
6476
|
+
formTitle?: string | undefined;
|
|
6477
|
+
}>, "many">>;
|
|
6478
|
+
coveredReasons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6479
|
+
coverageName: z.ZodString;
|
|
6480
|
+
reasonNumber: z.ZodOptional<z.ZodString>;
|
|
6481
|
+
title: z.ZodOptional<z.ZodString>;
|
|
6482
|
+
content: z.ZodString;
|
|
6483
|
+
conditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6484
|
+
exceptions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6485
|
+
appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6486
|
+
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
6487
|
+
formNumber: z.ZodOptional<z.ZodString>;
|
|
6488
|
+
formTitle: z.ZodOptional<z.ZodString>;
|
|
6489
|
+
sectionRef: z.ZodOptional<z.ZodString>;
|
|
6490
|
+
originalContent: z.ZodOptional<z.ZodString>;
|
|
6491
|
+
}, "strip", z.ZodTypeAny, {
|
|
6492
|
+
content: string;
|
|
6493
|
+
coverageName: string;
|
|
6494
|
+
title?: string | undefined;
|
|
6495
|
+
conditions?: string[] | undefined;
|
|
6496
|
+
formNumber?: string | undefined;
|
|
6497
|
+
appliesTo?: string[] | undefined;
|
|
6498
|
+
pageNumber?: number | undefined;
|
|
6499
|
+
sectionRef?: string | undefined;
|
|
6500
|
+
originalContent?: string | undefined;
|
|
6501
|
+
exceptions?: string[] | undefined;
|
|
6502
|
+
formTitle?: string | undefined;
|
|
6503
|
+
reasonNumber?: string | undefined;
|
|
6504
|
+
}, {
|
|
6505
|
+
content: string;
|
|
6506
|
+
coverageName: string;
|
|
6507
|
+
title?: string | undefined;
|
|
6508
|
+
conditions?: string[] | undefined;
|
|
6509
|
+
formNumber?: string | undefined;
|
|
6510
|
+
appliesTo?: string[] | undefined;
|
|
6511
|
+
pageNumber?: number | undefined;
|
|
6512
|
+
sectionRef?: string | undefined;
|
|
6513
|
+
originalContent?: string | undefined;
|
|
6514
|
+
exceptions?: string[] | undefined;
|
|
6515
|
+
formTitle?: string | undefined;
|
|
6516
|
+
reasonNumber?: string | undefined;
|
|
6517
|
+
}>, "many">>;
|
|
6386
6518
|
carrierLegalName: z.ZodOptional<z.ZodString>;
|
|
6387
6519
|
carrierNaicNumber: z.ZodOptional<z.ZodString>;
|
|
6388
6520
|
carrierAmBestRating: z.ZodOptional<z.ZodString>;
|
|
@@ -10461,6 +10593,29 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
10461
10593
|
sectionNumber?: string | undefined;
|
|
10462
10594
|
}[] | undefined;
|
|
10463
10595
|
}[] | undefined;
|
|
10596
|
+
definitions?: {
|
|
10597
|
+
definition: string;
|
|
10598
|
+
term: string;
|
|
10599
|
+
formNumber?: string | undefined;
|
|
10600
|
+
pageNumber?: number | undefined;
|
|
10601
|
+
sectionRef?: string | undefined;
|
|
10602
|
+
originalContent?: string | undefined;
|
|
10603
|
+
formTitle?: string | undefined;
|
|
10604
|
+
}[] | undefined;
|
|
10605
|
+
coveredReasons?: {
|
|
10606
|
+
content: string;
|
|
10607
|
+
coverageName: string;
|
|
10608
|
+
title?: string | undefined;
|
|
10609
|
+
conditions?: string[] | undefined;
|
|
10610
|
+
formNumber?: string | undefined;
|
|
10611
|
+
appliesTo?: string[] | undefined;
|
|
10612
|
+
pageNumber?: number | undefined;
|
|
10613
|
+
sectionRef?: string | undefined;
|
|
10614
|
+
originalContent?: string | undefined;
|
|
10615
|
+
exceptions?: string[] | undefined;
|
|
10616
|
+
formTitle?: string | undefined;
|
|
10617
|
+
reasonNumber?: string | undefined;
|
|
10618
|
+
}[] | undefined;
|
|
10464
10619
|
carrierLegalName?: string | undefined;
|
|
10465
10620
|
carrierNaicNumber?: string | undefined;
|
|
10466
10621
|
carrierAmBestRating?: string | undefined;
|
|
@@ -11392,6 +11547,29 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
11392
11547
|
sectionNumber?: string | undefined;
|
|
11393
11548
|
}[] | undefined;
|
|
11394
11549
|
}[] | undefined;
|
|
11550
|
+
definitions?: {
|
|
11551
|
+
definition: string;
|
|
11552
|
+
term: string;
|
|
11553
|
+
formNumber?: string | undefined;
|
|
11554
|
+
pageNumber?: number | undefined;
|
|
11555
|
+
sectionRef?: string | undefined;
|
|
11556
|
+
originalContent?: string | undefined;
|
|
11557
|
+
formTitle?: string | undefined;
|
|
11558
|
+
}[] | undefined;
|
|
11559
|
+
coveredReasons?: {
|
|
11560
|
+
content: string;
|
|
11561
|
+
coverageName: string;
|
|
11562
|
+
title?: string | undefined;
|
|
11563
|
+
conditions?: string[] | undefined;
|
|
11564
|
+
formNumber?: string | undefined;
|
|
11565
|
+
appliesTo?: string[] | undefined;
|
|
11566
|
+
pageNumber?: number | undefined;
|
|
11567
|
+
sectionRef?: string | undefined;
|
|
11568
|
+
originalContent?: string | undefined;
|
|
11569
|
+
exceptions?: string[] | undefined;
|
|
11570
|
+
formTitle?: string | undefined;
|
|
11571
|
+
reasonNumber?: string | undefined;
|
|
11572
|
+
}[] | undefined;
|
|
11395
11573
|
carrierLegalName?: string | undefined;
|
|
11396
11574
|
carrierNaicNumber?: string | undefined;
|
|
11397
11575
|
carrierAmBestRating?: string | undefined;
|
|
@@ -11859,6 +12037,71 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
11859
12037
|
sectionNumber?: string | undefined;
|
|
11860
12038
|
}[] | undefined;
|
|
11861
12039
|
}>, "many">>;
|
|
12040
|
+
definitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12041
|
+
term: z.ZodString;
|
|
12042
|
+
definition: z.ZodString;
|
|
12043
|
+
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
12044
|
+
formNumber: z.ZodOptional<z.ZodString>;
|
|
12045
|
+
formTitle: z.ZodOptional<z.ZodString>;
|
|
12046
|
+
sectionRef: z.ZodOptional<z.ZodString>;
|
|
12047
|
+
originalContent: z.ZodOptional<z.ZodString>;
|
|
12048
|
+
}, "strip", z.ZodTypeAny, {
|
|
12049
|
+
definition: string;
|
|
12050
|
+
term: string;
|
|
12051
|
+
formNumber?: string | undefined;
|
|
12052
|
+
pageNumber?: number | undefined;
|
|
12053
|
+
sectionRef?: string | undefined;
|
|
12054
|
+
originalContent?: string | undefined;
|
|
12055
|
+
formTitle?: string | undefined;
|
|
12056
|
+
}, {
|
|
12057
|
+
definition: string;
|
|
12058
|
+
term: string;
|
|
12059
|
+
formNumber?: string | undefined;
|
|
12060
|
+
pageNumber?: number | undefined;
|
|
12061
|
+
sectionRef?: string | undefined;
|
|
12062
|
+
originalContent?: string | undefined;
|
|
12063
|
+
formTitle?: string | undefined;
|
|
12064
|
+
}>, "many">>;
|
|
12065
|
+
coveredReasons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12066
|
+
coverageName: z.ZodString;
|
|
12067
|
+
reasonNumber: z.ZodOptional<z.ZodString>;
|
|
12068
|
+
title: z.ZodOptional<z.ZodString>;
|
|
12069
|
+
content: z.ZodString;
|
|
12070
|
+
conditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12071
|
+
exceptions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12072
|
+
appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12073
|
+
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
12074
|
+
formNumber: z.ZodOptional<z.ZodString>;
|
|
12075
|
+
formTitle: z.ZodOptional<z.ZodString>;
|
|
12076
|
+
sectionRef: z.ZodOptional<z.ZodString>;
|
|
12077
|
+
originalContent: z.ZodOptional<z.ZodString>;
|
|
12078
|
+
}, "strip", z.ZodTypeAny, {
|
|
12079
|
+
content: string;
|
|
12080
|
+
coverageName: string;
|
|
12081
|
+
title?: string | undefined;
|
|
12082
|
+
conditions?: string[] | undefined;
|
|
12083
|
+
formNumber?: string | undefined;
|
|
12084
|
+
appliesTo?: string[] | undefined;
|
|
12085
|
+
pageNumber?: number | undefined;
|
|
12086
|
+
sectionRef?: string | undefined;
|
|
12087
|
+
originalContent?: string | undefined;
|
|
12088
|
+
exceptions?: string[] | undefined;
|
|
12089
|
+
formTitle?: string | undefined;
|
|
12090
|
+
reasonNumber?: string | undefined;
|
|
12091
|
+
}, {
|
|
12092
|
+
content: string;
|
|
12093
|
+
coverageName: string;
|
|
12094
|
+
title?: string | undefined;
|
|
12095
|
+
conditions?: string[] | undefined;
|
|
12096
|
+
formNumber?: string | undefined;
|
|
12097
|
+
appliesTo?: string[] | undefined;
|
|
12098
|
+
pageNumber?: number | undefined;
|
|
12099
|
+
sectionRef?: string | undefined;
|
|
12100
|
+
originalContent?: string | undefined;
|
|
12101
|
+
exceptions?: string[] | undefined;
|
|
12102
|
+
formTitle?: string | undefined;
|
|
12103
|
+
reasonNumber?: string | undefined;
|
|
12104
|
+
}>, "many">>;
|
|
11862
12105
|
carrierLegalName: z.ZodOptional<z.ZodString>;
|
|
11863
12106
|
carrierNaicNumber: z.ZodOptional<z.ZodString>;
|
|
11864
12107
|
carrierAmBestRating: z.ZodOptional<z.ZodString>;
|
|
@@ -15932,6 +16175,29 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
15932
16175
|
sectionNumber?: string | undefined;
|
|
15933
16176
|
}[] | undefined;
|
|
15934
16177
|
}[] | undefined;
|
|
16178
|
+
definitions?: {
|
|
16179
|
+
definition: string;
|
|
16180
|
+
term: string;
|
|
16181
|
+
formNumber?: string | undefined;
|
|
16182
|
+
pageNumber?: number | undefined;
|
|
16183
|
+
sectionRef?: string | undefined;
|
|
16184
|
+
originalContent?: string | undefined;
|
|
16185
|
+
formTitle?: string | undefined;
|
|
16186
|
+
}[] | undefined;
|
|
16187
|
+
coveredReasons?: {
|
|
16188
|
+
content: string;
|
|
16189
|
+
coverageName: string;
|
|
16190
|
+
title?: string | undefined;
|
|
16191
|
+
conditions?: string[] | undefined;
|
|
16192
|
+
formNumber?: string | undefined;
|
|
16193
|
+
appliesTo?: string[] | undefined;
|
|
16194
|
+
pageNumber?: number | undefined;
|
|
16195
|
+
sectionRef?: string | undefined;
|
|
16196
|
+
originalContent?: string | undefined;
|
|
16197
|
+
exceptions?: string[] | undefined;
|
|
16198
|
+
formTitle?: string | undefined;
|
|
16199
|
+
reasonNumber?: string | undefined;
|
|
16200
|
+
}[] | undefined;
|
|
15935
16201
|
carrierLegalName?: string | undefined;
|
|
15936
16202
|
carrierNaicNumber?: string | undefined;
|
|
15937
16203
|
carrierAmBestRating?: string | undefined;
|
|
@@ -16892,6 +17158,29 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
16892
17158
|
sectionNumber?: string | undefined;
|
|
16893
17159
|
}[] | undefined;
|
|
16894
17160
|
}[] | undefined;
|
|
17161
|
+
definitions?: {
|
|
17162
|
+
definition: string;
|
|
17163
|
+
term: string;
|
|
17164
|
+
formNumber?: string | undefined;
|
|
17165
|
+
pageNumber?: number | undefined;
|
|
17166
|
+
sectionRef?: string | undefined;
|
|
17167
|
+
originalContent?: string | undefined;
|
|
17168
|
+
formTitle?: string | undefined;
|
|
17169
|
+
}[] | undefined;
|
|
17170
|
+
coveredReasons?: {
|
|
17171
|
+
content: string;
|
|
17172
|
+
coverageName: string;
|
|
17173
|
+
title?: string | undefined;
|
|
17174
|
+
conditions?: string[] | undefined;
|
|
17175
|
+
formNumber?: string | undefined;
|
|
17176
|
+
appliesTo?: string[] | undefined;
|
|
17177
|
+
pageNumber?: number | undefined;
|
|
17178
|
+
sectionRef?: string | undefined;
|
|
17179
|
+
originalContent?: string | undefined;
|
|
17180
|
+
exceptions?: string[] | undefined;
|
|
17181
|
+
formTitle?: string | undefined;
|
|
17182
|
+
reasonNumber?: string | undefined;
|
|
17183
|
+
}[] | undefined;
|
|
16895
17184
|
carrierLegalName?: string | undefined;
|
|
16896
17185
|
carrierNaicNumber?: string | undefined;
|
|
16897
17186
|
carrierAmBestRating?: string | undefined;
|
|
@@ -17318,6 +17607,71 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
17318
17607
|
sectionNumber?: string | undefined;
|
|
17319
17608
|
}[] | undefined;
|
|
17320
17609
|
}>, "many">>;
|
|
17610
|
+
definitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17611
|
+
term: z.ZodString;
|
|
17612
|
+
definition: z.ZodString;
|
|
17613
|
+
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
17614
|
+
formNumber: z.ZodOptional<z.ZodString>;
|
|
17615
|
+
formTitle: z.ZodOptional<z.ZodString>;
|
|
17616
|
+
sectionRef: z.ZodOptional<z.ZodString>;
|
|
17617
|
+
originalContent: z.ZodOptional<z.ZodString>;
|
|
17618
|
+
}, "strip", z.ZodTypeAny, {
|
|
17619
|
+
definition: string;
|
|
17620
|
+
term: string;
|
|
17621
|
+
formNumber?: string | undefined;
|
|
17622
|
+
pageNumber?: number | undefined;
|
|
17623
|
+
sectionRef?: string | undefined;
|
|
17624
|
+
originalContent?: string | undefined;
|
|
17625
|
+
formTitle?: string | undefined;
|
|
17626
|
+
}, {
|
|
17627
|
+
definition: string;
|
|
17628
|
+
term: string;
|
|
17629
|
+
formNumber?: string | undefined;
|
|
17630
|
+
pageNumber?: number | undefined;
|
|
17631
|
+
sectionRef?: string | undefined;
|
|
17632
|
+
originalContent?: string | undefined;
|
|
17633
|
+
formTitle?: string | undefined;
|
|
17634
|
+
}>, "many">>;
|
|
17635
|
+
coveredReasons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17636
|
+
coverageName: z.ZodString;
|
|
17637
|
+
reasonNumber: z.ZodOptional<z.ZodString>;
|
|
17638
|
+
title: z.ZodOptional<z.ZodString>;
|
|
17639
|
+
content: z.ZodString;
|
|
17640
|
+
conditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17641
|
+
exceptions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17642
|
+
appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17643
|
+
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
17644
|
+
formNumber: z.ZodOptional<z.ZodString>;
|
|
17645
|
+
formTitle: z.ZodOptional<z.ZodString>;
|
|
17646
|
+
sectionRef: z.ZodOptional<z.ZodString>;
|
|
17647
|
+
originalContent: z.ZodOptional<z.ZodString>;
|
|
17648
|
+
}, "strip", z.ZodTypeAny, {
|
|
17649
|
+
content: string;
|
|
17650
|
+
coverageName: string;
|
|
17651
|
+
title?: string | undefined;
|
|
17652
|
+
conditions?: string[] | undefined;
|
|
17653
|
+
formNumber?: string | undefined;
|
|
17654
|
+
appliesTo?: string[] | undefined;
|
|
17655
|
+
pageNumber?: number | undefined;
|
|
17656
|
+
sectionRef?: string | undefined;
|
|
17657
|
+
originalContent?: string | undefined;
|
|
17658
|
+
exceptions?: string[] | undefined;
|
|
17659
|
+
formTitle?: string | undefined;
|
|
17660
|
+
reasonNumber?: string | undefined;
|
|
17661
|
+
}, {
|
|
17662
|
+
content: string;
|
|
17663
|
+
coverageName: string;
|
|
17664
|
+
title?: string | undefined;
|
|
17665
|
+
conditions?: string[] | undefined;
|
|
17666
|
+
formNumber?: string | undefined;
|
|
17667
|
+
appliesTo?: string[] | undefined;
|
|
17668
|
+
pageNumber?: number | undefined;
|
|
17669
|
+
sectionRef?: string | undefined;
|
|
17670
|
+
originalContent?: string | undefined;
|
|
17671
|
+
exceptions?: string[] | undefined;
|
|
17672
|
+
formTitle?: string | undefined;
|
|
17673
|
+
reasonNumber?: string | undefined;
|
|
17674
|
+
}>, "many">>;
|
|
17321
17675
|
carrierLegalName: z.ZodOptional<z.ZodString>;
|
|
17322
17676
|
carrierNaicNumber: z.ZodOptional<z.ZodString>;
|
|
17323
17677
|
carrierAmBestRating: z.ZodOptional<z.ZodString>;
|
|
@@ -21396,6 +21750,29 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
21396
21750
|
sectionNumber?: string | undefined;
|
|
21397
21751
|
}[] | undefined;
|
|
21398
21752
|
}[] | undefined;
|
|
21753
|
+
definitions?: {
|
|
21754
|
+
definition: string;
|
|
21755
|
+
term: string;
|
|
21756
|
+
formNumber?: string | undefined;
|
|
21757
|
+
pageNumber?: number | undefined;
|
|
21758
|
+
sectionRef?: string | undefined;
|
|
21759
|
+
originalContent?: string | undefined;
|
|
21760
|
+
formTitle?: string | undefined;
|
|
21761
|
+
}[] | undefined;
|
|
21762
|
+
coveredReasons?: {
|
|
21763
|
+
content: string;
|
|
21764
|
+
coverageName: string;
|
|
21765
|
+
title?: string | undefined;
|
|
21766
|
+
conditions?: string[] | undefined;
|
|
21767
|
+
formNumber?: string | undefined;
|
|
21768
|
+
appliesTo?: string[] | undefined;
|
|
21769
|
+
pageNumber?: number | undefined;
|
|
21770
|
+
sectionRef?: string | undefined;
|
|
21771
|
+
originalContent?: string | undefined;
|
|
21772
|
+
exceptions?: string[] | undefined;
|
|
21773
|
+
formTitle?: string | undefined;
|
|
21774
|
+
reasonNumber?: string | undefined;
|
|
21775
|
+
}[] | undefined;
|
|
21399
21776
|
carrierLegalName?: string | undefined;
|
|
21400
21777
|
carrierNaicNumber?: string | undefined;
|
|
21401
21778
|
carrierAmBestRating?: string | undefined;
|
|
@@ -22327,6 +22704,29 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
22327
22704
|
sectionNumber?: string | undefined;
|
|
22328
22705
|
}[] | undefined;
|
|
22329
22706
|
}[] | undefined;
|
|
22707
|
+
definitions?: {
|
|
22708
|
+
definition: string;
|
|
22709
|
+
term: string;
|
|
22710
|
+
formNumber?: string | undefined;
|
|
22711
|
+
pageNumber?: number | undefined;
|
|
22712
|
+
sectionRef?: string | undefined;
|
|
22713
|
+
originalContent?: string | undefined;
|
|
22714
|
+
formTitle?: string | undefined;
|
|
22715
|
+
}[] | undefined;
|
|
22716
|
+
coveredReasons?: {
|
|
22717
|
+
content: string;
|
|
22718
|
+
coverageName: string;
|
|
22719
|
+
title?: string | undefined;
|
|
22720
|
+
conditions?: string[] | undefined;
|
|
22721
|
+
formNumber?: string | undefined;
|
|
22722
|
+
appliesTo?: string[] | undefined;
|
|
22723
|
+
pageNumber?: number | undefined;
|
|
22724
|
+
sectionRef?: string | undefined;
|
|
22725
|
+
originalContent?: string | undefined;
|
|
22726
|
+
exceptions?: string[] | undefined;
|
|
22727
|
+
formTitle?: string | undefined;
|
|
22728
|
+
reasonNumber?: string | undefined;
|
|
22729
|
+
}[] | undefined;
|
|
22330
22730
|
carrierLegalName?: string | undefined;
|
|
22331
22731
|
carrierNaicNumber?: string | undefined;
|
|
22332
22732
|
carrierAmBestRating?: string | undefined;
|
|
@@ -22792,6 +23192,71 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
22792
23192
|
sectionNumber?: string | undefined;
|
|
22793
23193
|
}[] | undefined;
|
|
22794
23194
|
}>, "many">>;
|
|
23195
|
+
definitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
23196
|
+
term: z.ZodString;
|
|
23197
|
+
definition: z.ZodString;
|
|
23198
|
+
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
23199
|
+
formNumber: z.ZodOptional<z.ZodString>;
|
|
23200
|
+
formTitle: z.ZodOptional<z.ZodString>;
|
|
23201
|
+
sectionRef: z.ZodOptional<z.ZodString>;
|
|
23202
|
+
originalContent: z.ZodOptional<z.ZodString>;
|
|
23203
|
+
}, "strip", z.ZodTypeAny, {
|
|
23204
|
+
definition: string;
|
|
23205
|
+
term: string;
|
|
23206
|
+
formNumber?: string | undefined;
|
|
23207
|
+
pageNumber?: number | undefined;
|
|
23208
|
+
sectionRef?: string | undefined;
|
|
23209
|
+
originalContent?: string | undefined;
|
|
23210
|
+
formTitle?: string | undefined;
|
|
23211
|
+
}, {
|
|
23212
|
+
definition: string;
|
|
23213
|
+
term: string;
|
|
23214
|
+
formNumber?: string | undefined;
|
|
23215
|
+
pageNumber?: number | undefined;
|
|
23216
|
+
sectionRef?: string | undefined;
|
|
23217
|
+
originalContent?: string | undefined;
|
|
23218
|
+
formTitle?: string | undefined;
|
|
23219
|
+
}>, "many">>;
|
|
23220
|
+
coveredReasons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
23221
|
+
coverageName: z.ZodString;
|
|
23222
|
+
reasonNumber: z.ZodOptional<z.ZodString>;
|
|
23223
|
+
title: z.ZodOptional<z.ZodString>;
|
|
23224
|
+
content: z.ZodString;
|
|
23225
|
+
conditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
23226
|
+
exceptions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
23227
|
+
appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
23228
|
+
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
23229
|
+
formNumber: z.ZodOptional<z.ZodString>;
|
|
23230
|
+
formTitle: z.ZodOptional<z.ZodString>;
|
|
23231
|
+
sectionRef: z.ZodOptional<z.ZodString>;
|
|
23232
|
+
originalContent: z.ZodOptional<z.ZodString>;
|
|
23233
|
+
}, "strip", z.ZodTypeAny, {
|
|
23234
|
+
content: string;
|
|
23235
|
+
coverageName: string;
|
|
23236
|
+
title?: string | undefined;
|
|
23237
|
+
conditions?: string[] | undefined;
|
|
23238
|
+
formNumber?: string | undefined;
|
|
23239
|
+
appliesTo?: string[] | undefined;
|
|
23240
|
+
pageNumber?: number | undefined;
|
|
23241
|
+
sectionRef?: string | undefined;
|
|
23242
|
+
originalContent?: string | undefined;
|
|
23243
|
+
exceptions?: string[] | undefined;
|
|
23244
|
+
formTitle?: string | undefined;
|
|
23245
|
+
reasonNumber?: string | undefined;
|
|
23246
|
+
}, {
|
|
23247
|
+
content: string;
|
|
23248
|
+
coverageName: string;
|
|
23249
|
+
title?: string | undefined;
|
|
23250
|
+
conditions?: string[] | undefined;
|
|
23251
|
+
formNumber?: string | undefined;
|
|
23252
|
+
appliesTo?: string[] | undefined;
|
|
23253
|
+
pageNumber?: number | undefined;
|
|
23254
|
+
sectionRef?: string | undefined;
|
|
23255
|
+
originalContent?: string | undefined;
|
|
23256
|
+
exceptions?: string[] | undefined;
|
|
23257
|
+
formTitle?: string | undefined;
|
|
23258
|
+
reasonNumber?: string | undefined;
|
|
23259
|
+
}>, "many">>;
|
|
22795
23260
|
carrierLegalName: z.ZodOptional<z.ZodString>;
|
|
22796
23261
|
carrierNaicNumber: z.ZodOptional<z.ZodString>;
|
|
22797
23262
|
carrierAmBestRating: z.ZodOptional<z.ZodString>;
|
|
@@ -26865,6 +27330,29 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
26865
27330
|
sectionNumber?: string | undefined;
|
|
26866
27331
|
}[] | undefined;
|
|
26867
27332
|
}[] | undefined;
|
|
27333
|
+
definitions?: {
|
|
27334
|
+
definition: string;
|
|
27335
|
+
term: string;
|
|
27336
|
+
formNumber?: string | undefined;
|
|
27337
|
+
pageNumber?: number | undefined;
|
|
27338
|
+
sectionRef?: string | undefined;
|
|
27339
|
+
originalContent?: string | undefined;
|
|
27340
|
+
formTitle?: string | undefined;
|
|
27341
|
+
}[] | undefined;
|
|
27342
|
+
coveredReasons?: {
|
|
27343
|
+
content: string;
|
|
27344
|
+
coverageName: string;
|
|
27345
|
+
title?: string | undefined;
|
|
27346
|
+
conditions?: string[] | undefined;
|
|
27347
|
+
formNumber?: string | undefined;
|
|
27348
|
+
appliesTo?: string[] | undefined;
|
|
27349
|
+
pageNumber?: number | undefined;
|
|
27350
|
+
sectionRef?: string | undefined;
|
|
27351
|
+
originalContent?: string | undefined;
|
|
27352
|
+
exceptions?: string[] | undefined;
|
|
27353
|
+
formTitle?: string | undefined;
|
|
27354
|
+
reasonNumber?: string | undefined;
|
|
27355
|
+
}[] | undefined;
|
|
26868
27356
|
carrierLegalName?: string | undefined;
|
|
26869
27357
|
carrierNaicNumber?: string | undefined;
|
|
26870
27358
|
carrierAmBestRating?: string | undefined;
|
|
@@ -27825,6 +28313,29 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
27825
28313
|
sectionNumber?: string | undefined;
|
|
27826
28314
|
}[] | undefined;
|
|
27827
28315
|
}[] | undefined;
|
|
28316
|
+
definitions?: {
|
|
28317
|
+
definition: string;
|
|
28318
|
+
term: string;
|
|
28319
|
+
formNumber?: string | undefined;
|
|
28320
|
+
pageNumber?: number | undefined;
|
|
28321
|
+
sectionRef?: string | undefined;
|
|
28322
|
+
originalContent?: string | undefined;
|
|
28323
|
+
formTitle?: string | undefined;
|
|
28324
|
+
}[] | undefined;
|
|
28325
|
+
coveredReasons?: {
|
|
28326
|
+
content: string;
|
|
28327
|
+
coverageName: string;
|
|
28328
|
+
title?: string | undefined;
|
|
28329
|
+
conditions?: string[] | undefined;
|
|
28330
|
+
formNumber?: string | undefined;
|
|
28331
|
+
appliesTo?: string[] | undefined;
|
|
28332
|
+
pageNumber?: number | undefined;
|
|
28333
|
+
sectionRef?: string | undefined;
|
|
28334
|
+
originalContent?: string | undefined;
|
|
28335
|
+
exceptions?: string[] | undefined;
|
|
28336
|
+
formTitle?: string | undefined;
|
|
28337
|
+
reasonNumber?: string | undefined;
|
|
28338
|
+
}[] | undefined;
|
|
27828
28339
|
carrierLegalName?: string | undefined;
|
|
27829
28340
|
carrierNaicNumber?: string | undefined;
|
|
27830
28341
|
carrierAmBestRating?: string | undefined;
|
|
@@ -28222,7 +28733,7 @@ interface DocumentChunk {
|
|
|
28222
28733
|
/** Source document ID */
|
|
28223
28734
|
documentId: string;
|
|
28224
28735
|
/** Chunk type for filtering */
|
|
28225
|
-
type: "carrier_info" | "named_insured" | "coverage" | "endorsement" | "exclusion" | "condition" | "section" | "declaration" | "loss_history" | "premium" | "supplementary" | "location" | "vehicle" | "classification" | "financial" | "party" | "subjectivity" | "underwriting_condition";
|
|
28736
|
+
type: "carrier_info" | "named_insured" | "coverage" | "covered_reason" | "definition" | "endorsement" | "exclusion" | "condition" | "section" | "declaration" | "loss_history" | "premium" | "supplementary" | "location" | "vehicle" | "classification" | "financial" | "party" | "subjectivity" | "underwriting_condition";
|
|
28226
28737
|
/** Human-readable text for embedding */
|
|
28227
28738
|
text: string;
|
|
28228
28739
|
/** Structured metadata for filtering */
|
|
@@ -28364,21 +28875,21 @@ type FormInventoryResult = z.infer<typeof FormInventorySchema>;
|
|
|
28364
28875
|
|
|
28365
28876
|
declare const PageAssignmentSchema: z.ZodObject<{
|
|
28366
28877
|
localPageNumber: z.ZodNumber;
|
|
28367
|
-
extractorNames: z.ZodArray<z.ZodEnum<["carrier_info", "named_insured", "coverage_limits", "endorsements", "exclusions", "conditions", "premium_breakdown", "declarations", "loss_history", "sections", "supplementary"]>, "many">;
|
|
28878
|
+
extractorNames: z.ZodArray<z.ZodEnum<["carrier_info", "named_insured", "coverage_limits", "covered_reasons", "definitions", "endorsements", "exclusions", "conditions", "premium_breakdown", "declarations", "loss_history", "sections", "supplementary"]>, "many">;
|
|
28368
28879
|
pageRole: z.ZodOptional<z.ZodEnum<["declarations_schedule", "endorsement_schedule", "policy_form", "endorsement_form", "condition_exclusion_form", "supplementary", "other"]>>;
|
|
28369
28880
|
hasScheduleValues: z.ZodOptional<z.ZodBoolean>;
|
|
28370
28881
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
28371
28882
|
notes: z.ZodOptional<z.ZodString>;
|
|
28372
28883
|
}, "strip", z.ZodTypeAny, {
|
|
28373
28884
|
localPageNumber: number;
|
|
28374
|
-
extractorNames: ("declarations" | "supplementary" | "conditions" | "named_insured" | "sections" | "endorsements" | "exclusions" | "loss_history" | "carrier_info" | "coverage_limits" | "premium_breakdown")[];
|
|
28885
|
+
extractorNames: ("declarations" | "supplementary" | "conditions" | "named_insured" | "sections" | "definitions" | "endorsements" | "exclusions" | "loss_history" | "carrier_info" | "coverage_limits" | "premium_breakdown" | "covered_reasons")[];
|
|
28375
28886
|
confidence?: number | undefined;
|
|
28376
28887
|
pageRole?: "other" | "policy_form" | "supplementary" | "declarations_schedule" | "endorsement_schedule" | "endorsement_form" | "condition_exclusion_form" | undefined;
|
|
28377
28888
|
hasScheduleValues?: boolean | undefined;
|
|
28378
28889
|
notes?: string | undefined;
|
|
28379
28890
|
}, {
|
|
28380
28891
|
localPageNumber: number;
|
|
28381
|
-
extractorNames: ("declarations" | "supplementary" | "conditions" | "named_insured" | "sections" | "endorsements" | "exclusions" | "loss_history" | "carrier_info" | "coverage_limits" | "premium_breakdown")[];
|
|
28892
|
+
extractorNames: ("declarations" | "supplementary" | "conditions" | "named_insured" | "sections" | "definitions" | "endorsements" | "exclusions" | "loss_history" | "carrier_info" | "coverage_limits" | "premium_breakdown" | "covered_reasons")[];
|
|
28382
28893
|
confidence?: number | undefined;
|
|
28383
28894
|
pageRole?: "other" | "policy_form" | "supplementary" | "declarations_schedule" | "endorsement_schedule" | "endorsement_form" | "condition_exclusion_form" | undefined;
|
|
28384
28895
|
hasScheduleValues?: boolean | undefined;
|
|
@@ -28625,10 +29136,10 @@ declare const ApplicationFieldSchema: z.ZodObject<{
|
|
|
28625
29136
|
dependsOn: string;
|
|
28626
29137
|
whenValue: string;
|
|
28627
29138
|
} | undefined;
|
|
29139
|
+
source?: string | undefined;
|
|
28628
29140
|
confidence?: "high" | "medium" | "low" | "confirmed" | undefined;
|
|
28629
29141
|
columns?: string[] | undefined;
|
|
28630
29142
|
requiresExplanationIfYes?: boolean | undefined;
|
|
28631
|
-
source?: string | undefined;
|
|
28632
29143
|
}, {
|
|
28633
29144
|
id: string;
|
|
28634
29145
|
section: string;
|
|
@@ -28641,10 +29152,10 @@ declare const ApplicationFieldSchema: z.ZodObject<{
|
|
|
28641
29152
|
dependsOn: string;
|
|
28642
29153
|
whenValue: string;
|
|
28643
29154
|
} | undefined;
|
|
29155
|
+
source?: string | undefined;
|
|
28644
29156
|
confidence?: "high" | "medium" | "low" | "confirmed" | undefined;
|
|
28645
29157
|
columns?: string[] | undefined;
|
|
28646
29158
|
requiresExplanationIfYes?: boolean | undefined;
|
|
28647
|
-
source?: string | undefined;
|
|
28648
29159
|
}>;
|
|
28649
29160
|
type ApplicationField = z.infer<typeof ApplicationFieldSchema>;
|
|
28650
29161
|
declare const ApplicationClassifyResultSchema: z.ZodObject<{
|
|
@@ -28696,10 +29207,10 @@ declare const FieldExtractionResultSchema: z.ZodObject<{
|
|
|
28696
29207
|
dependsOn: string;
|
|
28697
29208
|
whenValue: string;
|
|
28698
29209
|
} | undefined;
|
|
29210
|
+
source?: string | undefined;
|
|
28699
29211
|
confidence?: "high" | "medium" | "low" | "confirmed" | undefined;
|
|
28700
29212
|
columns?: string[] | undefined;
|
|
28701
29213
|
requiresExplanationIfYes?: boolean | undefined;
|
|
28702
|
-
source?: string | undefined;
|
|
28703
29214
|
}, {
|
|
28704
29215
|
id: string;
|
|
28705
29216
|
section: string;
|
|
@@ -28712,10 +29223,10 @@ declare const FieldExtractionResultSchema: z.ZodObject<{
|
|
|
28712
29223
|
dependsOn: string;
|
|
28713
29224
|
whenValue: string;
|
|
28714
29225
|
} | undefined;
|
|
29226
|
+
source?: string | undefined;
|
|
28715
29227
|
confidence?: "high" | "medium" | "low" | "confirmed" | undefined;
|
|
28716
29228
|
columns?: string[] | undefined;
|
|
28717
29229
|
requiresExplanationIfYes?: boolean | undefined;
|
|
28718
|
-
source?: string | undefined;
|
|
28719
29230
|
}>, "many">;
|
|
28720
29231
|
}, "strip", z.ZodTypeAny, {
|
|
28721
29232
|
fields: {
|
|
@@ -28730,10 +29241,10 @@ declare const FieldExtractionResultSchema: z.ZodObject<{
|
|
|
28730
29241
|
dependsOn: string;
|
|
28731
29242
|
whenValue: string;
|
|
28732
29243
|
} | undefined;
|
|
29244
|
+
source?: string | undefined;
|
|
28733
29245
|
confidence?: "high" | "medium" | "low" | "confirmed" | undefined;
|
|
28734
29246
|
columns?: string[] | undefined;
|
|
28735
29247
|
requiresExplanationIfYes?: boolean | undefined;
|
|
28736
|
-
source?: string | undefined;
|
|
28737
29248
|
}[];
|
|
28738
29249
|
}, {
|
|
28739
29250
|
fields: {
|
|
@@ -28748,10 +29259,10 @@ declare const FieldExtractionResultSchema: z.ZodObject<{
|
|
|
28748
29259
|
dependsOn: string;
|
|
28749
29260
|
whenValue: string;
|
|
28750
29261
|
} | undefined;
|
|
29262
|
+
source?: string | undefined;
|
|
28751
29263
|
confidence?: "high" | "medium" | "low" | "confirmed" | undefined;
|
|
28752
29264
|
columns?: string[] | undefined;
|
|
28753
29265
|
requiresExplanationIfYes?: boolean | undefined;
|
|
28754
|
-
source?: string | undefined;
|
|
28755
29266
|
}[];
|
|
28756
29267
|
}>;
|
|
28757
29268
|
type FieldExtractionResult = z.infer<typeof FieldExtractionResultSchema>;
|
|
@@ -29266,10 +29777,10 @@ declare const ApplicationStateSchema: z.ZodObject<{
|
|
|
29266
29777
|
dependsOn: string;
|
|
29267
29778
|
whenValue: string;
|
|
29268
29779
|
} | undefined;
|
|
29780
|
+
source?: string | undefined;
|
|
29269
29781
|
confidence?: "high" | "medium" | "low" | "confirmed" | undefined;
|
|
29270
29782
|
columns?: string[] | undefined;
|
|
29271
29783
|
requiresExplanationIfYes?: boolean | undefined;
|
|
29272
|
-
source?: string | undefined;
|
|
29273
29784
|
}, {
|
|
29274
29785
|
id: string;
|
|
29275
29786
|
section: string;
|
|
@@ -29282,10 +29793,10 @@ declare const ApplicationStateSchema: z.ZodObject<{
|
|
|
29282
29793
|
dependsOn: string;
|
|
29283
29794
|
whenValue: string;
|
|
29284
29795
|
} | undefined;
|
|
29796
|
+
source?: string | undefined;
|
|
29285
29797
|
confidence?: "high" | "medium" | "low" | "confirmed" | undefined;
|
|
29286
29798
|
columns?: string[] | undefined;
|
|
29287
29799
|
requiresExplanationIfYes?: boolean | undefined;
|
|
29288
|
-
source?: string | undefined;
|
|
29289
29800
|
}>, "many">;
|
|
29290
29801
|
batches: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
29291
29802
|
currentBatchIndex: z.ZodDefault<z.ZodNumber>;
|
|
@@ -29446,10 +29957,10 @@ declare const ApplicationStateSchema: z.ZodObject<{
|
|
|
29446
29957
|
dependsOn: string;
|
|
29447
29958
|
whenValue: string;
|
|
29448
29959
|
} | undefined;
|
|
29960
|
+
source?: string | undefined;
|
|
29449
29961
|
confidence?: "high" | "medium" | "low" | "confirmed" | undefined;
|
|
29450
29962
|
columns?: string[] | undefined;
|
|
29451
29963
|
requiresExplanationIfYes?: boolean | undefined;
|
|
29452
|
-
source?: string | undefined;
|
|
29453
29964
|
}[];
|
|
29454
29965
|
currentBatchIndex: number;
|
|
29455
29966
|
createdAt: number;
|
|
@@ -29502,10 +30013,10 @@ declare const ApplicationStateSchema: z.ZodObject<{
|
|
|
29502
30013
|
dependsOn: string;
|
|
29503
30014
|
whenValue: string;
|
|
29504
30015
|
} | undefined;
|
|
30016
|
+
source?: string | undefined;
|
|
29505
30017
|
confidence?: "high" | "medium" | "low" | "confirmed" | undefined;
|
|
29506
30018
|
columns?: string[] | undefined;
|
|
29507
30019
|
requiresExplanationIfYes?: boolean | undefined;
|
|
29508
|
-
source?: string | undefined;
|
|
29509
30020
|
}[];
|
|
29510
30021
|
createdAt: number;
|
|
29511
30022
|
updatedAt: number;
|
|
@@ -30361,4 +30872,4 @@ interface DocumentTemplate {
|
|
|
30361
30872
|
}
|
|
30362
30873
|
declare function getTemplate(policyType: string): DocumentTemplate;
|
|
30363
30874
|
|
|
30364
|
-
export { ADMITTED_STATUSES, AGENT_TOOLS, APPLICATION_CLASSIFY_PROMPT, AUDIT_TYPES, type AcroFormFieldInfo, type AcroFormMapping, AcroFormMappingSchema, type Address, AddressSchema, type AdmittedStatus, AdmittedStatusSchema, type AgentContext, 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 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 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 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 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, type MemoryStore, type NamedInsured, NamedInsuredSchema, 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 PdfInput, 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 PolicyCondition, PolicyConditionSchema, type PolicyDocument, PolicyDocumentSchema, type PolicySectionType, PolicySectionTypeSchema, type PolicyTermType, PolicyTermTypeSchema, type PolicyType, PolicyTypeSchema, type PremiumLine, PremiumLineSchema, type PriorAnswer, type ProcessApplicationInput, type ProcessApplicationResult, 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 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 RetrievalResult, RetrievalResultSchema, type RoofType, RoofTypeSchema, SCHEDULED_ITEM_CATEGORIES, SUBJECTIVITY_CATEGORIES, type SafeGenerateOptions, type SafeGenerateParams, type ScheduledItemCategory, ScheduledItemCategorySchema, type Section, SectionSchema, type SharedLimit, SharedLimitSchema, 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 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, buildPdfProviderOptions, buildQueryClassifyPrompt, buildQuestionBatchPrompt, buildQuotesPoliciesPrompt, buildReasonPrompt, buildReplyIntentClassificationPrompt, buildRespondPrompt, buildSafetyPrompt, buildVerifyPrompt, chunkDocument, createApplicationPipeline, createExtractor, createPipelineContext, createQueryAgent, extractPageRange, fillAcroForm, getAcroFormFields, getExtractor, getFileIdentifier, getPdfPageCount, getTemplate, isFileReference, overlayTextOnPdf, pLimit, pdfInputToBase64, pdfInputToBytes, safeGenerateObject, sanitizeNulls, stripFences, toStrictSchema, withRetry };
|
|
30875
|
+
export { ADMITTED_STATUSES, AGENT_TOOLS, APPLICATION_CLASSIFY_PROMPT, AUDIT_TYPES, type AcroFormFieldInfo, type AcroFormMapping, AcroFormMappingSchema, type Address, AddressSchema, type AdmittedStatus, AdmittedStatusSchema, type AgentContext, 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 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 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, type MemoryStore, type NamedInsured, NamedInsuredSchema, 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 PdfInput, 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 PolicyCondition, PolicyConditionSchema, type PolicyDocument, PolicyDocumentSchema, type PolicySectionType, PolicySectionTypeSchema, type PolicyTermType, PolicyTermTypeSchema, type PolicyType, PolicyTypeSchema, type PremiumLine, PremiumLineSchema, type PriorAnswer, type ProcessApplicationInput, type ProcessApplicationResult, 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 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 RetrievalResult, RetrievalResultSchema, type RoofType, RoofTypeSchema, SCHEDULED_ITEM_CATEGORIES, SUBJECTIVITY_CATEGORIES, type SafeGenerateOptions, type SafeGenerateParams, type ScheduledItemCategory, ScheduledItemCategorySchema, type Section, SectionSchema, type SharedLimit, SharedLimitSchema, 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 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, buildPdfProviderOptions, buildQueryClassifyPrompt, buildQuestionBatchPrompt, buildQuotesPoliciesPrompt, buildReasonPrompt, buildReplyIntentClassificationPrompt, buildRespondPrompt, buildSafetyPrompt, buildVerifyPrompt, chunkDocument, createApplicationPipeline, createExtractor, createPipelineContext, createQueryAgent, extractPageRange, fillAcroForm, getAcroFormFields, getExtractor, getFileIdentifier, getPdfPageCount, getTemplate, isFileReference, overlayTextOnPdf, pLimit, pdfInputToBase64, pdfInputToBytes, safeGenerateObject, sanitizeNulls, stripFences, toStrictSchema, withRetry };
|