@claritylabs/cl-sdk 3.0.22 → 3.0.23

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 CHANGED
@@ -81,7 +81,7 @@ const extractor = createExtractor({ generateText, generateObject, sourceStore })
81
81
  const result = await extractor.extract(pdfBase64, "policy-123", { sourceSpans });
82
82
  ```
83
83
 
84
- When source spans are available, extraction returns `sourceTree`, `sourceSpans`, `operationalProfile`, `warnings`, `tokenUsage`, and `performanceReport`. The source tree is canonical for policy wording and hierarchy. The extractor uses form/page-range hints to group declarations, policy forms, and endorsements, then promotes title elements into section/schedule nodes that can span page breaks. The operational profile contains policy metadata, parties, coverage lines, limits, deductibles, premiums, key dates, and endorsement-support facts, each with `sourceNodeIds` and `sourceSpanIds`.
84
+ When source spans are available, extraction returns `sourceTree`, `sourceSpans`, `operationalProfile`, `warnings`, `tokenUsage`, and `performanceReport`. The source tree is canonical for policy wording and hierarchy. The extractor uses form/page-range hints to group declarations, policy forms, and endorsements, then promotes title elements into section/schedule nodes that can span page breaks. The operational profile contains policy metadata, parties, coverage units, nested coverage limit terms, deductibles/retentions, premiums, key dates, and endorsement-support facts, each with `sourceNodeIds` and `sourceSpanIds`. Endorsement schedules are modeled as whole endorsement coverage units with their own `limits[]` terms instead of unrelated flat rows like `Aggregate Limit`.
85
85
 
86
86
  Store `result.sourceTree` in a retrievable node index and embed node `description` values for search. Keep `result.sourceSpans` as the exact PDF highlighting layer. `result.document` and its `documentOutline` remain compatibility projections for existing host screens; do not treat broad structured policy JSON as canonical extraction truth.
87
87
 
package/dist/index.d.mts CHANGED
@@ -33706,36 +33706,114 @@ declare const SourceBackedValueSchema: z.ZodObject<{
33706
33706
  sourceNodeIds?: string[] | undefined;
33707
33707
  }>;
33708
33708
  type SourceBackedValue = z.infer<typeof SourceBackedValueSchema>;
33709
+ declare const OperationalCoverageTermSchema: z.ZodObject<{
33710
+ kind: z.ZodDefault<z.ZodEnum<["each_claim_limit", "each_occurrence_limit", "each_loss_limit", "aggregate_limit", "sublimit", "retention", "deductible", "retroactive_date", "premium", "other"]>>;
33711
+ label: z.ZodString;
33712
+ value: z.ZodString;
33713
+ amount: z.ZodOptional<z.ZodNumber>;
33714
+ appliesTo: z.ZodOptional<z.ZodString>;
33715
+ sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
33716
+ sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
33717
+ }, "strip", z.ZodTypeAny, {
33718
+ value: string;
33719
+ sourceSpanIds: string[];
33720
+ label: string;
33721
+ kind: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date";
33722
+ sourceNodeIds: string[];
33723
+ amount?: number | undefined;
33724
+ appliesTo?: string | undefined;
33725
+ }, {
33726
+ value: string;
33727
+ label: string;
33728
+ sourceSpanIds?: string[] | undefined;
33729
+ amount?: number | undefined;
33730
+ appliesTo?: string | undefined;
33731
+ kind?: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date" | undefined;
33732
+ sourceNodeIds?: string[] | undefined;
33733
+ }>;
33734
+ type OperationalCoverageTerm = z.infer<typeof OperationalCoverageTermSchema>;
33709
33735
  declare const OperationalCoverageLineSchema: z.ZodObject<{
33710
33736
  name: z.ZodString;
33711
33737
  coverageCode: z.ZodOptional<z.ZodString>;
33712
33738
  limit: z.ZodOptional<z.ZodString>;
33713
33739
  deductible: z.ZodOptional<z.ZodString>;
33714
33740
  premium: z.ZodOptional<z.ZodString>;
33741
+ retroactiveDate: z.ZodOptional<z.ZodString>;
33715
33742
  formNumber: z.ZodOptional<z.ZodString>;
33716
33743
  sectionRef: z.ZodOptional<z.ZodString>;
33744
+ coverageOrigin: z.ZodOptional<z.ZodEnum<["core", "endorsement"]>>;
33745
+ endorsementNumber: z.ZodOptional<z.ZodString>;
33746
+ limits: z.ZodDefault<z.ZodArray<z.ZodObject<{
33747
+ kind: z.ZodDefault<z.ZodEnum<["each_claim_limit", "each_occurrence_limit", "each_loss_limit", "aggregate_limit", "sublimit", "retention", "deductible", "retroactive_date", "premium", "other"]>>;
33748
+ label: z.ZodString;
33749
+ value: z.ZodString;
33750
+ amount: z.ZodOptional<z.ZodNumber>;
33751
+ appliesTo: z.ZodOptional<z.ZodString>;
33752
+ sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
33753
+ sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
33754
+ }, "strip", z.ZodTypeAny, {
33755
+ value: string;
33756
+ sourceSpanIds: string[];
33757
+ label: string;
33758
+ kind: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date";
33759
+ sourceNodeIds: string[];
33760
+ amount?: number | undefined;
33761
+ appliesTo?: string | undefined;
33762
+ }, {
33763
+ value: string;
33764
+ label: string;
33765
+ sourceSpanIds?: string[] | undefined;
33766
+ amount?: number | undefined;
33767
+ appliesTo?: string | undefined;
33768
+ kind?: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date" | undefined;
33769
+ sourceNodeIds?: string[] | undefined;
33770
+ }>, "many">>;
33717
33771
  sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
33718
33772
  sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
33719
33773
  }, "strip", z.ZodTypeAny, {
33720
33774
  name: string;
33721
33775
  sourceSpanIds: string[];
33776
+ limits: {
33777
+ value: string;
33778
+ sourceSpanIds: string[];
33779
+ label: string;
33780
+ kind: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date";
33781
+ sourceNodeIds: string[];
33782
+ amount?: number | undefined;
33783
+ appliesTo?: string | undefined;
33784
+ }[];
33722
33785
  sourceNodeIds: string[];
33723
33786
  formNumber?: string | undefined;
33724
33787
  limit?: string | undefined;
33725
33788
  deductible?: string | undefined;
33789
+ retroactiveDate?: string | undefined;
33726
33790
  sectionRef?: string | undefined;
33727
33791
  coverageCode?: string | undefined;
33728
33792
  premium?: string | undefined;
33793
+ coverageOrigin?: "endorsement" | "core" | undefined;
33794
+ endorsementNumber?: string | undefined;
33729
33795
  }, {
33730
33796
  name: string;
33731
33797
  formNumber?: string | undefined;
33732
33798
  sourceSpanIds?: string[] | undefined;
33733
33799
  limit?: string | undefined;
33734
33800
  deductible?: string | undefined;
33801
+ retroactiveDate?: string | undefined;
33735
33802
  sectionRef?: string | undefined;
33736
33803
  coverageCode?: string | undefined;
33737
33804
  premium?: string | undefined;
33805
+ limits?: {
33806
+ value: string;
33807
+ label: string;
33808
+ sourceSpanIds?: string[] | undefined;
33809
+ amount?: number | undefined;
33810
+ appliesTo?: string | undefined;
33811
+ kind?: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date" | undefined;
33812
+ sourceNodeIds?: string[] | undefined;
33813
+ }[] | undefined;
33738
33814
  sourceNodeIds?: string[] | undefined;
33815
+ coverageOrigin?: "endorsement" | "core" | undefined;
33816
+ endorsementNumber?: string | undefined;
33739
33817
  }>;
33740
33818
  type OperationalCoverageLine = z.infer<typeof OperationalCoverageLineSchema>;
33741
33819
  declare const OperationalPartySchema: z.ZodObject<{
@@ -33937,30 +34015,82 @@ declare const PolicyOperationalProfileSchema: z.ZodObject<{
33937
34015
  limit: z.ZodOptional<z.ZodString>;
33938
34016
  deductible: z.ZodOptional<z.ZodString>;
33939
34017
  premium: z.ZodOptional<z.ZodString>;
34018
+ retroactiveDate: z.ZodOptional<z.ZodString>;
33940
34019
  formNumber: z.ZodOptional<z.ZodString>;
33941
34020
  sectionRef: z.ZodOptional<z.ZodString>;
34021
+ coverageOrigin: z.ZodOptional<z.ZodEnum<["core", "endorsement"]>>;
34022
+ endorsementNumber: z.ZodOptional<z.ZodString>;
34023
+ limits: z.ZodDefault<z.ZodArray<z.ZodObject<{
34024
+ kind: z.ZodDefault<z.ZodEnum<["each_claim_limit", "each_occurrence_limit", "each_loss_limit", "aggregate_limit", "sublimit", "retention", "deductible", "retroactive_date", "premium", "other"]>>;
34025
+ label: z.ZodString;
34026
+ value: z.ZodString;
34027
+ amount: z.ZodOptional<z.ZodNumber>;
34028
+ appliesTo: z.ZodOptional<z.ZodString>;
34029
+ sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
34030
+ sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
34031
+ }, "strip", z.ZodTypeAny, {
34032
+ value: string;
34033
+ sourceSpanIds: string[];
34034
+ label: string;
34035
+ kind: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date";
34036
+ sourceNodeIds: string[];
34037
+ amount?: number | undefined;
34038
+ appliesTo?: string | undefined;
34039
+ }, {
34040
+ value: string;
34041
+ label: string;
34042
+ sourceSpanIds?: string[] | undefined;
34043
+ amount?: number | undefined;
34044
+ appliesTo?: string | undefined;
34045
+ kind?: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date" | undefined;
34046
+ sourceNodeIds?: string[] | undefined;
34047
+ }>, "many">>;
33942
34048
  sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
33943
34049
  sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
33944
34050
  }, "strip", z.ZodTypeAny, {
33945
34051
  name: string;
33946
34052
  sourceSpanIds: string[];
34053
+ limits: {
34054
+ value: string;
34055
+ sourceSpanIds: string[];
34056
+ label: string;
34057
+ kind: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date";
34058
+ sourceNodeIds: string[];
34059
+ amount?: number | undefined;
34060
+ appliesTo?: string | undefined;
34061
+ }[];
33947
34062
  sourceNodeIds: string[];
33948
34063
  formNumber?: string | undefined;
33949
34064
  limit?: string | undefined;
33950
34065
  deductible?: string | undefined;
34066
+ retroactiveDate?: string | undefined;
33951
34067
  sectionRef?: string | undefined;
33952
34068
  coverageCode?: string | undefined;
33953
34069
  premium?: string | undefined;
34070
+ coverageOrigin?: "endorsement" | "core" | undefined;
34071
+ endorsementNumber?: string | undefined;
33954
34072
  }, {
33955
34073
  name: string;
33956
34074
  formNumber?: string | undefined;
33957
34075
  sourceSpanIds?: string[] | undefined;
33958
34076
  limit?: string | undefined;
33959
34077
  deductible?: string | undefined;
34078
+ retroactiveDate?: string | undefined;
33960
34079
  sectionRef?: string | undefined;
33961
34080
  coverageCode?: string | undefined;
33962
34081
  premium?: string | undefined;
34082
+ limits?: {
34083
+ value: string;
34084
+ label: string;
34085
+ sourceSpanIds?: string[] | undefined;
34086
+ amount?: number | undefined;
34087
+ appliesTo?: string | undefined;
34088
+ kind?: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date" | undefined;
34089
+ sourceNodeIds?: string[] | undefined;
34090
+ }[] | undefined;
33963
34091
  sourceNodeIds?: string[] | undefined;
34092
+ coverageOrigin?: "endorsement" | "core" | undefined;
34093
+ endorsementNumber?: string | undefined;
33964
34094
  }>, "many">>;
33965
34095
  parties: z.ZodDefault<z.ZodArray<z.ZodObject<{
33966
34096
  role: z.ZodString;
@@ -34005,13 +34135,25 @@ declare const PolicyOperationalProfileSchema: z.ZodObject<{
34005
34135
  coverages: {
34006
34136
  name: string;
34007
34137
  sourceSpanIds: string[];
34138
+ limits: {
34139
+ value: string;
34140
+ sourceSpanIds: string[];
34141
+ label: string;
34142
+ kind: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date";
34143
+ sourceNodeIds: string[];
34144
+ amount?: number | undefined;
34145
+ appliesTo?: string | undefined;
34146
+ }[];
34008
34147
  sourceNodeIds: string[];
34009
34148
  formNumber?: string | undefined;
34010
34149
  limit?: string | undefined;
34011
34150
  deductible?: string | undefined;
34151
+ retroactiveDate?: string | undefined;
34012
34152
  sectionRef?: string | undefined;
34013
34153
  coverageCode?: string | undefined;
34014
34154
  premium?: string | undefined;
34155
+ coverageOrigin?: "endorsement" | "core" | undefined;
34156
+ endorsementNumber?: string | undefined;
34015
34157
  }[];
34016
34158
  policyTypes: string[];
34017
34159
  sourceNodeIds: string[];
@@ -34116,10 +34258,22 @@ declare const PolicyOperationalProfileSchema: z.ZodObject<{
34116
34258
  sourceSpanIds?: string[] | undefined;
34117
34259
  limit?: string | undefined;
34118
34260
  deductible?: string | undefined;
34261
+ retroactiveDate?: string | undefined;
34119
34262
  sectionRef?: string | undefined;
34120
34263
  coverageCode?: string | undefined;
34121
34264
  premium?: string | undefined;
34265
+ limits?: {
34266
+ value: string;
34267
+ label: string;
34268
+ sourceSpanIds?: string[] | undefined;
34269
+ amount?: number | undefined;
34270
+ appliesTo?: string | undefined;
34271
+ kind?: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date" | undefined;
34272
+ sourceNodeIds?: string[] | undefined;
34273
+ }[] | undefined;
34122
34274
  sourceNodeIds?: string[] | undefined;
34275
+ coverageOrigin?: "endorsement" | "core" | undefined;
34276
+ endorsementNumber?: string | undefined;
34123
34277
  }[] | undefined;
34124
34278
  policyNumber?: {
34125
34279
  value: string;
@@ -37095,4 +37249,4 @@ interface DocumentTemplate {
37095
37249
  }
37096
37250
  declare function getTemplate(policyType: string): DocumentTemplate;
37097
37251
 
37098
- export { ADMITTED_STATUSES, AGENT_TOOLS, APPLICATION_CLASSIFY_PROMPT, AUDIT_TYPES, type AcroFormFieldInfo, type AcroFormMapping, AcroFormMappingSchema, type Address, AddressSchema, type AdmittedStatus, AdmittedStatusSchema, type AgentContext, type AgenticExecutionMode, AgenticExecutionModeSchema, type AnswerMergeResult, type AnswerParsingResult, AnswerParsingResultSchema, type ApplicationClassifyResult, ApplicationClassifyResultSchema, ApplicationEmailReviewSchema, type ApplicationField, ApplicationFieldSchema, type ApplicationListFilters, type ApplicationPipelineConfig, ApplicationQualityArtifactSchema, ApplicationQualityIssueSchema, ApplicationQualityReportSchema, ApplicationQualityRoundSchema, type ApplicationState, ApplicationStateSchema, type ApplicationStore, type AttachmentInterpretation, AttachmentInterpretationSchema, type AuditType, AuditTypeSchema, type AutoFillMatch, AutoFillMatchSchema, type AutoFillResult, AutoFillResultSchema, type AuxiliaryFact, AuxiliaryFactSchema, BOAT_TYPES, type BackfillProvider, type BindingAuthority, BindingAuthoritySchema, type BoatType, BoatTypeSchema, CHUNK_TYPES, CLAIM_STATUSES, COI_GENERATION_TOOL, CONDITION_TYPES, CONSTRUCTION_TYPES, CONTEXT_KEY_MAP, COVERAGE_COMPARISON_TOOL, COVERAGE_FORMS, COVERAGE_TRIGGERS, type 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 ChunkFilter, type ChunkType, ChunkTypeSchema, type Citation, CitationSchema, type ClaimRecord, ClaimRecordSchema, type ClaimStatus, ClaimStatusSchema, type ClassificationCode, ClassificationCodeSchema, type CommercialAutoDeclarations, CommercialAutoDeclarationsSchema, type CommercialPropertyDeclarations, CommercialPropertyDeclarationsSchema, type CommunicationIntent, CommunicationIntentSchema, ConditionKeyValueSchema, type ConditionType, ConditionTypeSchema, type ConstructionType, ConstructionTypeSchema, type Contact, ContactSchema, type ContextKeyMapping, type ConversationTurn, type ConvertPdfToImagesFn, type Coverage, type CoverageForm, CoverageFormSchema, CoverageSchema, type CoverageTrigger, CoverageTriggerSchema, type CoverageValueType, CoverageValueTypeSchema, type CoveredReason, CoveredReasonSchema, type CrimeDeclarations, CrimeDeclarationsSchema, type CyberDeclarations, CyberDeclarationsSchema, DEDUCTIBLE_TYPES, DEFENSE_COST_TREATMENTS, DOCUMENT_LOOKUP_TOOL, DOCUMENT_TYPES, type DODeclarations, DODeclarationsSchema, DWELLING_FIRE_FORM_TYPES, type Declarations, DeclarationsSchema, type DeductibleSchedule, DeductibleScheduleSchema, type DeductibleType, DeductibleTypeSchema, type DefenseCostTreatment, DefenseCostTreatmentSchema, type Definition, DefinitionSchema, type DoclingDocumentLike, type DoclingExtractionInput, type DoclingItemLike, type DoclingNodeLike, type DoclingNormalizedUnit, type DoclingProvenanceLike, type DocumentAgentGuidance, DocumentAgentGuidanceSchema, type DocumentChunk, type DocumentFilters, type DocumentMetadata, DocumentMetadataSchema, type DocumentNode, DocumentNodeSchema, type DocumentPageMapEntry, DocumentPageMapEntrySchema, type DocumentSourceNode, type DocumentSourceNodeKind, DocumentSourceNodeKindSchema, DocumentSourceNodeSchema, type DocumentStore, type DocumentTableOfContentsEntry, DocumentTableOfContentsEntrySchema, type DocumentTemplate, type DocumentType, DocumentTypeSchema, type DriverRecord, DriverRecordSchema, type DwellingDetails, DwellingDetailsSchema, type DwellingFireDeclarations, DwellingFireDeclarationsSchema, type DwellingFireFormType, DwellingFireFormTypeSchema, ENDORSEMENT_PARTY_ROLES, ENDORSEMENT_TYPES, ENTITY_TYPES, type EarthquakeDeclarations, EarthquakeDeclarationsSchema, type EmbedText, type EmployersLiabilityLimits, EmployersLiabilityLimitsSchema, type Endorsement, type EndorsementParty, type EndorsementPartyRole, EndorsementPartyRoleSchema, EndorsementPartySchema, EndorsementSchema, type EndorsementType, EndorsementTypeSchema, type EnrichedCoverage, EnrichedCoverageSchema, type EnrichedSubjectivity, EnrichedSubjectivitySchema, type EnrichedUnderwritingCondition, EnrichedUnderwritingConditionSchema, type EntityType, EntityTypeSchema, type EvidenceItem, EvidenceItemSchema, type Exclusion, ExclusionSchema, type ExperienceMod, ExperienceModSchema, type ExtendedReportingPeriod, ExtendedReportingPeriodSchema, type ExtractOptions, type ExtractionInput, type ExtractionResult, type ExtractionState, type ExtractionV3Result, type ExtractorConfig, type ExtractorDef, FLOOD_ZONES, FOUNDATION_TYPES, type FarmRanchDeclarations, FarmRanchDeclarationsSchema, type FieldExtractionResult, FieldExtractionResultSchema, type FieldMapping, type FieldType, FieldTypeSchema, type FlatPdfPlacement, FlatPdfPlacementSchema, type FloodDeclarations, FloodDeclarationsSchema, type FloodZone, FloodZoneSchema, type FormReference, FormReferenceSchema, type FoundationType, FoundationTypeSchema, type GLDeclarations, GLDeclarationsSchema, type GenerateObject, type GeneratePceSubmissionPacketInput, type GenerateText, HOMEOWNERS_FORM_TYPES, type HomeownersDeclarations, HomeownersDeclarationsSchema, type HomeownersFormType, HomeownersFormTypeSchema, type IdentityTheftDeclarations, IdentityTheftDeclarationsSchema, type InsuranceDocument, InsuranceDocumentSchema, type InsuredLocation, InsuredLocationSchema, type InsuredVehicle, InsuredVehicleSchema, type InsurerInfo, InsurerInfoSchema, LIMIT_TYPES, LOSS_SETTLEMENTS, type LimitSchedule, LimitScheduleSchema, type LimitType, LimitTypeSchema, type LocationPremium, LocationPremiumSchema, type LogFn, type LookupFill, type LookupFillResult, LookupFillResultSchema, LookupFillSchema, type LookupRequest, LookupRequestSchema, type LossSettlement, LossSettlementSchema, type LossSummary, LossSummarySchema, MemorySourceStore, type MemoryStore, type MissingInfoQuestion, MissingInfoQuestionSchema, type ModelBudgetConstraint, type ModelBudgetResolution, type ModelCallReport, type ModelCapabilities, type ModelTaskKind, type NamedInsured, NamedInsuredSchema, type NormalizedDoclingDocument, type OperationalCoverageLine, OperationalCoverageLineSchema, type OperationalEndorsementSupport, OperationalEndorsementSupportSchema, type OperationalParty, OperationalPartySchema, type OrderableSourceEvidence, PERSONAL_AUTO_USAGES, PET_SPECIES, PLATFORM_CONFIGS, POLICY_SECTION_TYPES, POLICY_TERM_TYPES, POLICY_TYPES, type ParsedAnswer, ParsedAnswerSchema, type PaymentInstallment, PaymentInstallmentSchema, type PaymentPlan, PaymentPlanSchema, type PceAgentConfig, type PceCaseState, PceCaseStateSchema, type PceEvidenceSource, type PceExecutionModePreference, type PceMissingInfoQuestion, type PceNormalizationResult, PceNormalizationResultSchema, type PceQualityGateStatus, type PceQualityReport, type PceSubmissionPacket, PceSubmissionPacketSchema, type PceValidationIssue, type PdfInput, type 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, type Platform, type PlatformConfig, PlatformSchema, 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, type PolicyDocument, PolicyDocumentSchema, type PolicyOperationalProfile, PolicyOperationalProfileSchema, type PolicySectionType, PolicySectionTypeSchema, type PolicyTermType, PolicyTermTypeSchema, type PolicyType, PolicyTypeSchema, type PremiumLine, PremiumLineSchema, type PriorAnswer, type ProcessApplicationInput, type ProcessApplicationResult, type ProcessPceChangeRequestInput, type ProcessPceChangeRequestResult, type ProcessPceReplyInput, type ProcessPceReplyResult, type ProcessReplyInput, type ProcessReplyResult, type ProducerInfo, ProducerInfoSchema, type ProfessionalLiabilityDeclarations, ProfessionalLiabilityDeclarationsSchema, QUOTE_SECTION_TYPES, type QueryAttachment, type QueryAttachmentKind, QueryAttachmentKindSchema, QueryAttachmentSchema, type QueryClassifyResult, QueryClassifyResultSchema, type QueryConfig, type QueryInput, type QueryIntent, QueryIntentSchema, type QueryOutput, type QueryResult, QueryResultSchema, type QueryRetrievalMode, QueryRetrievalModeSchema, type QuestionBatchResult, QuestionBatchResultSchema, type QuoteDocument, QuoteDocumentSchema, type QuoteSectionType, QuoteSectionTypeSchema, RATING_BASIS_TYPES, ROOF_TYPES, type RVType, RVTypeSchema, RV_TYPES, type RatingBasis, RatingBasisSchema, type RatingBasisType, RatingBasisTypeSchema, type RecreationalVehicleDeclarations, RecreationalVehicleDeclarationsSchema, type ReplyIntent, ReplyIntentSchema, type ResolveModelBudgetParams, type RetrievalResult, RetrievalResultSchema, type RoofType, RoofTypeSchema, SCHEDULED_ITEM_CATEGORIES, SUBJECTIVITY_CATEGORIES, type SafeGenerateOptions, type SafeGenerateParams, type ScheduledItemCategory, ScheduledItemCategorySchema, type Section, SectionSchema, type SectionSourceSpanOptions, type SharedLimit, SharedLimitSchema, type SourceBackedValue, SourceBackedValueSchema, type SourceChunk, type SourceChunkOptions, SourceChunkSchema, type SourceKind, SourceKindSchema, type SourceNodeRetrievalResult, type SourcePageInput, type SourceRetrievalMode, type SourceRetrievalQuery, type SourceRetrievalResult, type SourceRetriever, type SourceSpan, type SourceSpanBBox, SourceSpanBBoxSchema, type SourceSpanIdInput, type SourceSpanKind, SourceSpanKindSchema, type SourceSpanLocation, SourceSpanLocationSchema, type SourceSpanRef, SourceSpanRefSchema, SourceSpanSchema, type SourceSpanTableLocation, SourceSpanTableLocationSchema, type SourceSpanUnit, SourceSpanUnitSchema, type SourceStore, type SourceTextUnitInput, type SubAnswer, SubAnswerSchema, type SubQuestion, SubQuestionSchema, type Subjectivity, type SubjectivityCategory, SubjectivityCategorySchema, SubjectivitySchema, type Sublimit, SublimitSchema, type Subsection, SubsectionSchema, TITLE_POLICY_TYPES, type TaxFeeItem, TaxFeeItemSchema, type TextOverlay, type TitleDeclarations, TitleDeclarationsSchema, type TitlePolicyType, TitlePolicyTypeSchema, type TokenUsage, type ToolDefinition, type TravelDeclarations, TravelDeclarationsSchema, type UmbrellaExcessDeclarations, UmbrellaExcessDeclarationsSchema, type UnderwritingCondition, UnderwritingConditionSchema, VALUATION_METHODS, VEHICLE_COVERAGE_TYPES, type ValidationIssueSeverity, ValidationIssueSeveritySchema, type ValuationMethod, ValuationMethodSchema, type VehicleCoverage, VehicleCoverageSchema, type VehicleCoverageType, VehicleCoverageTypeSchema, type VerifyResult, VerifyResultSchema, type WatercraftDeclarations, WatercraftDeclarationsSchema, type WorkersCompDeclarations, WorkersCompDeclarationsSchema, buildAcroFormMappingPrompt, buildAgentSystemPrompt, buildAnswerParsingPrompt, buildAutoFillPrompt, buildBatchEmailGenerationPrompt, buildClassifyMessagePrompt, buildCoiRoutingPrompt, buildConfirmationSummaryPrompt, buildConversationMemoryGuidance, buildCoverageGapPrompt, buildDeterministicOperationalProfile, buildDoclingProviderOptions, buildDocumentSourceTree, buildFieldExplanationPrompt, buildFieldExtractionPrompt, buildFlatPdfMappingPrompt, buildFormattingPrompt, buildIdentityPrompt, buildIntentPrompt, buildInterpretAttachmentPrompt, buildLookupFillPrompt, buildPageSourceSpans, buildPceNormalizePrompt, buildPceQualityReport, buildPceReplyPrompt, buildPceSubmissionPacket, buildPdfProviderOptions, buildQueryClassifyPrompt, buildQuestionBatchPrompt, buildQuotesPoliciesPrompt, buildReasonPrompt, buildReplyIntentClassificationPrompt, buildRespondPrompt, buildSafetyPrompt, buildSectionSourceSpans, buildSourceSpan, buildSourceSpanId, buildTextSourceSpans, buildVerifyPrompt, chunkDocument, chunkSourceSpans, collectPceEvidenceSources, compareSourceEvidence, createApplicationPipeline, createExtractor, createPceAgent, createPipelineContext, createQueryAgent, evaluateCaseProposals, evidenceContainsQuote, extractPageRange, fillAcroForm, generateNextMessage, getAcroFormFields, getDoclingPageRangeText, getExtractor, getFileIdentifier, getPdfPageCount, getTemplate, isDoclingExtractionInput, isFileReference, mergeOperationalProfile, mergeQuestionAnswers, mergeSourceSpans, normalizeDoclingDocument, normalizeDocumentSourceTreePaths, normalizeForMatch, normalizeSourceSpans, orderSourceEvidence, overlayTextOnPdf, pLimit, pdfInputToBase64, pdfInputToBytes, processReply, resolveModelBudget, safeGenerateObject, sanitizeNulls, scoreCaseProposal, selectPceExecutionMode, sourceSpanTextHash, stableCaseId, stableHash, stablePolicyChangeItemId, stableStringify, stripFences, toStrictSchema, validateEvidence, validatePceItems, validateQuotedEvidence, withRetry };
37252
+ export { ADMITTED_STATUSES, AGENT_TOOLS, APPLICATION_CLASSIFY_PROMPT, AUDIT_TYPES, type AcroFormFieldInfo, type AcroFormMapping, AcroFormMappingSchema, type Address, AddressSchema, type AdmittedStatus, AdmittedStatusSchema, type AgentContext, type AgenticExecutionMode, AgenticExecutionModeSchema, type AnswerMergeResult, type AnswerParsingResult, AnswerParsingResultSchema, type ApplicationClassifyResult, ApplicationClassifyResultSchema, ApplicationEmailReviewSchema, type ApplicationField, ApplicationFieldSchema, type ApplicationListFilters, type ApplicationPipelineConfig, ApplicationQualityArtifactSchema, ApplicationQualityIssueSchema, ApplicationQualityReportSchema, ApplicationQualityRoundSchema, type ApplicationState, ApplicationStateSchema, type ApplicationStore, type AttachmentInterpretation, AttachmentInterpretationSchema, type AuditType, AuditTypeSchema, type AutoFillMatch, AutoFillMatchSchema, type AutoFillResult, AutoFillResultSchema, type AuxiliaryFact, AuxiliaryFactSchema, BOAT_TYPES, type BackfillProvider, type BindingAuthority, BindingAuthoritySchema, type BoatType, BoatTypeSchema, CHUNK_TYPES, CLAIM_STATUSES, COI_GENERATION_TOOL, CONDITION_TYPES, CONSTRUCTION_TYPES, CONTEXT_KEY_MAP, COVERAGE_COMPARISON_TOOL, COVERAGE_FORMS, COVERAGE_TRIGGERS, type 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 ChunkFilter, type ChunkType, ChunkTypeSchema, type Citation, CitationSchema, type ClaimRecord, ClaimRecordSchema, type ClaimStatus, ClaimStatusSchema, type ClassificationCode, ClassificationCodeSchema, type CommercialAutoDeclarations, CommercialAutoDeclarationsSchema, type CommercialPropertyDeclarations, CommercialPropertyDeclarationsSchema, type CommunicationIntent, CommunicationIntentSchema, ConditionKeyValueSchema, type ConditionType, ConditionTypeSchema, type ConstructionType, ConstructionTypeSchema, type Contact, ContactSchema, type ContextKeyMapping, type ConversationTurn, type ConvertPdfToImagesFn, type Coverage, type CoverageForm, CoverageFormSchema, CoverageSchema, type CoverageTrigger, CoverageTriggerSchema, type CoverageValueType, CoverageValueTypeSchema, type CoveredReason, CoveredReasonSchema, type CrimeDeclarations, CrimeDeclarationsSchema, type CyberDeclarations, CyberDeclarationsSchema, DEDUCTIBLE_TYPES, DEFENSE_COST_TREATMENTS, DOCUMENT_LOOKUP_TOOL, DOCUMENT_TYPES, type DODeclarations, DODeclarationsSchema, DWELLING_FIRE_FORM_TYPES, type Declarations, DeclarationsSchema, type DeductibleSchedule, DeductibleScheduleSchema, type DeductibleType, DeductibleTypeSchema, type DefenseCostTreatment, DefenseCostTreatmentSchema, type Definition, DefinitionSchema, type DoclingDocumentLike, type DoclingExtractionInput, type DoclingItemLike, type DoclingNodeLike, type DoclingNormalizedUnit, type DoclingProvenanceLike, type DocumentAgentGuidance, DocumentAgentGuidanceSchema, type DocumentChunk, type DocumentFilters, type DocumentMetadata, DocumentMetadataSchema, type DocumentNode, DocumentNodeSchema, type DocumentPageMapEntry, DocumentPageMapEntrySchema, type DocumentSourceNode, type DocumentSourceNodeKind, DocumentSourceNodeKindSchema, DocumentSourceNodeSchema, type DocumentStore, type DocumentTableOfContentsEntry, DocumentTableOfContentsEntrySchema, type DocumentTemplate, type DocumentType, DocumentTypeSchema, type DriverRecord, DriverRecordSchema, type DwellingDetails, DwellingDetailsSchema, type DwellingFireDeclarations, DwellingFireDeclarationsSchema, type DwellingFireFormType, DwellingFireFormTypeSchema, ENDORSEMENT_PARTY_ROLES, ENDORSEMENT_TYPES, ENTITY_TYPES, type EarthquakeDeclarations, EarthquakeDeclarationsSchema, type EmbedText, type EmployersLiabilityLimits, EmployersLiabilityLimitsSchema, type Endorsement, type EndorsementParty, type EndorsementPartyRole, EndorsementPartyRoleSchema, EndorsementPartySchema, EndorsementSchema, type EndorsementType, EndorsementTypeSchema, type EnrichedCoverage, EnrichedCoverageSchema, type EnrichedSubjectivity, EnrichedSubjectivitySchema, type EnrichedUnderwritingCondition, EnrichedUnderwritingConditionSchema, type EntityType, EntityTypeSchema, type EvidenceItem, EvidenceItemSchema, type Exclusion, ExclusionSchema, type ExperienceMod, ExperienceModSchema, type ExtendedReportingPeriod, ExtendedReportingPeriodSchema, type ExtractOptions, type ExtractionInput, type ExtractionResult, type ExtractionState, type ExtractionV3Result, type ExtractorConfig, type ExtractorDef, FLOOD_ZONES, FOUNDATION_TYPES, type FarmRanchDeclarations, FarmRanchDeclarationsSchema, type FieldExtractionResult, FieldExtractionResultSchema, type FieldMapping, type FieldType, FieldTypeSchema, type FlatPdfPlacement, FlatPdfPlacementSchema, type FloodDeclarations, FloodDeclarationsSchema, type FloodZone, FloodZoneSchema, type FormReference, FormReferenceSchema, type FoundationType, FoundationTypeSchema, type GLDeclarations, GLDeclarationsSchema, type GenerateObject, type GeneratePceSubmissionPacketInput, type GenerateText, HOMEOWNERS_FORM_TYPES, type HomeownersDeclarations, HomeownersDeclarationsSchema, type HomeownersFormType, HomeownersFormTypeSchema, type IdentityTheftDeclarations, IdentityTheftDeclarationsSchema, type InsuranceDocument, InsuranceDocumentSchema, type InsuredLocation, InsuredLocationSchema, type InsuredVehicle, InsuredVehicleSchema, type InsurerInfo, InsurerInfoSchema, LIMIT_TYPES, LOSS_SETTLEMENTS, type LimitSchedule, LimitScheduleSchema, type LimitType, LimitTypeSchema, type LocationPremium, LocationPremiumSchema, type LogFn, type LookupFill, type LookupFillResult, LookupFillResultSchema, LookupFillSchema, type LookupRequest, LookupRequestSchema, type LossSettlement, LossSettlementSchema, type LossSummary, LossSummarySchema, MemorySourceStore, type MemoryStore, type MissingInfoQuestion, MissingInfoQuestionSchema, type ModelBudgetConstraint, type ModelBudgetResolution, type ModelCallReport, type ModelCapabilities, type ModelTaskKind, type NamedInsured, NamedInsuredSchema, type NormalizedDoclingDocument, type OperationalCoverageLine, OperationalCoverageLineSchema, type OperationalCoverageTerm, OperationalCoverageTermSchema, type OperationalEndorsementSupport, OperationalEndorsementSupportSchema, type OperationalParty, OperationalPartySchema, type OrderableSourceEvidence, PERSONAL_AUTO_USAGES, PET_SPECIES, PLATFORM_CONFIGS, POLICY_SECTION_TYPES, POLICY_TERM_TYPES, POLICY_TYPES, type ParsedAnswer, ParsedAnswerSchema, type PaymentInstallment, PaymentInstallmentSchema, type PaymentPlan, PaymentPlanSchema, type PceAgentConfig, type PceCaseState, PceCaseStateSchema, type PceEvidenceSource, type PceExecutionModePreference, type PceMissingInfoQuestion, type PceNormalizationResult, PceNormalizationResultSchema, type PceQualityGateStatus, type PceQualityReport, type PceSubmissionPacket, PceSubmissionPacketSchema, type PceValidationIssue, type PdfInput, type 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, type Platform, type PlatformConfig, PlatformSchema, 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, type PolicyDocument, PolicyDocumentSchema, type PolicyOperationalProfile, PolicyOperationalProfileSchema, type PolicySectionType, PolicySectionTypeSchema, type PolicyTermType, PolicyTermTypeSchema, type PolicyType, PolicyTypeSchema, type PremiumLine, PremiumLineSchema, type PriorAnswer, type ProcessApplicationInput, type ProcessApplicationResult, type ProcessPceChangeRequestInput, type ProcessPceChangeRequestResult, type ProcessPceReplyInput, type ProcessPceReplyResult, type ProcessReplyInput, type ProcessReplyResult, type ProducerInfo, ProducerInfoSchema, type ProfessionalLiabilityDeclarations, ProfessionalLiabilityDeclarationsSchema, QUOTE_SECTION_TYPES, type QueryAttachment, type QueryAttachmentKind, QueryAttachmentKindSchema, QueryAttachmentSchema, type QueryClassifyResult, QueryClassifyResultSchema, type QueryConfig, type QueryInput, type QueryIntent, QueryIntentSchema, type QueryOutput, type QueryResult, QueryResultSchema, type QueryRetrievalMode, QueryRetrievalModeSchema, type QuestionBatchResult, QuestionBatchResultSchema, type QuoteDocument, QuoteDocumentSchema, type QuoteSectionType, QuoteSectionTypeSchema, RATING_BASIS_TYPES, ROOF_TYPES, type RVType, RVTypeSchema, RV_TYPES, type RatingBasis, RatingBasisSchema, type RatingBasisType, RatingBasisTypeSchema, type RecreationalVehicleDeclarations, RecreationalVehicleDeclarationsSchema, type ReplyIntent, ReplyIntentSchema, type ResolveModelBudgetParams, type RetrievalResult, RetrievalResultSchema, type RoofType, RoofTypeSchema, SCHEDULED_ITEM_CATEGORIES, SUBJECTIVITY_CATEGORIES, type SafeGenerateOptions, type SafeGenerateParams, type ScheduledItemCategory, ScheduledItemCategorySchema, type Section, SectionSchema, type SectionSourceSpanOptions, type SharedLimit, SharedLimitSchema, type SourceBackedValue, SourceBackedValueSchema, type SourceChunk, type SourceChunkOptions, SourceChunkSchema, type SourceKind, SourceKindSchema, type SourceNodeRetrievalResult, type SourcePageInput, type SourceRetrievalMode, type SourceRetrievalQuery, type SourceRetrievalResult, type SourceRetriever, type SourceSpan, type SourceSpanBBox, SourceSpanBBoxSchema, type SourceSpanIdInput, type SourceSpanKind, SourceSpanKindSchema, type SourceSpanLocation, SourceSpanLocationSchema, type SourceSpanRef, SourceSpanRefSchema, SourceSpanSchema, type SourceSpanTableLocation, SourceSpanTableLocationSchema, type SourceSpanUnit, SourceSpanUnitSchema, type SourceStore, type SourceTextUnitInput, type SubAnswer, SubAnswerSchema, type SubQuestion, SubQuestionSchema, type Subjectivity, type SubjectivityCategory, SubjectivityCategorySchema, SubjectivitySchema, type Sublimit, SublimitSchema, type Subsection, SubsectionSchema, TITLE_POLICY_TYPES, type TaxFeeItem, TaxFeeItemSchema, type TextOverlay, type TitleDeclarations, TitleDeclarationsSchema, type TitlePolicyType, TitlePolicyTypeSchema, type TokenUsage, type ToolDefinition, type TravelDeclarations, TravelDeclarationsSchema, type UmbrellaExcessDeclarations, UmbrellaExcessDeclarationsSchema, type UnderwritingCondition, UnderwritingConditionSchema, VALUATION_METHODS, VEHICLE_COVERAGE_TYPES, type ValidationIssueSeverity, ValidationIssueSeveritySchema, type ValuationMethod, ValuationMethodSchema, type VehicleCoverage, VehicleCoverageSchema, type VehicleCoverageType, VehicleCoverageTypeSchema, type VerifyResult, VerifyResultSchema, type WatercraftDeclarations, WatercraftDeclarationsSchema, type WorkersCompDeclarations, WorkersCompDeclarationsSchema, buildAcroFormMappingPrompt, buildAgentSystemPrompt, buildAnswerParsingPrompt, buildAutoFillPrompt, buildBatchEmailGenerationPrompt, buildClassifyMessagePrompt, buildCoiRoutingPrompt, buildConfirmationSummaryPrompt, buildConversationMemoryGuidance, buildCoverageGapPrompt, buildDeterministicOperationalProfile, buildDoclingProviderOptions, buildDocumentSourceTree, buildFieldExplanationPrompt, buildFieldExtractionPrompt, buildFlatPdfMappingPrompt, buildFormattingPrompt, buildIdentityPrompt, buildIntentPrompt, buildInterpretAttachmentPrompt, buildLookupFillPrompt, buildPageSourceSpans, buildPceNormalizePrompt, buildPceQualityReport, buildPceReplyPrompt, buildPceSubmissionPacket, buildPdfProviderOptions, buildQueryClassifyPrompt, buildQuestionBatchPrompt, buildQuotesPoliciesPrompt, buildReasonPrompt, buildReplyIntentClassificationPrompt, buildRespondPrompt, buildSafetyPrompt, buildSectionSourceSpans, buildSourceSpan, buildSourceSpanId, buildTextSourceSpans, buildVerifyPrompt, chunkDocument, chunkSourceSpans, collectPceEvidenceSources, compareSourceEvidence, createApplicationPipeline, createExtractor, createPceAgent, createPipelineContext, createQueryAgent, evaluateCaseProposals, evidenceContainsQuote, extractPageRange, fillAcroForm, generateNextMessage, getAcroFormFields, getDoclingPageRangeText, getExtractor, getFileIdentifier, getPdfPageCount, getTemplate, isDoclingExtractionInput, isFileReference, mergeOperationalProfile, mergeQuestionAnswers, mergeSourceSpans, normalizeDoclingDocument, normalizeDocumentSourceTreePaths, normalizeForMatch, normalizeSourceSpans, orderSourceEvidence, overlayTextOnPdf, pLimit, pdfInputToBase64, pdfInputToBytes, processReply, resolveModelBudget, safeGenerateObject, sanitizeNulls, scoreCaseProposal, selectPceExecutionMode, sourceSpanTextHash, stableCaseId, stableHash, stablePolicyChangeItemId, stableStringify, stripFences, toStrictSchema, validateEvidence, validatePceItems, validateQuotedEvidence, withRetry };
package/dist/index.d.ts CHANGED
@@ -33706,36 +33706,114 @@ declare const SourceBackedValueSchema: z.ZodObject<{
33706
33706
  sourceNodeIds?: string[] | undefined;
33707
33707
  }>;
33708
33708
  type SourceBackedValue = z.infer<typeof SourceBackedValueSchema>;
33709
+ declare const OperationalCoverageTermSchema: z.ZodObject<{
33710
+ kind: z.ZodDefault<z.ZodEnum<["each_claim_limit", "each_occurrence_limit", "each_loss_limit", "aggregate_limit", "sublimit", "retention", "deductible", "retroactive_date", "premium", "other"]>>;
33711
+ label: z.ZodString;
33712
+ value: z.ZodString;
33713
+ amount: z.ZodOptional<z.ZodNumber>;
33714
+ appliesTo: z.ZodOptional<z.ZodString>;
33715
+ sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
33716
+ sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
33717
+ }, "strip", z.ZodTypeAny, {
33718
+ value: string;
33719
+ sourceSpanIds: string[];
33720
+ label: string;
33721
+ kind: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date";
33722
+ sourceNodeIds: string[];
33723
+ amount?: number | undefined;
33724
+ appliesTo?: string | undefined;
33725
+ }, {
33726
+ value: string;
33727
+ label: string;
33728
+ sourceSpanIds?: string[] | undefined;
33729
+ amount?: number | undefined;
33730
+ appliesTo?: string | undefined;
33731
+ kind?: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date" | undefined;
33732
+ sourceNodeIds?: string[] | undefined;
33733
+ }>;
33734
+ type OperationalCoverageTerm = z.infer<typeof OperationalCoverageTermSchema>;
33709
33735
  declare const OperationalCoverageLineSchema: z.ZodObject<{
33710
33736
  name: z.ZodString;
33711
33737
  coverageCode: z.ZodOptional<z.ZodString>;
33712
33738
  limit: z.ZodOptional<z.ZodString>;
33713
33739
  deductible: z.ZodOptional<z.ZodString>;
33714
33740
  premium: z.ZodOptional<z.ZodString>;
33741
+ retroactiveDate: z.ZodOptional<z.ZodString>;
33715
33742
  formNumber: z.ZodOptional<z.ZodString>;
33716
33743
  sectionRef: z.ZodOptional<z.ZodString>;
33744
+ coverageOrigin: z.ZodOptional<z.ZodEnum<["core", "endorsement"]>>;
33745
+ endorsementNumber: z.ZodOptional<z.ZodString>;
33746
+ limits: z.ZodDefault<z.ZodArray<z.ZodObject<{
33747
+ kind: z.ZodDefault<z.ZodEnum<["each_claim_limit", "each_occurrence_limit", "each_loss_limit", "aggregate_limit", "sublimit", "retention", "deductible", "retroactive_date", "premium", "other"]>>;
33748
+ label: z.ZodString;
33749
+ value: z.ZodString;
33750
+ amount: z.ZodOptional<z.ZodNumber>;
33751
+ appliesTo: z.ZodOptional<z.ZodString>;
33752
+ sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
33753
+ sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
33754
+ }, "strip", z.ZodTypeAny, {
33755
+ value: string;
33756
+ sourceSpanIds: string[];
33757
+ label: string;
33758
+ kind: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date";
33759
+ sourceNodeIds: string[];
33760
+ amount?: number | undefined;
33761
+ appliesTo?: string | undefined;
33762
+ }, {
33763
+ value: string;
33764
+ label: string;
33765
+ sourceSpanIds?: string[] | undefined;
33766
+ amount?: number | undefined;
33767
+ appliesTo?: string | undefined;
33768
+ kind?: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date" | undefined;
33769
+ sourceNodeIds?: string[] | undefined;
33770
+ }>, "many">>;
33717
33771
  sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
33718
33772
  sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
33719
33773
  }, "strip", z.ZodTypeAny, {
33720
33774
  name: string;
33721
33775
  sourceSpanIds: string[];
33776
+ limits: {
33777
+ value: string;
33778
+ sourceSpanIds: string[];
33779
+ label: string;
33780
+ kind: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date";
33781
+ sourceNodeIds: string[];
33782
+ amount?: number | undefined;
33783
+ appliesTo?: string | undefined;
33784
+ }[];
33722
33785
  sourceNodeIds: string[];
33723
33786
  formNumber?: string | undefined;
33724
33787
  limit?: string | undefined;
33725
33788
  deductible?: string | undefined;
33789
+ retroactiveDate?: string | undefined;
33726
33790
  sectionRef?: string | undefined;
33727
33791
  coverageCode?: string | undefined;
33728
33792
  premium?: string | undefined;
33793
+ coverageOrigin?: "endorsement" | "core" | undefined;
33794
+ endorsementNumber?: string | undefined;
33729
33795
  }, {
33730
33796
  name: string;
33731
33797
  formNumber?: string | undefined;
33732
33798
  sourceSpanIds?: string[] | undefined;
33733
33799
  limit?: string | undefined;
33734
33800
  deductible?: string | undefined;
33801
+ retroactiveDate?: string | undefined;
33735
33802
  sectionRef?: string | undefined;
33736
33803
  coverageCode?: string | undefined;
33737
33804
  premium?: string | undefined;
33805
+ limits?: {
33806
+ value: string;
33807
+ label: string;
33808
+ sourceSpanIds?: string[] | undefined;
33809
+ amount?: number | undefined;
33810
+ appliesTo?: string | undefined;
33811
+ kind?: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date" | undefined;
33812
+ sourceNodeIds?: string[] | undefined;
33813
+ }[] | undefined;
33738
33814
  sourceNodeIds?: string[] | undefined;
33815
+ coverageOrigin?: "endorsement" | "core" | undefined;
33816
+ endorsementNumber?: string | undefined;
33739
33817
  }>;
33740
33818
  type OperationalCoverageLine = z.infer<typeof OperationalCoverageLineSchema>;
33741
33819
  declare const OperationalPartySchema: z.ZodObject<{
@@ -33937,30 +34015,82 @@ declare const PolicyOperationalProfileSchema: z.ZodObject<{
33937
34015
  limit: z.ZodOptional<z.ZodString>;
33938
34016
  deductible: z.ZodOptional<z.ZodString>;
33939
34017
  premium: z.ZodOptional<z.ZodString>;
34018
+ retroactiveDate: z.ZodOptional<z.ZodString>;
33940
34019
  formNumber: z.ZodOptional<z.ZodString>;
33941
34020
  sectionRef: z.ZodOptional<z.ZodString>;
34021
+ coverageOrigin: z.ZodOptional<z.ZodEnum<["core", "endorsement"]>>;
34022
+ endorsementNumber: z.ZodOptional<z.ZodString>;
34023
+ limits: z.ZodDefault<z.ZodArray<z.ZodObject<{
34024
+ kind: z.ZodDefault<z.ZodEnum<["each_claim_limit", "each_occurrence_limit", "each_loss_limit", "aggregate_limit", "sublimit", "retention", "deductible", "retroactive_date", "premium", "other"]>>;
34025
+ label: z.ZodString;
34026
+ value: z.ZodString;
34027
+ amount: z.ZodOptional<z.ZodNumber>;
34028
+ appliesTo: z.ZodOptional<z.ZodString>;
34029
+ sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
34030
+ sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
34031
+ }, "strip", z.ZodTypeAny, {
34032
+ value: string;
34033
+ sourceSpanIds: string[];
34034
+ label: string;
34035
+ kind: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date";
34036
+ sourceNodeIds: string[];
34037
+ amount?: number | undefined;
34038
+ appliesTo?: string | undefined;
34039
+ }, {
34040
+ value: string;
34041
+ label: string;
34042
+ sourceSpanIds?: string[] | undefined;
34043
+ amount?: number | undefined;
34044
+ appliesTo?: string | undefined;
34045
+ kind?: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date" | undefined;
34046
+ sourceNodeIds?: string[] | undefined;
34047
+ }>, "many">>;
33942
34048
  sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
33943
34049
  sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
33944
34050
  }, "strip", z.ZodTypeAny, {
33945
34051
  name: string;
33946
34052
  sourceSpanIds: string[];
34053
+ limits: {
34054
+ value: string;
34055
+ sourceSpanIds: string[];
34056
+ label: string;
34057
+ kind: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date";
34058
+ sourceNodeIds: string[];
34059
+ amount?: number | undefined;
34060
+ appliesTo?: string | undefined;
34061
+ }[];
33947
34062
  sourceNodeIds: string[];
33948
34063
  formNumber?: string | undefined;
33949
34064
  limit?: string | undefined;
33950
34065
  deductible?: string | undefined;
34066
+ retroactiveDate?: string | undefined;
33951
34067
  sectionRef?: string | undefined;
33952
34068
  coverageCode?: string | undefined;
33953
34069
  premium?: string | undefined;
34070
+ coverageOrigin?: "endorsement" | "core" | undefined;
34071
+ endorsementNumber?: string | undefined;
33954
34072
  }, {
33955
34073
  name: string;
33956
34074
  formNumber?: string | undefined;
33957
34075
  sourceSpanIds?: string[] | undefined;
33958
34076
  limit?: string | undefined;
33959
34077
  deductible?: string | undefined;
34078
+ retroactiveDate?: string | undefined;
33960
34079
  sectionRef?: string | undefined;
33961
34080
  coverageCode?: string | undefined;
33962
34081
  premium?: string | undefined;
34082
+ limits?: {
34083
+ value: string;
34084
+ label: string;
34085
+ sourceSpanIds?: string[] | undefined;
34086
+ amount?: number | undefined;
34087
+ appliesTo?: string | undefined;
34088
+ kind?: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date" | undefined;
34089
+ sourceNodeIds?: string[] | undefined;
34090
+ }[] | undefined;
33963
34091
  sourceNodeIds?: string[] | undefined;
34092
+ coverageOrigin?: "endorsement" | "core" | undefined;
34093
+ endorsementNumber?: string | undefined;
33964
34094
  }>, "many">>;
33965
34095
  parties: z.ZodDefault<z.ZodArray<z.ZodObject<{
33966
34096
  role: z.ZodString;
@@ -34005,13 +34135,25 @@ declare const PolicyOperationalProfileSchema: z.ZodObject<{
34005
34135
  coverages: {
34006
34136
  name: string;
34007
34137
  sourceSpanIds: string[];
34138
+ limits: {
34139
+ value: string;
34140
+ sourceSpanIds: string[];
34141
+ label: string;
34142
+ kind: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date";
34143
+ sourceNodeIds: string[];
34144
+ amount?: number | undefined;
34145
+ appliesTo?: string | undefined;
34146
+ }[];
34008
34147
  sourceNodeIds: string[];
34009
34148
  formNumber?: string | undefined;
34010
34149
  limit?: string | undefined;
34011
34150
  deductible?: string | undefined;
34151
+ retroactiveDate?: string | undefined;
34012
34152
  sectionRef?: string | undefined;
34013
34153
  coverageCode?: string | undefined;
34014
34154
  premium?: string | undefined;
34155
+ coverageOrigin?: "endorsement" | "core" | undefined;
34156
+ endorsementNumber?: string | undefined;
34015
34157
  }[];
34016
34158
  policyTypes: string[];
34017
34159
  sourceNodeIds: string[];
@@ -34116,10 +34258,22 @@ declare const PolicyOperationalProfileSchema: z.ZodObject<{
34116
34258
  sourceSpanIds?: string[] | undefined;
34117
34259
  limit?: string | undefined;
34118
34260
  deductible?: string | undefined;
34261
+ retroactiveDate?: string | undefined;
34119
34262
  sectionRef?: string | undefined;
34120
34263
  coverageCode?: string | undefined;
34121
34264
  premium?: string | undefined;
34265
+ limits?: {
34266
+ value: string;
34267
+ label: string;
34268
+ sourceSpanIds?: string[] | undefined;
34269
+ amount?: number | undefined;
34270
+ appliesTo?: string | undefined;
34271
+ kind?: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date" | undefined;
34272
+ sourceNodeIds?: string[] | undefined;
34273
+ }[] | undefined;
34122
34274
  sourceNodeIds?: string[] | undefined;
34275
+ coverageOrigin?: "endorsement" | "core" | undefined;
34276
+ endorsementNumber?: string | undefined;
34123
34277
  }[] | undefined;
34124
34278
  policyNumber?: {
34125
34279
  value: string;
@@ -37095,4 +37249,4 @@ interface DocumentTemplate {
37095
37249
  }
37096
37250
  declare function getTemplate(policyType: string): DocumentTemplate;
37097
37251
 
37098
- export { ADMITTED_STATUSES, AGENT_TOOLS, APPLICATION_CLASSIFY_PROMPT, AUDIT_TYPES, type AcroFormFieldInfo, type AcroFormMapping, AcroFormMappingSchema, type Address, AddressSchema, type AdmittedStatus, AdmittedStatusSchema, type AgentContext, type AgenticExecutionMode, AgenticExecutionModeSchema, type AnswerMergeResult, type AnswerParsingResult, AnswerParsingResultSchema, type ApplicationClassifyResult, ApplicationClassifyResultSchema, ApplicationEmailReviewSchema, type ApplicationField, ApplicationFieldSchema, type ApplicationListFilters, type ApplicationPipelineConfig, ApplicationQualityArtifactSchema, ApplicationQualityIssueSchema, ApplicationQualityReportSchema, ApplicationQualityRoundSchema, type ApplicationState, ApplicationStateSchema, type ApplicationStore, type AttachmentInterpretation, AttachmentInterpretationSchema, type AuditType, AuditTypeSchema, type AutoFillMatch, AutoFillMatchSchema, type AutoFillResult, AutoFillResultSchema, type AuxiliaryFact, AuxiliaryFactSchema, BOAT_TYPES, type BackfillProvider, type BindingAuthority, BindingAuthoritySchema, type BoatType, BoatTypeSchema, CHUNK_TYPES, CLAIM_STATUSES, COI_GENERATION_TOOL, CONDITION_TYPES, CONSTRUCTION_TYPES, CONTEXT_KEY_MAP, COVERAGE_COMPARISON_TOOL, COVERAGE_FORMS, COVERAGE_TRIGGERS, type 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 ChunkFilter, type ChunkType, ChunkTypeSchema, type Citation, CitationSchema, type ClaimRecord, ClaimRecordSchema, type ClaimStatus, ClaimStatusSchema, type ClassificationCode, ClassificationCodeSchema, type CommercialAutoDeclarations, CommercialAutoDeclarationsSchema, type CommercialPropertyDeclarations, CommercialPropertyDeclarationsSchema, type CommunicationIntent, CommunicationIntentSchema, ConditionKeyValueSchema, type ConditionType, ConditionTypeSchema, type ConstructionType, ConstructionTypeSchema, type Contact, ContactSchema, type ContextKeyMapping, type ConversationTurn, type ConvertPdfToImagesFn, type Coverage, type CoverageForm, CoverageFormSchema, CoverageSchema, type CoverageTrigger, CoverageTriggerSchema, type CoverageValueType, CoverageValueTypeSchema, type CoveredReason, CoveredReasonSchema, type CrimeDeclarations, CrimeDeclarationsSchema, type CyberDeclarations, CyberDeclarationsSchema, DEDUCTIBLE_TYPES, DEFENSE_COST_TREATMENTS, DOCUMENT_LOOKUP_TOOL, DOCUMENT_TYPES, type DODeclarations, DODeclarationsSchema, DWELLING_FIRE_FORM_TYPES, type Declarations, DeclarationsSchema, type DeductibleSchedule, DeductibleScheduleSchema, type DeductibleType, DeductibleTypeSchema, type DefenseCostTreatment, DefenseCostTreatmentSchema, type Definition, DefinitionSchema, type DoclingDocumentLike, type DoclingExtractionInput, type DoclingItemLike, type DoclingNodeLike, type DoclingNormalizedUnit, type DoclingProvenanceLike, type DocumentAgentGuidance, DocumentAgentGuidanceSchema, type DocumentChunk, type DocumentFilters, type DocumentMetadata, DocumentMetadataSchema, type DocumentNode, DocumentNodeSchema, type DocumentPageMapEntry, DocumentPageMapEntrySchema, type DocumentSourceNode, type DocumentSourceNodeKind, DocumentSourceNodeKindSchema, DocumentSourceNodeSchema, type DocumentStore, type DocumentTableOfContentsEntry, DocumentTableOfContentsEntrySchema, type DocumentTemplate, type DocumentType, DocumentTypeSchema, type DriverRecord, DriverRecordSchema, type DwellingDetails, DwellingDetailsSchema, type DwellingFireDeclarations, DwellingFireDeclarationsSchema, type DwellingFireFormType, DwellingFireFormTypeSchema, ENDORSEMENT_PARTY_ROLES, ENDORSEMENT_TYPES, ENTITY_TYPES, type EarthquakeDeclarations, EarthquakeDeclarationsSchema, type EmbedText, type EmployersLiabilityLimits, EmployersLiabilityLimitsSchema, type Endorsement, type EndorsementParty, type EndorsementPartyRole, EndorsementPartyRoleSchema, EndorsementPartySchema, EndorsementSchema, type EndorsementType, EndorsementTypeSchema, type EnrichedCoverage, EnrichedCoverageSchema, type EnrichedSubjectivity, EnrichedSubjectivitySchema, type EnrichedUnderwritingCondition, EnrichedUnderwritingConditionSchema, type EntityType, EntityTypeSchema, type EvidenceItem, EvidenceItemSchema, type Exclusion, ExclusionSchema, type ExperienceMod, ExperienceModSchema, type ExtendedReportingPeriod, ExtendedReportingPeriodSchema, type ExtractOptions, type ExtractionInput, type ExtractionResult, type ExtractionState, type ExtractionV3Result, type ExtractorConfig, type ExtractorDef, FLOOD_ZONES, FOUNDATION_TYPES, type FarmRanchDeclarations, FarmRanchDeclarationsSchema, type FieldExtractionResult, FieldExtractionResultSchema, type FieldMapping, type FieldType, FieldTypeSchema, type FlatPdfPlacement, FlatPdfPlacementSchema, type FloodDeclarations, FloodDeclarationsSchema, type FloodZone, FloodZoneSchema, type FormReference, FormReferenceSchema, type FoundationType, FoundationTypeSchema, type GLDeclarations, GLDeclarationsSchema, type GenerateObject, type GeneratePceSubmissionPacketInput, type GenerateText, HOMEOWNERS_FORM_TYPES, type HomeownersDeclarations, HomeownersDeclarationsSchema, type HomeownersFormType, HomeownersFormTypeSchema, type IdentityTheftDeclarations, IdentityTheftDeclarationsSchema, type InsuranceDocument, InsuranceDocumentSchema, type InsuredLocation, InsuredLocationSchema, type InsuredVehicle, InsuredVehicleSchema, type InsurerInfo, InsurerInfoSchema, LIMIT_TYPES, LOSS_SETTLEMENTS, type LimitSchedule, LimitScheduleSchema, type LimitType, LimitTypeSchema, type LocationPremium, LocationPremiumSchema, type LogFn, type LookupFill, type LookupFillResult, LookupFillResultSchema, LookupFillSchema, type LookupRequest, LookupRequestSchema, type LossSettlement, LossSettlementSchema, type LossSummary, LossSummarySchema, MemorySourceStore, type MemoryStore, type MissingInfoQuestion, MissingInfoQuestionSchema, type ModelBudgetConstraint, type ModelBudgetResolution, type ModelCallReport, type ModelCapabilities, type ModelTaskKind, type NamedInsured, NamedInsuredSchema, type NormalizedDoclingDocument, type OperationalCoverageLine, OperationalCoverageLineSchema, type OperationalEndorsementSupport, OperationalEndorsementSupportSchema, type OperationalParty, OperationalPartySchema, type OrderableSourceEvidence, PERSONAL_AUTO_USAGES, PET_SPECIES, PLATFORM_CONFIGS, POLICY_SECTION_TYPES, POLICY_TERM_TYPES, POLICY_TYPES, type ParsedAnswer, ParsedAnswerSchema, type PaymentInstallment, PaymentInstallmentSchema, type PaymentPlan, PaymentPlanSchema, type PceAgentConfig, type PceCaseState, PceCaseStateSchema, type PceEvidenceSource, type PceExecutionModePreference, type PceMissingInfoQuestion, type PceNormalizationResult, PceNormalizationResultSchema, type PceQualityGateStatus, type PceQualityReport, type PceSubmissionPacket, PceSubmissionPacketSchema, type PceValidationIssue, type PdfInput, type 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, type Platform, type PlatformConfig, PlatformSchema, 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, type PolicyDocument, PolicyDocumentSchema, type PolicyOperationalProfile, PolicyOperationalProfileSchema, type PolicySectionType, PolicySectionTypeSchema, type PolicyTermType, PolicyTermTypeSchema, type PolicyType, PolicyTypeSchema, type PremiumLine, PremiumLineSchema, type PriorAnswer, type ProcessApplicationInput, type ProcessApplicationResult, type ProcessPceChangeRequestInput, type ProcessPceChangeRequestResult, type ProcessPceReplyInput, type ProcessPceReplyResult, type ProcessReplyInput, type ProcessReplyResult, type ProducerInfo, ProducerInfoSchema, type ProfessionalLiabilityDeclarations, ProfessionalLiabilityDeclarationsSchema, QUOTE_SECTION_TYPES, type QueryAttachment, type QueryAttachmentKind, QueryAttachmentKindSchema, QueryAttachmentSchema, type QueryClassifyResult, QueryClassifyResultSchema, type QueryConfig, type QueryInput, type QueryIntent, QueryIntentSchema, type QueryOutput, type QueryResult, QueryResultSchema, type QueryRetrievalMode, QueryRetrievalModeSchema, type QuestionBatchResult, QuestionBatchResultSchema, type QuoteDocument, QuoteDocumentSchema, type QuoteSectionType, QuoteSectionTypeSchema, RATING_BASIS_TYPES, ROOF_TYPES, type RVType, RVTypeSchema, RV_TYPES, type RatingBasis, RatingBasisSchema, type RatingBasisType, RatingBasisTypeSchema, type RecreationalVehicleDeclarations, RecreationalVehicleDeclarationsSchema, type ReplyIntent, ReplyIntentSchema, type ResolveModelBudgetParams, type RetrievalResult, RetrievalResultSchema, type RoofType, RoofTypeSchema, SCHEDULED_ITEM_CATEGORIES, SUBJECTIVITY_CATEGORIES, type SafeGenerateOptions, type SafeGenerateParams, type ScheduledItemCategory, ScheduledItemCategorySchema, type Section, SectionSchema, type SectionSourceSpanOptions, type SharedLimit, SharedLimitSchema, type SourceBackedValue, SourceBackedValueSchema, type SourceChunk, type SourceChunkOptions, SourceChunkSchema, type SourceKind, SourceKindSchema, type SourceNodeRetrievalResult, type SourcePageInput, type SourceRetrievalMode, type SourceRetrievalQuery, type SourceRetrievalResult, type SourceRetriever, type SourceSpan, type SourceSpanBBox, SourceSpanBBoxSchema, type SourceSpanIdInput, type SourceSpanKind, SourceSpanKindSchema, type SourceSpanLocation, SourceSpanLocationSchema, type SourceSpanRef, SourceSpanRefSchema, SourceSpanSchema, type SourceSpanTableLocation, SourceSpanTableLocationSchema, type SourceSpanUnit, SourceSpanUnitSchema, type SourceStore, type SourceTextUnitInput, type SubAnswer, SubAnswerSchema, type SubQuestion, SubQuestionSchema, type Subjectivity, type SubjectivityCategory, SubjectivityCategorySchema, SubjectivitySchema, type Sublimit, SublimitSchema, type Subsection, SubsectionSchema, TITLE_POLICY_TYPES, type TaxFeeItem, TaxFeeItemSchema, type TextOverlay, type TitleDeclarations, TitleDeclarationsSchema, type TitlePolicyType, TitlePolicyTypeSchema, type TokenUsage, type ToolDefinition, type TravelDeclarations, TravelDeclarationsSchema, type UmbrellaExcessDeclarations, UmbrellaExcessDeclarationsSchema, type UnderwritingCondition, UnderwritingConditionSchema, VALUATION_METHODS, VEHICLE_COVERAGE_TYPES, type ValidationIssueSeverity, ValidationIssueSeveritySchema, type ValuationMethod, ValuationMethodSchema, type VehicleCoverage, VehicleCoverageSchema, type VehicleCoverageType, VehicleCoverageTypeSchema, type VerifyResult, VerifyResultSchema, type WatercraftDeclarations, WatercraftDeclarationsSchema, type WorkersCompDeclarations, WorkersCompDeclarationsSchema, buildAcroFormMappingPrompt, buildAgentSystemPrompt, buildAnswerParsingPrompt, buildAutoFillPrompt, buildBatchEmailGenerationPrompt, buildClassifyMessagePrompt, buildCoiRoutingPrompt, buildConfirmationSummaryPrompt, buildConversationMemoryGuidance, buildCoverageGapPrompt, buildDeterministicOperationalProfile, buildDoclingProviderOptions, buildDocumentSourceTree, buildFieldExplanationPrompt, buildFieldExtractionPrompt, buildFlatPdfMappingPrompt, buildFormattingPrompt, buildIdentityPrompt, buildIntentPrompt, buildInterpretAttachmentPrompt, buildLookupFillPrompt, buildPageSourceSpans, buildPceNormalizePrompt, buildPceQualityReport, buildPceReplyPrompt, buildPceSubmissionPacket, buildPdfProviderOptions, buildQueryClassifyPrompt, buildQuestionBatchPrompt, buildQuotesPoliciesPrompt, buildReasonPrompt, buildReplyIntentClassificationPrompt, buildRespondPrompt, buildSafetyPrompt, buildSectionSourceSpans, buildSourceSpan, buildSourceSpanId, buildTextSourceSpans, buildVerifyPrompt, chunkDocument, chunkSourceSpans, collectPceEvidenceSources, compareSourceEvidence, createApplicationPipeline, createExtractor, createPceAgent, createPipelineContext, createQueryAgent, evaluateCaseProposals, evidenceContainsQuote, extractPageRange, fillAcroForm, generateNextMessage, getAcroFormFields, getDoclingPageRangeText, getExtractor, getFileIdentifier, getPdfPageCount, getTemplate, isDoclingExtractionInput, isFileReference, mergeOperationalProfile, mergeQuestionAnswers, mergeSourceSpans, normalizeDoclingDocument, normalizeDocumentSourceTreePaths, normalizeForMatch, normalizeSourceSpans, orderSourceEvidence, overlayTextOnPdf, pLimit, pdfInputToBase64, pdfInputToBytes, processReply, resolveModelBudget, safeGenerateObject, sanitizeNulls, scoreCaseProposal, selectPceExecutionMode, sourceSpanTextHash, stableCaseId, stableHash, stablePolicyChangeItemId, stableStringify, stripFences, toStrictSchema, validateEvidence, validatePceItems, validateQuotedEvidence, withRetry };
37252
+ export { ADMITTED_STATUSES, AGENT_TOOLS, APPLICATION_CLASSIFY_PROMPT, AUDIT_TYPES, type AcroFormFieldInfo, type AcroFormMapping, AcroFormMappingSchema, type Address, AddressSchema, type AdmittedStatus, AdmittedStatusSchema, type AgentContext, type AgenticExecutionMode, AgenticExecutionModeSchema, type AnswerMergeResult, type AnswerParsingResult, AnswerParsingResultSchema, type ApplicationClassifyResult, ApplicationClassifyResultSchema, ApplicationEmailReviewSchema, type ApplicationField, ApplicationFieldSchema, type ApplicationListFilters, type ApplicationPipelineConfig, ApplicationQualityArtifactSchema, ApplicationQualityIssueSchema, ApplicationQualityReportSchema, ApplicationQualityRoundSchema, type ApplicationState, ApplicationStateSchema, type ApplicationStore, type AttachmentInterpretation, AttachmentInterpretationSchema, type AuditType, AuditTypeSchema, type AutoFillMatch, AutoFillMatchSchema, type AutoFillResult, AutoFillResultSchema, type AuxiliaryFact, AuxiliaryFactSchema, BOAT_TYPES, type BackfillProvider, type BindingAuthority, BindingAuthoritySchema, type BoatType, BoatTypeSchema, CHUNK_TYPES, CLAIM_STATUSES, COI_GENERATION_TOOL, CONDITION_TYPES, CONSTRUCTION_TYPES, CONTEXT_KEY_MAP, COVERAGE_COMPARISON_TOOL, COVERAGE_FORMS, COVERAGE_TRIGGERS, type 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 ChunkFilter, type ChunkType, ChunkTypeSchema, type Citation, CitationSchema, type ClaimRecord, ClaimRecordSchema, type ClaimStatus, ClaimStatusSchema, type ClassificationCode, ClassificationCodeSchema, type CommercialAutoDeclarations, CommercialAutoDeclarationsSchema, type CommercialPropertyDeclarations, CommercialPropertyDeclarationsSchema, type CommunicationIntent, CommunicationIntentSchema, ConditionKeyValueSchema, type ConditionType, ConditionTypeSchema, type ConstructionType, ConstructionTypeSchema, type Contact, ContactSchema, type ContextKeyMapping, type ConversationTurn, type ConvertPdfToImagesFn, type Coverage, type CoverageForm, CoverageFormSchema, CoverageSchema, type CoverageTrigger, CoverageTriggerSchema, type CoverageValueType, CoverageValueTypeSchema, type CoveredReason, CoveredReasonSchema, type CrimeDeclarations, CrimeDeclarationsSchema, type CyberDeclarations, CyberDeclarationsSchema, DEDUCTIBLE_TYPES, DEFENSE_COST_TREATMENTS, DOCUMENT_LOOKUP_TOOL, DOCUMENT_TYPES, type DODeclarations, DODeclarationsSchema, DWELLING_FIRE_FORM_TYPES, type Declarations, DeclarationsSchema, type DeductibleSchedule, DeductibleScheduleSchema, type DeductibleType, DeductibleTypeSchema, type DefenseCostTreatment, DefenseCostTreatmentSchema, type Definition, DefinitionSchema, type DoclingDocumentLike, type DoclingExtractionInput, type DoclingItemLike, type DoclingNodeLike, type DoclingNormalizedUnit, type DoclingProvenanceLike, type DocumentAgentGuidance, DocumentAgentGuidanceSchema, type DocumentChunk, type DocumentFilters, type DocumentMetadata, DocumentMetadataSchema, type DocumentNode, DocumentNodeSchema, type DocumentPageMapEntry, DocumentPageMapEntrySchema, type DocumentSourceNode, type DocumentSourceNodeKind, DocumentSourceNodeKindSchema, DocumentSourceNodeSchema, type DocumentStore, type DocumentTableOfContentsEntry, DocumentTableOfContentsEntrySchema, type DocumentTemplate, type DocumentType, DocumentTypeSchema, type DriverRecord, DriverRecordSchema, type DwellingDetails, DwellingDetailsSchema, type DwellingFireDeclarations, DwellingFireDeclarationsSchema, type DwellingFireFormType, DwellingFireFormTypeSchema, ENDORSEMENT_PARTY_ROLES, ENDORSEMENT_TYPES, ENTITY_TYPES, type EarthquakeDeclarations, EarthquakeDeclarationsSchema, type EmbedText, type EmployersLiabilityLimits, EmployersLiabilityLimitsSchema, type Endorsement, type EndorsementParty, type EndorsementPartyRole, EndorsementPartyRoleSchema, EndorsementPartySchema, EndorsementSchema, type EndorsementType, EndorsementTypeSchema, type EnrichedCoverage, EnrichedCoverageSchema, type EnrichedSubjectivity, EnrichedSubjectivitySchema, type EnrichedUnderwritingCondition, EnrichedUnderwritingConditionSchema, type EntityType, EntityTypeSchema, type EvidenceItem, EvidenceItemSchema, type Exclusion, ExclusionSchema, type ExperienceMod, ExperienceModSchema, type ExtendedReportingPeriod, ExtendedReportingPeriodSchema, type ExtractOptions, type ExtractionInput, type ExtractionResult, type ExtractionState, type ExtractionV3Result, type ExtractorConfig, type ExtractorDef, FLOOD_ZONES, FOUNDATION_TYPES, type FarmRanchDeclarations, FarmRanchDeclarationsSchema, type FieldExtractionResult, FieldExtractionResultSchema, type FieldMapping, type FieldType, FieldTypeSchema, type FlatPdfPlacement, FlatPdfPlacementSchema, type FloodDeclarations, FloodDeclarationsSchema, type FloodZone, FloodZoneSchema, type FormReference, FormReferenceSchema, type FoundationType, FoundationTypeSchema, type GLDeclarations, GLDeclarationsSchema, type GenerateObject, type GeneratePceSubmissionPacketInput, type GenerateText, HOMEOWNERS_FORM_TYPES, type HomeownersDeclarations, HomeownersDeclarationsSchema, type HomeownersFormType, HomeownersFormTypeSchema, type IdentityTheftDeclarations, IdentityTheftDeclarationsSchema, type InsuranceDocument, InsuranceDocumentSchema, type InsuredLocation, InsuredLocationSchema, type InsuredVehicle, InsuredVehicleSchema, type InsurerInfo, InsurerInfoSchema, LIMIT_TYPES, LOSS_SETTLEMENTS, type LimitSchedule, LimitScheduleSchema, type LimitType, LimitTypeSchema, type LocationPremium, LocationPremiumSchema, type LogFn, type LookupFill, type LookupFillResult, LookupFillResultSchema, LookupFillSchema, type LookupRequest, LookupRequestSchema, type LossSettlement, LossSettlementSchema, type LossSummary, LossSummarySchema, MemorySourceStore, type MemoryStore, type MissingInfoQuestion, MissingInfoQuestionSchema, type ModelBudgetConstraint, type ModelBudgetResolution, type ModelCallReport, type ModelCapabilities, type ModelTaskKind, type NamedInsured, NamedInsuredSchema, type NormalizedDoclingDocument, type OperationalCoverageLine, OperationalCoverageLineSchema, type OperationalCoverageTerm, OperationalCoverageTermSchema, type OperationalEndorsementSupport, OperationalEndorsementSupportSchema, type OperationalParty, OperationalPartySchema, type OrderableSourceEvidence, PERSONAL_AUTO_USAGES, PET_SPECIES, PLATFORM_CONFIGS, POLICY_SECTION_TYPES, POLICY_TERM_TYPES, POLICY_TYPES, type ParsedAnswer, ParsedAnswerSchema, type PaymentInstallment, PaymentInstallmentSchema, type PaymentPlan, PaymentPlanSchema, type PceAgentConfig, type PceCaseState, PceCaseStateSchema, type PceEvidenceSource, type PceExecutionModePreference, type PceMissingInfoQuestion, type PceNormalizationResult, PceNormalizationResultSchema, type PceQualityGateStatus, type PceQualityReport, type PceSubmissionPacket, PceSubmissionPacketSchema, type PceValidationIssue, type PdfInput, type 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, type Platform, type PlatformConfig, PlatformSchema, 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, type PolicyDocument, PolicyDocumentSchema, type PolicyOperationalProfile, PolicyOperationalProfileSchema, type PolicySectionType, PolicySectionTypeSchema, type PolicyTermType, PolicyTermTypeSchema, type PolicyType, PolicyTypeSchema, type PremiumLine, PremiumLineSchema, type PriorAnswer, type ProcessApplicationInput, type ProcessApplicationResult, type ProcessPceChangeRequestInput, type ProcessPceChangeRequestResult, type ProcessPceReplyInput, type ProcessPceReplyResult, type ProcessReplyInput, type ProcessReplyResult, type ProducerInfo, ProducerInfoSchema, type ProfessionalLiabilityDeclarations, ProfessionalLiabilityDeclarationsSchema, QUOTE_SECTION_TYPES, type QueryAttachment, type QueryAttachmentKind, QueryAttachmentKindSchema, QueryAttachmentSchema, type QueryClassifyResult, QueryClassifyResultSchema, type QueryConfig, type QueryInput, type QueryIntent, QueryIntentSchema, type QueryOutput, type QueryResult, QueryResultSchema, type QueryRetrievalMode, QueryRetrievalModeSchema, type QuestionBatchResult, QuestionBatchResultSchema, type QuoteDocument, QuoteDocumentSchema, type QuoteSectionType, QuoteSectionTypeSchema, RATING_BASIS_TYPES, ROOF_TYPES, type RVType, RVTypeSchema, RV_TYPES, type RatingBasis, RatingBasisSchema, type RatingBasisType, RatingBasisTypeSchema, type RecreationalVehicleDeclarations, RecreationalVehicleDeclarationsSchema, type ReplyIntent, ReplyIntentSchema, type ResolveModelBudgetParams, type RetrievalResult, RetrievalResultSchema, type RoofType, RoofTypeSchema, SCHEDULED_ITEM_CATEGORIES, SUBJECTIVITY_CATEGORIES, type SafeGenerateOptions, type SafeGenerateParams, type ScheduledItemCategory, ScheduledItemCategorySchema, type Section, SectionSchema, type SectionSourceSpanOptions, type SharedLimit, SharedLimitSchema, type SourceBackedValue, SourceBackedValueSchema, type SourceChunk, type SourceChunkOptions, SourceChunkSchema, type SourceKind, SourceKindSchema, type SourceNodeRetrievalResult, type SourcePageInput, type SourceRetrievalMode, type SourceRetrievalQuery, type SourceRetrievalResult, type SourceRetriever, type SourceSpan, type SourceSpanBBox, SourceSpanBBoxSchema, type SourceSpanIdInput, type SourceSpanKind, SourceSpanKindSchema, type SourceSpanLocation, SourceSpanLocationSchema, type SourceSpanRef, SourceSpanRefSchema, SourceSpanSchema, type SourceSpanTableLocation, SourceSpanTableLocationSchema, type SourceSpanUnit, SourceSpanUnitSchema, type SourceStore, type SourceTextUnitInput, type SubAnswer, SubAnswerSchema, type SubQuestion, SubQuestionSchema, type Subjectivity, type SubjectivityCategory, SubjectivityCategorySchema, SubjectivitySchema, type Sublimit, SublimitSchema, type Subsection, SubsectionSchema, TITLE_POLICY_TYPES, type TaxFeeItem, TaxFeeItemSchema, type TextOverlay, type TitleDeclarations, TitleDeclarationsSchema, type TitlePolicyType, TitlePolicyTypeSchema, type TokenUsage, type ToolDefinition, type TravelDeclarations, TravelDeclarationsSchema, type UmbrellaExcessDeclarations, UmbrellaExcessDeclarationsSchema, type UnderwritingCondition, UnderwritingConditionSchema, VALUATION_METHODS, VEHICLE_COVERAGE_TYPES, type ValidationIssueSeverity, ValidationIssueSeveritySchema, type ValuationMethod, ValuationMethodSchema, type VehicleCoverage, VehicleCoverageSchema, type VehicleCoverageType, VehicleCoverageTypeSchema, type VerifyResult, VerifyResultSchema, type WatercraftDeclarations, WatercraftDeclarationsSchema, type WorkersCompDeclarations, WorkersCompDeclarationsSchema, buildAcroFormMappingPrompt, buildAgentSystemPrompt, buildAnswerParsingPrompt, buildAutoFillPrompt, buildBatchEmailGenerationPrompt, buildClassifyMessagePrompt, buildCoiRoutingPrompt, buildConfirmationSummaryPrompt, buildConversationMemoryGuidance, buildCoverageGapPrompt, buildDeterministicOperationalProfile, buildDoclingProviderOptions, buildDocumentSourceTree, buildFieldExplanationPrompt, buildFieldExtractionPrompt, buildFlatPdfMappingPrompt, buildFormattingPrompt, buildIdentityPrompt, buildIntentPrompt, buildInterpretAttachmentPrompt, buildLookupFillPrompt, buildPageSourceSpans, buildPceNormalizePrompt, buildPceQualityReport, buildPceReplyPrompt, buildPceSubmissionPacket, buildPdfProviderOptions, buildQueryClassifyPrompt, buildQuestionBatchPrompt, buildQuotesPoliciesPrompt, buildReasonPrompt, buildReplyIntentClassificationPrompt, buildRespondPrompt, buildSafetyPrompt, buildSectionSourceSpans, buildSourceSpan, buildSourceSpanId, buildTextSourceSpans, buildVerifyPrompt, chunkDocument, chunkSourceSpans, collectPceEvidenceSources, compareSourceEvidence, createApplicationPipeline, createExtractor, createPceAgent, createPipelineContext, createQueryAgent, evaluateCaseProposals, evidenceContainsQuote, extractPageRange, fillAcroForm, generateNextMessage, getAcroFormFields, getDoclingPageRangeText, getExtractor, getFileIdentifier, getPdfPageCount, getTemplate, isDoclingExtractionInput, isFileReference, mergeOperationalProfile, mergeQuestionAnswers, mergeSourceSpans, normalizeDoclingDocument, normalizeDocumentSourceTreePaths, normalizeForMatch, normalizeSourceSpans, orderSourceEvidence, overlayTextOnPdf, pLimit, pdfInputToBase64, pdfInputToBytes, processReply, resolveModelBudget, safeGenerateObject, sanitizeNulls, scoreCaseProposal, selectPceExecutionMode, sourceSpanTextHash, stableCaseId, stableHash, stablePolicyChangeItemId, stableStringify, stripFences, toStrictSchema, validateEvidence, validatePceItems, validateQuotedEvidence, withRetry };