@claritylabs/cl-sdk 4.2.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/README.md +2 -2
- package/dist/application.d.mts +1 -1
- package/dist/application.d.ts +1 -1
- package/dist/application.js +41 -0
- package/dist/application.js.map +1 -1
- package/dist/application.mjs +41 -0
- package/dist/application.mjs.map +1 -1
- package/dist/{index-C9XfOdmx.d.mts → index-CReSzyKJ.d.mts} +1855 -575
- package/dist/{index-C9XfOdmx.d.ts → index-CReSzyKJ.d.ts} +1855 -575
- package/dist/index.d.mts +370 -277
- package/dist/index.d.ts +370 -277
- package/dist/index.js +2207 -1219
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2200 -1219
- package/dist/index.mjs.map +1 -1
- package/dist/storage-sqlite.d.mts +538 -182
- package/dist/storage-sqlite.d.ts +538 -182
- package/dist/storage-sqlite.js +41 -0
- package/dist/storage-sqlite.js.map +1 -1
- package/dist/storage-sqlite.mjs +41 -0
- package/dist/storage-sqlite.mjs.map +1 -1
- package/package.json +1 -1
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
|
|
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
|
|
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';
|
|
@@ -1080,6 +1080,28 @@ declare const InsurerInfoSchema: z.ZodObject<{
|
|
|
1080
1080
|
amBestNumber: z.ZodOptional<z.ZodString>;
|
|
1081
1081
|
admittedStatus: z.ZodOptional<z.ZodEnum<["admitted", "non_admitted", "surplus_lines"]>>;
|
|
1082
1082
|
stateOfDomicile: z.ZodOptional<z.ZodString>;
|
|
1083
|
+
address: z.ZodOptional<z.ZodObject<{
|
|
1084
|
+
street1: z.ZodString;
|
|
1085
|
+
street2: z.ZodOptional<z.ZodString>;
|
|
1086
|
+
city: z.ZodString;
|
|
1087
|
+
state: z.ZodString;
|
|
1088
|
+
zip: z.ZodString;
|
|
1089
|
+
country: z.ZodOptional<z.ZodString>;
|
|
1090
|
+
}, "strip", z.ZodTypeAny, {
|
|
1091
|
+
street1: string;
|
|
1092
|
+
city: string;
|
|
1093
|
+
state: string;
|
|
1094
|
+
zip: string;
|
|
1095
|
+
street2?: string | undefined;
|
|
1096
|
+
country?: string | undefined;
|
|
1097
|
+
}, {
|
|
1098
|
+
street1: string;
|
|
1099
|
+
city: string;
|
|
1100
|
+
state: string;
|
|
1101
|
+
zip: string;
|
|
1102
|
+
street2?: string | undefined;
|
|
1103
|
+
country?: string | undefined;
|
|
1104
|
+
}>>;
|
|
1083
1105
|
} & {
|
|
1084
1106
|
sourceSpanIds: z.ZodArray<z.ZodString, "many">;
|
|
1085
1107
|
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
@@ -1093,6 +1115,14 @@ declare const InsurerInfoSchema: z.ZodObject<{
|
|
|
1093
1115
|
sourceTextHash?: string | undefined;
|
|
1094
1116
|
pageStart?: number | undefined;
|
|
1095
1117
|
pageEnd?: number | undefined;
|
|
1118
|
+
address?: {
|
|
1119
|
+
street1: string;
|
|
1120
|
+
city: string;
|
|
1121
|
+
state: string;
|
|
1122
|
+
zip: string;
|
|
1123
|
+
street2?: string | undefined;
|
|
1124
|
+
country?: string | undefined;
|
|
1125
|
+
} | undefined;
|
|
1096
1126
|
naicNumber?: string | undefined;
|
|
1097
1127
|
amBestRating?: string | undefined;
|
|
1098
1128
|
amBestNumber?: string | undefined;
|
|
@@ -1105,6 +1135,14 @@ declare const InsurerInfoSchema: z.ZodObject<{
|
|
|
1105
1135
|
sourceTextHash?: string | undefined;
|
|
1106
1136
|
pageStart?: number | undefined;
|
|
1107
1137
|
pageEnd?: number | undefined;
|
|
1138
|
+
address?: {
|
|
1139
|
+
street1: string;
|
|
1140
|
+
city: string;
|
|
1141
|
+
state: string;
|
|
1142
|
+
zip: string;
|
|
1143
|
+
street2?: string | undefined;
|
|
1144
|
+
country?: string | undefined;
|
|
1145
|
+
} | undefined;
|
|
1108
1146
|
naicNumber?: string | undefined;
|
|
1109
1147
|
amBestRating?: string | undefined;
|
|
1110
1148
|
amBestNumber?: string | undefined;
|
|
@@ -6597,21 +6635,21 @@ declare const CaseEvidenceSourceSchema: z.ZodObject<{
|
|
|
6597
6635
|
text: z.ZodString;
|
|
6598
6636
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6599
6637
|
}, "strip", z.ZodTypeAny, {
|
|
6600
|
-
id: string;
|
|
6601
6638
|
text: string;
|
|
6639
|
+
id: string;
|
|
6602
6640
|
page?: number | undefined;
|
|
6603
|
-
label?: string | undefined;
|
|
6604
|
-
documentId?: string | undefined;
|
|
6605
6641
|
fieldPath?: string | undefined;
|
|
6642
|
+
documentId?: string | undefined;
|
|
6606
6643
|
metadata?: Record<string, string> | undefined;
|
|
6644
|
+
label?: string | undefined;
|
|
6607
6645
|
}, {
|
|
6608
|
-
id: string;
|
|
6609
6646
|
text: string;
|
|
6647
|
+
id: string;
|
|
6610
6648
|
page?: number | undefined;
|
|
6611
|
-
label?: string | undefined;
|
|
6612
|
-
documentId?: string | undefined;
|
|
6613
6649
|
fieldPath?: string | undefined;
|
|
6650
|
+
documentId?: string | undefined;
|
|
6614
6651
|
metadata?: Record<string, string> | undefined;
|
|
6652
|
+
label?: string | undefined;
|
|
6615
6653
|
}>;
|
|
6616
6654
|
type CaseEvidenceSource = z.infer<typeof CaseEvidenceSourceSchema>;
|
|
6617
6655
|
declare const CaseCitationSchema: z.ZodObject<{
|
|
@@ -6705,8 +6743,8 @@ declare const CasePacketArtifactSchema: z.ZodObject<{
|
|
|
6705
6743
|
}, "strip", z.ZodTypeAny, {
|
|
6706
6744
|
title: string;
|
|
6707
6745
|
content: string;
|
|
6708
|
-
kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
|
|
6709
6746
|
id: string;
|
|
6747
|
+
kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
|
|
6710
6748
|
citations: {
|
|
6711
6749
|
quote: string;
|
|
6712
6750
|
sourceId: string;
|
|
@@ -6716,8 +6754,8 @@ declare const CasePacketArtifactSchema: z.ZodObject<{
|
|
|
6716
6754
|
}, {
|
|
6717
6755
|
title: string;
|
|
6718
6756
|
content: string;
|
|
6719
|
-
kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
|
|
6720
6757
|
id: string;
|
|
6758
|
+
kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
|
|
6721
6759
|
citations?: {
|
|
6722
6760
|
quote: string;
|
|
6723
6761
|
sourceId: string;
|
|
@@ -6753,8 +6791,8 @@ declare const CaseSubmissionPacketSchema: z.ZodObject<{
|
|
|
6753
6791
|
}, "strip", z.ZodTypeAny, {
|
|
6754
6792
|
title: string;
|
|
6755
6793
|
content: string;
|
|
6756
|
-
kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
|
|
6757
6794
|
id: string;
|
|
6795
|
+
kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
|
|
6758
6796
|
citations: {
|
|
6759
6797
|
quote: string;
|
|
6760
6798
|
sourceId: string;
|
|
@@ -6764,8 +6802,8 @@ declare const CaseSubmissionPacketSchema: z.ZodObject<{
|
|
|
6764
6802
|
}, {
|
|
6765
6803
|
title: string;
|
|
6766
6804
|
content: string;
|
|
6767
|
-
kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
|
|
6768
6805
|
id: string;
|
|
6806
|
+
kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
|
|
6769
6807
|
citations?: {
|
|
6770
6808
|
quote: string;
|
|
6771
6809
|
sourceId: string;
|
|
@@ -6824,8 +6862,8 @@ declare const CaseSubmissionPacketSchema: z.ZodObject<{
|
|
|
6824
6862
|
artifacts: {
|
|
6825
6863
|
title: string;
|
|
6826
6864
|
content: string;
|
|
6827
|
-
kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
|
|
6828
6865
|
id: string;
|
|
6866
|
+
kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
|
|
6829
6867
|
citations: {
|
|
6830
6868
|
quote: string;
|
|
6831
6869
|
sourceId: string;
|
|
@@ -6856,8 +6894,8 @@ declare const CaseSubmissionPacketSchema: z.ZodObject<{
|
|
|
6856
6894
|
artifacts: {
|
|
6857
6895
|
title: string;
|
|
6858
6896
|
content: string;
|
|
6859
|
-
kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
|
|
6860
6897
|
id: string;
|
|
6898
|
+
kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
|
|
6861
6899
|
citations?: {
|
|
6862
6900
|
quote: string;
|
|
6863
6901
|
sourceId: string;
|
|
@@ -6965,6 +7003,7 @@ declare const CaseProposalSchema: z.ZodObject<{
|
|
|
6965
7003
|
}, "strip", z.ZodTypeAny, {
|
|
6966
7004
|
sourceSpanIds: string[];
|
|
6967
7005
|
id: string;
|
|
7006
|
+
confidence: number;
|
|
6968
7007
|
validationIssues: {
|
|
6969
7008
|
code: string;
|
|
6970
7009
|
message: string;
|
|
@@ -6973,7 +7012,6 @@ declare const CaseProposalSchema: z.ZodObject<{
|
|
|
6973
7012
|
sourceId?: string | undefined;
|
|
6974
7013
|
itemId?: string | undefined;
|
|
6975
7014
|
}[];
|
|
6976
|
-
confidence: number;
|
|
6977
7015
|
missingInfo: string[];
|
|
6978
7016
|
estimatedRisk: number;
|
|
6979
7017
|
estimatedCost: number;
|
|
@@ -7125,17 +7163,17 @@ declare const PolicyChangeItemSchema: z.ZodObject<{
|
|
|
7125
7163
|
}, "strip", z.ZodTypeAny, {
|
|
7126
7164
|
status: "draft" | "needs_info" | "ready" | "blocked";
|
|
7127
7165
|
sourceSpanIds: string[];
|
|
7128
|
-
label: string;
|
|
7129
|
-
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";
|
|
7130
|
-
id: string;
|
|
7131
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;
|
|
7132
7171
|
citations: {
|
|
7133
7172
|
quote: string;
|
|
7134
7173
|
sourceId: string;
|
|
7135
7174
|
page?: number | undefined;
|
|
7136
7175
|
fieldPath?: string | undefined;
|
|
7137
7176
|
}[];
|
|
7138
|
-
confidence: "low" | "medium" | "high";
|
|
7139
7177
|
action: "add" | "remove" | "update" | "replace" | "clarify";
|
|
7140
7178
|
affectedPolicyId: string;
|
|
7141
7179
|
sourceIds: string[];
|
|
@@ -7147,14 +7185,15 @@ declare const PolicyChangeItemSchema: z.ZodObject<{
|
|
|
7147
7185
|
userSourceSpanIds?: string[] | undefined;
|
|
7148
7186
|
confidenceScore?: number | undefined;
|
|
7149
7187
|
}, {
|
|
7150
|
-
label: string;
|
|
7151
|
-
id: string;
|
|
7152
7188
|
fieldPath: string;
|
|
7189
|
+
id: string;
|
|
7190
|
+
label: string;
|
|
7153
7191
|
action: "add" | "remove" | "update" | "replace" | "clarify";
|
|
7154
7192
|
status?: "draft" | "needs_info" | "ready" | "blocked" | undefined;
|
|
7155
7193
|
sourceSpanIds?: string[] | undefined;
|
|
7156
7194
|
effectiveDate?: string | undefined;
|
|
7157
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;
|
|
7158
7197
|
reason?: string | undefined;
|
|
7159
7198
|
citations?: {
|
|
7160
7199
|
quote: string;
|
|
@@ -7162,7 +7201,6 @@ declare const PolicyChangeItemSchema: z.ZodObject<{
|
|
|
7162
7201
|
page?: number | undefined;
|
|
7163
7202
|
fieldPath?: string | undefined;
|
|
7164
7203
|
}[] | undefined;
|
|
7165
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
7166
7204
|
affectedPolicyId?: string | undefined;
|
|
7167
7205
|
beforeValue?: string | undefined;
|
|
7168
7206
|
afterValue?: string | undefined;
|
|
@@ -7213,16 +7251,16 @@ declare const PceNormalizationResultSchema: z.ZodObject<{
|
|
|
7213
7251
|
status: z.ZodOptional<z.ZodEnum<["draft", "needs_info", "ready", "blocked"]>>;
|
|
7214
7252
|
}, "strip", z.ZodTypeAny, {
|
|
7215
7253
|
sourceSpanIds: string[];
|
|
7216
|
-
label: string;
|
|
7217
|
-
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";
|
|
7218
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;
|
|
7219
7258
|
citations: {
|
|
7220
7259
|
quote: string;
|
|
7221
7260
|
sourceId: string;
|
|
7222
7261
|
page?: number | undefined;
|
|
7223
7262
|
fieldPath?: string | undefined;
|
|
7224
7263
|
}[];
|
|
7225
|
-
confidence: "low" | "medium" | "high";
|
|
7226
7264
|
action: "add" | "remove" | "update" | "replace" | "clarify";
|
|
7227
7265
|
affectedPolicyId: string;
|
|
7228
7266
|
sourceIds: string[];
|
|
@@ -7236,14 +7274,15 @@ declare const PceNormalizationResultSchema: z.ZodObject<{
|
|
|
7236
7274
|
userSourceSpanIds?: string[] | undefined;
|
|
7237
7275
|
confidenceScore?: number | undefined;
|
|
7238
7276
|
}, {
|
|
7239
|
-
label: string;
|
|
7240
7277
|
fieldPath: string;
|
|
7278
|
+
label: string;
|
|
7241
7279
|
action: "add" | "remove" | "update" | "replace" | "clarify";
|
|
7242
7280
|
status?: "draft" | "needs_info" | "ready" | "blocked" | undefined;
|
|
7243
7281
|
sourceSpanIds?: string[] | undefined;
|
|
7244
7282
|
effectiveDate?: string | undefined;
|
|
7245
|
-
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;
|
|
7246
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;
|
|
7247
7286
|
reason?: string | undefined;
|
|
7248
7287
|
citations?: {
|
|
7249
7288
|
quote: string;
|
|
@@ -7251,7 +7290,6 @@ declare const PceNormalizationResultSchema: z.ZodObject<{
|
|
|
7251
7290
|
page?: number | undefined;
|
|
7252
7291
|
fieldPath?: string | undefined;
|
|
7253
7292
|
}[] | undefined;
|
|
7254
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
7255
7293
|
affectedPolicyId?: string | undefined;
|
|
7256
7294
|
beforeValue?: string | undefined;
|
|
7257
7295
|
afterValue?: string | undefined;
|
|
@@ -7272,40 +7310,31 @@ declare const PceNormalizationResultSchema: z.ZodObject<{
|
|
|
7272
7310
|
}, "strip", z.ZodTypeAny, {
|
|
7273
7311
|
question: string;
|
|
7274
7312
|
reason: string;
|
|
7275
|
-
id?: string | undefined;
|
|
7276
7313
|
fieldPath?: string | undefined;
|
|
7314
|
+
id?: string | undefined;
|
|
7277
7315
|
itemId?: string | undefined;
|
|
7278
7316
|
answer?: string | undefined;
|
|
7279
7317
|
}, {
|
|
7280
7318
|
question: string;
|
|
7281
7319
|
reason: string;
|
|
7282
|
-
id?: string | undefined;
|
|
7283
7320
|
fieldPath?: string | undefined;
|
|
7321
|
+
id?: string | undefined;
|
|
7284
7322
|
itemId?: string | undefined;
|
|
7285
7323
|
answer?: string | undefined;
|
|
7286
7324
|
}>, "many">>;
|
|
7287
7325
|
}, "strip", z.ZodTypeAny, {
|
|
7288
|
-
summary: string;
|
|
7289
|
-
missingInfoQuestions: {
|
|
7290
|
-
question: string;
|
|
7291
|
-
reason: string;
|
|
7292
|
-
id?: string | undefined;
|
|
7293
|
-
fieldPath?: string | undefined;
|
|
7294
|
-
itemId?: string | undefined;
|
|
7295
|
-
answer?: string | undefined;
|
|
7296
|
-
}[];
|
|
7297
7326
|
items: {
|
|
7298
7327
|
sourceSpanIds: string[];
|
|
7299
|
-
label: string;
|
|
7300
|
-
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";
|
|
7301
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;
|
|
7302
7332
|
citations: {
|
|
7303
7333
|
quote: string;
|
|
7304
7334
|
sourceId: string;
|
|
7305
7335
|
page?: number | undefined;
|
|
7306
7336
|
fieldPath?: string | undefined;
|
|
7307
7337
|
}[];
|
|
7308
|
-
confidence: "low" | "medium" | "high";
|
|
7309
7338
|
action: "add" | "remove" | "update" | "replace" | "clarify";
|
|
7310
7339
|
affectedPolicyId: string;
|
|
7311
7340
|
sourceIds: string[];
|
|
@@ -7319,17 +7348,26 @@ declare const PceNormalizationResultSchema: z.ZodObject<{
|
|
|
7319
7348
|
userSourceSpanIds?: string[] | undefined;
|
|
7320
7349
|
confidenceScore?: number | undefined;
|
|
7321
7350
|
}[];
|
|
7322
|
-
}, {
|
|
7323
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
|
+
}, {
|
|
7324
7361
|
items: {
|
|
7325
|
-
label: string;
|
|
7326
7362
|
fieldPath: string;
|
|
7363
|
+
label: string;
|
|
7327
7364
|
action: "add" | "remove" | "update" | "replace" | "clarify";
|
|
7328
7365
|
status?: "draft" | "needs_info" | "ready" | "blocked" | undefined;
|
|
7329
7366
|
sourceSpanIds?: string[] | undefined;
|
|
7330
7367
|
effectiveDate?: string | undefined;
|
|
7331
|
-
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;
|
|
7332
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;
|
|
7333
7371
|
reason?: string | undefined;
|
|
7334
7372
|
citations?: {
|
|
7335
7373
|
quote: string;
|
|
@@ -7337,7 +7375,6 @@ declare const PceNormalizationResultSchema: z.ZodObject<{
|
|
|
7337
7375
|
page?: number | undefined;
|
|
7338
7376
|
fieldPath?: string | undefined;
|
|
7339
7377
|
}[] | undefined;
|
|
7340
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
7341
7378
|
affectedPolicyId?: string | undefined;
|
|
7342
7379
|
beforeValue?: string | undefined;
|
|
7343
7380
|
afterValue?: string | undefined;
|
|
@@ -7346,11 +7383,12 @@ declare const PceNormalizationResultSchema: z.ZodObject<{
|
|
|
7346
7383
|
userSourceSpanIds?: string[] | undefined;
|
|
7347
7384
|
confidenceScore?: number | undefined;
|
|
7348
7385
|
}[];
|
|
7386
|
+
summary: string;
|
|
7349
7387
|
missingInfoQuestions?: {
|
|
7350
7388
|
question: string;
|
|
7351
7389
|
reason: string;
|
|
7352
|
-
id?: string | undefined;
|
|
7353
7390
|
fieldPath?: string | undefined;
|
|
7391
|
+
id?: string | undefined;
|
|
7354
7392
|
itemId?: string | undefined;
|
|
7355
7393
|
answer?: string | undefined;
|
|
7356
7394
|
}[] | undefined;
|
|
@@ -7424,17 +7462,17 @@ declare const PceCaseStateSchema: z.ZodObject<{
|
|
|
7424
7462
|
}, "strip", z.ZodTypeAny, {
|
|
7425
7463
|
status: "draft" | "needs_info" | "ready" | "blocked";
|
|
7426
7464
|
sourceSpanIds: string[];
|
|
7427
|
-
label: string;
|
|
7428
|
-
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";
|
|
7429
|
-
id: string;
|
|
7430
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;
|
|
7431
7470
|
citations: {
|
|
7432
7471
|
quote: string;
|
|
7433
7472
|
sourceId: string;
|
|
7434
7473
|
page?: number | undefined;
|
|
7435
7474
|
fieldPath?: string | undefined;
|
|
7436
7475
|
}[];
|
|
7437
|
-
confidence: "low" | "medium" | "high";
|
|
7438
7476
|
action: "add" | "remove" | "update" | "replace" | "clarify";
|
|
7439
7477
|
affectedPolicyId: string;
|
|
7440
7478
|
sourceIds: string[];
|
|
@@ -7446,14 +7484,15 @@ declare const PceCaseStateSchema: z.ZodObject<{
|
|
|
7446
7484
|
userSourceSpanIds?: string[] | undefined;
|
|
7447
7485
|
confidenceScore?: number | undefined;
|
|
7448
7486
|
}, {
|
|
7449
|
-
label: string;
|
|
7450
|
-
id: string;
|
|
7451
7487
|
fieldPath: string;
|
|
7488
|
+
id: string;
|
|
7489
|
+
label: string;
|
|
7452
7490
|
action: "add" | "remove" | "update" | "replace" | "clarify";
|
|
7453
7491
|
status?: "draft" | "needs_info" | "ready" | "blocked" | undefined;
|
|
7454
7492
|
sourceSpanIds?: string[] | undefined;
|
|
7455
7493
|
effectiveDate?: string | undefined;
|
|
7456
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;
|
|
7457
7496
|
reason?: string | undefined;
|
|
7458
7497
|
citations?: {
|
|
7459
7498
|
quote: string;
|
|
@@ -7461,7 +7500,6 @@ declare const PceCaseStateSchema: z.ZodObject<{
|
|
|
7461
7500
|
page?: number | undefined;
|
|
7462
7501
|
fieldPath?: string | undefined;
|
|
7463
7502
|
}[] | undefined;
|
|
7464
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
7465
7503
|
affectedPolicyId?: string | undefined;
|
|
7466
7504
|
beforeValue?: string | undefined;
|
|
7467
7505
|
afterValue?: string | undefined;
|
|
@@ -7504,21 +7542,21 @@ declare const PceCaseStateSchema: z.ZodObject<{
|
|
|
7504
7542
|
text: z.ZodString;
|
|
7505
7543
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7506
7544
|
}, "strip", z.ZodTypeAny, {
|
|
7507
|
-
id: string;
|
|
7508
7545
|
text: string;
|
|
7546
|
+
id: string;
|
|
7509
7547
|
page?: number | undefined;
|
|
7510
|
-
label?: string | undefined;
|
|
7511
|
-
documentId?: string | undefined;
|
|
7512
7548
|
fieldPath?: string | undefined;
|
|
7549
|
+
documentId?: string | undefined;
|
|
7513
7550
|
metadata?: Record<string, string> | undefined;
|
|
7551
|
+
label?: string | undefined;
|
|
7514
7552
|
}, {
|
|
7515
|
-
id: string;
|
|
7516
7553
|
text: string;
|
|
7554
|
+
id: string;
|
|
7517
7555
|
page?: number | undefined;
|
|
7518
|
-
label?: string | undefined;
|
|
7519
|
-
documentId?: string | undefined;
|
|
7520
7556
|
fieldPath?: string | undefined;
|
|
7557
|
+
documentId?: string | undefined;
|
|
7521
7558
|
metadata?: Record<string, string> | undefined;
|
|
7559
|
+
label?: string | undefined;
|
|
7522
7560
|
}>, "many">;
|
|
7523
7561
|
validationIssues: z.ZodArray<z.ZodObject<{
|
|
7524
7562
|
code: z.ZodString;
|
|
@@ -7568,38 +7606,20 @@ declare const PceCaseStateSchema: z.ZodObject<{
|
|
|
7568
7606
|
updatedAt: z.ZodNumber;
|
|
7569
7607
|
}, "strip", z.ZodTypeAny, {
|
|
7570
7608
|
id: string;
|
|
7571
|
-
summary: string;
|
|
7572
|
-
validationIssues: {
|
|
7573
|
-
code: string;
|
|
7574
|
-
message: string;
|
|
7575
|
-
severity: "info" | "warning" | "blocking";
|
|
7576
|
-
fieldPath?: string | undefined;
|
|
7577
|
-
sourceId?: string | undefined;
|
|
7578
|
-
itemId?: string | undefined;
|
|
7579
|
-
}[];
|
|
7580
|
-
missingInfoQuestions: {
|
|
7581
|
-
id: string;
|
|
7582
|
-
question: string;
|
|
7583
|
-
reason: string;
|
|
7584
|
-
fieldPath?: string | undefined;
|
|
7585
|
-
itemId?: string | undefined;
|
|
7586
|
-
answer?: string | undefined;
|
|
7587
|
-
}[];
|
|
7588
|
-
createdAt: number;
|
|
7589
7609
|
items: {
|
|
7590
7610
|
status: "draft" | "needs_info" | "ready" | "blocked";
|
|
7591
7611
|
sourceSpanIds: string[];
|
|
7592
|
-
label: string;
|
|
7593
|
-
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";
|
|
7594
|
-
id: string;
|
|
7595
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;
|
|
7596
7617
|
citations: {
|
|
7597
7618
|
quote: string;
|
|
7598
7619
|
sourceId: string;
|
|
7599
7620
|
page?: number | undefined;
|
|
7600
7621
|
fieldPath?: string | undefined;
|
|
7601
7622
|
}[];
|
|
7602
|
-
confidence: "low" | "medium" | "high";
|
|
7603
7623
|
action: "add" | "remove" | "update" | "replace" | "clarify";
|
|
7604
7624
|
affectedPolicyId: string;
|
|
7605
7625
|
sourceIds: string[];
|
|
@@ -7611,6 +7631,24 @@ declare const PceCaseStateSchema: z.ZodObject<{
|
|
|
7611
7631
|
userSourceSpanIds?: string[] | undefined;
|
|
7612
7632
|
confidenceScore?: number | undefined;
|
|
7613
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;
|
|
7614
7652
|
requestText: string;
|
|
7615
7653
|
executionMode: "deterministic_tree" | "market_eval" | "hybrid";
|
|
7616
7654
|
impacts: {
|
|
@@ -7623,44 +7661,27 @@ declare const PceCaseStateSchema: z.ZodObject<{
|
|
|
7623
7661
|
requestedValue?: string | undefined;
|
|
7624
7662
|
}[];
|
|
7625
7663
|
evidenceSources: {
|
|
7626
|
-
id: string;
|
|
7627
7664
|
text: string;
|
|
7665
|
+
id: string;
|
|
7628
7666
|
page?: number | undefined;
|
|
7629
|
-
label?: string | undefined;
|
|
7630
|
-
documentId?: string | undefined;
|
|
7631
7667
|
fieldPath?: string | undefined;
|
|
7668
|
+
documentId?: string | undefined;
|
|
7632
7669
|
metadata?: Record<string, string> | undefined;
|
|
7670
|
+
label?: string | undefined;
|
|
7633
7671
|
}[];
|
|
7634
7672
|
updatedAt: number;
|
|
7635
7673
|
}, {
|
|
7636
7674
|
id: string;
|
|
7637
|
-
summary: string;
|
|
7638
|
-
validationIssues: {
|
|
7639
|
-
code: string;
|
|
7640
|
-
message: string;
|
|
7641
|
-
severity: "info" | "warning" | "blocking";
|
|
7642
|
-
fieldPath?: string | undefined;
|
|
7643
|
-
sourceId?: string | undefined;
|
|
7644
|
-
itemId?: string | undefined;
|
|
7645
|
-
}[];
|
|
7646
|
-
missingInfoQuestions: {
|
|
7647
|
-
id: string;
|
|
7648
|
-
question: string;
|
|
7649
|
-
reason: string;
|
|
7650
|
-
fieldPath?: string | undefined;
|
|
7651
|
-
itemId?: string | undefined;
|
|
7652
|
-
answer?: string | undefined;
|
|
7653
|
-
}[];
|
|
7654
|
-
createdAt: number;
|
|
7655
7675
|
items: {
|
|
7656
|
-
label: string;
|
|
7657
|
-
id: string;
|
|
7658
7676
|
fieldPath: string;
|
|
7677
|
+
id: string;
|
|
7678
|
+
label: string;
|
|
7659
7679
|
action: "add" | "remove" | "update" | "replace" | "clarify";
|
|
7660
7680
|
status?: "draft" | "needs_info" | "ready" | "blocked" | undefined;
|
|
7661
7681
|
sourceSpanIds?: string[] | undefined;
|
|
7662
7682
|
effectiveDate?: string | undefined;
|
|
7663
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;
|
|
7664
7685
|
reason?: string | undefined;
|
|
7665
7686
|
citations?: {
|
|
7666
7687
|
quote: string;
|
|
@@ -7668,7 +7689,6 @@ declare const PceCaseStateSchema: z.ZodObject<{
|
|
|
7668
7689
|
page?: number | undefined;
|
|
7669
7690
|
fieldPath?: string | undefined;
|
|
7670
7691
|
}[] | undefined;
|
|
7671
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
7672
7692
|
affectedPolicyId?: string | undefined;
|
|
7673
7693
|
beforeValue?: string | undefined;
|
|
7674
7694
|
afterValue?: string | undefined;
|
|
@@ -7677,6 +7697,24 @@ declare const PceCaseStateSchema: z.ZodObject<{
|
|
|
7677
7697
|
userSourceSpanIds?: string[] | undefined;
|
|
7678
7698
|
confidenceScore?: number | undefined;
|
|
7679
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;
|
|
7680
7718
|
requestText: string;
|
|
7681
7719
|
impacts: {
|
|
7682
7720
|
itemId: string;
|
|
@@ -7688,13 +7726,13 @@ declare const PceCaseStateSchema: z.ZodObject<{
|
|
|
7688
7726
|
affectedCoverageForms?: string[] | undefined;
|
|
7689
7727
|
}[];
|
|
7690
7728
|
evidenceSources: {
|
|
7691
|
-
id: string;
|
|
7692
7729
|
text: string;
|
|
7730
|
+
id: string;
|
|
7693
7731
|
page?: number | undefined;
|
|
7694
|
-
label?: string | undefined;
|
|
7695
|
-
documentId?: string | undefined;
|
|
7696
7732
|
fieldPath?: string | undefined;
|
|
7733
|
+
documentId?: string | undefined;
|
|
7697
7734
|
metadata?: Record<string, string> | undefined;
|
|
7735
|
+
label?: string | undefined;
|
|
7698
7736
|
}[];
|
|
7699
7737
|
updatedAt: number;
|
|
7700
7738
|
executionMode?: "deterministic_tree" | "market_eval" | "hybrid" | undefined;
|
|
@@ -7707,14 +7745,14 @@ declare const PolicyChangeRequestSchema: z.ZodObject<{
|
|
|
7707
7745
|
userSourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7708
7746
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
7709
7747
|
}, "strip", z.ZodTypeAny, {
|
|
7710
|
-
id: string;
|
|
7711
7748
|
text: string;
|
|
7749
|
+
id: string;
|
|
7712
7750
|
createdAt?: number | undefined;
|
|
7713
7751
|
userSourceSpanIds?: string[] | undefined;
|
|
7714
7752
|
executionMode?: "deterministic_tree" | "market_eval" | "hybrid" | undefined;
|
|
7715
7753
|
}, {
|
|
7716
|
-
id: string;
|
|
7717
7754
|
text: string;
|
|
7755
|
+
id: string;
|
|
7718
7756
|
createdAt?: number | undefined;
|
|
7719
7757
|
userSourceSpanIds?: string[] | undefined;
|
|
7720
7758
|
executionMode?: "deterministic_tree" | "market_eval" | "hybrid" | undefined;
|
|
@@ -7811,17 +7849,17 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
|
|
|
7811
7849
|
}, "strip", z.ZodTypeAny, {
|
|
7812
7850
|
status: "draft" | "needs_info" | "ready" | "blocked";
|
|
7813
7851
|
sourceSpanIds: string[];
|
|
7814
|
-
label: string;
|
|
7815
|
-
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";
|
|
7816
|
-
id: string;
|
|
7817
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;
|
|
7818
7857
|
citations: {
|
|
7819
7858
|
quote: string;
|
|
7820
7859
|
sourceId: string;
|
|
7821
7860
|
page?: number | undefined;
|
|
7822
7861
|
fieldPath?: string | undefined;
|
|
7823
7862
|
}[];
|
|
7824
|
-
confidence: "low" | "medium" | "high";
|
|
7825
7863
|
action: "add" | "remove" | "update" | "replace" | "clarify";
|
|
7826
7864
|
affectedPolicyId: string;
|
|
7827
7865
|
sourceIds: string[];
|
|
@@ -7833,14 +7871,15 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
|
|
|
7833
7871
|
userSourceSpanIds?: string[] | undefined;
|
|
7834
7872
|
confidenceScore?: number | undefined;
|
|
7835
7873
|
}, {
|
|
7836
|
-
label: string;
|
|
7837
|
-
id: string;
|
|
7838
7874
|
fieldPath: string;
|
|
7875
|
+
id: string;
|
|
7876
|
+
label: string;
|
|
7839
7877
|
action: "add" | "remove" | "update" | "replace" | "clarify";
|
|
7840
7878
|
status?: "draft" | "needs_info" | "ready" | "blocked" | undefined;
|
|
7841
7879
|
sourceSpanIds?: string[] | undefined;
|
|
7842
7880
|
effectiveDate?: string | undefined;
|
|
7843
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;
|
|
7844
7883
|
reason?: string | undefined;
|
|
7845
7884
|
citations?: {
|
|
7846
7885
|
quote: string;
|
|
@@ -7848,7 +7887,6 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
|
|
|
7848
7887
|
page?: number | undefined;
|
|
7849
7888
|
fieldPath?: string | undefined;
|
|
7850
7889
|
}[] | undefined;
|
|
7851
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
7852
7890
|
affectedPolicyId?: string | undefined;
|
|
7853
7891
|
beforeValue?: string | undefined;
|
|
7854
7892
|
afterValue?: string | undefined;
|
|
@@ -7891,21 +7929,21 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
|
|
|
7891
7929
|
text: z.ZodString;
|
|
7892
7930
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7893
7931
|
}, "strip", z.ZodTypeAny, {
|
|
7894
|
-
id: string;
|
|
7895
7932
|
text: string;
|
|
7933
|
+
id: string;
|
|
7896
7934
|
page?: number | undefined;
|
|
7897
|
-
label?: string | undefined;
|
|
7898
|
-
documentId?: string | undefined;
|
|
7899
7935
|
fieldPath?: string | undefined;
|
|
7936
|
+
documentId?: string | undefined;
|
|
7900
7937
|
metadata?: Record<string, string> | undefined;
|
|
7938
|
+
label?: string | undefined;
|
|
7901
7939
|
}, {
|
|
7902
|
-
id: string;
|
|
7903
7940
|
text: string;
|
|
7941
|
+
id: string;
|
|
7904
7942
|
page?: number | undefined;
|
|
7905
|
-
label?: string | undefined;
|
|
7906
|
-
documentId?: string | undefined;
|
|
7907
7943
|
fieldPath?: string | undefined;
|
|
7944
|
+
documentId?: string | undefined;
|
|
7908
7945
|
metadata?: Record<string, string> | undefined;
|
|
7946
|
+
label?: string | undefined;
|
|
7909
7947
|
}>, "many">;
|
|
7910
7948
|
validationIssues: z.ZodArray<z.ZodObject<{
|
|
7911
7949
|
code: z.ZodString;
|
|
@@ -7955,38 +7993,20 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
|
|
|
7955
7993
|
updatedAt: z.ZodNumber;
|
|
7956
7994
|
}, "strip", z.ZodTypeAny, {
|
|
7957
7995
|
id: string;
|
|
7958
|
-
summary: string;
|
|
7959
|
-
validationIssues: {
|
|
7960
|
-
code: string;
|
|
7961
|
-
message: string;
|
|
7962
|
-
severity: "info" | "warning" | "blocking";
|
|
7963
|
-
fieldPath?: string | undefined;
|
|
7964
|
-
sourceId?: string | undefined;
|
|
7965
|
-
itemId?: string | undefined;
|
|
7966
|
-
}[];
|
|
7967
|
-
missingInfoQuestions: {
|
|
7968
|
-
id: string;
|
|
7969
|
-
question: string;
|
|
7970
|
-
reason: string;
|
|
7971
|
-
fieldPath?: string | undefined;
|
|
7972
|
-
itemId?: string | undefined;
|
|
7973
|
-
answer?: string | undefined;
|
|
7974
|
-
}[];
|
|
7975
|
-
createdAt: number;
|
|
7976
7996
|
items: {
|
|
7977
7997
|
status: "draft" | "needs_info" | "ready" | "blocked";
|
|
7978
7998
|
sourceSpanIds: string[];
|
|
7979
|
-
label: string;
|
|
7980
|
-
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";
|
|
7981
|
-
id: string;
|
|
7982
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;
|
|
7983
8004
|
citations: {
|
|
7984
8005
|
quote: string;
|
|
7985
8006
|
sourceId: string;
|
|
7986
8007
|
page?: number | undefined;
|
|
7987
8008
|
fieldPath?: string | undefined;
|
|
7988
8009
|
}[];
|
|
7989
|
-
confidence: "low" | "medium" | "high";
|
|
7990
8010
|
action: "add" | "remove" | "update" | "replace" | "clarify";
|
|
7991
8011
|
affectedPolicyId: string;
|
|
7992
8012
|
sourceIds: string[];
|
|
@@ -7998,6 +8018,24 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
|
|
|
7998
8018
|
userSourceSpanIds?: string[] | undefined;
|
|
7999
8019
|
confidenceScore?: number | undefined;
|
|
8000
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;
|
|
8001
8039
|
requestText: string;
|
|
8002
8040
|
executionMode: "deterministic_tree" | "market_eval" | "hybrid";
|
|
8003
8041
|
impacts: {
|
|
@@ -8010,44 +8048,27 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
|
|
|
8010
8048
|
requestedValue?: string | undefined;
|
|
8011
8049
|
}[];
|
|
8012
8050
|
evidenceSources: {
|
|
8013
|
-
id: string;
|
|
8014
8051
|
text: string;
|
|
8052
|
+
id: string;
|
|
8015
8053
|
page?: number | undefined;
|
|
8016
|
-
label?: string | undefined;
|
|
8017
|
-
documentId?: string | undefined;
|
|
8018
8054
|
fieldPath?: string | undefined;
|
|
8055
|
+
documentId?: string | undefined;
|
|
8019
8056
|
metadata?: Record<string, string> | undefined;
|
|
8057
|
+
label?: string | undefined;
|
|
8020
8058
|
}[];
|
|
8021
8059
|
updatedAt: number;
|
|
8022
8060
|
}, {
|
|
8023
8061
|
id: string;
|
|
8024
|
-
summary: string;
|
|
8025
|
-
validationIssues: {
|
|
8026
|
-
code: string;
|
|
8027
|
-
message: string;
|
|
8028
|
-
severity: "info" | "warning" | "blocking";
|
|
8029
|
-
fieldPath?: string | undefined;
|
|
8030
|
-
sourceId?: string | undefined;
|
|
8031
|
-
itemId?: string | undefined;
|
|
8032
|
-
}[];
|
|
8033
|
-
missingInfoQuestions: {
|
|
8034
|
-
id: string;
|
|
8035
|
-
question: string;
|
|
8036
|
-
reason: string;
|
|
8037
|
-
fieldPath?: string | undefined;
|
|
8038
|
-
itemId?: string | undefined;
|
|
8039
|
-
answer?: string | undefined;
|
|
8040
|
-
}[];
|
|
8041
|
-
createdAt: number;
|
|
8042
8062
|
items: {
|
|
8043
|
-
label: string;
|
|
8044
|
-
id: string;
|
|
8045
8063
|
fieldPath: string;
|
|
8064
|
+
id: string;
|
|
8065
|
+
label: string;
|
|
8046
8066
|
action: "add" | "remove" | "update" | "replace" | "clarify";
|
|
8047
8067
|
status?: "draft" | "needs_info" | "ready" | "blocked" | undefined;
|
|
8048
8068
|
sourceSpanIds?: string[] | undefined;
|
|
8049
8069
|
effectiveDate?: string | undefined;
|
|
8050
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;
|
|
8051
8072
|
reason?: string | undefined;
|
|
8052
8073
|
citations?: {
|
|
8053
8074
|
quote: string;
|
|
@@ -8055,7 +8076,6 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
|
|
|
8055
8076
|
page?: number | undefined;
|
|
8056
8077
|
fieldPath?: string | undefined;
|
|
8057
8078
|
}[] | undefined;
|
|
8058
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
8059
8079
|
affectedPolicyId?: string | undefined;
|
|
8060
8080
|
beforeValue?: string | undefined;
|
|
8061
8081
|
afterValue?: string | undefined;
|
|
@@ -8064,6 +8084,24 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
|
|
|
8064
8084
|
userSourceSpanIds?: string[] | undefined;
|
|
8065
8085
|
confidenceScore?: number | undefined;
|
|
8066
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;
|
|
8067
8105
|
requestText: string;
|
|
8068
8106
|
impacts: {
|
|
8069
8107
|
itemId: string;
|
|
@@ -8075,13 +8113,13 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
|
|
|
8075
8113
|
affectedCoverageForms?: string[] | undefined;
|
|
8076
8114
|
}[];
|
|
8077
8115
|
evidenceSources: {
|
|
8078
|
-
id: string;
|
|
8079
8116
|
text: string;
|
|
8117
|
+
id: string;
|
|
8080
8118
|
page?: number | undefined;
|
|
8081
|
-
label?: string | undefined;
|
|
8082
|
-
documentId?: string | undefined;
|
|
8083
8119
|
fieldPath?: string | undefined;
|
|
8120
|
+
documentId?: string | undefined;
|
|
8084
8121
|
metadata?: Record<string, string> | undefined;
|
|
8122
|
+
label?: string | undefined;
|
|
8085
8123
|
}[];
|
|
8086
8124
|
updatedAt: number;
|
|
8087
8125
|
executionMode?: "deterministic_tree" | "market_eval" | "hybrid" | undefined;
|
|
@@ -8110,8 +8148,8 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
|
|
|
8110
8148
|
}, "strip", z.ZodTypeAny, {
|
|
8111
8149
|
title: string;
|
|
8112
8150
|
content: string;
|
|
8113
|
-
kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
|
|
8114
8151
|
id: string;
|
|
8152
|
+
kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
|
|
8115
8153
|
citations: {
|
|
8116
8154
|
quote: string;
|
|
8117
8155
|
sourceId: string;
|
|
@@ -8121,8 +8159,8 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
|
|
|
8121
8159
|
}, {
|
|
8122
8160
|
title: string;
|
|
8123
8161
|
content: string;
|
|
8124
|
-
kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
|
|
8125
8162
|
id: string;
|
|
8163
|
+
kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
|
|
8126
8164
|
citations?: {
|
|
8127
8165
|
quote: string;
|
|
8128
8166
|
sourceId: string;
|
|
@@ -8136,8 +8174,8 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
|
|
|
8136
8174
|
artifacts: {
|
|
8137
8175
|
title: string;
|
|
8138
8176
|
content: string;
|
|
8139
|
-
kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
|
|
8140
8177
|
id: string;
|
|
8178
|
+
kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
|
|
8141
8179
|
citations: {
|
|
8142
8180
|
quote: string;
|
|
8143
8181
|
sourceId: string;
|
|
@@ -8164,38 +8202,20 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
|
|
|
8164
8202
|
createdAt: number;
|
|
8165
8203
|
pceCase: {
|
|
8166
8204
|
id: string;
|
|
8167
|
-
summary: string;
|
|
8168
|
-
validationIssues: {
|
|
8169
|
-
code: string;
|
|
8170
|
-
message: string;
|
|
8171
|
-
severity: "info" | "warning" | "blocking";
|
|
8172
|
-
fieldPath?: string | undefined;
|
|
8173
|
-
sourceId?: string | undefined;
|
|
8174
|
-
itemId?: string | undefined;
|
|
8175
|
-
}[];
|
|
8176
|
-
missingInfoQuestions: {
|
|
8177
|
-
id: string;
|
|
8178
|
-
question: string;
|
|
8179
|
-
reason: string;
|
|
8180
|
-
fieldPath?: string | undefined;
|
|
8181
|
-
itemId?: string | undefined;
|
|
8182
|
-
answer?: string | undefined;
|
|
8183
|
-
}[];
|
|
8184
|
-
createdAt: number;
|
|
8185
8205
|
items: {
|
|
8186
8206
|
status: "draft" | "needs_info" | "ready" | "blocked";
|
|
8187
8207
|
sourceSpanIds: string[];
|
|
8188
|
-
label: string;
|
|
8189
|
-
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";
|
|
8190
|
-
id: string;
|
|
8191
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;
|
|
8192
8213
|
citations: {
|
|
8193
8214
|
quote: string;
|
|
8194
8215
|
sourceId: string;
|
|
8195
8216
|
page?: number | undefined;
|
|
8196
8217
|
fieldPath?: string | undefined;
|
|
8197
8218
|
}[];
|
|
8198
|
-
confidence: "low" | "medium" | "high";
|
|
8199
8219
|
action: "add" | "remove" | "update" | "replace" | "clarify";
|
|
8200
8220
|
affectedPolicyId: string;
|
|
8201
8221
|
sourceIds: string[];
|
|
@@ -8207,6 +8227,24 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
|
|
|
8207
8227
|
userSourceSpanIds?: string[] | undefined;
|
|
8208
8228
|
confidenceScore?: number | undefined;
|
|
8209
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;
|
|
8210
8248
|
requestText: string;
|
|
8211
8249
|
executionMode: "deterministic_tree" | "market_eval" | "hybrid";
|
|
8212
8250
|
impacts: {
|
|
@@ -8219,13 +8257,13 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
|
|
|
8219
8257
|
requestedValue?: string | undefined;
|
|
8220
8258
|
}[];
|
|
8221
8259
|
evidenceSources: {
|
|
8222
|
-
id: string;
|
|
8223
8260
|
text: string;
|
|
8261
|
+
id: string;
|
|
8224
8262
|
page?: number | undefined;
|
|
8225
|
-
label?: string | undefined;
|
|
8226
|
-
documentId?: string | undefined;
|
|
8227
8263
|
fieldPath?: string | undefined;
|
|
8264
|
+
documentId?: string | undefined;
|
|
8228
8265
|
metadata?: Record<string, string> | undefined;
|
|
8266
|
+
label?: string | undefined;
|
|
8229
8267
|
}[];
|
|
8230
8268
|
updatedAt: number;
|
|
8231
8269
|
};
|
|
@@ -8235,8 +8273,8 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
|
|
|
8235
8273
|
artifacts: {
|
|
8236
8274
|
title: string;
|
|
8237
8275
|
content: string;
|
|
8238
|
-
kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
|
|
8239
8276
|
id: string;
|
|
8277
|
+
kind: "underwriter_summary" | "carrier_email" | "missing_info_request" | "json_packet" | "validation_report";
|
|
8240
8278
|
citations?: {
|
|
8241
8279
|
quote: string;
|
|
8242
8280
|
sourceId: string;
|
|
@@ -8263,33 +8301,16 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
|
|
|
8263
8301
|
createdAt: number;
|
|
8264
8302
|
pceCase: {
|
|
8265
8303
|
id: string;
|
|
8266
|
-
summary: string;
|
|
8267
|
-
validationIssues: {
|
|
8268
|
-
code: string;
|
|
8269
|
-
message: string;
|
|
8270
|
-
severity: "info" | "warning" | "blocking";
|
|
8271
|
-
fieldPath?: string | undefined;
|
|
8272
|
-
sourceId?: string | undefined;
|
|
8273
|
-
itemId?: string | undefined;
|
|
8274
|
-
}[];
|
|
8275
|
-
missingInfoQuestions: {
|
|
8276
|
-
id: string;
|
|
8277
|
-
question: string;
|
|
8278
|
-
reason: string;
|
|
8279
|
-
fieldPath?: string | undefined;
|
|
8280
|
-
itemId?: string | undefined;
|
|
8281
|
-
answer?: string | undefined;
|
|
8282
|
-
}[];
|
|
8283
|
-
createdAt: number;
|
|
8284
8304
|
items: {
|
|
8285
|
-
label: string;
|
|
8286
|
-
id: string;
|
|
8287
8305
|
fieldPath: string;
|
|
8306
|
+
id: string;
|
|
8307
|
+
label: string;
|
|
8288
8308
|
action: "add" | "remove" | "update" | "replace" | "clarify";
|
|
8289
8309
|
status?: "draft" | "needs_info" | "ready" | "blocked" | undefined;
|
|
8290
8310
|
sourceSpanIds?: string[] | undefined;
|
|
8291
8311
|
effectiveDate?: string | undefined;
|
|
8292
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;
|
|
8293
8314
|
reason?: string | undefined;
|
|
8294
8315
|
citations?: {
|
|
8295
8316
|
quote: string;
|
|
@@ -8297,7 +8318,6 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
|
|
|
8297
8318
|
page?: number | undefined;
|
|
8298
8319
|
fieldPath?: string | undefined;
|
|
8299
8320
|
}[] | undefined;
|
|
8300
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
8301
8321
|
affectedPolicyId?: string | undefined;
|
|
8302
8322
|
beforeValue?: string | undefined;
|
|
8303
8323
|
afterValue?: string | undefined;
|
|
@@ -8306,6 +8326,24 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
|
|
|
8306
8326
|
userSourceSpanIds?: string[] | undefined;
|
|
8307
8327
|
confidenceScore?: number | undefined;
|
|
8308
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;
|
|
8309
8347
|
requestText: string;
|
|
8310
8348
|
impacts: {
|
|
8311
8349
|
itemId: string;
|
|
@@ -8317,13 +8355,13 @@ declare const PceSubmissionPacketSchema: z.ZodObject<{
|
|
|
8317
8355
|
affectedCoverageForms?: string[] | undefined;
|
|
8318
8356
|
}[];
|
|
8319
8357
|
evidenceSources: {
|
|
8320
|
-
id: string;
|
|
8321
8358
|
text: string;
|
|
8359
|
+
id: string;
|
|
8322
8360
|
page?: number | undefined;
|
|
8323
|
-
label?: string | undefined;
|
|
8324
|
-
documentId?: string | undefined;
|
|
8325
8361
|
fieldPath?: string | undefined;
|
|
8362
|
+
documentId?: string | undefined;
|
|
8326
8363
|
metadata?: Record<string, string> | undefined;
|
|
8364
|
+
label?: string | undefined;
|
|
8327
8365
|
}[];
|
|
8328
8366
|
updatedAt: number;
|
|
8329
8367
|
executionMode?: "deterministic_tree" | "market_eval" | "hybrid" | undefined;
|
|
@@ -8578,6 +8616,37 @@ interface ExtractionReviewReport extends UnifiedQualityReport<QualityIssue> {
|
|
|
8578
8616
|
qualityGateStatus: QualityGateStatus;
|
|
8579
8617
|
}
|
|
8580
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
|
+
|
|
8581
8650
|
interface ExtractorConfig {
|
|
8582
8651
|
generateObject: GenerateObject;
|
|
8583
8652
|
onTokenUsage?: (usage: TokenUsage) => void;
|
|
@@ -8597,6 +8666,7 @@ interface ExtractionResult {
|
|
|
8597
8666
|
sourceChunks: SourceChunk[];
|
|
8598
8667
|
sourceTree?: DocumentSourceNode[];
|
|
8599
8668
|
operationalProfile?: PolicyOperationalProfile;
|
|
8669
|
+
coverageRecovery?: CoverageRecoveryDiagnostics;
|
|
8600
8670
|
warnings?: string[];
|
|
8601
8671
|
tokenUsage: TokenUsage;
|
|
8602
8672
|
usageReporting: {
|
|
@@ -8610,6 +8680,10 @@ interface ExtractionResult {
|
|
|
8610
8680
|
interface ExtractOptions {
|
|
8611
8681
|
/** Caller-provided raw source spans for this document, reused for evidence grounding and optional persistence. */
|
|
8612
8682
|
sourceSpans?: SourceSpan[];
|
|
8683
|
+
/** Opt in to document-wide semantic coverage, schedule, and financial recovery. */
|
|
8684
|
+
coverageRecovery?: {
|
|
8685
|
+
enabled: boolean;
|
|
8686
|
+
};
|
|
8613
8687
|
}
|
|
8614
8688
|
type ExtractionInput = PdfInput | DoclingExtractionInput;
|
|
8615
8689
|
declare function createExtractor(config: ExtractorConfig): {
|
|
@@ -8630,6 +8704,7 @@ type ExtractionV3Result = {
|
|
|
8630
8704
|
sourceChunks: SourceChunk[];
|
|
8631
8705
|
formInventory: SourceTreeFormHint[];
|
|
8632
8706
|
operationalProfile: PolicyOperationalProfile;
|
|
8707
|
+
coverageRecovery: CoverageRecoveryDiagnostics;
|
|
8633
8708
|
document: InsuranceDocument;
|
|
8634
8709
|
chunks: [];
|
|
8635
8710
|
warnings: string[];
|
|
@@ -8641,6 +8716,24 @@ type ExtractionV3Result = {
|
|
|
8641
8716
|
};
|
|
8642
8717
|
performanceReport: PerformanceReport;
|
|
8643
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>;
|
|
8644
8737
|
|
|
8645
8738
|
/**
|
|
8646
8739
|
* Break a validated document into retrieval-friendly chunks.
|
|
@@ -8855,16 +8948,16 @@ declare const QueryAttachmentSchema: z.ZodObject<{
|
|
|
8855
8948
|
kind: "text" | "pdf" | "image";
|
|
8856
8949
|
description?: string | undefined;
|
|
8857
8950
|
name?: string | undefined;
|
|
8858
|
-
id?: string | undefined;
|
|
8859
8951
|
text?: string | undefined;
|
|
8952
|
+
id?: string | undefined;
|
|
8860
8953
|
base64?: string | undefined;
|
|
8861
8954
|
mimeType?: string | undefined;
|
|
8862
8955
|
}, {
|
|
8863
8956
|
kind: "text" | "pdf" | "image";
|
|
8864
8957
|
description?: string | undefined;
|
|
8865
8958
|
name?: string | undefined;
|
|
8866
|
-
id?: string | undefined;
|
|
8867
8959
|
text?: string | undefined;
|
|
8960
|
+
id?: string | undefined;
|
|
8868
8961
|
base64?: string | undefined;
|
|
8869
8962
|
mimeType?: string | undefined;
|
|
8870
8963
|
}>;
|
|
@@ -8886,15 +8979,15 @@ declare const SubQuestionSchema: z.ZodObject<{
|
|
|
8886
8979
|
type?: "policy" | "quote" | undefined;
|
|
8887
8980
|
carrier?: string | undefined;
|
|
8888
8981
|
policyNumber?: string | undefined;
|
|
8889
|
-
insuredName?: string | undefined;
|
|
8890
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;
|
|
8891
8984
|
quoteNumber?: string | undefined;
|
|
8892
8985
|
}, {
|
|
8893
8986
|
type?: "policy" | "quote" | undefined;
|
|
8894
8987
|
carrier?: string | undefined;
|
|
8895
8988
|
policyNumber?: string | undefined;
|
|
8896
|
-
insuredName?: string | undefined;
|
|
8897
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;
|
|
8898
8991
|
quoteNumber?: string | undefined;
|
|
8899
8992
|
}>>;
|
|
8900
8993
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8905,8 +8998,8 @@ declare const SubQuestionSchema: z.ZodObject<{
|
|
|
8905
8998
|
type?: "policy" | "quote" | undefined;
|
|
8906
8999
|
carrier?: string | undefined;
|
|
8907
9000
|
policyNumber?: string | undefined;
|
|
8908
|
-
insuredName?: string | undefined;
|
|
8909
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;
|
|
8910
9003
|
quoteNumber?: string | undefined;
|
|
8911
9004
|
} | undefined;
|
|
8912
9005
|
}, {
|
|
@@ -8917,8 +9010,8 @@ declare const SubQuestionSchema: z.ZodObject<{
|
|
|
8917
9010
|
type?: "policy" | "quote" | undefined;
|
|
8918
9011
|
carrier?: string | undefined;
|
|
8919
9012
|
policyNumber?: string | undefined;
|
|
8920
|
-
insuredName?: string | undefined;
|
|
8921
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;
|
|
8922
9015
|
quoteNumber?: string | undefined;
|
|
8923
9016
|
} | undefined;
|
|
8924
9017
|
}>;
|
|
@@ -8940,15 +9033,15 @@ declare const QueryClassifyResultSchema: z.ZodObject<{
|
|
|
8940
9033
|
type?: "policy" | "quote" | undefined;
|
|
8941
9034
|
carrier?: string | undefined;
|
|
8942
9035
|
policyNumber?: string | undefined;
|
|
8943
|
-
insuredName?: string | undefined;
|
|
8944
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;
|
|
8945
9038
|
quoteNumber?: string | undefined;
|
|
8946
9039
|
}, {
|
|
8947
9040
|
type?: "policy" | "quote" | undefined;
|
|
8948
9041
|
carrier?: string | undefined;
|
|
8949
9042
|
policyNumber?: string | undefined;
|
|
8950
|
-
insuredName?: string | undefined;
|
|
8951
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;
|
|
8952
9045
|
quoteNumber?: string | undefined;
|
|
8953
9046
|
}>>;
|
|
8954
9047
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8959,8 +9052,8 @@ declare const QueryClassifyResultSchema: z.ZodObject<{
|
|
|
8959
9052
|
type?: "policy" | "quote" | undefined;
|
|
8960
9053
|
carrier?: string | undefined;
|
|
8961
9054
|
policyNumber?: string | undefined;
|
|
8962
|
-
insuredName?: string | undefined;
|
|
8963
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;
|
|
8964
9057
|
quoteNumber?: string | undefined;
|
|
8965
9058
|
} | undefined;
|
|
8966
9059
|
}, {
|
|
@@ -8971,8 +9064,8 @@ declare const QueryClassifyResultSchema: z.ZodObject<{
|
|
|
8971
9064
|
type?: "policy" | "quote" | undefined;
|
|
8972
9065
|
carrier?: string | undefined;
|
|
8973
9066
|
policyNumber?: string | undefined;
|
|
8974
|
-
insuredName?: string | undefined;
|
|
8975
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;
|
|
8976
9069
|
quoteNumber?: string | undefined;
|
|
8977
9070
|
} | undefined;
|
|
8978
9071
|
}>, "many">;
|
|
@@ -8990,8 +9083,8 @@ declare const QueryClassifyResultSchema: z.ZodObject<{
|
|
|
8990
9083
|
type?: "policy" | "quote" | undefined;
|
|
8991
9084
|
carrier?: string | undefined;
|
|
8992
9085
|
policyNumber?: string | undefined;
|
|
8993
|
-
insuredName?: string | undefined;
|
|
8994
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;
|
|
8995
9088
|
quoteNumber?: string | undefined;
|
|
8996
9089
|
} | undefined;
|
|
8997
9090
|
}[];
|
|
@@ -9009,8 +9102,8 @@ declare const QueryClassifyResultSchema: z.ZodObject<{
|
|
|
9009
9102
|
type?: "policy" | "quote" | undefined;
|
|
9010
9103
|
carrier?: string | undefined;
|
|
9011
9104
|
policyNumber?: string | undefined;
|
|
9012
|
-
insuredName?: string | undefined;
|
|
9013
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;
|
|
9014
9107
|
quoteNumber?: string | undefined;
|
|
9015
9108
|
} | undefined;
|
|
9016
9109
|
}[];
|
|
@@ -9042,22 +9135,22 @@ declare const EvidenceItemSchema: z.ZodObject<{
|
|
|
9042
9135
|
fieldPath: z.ZodOptional<z.ZodString>;
|
|
9043
9136
|
}, "strip", z.ZodTypeAny, {
|
|
9044
9137
|
page?: number | undefined;
|
|
9045
|
-
fieldPath?: string | undefined;
|
|
9046
9138
|
startPage?: number | undefined;
|
|
9047
9139
|
endPage?: number | undefined;
|
|
9048
9140
|
charStart?: number | undefined;
|
|
9049
9141
|
charEnd?: number | undefined;
|
|
9050
9142
|
lineStart?: number | undefined;
|
|
9051
9143
|
lineEnd?: number | undefined;
|
|
9144
|
+
fieldPath?: string | undefined;
|
|
9052
9145
|
}, {
|
|
9053
9146
|
page?: number | undefined;
|
|
9054
|
-
fieldPath?: string | undefined;
|
|
9055
9147
|
startPage?: number | undefined;
|
|
9056
9148
|
endPage?: number | undefined;
|
|
9057
9149
|
charStart?: number | undefined;
|
|
9058
9150
|
charEnd?: number | undefined;
|
|
9059
9151
|
lineStart?: number | undefined;
|
|
9060
9152
|
lineEnd?: number | undefined;
|
|
9153
|
+
fieldPath?: string | undefined;
|
|
9061
9154
|
}>>;
|
|
9062
9155
|
metadata: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9063
9156
|
key: z.ZodString;
|
|
@@ -9074,11 +9167,11 @@ declare const EvidenceItemSchema: z.ZodObject<{
|
|
|
9074
9167
|
relevance: number;
|
|
9075
9168
|
source: "attachment" | "document" | "chunk" | "source_node" | "conversation" | "source_span";
|
|
9076
9169
|
documentId?: string | undefined;
|
|
9170
|
+
chunkId?: string | undefined;
|
|
9077
9171
|
metadata?: {
|
|
9078
9172
|
key: string;
|
|
9079
9173
|
value: string;
|
|
9080
9174
|
}[] | undefined;
|
|
9081
|
-
chunkId?: string | undefined;
|
|
9082
9175
|
sourceSpanId?: string | undefined;
|
|
9083
9176
|
retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
|
|
9084
9177
|
sourceNodeId?: string | undefined;
|
|
@@ -9086,24 +9179,24 @@ declare const EvidenceItemSchema: z.ZodObject<{
|
|
|
9086
9179
|
attachmentId?: string | undefined;
|
|
9087
9180
|
sourceLocation?: {
|
|
9088
9181
|
page?: number | undefined;
|
|
9089
|
-
fieldPath?: string | undefined;
|
|
9090
9182
|
startPage?: number | undefined;
|
|
9091
9183
|
endPage?: number | undefined;
|
|
9092
9184
|
charStart?: number | undefined;
|
|
9093
9185
|
charEnd?: number | undefined;
|
|
9094
9186
|
lineStart?: number | undefined;
|
|
9095
9187
|
lineEnd?: number | undefined;
|
|
9188
|
+
fieldPath?: string | undefined;
|
|
9096
9189
|
} | undefined;
|
|
9097
9190
|
}, {
|
|
9098
9191
|
text: string;
|
|
9099
9192
|
relevance: number;
|
|
9100
9193
|
source: "attachment" | "document" | "chunk" | "source_node" | "conversation" | "source_span";
|
|
9101
9194
|
documentId?: string | undefined;
|
|
9195
|
+
chunkId?: string | undefined;
|
|
9102
9196
|
metadata?: {
|
|
9103
9197
|
key: string;
|
|
9104
9198
|
value: string;
|
|
9105
9199
|
}[] | undefined;
|
|
9106
|
-
chunkId?: string | undefined;
|
|
9107
9200
|
sourceSpanId?: string | undefined;
|
|
9108
9201
|
retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
|
|
9109
9202
|
sourceNodeId?: string | undefined;
|
|
@@ -9111,13 +9204,13 @@ declare const EvidenceItemSchema: z.ZodObject<{
|
|
|
9111
9204
|
attachmentId?: string | undefined;
|
|
9112
9205
|
sourceLocation?: {
|
|
9113
9206
|
page?: number | undefined;
|
|
9114
|
-
fieldPath?: string | undefined;
|
|
9115
9207
|
startPage?: number | undefined;
|
|
9116
9208
|
endPage?: number | undefined;
|
|
9117
9209
|
charStart?: number | undefined;
|
|
9118
9210
|
charEnd?: number | undefined;
|
|
9119
9211
|
lineStart?: number | undefined;
|
|
9120
9212
|
lineEnd?: number | undefined;
|
|
9213
|
+
fieldPath?: string | undefined;
|
|
9121
9214
|
} | undefined;
|
|
9122
9215
|
}>;
|
|
9123
9216
|
type EvidenceItem = z.infer<typeof EvidenceItemSchema>;
|
|
@@ -9127,13 +9220,13 @@ declare const AttachmentInterpretationSchema: z.ZodObject<{
|
|
|
9127
9220
|
recommendedFocus: z.ZodArray<z.ZodString, "many">;
|
|
9128
9221
|
confidence: z.ZodNumber;
|
|
9129
9222
|
}, "strip", z.ZodTypeAny, {
|
|
9130
|
-
summary: string;
|
|
9131
9223
|
confidence: number;
|
|
9224
|
+
summary: string;
|
|
9132
9225
|
extractedFacts: string[];
|
|
9133
9226
|
recommendedFocus: string[];
|
|
9134
9227
|
}, {
|
|
9135
|
-
summary: string;
|
|
9136
9228
|
confidence: number;
|
|
9229
|
+
summary: string;
|
|
9137
9230
|
extractedFacts: string[];
|
|
9138
9231
|
recommendedFocus: string[];
|
|
9139
9232
|
}>;
|
|
@@ -9162,22 +9255,22 @@ declare const RetrievalResultSchema: z.ZodObject<{
|
|
|
9162
9255
|
fieldPath: z.ZodOptional<z.ZodString>;
|
|
9163
9256
|
}, "strip", z.ZodTypeAny, {
|
|
9164
9257
|
page?: number | undefined;
|
|
9165
|
-
fieldPath?: string | undefined;
|
|
9166
9258
|
startPage?: number | undefined;
|
|
9167
9259
|
endPage?: number | undefined;
|
|
9168
9260
|
charStart?: number | undefined;
|
|
9169
9261
|
charEnd?: number | undefined;
|
|
9170
9262
|
lineStart?: number | undefined;
|
|
9171
9263
|
lineEnd?: number | undefined;
|
|
9264
|
+
fieldPath?: string | undefined;
|
|
9172
9265
|
}, {
|
|
9173
9266
|
page?: number | undefined;
|
|
9174
|
-
fieldPath?: string | undefined;
|
|
9175
9267
|
startPage?: number | undefined;
|
|
9176
9268
|
endPage?: number | undefined;
|
|
9177
9269
|
charStart?: number | undefined;
|
|
9178
9270
|
charEnd?: number | undefined;
|
|
9179
9271
|
lineStart?: number | undefined;
|
|
9180
9272
|
lineEnd?: number | undefined;
|
|
9273
|
+
fieldPath?: string | undefined;
|
|
9181
9274
|
}>>;
|
|
9182
9275
|
metadata: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9183
9276
|
key: z.ZodString;
|
|
@@ -9194,11 +9287,11 @@ declare const RetrievalResultSchema: z.ZodObject<{
|
|
|
9194
9287
|
relevance: number;
|
|
9195
9288
|
source: "attachment" | "document" | "chunk" | "source_node" | "conversation" | "source_span";
|
|
9196
9289
|
documentId?: string | undefined;
|
|
9290
|
+
chunkId?: string | undefined;
|
|
9197
9291
|
metadata?: {
|
|
9198
9292
|
key: string;
|
|
9199
9293
|
value: string;
|
|
9200
9294
|
}[] | undefined;
|
|
9201
|
-
chunkId?: string | undefined;
|
|
9202
9295
|
sourceSpanId?: string | undefined;
|
|
9203
9296
|
retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
|
|
9204
9297
|
sourceNodeId?: string | undefined;
|
|
@@ -9206,24 +9299,24 @@ declare const RetrievalResultSchema: z.ZodObject<{
|
|
|
9206
9299
|
attachmentId?: string | undefined;
|
|
9207
9300
|
sourceLocation?: {
|
|
9208
9301
|
page?: number | undefined;
|
|
9209
|
-
fieldPath?: string | undefined;
|
|
9210
9302
|
startPage?: number | undefined;
|
|
9211
9303
|
endPage?: number | undefined;
|
|
9212
9304
|
charStart?: number | undefined;
|
|
9213
9305
|
charEnd?: number | undefined;
|
|
9214
9306
|
lineStart?: number | undefined;
|
|
9215
9307
|
lineEnd?: number | undefined;
|
|
9308
|
+
fieldPath?: string | undefined;
|
|
9216
9309
|
} | undefined;
|
|
9217
9310
|
}, {
|
|
9218
9311
|
text: string;
|
|
9219
9312
|
relevance: number;
|
|
9220
9313
|
source: "attachment" | "document" | "chunk" | "source_node" | "conversation" | "source_span";
|
|
9221
9314
|
documentId?: string | undefined;
|
|
9315
|
+
chunkId?: string | undefined;
|
|
9222
9316
|
metadata?: {
|
|
9223
9317
|
key: string;
|
|
9224
9318
|
value: string;
|
|
9225
9319
|
}[] | undefined;
|
|
9226
|
-
chunkId?: string | undefined;
|
|
9227
9320
|
sourceSpanId?: string | undefined;
|
|
9228
9321
|
retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
|
|
9229
9322
|
sourceNodeId?: string | undefined;
|
|
@@ -9231,13 +9324,13 @@ declare const RetrievalResultSchema: z.ZodObject<{
|
|
|
9231
9324
|
attachmentId?: string | undefined;
|
|
9232
9325
|
sourceLocation?: {
|
|
9233
9326
|
page?: number | undefined;
|
|
9234
|
-
fieldPath?: string | undefined;
|
|
9235
9327
|
startPage?: number | undefined;
|
|
9236
9328
|
endPage?: number | undefined;
|
|
9237
9329
|
charStart?: number | undefined;
|
|
9238
9330
|
charEnd?: number | undefined;
|
|
9239
9331
|
lineStart?: number | undefined;
|
|
9240
9332
|
lineEnd?: number | undefined;
|
|
9333
|
+
fieldPath?: string | undefined;
|
|
9241
9334
|
} | undefined;
|
|
9242
9335
|
}>, "many">;
|
|
9243
9336
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9247,11 +9340,11 @@ declare const RetrievalResultSchema: z.ZodObject<{
|
|
|
9247
9340
|
relevance: number;
|
|
9248
9341
|
source: "attachment" | "document" | "chunk" | "source_node" | "conversation" | "source_span";
|
|
9249
9342
|
documentId?: string | undefined;
|
|
9343
|
+
chunkId?: string | undefined;
|
|
9250
9344
|
metadata?: {
|
|
9251
9345
|
key: string;
|
|
9252
9346
|
value: string;
|
|
9253
9347
|
}[] | undefined;
|
|
9254
|
-
chunkId?: string | undefined;
|
|
9255
9348
|
sourceSpanId?: string | undefined;
|
|
9256
9349
|
retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
|
|
9257
9350
|
sourceNodeId?: string | undefined;
|
|
@@ -9259,13 +9352,13 @@ declare const RetrievalResultSchema: z.ZodObject<{
|
|
|
9259
9352
|
attachmentId?: string | undefined;
|
|
9260
9353
|
sourceLocation?: {
|
|
9261
9354
|
page?: number | undefined;
|
|
9262
|
-
fieldPath?: string | undefined;
|
|
9263
9355
|
startPage?: number | undefined;
|
|
9264
9356
|
endPage?: number | undefined;
|
|
9265
9357
|
charStart?: number | undefined;
|
|
9266
9358
|
charEnd?: number | undefined;
|
|
9267
9359
|
lineStart?: number | undefined;
|
|
9268
9360
|
lineEnd?: number | undefined;
|
|
9361
|
+
fieldPath?: string | undefined;
|
|
9269
9362
|
} | undefined;
|
|
9270
9363
|
}[];
|
|
9271
9364
|
}, {
|
|
@@ -9275,11 +9368,11 @@ declare const RetrievalResultSchema: z.ZodObject<{
|
|
|
9275
9368
|
relevance: number;
|
|
9276
9369
|
source: "attachment" | "document" | "chunk" | "source_node" | "conversation" | "source_span";
|
|
9277
9370
|
documentId?: string | undefined;
|
|
9371
|
+
chunkId?: string | undefined;
|
|
9278
9372
|
metadata?: {
|
|
9279
9373
|
key: string;
|
|
9280
9374
|
value: string;
|
|
9281
9375
|
}[] | undefined;
|
|
9282
|
-
chunkId?: string | undefined;
|
|
9283
9376
|
sourceSpanId?: string | undefined;
|
|
9284
9377
|
retrievalMode?: "hybrid" | "graph_only" | "source_rag" | "long_context" | undefined;
|
|
9285
9378
|
sourceNodeId?: string | undefined;
|
|
@@ -9287,13 +9380,13 @@ declare const RetrievalResultSchema: z.ZodObject<{
|
|
|
9287
9380
|
attachmentId?: string | undefined;
|
|
9288
9381
|
sourceLocation?: {
|
|
9289
9382
|
page?: number | undefined;
|
|
9290
|
-
fieldPath?: string | undefined;
|
|
9291
9383
|
startPage?: number | undefined;
|
|
9292
9384
|
endPage?: number | undefined;
|
|
9293
9385
|
charStart?: number | undefined;
|
|
9294
9386
|
charEnd?: number | undefined;
|
|
9295
9387
|
lineStart?: number | undefined;
|
|
9296
9388
|
lineEnd?: number | undefined;
|
|
9389
|
+
fieldPath?: string | undefined;
|
|
9297
9390
|
} | undefined;
|
|
9298
9391
|
}[];
|
|
9299
9392
|
}>;
|
|
@@ -9320,22 +9413,22 @@ declare const CitationSchema: z.ZodObject<{
|
|
|
9320
9413
|
fieldPath: z.ZodOptional<z.ZodString>;
|
|
9321
9414
|
}, "strip", z.ZodTypeAny, {
|
|
9322
9415
|
page?: number | undefined;
|
|
9323
|
-
fieldPath?: string | undefined;
|
|
9324
9416
|
startPage?: number | undefined;
|
|
9325
9417
|
endPage?: number | undefined;
|
|
9326
9418
|
charStart?: number | undefined;
|
|
9327
9419
|
charEnd?: number | undefined;
|
|
9328
9420
|
lineStart?: number | undefined;
|
|
9329
9421
|
lineEnd?: number | undefined;
|
|
9422
|
+
fieldPath?: string | undefined;
|
|
9330
9423
|
}, {
|
|
9331
9424
|
page?: number | undefined;
|
|
9332
|
-
fieldPath?: string | undefined;
|
|
9333
9425
|
startPage?: number | undefined;
|
|
9334
9426
|
endPage?: number | undefined;
|
|
9335
9427
|
charStart?: number | undefined;
|
|
9336
9428
|
charEnd?: number | undefined;
|
|
9337
9429
|
lineStart?: number | undefined;
|
|
9338
9430
|
lineEnd?: number | undefined;
|
|
9431
|
+
fieldPath?: string | undefined;
|
|
9339
9432
|
}>>;
|
|
9340
9433
|
}, "strip", z.ZodTypeAny, {
|
|
9341
9434
|
quote: string;
|
|
@@ -9350,13 +9443,13 @@ declare const CitationSchema: z.ZodObject<{
|
|
|
9350
9443
|
sourceNodeId?: string | undefined;
|
|
9351
9444
|
sourceLocation?: {
|
|
9352
9445
|
page?: number | undefined;
|
|
9353
|
-
fieldPath?: string | undefined;
|
|
9354
9446
|
startPage?: number | undefined;
|
|
9355
9447
|
endPage?: number | undefined;
|
|
9356
9448
|
charStart?: number | undefined;
|
|
9357
9449
|
charEnd?: number | undefined;
|
|
9358
9450
|
lineStart?: number | undefined;
|
|
9359
9451
|
lineEnd?: number | undefined;
|
|
9452
|
+
fieldPath?: string | undefined;
|
|
9360
9453
|
} | undefined;
|
|
9361
9454
|
}, {
|
|
9362
9455
|
quote: string;
|
|
@@ -9371,13 +9464,13 @@ declare const CitationSchema: z.ZodObject<{
|
|
|
9371
9464
|
sourceNodeId?: string | undefined;
|
|
9372
9465
|
sourceLocation?: {
|
|
9373
9466
|
page?: number | undefined;
|
|
9374
|
-
fieldPath?: string | undefined;
|
|
9375
9467
|
startPage?: number | undefined;
|
|
9376
9468
|
endPage?: number | undefined;
|
|
9377
9469
|
charStart?: number | undefined;
|
|
9378
9470
|
charEnd?: number | undefined;
|
|
9379
9471
|
lineStart?: number | undefined;
|
|
9380
9472
|
lineEnd?: number | undefined;
|
|
9473
|
+
fieldPath?: string | undefined;
|
|
9381
9474
|
} | undefined;
|
|
9382
9475
|
}>;
|
|
9383
9476
|
type Citation = z.infer<typeof CitationSchema>;
|
|
@@ -9406,22 +9499,22 @@ declare const SubAnswerSchema: z.ZodObject<{
|
|
|
9406
9499
|
fieldPath: z.ZodOptional<z.ZodString>;
|
|
9407
9500
|
}, "strip", z.ZodTypeAny, {
|
|
9408
9501
|
page?: number | undefined;
|
|
9409
|
-
fieldPath?: string | undefined;
|
|
9410
9502
|
startPage?: number | undefined;
|
|
9411
9503
|
endPage?: number | undefined;
|
|
9412
9504
|
charStart?: number | undefined;
|
|
9413
9505
|
charEnd?: number | undefined;
|
|
9414
9506
|
lineStart?: number | undefined;
|
|
9415
9507
|
lineEnd?: number | undefined;
|
|
9508
|
+
fieldPath?: string | undefined;
|
|
9416
9509
|
}, {
|
|
9417
9510
|
page?: number | undefined;
|
|
9418
|
-
fieldPath?: string | undefined;
|
|
9419
9511
|
startPage?: number | undefined;
|
|
9420
9512
|
endPage?: number | undefined;
|
|
9421
9513
|
charStart?: number | undefined;
|
|
9422
9514
|
charEnd?: number | undefined;
|
|
9423
9515
|
lineStart?: number | undefined;
|
|
9424
9516
|
lineEnd?: number | undefined;
|
|
9517
|
+
fieldPath?: string | undefined;
|
|
9425
9518
|
}>>;
|
|
9426
9519
|
}, "strip", z.ZodTypeAny, {
|
|
9427
9520
|
quote: string;
|
|
@@ -9436,13 +9529,13 @@ declare const SubAnswerSchema: z.ZodObject<{
|
|
|
9436
9529
|
sourceNodeId?: string | undefined;
|
|
9437
9530
|
sourceLocation?: {
|
|
9438
9531
|
page?: number | undefined;
|
|
9439
|
-
fieldPath?: string | undefined;
|
|
9440
9532
|
startPage?: number | undefined;
|
|
9441
9533
|
endPage?: number | undefined;
|
|
9442
9534
|
charStart?: number | undefined;
|
|
9443
9535
|
charEnd?: number | undefined;
|
|
9444
9536
|
lineStart?: number | undefined;
|
|
9445
9537
|
lineEnd?: number | undefined;
|
|
9538
|
+
fieldPath?: string | undefined;
|
|
9446
9539
|
} | undefined;
|
|
9447
9540
|
}, {
|
|
9448
9541
|
quote: string;
|
|
@@ -9457,18 +9550,19 @@ declare const SubAnswerSchema: z.ZodObject<{
|
|
|
9457
9550
|
sourceNodeId?: string | undefined;
|
|
9458
9551
|
sourceLocation?: {
|
|
9459
9552
|
page?: number | undefined;
|
|
9460
|
-
fieldPath?: string | undefined;
|
|
9461
9553
|
startPage?: number | undefined;
|
|
9462
9554
|
endPage?: number | undefined;
|
|
9463
9555
|
charStart?: number | undefined;
|
|
9464
9556
|
charEnd?: number | undefined;
|
|
9465
9557
|
lineStart?: number | undefined;
|
|
9466
9558
|
lineEnd?: number | undefined;
|
|
9559
|
+
fieldPath?: string | undefined;
|
|
9467
9560
|
} | undefined;
|
|
9468
9561
|
}>, "many">;
|
|
9469
9562
|
confidence: z.ZodNumber;
|
|
9470
9563
|
needsMoreContext: z.ZodBoolean;
|
|
9471
9564
|
}, "strip", z.ZodTypeAny, {
|
|
9565
|
+
confidence: number;
|
|
9472
9566
|
answer: string;
|
|
9473
9567
|
citations: {
|
|
9474
9568
|
quote: string;
|
|
@@ -9483,19 +9577,19 @@ declare const SubAnswerSchema: z.ZodObject<{
|
|
|
9483
9577
|
sourceNodeId?: string | undefined;
|
|
9484
9578
|
sourceLocation?: {
|
|
9485
9579
|
page?: number | undefined;
|
|
9486
|
-
fieldPath?: string | undefined;
|
|
9487
9580
|
startPage?: number | undefined;
|
|
9488
9581
|
endPage?: number | undefined;
|
|
9489
9582
|
charStart?: number | undefined;
|
|
9490
9583
|
charEnd?: number | undefined;
|
|
9491
9584
|
lineStart?: number | undefined;
|
|
9492
9585
|
lineEnd?: number | undefined;
|
|
9586
|
+
fieldPath?: string | undefined;
|
|
9493
9587
|
} | undefined;
|
|
9494
9588
|
}[];
|
|
9495
|
-
confidence: number;
|
|
9496
9589
|
subQuestion: string;
|
|
9497
9590
|
needsMoreContext: boolean;
|
|
9498
9591
|
}, {
|
|
9592
|
+
confidence: number;
|
|
9499
9593
|
answer: string;
|
|
9500
9594
|
citations: {
|
|
9501
9595
|
quote: string;
|
|
@@ -9510,16 +9604,15 @@ declare const SubAnswerSchema: z.ZodObject<{
|
|
|
9510
9604
|
sourceNodeId?: string | undefined;
|
|
9511
9605
|
sourceLocation?: {
|
|
9512
9606
|
page?: number | undefined;
|
|
9513
|
-
fieldPath?: string | undefined;
|
|
9514
9607
|
startPage?: number | undefined;
|
|
9515
9608
|
endPage?: number | undefined;
|
|
9516
9609
|
charStart?: number | undefined;
|
|
9517
9610
|
charEnd?: number | undefined;
|
|
9518
9611
|
lineStart?: number | undefined;
|
|
9519
9612
|
lineEnd?: number | undefined;
|
|
9613
|
+
fieldPath?: string | undefined;
|
|
9520
9614
|
} | undefined;
|
|
9521
9615
|
}[];
|
|
9522
|
-
confidence: number;
|
|
9523
9616
|
subQuestion: string;
|
|
9524
9617
|
needsMoreContext: boolean;
|
|
9525
9618
|
}>;
|
|
@@ -9562,22 +9655,22 @@ declare const QueryResultSchema: z.ZodObject<{
|
|
|
9562
9655
|
fieldPath: z.ZodOptional<z.ZodString>;
|
|
9563
9656
|
}, "strip", z.ZodTypeAny, {
|
|
9564
9657
|
page?: number | undefined;
|
|
9565
|
-
fieldPath?: string | undefined;
|
|
9566
9658
|
startPage?: number | undefined;
|
|
9567
9659
|
endPage?: number | undefined;
|
|
9568
9660
|
charStart?: number | undefined;
|
|
9569
9661
|
charEnd?: number | undefined;
|
|
9570
9662
|
lineStart?: number | undefined;
|
|
9571
9663
|
lineEnd?: number | undefined;
|
|
9664
|
+
fieldPath?: string | undefined;
|
|
9572
9665
|
}, {
|
|
9573
9666
|
page?: number | undefined;
|
|
9574
|
-
fieldPath?: string | undefined;
|
|
9575
9667
|
startPage?: number | undefined;
|
|
9576
9668
|
endPage?: number | undefined;
|
|
9577
9669
|
charStart?: number | undefined;
|
|
9578
9670
|
charEnd?: number | undefined;
|
|
9579
9671
|
lineStart?: number | undefined;
|
|
9580
9672
|
lineEnd?: number | undefined;
|
|
9673
|
+
fieldPath?: string | undefined;
|
|
9581
9674
|
}>>;
|
|
9582
9675
|
}, "strip", z.ZodTypeAny, {
|
|
9583
9676
|
quote: string;
|
|
@@ -9592,13 +9685,13 @@ declare const QueryResultSchema: z.ZodObject<{
|
|
|
9592
9685
|
sourceNodeId?: string | undefined;
|
|
9593
9686
|
sourceLocation?: {
|
|
9594
9687
|
page?: number | undefined;
|
|
9595
|
-
fieldPath?: string | undefined;
|
|
9596
9688
|
startPage?: number | undefined;
|
|
9597
9689
|
endPage?: number | undefined;
|
|
9598
9690
|
charStart?: number | undefined;
|
|
9599
9691
|
charEnd?: number | undefined;
|
|
9600
9692
|
lineStart?: number | undefined;
|
|
9601
9693
|
lineEnd?: number | undefined;
|
|
9694
|
+
fieldPath?: string | undefined;
|
|
9602
9695
|
} | undefined;
|
|
9603
9696
|
}, {
|
|
9604
9697
|
quote: string;
|
|
@@ -9613,19 +9706,20 @@ declare const QueryResultSchema: z.ZodObject<{
|
|
|
9613
9706
|
sourceNodeId?: string | undefined;
|
|
9614
9707
|
sourceLocation?: {
|
|
9615
9708
|
page?: number | undefined;
|
|
9616
|
-
fieldPath?: string | undefined;
|
|
9617
9709
|
startPage?: number | undefined;
|
|
9618
9710
|
endPage?: number | undefined;
|
|
9619
9711
|
charStart?: number | undefined;
|
|
9620
9712
|
charEnd?: number | undefined;
|
|
9621
9713
|
lineStart?: number | undefined;
|
|
9622
9714
|
lineEnd?: number | undefined;
|
|
9715
|
+
fieldPath?: string | undefined;
|
|
9623
9716
|
} | undefined;
|
|
9624
9717
|
}>, "many">;
|
|
9625
9718
|
intent: z.ZodEnum<["policy_question", "coverage_comparison", "document_search", "claims_inquiry", "general_knowledge"]>;
|
|
9626
9719
|
confidence: z.ZodNumber;
|
|
9627
9720
|
followUp: z.ZodOptional<z.ZodString>;
|
|
9628
9721
|
}, "strip", z.ZodTypeAny, {
|
|
9722
|
+
confidence: number;
|
|
9629
9723
|
answer: string;
|
|
9630
9724
|
citations: {
|
|
9631
9725
|
quote: string;
|
|
@@ -9640,19 +9734,19 @@ declare const QueryResultSchema: z.ZodObject<{
|
|
|
9640
9734
|
sourceNodeId?: string | undefined;
|
|
9641
9735
|
sourceLocation?: {
|
|
9642
9736
|
page?: number | undefined;
|
|
9643
|
-
fieldPath?: string | undefined;
|
|
9644
9737
|
startPage?: number | undefined;
|
|
9645
9738
|
endPage?: number | undefined;
|
|
9646
9739
|
charStart?: number | undefined;
|
|
9647
9740
|
charEnd?: number | undefined;
|
|
9648
9741
|
lineStart?: number | undefined;
|
|
9649
9742
|
lineEnd?: number | undefined;
|
|
9743
|
+
fieldPath?: string | undefined;
|
|
9650
9744
|
} | undefined;
|
|
9651
9745
|
}[];
|
|
9652
|
-
confidence: number;
|
|
9653
9746
|
intent: "policy_question" | "coverage_comparison" | "document_search" | "claims_inquiry" | "general_knowledge";
|
|
9654
9747
|
followUp?: string | undefined;
|
|
9655
9748
|
}, {
|
|
9749
|
+
confidence: number;
|
|
9656
9750
|
answer: string;
|
|
9657
9751
|
citations: {
|
|
9658
9752
|
quote: string;
|
|
@@ -9667,16 +9761,15 @@ declare const QueryResultSchema: z.ZodObject<{
|
|
|
9667
9761
|
sourceNodeId?: string | undefined;
|
|
9668
9762
|
sourceLocation?: {
|
|
9669
9763
|
page?: number | undefined;
|
|
9670
|
-
fieldPath?: string | undefined;
|
|
9671
9764
|
startPage?: number | undefined;
|
|
9672
9765
|
endPage?: number | undefined;
|
|
9673
9766
|
charStart?: number | undefined;
|
|
9674
9767
|
charEnd?: number | undefined;
|
|
9675
9768
|
lineStart?: number | undefined;
|
|
9676
9769
|
lineEnd?: number | undefined;
|
|
9770
|
+
fieldPath?: string | undefined;
|
|
9677
9771
|
} | undefined;
|
|
9678
9772
|
}[];
|
|
9679
|
-
confidence: number;
|
|
9680
9773
|
intent: "policy_question" | "coverage_comparison" | "document_search" | "claims_inquiry" | "general_knowledge";
|
|
9681
9774
|
followUp?: string | undefined;
|
|
9682
9775
|
}>;
|
|
@@ -9883,4 +9976,4 @@ interface DocumentTemplate {
|
|
|
9883
9976
|
}
|
|
9884
9977
|
declare function getTemplate(policyType: string): DocumentTemplate;
|
|
9885
9978
|
|
|
9886
|
-
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 };
|