@claritylabs/cl-sdk 3.1.3 → 3.1.5

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.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { L as LogFn, M as ModelTaskKind, a as ModelBudgetResolution, G as GenerateObject, T as TokenUsage, S as SourceSpanLocation, b as SourceSpan, D as DocumentSourceNode, c as SourceKind, d as SourceSpanUnit, e as SourceSpanTableLocation, f as SourceChunk, P as PolicyOperationalProfile, g as SourceSpanBBox, U as UnifiedQualityReport, B as BaseQualityIssue, Q as QualityGateStatus, I as InsuranceDocument, h as PdfInput, i as DocumentChunk, j as PerformanceReport, k as GenerateText, C as ConvertPdfToImagesFn, l as QualityGateMode, m as ModelCapabilities, n as ModelBudgetConstraint, A as AgentContext, o as DocumentStore, p as MemoryStore, q as Platform } from './index-D23NUbxr.js';
2
- export { r as AcroFormMapping, s as AcroFormMappingSchema, t as AnswerParsingResult, u as AnswerParsingResultSchema, v as ApplicationClassifyResult, w as ApplicationClassifyResultSchema, x as ApplicationContextProposal, y as ApplicationContextProposalSchema, z as ApplicationEmailReviewSchema, E as ApplicationField, F as ApplicationFieldSchema, H as ApplicationListFilters, J as ApplicationNextQuestions, K as ApplicationPacket, N as ApplicationPacketAnswer, O as ApplicationPacketAnswerSchema, R as ApplicationPacketSchema, V as ApplicationPipelineConfig, W as ApplicationQualityArtifactSchema, X as ApplicationQualityIssueSchema, Y as ApplicationQualityReportSchema, Z as ApplicationQualityRoundSchema, _ as ApplicationQuestionCondition, $ as ApplicationQuestionConditionSchema, a0 as ApplicationQuestionGraph, a1 as ApplicationQuestionGraphSchema, a2 as ApplicationQuestionNode, a3 as ApplicationQuestionNodeSchema, a4 as ApplicationRepeat, a5 as ApplicationRepeatSchema, a6 as ApplicationState, a7 as ApplicationStateSchema, a8 as ApplicationStore, a9 as ApplicationTemplate, aa as ApplicationTemplateListFilters, ab as ApplicationTemplateSchema, ac as ApplicationTemplateStore, ad as AutoFillMatch, ae as AutoFillMatchSchema, af as AutoFillResult, ag as AutoFillResultSchema, ah as AuxiliaryFact, ai as AuxiliaryFactSchema, aj as BackfillProvider, ak as BuildApplicationPacketInput, al as BuildApplicationPacketResult, am as ChunkFilter, an as CommunicationIntent, ao as CommunicationIntentSchema, ap as ContextProposalResult, aq as ConversationTurn, ar as CoveredReason, as as CoveredReasonSchema, at as CreateApplicationRunInput, au as Definition, av as DefinitionSchema, aw as DocumentAgentGuidance, ax as DocumentAgentGuidanceSchema, ay as DocumentFilters, az as DocumentMetadata, aA as DocumentMetadataSchema, aB as DocumentNode, aC as DocumentNodeSchema, aD as DocumentPageMapEntry, aE as DocumentPageMapEntrySchema, aF as DocumentSourceNodeKind, aG as DocumentSourceNodeKindSchema, aH as DocumentSourceNodeSchema, aI as DocumentTableOfContentsEntry, aJ as DocumentTableOfContentsEntrySchema, aK as EmbedText, aL as FieldExtractionResult, aM as FieldExtractionResultSchema, aN as FieldType, aO as FieldTypeSchema, aP as FlatPdfPlacement, aQ as FlatPdfPlacementSchema, aR as InsuranceDocumentSchema, aS as LookupFill, aT as LookupFillResult, aU as LookupFillResultSchema, aV as LookupFillSchema, aW as LookupRequest, aX as LookupRequestSchema, aY as ModelCallReport, aZ as OperationalCoverageLine, a_ as OperationalCoverageLineSchema, a$ as OperationalCoverageTerm, b0 as OperationalCoverageTermSchema, b1 as OperationalEndorsementSupport, b2 as OperationalEndorsementSupportSchema, b3 as OperationalParty, b4 as OperationalPartySchema, b5 as PLATFORM_CONFIGS, b6 as ParsedAnswer, b7 as ParsedAnswerSchema, b8 as PlatformConfig, b9 as PlatformSchema, ba as PolicyDocument, bb as PolicyDocumentSchema, bc as PolicyOperationalProfileSchema, bd as PremiumLine, be as PremiumLineSchema, bf as PriorAnswer, bg as ProcessApplicationInput, bh as ProcessApplicationResult, bi as ProcessReplyInput, bj as ProcessReplyResult, bk as QuestionBatchResult, bl as QuestionBatchResultSchema, bm as QuoteDocument, bn as QuoteDocumentSchema, bo as ReplyIntent, bp as ReplyIntentSchema, bq as ResolveModelBudgetParams, br as Section, bs as SectionSchema, bt as SourceBackedValue, bu as SourceBackedValueSchema, bv as SourceChunkSchema, bw as SourceKindSchema, bx as SourceSpanBBoxSchema, by as SourceSpanKind, bz as SourceSpanKindSchema, bA as SourceSpanLocationSchema, bB as SourceSpanRef, bC as SourceSpanRefSchema, bD as SourceSpanSchema, bE as SourceSpanTableLocationSchema, bF as SourceSpanUnitSchema, bG as Subjectivity, bH as SubjectivitySchema, bI as Subsection, bJ as SubsectionSchema, bK as UnderwritingCondition, bL as UnderwritingConditionSchema, bM as applyApplicationAnswers, bN as buildApplicationPacket, bO as buildQuestionGraphFromFields, bP as createApplicationPipeline, bQ as createApplicationRun, bR as extractQuestionGraphFromFields, bS as flattenQuestionGraph, bT as getActiveApplicationFields, bU as getNextApplicationQuestions, bV as normalizeApplicationQuestionGraph, bW as planNextApplicationQuestions, bX as proposeContextWrites, bY as resolveModelBudget, bZ as validateApplicationPacket } from './index-D23NUbxr.js';
1
+ import { L as LogFn, M as ModelTaskKind, a as ModelBudgetResolution, G as GenerateObject, T as TokenUsage, S as SourceSpanLocation, b as SourceSpan, D as DocumentSourceNode, c as SourceKind, d as SourceSpanUnit, e as SourceSpanTableLocation, f as SourceChunk, P as PolicyOperationalProfile, g as SourceSpanBBox, U as UnifiedQualityReport, B as BaseQualityIssue, Q as QualityGateStatus, I as InsuranceDocument, h as PdfInput, i as DocumentChunk, j as PerformanceReport, k as GenerateText, C as ConvertPdfToImagesFn, l as QualityGateMode, m as ModelCapabilities, n as ModelBudgetConstraint, A as AgentContext, o as DocumentStore, p as MemoryStore, q as Platform } from './index-2WYX6Agm.js';
2
+ export { r as AcroFormMapping, s as AcroFormMappingSchema, t as AnswerParsingResult, u as AnswerParsingResultSchema, v as ApplicationClassifyResult, w as ApplicationClassifyResultSchema, x as ApplicationContextProposal, y as ApplicationContextProposalSchema, z as ApplicationEmailReviewSchema, E as ApplicationField, F as ApplicationFieldSchema, H as ApplicationListFilters, J as ApplicationNextQuestions, K as ApplicationPacket, N as ApplicationPacketAnswer, O as ApplicationPacketAnswerSchema, R as ApplicationPacketSchema, V as ApplicationPipelineConfig, W as ApplicationQualityArtifactSchema, X as ApplicationQualityIssueSchema, Y as ApplicationQualityReportSchema, Z as ApplicationQualityRoundSchema, _ as ApplicationQuestionCondition, $ as ApplicationQuestionConditionSchema, a0 as ApplicationQuestionGraph, a1 as ApplicationQuestionGraphSchema, a2 as ApplicationQuestionNode, a3 as ApplicationQuestionNodeSchema, a4 as ApplicationRepeat, a5 as ApplicationRepeatSchema, a6 as ApplicationState, a7 as ApplicationStateSchema, a8 as ApplicationStore, a9 as ApplicationTemplate, aa as ApplicationTemplateListFilters, ab as ApplicationTemplateSchema, ac as ApplicationTemplateStore, ad as AutoFillMatch, ae as AutoFillMatchSchema, af as AutoFillResult, ag as AutoFillResultSchema, ah as AuxiliaryFact, ai as AuxiliaryFactSchema, aj as BackfillProvider, ak as BuildApplicationPacketInput, al as BuildApplicationPacketResult, am as ChunkFilter, an as CommunicationIntent, ao as CommunicationIntentSchema, ap as ContextProposalResult, aq as ConversationTurn, ar as CoveredReason, as as CoveredReasonSchema, at as CreateApplicationRunInput, au as Definition, av as DefinitionSchema, aw as DocumentAgentGuidance, ax as DocumentAgentGuidanceSchema, ay as DocumentFilters, az as DocumentMetadata, aA as DocumentMetadataSchema, aB as DocumentNode, aC as DocumentNodeSchema, aD as DocumentPageMapEntry, aE as DocumentPageMapEntrySchema, aF as DocumentSourceNodeKind, aG as DocumentSourceNodeKindSchema, aH as DocumentSourceNodeSchema, aI as DocumentTableOfContentsEntry, aJ as DocumentTableOfContentsEntrySchema, aK as EmbedText, aL as FieldExtractionResult, aM as FieldExtractionResultSchema, aN as FieldType, aO as FieldTypeSchema, aP as FlatPdfPlacement, aQ as FlatPdfPlacementSchema, aR as InsuranceDocumentSchema, aS as LookupFill, aT as LookupFillResult, aU as LookupFillResultSchema, aV as LookupFillSchema, aW as LookupRequest, aX as LookupRequestSchema, aY as ModelCallReport, aZ as OperationalCoverageLine, a_ as OperationalCoverageLineSchema, a$ as OperationalCoverageTerm, b0 as OperationalCoverageTermSchema, b1 as OperationalEndorsementSupport, b2 as OperationalEndorsementSupportSchema, b3 as OperationalParty, b4 as OperationalPartySchema, b5 as PLATFORM_CONFIGS, b6 as ParsedAnswer, b7 as ParsedAnswerSchema, b8 as PlatformConfig, b9 as PlatformSchema, ba as PolicyDocument, bb as PolicyDocumentSchema, bc as PolicyOperationalProfileSchema, bd as PremiumLine, be as PremiumLineSchema, bf as PriorAnswer, bg as ProcessApplicationInput, bh as ProcessApplicationResult, bi as ProcessReplyInput, bj as ProcessReplyResult, bk as QuestionBatchResult, bl as QuestionBatchResultSchema, bm as QuoteDocument, bn as QuoteDocumentSchema, bo as ReplyIntent, bp as ReplyIntentSchema, bq as ResolveModelBudgetParams, br as Section, bs as SectionSchema, bt as SourceBackedValue, bu as SourceBackedValueSchema, bv as SourceChunkSchema, bw as SourceKindSchema, bx as SourceSpanBBoxSchema, by as SourceSpanKind, bz as SourceSpanKindSchema, bA as SourceSpanLocationSchema, bB as SourceSpanRef, bC as SourceSpanRefSchema, bD as SourceSpanSchema, bE as SourceSpanTableLocationSchema, bF as SourceSpanUnitSchema, bG as Subjectivity, bH as SubjectivitySchema, bI as Subsection, bJ as SubsectionSchema, bK as UnderwritingCondition, bL as UnderwritingConditionSchema, bM as applyApplicationAnswers, bN as buildApplicationPacket, bO as buildQuestionGraphFromFields, bP as createApplicationPipeline, bQ as createApplicationRun, bR as extractQuestionGraphFromFields, bS as flattenQuestionGraph, bT as getActiveApplicationFields, bU as getNextApplicationQuestions, bV as normalizeApplicationQuestionGraph, bW as planNextApplicationQuestions, bX as proposeContextWrites, bY as resolveModelBudget, bZ as validateApplicationPacket } from './index-2WYX6Agm.js';
3
3
  import * as zod from 'zod';
4
4
  import { ZodTypeAny, z, ZodSchema } from 'zod';
5
5
  import { PDFDocument } from 'pdf-lib';
@@ -218,6 +218,26 @@ declare const PetSpeciesSchema: z.ZodEnum<["dog", "cat", "other"]>;
218
218
  type PetSpecies = z.infer<typeof PetSpeciesSchema>;
219
219
  declare const PET_SPECIES: ["dog", "cat", "other"];
220
220
 
221
+ declare const SourceProvenanceSchema: z.ZodObject<{
222
+ sourceSpanIds: z.ZodArray<z.ZodString, "many">;
223
+ documentNodeId: z.ZodOptional<z.ZodString>;
224
+ sourceTextHash: z.ZodOptional<z.ZodString>;
225
+ pageStart: z.ZodOptional<z.ZodNumber>;
226
+ pageEnd: z.ZodOptional<z.ZodNumber>;
227
+ }, "strip", z.ZodTypeAny, {
228
+ sourceSpanIds: string[];
229
+ documentNodeId?: string | undefined;
230
+ sourceTextHash?: string | undefined;
231
+ pageStart?: number | undefined;
232
+ pageEnd?: number | undefined;
233
+ }, {
234
+ sourceSpanIds: string[];
235
+ documentNodeId?: string | undefined;
236
+ sourceTextHash?: string | undefined;
237
+ pageStart?: number | undefined;
238
+ pageEnd?: number | undefined;
239
+ }>;
240
+ type SourceProvenance = z.infer<typeof SourceProvenanceSchema>;
221
241
  declare const AddressSchema: z.ZodObject<{
222
242
  street1: z.ZodString;
223
243
  street2: z.ZodOptional<z.ZodString>;
@@ -241,6 +261,45 @@ declare const AddressSchema: z.ZodObject<{
241
261
  country?: string | undefined;
242
262
  }>;
243
263
  type Address = z.infer<typeof AddressSchema>;
264
+ declare const SourceBackedAddressSchema: z.ZodObject<{
265
+ street1: z.ZodString;
266
+ street2: z.ZodOptional<z.ZodString>;
267
+ city: z.ZodString;
268
+ state: z.ZodString;
269
+ zip: z.ZodString;
270
+ country: z.ZodOptional<z.ZodString>;
271
+ } & {
272
+ sourceSpanIds: z.ZodArray<z.ZodString, "many">;
273
+ documentNodeId: z.ZodOptional<z.ZodString>;
274
+ sourceTextHash: z.ZodOptional<z.ZodString>;
275
+ pageStart: z.ZodOptional<z.ZodNumber>;
276
+ pageEnd: z.ZodOptional<z.ZodNumber>;
277
+ }, "strip", z.ZodTypeAny, {
278
+ sourceSpanIds: string[];
279
+ street1: string;
280
+ city: string;
281
+ state: string;
282
+ zip: string;
283
+ documentNodeId?: string | undefined;
284
+ sourceTextHash?: string | undefined;
285
+ pageStart?: number | undefined;
286
+ pageEnd?: number | undefined;
287
+ street2?: string | undefined;
288
+ country?: string | undefined;
289
+ }, {
290
+ sourceSpanIds: string[];
291
+ street1: string;
292
+ city: string;
293
+ state: string;
294
+ zip: string;
295
+ documentNodeId?: string | undefined;
296
+ sourceTextHash?: string | undefined;
297
+ pageStart?: number | undefined;
298
+ pageEnd?: number | undefined;
299
+ street2?: string | undefined;
300
+ country?: string | undefined;
301
+ }>;
302
+ type SourceBackedAddress = z.infer<typeof SourceBackedAddressSchema>;
244
303
  declare const ContactSchema: z.ZodObject<{
245
304
  name: z.ZodOptional<z.ZodString>;
246
305
  title: z.ZodOptional<z.ZodString>;
@@ -271,9 +330,20 @@ declare const ContactSchema: z.ZodObject<{
271
330
  country?: string | undefined;
272
331
  }>>;
273
332
  hours: z.ZodOptional<z.ZodString>;
333
+ } & {
334
+ sourceSpanIds: z.ZodArray<z.ZodString, "many">;
335
+ documentNodeId: z.ZodOptional<z.ZodString>;
336
+ sourceTextHash: z.ZodOptional<z.ZodString>;
337
+ pageStart: z.ZodOptional<z.ZodNumber>;
338
+ pageEnd: z.ZodOptional<z.ZodNumber>;
274
339
  }, "strip", z.ZodTypeAny, {
340
+ sourceSpanIds: string[];
275
341
  type?: string | undefined;
276
342
  title?: string | undefined;
343
+ documentNodeId?: string | undefined;
344
+ sourceTextHash?: string | undefined;
345
+ pageStart?: number | undefined;
346
+ pageEnd?: number | undefined;
277
347
  name?: string | undefined;
278
348
  phone?: string | undefined;
279
349
  fax?: string | undefined;
@@ -288,8 +358,13 @@ declare const ContactSchema: z.ZodObject<{
288
358
  } | undefined;
289
359
  hours?: string | undefined;
290
360
  }, {
361
+ sourceSpanIds: string[];
291
362
  type?: string | undefined;
292
363
  title?: string | undefined;
364
+ documentNodeId?: string | undefined;
365
+ sourceTextHash?: string | undefined;
366
+ pageStart?: number | undefined;
367
+ pageEnd?: number | undefined;
293
368
  name?: string | undefined;
294
369
  phone?: string | undefined;
295
370
  fax?: string | undefined;
@@ -319,22 +394,22 @@ declare const FormReferenceSchema: z.ZodObject<{
319
394
  formNumber: string;
320
395
  formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
321
396
  title?: string | undefined;
322
- editionDate?: string | undefined;
323
- pageStart?: number | undefined;
324
- pageEnd?: number | undefined;
325
- documentNodeId?: string | undefined;
326
397
  sourceSpanIds?: string[] | undefined;
398
+ documentNodeId?: string | undefined;
327
399
  sourceTextHash?: string | undefined;
400
+ pageStart?: number | undefined;
401
+ pageEnd?: number | undefined;
402
+ editionDate?: string | undefined;
328
403
  }, {
329
404
  formNumber: string;
330
405
  formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
331
406
  title?: string | undefined;
332
- editionDate?: string | undefined;
333
- pageStart?: number | undefined;
334
- pageEnd?: number | undefined;
335
- documentNodeId?: string | undefined;
336
407
  sourceSpanIds?: string[] | undefined;
408
+ documentNodeId?: string | undefined;
337
409
  sourceTextHash?: string | undefined;
410
+ pageStart?: number | undefined;
411
+ pageEnd?: number | undefined;
412
+ editionDate?: string | undefined;
338
413
  }>;
339
414
  type FormReference = z.infer<typeof FormReferenceSchema>;
340
415
  declare const TaxFeeItemSchema: z.ZodObject<{
@@ -350,20 +425,20 @@ declare const TaxFeeItemSchema: z.ZodObject<{
350
425
  name: string;
351
426
  amount: string;
352
427
  type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
353
- documentNodeId?: string | undefined;
428
+ description?: string | undefined;
354
429
  sourceSpanIds?: string[] | undefined;
430
+ documentNodeId?: string | undefined;
355
431
  sourceTextHash?: string | undefined;
356
432
  amountValue?: number | undefined;
357
- description?: string | undefined;
358
433
  }, {
359
434
  name: string;
360
435
  amount: string;
361
436
  type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
362
- documentNodeId?: string | undefined;
437
+ description?: string | undefined;
363
438
  sourceSpanIds?: string[] | undefined;
439
+ documentNodeId?: string | undefined;
364
440
  sourceTextHash?: string | undefined;
365
441
  amountValue?: number | undefined;
366
- description?: string | undefined;
367
442
  }>;
368
443
  type TaxFeeItem = z.infer<typeof TaxFeeItemSchema>;
369
444
  declare const RatingBasisSchema: z.ZodObject<{
@@ -372,12 +447,12 @@ declare const RatingBasisSchema: z.ZodObject<{
372
447
  description: z.ZodOptional<z.ZodString>;
373
448
  }, "strip", z.ZodTypeAny, {
374
449
  type: "other" | "payroll" | "revenue" | "area" | "units" | "vehicle_count" | "employee_count" | "per_capita" | "dwelling_value" | "vehicle_value" | "contents_value";
375
- amount?: string | undefined;
376
450
  description?: string | undefined;
451
+ amount?: string | undefined;
377
452
  }, {
378
453
  type: "other" | "payroll" | "revenue" | "area" | "units" | "vehicle_count" | "employee_count" | "per_capita" | "dwelling_value" | "vehicle_value" | "contents_value";
379
- amount?: string | undefined;
380
454
  description?: string | undefined;
455
+ amount?: string | undefined;
381
456
  }>;
382
457
  type RatingBasis = z.infer<typeof RatingBasisSchema>;
383
458
  declare const SublimitSchema: z.ZodObject<{
@@ -450,8 +525,19 @@ declare const NamedInsuredSchema: z.ZodObject<{
450
525
  street2?: string | undefined;
451
526
  country?: string | undefined;
452
527
  }>>;
528
+ } & {
529
+ sourceSpanIds: z.ZodArray<z.ZodString, "many">;
530
+ documentNodeId: z.ZodOptional<z.ZodString>;
531
+ sourceTextHash: z.ZodOptional<z.ZodString>;
532
+ pageStart: z.ZodOptional<z.ZodNumber>;
533
+ pageEnd: z.ZodOptional<z.ZodNumber>;
453
534
  }, "strip", z.ZodTypeAny, {
535
+ sourceSpanIds: string[];
454
536
  name: string;
537
+ documentNodeId?: string | undefined;
538
+ sourceTextHash?: string | undefined;
539
+ pageStart?: number | undefined;
540
+ pageEnd?: number | undefined;
455
541
  address?: {
456
542
  street1: string;
457
543
  city: string;
@@ -462,7 +548,12 @@ declare const NamedInsuredSchema: z.ZodObject<{
462
548
  } | undefined;
463
549
  relationship?: string | undefined;
464
550
  }, {
551
+ sourceSpanIds: string[];
465
552
  name: string;
553
+ documentNodeId?: string | undefined;
554
+ sourceTextHash?: string | undefined;
555
+ pageStart?: number | undefined;
556
+ pageEnd?: number | undefined;
466
557
  address?: {
467
558
  street1: string;
468
559
  city: string;
@@ -499,10 +590,10 @@ declare const CoverageSchema: z.ZodObject<{
499
590
  }, "strip", z.ZodTypeAny, {
500
591
  name: string;
501
592
  limit: string;
502
- formNumber?: string | undefined;
503
- documentNodeId?: string | undefined;
504
593
  sourceSpanIds?: string[] | undefined;
594
+ documentNodeId?: string | undefined;
505
595
  sourceTextHash?: string | undefined;
596
+ formNumber?: string | undefined;
506
597
  deductible?: string | undefined;
507
598
  limitAmount?: number | undefined;
508
599
  limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
@@ -518,10 +609,10 @@ declare const CoverageSchema: z.ZodObject<{
518
609
  }, {
519
610
  name: string;
520
611
  limit: string;
521
- formNumber?: string | undefined;
522
- documentNodeId?: string | undefined;
523
612
  sourceSpanIds?: string[] | undefined;
613
+ documentNodeId?: string | undefined;
524
614
  sourceTextHash?: string | undefined;
615
+ formNumber?: string | undefined;
525
616
  deductible?: string | undefined;
526
617
  limitAmount?: number | undefined;
527
618
  limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
@@ -569,10 +660,10 @@ declare const EnrichedCoverageSchema: z.ZodObject<{
569
660
  name: string;
570
661
  limit: string;
571
662
  included: boolean;
572
- formNumber?: string | undefined;
573
- documentNodeId?: string | undefined;
574
663
  sourceSpanIds?: string[] | undefined;
664
+ documentNodeId?: string | undefined;
575
665
  sourceTextHash?: string | undefined;
666
+ formNumber?: string | undefined;
576
667
  deductible?: string | undefined;
577
668
  limitAmount?: number | undefined;
578
669
  limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
@@ -598,10 +689,10 @@ declare const EnrichedCoverageSchema: z.ZodObject<{
598
689
  name: string;
599
690
  limit: string;
600
691
  included: boolean;
601
- formNumber?: string | undefined;
602
- documentNodeId?: string | undefined;
603
692
  sourceSpanIds?: string[] | undefined;
693
+ documentNodeId?: string | undefined;
604
694
  sourceTextHash?: string | undefined;
695
+ formNumber?: string | undefined;
605
696
  deductible?: string | undefined;
606
697
  limitAmount?: number | undefined;
607
698
  limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
@@ -653,9 +744,20 @@ declare const EndorsementPartySchema: z.ZodObject<{
653
744
  }>>;
654
745
  relationship: z.ZodOptional<z.ZodString>;
655
746
  scope: z.ZodOptional<z.ZodString>;
747
+ } & {
748
+ sourceSpanIds: z.ZodArray<z.ZodString, "many">;
749
+ documentNodeId: z.ZodOptional<z.ZodString>;
750
+ sourceTextHash: z.ZodOptional<z.ZodString>;
751
+ pageStart: z.ZodOptional<z.ZodNumber>;
752
+ pageEnd: z.ZodOptional<z.ZodNumber>;
656
753
  }, "strip", z.ZodTypeAny, {
754
+ sourceSpanIds: string[];
657
755
  name: string;
658
756
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
757
+ documentNodeId?: string | undefined;
758
+ sourceTextHash?: string | undefined;
759
+ pageStart?: number | undefined;
760
+ pageEnd?: number | undefined;
659
761
  address?: {
660
762
  street1: string;
661
763
  city: string;
@@ -667,8 +769,13 @@ declare const EndorsementPartySchema: z.ZodObject<{
667
769
  relationship?: string | undefined;
668
770
  scope?: string | undefined;
669
771
  }, {
772
+ sourceSpanIds: string[];
670
773
  name: string;
671
774
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
775
+ documentNodeId?: string | undefined;
776
+ sourceTextHash?: string | undefined;
777
+ pageStart?: number | undefined;
778
+ pageEnd?: number | undefined;
672
779
  address?: {
673
780
  street1: string;
674
781
  city: string;
@@ -715,9 +822,20 @@ declare const EndorsementSchema: z.ZodObject<{
715
822
  }>>;
716
823
  relationship: z.ZodOptional<z.ZodString>;
717
824
  scope: z.ZodOptional<z.ZodString>;
825
+ } & {
826
+ sourceSpanIds: z.ZodArray<z.ZodString, "many">;
827
+ documentNodeId: z.ZodOptional<z.ZodString>;
828
+ sourceTextHash: z.ZodOptional<z.ZodString>;
829
+ pageStart: z.ZodOptional<z.ZodNumber>;
830
+ pageEnd: z.ZodOptional<z.ZodNumber>;
718
831
  }, "strip", z.ZodTypeAny, {
832
+ sourceSpanIds: string[];
719
833
  name: string;
720
834
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
835
+ documentNodeId?: string | undefined;
836
+ sourceTextHash?: string | undefined;
837
+ pageStart?: number | undefined;
838
+ pageEnd?: number | undefined;
721
839
  address?: {
722
840
  street1: string;
723
841
  city: string;
@@ -729,8 +847,13 @@ declare const EndorsementSchema: z.ZodObject<{
729
847
  relationship?: string | undefined;
730
848
  scope?: string | undefined;
731
849
  }, {
850
+ sourceSpanIds: string[];
732
851
  name: string;
733
852
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
853
+ documentNodeId?: string | undefined;
854
+ sourceTextHash?: string | undefined;
855
+ pageStart?: number | undefined;
856
+ pageEnd?: number | undefined;
734
857
  address?: {
735
858
  street1: string;
736
859
  city: string;
@@ -754,20 +877,25 @@ declare const EndorsementSchema: z.ZodObject<{
754
877
  sourceTextHash: z.ZodOptional<z.ZodString>;
755
878
  }, "strip", z.ZodTypeAny, {
756
879
  title: string;
757
- formNumber: string;
758
880
  pageStart: number;
881
+ formNumber: string;
759
882
  endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
760
- editionDate?: string | undefined;
761
- pageEnd?: number | undefined;
762
- documentNodeId?: string | undefined;
763
883
  sourceSpanIds?: string[] | undefined;
884
+ documentNodeId?: string | undefined;
764
885
  sourceTextHash?: string | undefined;
886
+ pageEnd?: number | undefined;
887
+ editionDate?: string | undefined;
765
888
  recordId?: string | undefined;
766
889
  effectiveDate?: string | undefined;
767
890
  affectedCoverageParts?: string[] | undefined;
768
891
  namedParties?: {
892
+ sourceSpanIds: string[];
769
893
  name: string;
770
894
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
895
+ documentNodeId?: string | undefined;
896
+ sourceTextHash?: string | undefined;
897
+ pageStart?: number | undefined;
898
+ pageEnd?: number | undefined;
771
899
  address?: {
772
900
  street1: string;
773
901
  city: string;
@@ -785,20 +913,25 @@ declare const EndorsementSchema: z.ZodObject<{
785
913
  content?: string | undefined;
786
914
  }, {
787
915
  title: string;
788
- formNumber: string;
789
916
  pageStart: number;
917
+ formNumber: string;
790
918
  endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
791
- editionDate?: string | undefined;
792
- pageEnd?: number | undefined;
793
- documentNodeId?: string | undefined;
794
919
  sourceSpanIds?: string[] | undefined;
920
+ documentNodeId?: string | undefined;
795
921
  sourceTextHash?: string | undefined;
922
+ pageEnd?: number | undefined;
923
+ editionDate?: string | undefined;
796
924
  recordId?: string | undefined;
797
925
  effectiveDate?: string | undefined;
798
926
  affectedCoverageParts?: string[] | undefined;
799
927
  namedParties?: {
928
+ sourceSpanIds: string[];
800
929
  name: string;
801
930
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
931
+ documentNodeId?: string | undefined;
932
+ sourceTextHash?: string | undefined;
933
+ pageStart?: number | undefined;
934
+ pageEnd?: number | undefined;
802
935
  address?: {
803
936
  street1: string;
804
937
  city: string;
@@ -835,10 +968,10 @@ declare const ExclusionSchema: z.ZodObject<{
835
968
  }, "strip", z.ZodTypeAny, {
836
969
  name: string;
837
970
  content: string;
838
- formNumber?: string | undefined;
839
- documentNodeId?: string | undefined;
840
971
  sourceSpanIds?: string[] | undefined;
972
+ documentNodeId?: string | undefined;
841
973
  sourceTextHash?: string | undefined;
974
+ formNumber?: string | undefined;
842
975
  appliesTo?: string[] | undefined;
843
976
  pageNumber?: number | undefined;
844
977
  recordId?: string | undefined;
@@ -850,10 +983,10 @@ declare const ExclusionSchema: z.ZodObject<{
850
983
  }, {
851
984
  name: string;
852
985
  content: string;
853
- formNumber?: string | undefined;
854
- documentNodeId?: string | undefined;
855
986
  sourceSpanIds?: string[] | undefined;
987
+ documentNodeId?: string | undefined;
856
988
  sourceTextHash?: string | undefined;
989
+ formNumber?: string | undefined;
857
990
  appliesTo?: string[] | undefined;
858
991
  pageNumber?: number | undefined;
859
992
  recordId?: string | undefined;
@@ -898,8 +1031,8 @@ declare const PolicyConditionSchema: z.ZodObject<{
898
1031
  name: string;
899
1032
  content: string;
900
1033
  conditionType: "other" | "duties_after_loss" | "notice_requirements" | "other_insurance" | "cancellation" | "nonrenewal" | "transfer_of_rights" | "liberalization" | "arbitration" | "concealment_fraud" | "examination_under_oath" | "legal_action" | "loss_payment" | "appraisal" | "mortgage_holders" | "policy_territory" | "separation_of_insureds";
901
- documentNodeId?: string | undefined;
902
1034
  sourceSpanIds?: string[] | undefined;
1035
+ documentNodeId?: string | undefined;
903
1036
  sourceTextHash?: string | undefined;
904
1037
  pageNumber?: number | undefined;
905
1038
  recordId?: string | undefined;
@@ -911,8 +1044,8 @@ declare const PolicyConditionSchema: z.ZodObject<{
911
1044
  name: string;
912
1045
  content: string;
913
1046
  conditionType: "other" | "duties_after_loss" | "notice_requirements" | "other_insurance" | "cancellation" | "nonrenewal" | "transfer_of_rights" | "liberalization" | "arbitration" | "concealment_fraud" | "examination_under_oath" | "legal_action" | "loss_payment" | "appraisal" | "mortgage_holders" | "policy_territory" | "separation_of_insureds";
914
- documentNodeId?: string | undefined;
915
1047
  sourceSpanIds?: string[] | undefined;
1048
+ documentNodeId?: string | undefined;
916
1049
  sourceTextHash?: string | undefined;
917
1050
  pageNumber?: number | undefined;
918
1051
  recordId?: string | undefined;
@@ -930,15 +1063,31 @@ declare const InsurerInfoSchema: z.ZodObject<{
930
1063
  amBestNumber: z.ZodOptional<z.ZodString>;
931
1064
  admittedStatus: z.ZodOptional<z.ZodEnum<["admitted", "non_admitted", "surplus_lines"]>>;
932
1065
  stateOfDomicile: z.ZodOptional<z.ZodString>;
1066
+ } & {
1067
+ sourceSpanIds: z.ZodArray<z.ZodString, "many">;
1068
+ documentNodeId: z.ZodOptional<z.ZodString>;
1069
+ sourceTextHash: z.ZodOptional<z.ZodString>;
1070
+ pageStart: z.ZodOptional<z.ZodNumber>;
1071
+ pageEnd: z.ZodOptional<z.ZodNumber>;
933
1072
  }, "strip", z.ZodTypeAny, {
1073
+ sourceSpanIds: string[];
934
1074
  legalName: string;
1075
+ documentNodeId?: string | undefined;
1076
+ sourceTextHash?: string | undefined;
1077
+ pageStart?: number | undefined;
1078
+ pageEnd?: number | undefined;
935
1079
  naicNumber?: string | undefined;
936
1080
  amBestRating?: string | undefined;
937
1081
  amBestNumber?: string | undefined;
938
1082
  admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
939
1083
  stateOfDomicile?: string | undefined;
940
1084
  }, {
1085
+ sourceSpanIds: string[];
941
1086
  legalName: string;
1087
+ documentNodeId?: string | undefined;
1088
+ sourceTextHash?: string | undefined;
1089
+ pageStart?: number | undefined;
1090
+ pageEnd?: number | undefined;
942
1091
  naicNumber?: string | undefined;
943
1092
  amBestRating?: string | undefined;
944
1093
  amBestNumber?: string | undefined;
@@ -974,8 +1123,19 @@ declare const ProducerInfoSchema: z.ZodObject<{
974
1123
  street2?: string | undefined;
975
1124
  country?: string | undefined;
976
1125
  }>>;
1126
+ } & {
1127
+ sourceSpanIds: z.ZodArray<z.ZodString, "many">;
1128
+ documentNodeId: z.ZodOptional<z.ZodString>;
1129
+ sourceTextHash: z.ZodOptional<z.ZodString>;
1130
+ pageStart: z.ZodOptional<z.ZodNumber>;
1131
+ pageEnd: z.ZodOptional<z.ZodNumber>;
977
1132
  }, "strip", z.ZodTypeAny, {
1133
+ sourceSpanIds: string[];
978
1134
  agencyName: string;
1135
+ documentNodeId?: string | undefined;
1136
+ sourceTextHash?: string | undefined;
1137
+ pageStart?: number | undefined;
1138
+ pageEnd?: number | undefined;
979
1139
  phone?: string | undefined;
980
1140
  email?: string | undefined;
981
1141
  address?: {
@@ -989,7 +1149,12 @@ declare const ProducerInfoSchema: z.ZodObject<{
989
1149
  contactName?: string | undefined;
990
1150
  licenseNumber?: string | undefined;
991
1151
  }, {
1152
+ sourceSpanIds: string[];
992
1153
  agencyName: string;
1154
+ documentNodeId?: string | undefined;
1155
+ sourceTextHash?: string | undefined;
1156
+ pageStart?: number | undefined;
1157
+ pageEnd?: number | undefined;
993
1158
  phone?: string | undefined;
994
1159
  email?: string | undefined;
995
1160
  address?: {
@@ -1522,16 +1687,16 @@ declare const ClassificationCodeSchema: z.ZodObject<{
1522
1687
  premium: z.ZodOptional<z.ZodString>;
1523
1688
  locationNumber: z.ZodOptional<z.ZodNumber>;
1524
1689
  }, "strip", z.ZodTypeAny, {
1525
- code: string;
1526
1690
  description: string;
1691
+ code: string;
1527
1692
  premiumBasis: string;
1528
1693
  premium?: string | undefined;
1529
1694
  locationNumber?: number | undefined;
1530
1695
  basisAmount?: string | undefined;
1531
1696
  rate?: string | undefined;
1532
1697
  }, {
1533
- code: string;
1534
1698
  description: string;
1699
+ code: string;
1535
1700
  premiumBasis: string;
1536
1701
  premium?: string | undefined;
1537
1702
  locationNumber?: number | undefined;
@@ -1621,12 +1786,12 @@ declare const DriverRecordSchema: z.ZodObject<{
1621
1786
  description: z.ZodOptional<z.ZodString>;
1622
1787
  }, "strip", z.ZodTypeAny, {
1623
1788
  type?: string | undefined;
1624
- date?: string | undefined;
1625
1789
  description?: string | undefined;
1790
+ date?: string | undefined;
1626
1791
  }, {
1627
1792
  type?: string | undefined;
1628
- date?: string | undefined;
1629
1793
  description?: string | undefined;
1794
+ date?: string | undefined;
1630
1795
  }>, "many">>;
1631
1796
  accidents: z.ZodOptional<z.ZodArray<z.ZodObject<{
1632
1797
  date: z.ZodOptional<z.ZodString>;
@@ -1634,13 +1799,13 @@ declare const DriverRecordSchema: z.ZodObject<{
1634
1799
  description: z.ZodOptional<z.ZodString>;
1635
1800
  amountPaid: z.ZodOptional<z.ZodString>;
1636
1801
  }, "strip", z.ZodTypeAny, {
1637
- date?: string | undefined;
1638
1802
  description?: string | undefined;
1803
+ date?: string | undefined;
1639
1804
  atFault?: boolean | undefined;
1640
1805
  amountPaid?: string | undefined;
1641
1806
  }, {
1642
- date?: string | undefined;
1643
1807
  description?: string | undefined;
1808
+ date?: string | undefined;
1644
1809
  atFault?: boolean | undefined;
1645
1810
  amountPaid?: string | undefined;
1646
1811
  }>, "many">>;
@@ -1658,12 +1823,12 @@ declare const DriverRecordSchema: z.ZodObject<{
1658
1823
  defensiveDriverDiscount?: boolean | undefined;
1659
1824
  violations?: {
1660
1825
  type?: string | undefined;
1661
- date?: string | undefined;
1662
1826
  description?: string | undefined;
1827
+ date?: string | undefined;
1663
1828
  }[] | undefined;
1664
1829
  accidents?: {
1665
- date?: string | undefined;
1666
1830
  description?: string | undefined;
1831
+ date?: string | undefined;
1667
1832
  atFault?: boolean | undefined;
1668
1833
  amountPaid?: string | undefined;
1669
1834
  }[] | undefined;
@@ -1681,12 +1846,12 @@ declare const DriverRecordSchema: z.ZodObject<{
1681
1846
  defensiveDriverDiscount?: boolean | undefined;
1682
1847
  violations?: {
1683
1848
  type?: string | undefined;
1684
- date?: string | undefined;
1685
1849
  description?: string | undefined;
1850
+ date?: string | undefined;
1686
1851
  }[] | undefined;
1687
1852
  accidents?: {
1688
- date?: string | undefined;
1689
1853
  description?: string | undefined;
1854
+ date?: string | undefined;
1690
1855
  atFault?: boolean | undefined;
1691
1856
  amountPaid?: string | undefined;
1692
1857
  }[] | undefined;
@@ -1753,9 +1918,20 @@ declare const PersonalVehicleDetailsSchema: z.ZodObject<{
1753
1918
  }>>;
1754
1919
  relationship: z.ZodOptional<z.ZodString>;
1755
1920
  scope: z.ZodOptional<z.ZodString>;
1921
+ } & {
1922
+ sourceSpanIds: z.ZodArray<z.ZodString, "many">;
1923
+ documentNodeId: z.ZodOptional<z.ZodString>;
1924
+ sourceTextHash: z.ZodOptional<z.ZodString>;
1925
+ pageStart: z.ZodOptional<z.ZodNumber>;
1926
+ pageEnd: z.ZodOptional<z.ZodNumber>;
1756
1927
  }, "strip", z.ZodTypeAny, {
1928
+ sourceSpanIds: string[];
1757
1929
  name: string;
1758
1930
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
1931
+ documentNodeId?: string | undefined;
1932
+ sourceTextHash?: string | undefined;
1933
+ pageStart?: number | undefined;
1934
+ pageEnd?: number | undefined;
1759
1935
  address?: {
1760
1936
  street1: string;
1761
1937
  city: string;
@@ -1767,8 +1943,13 @@ declare const PersonalVehicleDetailsSchema: z.ZodObject<{
1767
1943
  relationship?: string | undefined;
1768
1944
  scope?: string | undefined;
1769
1945
  }, {
1946
+ sourceSpanIds: string[];
1770
1947
  name: string;
1771
1948
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
1949
+ documentNodeId?: string | undefined;
1950
+ sourceTextHash?: string | undefined;
1951
+ pageStart?: number | undefined;
1952
+ pageEnd?: number | undefined;
1772
1953
  address?: {
1773
1954
  street1: string;
1774
1955
  city: string;
@@ -1804,8 +1985,13 @@ declare const PersonalVehicleDetailsSchema: z.ZodObject<{
1804
1985
  odometerReading?: number | undefined;
1805
1986
  driverAssignment?: string | undefined;
1806
1987
  lienHolder?: {
1988
+ sourceSpanIds: string[];
1807
1989
  name: string;
1808
1990
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
1991
+ documentNodeId?: string | undefined;
1992
+ sourceTextHash?: string | undefined;
1993
+ pageStart?: number | undefined;
1994
+ pageEnd?: number | undefined;
1809
1995
  address?: {
1810
1996
  street1: string;
1811
1997
  city: string;
@@ -1841,8 +2027,13 @@ declare const PersonalVehicleDetailsSchema: z.ZodObject<{
1841
2027
  odometerReading?: number | undefined;
1842
2028
  driverAssignment?: string | undefined;
1843
2029
  lienHolder?: {
2030
+ sourceSpanIds: string[];
1844
2031
  name: string;
1845
2032
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
2033
+ documentNodeId?: string | undefined;
2034
+ sourceTextHash?: string | undefined;
2035
+ pageStart?: number | undefined;
2036
+ pageEnd?: number | undefined;
1846
2037
  address?: {
1847
2038
  street1: string;
1848
2039
  city: string;
@@ -1965,9 +2156,20 @@ declare const HomeownersDeclarationsSchema: z.ZodObject<{
1965
2156
  }>>;
1966
2157
  relationship: z.ZodOptional<z.ZodString>;
1967
2158
  scope: z.ZodOptional<z.ZodString>;
2159
+ } & {
2160
+ sourceSpanIds: z.ZodArray<z.ZodString, "many">;
2161
+ documentNodeId: z.ZodOptional<z.ZodString>;
2162
+ sourceTextHash: z.ZodOptional<z.ZodString>;
2163
+ pageStart: z.ZodOptional<z.ZodNumber>;
2164
+ pageEnd: z.ZodOptional<z.ZodNumber>;
1968
2165
  }, "strip", z.ZodTypeAny, {
2166
+ sourceSpanIds: string[];
1969
2167
  name: string;
1970
2168
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
2169
+ documentNodeId?: string | undefined;
2170
+ sourceTextHash?: string | undefined;
2171
+ pageStart?: number | undefined;
2172
+ pageEnd?: number | undefined;
1971
2173
  address?: {
1972
2174
  street1: string;
1973
2175
  city: string;
@@ -1979,8 +2181,13 @@ declare const HomeownersDeclarationsSchema: z.ZodObject<{
1979
2181
  relationship?: string | undefined;
1980
2182
  scope?: string | undefined;
1981
2183
  }, {
2184
+ sourceSpanIds: string[];
1982
2185
  name: string;
1983
2186
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
2187
+ documentNodeId?: string | undefined;
2188
+ sourceTextHash?: string | undefined;
2189
+ pageStart?: number | undefined;
2190
+ pageEnd?: number | undefined;
1984
2191
  address?: {
1985
2192
  street1: string;
1986
2193
  city: string;
@@ -2019,9 +2226,20 @@ declare const HomeownersDeclarationsSchema: z.ZodObject<{
2019
2226
  }>>;
2020
2227
  relationship: z.ZodOptional<z.ZodString>;
2021
2228
  scope: z.ZodOptional<z.ZodString>;
2229
+ } & {
2230
+ sourceSpanIds: z.ZodArray<z.ZodString, "many">;
2231
+ documentNodeId: z.ZodOptional<z.ZodString>;
2232
+ sourceTextHash: z.ZodOptional<z.ZodString>;
2233
+ pageStart: z.ZodOptional<z.ZodNumber>;
2234
+ pageEnd: z.ZodOptional<z.ZodNumber>;
2022
2235
  }, "strip", z.ZodTypeAny, {
2236
+ sourceSpanIds: string[];
2023
2237
  name: string;
2024
2238
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
2239
+ documentNodeId?: string | undefined;
2240
+ sourceTextHash?: string | undefined;
2241
+ pageStart?: number | undefined;
2242
+ pageEnd?: number | undefined;
2025
2243
  address?: {
2026
2244
  street1: string;
2027
2245
  city: string;
@@ -2033,8 +2251,13 @@ declare const HomeownersDeclarationsSchema: z.ZodObject<{
2033
2251
  relationship?: string | undefined;
2034
2252
  scope?: string | undefined;
2035
2253
  }, {
2254
+ sourceSpanIds: string[];
2036
2255
  name: string;
2037
2256
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
2257
+ documentNodeId?: string | undefined;
2258
+ sourceTextHash?: string | undefined;
2259
+ pageStart?: number | undefined;
2260
+ pageEnd?: number | undefined;
2038
2261
  address?: {
2039
2262
  street1: string;
2040
2263
  city: string;
@@ -2082,8 +2305,13 @@ declare const HomeownersDeclarationsSchema: z.ZodObject<{
2082
2305
  hurricaneDeductible?: string | undefined;
2083
2306
  lossSettlement?: "replacement_cost" | "actual_cash_value" | "extended_replacement_cost" | "guaranteed_replacement_cost" | undefined;
2084
2307
  mortgagee?: {
2308
+ sourceSpanIds: string[];
2085
2309
  name: string;
2086
2310
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
2311
+ documentNodeId?: string | undefined;
2312
+ sourceTextHash?: string | undefined;
2313
+ pageStart?: number | undefined;
2314
+ pageEnd?: number | undefined;
2087
2315
  address?: {
2088
2316
  street1: string;
2089
2317
  city: string;
@@ -2096,8 +2324,13 @@ declare const HomeownersDeclarationsSchema: z.ZodObject<{
2096
2324
  scope?: string | undefined;
2097
2325
  } | undefined;
2098
2326
  additionalMortgagees?: {
2327
+ sourceSpanIds: string[];
2099
2328
  name: string;
2100
2329
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
2330
+ documentNodeId?: string | undefined;
2331
+ sourceTextHash?: string | undefined;
2332
+ pageStart?: number | undefined;
2333
+ pageEnd?: number | undefined;
2101
2334
  address?: {
2102
2335
  street1: string;
2103
2336
  city: string;
@@ -2145,8 +2378,13 @@ declare const HomeownersDeclarationsSchema: z.ZodObject<{
2145
2378
  hurricaneDeductible?: string | undefined;
2146
2379
  lossSettlement?: "replacement_cost" | "actual_cash_value" | "extended_replacement_cost" | "guaranteed_replacement_cost" | undefined;
2147
2380
  mortgagee?: {
2381
+ sourceSpanIds: string[];
2148
2382
  name: string;
2149
2383
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
2384
+ documentNodeId?: string | undefined;
2385
+ sourceTextHash?: string | undefined;
2386
+ pageStart?: number | undefined;
2387
+ pageEnd?: number | undefined;
2150
2388
  address?: {
2151
2389
  street1: string;
2152
2390
  city: string;
@@ -2159,8 +2397,13 @@ declare const HomeownersDeclarationsSchema: z.ZodObject<{
2159
2397
  scope?: string | undefined;
2160
2398
  } | undefined;
2161
2399
  additionalMortgagees?: {
2400
+ sourceSpanIds: string[];
2162
2401
  name: string;
2163
2402
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
2403
+ documentNodeId?: string | undefined;
2404
+ sourceTextHash?: string | undefined;
2405
+ pageStart?: number | undefined;
2406
+ pageEnd?: number | undefined;
2164
2407
  address?: {
2165
2408
  street1: string;
2166
2409
  city: string;
@@ -2236,9 +2479,20 @@ declare const PersonalAutoDeclarationsSchema: z.ZodObject<{
2236
2479
  }>>;
2237
2480
  relationship: z.ZodOptional<z.ZodString>;
2238
2481
  scope: z.ZodOptional<z.ZodString>;
2482
+ } & {
2483
+ sourceSpanIds: z.ZodArray<z.ZodString, "many">;
2484
+ documentNodeId: z.ZodOptional<z.ZodString>;
2485
+ sourceTextHash: z.ZodOptional<z.ZodString>;
2486
+ pageStart: z.ZodOptional<z.ZodNumber>;
2487
+ pageEnd: z.ZodOptional<z.ZodNumber>;
2239
2488
  }, "strip", z.ZodTypeAny, {
2489
+ sourceSpanIds: string[];
2240
2490
  name: string;
2241
2491
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
2492
+ documentNodeId?: string | undefined;
2493
+ sourceTextHash?: string | undefined;
2494
+ pageStart?: number | undefined;
2495
+ pageEnd?: number | undefined;
2242
2496
  address?: {
2243
2497
  street1: string;
2244
2498
  city: string;
@@ -2250,8 +2504,13 @@ declare const PersonalAutoDeclarationsSchema: z.ZodObject<{
2250
2504
  relationship?: string | undefined;
2251
2505
  scope?: string | undefined;
2252
2506
  }, {
2507
+ sourceSpanIds: string[];
2253
2508
  name: string;
2254
2509
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
2510
+ documentNodeId?: string | undefined;
2511
+ sourceTextHash?: string | undefined;
2512
+ pageStart?: number | undefined;
2513
+ pageEnd?: number | undefined;
2255
2514
  address?: {
2256
2515
  street1: string;
2257
2516
  city: string;
@@ -2287,8 +2546,13 @@ declare const PersonalAutoDeclarationsSchema: z.ZodObject<{
2287
2546
  odometerReading?: number | undefined;
2288
2547
  driverAssignment?: string | undefined;
2289
2548
  lienHolder?: {
2549
+ sourceSpanIds: string[];
2290
2550
  name: string;
2291
2551
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
2552
+ documentNodeId?: string | undefined;
2553
+ sourceTextHash?: string | undefined;
2554
+ pageStart?: number | undefined;
2555
+ pageEnd?: number | undefined;
2292
2556
  address?: {
2293
2557
  street1: string;
2294
2558
  city: string;
@@ -2324,8 +2588,13 @@ declare const PersonalAutoDeclarationsSchema: z.ZodObject<{
2324
2588
  odometerReading?: number | undefined;
2325
2589
  driverAssignment?: string | undefined;
2326
2590
  lienHolder?: {
2591
+ sourceSpanIds: string[];
2327
2592
  name: string;
2328
2593
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
2594
+ documentNodeId?: string | undefined;
2595
+ sourceTextHash?: string | undefined;
2596
+ pageStart?: number | undefined;
2597
+ pageEnd?: number | undefined;
2329
2598
  address?: {
2330
2599
  street1: string;
2331
2600
  city: string;
@@ -2359,12 +2628,12 @@ declare const PersonalAutoDeclarationsSchema: z.ZodObject<{
2359
2628
  description: z.ZodOptional<z.ZodString>;
2360
2629
  }, "strip", z.ZodTypeAny, {
2361
2630
  type?: string | undefined;
2362
- date?: string | undefined;
2363
2631
  description?: string | undefined;
2632
+ date?: string | undefined;
2364
2633
  }, {
2365
2634
  type?: string | undefined;
2366
- date?: string | undefined;
2367
2635
  description?: string | undefined;
2636
+ date?: string | undefined;
2368
2637
  }>, "many">>;
2369
2638
  accidents: z.ZodOptional<z.ZodArray<z.ZodObject<{
2370
2639
  date: z.ZodOptional<z.ZodString>;
@@ -2372,13 +2641,13 @@ declare const PersonalAutoDeclarationsSchema: z.ZodObject<{
2372
2641
  description: z.ZodOptional<z.ZodString>;
2373
2642
  amountPaid: z.ZodOptional<z.ZodString>;
2374
2643
  }, "strip", z.ZodTypeAny, {
2375
- date?: string | undefined;
2376
2644
  description?: string | undefined;
2645
+ date?: string | undefined;
2377
2646
  atFault?: boolean | undefined;
2378
2647
  amountPaid?: string | undefined;
2379
2648
  }, {
2380
- date?: string | undefined;
2381
2649
  description?: string | undefined;
2650
+ date?: string | undefined;
2382
2651
  atFault?: boolean | undefined;
2383
2652
  amountPaid?: string | undefined;
2384
2653
  }>, "many">>;
@@ -2396,12 +2665,12 @@ declare const PersonalAutoDeclarationsSchema: z.ZodObject<{
2396
2665
  defensiveDriverDiscount?: boolean | undefined;
2397
2666
  violations?: {
2398
2667
  type?: string | undefined;
2399
- date?: string | undefined;
2400
2668
  description?: string | undefined;
2669
+ date?: string | undefined;
2401
2670
  }[] | undefined;
2402
2671
  accidents?: {
2403
- date?: string | undefined;
2404
2672
  description?: string | undefined;
2673
+ date?: string | undefined;
2405
2674
  atFault?: boolean | undefined;
2406
2675
  amountPaid?: string | undefined;
2407
2676
  }[] | undefined;
@@ -2419,12 +2688,12 @@ declare const PersonalAutoDeclarationsSchema: z.ZodObject<{
2419
2688
  defensiveDriverDiscount?: boolean | undefined;
2420
2689
  violations?: {
2421
2690
  type?: string | undefined;
2422
- date?: string | undefined;
2423
2691
  description?: string | undefined;
2692
+ date?: string | undefined;
2424
2693
  }[] | undefined;
2425
2694
  accidents?: {
2426
- date?: string | undefined;
2427
2695
  description?: string | undefined;
2696
+ date?: string | undefined;
2428
2697
  atFault?: boolean | undefined;
2429
2698
  amountPaid?: string | undefined;
2430
2699
  }[] | undefined;
@@ -2490,8 +2759,13 @@ declare const PersonalAutoDeclarationsSchema: z.ZodObject<{
2490
2759
  odometerReading?: number | undefined;
2491
2760
  driverAssignment?: string | undefined;
2492
2761
  lienHolder?: {
2762
+ sourceSpanIds: string[];
2493
2763
  name: string;
2494
2764
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
2765
+ documentNodeId?: string | undefined;
2766
+ sourceTextHash?: string | undefined;
2767
+ pageStart?: number | undefined;
2768
+ pageEnd?: number | undefined;
2495
2769
  address?: {
2496
2770
  street1: string;
2497
2771
  city: string;
@@ -2521,12 +2795,12 @@ declare const PersonalAutoDeclarationsSchema: z.ZodObject<{
2521
2795
  defensiveDriverDiscount?: boolean | undefined;
2522
2796
  violations?: {
2523
2797
  type?: string | undefined;
2524
- date?: string | undefined;
2525
2798
  description?: string | undefined;
2799
+ date?: string | undefined;
2526
2800
  }[] | undefined;
2527
2801
  accidents?: {
2528
- date?: string | undefined;
2529
2802
  description?: string | undefined;
2803
+ date?: string | undefined;
2530
2804
  atFault?: boolean | undefined;
2531
2805
  amountPaid?: string | undefined;
2532
2806
  }[] | undefined;
@@ -2570,8 +2844,13 @@ declare const PersonalAutoDeclarationsSchema: z.ZodObject<{
2570
2844
  odometerReading?: number | undefined;
2571
2845
  driverAssignment?: string | undefined;
2572
2846
  lienHolder?: {
2847
+ sourceSpanIds: string[];
2573
2848
  name: string;
2574
2849
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
2850
+ documentNodeId?: string | undefined;
2851
+ sourceTextHash?: string | undefined;
2852
+ pageStart?: number | undefined;
2853
+ pageEnd?: number | undefined;
2575
2854
  address?: {
2576
2855
  street1: string;
2577
2856
  city: string;
@@ -2601,12 +2880,12 @@ declare const PersonalAutoDeclarationsSchema: z.ZodObject<{
2601
2880
  defensiveDriverDiscount?: boolean | undefined;
2602
2881
  violations?: {
2603
2882
  type?: string | undefined;
2604
- date?: string | undefined;
2605
2883
  description?: string | undefined;
2884
+ date?: string | undefined;
2606
2885
  }[] | undefined;
2607
2886
  accidents?: {
2608
- date?: string | undefined;
2609
2887
  description?: string | undefined;
2888
+ date?: string | undefined;
2610
2889
  atFault?: boolean | undefined;
2611
2890
  amountPaid?: string | undefined;
2612
2891
  }[] | undefined;
@@ -3430,16 +3709,16 @@ declare const GLDeclarationsSchema: z.ZodObject<{
3430
3709
  premium: z.ZodOptional<z.ZodString>;
3431
3710
  locationNumber: z.ZodOptional<z.ZodNumber>;
3432
3711
  }, "strip", z.ZodTypeAny, {
3433
- code: string;
3434
3712
  description: string;
3713
+ code: string;
3435
3714
  premiumBasis: string;
3436
3715
  premium?: string | undefined;
3437
3716
  locationNumber?: number | undefined;
3438
3717
  basisAmount?: string | undefined;
3439
3718
  rate?: string | undefined;
3440
3719
  }, {
3441
- code: string;
3442
3720
  description: string;
3721
+ code: string;
3443
3722
  premiumBasis: string;
3444
3723
  premium?: string | undefined;
3445
3724
  locationNumber?: number | undefined;
@@ -3460,8 +3739,8 @@ declare const GLDeclarationsSchema: z.ZodObject<{
3460
3739
  perOccurrenceLimit?: string | undefined;
3461
3740
  coverageForm?: "occurrence" | "claims_made" | "accident" | undefined;
3462
3741
  classifications?: {
3463
- code: string;
3464
3742
  description: string;
3743
+ code: string;
3465
3744
  premiumBasis: string;
3466
3745
  premium?: string | undefined;
3467
3746
  locationNumber?: number | undefined;
@@ -3481,8 +3760,8 @@ declare const GLDeclarationsSchema: z.ZodObject<{
3481
3760
  perOccurrenceLimit?: string | undefined;
3482
3761
  coverageForm?: "occurrence" | "claims_made" | "accident" | undefined;
3483
3762
  classifications?: {
3484
- code: string;
3485
3763
  description: string;
3764
+ code: string;
3486
3765
  premiumBasis: string;
3487
3766
  premium?: string | undefined;
3488
3767
  locationNumber?: number | undefined;
@@ -3775,16 +4054,16 @@ declare const WorkersCompDeclarationsSchema: z.ZodObject<{
3775
4054
  premium: z.ZodOptional<z.ZodString>;
3776
4055
  locationNumber: z.ZodOptional<z.ZodNumber>;
3777
4056
  }, "strip", z.ZodTypeAny, {
3778
- code: string;
3779
4057
  description: string;
4058
+ code: string;
3780
4059
  premiumBasis: string;
3781
4060
  premium?: string | undefined;
3782
4061
  locationNumber?: number | undefined;
3783
4062
  basisAmount?: string | undefined;
3784
4063
  rate?: string | undefined;
3785
4064
  }, {
3786
- code: string;
3787
4065
  description: string;
4066
+ code: string;
3788
4067
  premiumBasis: string;
3789
4068
  premium?: string | undefined;
3790
4069
  locationNumber?: number | undefined;
@@ -3820,8 +4099,8 @@ declare const WorkersCompDeclarationsSchema: z.ZodObject<{
3820
4099
  }, "strip", z.ZodTypeAny, {
3821
4100
  line: "workers_comp";
3822
4101
  classifications: {
3823
- code: string;
3824
4102
  description: string;
4103
+ code: string;
3825
4104
  premiumBasis: string;
3826
4105
  premium?: string | undefined;
3827
4106
  locationNumber?: number | undefined;
@@ -3842,8 +4121,8 @@ declare const WorkersCompDeclarationsSchema: z.ZodObject<{
3842
4121
  }, {
3843
4122
  line: "workers_comp";
3844
4123
  classifications: {
3845
- code: string;
3846
4124
  description: string;
4125
+ code: string;
3847
4126
  premiumBasis: string;
3848
4127
  premium?: string | undefined;
3849
4128
  locationNumber?: number | undefined;
@@ -4159,9 +4438,20 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4159
4438
  }>>;
4160
4439
  relationship: z.ZodOptional<z.ZodString>;
4161
4440
  scope: z.ZodOptional<z.ZodString>;
4441
+ } & {
4442
+ sourceSpanIds: z.ZodArray<z.ZodString, "many">;
4443
+ documentNodeId: z.ZodOptional<z.ZodString>;
4444
+ sourceTextHash: z.ZodOptional<z.ZodString>;
4445
+ pageStart: z.ZodOptional<z.ZodNumber>;
4446
+ pageEnd: z.ZodOptional<z.ZodNumber>;
4162
4447
  }, "strip", z.ZodTypeAny, {
4448
+ sourceSpanIds: string[];
4163
4449
  name: string;
4164
4450
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
4451
+ documentNodeId?: string | undefined;
4452
+ sourceTextHash?: string | undefined;
4453
+ pageStart?: number | undefined;
4454
+ pageEnd?: number | undefined;
4165
4455
  address?: {
4166
4456
  street1: string;
4167
4457
  city: string;
@@ -4173,8 +4463,13 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4173
4463
  relationship?: string | undefined;
4174
4464
  scope?: string | undefined;
4175
4465
  }, {
4466
+ sourceSpanIds: string[];
4176
4467
  name: string;
4177
4468
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
4469
+ documentNodeId?: string | undefined;
4470
+ sourceTextHash?: string | undefined;
4471
+ pageStart?: number | undefined;
4472
+ pageEnd?: number | undefined;
4178
4473
  address?: {
4179
4474
  street1: string;
4180
4475
  city: string;
@@ -4213,9 +4508,20 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4213
4508
  }>>;
4214
4509
  relationship: z.ZodOptional<z.ZodString>;
4215
4510
  scope: z.ZodOptional<z.ZodString>;
4511
+ } & {
4512
+ sourceSpanIds: z.ZodArray<z.ZodString, "many">;
4513
+ documentNodeId: z.ZodOptional<z.ZodString>;
4514
+ sourceTextHash: z.ZodOptional<z.ZodString>;
4515
+ pageStart: z.ZodOptional<z.ZodNumber>;
4516
+ pageEnd: z.ZodOptional<z.ZodNumber>;
4216
4517
  }, "strip", z.ZodTypeAny, {
4518
+ sourceSpanIds: string[];
4217
4519
  name: string;
4218
4520
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
4521
+ documentNodeId?: string | undefined;
4522
+ sourceTextHash?: string | undefined;
4523
+ pageStart?: number | undefined;
4524
+ pageEnd?: number | undefined;
4219
4525
  address?: {
4220
4526
  street1: string;
4221
4527
  city: string;
@@ -4227,8 +4533,13 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4227
4533
  relationship?: string | undefined;
4228
4534
  scope?: string | undefined;
4229
4535
  }, {
4536
+ sourceSpanIds: string[];
4230
4537
  name: string;
4231
4538
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
4539
+ documentNodeId?: string | undefined;
4540
+ sourceTextHash?: string | undefined;
4541
+ pageStart?: number | undefined;
4542
+ pageEnd?: number | undefined;
4232
4543
  address?: {
4233
4544
  street1: string;
4234
4545
  city: string;
@@ -4276,8 +4587,13 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4276
4587
  hurricaneDeductible?: string | undefined;
4277
4588
  lossSettlement?: "replacement_cost" | "actual_cash_value" | "extended_replacement_cost" | "guaranteed_replacement_cost" | undefined;
4278
4589
  mortgagee?: {
4590
+ sourceSpanIds: string[];
4279
4591
  name: string;
4280
4592
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
4593
+ documentNodeId?: string | undefined;
4594
+ sourceTextHash?: string | undefined;
4595
+ pageStart?: number | undefined;
4596
+ pageEnd?: number | undefined;
4281
4597
  address?: {
4282
4598
  street1: string;
4283
4599
  city: string;
@@ -4290,8 +4606,13 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4290
4606
  scope?: string | undefined;
4291
4607
  } | undefined;
4292
4608
  additionalMortgagees?: {
4609
+ sourceSpanIds: string[];
4293
4610
  name: string;
4294
4611
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
4612
+ documentNodeId?: string | undefined;
4613
+ sourceTextHash?: string | undefined;
4614
+ pageStart?: number | undefined;
4615
+ pageEnd?: number | undefined;
4295
4616
  address?: {
4296
4617
  street1: string;
4297
4618
  city: string;
@@ -4339,8 +4660,13 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4339
4660
  hurricaneDeductible?: string | undefined;
4340
4661
  lossSettlement?: "replacement_cost" | "actual_cash_value" | "extended_replacement_cost" | "guaranteed_replacement_cost" | undefined;
4341
4662
  mortgagee?: {
4663
+ sourceSpanIds: string[];
4342
4664
  name: string;
4343
4665
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
4666
+ documentNodeId?: string | undefined;
4667
+ sourceTextHash?: string | undefined;
4668
+ pageStart?: number | undefined;
4669
+ pageEnd?: number | undefined;
4344
4670
  address?: {
4345
4671
  street1: string;
4346
4672
  city: string;
@@ -4353,8 +4679,13 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4353
4679
  scope?: string | undefined;
4354
4680
  } | undefined;
4355
4681
  additionalMortgagees?: {
4682
+ sourceSpanIds: string[];
4356
4683
  name: string;
4357
4684
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
4685
+ documentNodeId?: string | undefined;
4686
+ sourceTextHash?: string | undefined;
4687
+ pageStart?: number | undefined;
4688
+ pageEnd?: number | undefined;
4358
4689
  address?: {
4359
4690
  street1: string;
4360
4691
  city: string;
@@ -4428,9 +4759,20 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4428
4759
  }>>;
4429
4760
  relationship: z.ZodOptional<z.ZodString>;
4430
4761
  scope: z.ZodOptional<z.ZodString>;
4762
+ } & {
4763
+ sourceSpanIds: z.ZodArray<z.ZodString, "many">;
4764
+ documentNodeId: z.ZodOptional<z.ZodString>;
4765
+ sourceTextHash: z.ZodOptional<z.ZodString>;
4766
+ pageStart: z.ZodOptional<z.ZodNumber>;
4767
+ pageEnd: z.ZodOptional<z.ZodNumber>;
4431
4768
  }, "strip", z.ZodTypeAny, {
4769
+ sourceSpanIds: string[];
4432
4770
  name: string;
4433
4771
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
4772
+ documentNodeId?: string | undefined;
4773
+ sourceTextHash?: string | undefined;
4774
+ pageStart?: number | undefined;
4775
+ pageEnd?: number | undefined;
4434
4776
  address?: {
4435
4777
  street1: string;
4436
4778
  city: string;
@@ -4442,8 +4784,13 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4442
4784
  relationship?: string | undefined;
4443
4785
  scope?: string | undefined;
4444
4786
  }, {
4787
+ sourceSpanIds: string[];
4445
4788
  name: string;
4446
4789
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
4790
+ documentNodeId?: string | undefined;
4791
+ sourceTextHash?: string | undefined;
4792
+ pageStart?: number | undefined;
4793
+ pageEnd?: number | undefined;
4447
4794
  address?: {
4448
4795
  street1: string;
4449
4796
  city: string;
@@ -4479,8 +4826,13 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4479
4826
  odometerReading?: number | undefined;
4480
4827
  driverAssignment?: string | undefined;
4481
4828
  lienHolder?: {
4829
+ sourceSpanIds: string[];
4482
4830
  name: string;
4483
4831
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
4832
+ documentNodeId?: string | undefined;
4833
+ sourceTextHash?: string | undefined;
4834
+ pageStart?: number | undefined;
4835
+ pageEnd?: number | undefined;
4484
4836
  address?: {
4485
4837
  street1: string;
4486
4838
  city: string;
@@ -4516,8 +4868,13 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4516
4868
  odometerReading?: number | undefined;
4517
4869
  driverAssignment?: string | undefined;
4518
4870
  lienHolder?: {
4871
+ sourceSpanIds: string[];
4519
4872
  name: string;
4520
4873
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
4874
+ documentNodeId?: string | undefined;
4875
+ sourceTextHash?: string | undefined;
4876
+ pageStart?: number | undefined;
4877
+ pageEnd?: number | undefined;
4521
4878
  address?: {
4522
4879
  street1: string;
4523
4880
  city: string;
@@ -4551,12 +4908,12 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4551
4908
  description: z.ZodOptional<z.ZodString>;
4552
4909
  }, "strip", z.ZodTypeAny, {
4553
4910
  type?: string | undefined;
4554
- date?: string | undefined;
4555
4911
  description?: string | undefined;
4912
+ date?: string | undefined;
4556
4913
  }, {
4557
4914
  type?: string | undefined;
4558
- date?: string | undefined;
4559
4915
  description?: string | undefined;
4916
+ date?: string | undefined;
4560
4917
  }>, "many">>;
4561
4918
  accidents: z.ZodOptional<z.ZodArray<z.ZodObject<{
4562
4919
  date: z.ZodOptional<z.ZodString>;
@@ -4564,13 +4921,13 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4564
4921
  description: z.ZodOptional<z.ZodString>;
4565
4922
  amountPaid: z.ZodOptional<z.ZodString>;
4566
4923
  }, "strip", z.ZodTypeAny, {
4567
- date?: string | undefined;
4568
4924
  description?: string | undefined;
4925
+ date?: string | undefined;
4569
4926
  atFault?: boolean | undefined;
4570
4927
  amountPaid?: string | undefined;
4571
4928
  }, {
4572
- date?: string | undefined;
4573
4929
  description?: string | undefined;
4930
+ date?: string | undefined;
4574
4931
  atFault?: boolean | undefined;
4575
4932
  amountPaid?: string | undefined;
4576
4933
  }>, "many">>;
@@ -4588,12 +4945,12 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4588
4945
  defensiveDriverDiscount?: boolean | undefined;
4589
4946
  violations?: {
4590
4947
  type?: string | undefined;
4591
- date?: string | undefined;
4592
4948
  description?: string | undefined;
4949
+ date?: string | undefined;
4593
4950
  }[] | undefined;
4594
4951
  accidents?: {
4595
- date?: string | undefined;
4596
4952
  description?: string | undefined;
4953
+ date?: string | undefined;
4597
4954
  atFault?: boolean | undefined;
4598
4955
  amountPaid?: string | undefined;
4599
4956
  }[] | undefined;
@@ -4611,12 +4968,12 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4611
4968
  defensiveDriverDiscount?: boolean | undefined;
4612
4969
  violations?: {
4613
4970
  type?: string | undefined;
4614
- date?: string | undefined;
4615
4971
  description?: string | undefined;
4972
+ date?: string | undefined;
4616
4973
  }[] | undefined;
4617
4974
  accidents?: {
4618
- date?: string | undefined;
4619
4975
  description?: string | undefined;
4976
+ date?: string | undefined;
4620
4977
  atFault?: boolean | undefined;
4621
4978
  amountPaid?: string | undefined;
4622
4979
  }[] | undefined;
@@ -4682,8 +5039,13 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4682
5039
  odometerReading?: number | undefined;
4683
5040
  driverAssignment?: string | undefined;
4684
5041
  lienHolder?: {
5042
+ sourceSpanIds: string[];
4685
5043
  name: string;
4686
5044
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
5045
+ documentNodeId?: string | undefined;
5046
+ sourceTextHash?: string | undefined;
5047
+ pageStart?: number | undefined;
5048
+ pageEnd?: number | undefined;
4687
5049
  address?: {
4688
5050
  street1: string;
4689
5051
  city: string;
@@ -4713,12 +5075,12 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4713
5075
  defensiveDriverDiscount?: boolean | undefined;
4714
5076
  violations?: {
4715
5077
  type?: string | undefined;
4716
- date?: string | undefined;
4717
5078
  description?: string | undefined;
5079
+ date?: string | undefined;
4718
5080
  }[] | undefined;
4719
5081
  accidents?: {
4720
- date?: string | undefined;
4721
5082
  description?: string | undefined;
5083
+ date?: string | undefined;
4722
5084
  atFault?: boolean | undefined;
4723
5085
  amountPaid?: string | undefined;
4724
5086
  }[] | undefined;
@@ -4762,8 +5124,13 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4762
5124
  odometerReading?: number | undefined;
4763
5125
  driverAssignment?: string | undefined;
4764
5126
  lienHolder?: {
5127
+ sourceSpanIds: string[];
4765
5128
  name: string;
4766
5129
  role: "other" | "additional_insured" | "loss_payee" | "mortgage_holder" | "certificate_holder" | "notice_recipient";
5130
+ documentNodeId?: string | undefined;
5131
+ sourceTextHash?: string | undefined;
5132
+ pageStart?: number | undefined;
5133
+ pageEnd?: number | undefined;
4767
5134
  address?: {
4768
5135
  street1: string;
4769
5136
  city: string;
@@ -4793,12 +5160,12 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4793
5160
  defensiveDriverDiscount?: boolean | undefined;
4794
5161
  violations?: {
4795
5162
  type?: string | undefined;
4796
- date?: string | undefined;
4797
5163
  description?: string | undefined;
5164
+ date?: string | undefined;
4798
5165
  }[] | undefined;
4799
5166
  accidents?: {
4800
- date?: string | undefined;
4801
5167
  description?: string | undefined;
5168
+ date?: string | undefined;
4802
5169
  atFault?: boolean | undefined;
4803
5170
  amountPaid?: string | undefined;
4804
5171
  }[] | undefined;
@@ -5595,16 +5962,16 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
5595
5962
  premium: z.ZodOptional<z.ZodString>;
5596
5963
  locationNumber: z.ZodOptional<z.ZodNumber>;
5597
5964
  }, "strip", z.ZodTypeAny, {
5598
- code: string;
5599
5965
  description: string;
5966
+ code: string;
5600
5967
  premiumBasis: string;
5601
5968
  premium?: string | undefined;
5602
5969
  locationNumber?: number | undefined;
5603
5970
  basisAmount?: string | undefined;
5604
5971
  rate?: string | undefined;
5605
5972
  }, {
5606
- code: string;
5607
5973
  description: string;
5974
+ code: string;
5608
5975
  premiumBasis: string;
5609
5976
  premium?: string | undefined;
5610
5977
  locationNumber?: number | undefined;
@@ -5625,8 +5992,8 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
5625
5992
  perOccurrenceLimit?: string | undefined;
5626
5993
  coverageForm?: "occurrence" | "claims_made" | "accident" | undefined;
5627
5994
  classifications?: {
5628
- code: string;
5629
5995
  description: string;
5996
+ code: string;
5630
5997
  premiumBasis: string;
5631
5998
  premium?: string | undefined;
5632
5999
  locationNumber?: number | undefined;
@@ -5646,8 +6013,8 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
5646
6013
  perOccurrenceLimit?: string | undefined;
5647
6014
  coverageForm?: "occurrence" | "claims_made" | "accident" | undefined;
5648
6015
  classifications?: {
5649
- code: string;
5650
6016
  description: string;
6017
+ code: string;
5651
6018
  premiumBasis: string;
5652
6019
  premium?: string | undefined;
5653
6020
  locationNumber?: number | undefined;
@@ -5934,16 +6301,16 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
5934
6301
  premium: z.ZodOptional<z.ZodString>;
5935
6302
  locationNumber: z.ZodOptional<z.ZodNumber>;
5936
6303
  }, "strip", z.ZodTypeAny, {
5937
- code: string;
5938
6304
  description: string;
6305
+ code: string;
5939
6306
  premiumBasis: string;
5940
6307
  premium?: string | undefined;
5941
6308
  locationNumber?: number | undefined;
5942
6309
  basisAmount?: string | undefined;
5943
6310
  rate?: string | undefined;
5944
6311
  }, {
5945
- code: string;
5946
6312
  description: string;
6313
+ code: string;
5947
6314
  premiumBasis: string;
5948
6315
  premium?: string | undefined;
5949
6316
  locationNumber?: number | undefined;
@@ -5979,8 +6346,8 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
5979
6346
  }, "strip", z.ZodTypeAny, {
5980
6347
  line: "workers_comp";
5981
6348
  classifications: {
5982
- code: string;
5983
6349
  description: string;
6350
+ code: string;
5984
6351
  premiumBasis: string;
5985
6352
  premium?: string | undefined;
5986
6353
  locationNumber?: number | undefined;
@@ -6001,8 +6368,8 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
6001
6368
  }, {
6002
6369
  line: "workers_comp";
6003
6370
  classifications: {
6004
- code: string;
6005
6371
  description: string;
6372
+ code: string;
6006
6373
  premiumBasis: string;
6007
6374
  premium?: string | undefined;
6008
6375
  locationNumber?: number | undefined;
@@ -8238,46 +8605,46 @@ declare const FormInventorySchema: z.ZodObject<{
8238
8605
  formNumber: string;
8239
8606
  formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
8240
8607
  title?: string | undefined;
8241
- editionDate?: string | undefined;
8242
- pageStart?: number | undefined;
8243
- pageEnd?: number | undefined;
8244
- documentNodeId?: string | undefined;
8245
8608
  sourceSpanIds?: string[] | undefined;
8609
+ documentNodeId?: string | undefined;
8246
8610
  sourceTextHash?: string | undefined;
8611
+ pageStart?: number | undefined;
8612
+ pageEnd?: number | undefined;
8613
+ editionDate?: string | undefined;
8247
8614
  }, {
8248
8615
  formNumber: string;
8249
8616
  formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
8250
8617
  title?: string | undefined;
8251
- editionDate?: string | undefined;
8252
- pageStart?: number | undefined;
8253
- pageEnd?: number | undefined;
8254
- documentNodeId?: string | undefined;
8255
8618
  sourceSpanIds?: string[] | undefined;
8619
+ documentNodeId?: string | undefined;
8256
8620
  sourceTextHash?: string | undefined;
8621
+ pageStart?: number | undefined;
8622
+ pageEnd?: number | undefined;
8623
+ editionDate?: string | undefined;
8257
8624
  }>, "many">;
8258
8625
  }, "strip", z.ZodTypeAny, {
8259
8626
  forms: {
8260
8627
  formNumber: string;
8261
8628
  formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
8262
8629
  title?: string | undefined;
8263
- editionDate?: string | undefined;
8264
- pageStart?: number | undefined;
8265
- pageEnd?: number | undefined;
8266
- documentNodeId?: string | undefined;
8267
8630
  sourceSpanIds?: string[] | undefined;
8631
+ documentNodeId?: string | undefined;
8268
8632
  sourceTextHash?: string | undefined;
8633
+ pageStart?: number | undefined;
8634
+ pageEnd?: number | undefined;
8635
+ editionDate?: string | undefined;
8269
8636
  }[];
8270
8637
  }, {
8271
8638
  forms: {
8272
8639
  formNumber: string;
8273
8640
  formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
8274
8641
  title?: string | undefined;
8275
- editionDate?: string | undefined;
8276
- pageStart?: number | undefined;
8277
- pageEnd?: number | undefined;
8278
- documentNodeId?: string | undefined;
8279
8642
  sourceSpanIds?: string[] | undefined;
8643
+ documentNodeId?: string | undefined;
8280
8644
  sourceTextHash?: string | undefined;
8645
+ pageStart?: number | undefined;
8646
+ pageEnd?: number | undefined;
8647
+ editionDate?: string | undefined;
8281
8648
  }[];
8282
8649
  }>;
8283
8650
  type FormInventoryResult = z.infer<typeof FormInventorySchema>;
@@ -8645,16 +9012,16 @@ declare const QueryAttachmentSchema: z.ZodObject<{
8645
9012
  description: z.ZodOptional<z.ZodString>;
8646
9013
  }, "strip", z.ZodTypeAny, {
8647
9014
  kind: "text" | "pdf" | "image";
8648
- name?: string | undefined;
8649
9015
  description?: string | undefined;
9016
+ name?: string | undefined;
8650
9017
  id?: string | undefined;
8651
9018
  text?: string | undefined;
8652
9019
  base64?: string | undefined;
8653
9020
  mimeType?: string | undefined;
8654
9021
  }, {
8655
9022
  kind: "text" | "pdf" | "image";
8656
- name?: string | undefined;
8657
9023
  description?: string | undefined;
9024
+ name?: string | undefined;
8658
9025
  id?: string | undefined;
8659
9026
  text?: string | undefined;
8660
9027
  base64?: string | undefined;
@@ -9675,4 +10042,4 @@ interface DocumentTemplate {
9675
10042
  }
9676
10043
  declare function getTemplate(policyType: string): DocumentTemplate;
9677
10044
 
9678
- export { ADMITTED_STATUSES, AGENT_TOOLS, APPLICATION_CLASSIFY_PROMPT, AUDIT_TYPES, type AcroFormFieldInfo, type Address, AddressSchema, type AdmittedStatus, AdmittedStatusSchema, AgentContext, type AgenticExecutionMode, AgenticExecutionModeSchema, type AnswerMergeResult, type AttachmentInterpretation, AttachmentInterpretationSchema, type AuditType, AuditTypeSchema, BOAT_TYPES, type BindingAuthority, BindingAuthoritySchema, type BoatType, BoatTypeSchema, CHUNK_TYPES, CLAIM_STATUSES, COI_GENERATION_TOOL, CONDITION_TYPES, CONSTRUCTION_TYPES, CONTEXT_KEY_MAP, COVERAGE_COMPARISON_TOOL, COVERAGE_FORMS, COVERAGE_TRIGGERS, type CaseAction, CaseActionSchema, type CaseCitation, CaseCitationSchema, type CaseEvidence, type CaseEvidenceSource, CaseEvidenceSourceSchema, type CaseField, type CaseItem, type CasePacketArtifact, type CasePacketArtifactKind, CasePacketArtifactKindSchema, CasePacketArtifactSchema, type CaseProposal, CaseProposalSchema, type CaseProposalScore, CaseProposalScoreSchema, type CaseState, type CaseSubmissionPacket, CaseSubmissionPacketSchema, type CaseValidationIssue, CaseValidationIssueSchema, type CaseWorkflowPlan, type ChunkType, ChunkTypeSchema, type Citation, CitationSchema, type ClaimRecord, ClaimRecordSchema, type ClaimStatus, ClaimStatusSchema, type ClassificationCode, ClassificationCodeSchema, type CommercialAutoDeclarations, CommercialAutoDeclarationsSchema, type CommercialPropertyDeclarations, CommercialPropertyDeclarationsSchema, ConditionKeyValueSchema, type ConditionType, ConditionTypeSchema, type ConstructionType, ConstructionTypeSchema, type Contact, ContactSchema, type ContextKeyMapping, 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 DoclingDocumentLike, type DoclingExtractionInput, type DoclingItemLike, type DoclingNodeLike, type DoclingNormalizedUnit, type DoclingProvenanceLike, DocumentChunk, DocumentSourceNode, 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 EmployersLiabilityLimits, EmployersLiabilityLimitsSchema, type Endorsement, type EndorsementParty, type EndorsementPartyRole, EndorsementPartyRoleSchema, EndorsementPartySchema, EndorsementSchema, type EndorsementType, EndorsementTypeSchema, type EnrichedCoverage, EnrichedCoverageSchema, type EnrichedSubjectivity, EnrichedSubjectivitySchema, type EnrichedUnderwritingCondition, EnrichedUnderwritingConditionSchema, type EntityType, EntityTypeSchema, type EvidenceItem, EvidenceItemSchema, type Exclusion, ExclusionSchema, type ExperienceMod, ExperienceModSchema, type ExtendedReportingPeriod, ExtendedReportingPeriodSchema, type ExtractOptions, type ExtractionInput, type ExtractionResult, type ExtractionState, type ExtractionV3Result, type ExtractorConfig, type ExtractorDef, FLOOD_ZONES, FOUNDATION_TYPES, type FarmRanchDeclarations, FarmRanchDeclarationsSchema, type FieldMapping, type FloodDeclarations, FloodDeclarationsSchema, type FloodZone, FloodZoneSchema, type FormReference, FormReferenceSchema, type FoundationType, FoundationTypeSchema, type GLDeclarations, GLDeclarationsSchema, GenerateObject, type GeneratePceSubmissionPacketInput, GenerateText, HOMEOWNERS_FORM_TYPES, type HomeownersDeclarations, HomeownersDeclarationsSchema, type HomeownersFormType, HomeownersFormTypeSchema, type IdentityTheftDeclarations, IdentityTheftDeclarationsSchema, InsuranceDocument, type InsuredLocation, InsuredLocationSchema, type InsuredVehicle, InsuredVehicleSchema, type InsurerInfo, InsurerInfoSchema, LIMIT_TYPES, LOSS_SETTLEMENTS, type LimitSchedule, LimitScheduleSchema, type LimitType, LimitTypeSchema, type LocationPremium, LocationPremiumSchema, LogFn, type LossSettlement, LossSettlementSchema, type LossSummary, LossSummarySchema, MemorySourceStore, MemoryStore, type MissingInfoQuestion, MissingInfoQuestionSchema, ModelBudgetConstraint, ModelBudgetResolution, ModelCapabilities, ModelTaskKind, type NamedInsured, NamedInsuredSchema, type NormalizedDoclingDocument, type OrderableSourceEvidence, PERSONAL_AUTO_USAGES, PET_SPECIES, POLICY_SECTION_TYPES, POLICY_TERM_TYPES, POLICY_TYPES, type PaymentInstallment, PaymentInstallmentSchema, type PaymentPlan, PaymentPlanSchema, type PceAgentConfig, type PceCaseState, PceCaseStateSchema, type PceEvidenceSource, type PceExecutionModePreference, type PceMissingInfoQuestion, type PceNormalizationResult, PceNormalizationResultSchema, type PceQualityGateStatus, type PceQualityReport, type PceSubmissionPacket, PceSubmissionPacketSchema, type PceValidationIssue, PdfInput, PerformanceReport, type PersonalArticlesDeclarations, PersonalArticlesDeclarationsSchema, type PersonalAutoDeclarations, PersonalAutoDeclarationsSchema, type PersonalAutoUsage, PersonalAutoUsageSchema, type PersonalUmbrellaDeclarations, PersonalUmbrellaDeclarationsSchema, type PersonalVehicleDetails, PersonalVehicleDetailsSchema, type PetDeclarations, PetDeclarationsSchema, type PetSpecies, PetSpeciesSchema, type PipelineCheckpoint, type PipelineContext, type PipelineContextOptions, Platform, type PolicyChangeAction, PolicyChangeActionSchema, type PolicyChangeConfidence, PolicyChangeConfidenceSchema, type PolicyChangeImpact, PolicyChangeImpactSchema, type PolicyChangeItem, PolicyChangeItemSchema, type PolicyChangeKind, PolicyChangeKindSchema, type PolicyChangeMissingInfoQuestion, type PolicyChangePacket, type PolicyChangeRequest, PolicyChangeRequestSchema, type PolicyChangeState, type PolicyChangeStatus, PolicyChangeStatusSchema, type PolicyChangeValidationIssue, type PolicyCondition, PolicyConditionSchema, PolicyOperationalProfile, type PolicySectionType, PolicySectionTypeSchema, type PolicyTermType, PolicyTermTypeSchema, type PolicyType, PolicyTypeSchema, type ProcessPceChangeRequestInput, type ProcessPceChangeRequestResult, type ProcessPceReplyInput, type ProcessPceReplyResult, type ProducerInfo, ProducerInfoSchema, type ProfessionalLiabilityDeclarations, ProfessionalLiabilityDeclarationsSchema, QUOTE_SECTION_TYPES, type QueryAttachment, type QueryAttachmentKind, QueryAttachmentKindSchema, QueryAttachmentSchema, type QueryClassifyResult, QueryClassifyResultSchema, type QueryConfig, type QueryInput, type QueryIntent, QueryIntentSchema, type QueryOutput, type QueryResult, QueryResultSchema, type QueryRetrievalMode, QueryRetrievalModeSchema, type QuoteSectionType, QuoteSectionTypeSchema, RATING_BASIS_TYPES, ROOF_TYPES, type RVType, RVTypeSchema, RV_TYPES, type RatingBasis, RatingBasisSchema, type RatingBasisType, RatingBasisTypeSchema, type RecreationalVehicleDeclarations, RecreationalVehicleDeclarationsSchema, type RetrievalResult, RetrievalResultSchema, type RoofType, RoofTypeSchema, SCHEDULED_ITEM_CATEGORIES, SUBJECTIVITY_CATEGORIES, type SafeGenerateOptions, type SafeGenerateParams, type ScheduledItemCategory, ScheduledItemCategorySchema, type SectionSourceSpanOptions, type SharedLimit, SharedLimitSchema, SourceChunk, type SourceChunkOptions, SourceKind, type SourceNodeRetrievalResult, type SourcePageInput, type SourceRetrievalMode, type SourceRetrievalQuery, type SourceRetrievalResult, type SourceRetriever, SourceSpan, SourceSpanBBox, type SourceSpanIdInput, SourceSpanLocation, SourceSpanTableLocation, SourceSpanUnit, type SourceStore, type SourceTextUnitInput, type SubAnswer, SubAnswerSchema, type SubQuestion, SubQuestionSchema, type SubjectivityCategory, SubjectivityCategorySchema, type Sublimit, SublimitSchema, TITLE_POLICY_TYPES, type TaxFeeItem, TaxFeeItemSchema, type TextOverlay, type TitleDeclarations, TitleDeclarationsSchema, type TitlePolicyType, TitlePolicyTypeSchema, TokenUsage, type ToolDefinition, type TravelDeclarations, TravelDeclarationsSchema, type UmbrellaExcessDeclarations, UmbrellaExcessDeclarationsSchema, VALUATION_METHODS, VEHICLE_COVERAGE_TYPES, type ValidationIssueSeverity, ValidationIssueSeveritySchema, type ValuationMethod, ValuationMethodSchema, type VehicleCoverage, VehicleCoverageSchema, type VehicleCoverageType, VehicleCoverageTypeSchema, type VerifyResult, VerifyResultSchema, type WatercraftDeclarations, WatercraftDeclarationsSchema, type WorkersCompDeclarations, WorkersCompDeclarationsSchema, buildAcroFormMappingPrompt, buildAgentSystemPrompt, buildAnswerParsingPrompt, buildAutoFillPrompt, buildBatchEmailGenerationPrompt, buildClassifyMessagePrompt, buildCoiRoutingPrompt, buildConfirmationSummaryPrompt, buildConversationMemoryGuidance, buildCoverageGapPrompt, buildDeterministicOperationalProfile, buildDoclingProviderOptions, buildDocumentSourceTree, buildFieldExplanationPrompt, buildFieldExtractionPrompt, buildFlatPdfMappingPrompt, buildFormattingPrompt, buildIdentityPrompt, buildIntentPrompt, buildInterpretAttachmentPrompt, buildLookupFillPrompt, buildPageSourceSpans, buildPceNormalizePrompt, buildPceQualityReport, buildPceReplyPrompt, buildPceSubmissionPacket, buildPdfProviderOptions, buildQueryClassifyPrompt, buildQuestionBatchPrompt, buildQuotesPoliciesPrompt, buildReasonPrompt, buildReplyIntentClassificationPrompt, buildRespondPrompt, buildSafetyPrompt, buildSectionSourceSpans, buildSourceSpan, buildSourceSpanId, buildTextSourceSpans, buildVerifyPrompt, chunkDocument, chunkSourceSpans, collectPceEvidenceSources, compareSourceEvidence, createExtractor, createPceAgent, createPipelineContext, createQueryAgent, evaluateCaseProposals, evidenceContainsQuote, extractPageRange, fillAcroForm, generateNextMessage, getAcroFormFields, getDoclingPageRangeText, getExtractor, getFileIdentifier, getPdfPageCount, getTemplate, isDoclingExtractionInput, isFileReference, mergeOperationalProfile, mergeQuestionAnswers, mergeSourceSpans, normalizeDoclingDocument, normalizeDocumentSourceTreePaths, normalizeForMatch, normalizeSourceSpans, orderSourceEvidence, overlayTextOnPdf, pLimit, pdfInputToBase64, pdfInputToBytes, processReply, safeGenerateObject, sanitizeNulls, scoreCaseProposal, selectPceExecutionMode, sourceSpanTextHash, stableCaseId, stableHash, stablePolicyChangeItemId, stableStringify, stripFences, toStrictSchema, validateEvidence, validatePceItems, validateQuotedEvidence, withRetry };
10045
+ export { ADMITTED_STATUSES, AGENT_TOOLS, APPLICATION_CLASSIFY_PROMPT, AUDIT_TYPES, type AcroFormFieldInfo, type Address, AddressSchema, type AdmittedStatus, AdmittedStatusSchema, AgentContext, type AgenticExecutionMode, AgenticExecutionModeSchema, type AnswerMergeResult, type AttachmentInterpretation, AttachmentInterpretationSchema, type AuditType, AuditTypeSchema, BOAT_TYPES, type BindingAuthority, BindingAuthoritySchema, type BoatType, BoatTypeSchema, CHUNK_TYPES, CLAIM_STATUSES, COI_GENERATION_TOOL, CONDITION_TYPES, CONSTRUCTION_TYPES, CONTEXT_KEY_MAP, COVERAGE_COMPARISON_TOOL, COVERAGE_FORMS, COVERAGE_TRIGGERS, type CaseAction, CaseActionSchema, type CaseCitation, CaseCitationSchema, type CaseEvidence, type CaseEvidenceSource, CaseEvidenceSourceSchema, type CaseField, type CaseItem, type CasePacketArtifact, type CasePacketArtifactKind, CasePacketArtifactKindSchema, CasePacketArtifactSchema, type CaseProposal, CaseProposalSchema, type CaseProposalScore, CaseProposalScoreSchema, type CaseState, type CaseSubmissionPacket, CaseSubmissionPacketSchema, type CaseValidationIssue, CaseValidationIssueSchema, type CaseWorkflowPlan, type ChunkType, ChunkTypeSchema, type Citation, CitationSchema, type ClaimRecord, ClaimRecordSchema, type ClaimStatus, ClaimStatusSchema, type ClassificationCode, ClassificationCodeSchema, type CommercialAutoDeclarations, CommercialAutoDeclarationsSchema, type CommercialPropertyDeclarations, CommercialPropertyDeclarationsSchema, ConditionKeyValueSchema, type ConditionType, ConditionTypeSchema, type ConstructionType, ConstructionTypeSchema, type Contact, ContactSchema, type ContextKeyMapping, 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 DoclingDocumentLike, type DoclingExtractionInput, type DoclingItemLike, type DoclingNodeLike, type DoclingNormalizedUnit, type DoclingProvenanceLike, DocumentChunk, DocumentSourceNode, 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 EmployersLiabilityLimits, EmployersLiabilityLimitsSchema, type Endorsement, type EndorsementParty, type EndorsementPartyRole, EndorsementPartyRoleSchema, EndorsementPartySchema, EndorsementSchema, type EndorsementType, EndorsementTypeSchema, type EnrichedCoverage, EnrichedCoverageSchema, type EnrichedSubjectivity, EnrichedSubjectivitySchema, type EnrichedUnderwritingCondition, EnrichedUnderwritingConditionSchema, type EntityType, EntityTypeSchema, type EvidenceItem, EvidenceItemSchema, type Exclusion, ExclusionSchema, type ExperienceMod, ExperienceModSchema, type ExtendedReportingPeriod, ExtendedReportingPeriodSchema, type ExtractOptions, type ExtractionInput, type ExtractionResult, type ExtractionState, type ExtractionV3Result, type ExtractorConfig, type ExtractorDef, FLOOD_ZONES, FOUNDATION_TYPES, type FarmRanchDeclarations, FarmRanchDeclarationsSchema, type FieldMapping, type FloodDeclarations, FloodDeclarationsSchema, type FloodZone, FloodZoneSchema, type FormReference, FormReferenceSchema, type FoundationType, FoundationTypeSchema, type GLDeclarations, GLDeclarationsSchema, GenerateObject, type GeneratePceSubmissionPacketInput, GenerateText, HOMEOWNERS_FORM_TYPES, type HomeownersDeclarations, HomeownersDeclarationsSchema, type HomeownersFormType, HomeownersFormTypeSchema, type IdentityTheftDeclarations, IdentityTheftDeclarationsSchema, InsuranceDocument, type InsuredLocation, InsuredLocationSchema, type InsuredVehicle, InsuredVehicleSchema, type InsurerInfo, InsurerInfoSchema, LIMIT_TYPES, LOSS_SETTLEMENTS, type LimitSchedule, LimitScheduleSchema, type LimitType, LimitTypeSchema, type LocationPremium, LocationPremiumSchema, LogFn, type LossSettlement, LossSettlementSchema, type LossSummary, LossSummarySchema, MemorySourceStore, MemoryStore, type MissingInfoQuestion, MissingInfoQuestionSchema, ModelBudgetConstraint, ModelBudgetResolution, ModelCapabilities, ModelTaskKind, type NamedInsured, NamedInsuredSchema, type NormalizedDoclingDocument, type OrderableSourceEvidence, PERSONAL_AUTO_USAGES, PET_SPECIES, POLICY_SECTION_TYPES, POLICY_TERM_TYPES, POLICY_TYPES, type PaymentInstallment, PaymentInstallmentSchema, type PaymentPlan, PaymentPlanSchema, type PceAgentConfig, type PceCaseState, PceCaseStateSchema, type PceEvidenceSource, type PceExecutionModePreference, type PceMissingInfoQuestion, type PceNormalizationResult, PceNormalizationResultSchema, type PceQualityGateStatus, type PceQualityReport, type PceSubmissionPacket, PceSubmissionPacketSchema, type PceValidationIssue, PdfInput, PerformanceReport, type PersonalArticlesDeclarations, PersonalArticlesDeclarationsSchema, type PersonalAutoDeclarations, PersonalAutoDeclarationsSchema, type PersonalAutoUsage, PersonalAutoUsageSchema, type PersonalUmbrellaDeclarations, PersonalUmbrellaDeclarationsSchema, type PersonalVehicleDetails, PersonalVehicleDetailsSchema, type PetDeclarations, PetDeclarationsSchema, type PetSpecies, PetSpeciesSchema, type PipelineCheckpoint, type PipelineContext, type PipelineContextOptions, Platform, type PolicyChangeAction, PolicyChangeActionSchema, type PolicyChangeConfidence, PolicyChangeConfidenceSchema, type PolicyChangeImpact, PolicyChangeImpactSchema, type PolicyChangeItem, PolicyChangeItemSchema, type PolicyChangeKind, PolicyChangeKindSchema, type PolicyChangeMissingInfoQuestion, type PolicyChangePacket, type PolicyChangeRequest, PolicyChangeRequestSchema, type PolicyChangeState, type PolicyChangeStatus, PolicyChangeStatusSchema, type PolicyChangeValidationIssue, type PolicyCondition, PolicyConditionSchema, PolicyOperationalProfile, type PolicySectionType, PolicySectionTypeSchema, type PolicyTermType, PolicyTermTypeSchema, type PolicyType, PolicyTypeSchema, type ProcessPceChangeRequestInput, type ProcessPceChangeRequestResult, type ProcessPceReplyInput, type ProcessPceReplyResult, type ProducerInfo, ProducerInfoSchema, type ProfessionalLiabilityDeclarations, ProfessionalLiabilityDeclarationsSchema, QUOTE_SECTION_TYPES, type QueryAttachment, type QueryAttachmentKind, QueryAttachmentKindSchema, QueryAttachmentSchema, type QueryClassifyResult, QueryClassifyResultSchema, type QueryConfig, type QueryInput, type QueryIntent, QueryIntentSchema, type QueryOutput, type QueryResult, QueryResultSchema, type QueryRetrievalMode, QueryRetrievalModeSchema, type QuoteSectionType, QuoteSectionTypeSchema, RATING_BASIS_TYPES, ROOF_TYPES, type RVType, RVTypeSchema, RV_TYPES, type RatingBasis, RatingBasisSchema, type RatingBasisType, RatingBasisTypeSchema, type RecreationalVehicleDeclarations, RecreationalVehicleDeclarationsSchema, type RetrievalResult, RetrievalResultSchema, type RoofType, RoofTypeSchema, SCHEDULED_ITEM_CATEGORIES, SUBJECTIVITY_CATEGORIES, type SafeGenerateOptions, type SafeGenerateParams, type ScheduledItemCategory, ScheduledItemCategorySchema, type SectionSourceSpanOptions, type SharedLimit, SharedLimitSchema, type SourceBackedAddress, SourceBackedAddressSchema, SourceChunk, type SourceChunkOptions, SourceKind, type SourceNodeRetrievalResult, type SourcePageInput, type SourceProvenance, SourceProvenanceSchema, type SourceRetrievalMode, type SourceRetrievalQuery, type SourceRetrievalResult, type SourceRetriever, SourceSpan, SourceSpanBBox, type SourceSpanIdInput, SourceSpanLocation, SourceSpanTableLocation, SourceSpanUnit, type SourceStore, type SourceTextUnitInput, type SubAnswer, SubAnswerSchema, type SubQuestion, SubQuestionSchema, type SubjectivityCategory, SubjectivityCategorySchema, type Sublimit, SublimitSchema, TITLE_POLICY_TYPES, type TaxFeeItem, TaxFeeItemSchema, type TextOverlay, type TitleDeclarations, TitleDeclarationsSchema, type TitlePolicyType, TitlePolicyTypeSchema, TokenUsage, type ToolDefinition, type TravelDeclarations, TravelDeclarationsSchema, type UmbrellaExcessDeclarations, UmbrellaExcessDeclarationsSchema, VALUATION_METHODS, VEHICLE_COVERAGE_TYPES, type ValidationIssueSeverity, ValidationIssueSeveritySchema, type ValuationMethod, ValuationMethodSchema, type VehicleCoverage, VehicleCoverageSchema, type VehicleCoverageType, VehicleCoverageTypeSchema, type VerifyResult, VerifyResultSchema, type WatercraftDeclarations, WatercraftDeclarationsSchema, type WorkersCompDeclarations, WorkersCompDeclarationsSchema, buildAcroFormMappingPrompt, buildAgentSystemPrompt, buildAnswerParsingPrompt, buildAutoFillPrompt, buildBatchEmailGenerationPrompt, buildClassifyMessagePrompt, buildCoiRoutingPrompt, buildConfirmationSummaryPrompt, buildConversationMemoryGuidance, buildCoverageGapPrompt, buildDeterministicOperationalProfile, buildDoclingProviderOptions, buildDocumentSourceTree, buildFieldExplanationPrompt, buildFieldExtractionPrompt, buildFlatPdfMappingPrompt, buildFormattingPrompt, buildIdentityPrompt, buildIntentPrompt, buildInterpretAttachmentPrompt, buildLookupFillPrompt, buildPageSourceSpans, buildPceNormalizePrompt, buildPceQualityReport, buildPceReplyPrompt, buildPceSubmissionPacket, buildPdfProviderOptions, buildQueryClassifyPrompt, buildQuestionBatchPrompt, buildQuotesPoliciesPrompt, buildReasonPrompt, buildReplyIntentClassificationPrompt, buildRespondPrompt, buildSafetyPrompt, buildSectionSourceSpans, buildSourceSpan, buildSourceSpanId, buildTextSourceSpans, buildVerifyPrompt, chunkDocument, chunkSourceSpans, collectPceEvidenceSources, compareSourceEvidence, createExtractor, createPceAgent, createPipelineContext, createQueryAgent, evaluateCaseProposals, evidenceContainsQuote, extractPageRange, fillAcroForm, generateNextMessage, getAcroFormFields, getDoclingPageRangeText, getExtractor, getFileIdentifier, getPdfPageCount, getTemplate, isDoclingExtractionInput, isFileReference, mergeOperationalProfile, mergeQuestionAnswers, mergeSourceSpans, normalizeDoclingDocument, normalizeDocumentSourceTreePaths, normalizeForMatch, normalizeSourceSpans, orderSourceEvidence, overlayTextOnPdf, pLimit, pdfInputToBase64, pdfInputToBytes, processReply, safeGenerateObject, sanitizeNulls, scoreCaseProposal, selectPceExecutionMode, sourceSpanTextHash, stableCaseId, stableHash, stablePolicyChangeItemId, stableStringify, stripFences, toStrictSchema, validateEvidence, validatePceItems, validateQuotedEvidence, withRetry };