@claritylabs/cl-sdk 0.16.2 → 0.17.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/dist/index.d.mts CHANGED
@@ -164,6 +164,8 @@ interface PipelineContextOptions<TState> {
164
164
  onSave?: (checkpoint: PipelineCheckpoint<TState>) => Promise<void>;
165
165
  /** Resume from a previously saved checkpoint. */
166
166
  resumeFrom?: PipelineCheckpoint<TState>;
167
+ /** Ordered phase names. When provided, resuming from a phase marks prior phases complete too. */
168
+ phaseOrder?: string[];
167
169
  }
168
170
  /**
169
171
  * Create a pipeline context for checkpoint-based save/resume.
@@ -6281,6 +6283,73 @@ declare const AuxiliaryFactSchema: z.ZodObject<{
6281
6283
  context?: string | undefined;
6282
6284
  }>;
6283
6285
  type AuxiliaryFact = z.infer<typeof AuxiliaryFactSchema>;
6286
+ declare const DefinitionSchema: z.ZodObject<{
6287
+ term: z.ZodString;
6288
+ definition: z.ZodString;
6289
+ pageNumber: z.ZodOptional<z.ZodNumber>;
6290
+ formNumber: z.ZodOptional<z.ZodString>;
6291
+ formTitle: z.ZodOptional<z.ZodString>;
6292
+ sectionRef: z.ZodOptional<z.ZodString>;
6293
+ originalContent: z.ZodOptional<z.ZodString>;
6294
+ }, "strip", z.ZodTypeAny, {
6295
+ definition: string;
6296
+ term: string;
6297
+ formNumber?: string | undefined;
6298
+ pageNumber?: number | undefined;
6299
+ sectionRef?: string | undefined;
6300
+ originalContent?: string | undefined;
6301
+ formTitle?: string | undefined;
6302
+ }, {
6303
+ definition: string;
6304
+ term: string;
6305
+ formNumber?: string | undefined;
6306
+ pageNumber?: number | undefined;
6307
+ sectionRef?: string | undefined;
6308
+ originalContent?: string | undefined;
6309
+ formTitle?: string | undefined;
6310
+ }>;
6311
+ type Definition = z.infer<typeof DefinitionSchema>;
6312
+ declare const CoveredReasonSchema: z.ZodObject<{
6313
+ coverageName: z.ZodString;
6314
+ reasonNumber: z.ZodOptional<z.ZodString>;
6315
+ title: z.ZodOptional<z.ZodString>;
6316
+ content: z.ZodString;
6317
+ conditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6318
+ exceptions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6319
+ appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6320
+ pageNumber: z.ZodOptional<z.ZodNumber>;
6321
+ formNumber: z.ZodOptional<z.ZodString>;
6322
+ formTitle: z.ZodOptional<z.ZodString>;
6323
+ sectionRef: z.ZodOptional<z.ZodString>;
6324
+ originalContent: z.ZodOptional<z.ZodString>;
6325
+ }, "strip", z.ZodTypeAny, {
6326
+ content: string;
6327
+ coverageName: string;
6328
+ title?: string | undefined;
6329
+ conditions?: string[] | undefined;
6330
+ formNumber?: string | undefined;
6331
+ appliesTo?: string[] | undefined;
6332
+ pageNumber?: number | undefined;
6333
+ sectionRef?: string | undefined;
6334
+ originalContent?: string | undefined;
6335
+ exceptions?: string[] | undefined;
6336
+ formTitle?: string | undefined;
6337
+ reasonNumber?: string | undefined;
6338
+ }, {
6339
+ content: string;
6340
+ coverageName: string;
6341
+ title?: string | undefined;
6342
+ conditions?: string[] | undefined;
6343
+ formNumber?: string | undefined;
6344
+ appliesTo?: string[] | undefined;
6345
+ pageNumber?: number | undefined;
6346
+ sectionRef?: string | undefined;
6347
+ originalContent?: string | undefined;
6348
+ exceptions?: string[] | undefined;
6349
+ formTitle?: string | undefined;
6350
+ reasonNumber?: string | undefined;
6351
+ }>;
6352
+ type CoveredReason = z.infer<typeof CoveredReasonSchema>;
6284
6353
  declare const PolicyDocumentSchema: z.ZodObject<{
6285
6354
  type: z.ZodLiteral<"policy">;
6286
6355
  policyNumber: z.ZodString;
@@ -6383,6 +6452,71 @@ declare const PolicyDocumentSchema: z.ZodObject<{
6383
6452
  sectionNumber?: string | undefined;
6384
6453
  }[] | undefined;
6385
6454
  }>, "many">>;
6455
+ definitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
6456
+ term: z.ZodString;
6457
+ definition: z.ZodString;
6458
+ pageNumber: z.ZodOptional<z.ZodNumber>;
6459
+ formNumber: z.ZodOptional<z.ZodString>;
6460
+ formTitle: z.ZodOptional<z.ZodString>;
6461
+ sectionRef: z.ZodOptional<z.ZodString>;
6462
+ originalContent: z.ZodOptional<z.ZodString>;
6463
+ }, "strip", z.ZodTypeAny, {
6464
+ definition: string;
6465
+ term: string;
6466
+ formNumber?: string | undefined;
6467
+ pageNumber?: number | undefined;
6468
+ sectionRef?: string | undefined;
6469
+ originalContent?: string | undefined;
6470
+ formTitle?: string | undefined;
6471
+ }, {
6472
+ definition: string;
6473
+ term: string;
6474
+ formNumber?: string | undefined;
6475
+ pageNumber?: number | undefined;
6476
+ sectionRef?: string | undefined;
6477
+ originalContent?: string | undefined;
6478
+ formTitle?: string | undefined;
6479
+ }>, "many">>;
6480
+ coveredReasons: z.ZodOptional<z.ZodArray<z.ZodObject<{
6481
+ coverageName: z.ZodString;
6482
+ reasonNumber: z.ZodOptional<z.ZodString>;
6483
+ title: z.ZodOptional<z.ZodString>;
6484
+ content: z.ZodString;
6485
+ conditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6486
+ exceptions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6487
+ appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6488
+ pageNumber: z.ZodOptional<z.ZodNumber>;
6489
+ formNumber: z.ZodOptional<z.ZodString>;
6490
+ formTitle: z.ZodOptional<z.ZodString>;
6491
+ sectionRef: z.ZodOptional<z.ZodString>;
6492
+ originalContent: z.ZodOptional<z.ZodString>;
6493
+ }, "strip", z.ZodTypeAny, {
6494
+ content: string;
6495
+ coverageName: string;
6496
+ title?: string | undefined;
6497
+ conditions?: string[] | undefined;
6498
+ formNumber?: string | undefined;
6499
+ appliesTo?: string[] | undefined;
6500
+ pageNumber?: number | undefined;
6501
+ sectionRef?: string | undefined;
6502
+ originalContent?: string | undefined;
6503
+ exceptions?: string[] | undefined;
6504
+ formTitle?: string | undefined;
6505
+ reasonNumber?: string | undefined;
6506
+ }, {
6507
+ content: string;
6508
+ coverageName: string;
6509
+ title?: string | undefined;
6510
+ conditions?: string[] | undefined;
6511
+ formNumber?: string | undefined;
6512
+ appliesTo?: string[] | undefined;
6513
+ pageNumber?: number | undefined;
6514
+ sectionRef?: string | undefined;
6515
+ originalContent?: string | undefined;
6516
+ exceptions?: string[] | undefined;
6517
+ formTitle?: string | undefined;
6518
+ reasonNumber?: string | undefined;
6519
+ }>, "many">>;
6386
6520
  carrierLegalName: z.ZodOptional<z.ZodString>;
6387
6521
  carrierNaicNumber: z.ZodOptional<z.ZodString>;
6388
6522
  carrierAmBestRating: z.ZodOptional<z.ZodString>;
@@ -10461,6 +10595,29 @@ declare const PolicyDocumentSchema: z.ZodObject<{
10461
10595
  sectionNumber?: string | undefined;
10462
10596
  }[] | undefined;
10463
10597
  }[] | undefined;
10598
+ definitions?: {
10599
+ definition: string;
10600
+ term: string;
10601
+ formNumber?: string | undefined;
10602
+ pageNumber?: number | undefined;
10603
+ sectionRef?: string | undefined;
10604
+ originalContent?: string | undefined;
10605
+ formTitle?: string | undefined;
10606
+ }[] | undefined;
10607
+ coveredReasons?: {
10608
+ content: string;
10609
+ coverageName: string;
10610
+ title?: string | undefined;
10611
+ conditions?: string[] | undefined;
10612
+ formNumber?: string | undefined;
10613
+ appliesTo?: string[] | undefined;
10614
+ pageNumber?: number | undefined;
10615
+ sectionRef?: string | undefined;
10616
+ originalContent?: string | undefined;
10617
+ exceptions?: string[] | undefined;
10618
+ formTitle?: string | undefined;
10619
+ reasonNumber?: string | undefined;
10620
+ }[] | undefined;
10464
10621
  carrierLegalName?: string | undefined;
10465
10622
  carrierNaicNumber?: string | undefined;
10466
10623
  carrierAmBestRating?: string | undefined;
@@ -11392,6 +11549,29 @@ declare const PolicyDocumentSchema: z.ZodObject<{
11392
11549
  sectionNumber?: string | undefined;
11393
11550
  }[] | undefined;
11394
11551
  }[] | undefined;
11552
+ definitions?: {
11553
+ definition: string;
11554
+ term: string;
11555
+ formNumber?: string | undefined;
11556
+ pageNumber?: number | undefined;
11557
+ sectionRef?: string | undefined;
11558
+ originalContent?: string | undefined;
11559
+ formTitle?: string | undefined;
11560
+ }[] | undefined;
11561
+ coveredReasons?: {
11562
+ content: string;
11563
+ coverageName: string;
11564
+ title?: string | undefined;
11565
+ conditions?: string[] | undefined;
11566
+ formNumber?: string | undefined;
11567
+ appliesTo?: string[] | undefined;
11568
+ pageNumber?: number | undefined;
11569
+ sectionRef?: string | undefined;
11570
+ originalContent?: string | undefined;
11571
+ exceptions?: string[] | undefined;
11572
+ formTitle?: string | undefined;
11573
+ reasonNumber?: string | undefined;
11574
+ }[] | undefined;
11395
11575
  carrierLegalName?: string | undefined;
11396
11576
  carrierNaicNumber?: string | undefined;
11397
11577
  carrierAmBestRating?: string | undefined;
@@ -11859,6 +12039,71 @@ declare const QuoteDocumentSchema: z.ZodObject<{
11859
12039
  sectionNumber?: string | undefined;
11860
12040
  }[] | undefined;
11861
12041
  }>, "many">>;
12042
+ definitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
12043
+ term: z.ZodString;
12044
+ definition: z.ZodString;
12045
+ pageNumber: z.ZodOptional<z.ZodNumber>;
12046
+ formNumber: z.ZodOptional<z.ZodString>;
12047
+ formTitle: z.ZodOptional<z.ZodString>;
12048
+ sectionRef: z.ZodOptional<z.ZodString>;
12049
+ originalContent: z.ZodOptional<z.ZodString>;
12050
+ }, "strip", z.ZodTypeAny, {
12051
+ definition: string;
12052
+ term: string;
12053
+ formNumber?: string | undefined;
12054
+ pageNumber?: number | undefined;
12055
+ sectionRef?: string | undefined;
12056
+ originalContent?: string | undefined;
12057
+ formTitle?: string | undefined;
12058
+ }, {
12059
+ definition: string;
12060
+ term: string;
12061
+ formNumber?: string | undefined;
12062
+ pageNumber?: number | undefined;
12063
+ sectionRef?: string | undefined;
12064
+ originalContent?: string | undefined;
12065
+ formTitle?: string | undefined;
12066
+ }>, "many">>;
12067
+ coveredReasons: z.ZodOptional<z.ZodArray<z.ZodObject<{
12068
+ coverageName: z.ZodString;
12069
+ reasonNumber: z.ZodOptional<z.ZodString>;
12070
+ title: z.ZodOptional<z.ZodString>;
12071
+ content: z.ZodString;
12072
+ conditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12073
+ exceptions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12074
+ appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12075
+ pageNumber: z.ZodOptional<z.ZodNumber>;
12076
+ formNumber: z.ZodOptional<z.ZodString>;
12077
+ formTitle: z.ZodOptional<z.ZodString>;
12078
+ sectionRef: z.ZodOptional<z.ZodString>;
12079
+ originalContent: z.ZodOptional<z.ZodString>;
12080
+ }, "strip", z.ZodTypeAny, {
12081
+ content: string;
12082
+ coverageName: string;
12083
+ title?: string | undefined;
12084
+ conditions?: string[] | undefined;
12085
+ formNumber?: string | undefined;
12086
+ appliesTo?: string[] | undefined;
12087
+ pageNumber?: number | undefined;
12088
+ sectionRef?: string | undefined;
12089
+ originalContent?: string | undefined;
12090
+ exceptions?: string[] | undefined;
12091
+ formTitle?: string | undefined;
12092
+ reasonNumber?: string | undefined;
12093
+ }, {
12094
+ content: string;
12095
+ coverageName: string;
12096
+ title?: string | undefined;
12097
+ conditions?: string[] | undefined;
12098
+ formNumber?: string | undefined;
12099
+ appliesTo?: string[] | undefined;
12100
+ pageNumber?: number | undefined;
12101
+ sectionRef?: string | undefined;
12102
+ originalContent?: string | undefined;
12103
+ exceptions?: string[] | undefined;
12104
+ formTitle?: string | undefined;
12105
+ reasonNumber?: string | undefined;
12106
+ }>, "many">>;
11862
12107
  carrierLegalName: z.ZodOptional<z.ZodString>;
11863
12108
  carrierNaicNumber: z.ZodOptional<z.ZodString>;
11864
12109
  carrierAmBestRating: z.ZodOptional<z.ZodString>;
@@ -15932,6 +16177,29 @@ declare const QuoteDocumentSchema: z.ZodObject<{
15932
16177
  sectionNumber?: string | undefined;
15933
16178
  }[] | undefined;
15934
16179
  }[] | undefined;
16180
+ definitions?: {
16181
+ definition: string;
16182
+ term: string;
16183
+ formNumber?: string | undefined;
16184
+ pageNumber?: number | undefined;
16185
+ sectionRef?: string | undefined;
16186
+ originalContent?: string | undefined;
16187
+ formTitle?: string | undefined;
16188
+ }[] | undefined;
16189
+ coveredReasons?: {
16190
+ content: string;
16191
+ coverageName: string;
16192
+ title?: string | undefined;
16193
+ conditions?: string[] | undefined;
16194
+ formNumber?: string | undefined;
16195
+ appliesTo?: string[] | undefined;
16196
+ pageNumber?: number | undefined;
16197
+ sectionRef?: string | undefined;
16198
+ originalContent?: string | undefined;
16199
+ exceptions?: string[] | undefined;
16200
+ formTitle?: string | undefined;
16201
+ reasonNumber?: string | undefined;
16202
+ }[] | undefined;
15935
16203
  carrierLegalName?: string | undefined;
15936
16204
  carrierNaicNumber?: string | undefined;
15937
16205
  carrierAmBestRating?: string | undefined;
@@ -16892,6 +17160,29 @@ declare const QuoteDocumentSchema: z.ZodObject<{
16892
17160
  sectionNumber?: string | undefined;
16893
17161
  }[] | undefined;
16894
17162
  }[] | undefined;
17163
+ definitions?: {
17164
+ definition: string;
17165
+ term: string;
17166
+ formNumber?: string | undefined;
17167
+ pageNumber?: number | undefined;
17168
+ sectionRef?: string | undefined;
17169
+ originalContent?: string | undefined;
17170
+ formTitle?: string | undefined;
17171
+ }[] | undefined;
17172
+ coveredReasons?: {
17173
+ content: string;
17174
+ coverageName: string;
17175
+ title?: string | undefined;
17176
+ conditions?: string[] | undefined;
17177
+ formNumber?: string | undefined;
17178
+ appliesTo?: string[] | undefined;
17179
+ pageNumber?: number | undefined;
17180
+ sectionRef?: string | undefined;
17181
+ originalContent?: string | undefined;
17182
+ exceptions?: string[] | undefined;
17183
+ formTitle?: string | undefined;
17184
+ reasonNumber?: string | undefined;
17185
+ }[] | undefined;
16895
17186
  carrierLegalName?: string | undefined;
16896
17187
  carrierNaicNumber?: string | undefined;
16897
17188
  carrierAmBestRating?: string | undefined;
@@ -17318,6 +17609,71 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
17318
17609
  sectionNumber?: string | undefined;
17319
17610
  }[] | undefined;
17320
17611
  }>, "many">>;
17612
+ definitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
17613
+ term: z.ZodString;
17614
+ definition: z.ZodString;
17615
+ pageNumber: z.ZodOptional<z.ZodNumber>;
17616
+ formNumber: z.ZodOptional<z.ZodString>;
17617
+ formTitle: z.ZodOptional<z.ZodString>;
17618
+ sectionRef: z.ZodOptional<z.ZodString>;
17619
+ originalContent: z.ZodOptional<z.ZodString>;
17620
+ }, "strip", z.ZodTypeAny, {
17621
+ definition: string;
17622
+ term: string;
17623
+ formNumber?: string | undefined;
17624
+ pageNumber?: number | undefined;
17625
+ sectionRef?: string | undefined;
17626
+ originalContent?: string | undefined;
17627
+ formTitle?: string | undefined;
17628
+ }, {
17629
+ definition: string;
17630
+ term: string;
17631
+ formNumber?: string | undefined;
17632
+ pageNumber?: number | undefined;
17633
+ sectionRef?: string | undefined;
17634
+ originalContent?: string | undefined;
17635
+ formTitle?: string | undefined;
17636
+ }>, "many">>;
17637
+ coveredReasons: z.ZodOptional<z.ZodArray<z.ZodObject<{
17638
+ coverageName: z.ZodString;
17639
+ reasonNumber: z.ZodOptional<z.ZodString>;
17640
+ title: z.ZodOptional<z.ZodString>;
17641
+ content: z.ZodString;
17642
+ conditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17643
+ exceptions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17644
+ appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17645
+ pageNumber: z.ZodOptional<z.ZodNumber>;
17646
+ formNumber: z.ZodOptional<z.ZodString>;
17647
+ formTitle: z.ZodOptional<z.ZodString>;
17648
+ sectionRef: z.ZodOptional<z.ZodString>;
17649
+ originalContent: z.ZodOptional<z.ZodString>;
17650
+ }, "strip", z.ZodTypeAny, {
17651
+ content: string;
17652
+ coverageName: string;
17653
+ title?: string | undefined;
17654
+ conditions?: string[] | undefined;
17655
+ formNumber?: string | undefined;
17656
+ appliesTo?: string[] | undefined;
17657
+ pageNumber?: number | undefined;
17658
+ sectionRef?: string | undefined;
17659
+ originalContent?: string | undefined;
17660
+ exceptions?: string[] | undefined;
17661
+ formTitle?: string | undefined;
17662
+ reasonNumber?: string | undefined;
17663
+ }, {
17664
+ content: string;
17665
+ coverageName: string;
17666
+ title?: string | undefined;
17667
+ conditions?: string[] | undefined;
17668
+ formNumber?: string | undefined;
17669
+ appliesTo?: string[] | undefined;
17670
+ pageNumber?: number | undefined;
17671
+ sectionRef?: string | undefined;
17672
+ originalContent?: string | undefined;
17673
+ exceptions?: string[] | undefined;
17674
+ formTitle?: string | undefined;
17675
+ reasonNumber?: string | undefined;
17676
+ }>, "many">>;
17321
17677
  carrierLegalName: z.ZodOptional<z.ZodString>;
17322
17678
  carrierNaicNumber: z.ZodOptional<z.ZodString>;
17323
17679
  carrierAmBestRating: z.ZodOptional<z.ZodString>;
@@ -21396,6 +21752,29 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
21396
21752
  sectionNumber?: string | undefined;
21397
21753
  }[] | undefined;
21398
21754
  }[] | undefined;
21755
+ definitions?: {
21756
+ definition: string;
21757
+ term: string;
21758
+ formNumber?: string | undefined;
21759
+ pageNumber?: number | undefined;
21760
+ sectionRef?: string | undefined;
21761
+ originalContent?: string | undefined;
21762
+ formTitle?: string | undefined;
21763
+ }[] | undefined;
21764
+ coveredReasons?: {
21765
+ content: string;
21766
+ coverageName: string;
21767
+ title?: string | undefined;
21768
+ conditions?: string[] | undefined;
21769
+ formNumber?: string | undefined;
21770
+ appliesTo?: string[] | undefined;
21771
+ pageNumber?: number | undefined;
21772
+ sectionRef?: string | undefined;
21773
+ originalContent?: string | undefined;
21774
+ exceptions?: string[] | undefined;
21775
+ formTitle?: string | undefined;
21776
+ reasonNumber?: string | undefined;
21777
+ }[] | undefined;
21399
21778
  carrierLegalName?: string | undefined;
21400
21779
  carrierNaicNumber?: string | undefined;
21401
21780
  carrierAmBestRating?: string | undefined;
@@ -22327,6 +22706,29 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
22327
22706
  sectionNumber?: string | undefined;
22328
22707
  }[] | undefined;
22329
22708
  }[] | undefined;
22709
+ definitions?: {
22710
+ definition: string;
22711
+ term: string;
22712
+ formNumber?: string | undefined;
22713
+ pageNumber?: number | undefined;
22714
+ sectionRef?: string | undefined;
22715
+ originalContent?: string | undefined;
22716
+ formTitle?: string | undefined;
22717
+ }[] | undefined;
22718
+ coveredReasons?: {
22719
+ content: string;
22720
+ coverageName: string;
22721
+ title?: string | undefined;
22722
+ conditions?: string[] | undefined;
22723
+ formNumber?: string | undefined;
22724
+ appliesTo?: string[] | undefined;
22725
+ pageNumber?: number | undefined;
22726
+ sectionRef?: string | undefined;
22727
+ originalContent?: string | undefined;
22728
+ exceptions?: string[] | undefined;
22729
+ formTitle?: string | undefined;
22730
+ reasonNumber?: string | undefined;
22731
+ }[] | undefined;
22330
22732
  carrierLegalName?: string | undefined;
22331
22733
  carrierNaicNumber?: string | undefined;
22332
22734
  carrierAmBestRating?: string | undefined;
@@ -22792,6 +23194,71 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
22792
23194
  sectionNumber?: string | undefined;
22793
23195
  }[] | undefined;
22794
23196
  }>, "many">>;
23197
+ definitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
23198
+ term: z.ZodString;
23199
+ definition: z.ZodString;
23200
+ pageNumber: z.ZodOptional<z.ZodNumber>;
23201
+ formNumber: z.ZodOptional<z.ZodString>;
23202
+ formTitle: z.ZodOptional<z.ZodString>;
23203
+ sectionRef: z.ZodOptional<z.ZodString>;
23204
+ originalContent: z.ZodOptional<z.ZodString>;
23205
+ }, "strip", z.ZodTypeAny, {
23206
+ definition: string;
23207
+ term: string;
23208
+ formNumber?: string | undefined;
23209
+ pageNumber?: number | undefined;
23210
+ sectionRef?: string | undefined;
23211
+ originalContent?: string | undefined;
23212
+ formTitle?: string | undefined;
23213
+ }, {
23214
+ definition: string;
23215
+ term: string;
23216
+ formNumber?: string | undefined;
23217
+ pageNumber?: number | undefined;
23218
+ sectionRef?: string | undefined;
23219
+ originalContent?: string | undefined;
23220
+ formTitle?: string | undefined;
23221
+ }>, "many">>;
23222
+ coveredReasons: z.ZodOptional<z.ZodArray<z.ZodObject<{
23223
+ coverageName: z.ZodString;
23224
+ reasonNumber: z.ZodOptional<z.ZodString>;
23225
+ title: z.ZodOptional<z.ZodString>;
23226
+ content: z.ZodString;
23227
+ conditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
23228
+ exceptions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
23229
+ appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
23230
+ pageNumber: z.ZodOptional<z.ZodNumber>;
23231
+ formNumber: z.ZodOptional<z.ZodString>;
23232
+ formTitle: z.ZodOptional<z.ZodString>;
23233
+ sectionRef: z.ZodOptional<z.ZodString>;
23234
+ originalContent: z.ZodOptional<z.ZodString>;
23235
+ }, "strip", z.ZodTypeAny, {
23236
+ content: string;
23237
+ coverageName: string;
23238
+ title?: string | undefined;
23239
+ conditions?: string[] | undefined;
23240
+ formNumber?: string | undefined;
23241
+ appliesTo?: string[] | undefined;
23242
+ pageNumber?: number | undefined;
23243
+ sectionRef?: string | undefined;
23244
+ originalContent?: string | undefined;
23245
+ exceptions?: string[] | undefined;
23246
+ formTitle?: string | undefined;
23247
+ reasonNumber?: string | undefined;
23248
+ }, {
23249
+ content: string;
23250
+ coverageName: string;
23251
+ title?: string | undefined;
23252
+ conditions?: string[] | undefined;
23253
+ formNumber?: string | undefined;
23254
+ appliesTo?: string[] | undefined;
23255
+ pageNumber?: number | undefined;
23256
+ sectionRef?: string | undefined;
23257
+ originalContent?: string | undefined;
23258
+ exceptions?: string[] | undefined;
23259
+ formTitle?: string | undefined;
23260
+ reasonNumber?: string | undefined;
23261
+ }>, "many">>;
22795
23262
  carrierLegalName: z.ZodOptional<z.ZodString>;
22796
23263
  carrierNaicNumber: z.ZodOptional<z.ZodString>;
22797
23264
  carrierAmBestRating: z.ZodOptional<z.ZodString>;
@@ -26865,6 +27332,29 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
26865
27332
  sectionNumber?: string | undefined;
26866
27333
  }[] | undefined;
26867
27334
  }[] | undefined;
27335
+ definitions?: {
27336
+ definition: string;
27337
+ term: string;
27338
+ formNumber?: string | undefined;
27339
+ pageNumber?: number | undefined;
27340
+ sectionRef?: string | undefined;
27341
+ originalContent?: string | undefined;
27342
+ formTitle?: string | undefined;
27343
+ }[] | undefined;
27344
+ coveredReasons?: {
27345
+ content: string;
27346
+ coverageName: string;
27347
+ title?: string | undefined;
27348
+ conditions?: string[] | undefined;
27349
+ formNumber?: string | undefined;
27350
+ appliesTo?: string[] | undefined;
27351
+ pageNumber?: number | undefined;
27352
+ sectionRef?: string | undefined;
27353
+ originalContent?: string | undefined;
27354
+ exceptions?: string[] | undefined;
27355
+ formTitle?: string | undefined;
27356
+ reasonNumber?: string | undefined;
27357
+ }[] | undefined;
26868
27358
  carrierLegalName?: string | undefined;
26869
27359
  carrierNaicNumber?: string | undefined;
26870
27360
  carrierAmBestRating?: string | undefined;
@@ -27825,6 +28315,29 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
27825
28315
  sectionNumber?: string | undefined;
27826
28316
  }[] | undefined;
27827
28317
  }[] | undefined;
28318
+ definitions?: {
28319
+ definition: string;
28320
+ term: string;
28321
+ formNumber?: string | undefined;
28322
+ pageNumber?: number | undefined;
28323
+ sectionRef?: string | undefined;
28324
+ originalContent?: string | undefined;
28325
+ formTitle?: string | undefined;
28326
+ }[] | undefined;
28327
+ coveredReasons?: {
28328
+ content: string;
28329
+ coverageName: string;
28330
+ title?: string | undefined;
28331
+ conditions?: string[] | undefined;
28332
+ formNumber?: string | undefined;
28333
+ appliesTo?: string[] | undefined;
28334
+ pageNumber?: number | undefined;
28335
+ sectionRef?: string | undefined;
28336
+ originalContent?: string | undefined;
28337
+ exceptions?: string[] | undefined;
28338
+ formTitle?: string | undefined;
28339
+ reasonNumber?: string | undefined;
28340
+ }[] | undefined;
27828
28341
  carrierLegalName?: string | undefined;
27829
28342
  carrierNaicNumber?: string | undefined;
27830
28343
  carrierAmBestRating?: string | undefined;
@@ -28222,7 +28735,7 @@ interface DocumentChunk {
28222
28735
  /** Source document ID */
28223
28736
  documentId: string;
28224
28737
  /** 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";
28738
+ 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
28739
  /** Human-readable text for embedding */
28227
28740
  text: string;
28228
28741
  /** Structured metadata for filtering */
@@ -28364,21 +28877,21 @@ type FormInventoryResult = z.infer<typeof FormInventorySchema>;
28364
28877
 
28365
28878
  declare const PageAssignmentSchema: z.ZodObject<{
28366
28879
  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">;
28880
+ 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
28881
  pageRole: z.ZodOptional<z.ZodEnum<["declarations_schedule", "endorsement_schedule", "policy_form", "endorsement_form", "condition_exclusion_form", "supplementary", "other"]>>;
28369
28882
  hasScheduleValues: z.ZodOptional<z.ZodBoolean>;
28370
28883
  confidence: z.ZodOptional<z.ZodNumber>;
28371
28884
  notes: z.ZodOptional<z.ZodString>;
28372
28885
  }, "strip", z.ZodTypeAny, {
28373
28886
  localPageNumber: number;
28374
- extractorNames: ("declarations" | "supplementary" | "conditions" | "named_insured" | "sections" | "endorsements" | "exclusions" | "loss_history" | "carrier_info" | "coverage_limits" | "premium_breakdown")[];
28887
+ extractorNames: ("declarations" | "supplementary" | "conditions" | "named_insured" | "sections" | "definitions" | "endorsements" | "exclusions" | "loss_history" | "carrier_info" | "coverage_limits" | "covered_reasons" | "premium_breakdown")[];
28375
28888
  confidence?: number | undefined;
28376
28889
  pageRole?: "other" | "policy_form" | "supplementary" | "declarations_schedule" | "endorsement_schedule" | "endorsement_form" | "condition_exclusion_form" | undefined;
28377
28890
  hasScheduleValues?: boolean | undefined;
28378
28891
  notes?: string | undefined;
28379
28892
  }, {
28380
28893
  localPageNumber: number;
28381
- extractorNames: ("declarations" | "supplementary" | "conditions" | "named_insured" | "sections" | "endorsements" | "exclusions" | "loss_history" | "carrier_info" | "coverage_limits" | "premium_breakdown")[];
28894
+ extractorNames: ("declarations" | "supplementary" | "conditions" | "named_insured" | "sections" | "definitions" | "endorsements" | "exclusions" | "loss_history" | "carrier_info" | "coverage_limits" | "covered_reasons" | "premium_breakdown")[];
28382
28895
  confidence?: number | undefined;
28383
28896
  pageRole?: "other" | "policy_form" | "supplementary" | "declarations_schedule" | "endorsement_schedule" | "endorsement_form" | "condition_exclusion_form" | undefined;
28384
28897
  hasScheduleValues?: boolean | undefined;
@@ -28625,10 +29138,10 @@ declare const ApplicationFieldSchema: z.ZodObject<{
28625
29138
  dependsOn: string;
28626
29139
  whenValue: string;
28627
29140
  } | undefined;
29141
+ source?: string | undefined;
28628
29142
  confidence?: "high" | "medium" | "low" | "confirmed" | undefined;
28629
29143
  columns?: string[] | undefined;
28630
29144
  requiresExplanationIfYes?: boolean | undefined;
28631
- source?: string | undefined;
28632
29145
  }, {
28633
29146
  id: string;
28634
29147
  section: string;
@@ -28641,10 +29154,10 @@ declare const ApplicationFieldSchema: z.ZodObject<{
28641
29154
  dependsOn: string;
28642
29155
  whenValue: string;
28643
29156
  } | undefined;
29157
+ source?: string | undefined;
28644
29158
  confidence?: "high" | "medium" | "low" | "confirmed" | undefined;
28645
29159
  columns?: string[] | undefined;
28646
29160
  requiresExplanationIfYes?: boolean | undefined;
28647
- source?: string | undefined;
28648
29161
  }>;
28649
29162
  type ApplicationField = z.infer<typeof ApplicationFieldSchema>;
28650
29163
  declare const ApplicationClassifyResultSchema: z.ZodObject<{
@@ -28696,10 +29209,10 @@ declare const FieldExtractionResultSchema: z.ZodObject<{
28696
29209
  dependsOn: string;
28697
29210
  whenValue: string;
28698
29211
  } | undefined;
29212
+ source?: string | undefined;
28699
29213
  confidence?: "high" | "medium" | "low" | "confirmed" | undefined;
28700
29214
  columns?: string[] | undefined;
28701
29215
  requiresExplanationIfYes?: boolean | undefined;
28702
- source?: string | undefined;
28703
29216
  }, {
28704
29217
  id: string;
28705
29218
  section: string;
@@ -28712,10 +29225,10 @@ declare const FieldExtractionResultSchema: z.ZodObject<{
28712
29225
  dependsOn: string;
28713
29226
  whenValue: string;
28714
29227
  } | undefined;
29228
+ source?: string | undefined;
28715
29229
  confidence?: "high" | "medium" | "low" | "confirmed" | undefined;
28716
29230
  columns?: string[] | undefined;
28717
29231
  requiresExplanationIfYes?: boolean | undefined;
28718
- source?: string | undefined;
28719
29232
  }>, "many">;
28720
29233
  }, "strip", z.ZodTypeAny, {
28721
29234
  fields: {
@@ -28730,10 +29243,10 @@ declare const FieldExtractionResultSchema: z.ZodObject<{
28730
29243
  dependsOn: string;
28731
29244
  whenValue: string;
28732
29245
  } | undefined;
29246
+ source?: string | undefined;
28733
29247
  confidence?: "high" | "medium" | "low" | "confirmed" | undefined;
28734
29248
  columns?: string[] | undefined;
28735
29249
  requiresExplanationIfYes?: boolean | undefined;
28736
- source?: string | undefined;
28737
29250
  }[];
28738
29251
  }, {
28739
29252
  fields: {
@@ -28748,10 +29261,10 @@ declare const FieldExtractionResultSchema: z.ZodObject<{
28748
29261
  dependsOn: string;
28749
29262
  whenValue: string;
28750
29263
  } | undefined;
29264
+ source?: string | undefined;
28751
29265
  confidence?: "high" | "medium" | "low" | "confirmed" | undefined;
28752
29266
  columns?: string[] | undefined;
28753
29267
  requiresExplanationIfYes?: boolean | undefined;
28754
- source?: string | undefined;
28755
29268
  }[];
28756
29269
  }>;
28757
29270
  type FieldExtractionResult = z.infer<typeof FieldExtractionResultSchema>;
@@ -29266,10 +29779,10 @@ declare const ApplicationStateSchema: z.ZodObject<{
29266
29779
  dependsOn: string;
29267
29780
  whenValue: string;
29268
29781
  } | undefined;
29782
+ source?: string | undefined;
29269
29783
  confidence?: "high" | "medium" | "low" | "confirmed" | undefined;
29270
29784
  columns?: string[] | undefined;
29271
29785
  requiresExplanationIfYes?: boolean | undefined;
29272
- source?: string | undefined;
29273
29786
  }, {
29274
29787
  id: string;
29275
29788
  section: string;
@@ -29282,10 +29795,10 @@ declare const ApplicationStateSchema: z.ZodObject<{
29282
29795
  dependsOn: string;
29283
29796
  whenValue: string;
29284
29797
  } | undefined;
29798
+ source?: string | undefined;
29285
29799
  confidence?: "high" | "medium" | "low" | "confirmed" | undefined;
29286
29800
  columns?: string[] | undefined;
29287
29801
  requiresExplanationIfYes?: boolean | undefined;
29288
- source?: string | undefined;
29289
29802
  }>, "many">;
29290
29803
  batches: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
29291
29804
  currentBatchIndex: z.ZodDefault<z.ZodNumber>;
@@ -29446,10 +29959,10 @@ declare const ApplicationStateSchema: z.ZodObject<{
29446
29959
  dependsOn: string;
29447
29960
  whenValue: string;
29448
29961
  } | undefined;
29962
+ source?: string | undefined;
29449
29963
  confidence?: "high" | "medium" | "low" | "confirmed" | undefined;
29450
29964
  columns?: string[] | undefined;
29451
29965
  requiresExplanationIfYes?: boolean | undefined;
29452
- source?: string | undefined;
29453
29966
  }[];
29454
29967
  currentBatchIndex: number;
29455
29968
  createdAt: number;
@@ -29502,10 +30015,10 @@ declare const ApplicationStateSchema: z.ZodObject<{
29502
30015
  dependsOn: string;
29503
30016
  whenValue: string;
29504
30017
  } | undefined;
30018
+ source?: string | undefined;
29505
30019
  confidence?: "high" | "medium" | "low" | "confirmed" | undefined;
29506
30020
  columns?: string[] | undefined;
29507
30021
  requiresExplanationIfYes?: boolean | undefined;
29508
- source?: string | undefined;
29509
30022
  }[];
29510
30023
  createdAt: number;
29511
30024
  updatedAt: number;
@@ -30349,6 +30862,12 @@ interface ExtractorDef {
30349
30862
  buildPrompt: () => string;
30350
30863
  schema: ZodSchema;
30351
30864
  maxTokens?: number;
30865
+ fallback?: FocusedExtractorFallback;
30866
+ }
30867
+ interface FocusedExtractorFallback {
30868
+ extractorName: string;
30869
+ isEmpty: (data: unknown) => boolean;
30870
+ deriveFocusedResult: (fallbackData: unknown) => unknown | undefined;
30352
30871
  }
30353
30872
  declare function getExtractor(name: string): ExtractorDef | undefined;
30354
30873
 
@@ -30361,4 +30880,4 @@ interface DocumentTemplate {
30361
30880
  }
30362
30881
  declare function getTemplate(policyType: string): DocumentTemplate;
30363
30882
 
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 };
30883
+ 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 };