@claritylabs/cl-sdk 4.3.0 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { L as LogFn, M as ModelTaskKind, a as ModelBudgetResolution, b as ModelCallTrace, G as GenerateObject, T as TokenUsage, O as OperationalCoverageLine, S as SourceSpanLocation, c as SourceSpan, D as DocumentSourceNode, d as SourceKind, e as SourceSpanUnit, f as SourceSpanTableLocation, g as SourceChunk, h as SourceSpanBBox, U as UnifiedQualityReport, B as BaseQualityIssue, Q as QualityGateStatus, P as PdfInput, I as InsuranceDocument, i as DocumentChunk, j as PolicyOperationalProfile, k as PerformanceReport, l as QualityGateMode, m as ModelCapabilities, n as ModelBudgetConstraint, A as AgentContext, o as GenerateText, p as DocumentStore, q as MemoryStore, r as Platform } from './index-DhA-5jZy.js';
2
- export { s as AcroFormMapping, t as AcroFormMappingSchema, u as AnswerParsingResult, v as AnswerParsingResultSchema, w as ApplicationClassifyResult, x as ApplicationClassifyResultSchema, y as ApplicationContextProposal, z as ApplicationContextProposalSchema, C as ApplicationEmailReviewSchema, E as ApplicationField, F as ApplicationFieldSchema, H as ApplicationListFilters, J as ApplicationNextQuestions, K as ApplicationPacket, N as ApplicationPacketAnswer, R as ApplicationPacketAnswerSchema, V as ApplicationPacketSchema, W as ApplicationPipelineConfig, X as ApplicationQualityArtifactSchema, Y as ApplicationQualityIssueSchema, Z as ApplicationQualityReportSchema, _ as ApplicationQualityRoundSchema, $ as ApplicationQuestionCondition, a0 as ApplicationQuestionConditionSchema, a1 as ApplicationQuestionGraph, a2 as ApplicationQuestionGraphSchema, a3 as ApplicationQuestionNode, a4 as ApplicationQuestionNodeSchema, a5 as ApplicationRepeat, a6 as ApplicationRepeatSchema, a7 as ApplicationState, a8 as ApplicationStateSchema, a9 as ApplicationStore, aa as ApplicationTemplate, ab as ApplicationTemplateListFilters, ac as ApplicationTemplateSchema, ad as ApplicationTemplateStore, ae as AutoFillMatch, af as AutoFillMatchSchema, ag as AutoFillResult, ah as AutoFillResultSchema, ai as AuxiliaryFact, aj as AuxiliaryFactSchema, ak as BackfillProvider, al as BuildApplicationPacketInput, am as BuildApplicationPacketResult, an as ChunkFilter, ao as CommunicationIntent, ap as CommunicationIntentSchema, aq as ContextProposalResult, ar as ConversationTurn, as as ConvertPdfToImagesFn, at as CoveredReason, au as CoveredReasonSchema, av as CreateApplicationRunInput, aw as Definition, ax as DefinitionSchema, ay as DocumentAgentGuidance, az as DocumentAgentGuidanceSchema, aA as DocumentFilters, aB as DocumentMetadata, aC as DocumentMetadataSchema, aD as DocumentNode, aE as DocumentNodeSchema, aF as DocumentPageMapEntry, aG as DocumentPageMapEntrySchema, aH as DocumentSourceNodeKind, aI as DocumentSourceNodeKindSchema, aJ as DocumentSourceNodeSchema, aK as DocumentTableOfContentsEntry, aL as DocumentTableOfContentsEntrySchema, aM as EmbedText, aN as FieldExtractionResult, aO as FieldExtractionResultSchema, aP as FieldType, aQ as FieldTypeSchema, aR as FlatPdfPlacement, aS as FlatPdfPlacementSchema, aT as InsuranceDocumentSchema, aU as LookupFill, aV as LookupFillResult, aW as LookupFillResultSchema, aX as LookupFillSchema, aY as LookupRequest, aZ as LookupRequestSchema, a_ as ModelCallReport, a$ as OperationalAddress, b0 as OperationalAddressSchema, b1 as OperationalCoverageLineSchema, b2 as OperationalCoverageTerm, b3 as OperationalCoverageTermSchema, b4 as OperationalDeclarationFact, b5 as OperationalDeclarationFactSchema, b6 as OperationalEndorsementSupport, b7 as OperationalEndorsementSupportSchema, b8 as OperationalParty, b9 as OperationalPartySchema, ba as PLATFORM_CONFIGS, bb as ParsedAnswer, bc as ParsedAnswerSchema, bd as PlatformConfig, be as PlatformSchema, bf as PolicyDocument, bg as PolicyDocumentSchema, bh as PolicyOperationalProfileSchema, bi as PremiumLine, bj as PremiumLineSchema, bk as PriorAnswer, bl as ProcessApplicationInput, bm as ProcessApplicationResult, bn as ProcessReplyInput, bo as ProcessReplyResult, bp as QuestionBatchResult, bq as QuestionBatchResultSchema, br as QuoteDocument, bs as QuoteDocumentSchema, bt as ReplyIntent, bu as ReplyIntentSchema, bv as ResolveModelBudgetParams, bw as Section, bx as SectionSchema, by as SourceBackedValue, bz as SourceBackedValueSchema, bA as SourceChunkSchema, bB as SourceKindSchema, bC as SourceSpanBBoxSchema, bD as SourceSpanKind, bE as SourceSpanKindSchema, bF as SourceSpanLocationSchema, bG as SourceSpanRef, bH as SourceSpanRefSchema, bI as SourceSpanSchema, bJ as SourceSpanTableLocationSchema, bK as SourceSpanUnitSchema, bL as Subjectivity, bM as SubjectivitySchema, bN as Subsection, bO as SubsectionSchema, bP as UnderwritingCondition, bQ as UnderwritingConditionSchema, bR as applyApplicationAnswers, bS as buildApplicationPacket, bT as buildQuestionGraphFromFields, bU as createApplicationPipeline, bV as createApplicationRun, bW as extractQuestionGraphFromFields, bX as flattenQuestionGraph, bY as getActiveApplicationFields, bZ as getNextApplicationQuestions, b_ as normalizeApplicationQuestionGraph, b$ as planNextApplicationQuestions, c0 as proposeContextWrites, c1 as resolveModelBudget, c2 as validateApplicationPacket } from './index-DhA-5jZy.js';
1
+ import { L as LogFn, M as ModelTaskKind, a as ModelBudgetResolution, b as ModelCallTrace, G as GenerateObject, T as TokenUsage, O as OperationalCoverageLine, S as SourceSpanLocation, c as SourceSpan, D as DocumentSourceNode, d as SourceKind, e as SourceSpanUnit, f as SourceSpanTableLocation, g as SourceChunk, h as SourceSpanBBox, U as UnifiedQualityReport, B as BaseQualityIssue, Q as QualityGateStatus, P as PolicyOperationalProfile, i as PerformanceReport, j as ModelCapabilities, k as ModelBudgetConstraint, l as PdfInput, I as InsuranceDocument, m as DocumentChunk, n as QualityGateMode, A as AgentContext, o as GenerateText, p as DocumentStore, q as MemoryStore, r as Platform } from './index-CReSzyKJ.js';
2
+ export { s as AcroFormMapping, t as AcroFormMappingSchema, u as AnswerParsingResult, v as AnswerParsingResultSchema, w as ApplicationClassifyResult, x as ApplicationClassifyResultSchema, y as ApplicationContextProposal, z as ApplicationContextProposalSchema, C as ApplicationEmailReviewSchema, E as ApplicationField, F as ApplicationFieldSchema, H as ApplicationListFilters, J as ApplicationNextQuestions, K as ApplicationPacket, N as ApplicationPacketAnswer, R as ApplicationPacketAnswerSchema, V as ApplicationPacketSchema, W as ApplicationPipelineConfig, X as ApplicationQualityArtifactSchema, Y as ApplicationQualityIssueSchema, Z as ApplicationQualityReportSchema, _ as ApplicationQualityRoundSchema, $ as ApplicationQuestionCondition, a0 as ApplicationQuestionConditionSchema, a1 as ApplicationQuestionGraph, a2 as ApplicationQuestionGraphSchema, a3 as ApplicationQuestionNode, a4 as ApplicationQuestionNodeSchema, a5 as ApplicationRepeat, a6 as ApplicationRepeatSchema, a7 as ApplicationState, a8 as ApplicationStateSchema, a9 as ApplicationStore, aa as ApplicationTemplate, ab as ApplicationTemplateListFilters, ac as ApplicationTemplateSchema, ad as ApplicationTemplateStore, ae as AutoFillMatch, af as AutoFillMatchSchema, ag as AutoFillResult, ah as AutoFillResultSchema, ai as AuxiliaryFact, aj as AuxiliaryFactSchema, ak as BackfillProvider, al as BuildApplicationPacketInput, am as BuildApplicationPacketResult, an as ChunkFilter, ao as CommunicationIntent, ap as CommunicationIntentSchema, aq as ContextProposalResult, ar as ConversationTurn, as as ConvertPdfToImagesFn, at as CoveredReason, au as CoveredReasonSchema, av as CreateApplicationRunInput, aw as Definition, ax as DefinitionSchema, ay as DocumentAgentGuidance, az as DocumentAgentGuidanceSchema, aA as DocumentFilters, aB as DocumentMetadata, aC as DocumentMetadataSchema, aD as DocumentNode, aE as DocumentNodeSchema, aF as DocumentPageMapEntry, aG as DocumentPageMapEntrySchema, aH as DocumentSourceNodeKind, aI as DocumentSourceNodeKindSchema, aJ as DocumentSourceNodeSchema, aK as DocumentTableOfContentsEntry, aL as DocumentTableOfContentsEntrySchema, aM as EmbedText, aN as FieldExtractionResult, aO as FieldExtractionResultSchema, aP as FieldType, aQ as FieldTypeSchema, aR as FlatPdfPlacement, aS as FlatPdfPlacementSchema, aT as InsuranceDocumentSchema, aU as LookupFill, aV as LookupFillResult, aW as LookupFillResultSchema, aX as LookupFillSchema, aY as LookupRequest, aZ as LookupRequestSchema, a_ as ModelCallReport, a$ as OperationalAddress, b0 as OperationalAddressSchema, b1 as OperationalCoverageLineSchema, b2 as OperationalCoverageSchedule, b3 as OperationalCoverageScheduleItem, b4 as OperationalCoverageScheduleItemSchema, b5 as OperationalCoverageScheduleSchema, b6 as OperationalCoverageScheduleValue, b7 as OperationalCoverageScheduleValueSchema, b8 as OperationalCoverageTerm, b9 as OperationalCoverageTermSchema, ba as OperationalDeclarationFact, bb as OperationalDeclarationFactSchema, bc as OperationalEndorsementSupport, bd as OperationalEndorsementSupportSchema, be as OperationalParty, bf as OperationalPartySchema, bg as OperationalPremiumLine, bh as OperationalPremiumLineSchema, bi as OperationalTaxFeeItem, bj as OperationalTaxFeeItemSchema, bk as PLATFORM_CONFIGS, bl as ParsedAnswer, bm as ParsedAnswerSchema, bn as PlatformConfig, bo as PlatformSchema, bp as PolicyDocument, bq as PolicyDocumentSchema, br as PolicyOperationalProfileSchema, bs as PremiumLine, bt as PremiumLineSchema, bu as PriorAnswer, bv as ProcessApplicationInput, bw as ProcessApplicationResult, bx as ProcessReplyInput, by as ProcessReplyResult, bz as QuestionBatchResult, bA as QuestionBatchResultSchema, bB as QuoteDocument, bC as QuoteDocumentSchema, bD as ReplyIntent, bE as ReplyIntentSchema, bF as ResolveModelBudgetParams, bG as Section, bH as SectionSchema, bI as SourceBackedValue, bJ as SourceBackedValueSchema, bK as SourceChunkSchema, bL as SourceKindSchema, bM as SourceSpanBBoxSchema, bN as SourceSpanKind, bO as SourceSpanKindSchema, bP as SourceSpanLocationSchema, bQ as SourceSpanRef, bR as SourceSpanRefSchema, bS as SourceSpanSchema, bT as SourceSpanTableLocationSchema, bU as SourceSpanUnitSchema, bV as Subjectivity, bW as SubjectivitySchema, bX as Subsection, bY as SubsectionSchema, bZ as UnderwritingCondition, b_ as UnderwritingConditionSchema, b$ as applyApplicationAnswers, c0 as buildApplicationPacket, c1 as buildQuestionGraphFromFields, c2 as createApplicationPipeline, c3 as createApplicationRun, c4 as extractQuestionGraphFromFields, c5 as flattenQuestionGraph, c6 as getActiveApplicationFields, c7 as getNextApplicationQuestions, c8 as normalizeApplicationQuestionGraph, c9 as planNextApplicationQuestions, ca as proposeContextWrites, cb as resolveModelBudget, cc as validateApplicationPacket } from './index-CReSzyKJ.js';
3
3
  import * as zod from 'zod';
4
4
  import { ZodTypeAny, z, ZodSchema } from 'zod';
5
5
  import { PDFDocument } from 'pdf-lib';
@@ -6635,21 +6635,21 @@ declare const CaseEvidenceSourceSchema: z.ZodObject<{
6635
6635
  text: z.ZodString;
6636
6636
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6637
6637
  }, "strip", z.ZodTypeAny, {
6638
- id: string;
6639
6638
  text: string;
6639
+ id: string;
6640
6640
  page?: number | undefined;
6641
- label?: string | undefined;
6642
- documentId?: string | undefined;
6643
6641
  fieldPath?: string | undefined;
6642
+ documentId?: string | undefined;
6644
6643
  metadata?: Record<string, string> | undefined;
6644
+ label?: string | undefined;
6645
6645
  }, {
6646
- id: string;
6647
6646
  text: string;
6647
+ id: string;
6648
6648
  page?: number | undefined;
6649
- label?: string | undefined;
6650
- documentId?: string | undefined;
6651
6649
  fieldPath?: string | undefined;
6650
+ documentId?: string | undefined;
6652
6651
  metadata?: Record<string, string> | undefined;
6652
+ label?: string | undefined;
6653
6653
  }>;
6654
6654
  type CaseEvidenceSource = z.infer<typeof CaseEvidenceSourceSchema>;
6655
6655
  declare const CaseCitationSchema: z.ZodObject<{
@@ -6743,8 +6743,8 @@ declare const CasePacketArtifactSchema: z.ZodObject<{
6743
6743
  }, "strip", z.ZodTypeAny, {
6744
6744
  title: string;
6745
6745
  content: string;
6746
- kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
6747
6746
  id: string;
6747
+ kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
6748
6748
  citations: {
6749
6749
  quote: string;
6750
6750
  sourceId: string;
@@ -6754,8 +6754,8 @@ declare const CasePacketArtifactSchema: z.ZodObject<{
6754
6754
  }, {
6755
6755
  title: string;
6756
6756
  content: string;
6757
- kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
6758
6757
  id: string;
6758
+ kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
6759
6759
  citations?: {
6760
6760
  quote: string;
6761
6761
  sourceId: string;
@@ -6791,8 +6791,8 @@ declare const CaseSubmissionPacketSchema: z.ZodObject<{
6791
6791
  }, "strip", z.ZodTypeAny, {
6792
6792
  title: string;
6793
6793
  content: string;
6794
- kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
6795
6794
  id: string;
6795
+ kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
6796
6796
  citations: {
6797
6797
  quote: string;
6798
6798
  sourceId: string;
@@ -6802,8 +6802,8 @@ declare const CaseSubmissionPacketSchema: z.ZodObject<{
6802
6802
  }, {
6803
6803
  title: string;
6804
6804
  content: string;
6805
- kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
6806
6805
  id: string;
6806
+ kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
6807
6807
  citations?: {
6808
6808
  quote: string;
6809
6809
  sourceId: string;
@@ -6862,8 +6862,8 @@ declare const CaseSubmissionPacketSchema: z.ZodObject<{
6862
6862
  artifacts: {
6863
6863
  title: string;
6864
6864
  content: string;
6865
- kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
6866
6865
  id: string;
6866
+ kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
6867
6867
  citations: {
6868
6868
  quote: string;
6869
6869
  sourceId: string;
@@ -6894,8 +6894,8 @@ declare const CaseSubmissionPacketSchema: z.ZodObject<{
6894
6894
  artifacts: {
6895
6895
  title: string;
6896
6896
  content: string;
6897
- kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
6898
6897
  id: string;
6898
+ kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
6899
6899
  citations?: {
6900
6900
  quote: string;
6901
6901
  sourceId: string;
@@ -7003,6 +7003,7 @@ declare const CaseProposalSchema: z.ZodObject<{
7003
7003
  }, "strip", z.ZodTypeAny, {
7004
7004
  sourceSpanIds: string[];
7005
7005
  id: string;
7006
+ confidence: number;
7006
7007
  validationIssues: {
7007
7008
  code: string;
7008
7009
  message: string;
@@ -7011,7 +7012,6 @@ declare const CaseProposalSchema: z.ZodObject<{
7011
7012
  sourceId?: string | undefined;
7012
7013
  itemId?: string | undefined;
7013
7014
  }[];
7014
- confidence: number;
7015
7015
  missingInfo: string[];
7016
7016
  estimatedRisk: number;
7017
7017
  estimatedCost: number;
@@ -7163,17 +7163,17 @@ declare const PolicyChangeItemSchema: z.ZodObject<{
7163
7163
  }, "strip", z.ZodTypeAny, {
7164
7164
  status: "draft" | "needs_info" | "ready" | "blocked";
7165
7165
  sourceSpanIds: string[];
7166
- label: string;
7167
- kind: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement";
7168
- id: string;
7169
7166
  fieldPath: string;
7167
+ id: string;
7168
+ kind: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement";
7169
+ confidence: "low" | "medium" | "high";
7170
+ label: string;
7170
7171
  citations: {
7171
7172
  quote: string;
7172
7173
  sourceId: string;
7173
7174
  page?: number | undefined;
7174
7175
  fieldPath?: string | undefined;
7175
7176
  }[];
7176
- confidence: "low" | "medium" | "high";
7177
7177
  action: "add" | "remove" | "update" | "replace" | "clarify";
7178
7178
  affectedPolicyId: string;
7179
7179
  sourceIds: string[];
@@ -7185,14 +7185,15 @@ declare const PolicyChangeItemSchema: z.ZodObject<{
7185
7185
  userSourceSpanIds?: string[] | undefined;
7186
7186
  confidenceScore?: number | undefined;
7187
7187
  }, {
7188
- label: string;
7189
- id: string;
7190
7188
  fieldPath: string;
7189
+ id: string;
7190
+ label: string;
7191
7191
  action: "add" | "remove" | "update" | "replace" | "clarify";
7192
7192
  status?: "draft" | "needs_info" | "ready" | "blocked" | undefined;
7193
7193
  sourceSpanIds?: string[] | undefined;
7194
7194
  effectiveDate?: string | undefined;
7195
7195
  kind?: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement" | undefined;
7196
+ confidence?: "low" | "medium" | "high" | undefined;
7196
7197
  reason?: string | undefined;
7197
7198
  citations?: {
7198
7199
  quote: string;
@@ -7200,7 +7201,6 @@ declare const PolicyChangeItemSchema: z.ZodObject<{
7200
7201
  page?: number | undefined;
7201
7202
  fieldPath?: string | undefined;
7202
7203
  }[] | undefined;
7203
- confidence?: "low" | "medium" | "high" | undefined;
7204
7204
  affectedPolicyId?: string | undefined;
7205
7205
  beforeValue?: string | undefined;
7206
7206
  afterValue?: string | undefined;
@@ -7251,16 +7251,16 @@ declare const PceNormalizationResultSchema: z.ZodObject<{
7251
7251
  status: z.ZodOptional<z.ZodEnum<["draft", "needs_info", "ready", "blocked"]>>;
7252
7252
  }, "strip", z.ZodTypeAny, {
7253
7253
  sourceSpanIds: string[];
7254
- label: string;
7255
- kind: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement";
7256
7254
  fieldPath: string;
7255
+ kind: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement";
7256
+ confidence: "low" | "medium" | "high";
7257
+ label: string;
7257
7258
  citations: {
7258
7259
  quote: string;
7259
7260
  sourceId: string;
7260
7261
  page?: number | undefined;
7261
7262
  fieldPath?: string | undefined;
7262
7263
  }[];
7263
- confidence: "low" | "medium" | "high";
7264
7264
  action: "add" | "remove" | "update" | "replace" | "clarify";
7265
7265
  affectedPolicyId: string;
7266
7266
  sourceIds: string[];
@@ -7274,14 +7274,15 @@ declare const PceNormalizationResultSchema: z.ZodObject<{
7274
7274
  userSourceSpanIds?: string[] | undefined;
7275
7275
  confidenceScore?: number | undefined;
7276
7276
  }, {
7277
- label: string;
7278
7277
  fieldPath: string;
7278
+ label: string;
7279
7279
  action: "add" | "remove" | "update" | "replace" | "clarify";
7280
7280
  status?: "draft" | "needs_info" | "ready" | "blocked" | undefined;
7281
7281
  sourceSpanIds?: string[] | undefined;
7282
7282
  effectiveDate?: string | undefined;
7283
- kind?: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement" | undefined;
7284
7283
  id?: string | undefined;
7284
+ kind?: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement" | undefined;
7285
+ confidence?: "low" | "medium" | "high" | undefined;
7285
7286
  reason?: string | undefined;
7286
7287
  citations?: {
7287
7288
  quote: string;
@@ -7289,7 +7290,6 @@ declare const PceNormalizationResultSchema: z.ZodObject<{
7289
7290
  page?: number | undefined;
7290
7291
  fieldPath?: string | undefined;
7291
7292
  }[] | undefined;
7292
- confidence?: "low" | "medium" | "high" | undefined;
7293
7293
  affectedPolicyId?: string | undefined;
7294
7294
  beforeValue?: string | undefined;
7295
7295
  afterValue?: string | undefined;
@@ -7310,40 +7310,31 @@ declare const PceNormalizationResultSchema: z.ZodObject<{
7310
7310
  }, "strip", z.ZodTypeAny, {
7311
7311
  question: string;
7312
7312
  reason: string;
7313
- id?: string | undefined;
7314
7313
  fieldPath?: string | undefined;
7314
+ id?: string | undefined;
7315
7315
  itemId?: string | undefined;
7316
7316
  answer?: string | undefined;
7317
7317
  }, {
7318
7318
  question: string;
7319
7319
  reason: string;
7320
- id?: string | undefined;
7321
7320
  fieldPath?: string | undefined;
7321
+ id?: string | undefined;
7322
7322
  itemId?: string | undefined;
7323
7323
  answer?: string | undefined;
7324
7324
  }>, "many">>;
7325
7325
  }, "strip", z.ZodTypeAny, {
7326
- summary: string;
7327
- missingInfoQuestions: {
7328
- question: string;
7329
- reason: string;
7330
- id?: string | undefined;
7331
- fieldPath?: string | undefined;
7332
- itemId?: string | undefined;
7333
- answer?: string | undefined;
7334
- }[];
7335
7326
  items: {
7336
7327
  sourceSpanIds: string[];
7337
- label: string;
7338
- kind: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement";
7339
7328
  fieldPath: string;
7329
+ kind: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement";
7330
+ confidence: "low" | "medium" | "high";
7331
+ label: string;
7340
7332
  citations: {
7341
7333
  quote: string;
7342
7334
  sourceId: string;
7343
7335
  page?: number | undefined;
7344
7336
  fieldPath?: string | undefined;
7345
7337
  }[];
7346
- confidence: "low" | "medium" | "high";
7347
7338
  action: "add" | "remove" | "update" | "replace" | "clarify";
7348
7339
  affectedPolicyId: string;
7349
7340
  sourceIds: string[];
@@ -7357,17 +7348,26 @@ declare const PceNormalizationResultSchema: z.ZodObject<{
7357
7348
  userSourceSpanIds?: string[] | undefined;
7358
7349
  confidenceScore?: number | undefined;
7359
7350
  }[];
7360
- }, {
7361
7351
  summary: string;
7352
+ missingInfoQuestions: {
7353
+ question: string;
7354
+ reason: string;
7355
+ fieldPath?: string | undefined;
7356
+ id?: string | undefined;
7357
+ itemId?: string | undefined;
7358
+ answer?: string | undefined;
7359
+ }[];
7360
+ }, {
7362
7361
  items: {
7363
- label: string;
7364
7362
  fieldPath: string;
7363
+ label: string;
7365
7364
  action: "add" | "remove" | "update" | "replace" | "clarify";
7366
7365
  status?: "draft" | "needs_info" | "ready" | "blocked" | undefined;
7367
7366
  sourceSpanIds?: string[] | undefined;
7368
7367
  effectiveDate?: string | undefined;
7369
- kind?: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement" | undefined;
7370
7368
  id?: string | undefined;
7369
+ kind?: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement" | undefined;
7370
+ confidence?: "low" | "medium" | "high" | undefined;
7371
7371
  reason?: string | undefined;
7372
7372
  citations?: {
7373
7373
  quote: string;
@@ -7375,7 +7375,6 @@ declare const PceNormalizationResultSchema: z.ZodObject<{
7375
7375
  page?: number | undefined;
7376
7376
  fieldPath?: string | undefined;
7377
7377
  }[] | undefined;
7378
- confidence?: "low" | "medium" | "high" | undefined;
7379
7378
  affectedPolicyId?: string | undefined;
7380
7379
  beforeValue?: string | undefined;
7381
7380
  afterValue?: string | undefined;
@@ -7384,11 +7383,12 @@ declare const PceNormalizationResultSchema: z.ZodObject<{
7384
7383
  userSourceSpanIds?: string[] | undefined;
7385
7384
  confidenceScore?: number | undefined;
7386
7385
  }[];
7386
+ summary: string;
7387
7387
  missingInfoQuestions?: {
7388
7388
  question: string;
7389
7389
  reason: string;
7390
- id?: string | undefined;
7391
7390
  fieldPath?: string | undefined;
7391
+ id?: string | undefined;
7392
7392
  itemId?: string | undefined;
7393
7393
  answer?: string | undefined;
7394
7394
  }[] | undefined;
@@ -7462,17 +7462,17 @@ declare const PceCaseStateSchema: z.ZodObject<{
7462
7462
  }, "strip", z.ZodTypeAny, {
7463
7463
  status: "draft" | "needs_info" | "ready" | "blocked";
7464
7464
  sourceSpanIds: string[];
7465
- label: string;
7466
- kind: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement";
7467
- id: string;
7468
7465
  fieldPath: string;
7466
+ id: string;
7467
+ kind: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement";
7468
+ confidence: "low" | "medium" | "high";
7469
+ label: string;
7469
7470
  citations: {
7470
7471
  quote: string;
7471
7472
  sourceId: string;
7472
7473
  page?: number | undefined;
7473
7474
  fieldPath?: string | undefined;
7474
7475
  }[];
7475
- confidence: "low" | "medium" | "high";
7476
7476
  action: "add" | "remove" | "update" | "replace" | "clarify";
7477
7477
  affectedPolicyId: string;
7478
7478
  sourceIds: string[];
@@ -7484,14 +7484,15 @@ declare const PceCaseStateSchema: z.ZodObject<{
7484
7484
  userSourceSpanIds?: string[] | undefined;
7485
7485
  confidenceScore?: number | undefined;
7486
7486
  }, {
7487
- label: string;
7488
- id: string;
7489
7487
  fieldPath: string;
7488
+ id: string;
7489
+ label: string;
7490
7490
  action: "add" | "remove" | "update" | "replace" | "clarify";
7491
7491
  status?: "draft" | "needs_info" | "ready" | "blocked" | undefined;
7492
7492
  sourceSpanIds?: string[] | undefined;
7493
7493
  effectiveDate?: string | undefined;
7494
7494
  kind?: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement" | undefined;
7495
+ confidence?: "low" | "medium" | "high" | undefined;
7495
7496
  reason?: string | undefined;
7496
7497
  citations?: {
7497
7498
  quote: string;
@@ -7499,7 +7500,6 @@ declare const PceCaseStateSchema: z.ZodObject<{
7499
7500
  page?: number | undefined;
7500
7501
  fieldPath?: string | undefined;
7501
7502
  }[] | undefined;
7502
- confidence?: "low" | "medium" | "high" | undefined;
7503
7503
  affectedPolicyId?: string | undefined;
7504
7504
  beforeValue?: string | undefined;
7505
7505
  afterValue?: string | undefined;
@@ -7542,21 +7542,21 @@ declare const PceCaseStateSchema: z.ZodObject<{
7542
7542
  text: z.ZodString;
7543
7543
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7544
7544
  }, "strip", z.ZodTypeAny, {
7545
- id: string;
7546
7545
  text: string;
7546
+ id: string;
7547
7547
  page?: number | undefined;
7548
- label?: string | undefined;
7549
- documentId?: string | undefined;
7550
7548
  fieldPath?: string | undefined;
7549
+ documentId?: string | undefined;
7551
7550
  metadata?: Record<string, string> | undefined;
7551
+ label?: string | undefined;
7552
7552
  }, {
7553
- id: string;
7554
7553
  text: string;
7554
+ id: string;
7555
7555
  page?: number | undefined;
7556
- label?: string | undefined;
7557
- documentId?: string | undefined;
7558
7556
  fieldPath?: string | undefined;
7557
+ documentId?: string | undefined;
7559
7558
  metadata?: Record<string, string> | undefined;
7559
+ label?: string | undefined;
7560
7560
  }>, "many">;
7561
7561
  validationIssues: z.ZodArray<z.ZodObject<{
7562
7562
  code: z.ZodString;
@@ -7606,38 +7606,20 @@ declare const PceCaseStateSchema: z.ZodObject<{
7606
7606
  updatedAt: z.ZodNumber;
7607
7607
  }, "strip", z.ZodTypeAny, {
7608
7608
  id: string;
7609
- summary: string;
7610
- validationIssues: {
7611
- code: string;
7612
- message: string;
7613
- severity: "info" | "warning" | "blocking";
7614
- fieldPath?: string | undefined;
7615
- sourceId?: string | undefined;
7616
- itemId?: string | undefined;
7617
- }[];
7618
- missingInfoQuestions: {
7619
- id: string;
7620
- question: string;
7621
- reason: string;
7622
- fieldPath?: string | undefined;
7623
- itemId?: string | undefined;
7624
- answer?: string | undefined;
7625
- }[];
7626
- createdAt: number;
7627
7609
  items: {
7628
7610
  status: "draft" | "needs_info" | "ready" | "blocked";
7629
7611
  sourceSpanIds: string[];
7630
- label: string;
7631
- kind: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement";
7632
- id: string;
7633
7612
  fieldPath: string;
7613
+ id: string;
7614
+ kind: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement";
7615
+ confidence: "low" | "medium" | "high";
7616
+ label: string;
7634
7617
  citations: {
7635
7618
  quote: string;
7636
7619
  sourceId: string;
7637
7620
  page?: number | undefined;
7638
7621
  fieldPath?: string | undefined;
7639
7622
  }[];
7640
- confidence: "low" | "medium" | "high";
7641
7623
  action: "add" | "remove" | "update" | "replace" | "clarify";
7642
7624
  affectedPolicyId: string;
7643
7625
  sourceIds: string[];
@@ -7649,6 +7631,24 @@ declare const PceCaseStateSchema: z.ZodObject<{
7649
7631
  userSourceSpanIds?: string[] | undefined;
7650
7632
  confidenceScore?: number | undefined;
7651
7633
  }[];
7634
+ summary: string;
7635
+ validationIssues: {
7636
+ code: string;
7637
+ message: string;
7638
+ severity: "info" | "warning" | "blocking";
7639
+ fieldPath?: string | undefined;
7640
+ sourceId?: string | undefined;
7641
+ itemId?: string | undefined;
7642
+ }[];
7643
+ missingInfoQuestions: {
7644
+ id: string;
7645
+ question: string;
7646
+ reason: string;
7647
+ fieldPath?: string | undefined;
7648
+ itemId?: string | undefined;
7649
+ answer?: string | undefined;
7650
+ }[];
7651
+ createdAt: number;
7652
7652
  requestText: string;
7653
7653
  executionMode: "deterministic_tree" | "market_eval" | "hybrid";
7654
7654
  impacts: {
@@ -7661,44 +7661,27 @@ declare const PceCaseStateSchema: z.ZodObject<{
7661
7661
  requestedValue?: string | undefined;
7662
7662
  }[];
7663
7663
  evidenceSources: {
7664
- id: string;
7665
7664
  text: string;
7665
+ id: string;
7666
7666
  page?: number | undefined;
7667
- label?: string | undefined;
7668
- documentId?: string | undefined;
7669
7667
  fieldPath?: string | undefined;
7668
+ documentId?: string | undefined;
7670
7669
  metadata?: Record<string, string> | undefined;
7670
+ label?: string | undefined;
7671
7671
  }[];
7672
7672
  updatedAt: number;
7673
7673
  }, {
7674
7674
  id: string;
7675
- summary: string;
7676
- validationIssues: {
7677
- code: string;
7678
- message: string;
7679
- severity: "info" | "warning" | "blocking";
7680
- fieldPath?: string | undefined;
7681
- sourceId?: string | undefined;
7682
- itemId?: string | undefined;
7683
- }[];
7684
- missingInfoQuestions: {
7685
- id: string;
7686
- question: string;
7687
- reason: string;
7688
- fieldPath?: string | undefined;
7689
- itemId?: string | undefined;
7690
- answer?: string | undefined;
7691
- }[];
7692
- createdAt: number;
7693
7675
  items: {
7694
- label: string;
7695
- id: string;
7696
7676
  fieldPath: string;
7677
+ id: string;
7678
+ label: string;
7697
7679
  action: "add" | "remove" | "update" | "replace" | "clarify";
7698
7680
  status?: "draft" | "needs_info" | "ready" | "blocked" | undefined;
7699
7681
  sourceSpanIds?: string[] | undefined;
7700
7682
  effectiveDate?: string | undefined;
7701
7683
  kind?: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement" | undefined;
7684
+ confidence?: "low" | "medium" | "high" | undefined;
7702
7685
  reason?: string | undefined;
7703
7686
  citations?: {
7704
7687
  quote: string;
@@ -7706,7 +7689,6 @@ declare const PceCaseStateSchema: z.ZodObject<{
7706
7689
  page?: number | undefined;
7707
7690
  fieldPath?: string | undefined;
7708
7691
  }[] | undefined;
7709
- confidence?: "low" | "medium" | "high" | undefined;
7710
7692
  affectedPolicyId?: string | undefined;
7711
7693
  beforeValue?: string | undefined;
7712
7694
  afterValue?: string | undefined;
@@ -7715,6 +7697,24 @@ declare const PceCaseStateSchema: z.ZodObject<{
7715
7697
  userSourceSpanIds?: string[] | undefined;
7716
7698
  confidenceScore?: number | undefined;
7717
7699
  }[];
7700
+ summary: string;
7701
+ validationIssues: {
7702
+ code: string;
7703
+ message: string;
7704
+ severity: "info" | "warning" | "blocking";
7705
+ fieldPath?: string | undefined;
7706
+ sourceId?: string | undefined;
7707
+ itemId?: string | undefined;
7708
+ }[];
7709
+ missingInfoQuestions: {
7710
+ id: string;
7711
+ question: string;
7712
+ reason: string;
7713
+ fieldPath?: string | undefined;
7714
+ itemId?: string | undefined;
7715
+ answer?: string | undefined;
7716
+ }[];
7717
+ createdAt: number;
7718
7718
  requestText: string;
7719
7719
  impacts: {
7720
7720
  itemId: string;
@@ -7726,13 +7726,13 @@ declare const PceCaseStateSchema: z.ZodObject<{
7726
7726
  affectedCoverageForms?: string[] | undefined;
7727
7727
  }[];
7728
7728
  evidenceSources: {
7729
- id: string;
7730
7729
  text: string;
7730
+ id: string;
7731
7731
  page?: number | undefined;
7732
- label?: string | undefined;
7733
- documentId?: string | undefined;
7734
7732
  fieldPath?: string | undefined;
7733
+ documentId?: string | undefined;
7735
7734
  metadata?: Record<string, string> | undefined;
7735
+ label?: string | undefined;
7736
7736
  }[];
7737
7737
  updatedAt: number;
7738
7738
  executionMode?: "deterministic_tree" | "market_eval" | "hybrid" | undefined;
@@ -7745,14 +7745,14 @@ declare const PolicyChangeRequestSchema: z.ZodObject<{
7745
7745
  userSourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7746
7746
  createdAt: z.ZodOptional<z.ZodNumber>;
7747
7747
  }, "strip", z.ZodTypeAny, {
7748
- id: string;
7749
7748
  text: string;
7749
+ id: string;
7750
7750
  createdAt?: number | undefined;
7751
7751
  userSourceSpanIds?: string[] | undefined;
7752
7752
  executionMode?: "deterministic_tree" | "market_eval" | "hybrid" | undefined;
7753
7753
  }, {
7754
- id: string;
7755
7754
  text: string;
7755
+ id: string;
7756
7756
  createdAt?: number | undefined;
7757
7757
  userSourceSpanIds?: string[] | undefined;
7758
7758
  executionMode?: "deterministic_tree" | "market_eval" | "hybrid" | undefined;
@@ -7849,17 +7849,17 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
7849
7849
  }, "strip", z.ZodTypeAny, {
7850
7850
  status: "draft" | "needs_info" | "ready" | "blocked";
7851
7851
  sourceSpanIds: string[];
7852
- label: string;
7853
- kind: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement";
7854
- id: string;
7855
7852
  fieldPath: string;
7853
+ id: string;
7854
+ kind: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement";
7855
+ confidence: "low" | "medium" | "high";
7856
+ label: string;
7856
7857
  citations: {
7857
7858
  quote: string;
7858
7859
  sourceId: string;
7859
7860
  page?: number | undefined;
7860
7861
  fieldPath?: string | undefined;
7861
7862
  }[];
7862
- confidence: "low" | "medium" | "high";
7863
7863
  action: "add" | "remove" | "update" | "replace" | "clarify";
7864
7864
  affectedPolicyId: string;
7865
7865
  sourceIds: string[];
@@ -7871,14 +7871,15 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
7871
7871
  userSourceSpanIds?: string[] | undefined;
7872
7872
  confidenceScore?: number | undefined;
7873
7873
  }, {
7874
- label: string;
7875
- id: string;
7876
7874
  fieldPath: string;
7875
+ id: string;
7876
+ label: string;
7877
7877
  action: "add" | "remove" | "update" | "replace" | "clarify";
7878
7878
  status?: "draft" | "needs_info" | "ready" | "blocked" | undefined;
7879
7879
  sourceSpanIds?: string[] | undefined;
7880
7880
  effectiveDate?: string | undefined;
7881
7881
  kind?: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement" | undefined;
7882
+ confidence?: "low" | "medium" | "high" | undefined;
7882
7883
  reason?: string | undefined;
7883
7884
  citations?: {
7884
7885
  quote: string;
@@ -7886,7 +7887,6 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
7886
7887
  page?: number | undefined;
7887
7888
  fieldPath?: string | undefined;
7888
7889
  }[] | undefined;
7889
- confidence?: "low" | "medium" | "high" | undefined;
7890
7890
  affectedPolicyId?: string | undefined;
7891
7891
  beforeValue?: string | undefined;
7892
7892
  afterValue?: string | undefined;
@@ -7929,21 +7929,21 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
7929
7929
  text: z.ZodString;
7930
7930
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7931
7931
  }, "strip", z.ZodTypeAny, {
7932
- id: string;
7933
7932
  text: string;
7933
+ id: string;
7934
7934
  page?: number | undefined;
7935
- label?: string | undefined;
7936
- documentId?: string | undefined;
7937
7935
  fieldPath?: string | undefined;
7936
+ documentId?: string | undefined;
7938
7937
  metadata?: Record<string, string> | undefined;
7938
+ label?: string | undefined;
7939
7939
  }, {
7940
- id: string;
7941
7940
  text: string;
7941
+ id: string;
7942
7942
  page?: number | undefined;
7943
- label?: string | undefined;
7944
- documentId?: string | undefined;
7945
7943
  fieldPath?: string | undefined;
7944
+ documentId?: string | undefined;
7946
7945
  metadata?: Record<string, string> | undefined;
7946
+ label?: string | undefined;
7947
7947
  }>, "many">;
7948
7948
  validationIssues: z.ZodArray<z.ZodObject<{
7949
7949
  code: z.ZodString;
@@ -7993,38 +7993,20 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
7993
7993
  updatedAt: z.ZodNumber;
7994
7994
  }, "strip", z.ZodTypeAny, {
7995
7995
  id: string;
7996
- summary: string;
7997
- validationIssues: {
7998
- code: string;
7999
- message: string;
8000
- severity: "info" | "warning" | "blocking";
8001
- fieldPath?: string | undefined;
8002
- sourceId?: string | undefined;
8003
- itemId?: string | undefined;
8004
- }[];
8005
- missingInfoQuestions: {
8006
- id: string;
8007
- question: string;
8008
- reason: string;
8009
- fieldPath?: string | undefined;
8010
- itemId?: string | undefined;
8011
- answer?: string | undefined;
8012
- }[];
8013
- createdAt: number;
8014
7996
  items: {
8015
7997
  status: "draft" | "needs_info" | "ready" | "blocked";
8016
7998
  sourceSpanIds: string[];
8017
- label: string;
8018
- kind: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement";
8019
- id: string;
8020
7999
  fieldPath: string;
8000
+ id: string;
8001
+ kind: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement";
8002
+ confidence: "low" | "medium" | "high";
8003
+ label: string;
8021
8004
  citations: {
8022
8005
  quote: string;
8023
8006
  sourceId: string;
8024
8007
  page?: number | undefined;
8025
8008
  fieldPath?: string | undefined;
8026
8009
  }[];
8027
- confidence: "low" | "medium" | "high";
8028
8010
  action: "add" | "remove" | "update" | "replace" | "clarify";
8029
8011
  affectedPolicyId: string;
8030
8012
  sourceIds: string[];
@@ -8036,6 +8018,24 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
8036
8018
  userSourceSpanIds?: string[] | undefined;
8037
8019
  confidenceScore?: number | undefined;
8038
8020
  }[];
8021
+ summary: string;
8022
+ validationIssues: {
8023
+ code: string;
8024
+ message: string;
8025
+ severity: "info" | "warning" | "blocking";
8026
+ fieldPath?: string | undefined;
8027
+ sourceId?: string | undefined;
8028
+ itemId?: string | undefined;
8029
+ }[];
8030
+ missingInfoQuestions: {
8031
+ id: string;
8032
+ question: string;
8033
+ reason: string;
8034
+ fieldPath?: string | undefined;
8035
+ itemId?: string | undefined;
8036
+ answer?: string | undefined;
8037
+ }[];
8038
+ createdAt: number;
8039
8039
  requestText: string;
8040
8040
  executionMode: "deterministic_tree" | "market_eval" | "hybrid";
8041
8041
  impacts: {
@@ -8048,44 +8048,27 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
8048
8048
  requestedValue?: string | undefined;
8049
8049
  }[];
8050
8050
  evidenceSources: {
8051
- id: string;
8052
8051
  text: string;
8052
+ id: string;
8053
8053
  page?: number | undefined;
8054
- label?: string | undefined;
8055
- documentId?: string | undefined;
8056
8054
  fieldPath?: string | undefined;
8055
+ documentId?: string | undefined;
8057
8056
  metadata?: Record<string, string> | undefined;
8057
+ label?: string | undefined;
8058
8058
  }[];
8059
8059
  updatedAt: number;
8060
8060
  }, {
8061
8061
  id: string;
8062
- summary: string;
8063
- validationIssues: {
8064
- code: string;
8065
- message: string;
8066
- severity: "info" | "warning" | "blocking";
8067
- fieldPath?: string | undefined;
8068
- sourceId?: string | undefined;
8069
- itemId?: string | undefined;
8070
- }[];
8071
- missingInfoQuestions: {
8072
- id: string;
8073
- question: string;
8074
- reason: string;
8075
- fieldPath?: string | undefined;
8076
- itemId?: string | undefined;
8077
- answer?: string | undefined;
8078
- }[];
8079
- createdAt: number;
8080
8062
  items: {
8081
- label: string;
8082
- id: string;
8083
8063
  fieldPath: string;
8064
+ id: string;
8065
+ label: string;
8084
8066
  action: "add" | "remove" | "update" | "replace" | "clarify";
8085
8067
  status?: "draft" | "needs_info" | "ready" | "blocked" | undefined;
8086
8068
  sourceSpanIds?: string[] | undefined;
8087
8069
  effectiveDate?: string | undefined;
8088
8070
  kind?: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement" | undefined;
8071
+ confidence?: "low" | "medium" | "high" | undefined;
8089
8072
  reason?: string | undefined;
8090
8073
  citations?: {
8091
8074
  quote: string;
@@ -8093,7 +8076,6 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
8093
8076
  page?: number | undefined;
8094
8077
  fieldPath?: string | undefined;
8095
8078
  }[] | undefined;
8096
- confidence?: "low" | "medium" | "high" | undefined;
8097
8079
  affectedPolicyId?: string | undefined;
8098
8080
  beforeValue?: string | undefined;
8099
8081
  afterValue?: string | undefined;
@@ -8102,6 +8084,24 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
8102
8084
  userSourceSpanIds?: string[] | undefined;
8103
8085
  confidenceScore?: number | undefined;
8104
8086
  }[];
8087
+ summary: string;
8088
+ validationIssues: {
8089
+ code: string;
8090
+ message: string;
8091
+ severity: "info" | "warning" | "blocking";
8092
+ fieldPath?: string | undefined;
8093
+ sourceId?: string | undefined;
8094
+ itemId?: string | undefined;
8095
+ }[];
8096
+ missingInfoQuestions: {
8097
+ id: string;
8098
+ question: string;
8099
+ reason: string;
8100
+ fieldPath?: string | undefined;
8101
+ itemId?: string | undefined;
8102
+ answer?: string | undefined;
8103
+ }[];
8104
+ createdAt: number;
8105
8105
  requestText: string;
8106
8106
  impacts: {
8107
8107
  itemId: string;
@@ -8113,13 +8113,13 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
8113
8113
  affectedCoverageForms?: string[] | undefined;
8114
8114
  }[];
8115
8115
  evidenceSources: {
8116
- id: string;
8117
8116
  text: string;
8117
+ id: string;
8118
8118
  page?: number | undefined;
8119
- label?: string | undefined;
8120
- documentId?: string | undefined;
8121
8119
  fieldPath?: string | undefined;
8120
+ documentId?: string | undefined;
8122
8121
  metadata?: Record<string, string> | undefined;
8122
+ label?: string | undefined;
8123
8123
  }[];
8124
8124
  updatedAt: number;
8125
8125
  executionMode?: "deterministic_tree" | "market_eval" | "hybrid" | undefined;
@@ -8148,8 +8148,8 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
8148
8148
  }, "strip", z.ZodTypeAny, {
8149
8149
  title: string;
8150
8150
  content: string;
8151
- kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
8152
8151
  id: string;
8152
+ kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
8153
8153
  citations: {
8154
8154
  quote: string;
8155
8155
  sourceId: string;
@@ -8159,8 +8159,8 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
8159
8159
  }, {
8160
8160
  title: string;
8161
8161
  content: string;
8162
- kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
8163
8162
  id: string;
8163
+ kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
8164
8164
  citations?: {
8165
8165
  quote: string;
8166
8166
  sourceId: string;
@@ -8174,8 +8174,8 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
8174
8174
  artifacts: {
8175
8175
  title: string;
8176
8176
  content: string;
8177
- kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
8178
8177
  id: string;
8178
+ kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
8179
8179
  citations: {
8180
8180
  quote: string;
8181
8181
  sourceId: string;
@@ -8202,38 +8202,20 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
8202
8202
  createdAt: number;
8203
8203
  pceCase: {
8204
8204
  id: string;
8205
- summary: string;
8206
- validationIssues: {
8207
- code: string;
8208
- message: string;
8209
- severity: "info" | "warning" | "blocking";
8210
- fieldPath?: string | undefined;
8211
- sourceId?: string | undefined;
8212
- itemId?: string | undefined;
8213
- }[];
8214
- missingInfoQuestions: {
8215
- id: string;
8216
- question: string;
8217
- reason: string;
8218
- fieldPath?: string | undefined;
8219
- itemId?: string | undefined;
8220
- answer?: string | undefined;
8221
- }[];
8222
- createdAt: number;
8223
8205
  items: {
8224
8206
  status: "draft" | "needs_info" | "ready" | "blocked";
8225
8207
  sourceSpanIds: string[];
8226
- label: string;
8227
- kind: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement";
8228
- id: string;
8229
8208
  fieldPath: string;
8209
+ id: string;
8210
+ kind: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement";
8211
+ confidence: "low" | "medium" | "high";
8212
+ label: string;
8230
8213
  citations: {
8231
8214
  quote: string;
8232
8215
  sourceId: string;
8233
8216
  page?: number | undefined;
8234
8217
  fieldPath?: string | undefined;
8235
8218
  }[];
8236
- confidence: "low" | "medium" | "high";
8237
8219
  action: "add" | "remove" | "update" | "replace" | "clarify";
8238
8220
  affectedPolicyId: string;
8239
8221
  sourceIds: string[];
@@ -8245,6 +8227,24 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
8245
8227
  userSourceSpanIds?: string[] | undefined;
8246
8228
  confidenceScore?: number | undefined;
8247
8229
  }[];
8230
+ summary: string;
8231
+ validationIssues: {
8232
+ code: string;
8233
+ message: string;
8234
+ severity: "info" | "warning" | "blocking";
8235
+ fieldPath?: string | undefined;
8236
+ sourceId?: string | undefined;
8237
+ itemId?: string | undefined;
8238
+ }[];
8239
+ missingInfoQuestions: {
8240
+ id: string;
8241
+ question: string;
8242
+ reason: string;
8243
+ fieldPath?: string | undefined;
8244
+ itemId?: string | undefined;
8245
+ answer?: string | undefined;
8246
+ }[];
8247
+ createdAt: number;
8248
8248
  requestText: string;
8249
8249
  executionMode: "deterministic_tree" | "market_eval" | "hybrid";
8250
8250
  impacts: {
@@ -8257,13 +8257,13 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
8257
8257
  requestedValue?: string | undefined;
8258
8258
  }[];
8259
8259
  evidenceSources: {
8260
- id: string;
8261
8260
  text: string;
8261
+ id: string;
8262
8262
  page?: number | undefined;
8263
- label?: string | undefined;
8264
- documentId?: string | undefined;
8265
8263
  fieldPath?: string | undefined;
8264
+ documentId?: string | undefined;
8266
8265
  metadata?: Record<string, string> | undefined;
8266
+ label?: string | undefined;
8267
8267
  }[];
8268
8268
  updatedAt: number;
8269
8269
  };
@@ -8273,8 +8273,8 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
8273
8273
  artifacts: {
8274
8274
  title: string;
8275
8275
  content: string;
8276
- kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
8277
8276
  id: string;
8277
+ kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
8278
8278
  citations?: {
8279
8279
  quote: string;
8280
8280
  sourceId: string;
@@ -8301,33 +8301,16 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
8301
8301
  createdAt: number;
8302
8302
  pceCase: {
8303
8303
  id: string;
8304
- summary: string;
8305
- validationIssues: {
8306
- code: string;
8307
- message: string;
8308
- severity: "info" | "warning" | "blocking";
8309
- fieldPath?: string | undefined;
8310
- sourceId?: string | undefined;
8311
- itemId?: string | undefined;
8312
- }[];
8313
- missingInfoQuestions: {
8314
- id: string;
8315
- question: string;
8316
- reason: string;
8317
- fieldPath?: string | undefined;
8318
- itemId?: string | undefined;
8319
- answer?: string | undefined;
8320
- }[];
8321
- createdAt: number;
8322
8304
  items: {
8323
- label: string;
8324
- id: string;
8325
8305
  fieldPath: string;
8306
+ id: string;
8307
+ label: string;
8326
8308
  action: "add" | "remove" | "update" | "replace" | "clarify";
8327
8309
  status?: "draft" | "needs_info" | "ready" | "blocked" | undefined;
8328
8310
  sourceSpanIds?: string[] | undefined;
8329
8311
  effectiveDate?: string | undefined;
8330
8312
  kind?: "deductible_change" | "limit_change" | "cancellation" | "nonrenewal" | "named_insured_change" | "additional_insured_change" | "coverage_change" | "location_change" | "vehicle_change" | "certificate_endorsement_request" | "renewal_submission_update" | "general_endorsement" | undefined;
8313
+ confidence?: "low" | "medium" | "high" | undefined;
8331
8314
  reason?: string | undefined;
8332
8315
  citations?: {
8333
8316
  quote: string;
@@ -8335,7 +8318,6 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
8335
8318
  page?: number | undefined;
8336
8319
  fieldPath?: string | undefined;
8337
8320
  }[] | undefined;
8338
- confidence?: "low" | "medium" | "high" | undefined;
8339
8321
  affectedPolicyId?: string | undefined;
8340
8322
  beforeValue?: string | undefined;
8341
8323
  afterValue?: string | undefined;
@@ -8344,6 +8326,24 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
8344
8326
  userSourceSpanIds?: string[] | undefined;
8345
8327
  confidenceScore?: number | undefined;
8346
8328
  }[];
8329
+ summary: string;
8330
+ validationIssues: {
8331
+ code: string;
8332
+ message: string;
8333
+ severity: "info" | "warning" | "blocking";
8334
+ fieldPath?: string | undefined;
8335
+ sourceId?: string | undefined;
8336
+ itemId?: string | undefined;
8337
+ }[];
8338
+ missingInfoQuestions: {
8339
+ id: string;
8340
+ question: string;
8341
+ reason: string;
8342
+ fieldPath?: string | undefined;
8343
+ itemId?: string | undefined;
8344
+ answer?: string | undefined;
8345
+ }[];
8346
+ createdAt: number;
8347
8347
  requestText: string;
8348
8348
  impacts: {
8349
8349
  itemId: string;
@@ -8355,13 +8355,13 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
8355
8355
  affectedCoverageForms?: string[] | undefined;
8356
8356
  }[];
8357
8357
  evidenceSources: {
8358
- id: string;
8359
8358
  text: string;
8359
+ id: string;
8360
8360
  page?: number | undefined;
8361
- label?: string | undefined;
8362
- documentId?: string | undefined;
8363
8361
  fieldPath?: string | undefined;
8362
+ documentId?: string | undefined;
8364
8363
  metadata?: Record<string, string> | undefined;
8364
+ label?: string | undefined;
8365
8365
  }[];
8366
8366
  updatedAt: number;
8367
8367
  executionMode?: "deterministic_tree" | "market_eval" | "hybrid" | undefined;
@@ -8616,6 +8616,37 @@ interface ExtractionReviewReport extends UnifiedQualityReport<QualityIssue> {
8616
8616
  qualityGateStatus: QualityGateStatus;
8617
8617
  }
8618
8618
 
8619
+ declare const COVERAGE_RECOVERY_VERSION: "coverage-recovery-v2";
8620
+ type CoverageRecoveryDiagnostics = {
8621
+ version: typeof COVERAGE_RECOVERY_VERSION;
8622
+ status: "disabled" | "succeeded" | "failed";
8623
+ regionCount: number;
8624
+ modelCallCount: number;
8625
+ recoveredCoverageCount: number;
8626
+ recoveredTermCount: number;
8627
+ recoveredScheduleCount: number;
8628
+ recoveredFinancialFactCount: number;
8629
+ citationRejectionCount: number;
8630
+ warnings: string[];
8631
+ };
8632
+ type CoverageRecoveryResult = {
8633
+ operationalProfile: PolicyOperationalProfile;
8634
+ diagnostics: CoverageRecoveryDiagnostics;
8635
+ tokenUsage: TokenUsage;
8636
+ performanceReport: PerformanceReport;
8637
+ };
8638
+ declare function runCoverageRecovery(params: {
8639
+ sourceTree: DocumentSourceNode[];
8640
+ sourceSpans: SourceSpan[];
8641
+ operationalProfile: PolicyOperationalProfile;
8642
+ generateObject: GenerateObject;
8643
+ providerOptions?: Record<string, unknown>;
8644
+ modelCapabilities?: ModelCapabilities;
8645
+ modelBudgetConstraint?: ModelBudgetConstraint;
8646
+ onTokenUsage?: (usage: TokenUsage) => void;
8647
+ log?: LogFn;
8648
+ }): Promise<CoverageRecoveryResult>;
8649
+
8619
8650
  interface ExtractorConfig {
8620
8651
  generateObject: GenerateObject;
8621
8652
  onTokenUsage?: (usage: TokenUsage) => void;
@@ -8635,6 +8666,7 @@ interface ExtractionResult {
8635
8666
  sourceChunks: SourceChunk[];
8636
8667
  sourceTree?: DocumentSourceNode[];
8637
8668
  operationalProfile?: PolicyOperationalProfile;
8669
+ coverageRecovery?: CoverageRecoveryDiagnostics;
8638
8670
  warnings?: string[];
8639
8671
  tokenUsage: TokenUsage;
8640
8672
  usageReporting: {
@@ -8648,6 +8680,10 @@ interface ExtractionResult {
8648
8680
  interface ExtractOptions {
8649
8681
  /** Caller-provided raw source spans for this document, reused for evidence grounding and optional persistence. */
8650
8682
  sourceSpans?: SourceSpan[];
8683
+ /** Opt in to document-wide semantic coverage, schedule, and financial recovery. */
8684
+ coverageRecovery?: {
8685
+ enabled: boolean;
8686
+ };
8651
8687
  }
8652
8688
  type ExtractionInput = PdfInput | DoclingExtractionInput;
8653
8689
  declare function createExtractor(config: ExtractorConfig): {
@@ -8668,6 +8704,7 @@ type ExtractionV3Result = {
8668
8704
  sourceChunks: SourceChunk[];
8669
8705
  formInventory: SourceTreeFormHint[];
8670
8706
  operationalProfile: PolicyOperationalProfile;
8707
+ coverageRecovery: CoverageRecoveryDiagnostics;
8671
8708
  document: InsuranceDocument;
8672
8709
  chunks: [];
8673
8710
  warnings: string[];
@@ -8679,6 +8716,24 @@ type ExtractionV3Result = {
8679
8716
  };
8680
8717
  performanceReport: PerformanceReport;
8681
8718
  };
8719
+ type TrackUsage = (usage?: TokenUsage, report?: {
8720
+ taskKind: ModelTaskKind;
8721
+ label?: string;
8722
+ maxTokens?: number;
8723
+ durationMs?: number;
8724
+ }) => void;
8725
+ declare function runSourceTreeExtraction(params: {
8726
+ id: string;
8727
+ sourceSpans: SourceSpan[];
8728
+ generateObject: GenerateObject;
8729
+ providerOptions?: Record<string, unknown>;
8730
+ resolveBudget: (taskKind: ModelTaskKind, hintTokens: number) => ModelBudgetResolution;
8731
+ trackUsage: TrackUsage;
8732
+ log?: (message: string) => Promise<void>;
8733
+ coverageRecovery?: {
8734
+ enabled: boolean;
8735
+ };
8736
+ }): Promise<ExtractionV3Result>;
8682
8737
 
8683
8738
  /**
8684
8739
  * Break a validated document into retrieval-friendly chunks.
@@ -8893,16 +8948,16 @@ declare const QueryAttachmentSchema: z.ZodObject<{
8893
8948
  kind: "text" | "pdf" | "image";
8894
8949
  description?: string | undefined;
8895
8950
  name?: string | undefined;
8896
- id?: string | undefined;
8897
8951
  text?: string | undefined;
8952
+ id?: string | undefined;
8898
8953
  base64?: string | undefined;
8899
8954
  mimeType?: string | undefined;
8900
8955
  }, {
8901
8956
  kind: "text" | "pdf" | "image";
8902
8957
  description?: string | undefined;
8903
8958
  name?: string | undefined;
8904
- id?: string | undefined;
8905
8959
  text?: string | undefined;
8960
+ id?: string | undefined;
8906
8961
  base64?: string | undefined;
8907
8962
  mimeType?: string | undefined;
8908
8963
  }>;
@@ -8924,15 +8979,15 @@ declare const SubQuestionSchema: z.ZodObject<{
8924
8979
  type?: "policy" | "quote" | undefined;
8925
8980
  carrier?: string | undefined;
8926
8981
  policyNumber?: string | undefined;
8927
- insuredName?: string | undefined;
8928
8982
  linesOfBusiness?: ("AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV")[] | undefined;
8983
+ insuredName?: string | undefined;
8929
8984
  quoteNumber?: string | undefined;
8930
8985
  }, {
8931
8986
  type?: "policy" | "quote" | undefined;
8932
8987
  carrier?: string | undefined;
8933
8988
  policyNumber?: string | undefined;
8934
- insuredName?: string | undefined;
8935
8989
  linesOfBusiness?: ("AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV")[] | undefined;
8990
+ insuredName?: string | undefined;
8936
8991
  quoteNumber?: string | undefined;
8937
8992
  }>>;
8938
8993
  }, "strip", z.ZodTypeAny, {
@@ -8943,8 +8998,8 @@ declare const SubQuestionSchema: z.ZodObject<{
8943
8998
  type?: "policy" | "quote" | undefined;
8944
8999
  carrier?: string | undefined;
8945
9000
  policyNumber?: string | undefined;
8946
- insuredName?: string | undefined;
8947
9001
  linesOfBusiness?: ("AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV")[] | undefined;
9002
+ insuredName?: string | undefined;
8948
9003
  quoteNumber?: string | undefined;
8949
9004
  } | undefined;
8950
9005
  }, {
@@ -8955,8 +9010,8 @@ declare const SubQuestionSchema: z.ZodObject<{
8955
9010
  type?: "policy" | "quote" | undefined;
8956
9011
  carrier?: string | undefined;
8957
9012
  policyNumber?: string | undefined;
8958
- insuredName?: string | undefined;
8959
9013
  linesOfBusiness?: ("AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV")[] | undefined;
9014
+ insuredName?: string | undefined;
8960
9015
  quoteNumber?: string | undefined;
8961
9016
  } | undefined;
8962
9017
  }>;
@@ -8978,15 +9033,15 @@ declare const QueryClassifyResultSchema: z.ZodObject<{
8978
9033
  type?: "policy" | "quote" | undefined;
8979
9034
  carrier?: string | undefined;
8980
9035
  policyNumber?: string | undefined;
8981
- insuredName?: string | undefined;
8982
9036
  linesOfBusiness?: ("AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV")[] | undefined;
9037
+ insuredName?: string | undefined;
8983
9038
  quoteNumber?: string | undefined;
8984
9039
  }, {
8985
9040
  type?: "policy" | "quote" | undefined;
8986
9041
  carrier?: string | undefined;
8987
9042
  policyNumber?: string | undefined;
8988
- insuredName?: string | undefined;
8989
9043
  linesOfBusiness?: ("AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV")[] | undefined;
9044
+ insuredName?: string | undefined;
8990
9045
  quoteNumber?: string | undefined;
8991
9046
  }>>;
8992
9047
  }, "strip", z.ZodTypeAny, {
@@ -8997,8 +9052,8 @@ declare const QueryClassifyResultSchema: z.ZodObject<{
8997
9052
  type?: "policy" | "quote" | undefined;
8998
9053
  carrier?: string | undefined;
8999
9054
  policyNumber?: string | undefined;
9000
- insuredName?: string | undefined;
9001
9055
  linesOfBusiness?: ("AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV")[] | undefined;
9056
+ insuredName?: string | undefined;
9002
9057
  quoteNumber?: string | undefined;
9003
9058
  } | undefined;
9004
9059
  }, {
@@ -9009,8 +9064,8 @@ declare const QueryClassifyResultSchema: z.ZodObject<{
9009
9064
  type?: "policy" | "quote" | undefined;
9010
9065
  carrier?: string | undefined;
9011
9066
  policyNumber?: string | undefined;
9012
- insuredName?: string | undefined;
9013
9067
  linesOfBusiness?: ("AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV")[] | undefined;
9068
+ insuredName?: string | undefined;
9014
9069
  quoteNumber?: string | undefined;
9015
9070
  } | undefined;
9016
9071
  }>, "many">;
@@ -9028,8 +9083,8 @@ declare const QueryClassifyResultSchema: z.ZodObject<{
9028
9083
  type?: "policy" | "quote" | undefined;
9029
9084
  carrier?: string | undefined;
9030
9085
  policyNumber?: string | undefined;
9031
- insuredName?: string | undefined;
9032
9086
  linesOfBusiness?: ("AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV")[] | undefined;
9087
+ insuredName?: string | undefined;
9033
9088
  quoteNumber?: string | undefined;
9034
9089
  } | undefined;
9035
9090
  }[];
@@ -9047,8 +9102,8 @@ declare const QueryClassifyResultSchema: z.ZodObject<{
9047
9102
  type?: "policy" | "quote" | undefined;
9048
9103
  carrier?: string | undefined;
9049
9104
  policyNumber?: string | undefined;
9050
- insuredName?: string | undefined;
9051
9105
  linesOfBusiness?: ("AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV")[] | undefined;
9106
+ insuredName?: string | undefined;
9052
9107
  quoteNumber?: string | undefined;
9053
9108
  } | undefined;
9054
9109
  }[];
@@ -9080,22 +9135,22 @@ declare const EvidenceItemSchema: z.ZodObject<{
9080
9135
  fieldPath: z.ZodOptional<z.ZodString>;
9081
9136
  }, "strip", z.ZodTypeAny, {
9082
9137
  page?: number | undefined;
9083
- fieldPath?: string | undefined;
9084
9138
  startPage?: number | undefined;
9085
9139
  endPage?: number | undefined;
9086
9140
  charStart?: number | undefined;
9087
9141
  charEnd?: number | undefined;
9088
9142
  lineStart?: number | undefined;
9089
9143
  lineEnd?: number | undefined;
9144
+ fieldPath?: string | undefined;
9090
9145
  }, {
9091
9146
  page?: number | undefined;
9092
- fieldPath?: string | undefined;
9093
9147
  startPage?: number | undefined;
9094
9148
  endPage?: number | undefined;
9095
9149
  charStart?: number | undefined;
9096
9150
  charEnd?: number | undefined;
9097
9151
  lineStart?: number | undefined;
9098
9152
  lineEnd?: number | undefined;
9153
+ fieldPath?: string | undefined;
9099
9154
  }>>;
9100
9155
  metadata: z.ZodOptional<z.ZodArray<z.ZodObject<{
9101
9156
  key: z.ZodString;
@@ -9112,11 +9167,11 @@ declare const EvidenceItemSchema: z.ZodObject<{
9112
9167
  relevance: number;
9113
9168
  source: "attachment" | "document" | "chunk" | "source_node" | "conversation" | "source_span";
9114
9169
  documentId?: string | undefined;
9170
+ chunkId?: string | undefined;
9115
9171
  metadata?: {
9116
9172
  key: string;
9117
9173
  value: string;
9118
9174
  }[] | undefined;
9119
- chunkId?: string | undefined;
9120
9175
  sourceSpanId?: string | undefined;
9121
9176
  retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
9122
9177
  sourceNodeId?: string | undefined;
@@ -9124,24 +9179,24 @@ declare const EvidenceItemSchema: z.ZodObject<{
9124
9179
  attachmentId?: string | undefined;
9125
9180
  sourceLocation?: {
9126
9181
  page?: number | undefined;
9127
- fieldPath?: string | undefined;
9128
9182
  startPage?: number | undefined;
9129
9183
  endPage?: number | undefined;
9130
9184
  charStart?: number | undefined;
9131
9185
  charEnd?: number | undefined;
9132
9186
  lineStart?: number | undefined;
9133
9187
  lineEnd?: number | undefined;
9188
+ fieldPath?: string | undefined;
9134
9189
  } | undefined;
9135
9190
  }, {
9136
9191
  text: string;
9137
9192
  relevance: number;
9138
9193
  source: "attachment" | "document" | "chunk" | "source_node" | "conversation" | "source_span";
9139
9194
  documentId?: string | undefined;
9195
+ chunkId?: string | undefined;
9140
9196
  metadata?: {
9141
9197
  key: string;
9142
9198
  value: string;
9143
9199
  }[] | undefined;
9144
- chunkId?: string | undefined;
9145
9200
  sourceSpanId?: string | undefined;
9146
9201
  retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
9147
9202
  sourceNodeId?: string | undefined;
@@ -9149,13 +9204,13 @@ declare const EvidenceItemSchema: z.ZodObject<{
9149
9204
  attachmentId?: string | undefined;
9150
9205
  sourceLocation?: {
9151
9206
  page?: number | undefined;
9152
- fieldPath?: string | undefined;
9153
9207
  startPage?: number | undefined;
9154
9208
  endPage?: number | undefined;
9155
9209
  charStart?: number | undefined;
9156
9210
  charEnd?: number | undefined;
9157
9211
  lineStart?: number | undefined;
9158
9212
  lineEnd?: number | undefined;
9213
+ fieldPath?: string | undefined;
9159
9214
  } | undefined;
9160
9215
  }>;
9161
9216
  type EvidenceItem = z.infer<typeof EvidenceItemSchema>;
@@ -9165,13 +9220,13 @@ declare const AttachmentInterpretationSchema: z.ZodObject<{
9165
9220
  recommendedFocus: z.ZodArray<z.ZodString, "many">;
9166
9221
  confidence: z.ZodNumber;
9167
9222
  }, "strip", z.ZodTypeAny, {
9168
- summary: string;
9169
9223
  confidence: number;
9224
+ summary: string;
9170
9225
  extractedFacts: string[];
9171
9226
  recommendedFocus: string[];
9172
9227
  }, {
9173
- summary: string;
9174
9228
  confidence: number;
9229
+ summary: string;
9175
9230
  extractedFacts: string[];
9176
9231
  recommendedFocus: string[];
9177
9232
  }>;
@@ -9200,22 +9255,22 @@ declare const RetrievalResultSchema: z.ZodObject<{
9200
9255
  fieldPath: z.ZodOptional<z.ZodString>;
9201
9256
  }, "strip", z.ZodTypeAny, {
9202
9257
  page?: number | undefined;
9203
- fieldPath?: string | undefined;
9204
9258
  startPage?: number | undefined;
9205
9259
  endPage?: number | undefined;
9206
9260
  charStart?: number | undefined;
9207
9261
  charEnd?: number | undefined;
9208
9262
  lineStart?: number | undefined;
9209
9263
  lineEnd?: number | undefined;
9264
+ fieldPath?: string | undefined;
9210
9265
  }, {
9211
9266
  page?: number | undefined;
9212
- fieldPath?: string | undefined;
9213
9267
  startPage?: number | undefined;
9214
9268
  endPage?: number | undefined;
9215
9269
  charStart?: number | undefined;
9216
9270
  charEnd?: number | undefined;
9217
9271
  lineStart?: number | undefined;
9218
9272
  lineEnd?: number | undefined;
9273
+ fieldPath?: string | undefined;
9219
9274
  }>>;
9220
9275
  metadata: z.ZodOptional<z.ZodArray<z.ZodObject<{
9221
9276
  key: z.ZodString;
@@ -9232,11 +9287,11 @@ declare const RetrievalResultSchema: z.ZodObject<{
9232
9287
  relevance: number;
9233
9288
  source: "attachment" | "document" | "chunk" | "source_node" | "conversation" | "source_span";
9234
9289
  documentId?: string | undefined;
9290
+ chunkId?: string | undefined;
9235
9291
  metadata?: {
9236
9292
  key: string;
9237
9293
  value: string;
9238
9294
  }[] | undefined;
9239
- chunkId?: string | undefined;
9240
9295
  sourceSpanId?: string | undefined;
9241
9296
  retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
9242
9297
  sourceNodeId?: string | undefined;
@@ -9244,24 +9299,24 @@ declare const RetrievalResultSchema: z.ZodObject<{
9244
9299
  attachmentId?: string | undefined;
9245
9300
  sourceLocation?: {
9246
9301
  page?: number | undefined;
9247
- fieldPath?: string | undefined;
9248
9302
  startPage?: number | undefined;
9249
9303
  endPage?: number | undefined;
9250
9304
  charStart?: number | undefined;
9251
9305
  charEnd?: number | undefined;
9252
9306
  lineStart?: number | undefined;
9253
9307
  lineEnd?: number | undefined;
9308
+ fieldPath?: string | undefined;
9254
9309
  } | undefined;
9255
9310
  }, {
9256
9311
  text: string;
9257
9312
  relevance: number;
9258
9313
  source: "attachment" | "document" | "chunk" | "source_node" | "conversation" | "source_span";
9259
9314
  documentId?: string | undefined;
9315
+ chunkId?: string | undefined;
9260
9316
  metadata?: {
9261
9317
  key: string;
9262
9318
  value: string;
9263
9319
  }[] | undefined;
9264
- chunkId?: string | undefined;
9265
9320
  sourceSpanId?: string | undefined;
9266
9321
  retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
9267
9322
  sourceNodeId?: string | undefined;
@@ -9269,13 +9324,13 @@ declare const RetrievalResultSchema: z.ZodObject<{
9269
9324
  attachmentId?: string | undefined;
9270
9325
  sourceLocation?: {
9271
9326
  page?: number | undefined;
9272
- fieldPath?: string | undefined;
9273
9327
  startPage?: number | undefined;
9274
9328
  endPage?: number | undefined;
9275
9329
  charStart?: number | undefined;
9276
9330
  charEnd?: number | undefined;
9277
9331
  lineStart?: number | undefined;
9278
9332
  lineEnd?: number | undefined;
9333
+ fieldPath?: string | undefined;
9279
9334
  } | undefined;
9280
9335
  }>, "many">;
9281
9336
  }, "strip", z.ZodTypeAny, {
@@ -9285,11 +9340,11 @@ declare const RetrievalResultSchema: z.ZodObject<{
9285
9340
  relevance: number;
9286
9341
  source: "attachment" | "document" | "chunk" | "source_node" | "conversation" | "source_span";
9287
9342
  documentId?: string | undefined;
9343
+ chunkId?: string | undefined;
9288
9344
  metadata?: {
9289
9345
  key: string;
9290
9346
  value: string;
9291
9347
  }[] | undefined;
9292
- chunkId?: string | undefined;
9293
9348
  sourceSpanId?: string | undefined;
9294
9349
  retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
9295
9350
  sourceNodeId?: string | undefined;
@@ -9297,13 +9352,13 @@ declare const RetrievalResultSchema: z.ZodObject<{
9297
9352
  attachmentId?: string | undefined;
9298
9353
  sourceLocation?: {
9299
9354
  page?: number | undefined;
9300
- fieldPath?: string | undefined;
9301
9355
  startPage?: number | undefined;
9302
9356
  endPage?: number | undefined;
9303
9357
  charStart?: number | undefined;
9304
9358
  charEnd?: number | undefined;
9305
9359
  lineStart?: number | undefined;
9306
9360
  lineEnd?: number | undefined;
9361
+ fieldPath?: string | undefined;
9307
9362
  } | undefined;
9308
9363
  }[];
9309
9364
  }, {
@@ -9313,11 +9368,11 @@ declare const RetrievalResultSchema: z.ZodObject<{
9313
9368
  relevance: number;
9314
9369
  source: "attachment" | "document" | "chunk" | "source_node" | "conversation" | "source_span";
9315
9370
  documentId?: string | undefined;
9371
+ chunkId?: string | undefined;
9316
9372
  metadata?: {
9317
9373
  key: string;
9318
9374
  value: string;
9319
9375
  }[] | undefined;
9320
- chunkId?: string | undefined;
9321
9376
  sourceSpanId?: string | undefined;
9322
9377
  retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
9323
9378
  sourceNodeId?: string | undefined;
@@ -9325,13 +9380,13 @@ declare const RetrievalResultSchema: z.ZodObject<{
9325
9380
  attachmentId?: string | undefined;
9326
9381
  sourceLocation?: {
9327
9382
  page?: number | undefined;
9328
- fieldPath?: string | undefined;
9329
9383
  startPage?: number | undefined;
9330
9384
  endPage?: number | undefined;
9331
9385
  charStart?: number | undefined;
9332
9386
  charEnd?: number | undefined;
9333
9387
  lineStart?: number | undefined;
9334
9388
  lineEnd?: number | undefined;
9389
+ fieldPath?: string | undefined;
9335
9390
  } | undefined;
9336
9391
  }[];
9337
9392
  }>;
@@ -9358,22 +9413,22 @@ declare const CitationSchema: z.ZodObject<{
9358
9413
  fieldPath: z.ZodOptional<z.ZodString>;
9359
9414
  }, "strip", z.ZodTypeAny, {
9360
9415
  page?: number | undefined;
9361
- fieldPath?: string | undefined;
9362
9416
  startPage?: number | undefined;
9363
9417
  endPage?: number | undefined;
9364
9418
  charStart?: number | undefined;
9365
9419
  charEnd?: number | undefined;
9366
9420
  lineStart?: number | undefined;
9367
9421
  lineEnd?: number | undefined;
9422
+ fieldPath?: string | undefined;
9368
9423
  }, {
9369
9424
  page?: number | undefined;
9370
- fieldPath?: string | undefined;
9371
9425
  startPage?: number | undefined;
9372
9426
  endPage?: number | undefined;
9373
9427
  charStart?: number | undefined;
9374
9428
  charEnd?: number | undefined;
9375
9429
  lineStart?: number | undefined;
9376
9430
  lineEnd?: number | undefined;
9431
+ fieldPath?: string | undefined;
9377
9432
  }>>;
9378
9433
  }, "strip", z.ZodTypeAny, {
9379
9434
  quote: string;
@@ -9388,13 +9443,13 @@ declare const CitationSchema: z.ZodObject<{
9388
9443
  sourceNodeId?: string | undefined;
9389
9444
  sourceLocation?: {
9390
9445
  page?: number | undefined;
9391
- fieldPath?: string | undefined;
9392
9446
  startPage?: number | undefined;
9393
9447
  endPage?: number | undefined;
9394
9448
  charStart?: number | undefined;
9395
9449
  charEnd?: number | undefined;
9396
9450
  lineStart?: number | undefined;
9397
9451
  lineEnd?: number | undefined;
9452
+ fieldPath?: string | undefined;
9398
9453
  } | undefined;
9399
9454
  }, {
9400
9455
  quote: string;
@@ -9409,13 +9464,13 @@ declare const CitationSchema: z.ZodObject<{
9409
9464
  sourceNodeId?: string | undefined;
9410
9465
  sourceLocation?: {
9411
9466
  page?: number | undefined;
9412
- fieldPath?: string | undefined;
9413
9467
  startPage?: number | undefined;
9414
9468
  endPage?: number | undefined;
9415
9469
  charStart?: number | undefined;
9416
9470
  charEnd?: number | undefined;
9417
9471
  lineStart?: number | undefined;
9418
9472
  lineEnd?: number | undefined;
9473
+ fieldPath?: string | undefined;
9419
9474
  } | undefined;
9420
9475
  }>;
9421
9476
  type Citation = z.infer<typeof CitationSchema>;
@@ -9444,22 +9499,22 @@ declare const SubAnswerSchema: z.ZodObject<{
9444
9499
  fieldPath: z.ZodOptional<z.ZodString>;
9445
9500
  }, "strip", z.ZodTypeAny, {
9446
9501
  page?: number | undefined;
9447
- fieldPath?: string | undefined;
9448
9502
  startPage?: number | undefined;
9449
9503
  endPage?: number | undefined;
9450
9504
  charStart?: number | undefined;
9451
9505
  charEnd?: number | undefined;
9452
9506
  lineStart?: number | undefined;
9453
9507
  lineEnd?: number | undefined;
9508
+ fieldPath?: string | undefined;
9454
9509
  }, {
9455
9510
  page?: number | undefined;
9456
- fieldPath?: string | undefined;
9457
9511
  startPage?: number | undefined;
9458
9512
  endPage?: number | undefined;
9459
9513
  charStart?: number | undefined;
9460
9514
  charEnd?: number | undefined;
9461
9515
  lineStart?: number | undefined;
9462
9516
  lineEnd?: number | undefined;
9517
+ fieldPath?: string | undefined;
9463
9518
  }>>;
9464
9519
  }, "strip", z.ZodTypeAny, {
9465
9520
  quote: string;
@@ -9474,13 +9529,13 @@ declare const SubAnswerSchema: z.ZodObject<{
9474
9529
  sourceNodeId?: string | undefined;
9475
9530
  sourceLocation?: {
9476
9531
  page?: number | undefined;
9477
- fieldPath?: string | undefined;
9478
9532
  startPage?: number | undefined;
9479
9533
  endPage?: number | undefined;
9480
9534
  charStart?: number | undefined;
9481
9535
  charEnd?: number | undefined;
9482
9536
  lineStart?: number | undefined;
9483
9537
  lineEnd?: number | undefined;
9538
+ fieldPath?: string | undefined;
9484
9539
  } | undefined;
9485
9540
  }, {
9486
9541
  quote: string;
@@ -9495,18 +9550,19 @@ declare const SubAnswerSchema: z.ZodObject<{
9495
9550
  sourceNodeId?: string | undefined;
9496
9551
  sourceLocation?: {
9497
9552
  page?: number | undefined;
9498
- fieldPath?: string | undefined;
9499
9553
  startPage?: number | undefined;
9500
9554
  endPage?: number | undefined;
9501
9555
  charStart?: number | undefined;
9502
9556
  charEnd?: number | undefined;
9503
9557
  lineStart?: number | undefined;
9504
9558
  lineEnd?: number | undefined;
9559
+ fieldPath?: string | undefined;
9505
9560
  } | undefined;
9506
9561
  }>, "many">;
9507
9562
  confidence: z.ZodNumber;
9508
9563
  needsMoreContext: z.ZodBoolean;
9509
9564
  }, "strip", z.ZodTypeAny, {
9565
+ confidence: number;
9510
9566
  answer: string;
9511
9567
  citations: {
9512
9568
  quote: string;
@@ -9521,19 +9577,19 @@ declare const SubAnswerSchema: z.ZodObject<{
9521
9577
  sourceNodeId?: string | undefined;
9522
9578
  sourceLocation?: {
9523
9579
  page?: number | undefined;
9524
- fieldPath?: string | undefined;
9525
9580
  startPage?: number | undefined;
9526
9581
  endPage?: number | undefined;
9527
9582
  charStart?: number | undefined;
9528
9583
  charEnd?: number | undefined;
9529
9584
  lineStart?: number | undefined;
9530
9585
  lineEnd?: number | undefined;
9586
+ fieldPath?: string | undefined;
9531
9587
  } | undefined;
9532
9588
  }[];
9533
- confidence: number;
9534
9589
  subQuestion: string;
9535
9590
  needsMoreContext: boolean;
9536
9591
  }, {
9592
+ confidence: number;
9537
9593
  answer: string;
9538
9594
  citations: {
9539
9595
  quote: string;
@@ -9548,16 +9604,15 @@ declare const SubAnswerSchema: z.ZodObject<{
9548
9604
  sourceNodeId?: string | undefined;
9549
9605
  sourceLocation?: {
9550
9606
  page?: number | undefined;
9551
- fieldPath?: string | undefined;
9552
9607
  startPage?: number | undefined;
9553
9608
  endPage?: number | undefined;
9554
9609
  charStart?: number | undefined;
9555
9610
  charEnd?: number | undefined;
9556
9611
  lineStart?: number | undefined;
9557
9612
  lineEnd?: number | undefined;
9613
+ fieldPath?: string | undefined;
9558
9614
  } | undefined;
9559
9615
  }[];
9560
- confidence: number;
9561
9616
  subQuestion: string;
9562
9617
  needsMoreContext: boolean;
9563
9618
  }>;
@@ -9600,22 +9655,22 @@ declare const QueryResultSchema: z.ZodObject<{
9600
9655
  fieldPath: z.ZodOptional<z.ZodString>;
9601
9656
  }, "strip", z.ZodTypeAny, {
9602
9657
  page?: number | undefined;
9603
- fieldPath?: string | undefined;
9604
9658
  startPage?: number | undefined;
9605
9659
  endPage?: number | undefined;
9606
9660
  charStart?: number | undefined;
9607
9661
  charEnd?: number | undefined;
9608
9662
  lineStart?: number | undefined;
9609
9663
  lineEnd?: number | undefined;
9664
+ fieldPath?: string | undefined;
9610
9665
  }, {
9611
9666
  page?: number | undefined;
9612
- fieldPath?: string | undefined;
9613
9667
  startPage?: number | undefined;
9614
9668
  endPage?: number | undefined;
9615
9669
  charStart?: number | undefined;
9616
9670
  charEnd?: number | undefined;
9617
9671
  lineStart?: number | undefined;
9618
9672
  lineEnd?: number | undefined;
9673
+ fieldPath?: string | undefined;
9619
9674
  }>>;
9620
9675
  }, "strip", z.ZodTypeAny, {
9621
9676
  quote: string;
@@ -9630,13 +9685,13 @@ declare const QueryResultSchema: z.ZodObject<{
9630
9685
  sourceNodeId?: string | undefined;
9631
9686
  sourceLocation?: {
9632
9687
  page?: number | undefined;
9633
- fieldPath?: string | undefined;
9634
9688
  startPage?: number | undefined;
9635
9689
  endPage?: number | undefined;
9636
9690
  charStart?: number | undefined;
9637
9691
  charEnd?: number | undefined;
9638
9692
  lineStart?: number | undefined;
9639
9693
  lineEnd?: number | undefined;
9694
+ fieldPath?: string | undefined;
9640
9695
  } | undefined;
9641
9696
  }, {
9642
9697
  quote: string;
@@ -9651,19 +9706,20 @@ declare const QueryResultSchema: z.ZodObject<{
9651
9706
  sourceNodeId?: string | undefined;
9652
9707
  sourceLocation?: {
9653
9708
  page?: number | undefined;
9654
- fieldPath?: string | undefined;
9655
9709
  startPage?: number | undefined;
9656
9710
  endPage?: number | undefined;
9657
9711
  charStart?: number | undefined;
9658
9712
  charEnd?: number | undefined;
9659
9713
  lineStart?: number | undefined;
9660
9714
  lineEnd?: number | undefined;
9715
+ fieldPath?: string | undefined;
9661
9716
  } | undefined;
9662
9717
  }>, "many">;
9663
9718
  intent: z.ZodEnum<["policy_question", "coverage_comparison", "document_search", "claims_inquiry", "general_knowledge"]>;
9664
9719
  confidence: z.ZodNumber;
9665
9720
  followUp: z.ZodOptional<z.ZodString>;
9666
9721
  }, "strip", z.ZodTypeAny, {
9722
+ confidence: number;
9667
9723
  answer: string;
9668
9724
  citations: {
9669
9725
  quote: string;
@@ -9678,19 +9734,19 @@ declare const QueryResultSchema: z.ZodObject<{
9678
9734
  sourceNodeId?: string | undefined;
9679
9735
  sourceLocation?: {
9680
9736
  page?: number | undefined;
9681
- fieldPath?: string | undefined;
9682
9737
  startPage?: number | undefined;
9683
9738
  endPage?: number | undefined;
9684
9739
  charStart?: number | undefined;
9685
9740
  charEnd?: number | undefined;
9686
9741
  lineStart?: number | undefined;
9687
9742
  lineEnd?: number | undefined;
9743
+ fieldPath?: string | undefined;
9688
9744
  } | undefined;
9689
9745
  }[];
9690
- confidence: number;
9691
9746
  intent: "policy_question" | "coverage_comparison" | "document_search" | "claims_inquiry" | "general_knowledge";
9692
9747
  followUp?: string | undefined;
9693
9748
  }, {
9749
+ confidence: number;
9694
9750
  answer: string;
9695
9751
  citations: {
9696
9752
  quote: string;
@@ -9705,16 +9761,15 @@ declare const QueryResultSchema: z.ZodObject<{
9705
9761
  sourceNodeId?: string | undefined;
9706
9762
  sourceLocation?: {
9707
9763
  page?: number | undefined;
9708
- fieldPath?: string | undefined;
9709
9764
  startPage?: number | undefined;
9710
9765
  endPage?: number | undefined;
9711
9766
  charStart?: number | undefined;
9712
9767
  charEnd?: number | undefined;
9713
9768
  lineStart?: number | undefined;
9714
9769
  lineEnd?: number | undefined;
9770
+ fieldPath?: string | undefined;
9715
9771
  } | undefined;
9716
9772
  }[];
9717
- confidence: number;
9718
9773
  intent: "policy_question" | "coverage_comparison" | "document_search" | "claims_inquiry" | "general_knowledge";
9719
9774
  followUp?: string | undefined;
9720
9775
  }>;
@@ -9921,4 +9976,4 @@ interface DocumentTemplate {
9921
9976
  }
9922
9977
  declare function getTemplate(policyType: string): DocumentTemplate;
9923
9978
 
9924
- export { ACORD_LOB_CODES, ACORD_LOB_LABELS, ADMITTED_STATUSES, AGENT_TOOLS, APPLICATION_CLASSIFY_PROMPT, AUDIT_TYPES, type AcordLobCode, AcordLobCodeSchema, 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, 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, EXCLUDED_ACORD_LOB_CODES, 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 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, LEGACY_POLICY_TYPE_TO_LOB, LIMIT_TYPES, LOSS_SETTLEMENTS, type LimitSchedule, LimitScheduleSchema, type LimitType, LimitTypeSchema, type LineOfBusinessResolutionSource, type LocationPremium, LocationPremiumSchema, LogFn, type LossSettlement, LossSettlementSchema, type LossSummary, LossSummarySchema, MemorySourceStore, MemoryStore, type MissingInfoQuestion, MissingInfoQuestionSchema, ModelBudgetConstraint, ModelBudgetResolution, ModelCapabilities, ModelTaskKind, type NamedInsured, NamedInsuredSchema, type NormalizedDoclingDocument, OperationalCoverageLine, type OrderableSourceEvidence, PERSONAL_AUTO_USAGES, PERSONAL_LOB_CODES, PET_SPECIES, POLICY_SECTION_TYPES, POLICY_TERM_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 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, annotateOperationalCoverageLinesOfBusiness, buildAcroFormMappingPrompt, buildAgentSystemPrompt, buildAnswerParsingPrompt, buildAutoFillPrompt, buildBatchEmailGenerationPrompt, buildClassifyMessagePrompt, buildCoiRoutingPrompt, buildConfirmationSummaryPrompt, buildConversationMemoryGuidance, buildCoverageGapPrompt, 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, inferLineOfBusinessForOperationalCoverage, inferLinesOfBusinessFromOperationalCoverages, isDoclingExtractionInput, isFileReference, isLobCode, isPersonalLob, lobLabel, mergeQuestionAnswers, mergeSourceSpans, normalizeDoclingDocument, normalizeDocumentSourceTreePaths, normalizeForMatch, normalizeOperationalLinesOfBusiness, normalizeSourceSpans, orderSourceEvidence, overlayTextOnPdf, pLimit, pdfInputToBase64, pdfInputToBytes, processReply, resolveOperationalProfileLinesOfBusiness, safeGenerateObject, sanitizeNulls, scoreCaseProposal, selectPceExecutionMode, sourceSpanTextHash, stableCaseId, stableHash, stablePolicyChangeItemId, stableStringify, stripFences, toLobCodes, toStrictSchema, validateEvidence, validatePceItems, validateQuotedEvidence, withRetry };
9979
+ export { ACORD_LOB_CODES, ACORD_LOB_LABELS, ADMITTED_STATUSES, AGENT_TOOLS, APPLICATION_CLASSIFY_PROMPT, AUDIT_TYPES, type AcordLobCode, AcordLobCodeSchema, 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, type Coverage, type CoverageForm, CoverageFormSchema, type CoverageRecoveryDiagnostics, type CoverageRecoveryResult, 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, EXCLUDED_ACORD_LOB_CODES, 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 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, LEGACY_POLICY_TYPE_TO_LOB, LIMIT_TYPES, LOSS_SETTLEMENTS, type LimitSchedule, LimitScheduleSchema, type LimitType, LimitTypeSchema, type LineOfBusinessResolutionSource, type LocationPremium, LocationPremiumSchema, LogFn, type LossSettlement, LossSettlementSchema, type LossSummary, LossSummarySchema, MemorySourceStore, MemoryStore, type MissingInfoQuestion, MissingInfoQuestionSchema, ModelBudgetConstraint, ModelBudgetResolution, ModelCapabilities, ModelTaskKind, type NamedInsured, NamedInsuredSchema, type NormalizedDoclingDocument, OperationalCoverageLine, type OrderableSourceEvidence, PERSONAL_AUTO_USAGES, PERSONAL_LOB_CODES, PET_SPECIES, POLICY_SECTION_TYPES, POLICY_TERM_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 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, annotateOperationalCoverageLinesOfBusiness, buildAcroFormMappingPrompt, buildAgentSystemPrompt, buildAnswerParsingPrompt, buildAutoFillPrompt, buildBatchEmailGenerationPrompt, buildClassifyMessagePrompt, buildCoiRoutingPrompt, buildConfirmationSummaryPrompt, buildConversationMemoryGuidance, buildCoverageGapPrompt, 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, inferLineOfBusinessForOperationalCoverage, inferLinesOfBusinessFromOperationalCoverages, isDoclingExtractionInput, isFileReference, isLobCode, isPersonalLob, lobLabel, mergeQuestionAnswers, mergeSourceSpans, normalizeDoclingDocument, normalizeDocumentSourceTreePaths, normalizeForMatch, normalizeOperationalLinesOfBusiness, normalizeSourceSpans, orderSourceEvidence, overlayTextOnPdf, pLimit, pdfInputToBase64, pdfInputToBytes, processReply, resolveOperationalProfileLinesOfBusiness, runCoverageRecovery, runSourceTreeExtraction, safeGenerateObject, sanitizeNulls, scoreCaseProposal, selectPceExecutionMode, sourceSpanTextHash, stableCaseId, stableHash, stablePolicyChangeItemId, stableStringify, stripFences, toLobCodes, toStrictSchema, validateEvidence, validatePceItems, validateQuotedEvidence, withRetry };