@claritylabs/cl-sdk 0.12.0 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -6244,6 +6244,23 @@ declare const PremiumLineSchema: z.ZodObject<{
6244
6244
  line: string;
6245
6245
  }>;
6246
6246
  type PremiumLine = z.infer<typeof PremiumLineSchema>;
6247
+ declare const AuxiliaryFactSchema: z.ZodObject<{
6248
+ key: z.ZodString;
6249
+ value: z.ZodString;
6250
+ subject: z.ZodOptional<z.ZodString>;
6251
+ context: z.ZodOptional<z.ZodString>;
6252
+ }, "strip", z.ZodTypeAny, {
6253
+ key: string;
6254
+ value: string;
6255
+ subject?: string | undefined;
6256
+ context?: string | undefined;
6257
+ }, {
6258
+ key: string;
6259
+ value: string;
6260
+ subject?: string | undefined;
6261
+ context?: string | undefined;
6262
+ }>;
6263
+ type AuxiliaryFact = z.infer<typeof AuxiliaryFactSchema>;
6247
6264
  declare const PolicyDocumentSchema: z.ZodObject<{
6248
6265
  type: z.ZodLiteral<"policy">;
6249
6266
  policyNumber: z.ZodString;
@@ -9765,6 +9782,22 @@ declare const PolicyDocumentSchema: z.ZodObject<{
9765
9782
  }>>;
9766
9783
  cancellationNoticeDays: z.ZodOptional<z.ZodNumber>;
9767
9784
  nonrenewalNoticeDays: z.ZodOptional<z.ZodNumber>;
9785
+ supplementaryFacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
9786
+ key: z.ZodString;
9787
+ value: z.ZodString;
9788
+ subject: z.ZodOptional<z.ZodString>;
9789
+ context: z.ZodOptional<z.ZodString>;
9790
+ }, "strip", z.ZodTypeAny, {
9791
+ key: string;
9792
+ value: string;
9793
+ subject?: string | undefined;
9794
+ context?: string | undefined;
9795
+ }, {
9796
+ key: string;
9797
+ value: string;
9798
+ subject?: string | undefined;
9799
+ context?: string | undefined;
9800
+ }>, "many">>;
9768
9801
  }, "strip", z.ZodTypeAny, {
9769
9802
  type: "policy";
9770
9803
  effectiveDate: string;
@@ -10690,6 +10723,12 @@ declare const PolicyDocumentSchema: z.ZodObject<{
10690
10723
  }[] | undefined;
10691
10724
  cancellationNoticeDays?: number | undefined;
10692
10725
  nonrenewalNoticeDays?: number | undefined;
10726
+ supplementaryFacts?: {
10727
+ key: string;
10728
+ value: string;
10729
+ subject?: string | undefined;
10730
+ context?: string | undefined;
10731
+ }[] | undefined;
10693
10732
  }, {
10694
10733
  type: "policy";
10695
10734
  effectiveDate: string;
@@ -11615,6 +11654,12 @@ declare const PolicyDocumentSchema: z.ZodObject<{
11615
11654
  }[] | undefined;
11616
11655
  cancellationNoticeDays?: number | undefined;
11617
11656
  nonrenewalNoticeDays?: number | undefined;
11657
+ supplementaryFacts?: {
11658
+ key: string;
11659
+ value: string;
11660
+ subject?: string | undefined;
11661
+ context?: string | undefined;
11662
+ }[] | undefined;
11618
11663
  }>;
11619
11664
  type PolicyDocument = z.infer<typeof PolicyDocumentSchema>;
11620
11665
  declare const QuoteDocumentSchema: z.ZodObject<{
@@ -15213,6 +15258,22 @@ declare const QuoteDocumentSchema: z.ZodObject<{
15213
15258
  }>>;
15214
15259
  cancellationNoticeDays: z.ZodOptional<z.ZodNumber>;
15215
15260
  nonrenewalNoticeDays: z.ZodOptional<z.ZodNumber>;
15261
+ supplementaryFacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
15262
+ key: z.ZodString;
15263
+ value: z.ZodString;
15264
+ subject: z.ZodOptional<z.ZodString>;
15265
+ context: z.ZodOptional<z.ZodString>;
15266
+ }, "strip", z.ZodTypeAny, {
15267
+ key: string;
15268
+ value: string;
15269
+ subject?: string | undefined;
15270
+ context?: string | undefined;
15271
+ }, {
15272
+ key: string;
15273
+ value: string;
15274
+ subject?: string | undefined;
15275
+ context?: string | undefined;
15276
+ }>, "many">>;
15216
15277
  }, "strip", z.ZodTypeAny, {
15217
15278
  type: "quote";
15218
15279
  coverages: {
@@ -16133,6 +16194,12 @@ declare const QuoteDocumentSchema: z.ZodObject<{
16133
16194
  }[] | undefined;
16134
16195
  cancellationNoticeDays?: number | undefined;
16135
16196
  nonrenewalNoticeDays?: number | undefined;
16197
+ supplementaryFacts?: {
16198
+ key: string;
16199
+ value: string;
16200
+ subject?: string | undefined;
16201
+ context?: string | undefined;
16202
+ }[] | undefined;
16136
16203
  proposedEffectiveDate?: string | undefined;
16137
16204
  proposedExpirationDate?: string | undefined;
16138
16205
  quoteExpirationDate?: string | undefined;
@@ -17087,6 +17154,12 @@ declare const QuoteDocumentSchema: z.ZodObject<{
17087
17154
  }[] | undefined;
17088
17155
  cancellationNoticeDays?: number | undefined;
17089
17156
  nonrenewalNoticeDays?: number | undefined;
17157
+ supplementaryFacts?: {
17158
+ key: string;
17159
+ value: string;
17160
+ subject?: string | undefined;
17161
+ context?: string | undefined;
17162
+ }[] | undefined;
17090
17163
  proposedEffectiveDate?: string | undefined;
17091
17164
  proposedExpirationDate?: string | undefined;
17092
17165
  quoteExpirationDate?: string | undefined;
@@ -20644,6 +20717,22 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
20644
20717
  }>>;
20645
20718
  cancellationNoticeDays: z.ZodOptional<z.ZodNumber>;
20646
20719
  nonrenewalNoticeDays: z.ZodOptional<z.ZodNumber>;
20720
+ supplementaryFacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
20721
+ key: z.ZodString;
20722
+ value: z.ZodString;
20723
+ subject: z.ZodOptional<z.ZodString>;
20724
+ context: z.ZodOptional<z.ZodString>;
20725
+ }, "strip", z.ZodTypeAny, {
20726
+ key: string;
20727
+ value: string;
20728
+ subject?: string | undefined;
20729
+ context?: string | undefined;
20730
+ }, {
20731
+ key: string;
20732
+ value: string;
20733
+ subject?: string | undefined;
20734
+ context?: string | undefined;
20735
+ }>, "many">>;
20647
20736
  }, "strip", z.ZodTypeAny, {
20648
20737
  type: "policy";
20649
20738
  effectiveDate: string;
@@ -21569,6 +21658,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
21569
21658
  }[] | undefined;
21570
21659
  cancellationNoticeDays?: number | undefined;
21571
21660
  nonrenewalNoticeDays?: number | undefined;
21661
+ supplementaryFacts?: {
21662
+ key: string;
21663
+ value: string;
21664
+ subject?: string | undefined;
21665
+ context?: string | undefined;
21666
+ }[] | undefined;
21572
21667
  }, {
21573
21668
  type: "policy";
21574
21669
  effectiveDate: string;
@@ -22494,6 +22589,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
22494
22589
  }[] | undefined;
22495
22590
  cancellationNoticeDays?: number | undefined;
22496
22591
  nonrenewalNoticeDays?: number | undefined;
22592
+ supplementaryFacts?: {
22593
+ key: string;
22594
+ value: string;
22595
+ subject?: string | undefined;
22596
+ context?: string | undefined;
22597
+ }[] | undefined;
22497
22598
  }>, z.ZodObject<{
22498
22599
  type: z.ZodLiteral<"quote">;
22499
22600
  quoteNumber: z.ZodString;
@@ -26090,6 +26191,22 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
26090
26191
  }>>;
26091
26192
  cancellationNoticeDays: z.ZodOptional<z.ZodNumber>;
26092
26193
  nonrenewalNoticeDays: z.ZodOptional<z.ZodNumber>;
26194
+ supplementaryFacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
26195
+ key: z.ZodString;
26196
+ value: z.ZodString;
26197
+ subject: z.ZodOptional<z.ZodString>;
26198
+ context: z.ZodOptional<z.ZodString>;
26199
+ }, "strip", z.ZodTypeAny, {
26200
+ key: string;
26201
+ value: string;
26202
+ subject?: string | undefined;
26203
+ context?: string | undefined;
26204
+ }, {
26205
+ key: string;
26206
+ value: string;
26207
+ subject?: string | undefined;
26208
+ context?: string | undefined;
26209
+ }>, "many">>;
26093
26210
  }, "strip", z.ZodTypeAny, {
26094
26211
  type: "quote";
26095
26212
  coverages: {
@@ -27010,6 +27127,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
27010
27127
  }[] | undefined;
27011
27128
  cancellationNoticeDays?: number | undefined;
27012
27129
  nonrenewalNoticeDays?: number | undefined;
27130
+ supplementaryFacts?: {
27131
+ key: string;
27132
+ value: string;
27133
+ subject?: string | undefined;
27134
+ context?: string | undefined;
27135
+ }[] | undefined;
27013
27136
  proposedEffectiveDate?: string | undefined;
27014
27137
  proposedExpirationDate?: string | undefined;
27015
27138
  quoteExpirationDate?: string | undefined;
@@ -27964,6 +28087,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
27964
28087
  }[] | undefined;
27965
28088
  cancellationNoticeDays?: number | undefined;
27966
28089
  nonrenewalNoticeDays?: number | undefined;
28090
+ supplementaryFacts?: {
28091
+ key: string;
28092
+ value: string;
28093
+ subject?: string | undefined;
28094
+ context?: string | undefined;
28095
+ }[] | undefined;
27967
28096
  proposedEffectiveDate?: string | undefined;
27968
28097
  proposedExpirationDate?: string | undefined;
27969
28098
  quoteExpirationDate?: string | undefined;
@@ -30165,4 +30294,4 @@ interface DocumentTemplate {
30165
30294
  }
30166
30295
  declare function getTemplate(policyType: string): DocumentTemplate;
30167
30296
 
30168
- export { ADMITTED_STATUSES, AGENT_TOOLS, APPLICATION_CLASSIFY_PROMPT, AUDIT_TYPES, type AcroFormFieldInfo, type AcroFormMapping, AcroFormMappingSchema, type Address, AddressSchema, type AdmittedStatus, AdmittedStatusSchema, type AgentContext, type AnswerParsingResult, AnswerParsingResultSchema, type ApplicationClassifyResult, ApplicationClassifyResultSchema, ApplicationEmailReviewSchema, type ApplicationField, ApplicationFieldSchema, type ApplicationListFilters, type ApplicationPipelineConfig, ApplicationQualityArtifactSchema, ApplicationQualityIssueSchema, ApplicationQualityReportSchema, ApplicationQualityRoundSchema, type ApplicationState, ApplicationStateSchema, type ApplicationStore, type AttachmentInterpretation, AttachmentInterpretationSchema, type AuditType, AuditTypeSchema, type AutoFillMatch, AutoFillMatchSchema, type AutoFillResult, AutoFillResultSchema, BOAT_TYPES, type BackfillProvider, type BindingAuthority, BindingAuthoritySchema, type BoatType, BoatTypeSchema, CHUNK_TYPES, CLAIM_STATUSES, COI_GENERATION_TOOL, CONDITION_TYPES, CONSTRUCTION_TYPES, CONTEXT_KEY_MAP, COVERAGE_COMPARISON_TOOL, COVERAGE_FORMS, COVERAGE_TRIGGERS, type ChunkFilter, type ChunkType, ChunkTypeSchema, type Citation, CitationSchema, type ClaimRecord, ClaimRecordSchema, type ClaimStatus, ClaimStatusSchema, type ClassificationCode, ClassificationCodeSchema, type CommercialAutoDeclarations, CommercialAutoDeclarationsSchema, type CommercialPropertyDeclarations, CommercialPropertyDeclarationsSchema, type CommunicationIntent, CommunicationIntentSchema, ConditionKeyValueSchema, type ConditionType, ConditionTypeSchema, type ConstructionType, ConstructionTypeSchema, type Contact, ContactSchema, type ContextKeyMapping, type ConversationTurn, type ConvertPdfToImagesFn, type Coverage, type CoverageForm, CoverageFormSchema, CoverageSchema, type CoverageTrigger, CoverageTriggerSchema, type CoverageValueType, CoverageValueTypeSchema, type CrimeDeclarations, CrimeDeclarationsSchema, type CyberDeclarations, CyberDeclarationsSchema, DEDUCTIBLE_TYPES, DEFENSE_COST_TREATMENTS, DOCUMENT_LOOKUP_TOOL, DOCUMENT_TYPES, type DODeclarations, DODeclarationsSchema, DWELLING_FIRE_FORM_TYPES, type Declarations, DeclarationsSchema, type DeductibleSchedule, DeductibleScheduleSchema, type DeductibleType, DeductibleTypeSchema, type DefenseCostTreatment, DefenseCostTreatmentSchema, type DocumentChunk, type DocumentFilters, type DocumentStore, type DocumentTemplate, type DocumentType, DocumentTypeSchema, type DriverRecord, DriverRecordSchema, type DwellingDetails, DwellingDetailsSchema, type DwellingFireDeclarations, DwellingFireDeclarationsSchema, type DwellingFireFormType, DwellingFireFormTypeSchema, ENDORSEMENT_PARTY_ROLES, ENDORSEMENT_TYPES, ENTITY_TYPES, type EarthquakeDeclarations, EarthquakeDeclarationsSchema, type EmbedText, type EmployersLiabilityLimits, EmployersLiabilityLimitsSchema, type Endorsement, type EndorsementParty, type EndorsementPartyRole, EndorsementPartyRoleSchema, EndorsementPartySchema, EndorsementSchema, type EndorsementType, EndorsementTypeSchema, type EnrichedCoverage, EnrichedCoverageSchema, type EnrichedSubjectivity, EnrichedSubjectivitySchema, type EnrichedUnderwritingCondition, EnrichedUnderwritingConditionSchema, type EntityType, EntityTypeSchema, type EvidenceItem, EvidenceItemSchema, type Exclusion, ExclusionSchema, type ExperienceMod, ExperienceModSchema, type ExtendedReportingPeriod, ExtendedReportingPeriodSchema, type ExtractOptions, type ExtractionResult, type ExtractionState, type ExtractorConfig, type ExtractorDef, FLOOD_ZONES, FOUNDATION_TYPES, type FarmRanchDeclarations, FarmRanchDeclarationsSchema, type FieldExtractionResult, FieldExtractionResultSchema, type FieldMapping, type FieldType, FieldTypeSchema, type FlatPdfPlacement, FlatPdfPlacementSchema, type FloodDeclarations, FloodDeclarationsSchema, type FloodZone, FloodZoneSchema, type FormReference, FormReferenceSchema, type FoundationType, FoundationTypeSchema, type GLDeclarations, GLDeclarationsSchema, type GenerateObject, type GenerateText, HOMEOWNERS_FORM_TYPES, type HomeownersDeclarations, HomeownersDeclarationsSchema, type HomeownersFormType, HomeownersFormTypeSchema, type IdentityTheftDeclarations, IdentityTheftDeclarationsSchema, type InsuranceDocument, InsuranceDocumentSchema, type InsuredLocation, InsuredLocationSchema, type InsuredVehicle, InsuredVehicleSchema, type InsurerInfo, InsurerInfoSchema, LIMIT_TYPES, LOSS_SETTLEMENTS, type LimitSchedule, LimitScheduleSchema, type LimitType, LimitTypeSchema, type LocationPremium, LocationPremiumSchema, type LogFn, type LookupFill, type LookupFillResult, LookupFillResultSchema, LookupFillSchema, type LookupRequest, LookupRequestSchema, type LossSettlement, LossSettlementSchema, type LossSummary, LossSummarySchema, type MemoryStore, type NamedInsured, NamedInsuredSchema, PERSONAL_AUTO_USAGES, PET_SPECIES, PLATFORM_CONFIGS, POLICY_SECTION_TYPES, POLICY_TERM_TYPES, POLICY_TYPES, type ParsedAnswer, ParsedAnswerSchema, type PaymentInstallment, PaymentInstallmentSchema, type PaymentPlan, PaymentPlanSchema, type PersonalArticlesDeclarations, PersonalArticlesDeclarationsSchema, type PersonalAutoDeclarations, PersonalAutoDeclarationsSchema, type PersonalAutoUsage, PersonalAutoUsageSchema, type PersonalUmbrellaDeclarations, PersonalUmbrellaDeclarationsSchema, type PersonalVehicleDetails, PersonalVehicleDetailsSchema, type PetDeclarations, PetDeclarationsSchema, type PetSpecies, PetSpeciesSchema, type PipelineCheckpoint, type PipelineContext, type PipelineContextOptions, type Platform, type PlatformConfig, PlatformSchema, type PolicyCondition, PolicyConditionSchema, type PolicyDocument, PolicyDocumentSchema, type PolicySectionType, PolicySectionTypeSchema, type PolicyTermType, PolicyTermTypeSchema, type PolicyType, PolicyTypeSchema, type PremiumLine, PremiumLineSchema, type PriorAnswer, type ProcessApplicationInput, type ProcessApplicationResult, type ProcessReplyInput, type ProcessReplyResult, type ProducerInfo, ProducerInfoSchema, type ProfessionalLiabilityDeclarations, ProfessionalLiabilityDeclarationsSchema, QUOTE_SECTION_TYPES, type QueryAttachment, type QueryAttachmentKind, QueryAttachmentKindSchema, QueryAttachmentSchema, type QueryClassifyResult, QueryClassifyResultSchema, type QueryConfig, type QueryInput, type QueryIntent, QueryIntentSchema, type QueryOutput, type QueryResult, QueryResultSchema, type QuestionBatchResult, QuestionBatchResultSchema, type QuoteDocument, QuoteDocumentSchema, type QuoteSectionType, QuoteSectionTypeSchema, RATING_BASIS_TYPES, ROOF_TYPES, type RVType, RVTypeSchema, RV_TYPES, type RatingBasis, RatingBasisSchema, type RatingBasisType, RatingBasisTypeSchema, type RecreationalVehicleDeclarations, RecreationalVehicleDeclarationsSchema, type ReplyIntent, ReplyIntentSchema, type RetrievalResult, RetrievalResultSchema, type RoofType, RoofTypeSchema, SCHEDULED_ITEM_CATEGORIES, SUBJECTIVITY_CATEGORIES, type SafeGenerateOptions, type SafeGenerateParams, type ScheduledItemCategory, ScheduledItemCategorySchema, type Section, SectionSchema, type SharedLimit, SharedLimitSchema, type SubAnswer, SubAnswerSchema, type SubQuestion, SubQuestionSchema, type Subjectivity, type SubjectivityCategory, SubjectivityCategorySchema, SubjectivitySchema, type Sublimit, SublimitSchema, type Subsection, SubsectionSchema, TITLE_POLICY_TYPES, type TaxFeeItem, TaxFeeItemSchema, type TextOverlay, type TitleDeclarations, TitleDeclarationsSchema, type TitlePolicyType, TitlePolicyTypeSchema, type TokenUsage, type ToolDefinition, type TravelDeclarations, TravelDeclarationsSchema, type UmbrellaExcessDeclarations, UmbrellaExcessDeclarationsSchema, type UnderwritingCondition, UnderwritingConditionSchema, VALUATION_METHODS, VEHICLE_COVERAGE_TYPES, type ValuationMethod, ValuationMethodSchema, type VehicleCoverage, VehicleCoverageSchema, type VehicleCoverageType, VehicleCoverageTypeSchema, type VerifyResult, VerifyResultSchema, type WatercraftDeclarations, WatercraftDeclarationsSchema, type WorkersCompDeclarations, WorkersCompDeclarationsSchema, buildAcroFormMappingPrompt, buildAgentSystemPrompt, buildAnswerParsingPrompt, buildAutoFillPrompt, buildBatchEmailGenerationPrompt, buildClassifyMessagePrompt, buildCoiRoutingPrompt, buildConfirmationSummaryPrompt, buildConversationMemoryGuidance, buildCoverageGapPrompt, buildFieldExplanationPrompt, buildFieldExtractionPrompt, buildFlatPdfMappingPrompt, buildFormattingPrompt, buildIdentityPrompt, buildIntentPrompt, buildInterpretAttachmentPrompt, buildLookupFillPrompt, buildQueryClassifyPrompt, buildQuestionBatchPrompt, buildQuotesPoliciesPrompt, buildReasonPrompt, buildReplyIntentClassificationPrompt, buildRespondPrompt, buildSafetyPrompt, buildVerifyPrompt, chunkDocument, createApplicationPipeline, createExtractor, createPipelineContext, createQueryAgent, extractPageRange, fillAcroForm, getAcroFormFields, getExtractor, getPdfPageCount, getTemplate, overlayTextOnPdf, pLimit, safeGenerateObject, sanitizeNulls, stripFences, toStrictSchema, withRetry };
30297
+ export { ADMITTED_STATUSES, AGENT_TOOLS, APPLICATION_CLASSIFY_PROMPT, AUDIT_TYPES, type AcroFormFieldInfo, type AcroFormMapping, AcroFormMappingSchema, type Address, AddressSchema, type AdmittedStatus, AdmittedStatusSchema, type AgentContext, type AnswerParsingResult, AnswerParsingResultSchema, type ApplicationClassifyResult, ApplicationClassifyResultSchema, ApplicationEmailReviewSchema, type ApplicationField, ApplicationFieldSchema, type ApplicationListFilters, type ApplicationPipelineConfig, ApplicationQualityArtifactSchema, ApplicationQualityIssueSchema, ApplicationQualityReportSchema, ApplicationQualityRoundSchema, type ApplicationState, ApplicationStateSchema, type ApplicationStore, type AttachmentInterpretation, AttachmentInterpretationSchema, type AuditType, AuditTypeSchema, type AutoFillMatch, AutoFillMatchSchema, type AutoFillResult, AutoFillResultSchema, type AuxiliaryFact, AuxiliaryFactSchema, BOAT_TYPES, type BackfillProvider, type BindingAuthority, BindingAuthoritySchema, type BoatType, BoatTypeSchema, CHUNK_TYPES, CLAIM_STATUSES, COI_GENERATION_TOOL, CONDITION_TYPES, CONSTRUCTION_TYPES, CONTEXT_KEY_MAP, COVERAGE_COMPARISON_TOOL, COVERAGE_FORMS, COVERAGE_TRIGGERS, type ChunkFilter, type ChunkType, ChunkTypeSchema, type Citation, CitationSchema, type ClaimRecord, ClaimRecordSchema, type ClaimStatus, ClaimStatusSchema, type ClassificationCode, ClassificationCodeSchema, type CommercialAutoDeclarations, CommercialAutoDeclarationsSchema, type CommercialPropertyDeclarations, CommercialPropertyDeclarationsSchema, type CommunicationIntent, CommunicationIntentSchema, ConditionKeyValueSchema, type ConditionType, ConditionTypeSchema, type ConstructionType, ConstructionTypeSchema, type Contact, ContactSchema, type ContextKeyMapping, type ConversationTurn, type ConvertPdfToImagesFn, type Coverage, type CoverageForm, CoverageFormSchema, CoverageSchema, type CoverageTrigger, CoverageTriggerSchema, type CoverageValueType, CoverageValueTypeSchema, type CrimeDeclarations, CrimeDeclarationsSchema, type CyberDeclarations, CyberDeclarationsSchema, DEDUCTIBLE_TYPES, DEFENSE_COST_TREATMENTS, DOCUMENT_LOOKUP_TOOL, DOCUMENT_TYPES, type DODeclarations, DODeclarationsSchema, DWELLING_FIRE_FORM_TYPES, type Declarations, DeclarationsSchema, type DeductibleSchedule, DeductibleScheduleSchema, type DeductibleType, DeductibleTypeSchema, type DefenseCostTreatment, DefenseCostTreatmentSchema, type DocumentChunk, type DocumentFilters, type DocumentStore, type DocumentTemplate, type DocumentType, DocumentTypeSchema, type DriverRecord, DriverRecordSchema, type DwellingDetails, DwellingDetailsSchema, type DwellingFireDeclarations, DwellingFireDeclarationsSchema, type DwellingFireFormType, DwellingFireFormTypeSchema, ENDORSEMENT_PARTY_ROLES, ENDORSEMENT_TYPES, ENTITY_TYPES, type EarthquakeDeclarations, EarthquakeDeclarationsSchema, type EmbedText, type EmployersLiabilityLimits, EmployersLiabilityLimitsSchema, type Endorsement, type EndorsementParty, type EndorsementPartyRole, EndorsementPartyRoleSchema, EndorsementPartySchema, EndorsementSchema, type EndorsementType, EndorsementTypeSchema, type EnrichedCoverage, EnrichedCoverageSchema, type EnrichedSubjectivity, EnrichedSubjectivitySchema, type EnrichedUnderwritingCondition, EnrichedUnderwritingConditionSchema, type EntityType, EntityTypeSchema, type EvidenceItem, EvidenceItemSchema, type Exclusion, ExclusionSchema, type ExperienceMod, ExperienceModSchema, type ExtendedReportingPeriod, ExtendedReportingPeriodSchema, type ExtractOptions, type ExtractionResult, type ExtractionState, type ExtractorConfig, type ExtractorDef, FLOOD_ZONES, FOUNDATION_TYPES, type FarmRanchDeclarations, FarmRanchDeclarationsSchema, type FieldExtractionResult, FieldExtractionResultSchema, type FieldMapping, type FieldType, FieldTypeSchema, type FlatPdfPlacement, FlatPdfPlacementSchema, type FloodDeclarations, FloodDeclarationsSchema, type FloodZone, FloodZoneSchema, type FormReference, FormReferenceSchema, type FoundationType, FoundationTypeSchema, type GLDeclarations, GLDeclarationsSchema, type GenerateObject, type GenerateText, HOMEOWNERS_FORM_TYPES, type HomeownersDeclarations, HomeownersDeclarationsSchema, type HomeownersFormType, HomeownersFormTypeSchema, type IdentityTheftDeclarations, IdentityTheftDeclarationsSchema, type InsuranceDocument, InsuranceDocumentSchema, type InsuredLocation, InsuredLocationSchema, type InsuredVehicle, InsuredVehicleSchema, type InsurerInfo, InsurerInfoSchema, LIMIT_TYPES, LOSS_SETTLEMENTS, type LimitSchedule, LimitScheduleSchema, type LimitType, LimitTypeSchema, type LocationPremium, LocationPremiumSchema, type LogFn, type LookupFill, type LookupFillResult, LookupFillResultSchema, LookupFillSchema, type LookupRequest, LookupRequestSchema, type LossSettlement, LossSettlementSchema, type LossSummary, LossSummarySchema, type MemoryStore, type NamedInsured, NamedInsuredSchema, PERSONAL_AUTO_USAGES, PET_SPECIES, PLATFORM_CONFIGS, POLICY_SECTION_TYPES, POLICY_TERM_TYPES, POLICY_TYPES, type ParsedAnswer, ParsedAnswerSchema, type PaymentInstallment, PaymentInstallmentSchema, type PaymentPlan, PaymentPlanSchema, type PersonalArticlesDeclarations, PersonalArticlesDeclarationsSchema, type PersonalAutoDeclarations, PersonalAutoDeclarationsSchema, type PersonalAutoUsage, PersonalAutoUsageSchema, type PersonalUmbrellaDeclarations, PersonalUmbrellaDeclarationsSchema, type PersonalVehicleDetails, PersonalVehicleDetailsSchema, type PetDeclarations, PetDeclarationsSchema, type PetSpecies, PetSpeciesSchema, type PipelineCheckpoint, type PipelineContext, type PipelineContextOptions, type Platform, type PlatformConfig, PlatformSchema, type PolicyCondition, PolicyConditionSchema, type PolicyDocument, PolicyDocumentSchema, type PolicySectionType, PolicySectionTypeSchema, type PolicyTermType, PolicyTermTypeSchema, type PolicyType, PolicyTypeSchema, type PremiumLine, PremiumLineSchema, type PriorAnswer, type ProcessApplicationInput, type ProcessApplicationResult, type ProcessReplyInput, type ProcessReplyResult, type ProducerInfo, ProducerInfoSchema, type ProfessionalLiabilityDeclarations, ProfessionalLiabilityDeclarationsSchema, QUOTE_SECTION_TYPES, type QueryAttachment, type QueryAttachmentKind, QueryAttachmentKindSchema, QueryAttachmentSchema, type QueryClassifyResult, QueryClassifyResultSchema, type QueryConfig, type QueryInput, type QueryIntent, QueryIntentSchema, type QueryOutput, type QueryResult, QueryResultSchema, type QuestionBatchResult, QuestionBatchResultSchema, type QuoteDocument, QuoteDocumentSchema, type QuoteSectionType, QuoteSectionTypeSchema, RATING_BASIS_TYPES, ROOF_TYPES, type RVType, RVTypeSchema, RV_TYPES, type RatingBasis, RatingBasisSchema, type RatingBasisType, RatingBasisTypeSchema, type RecreationalVehicleDeclarations, RecreationalVehicleDeclarationsSchema, type ReplyIntent, ReplyIntentSchema, type RetrievalResult, RetrievalResultSchema, type RoofType, RoofTypeSchema, SCHEDULED_ITEM_CATEGORIES, SUBJECTIVITY_CATEGORIES, type SafeGenerateOptions, type SafeGenerateParams, type ScheduledItemCategory, ScheduledItemCategorySchema, type Section, SectionSchema, type SharedLimit, SharedLimitSchema, type SubAnswer, SubAnswerSchema, type SubQuestion, SubQuestionSchema, type Subjectivity, type SubjectivityCategory, SubjectivityCategorySchema, SubjectivitySchema, type Sublimit, SublimitSchema, type Subsection, SubsectionSchema, TITLE_POLICY_TYPES, type TaxFeeItem, TaxFeeItemSchema, type TextOverlay, type TitleDeclarations, TitleDeclarationsSchema, type TitlePolicyType, TitlePolicyTypeSchema, type TokenUsage, type ToolDefinition, type TravelDeclarations, TravelDeclarationsSchema, type UmbrellaExcessDeclarations, UmbrellaExcessDeclarationsSchema, type UnderwritingCondition, UnderwritingConditionSchema, VALUATION_METHODS, VEHICLE_COVERAGE_TYPES, type ValuationMethod, ValuationMethodSchema, type VehicleCoverage, VehicleCoverageSchema, type VehicleCoverageType, VehicleCoverageTypeSchema, type VerifyResult, VerifyResultSchema, type WatercraftDeclarations, WatercraftDeclarationsSchema, type WorkersCompDeclarations, WorkersCompDeclarationsSchema, buildAcroFormMappingPrompt, buildAgentSystemPrompt, buildAnswerParsingPrompt, buildAutoFillPrompt, buildBatchEmailGenerationPrompt, buildClassifyMessagePrompt, buildCoiRoutingPrompt, buildConfirmationSummaryPrompt, buildConversationMemoryGuidance, buildCoverageGapPrompt, buildFieldExplanationPrompt, buildFieldExtractionPrompt, buildFlatPdfMappingPrompt, buildFormattingPrompt, buildIdentityPrompt, buildIntentPrompt, buildInterpretAttachmentPrompt, buildLookupFillPrompt, buildQueryClassifyPrompt, buildQuestionBatchPrompt, buildQuotesPoliciesPrompt, buildReasonPrompt, buildReplyIntentClassificationPrompt, buildRespondPrompt, buildSafetyPrompt, buildVerifyPrompt, chunkDocument, createApplicationPipeline, createExtractor, createPipelineContext, createQueryAgent, extractPageRange, fillAcroForm, getAcroFormFields, getExtractor, getPdfPageCount, getTemplate, overlayTextOnPdf, pLimit, safeGenerateObject, sanitizeNulls, stripFences, toStrictSchema, withRetry };
package/dist/index.d.ts CHANGED
@@ -6244,6 +6244,23 @@ declare const PremiumLineSchema: z.ZodObject<{
6244
6244
  line: string;
6245
6245
  }>;
6246
6246
  type PremiumLine = z.infer<typeof PremiumLineSchema>;
6247
+ declare const AuxiliaryFactSchema: z.ZodObject<{
6248
+ key: z.ZodString;
6249
+ value: z.ZodString;
6250
+ subject: z.ZodOptional<z.ZodString>;
6251
+ context: z.ZodOptional<z.ZodString>;
6252
+ }, "strip", z.ZodTypeAny, {
6253
+ key: string;
6254
+ value: string;
6255
+ subject?: string | undefined;
6256
+ context?: string | undefined;
6257
+ }, {
6258
+ key: string;
6259
+ value: string;
6260
+ subject?: string | undefined;
6261
+ context?: string | undefined;
6262
+ }>;
6263
+ type AuxiliaryFact = z.infer<typeof AuxiliaryFactSchema>;
6247
6264
  declare const PolicyDocumentSchema: z.ZodObject<{
6248
6265
  type: z.ZodLiteral<"policy">;
6249
6266
  policyNumber: z.ZodString;
@@ -9765,6 +9782,22 @@ declare const PolicyDocumentSchema: z.ZodObject<{
9765
9782
  }>>;
9766
9783
  cancellationNoticeDays: z.ZodOptional<z.ZodNumber>;
9767
9784
  nonrenewalNoticeDays: z.ZodOptional<z.ZodNumber>;
9785
+ supplementaryFacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
9786
+ key: z.ZodString;
9787
+ value: z.ZodString;
9788
+ subject: z.ZodOptional<z.ZodString>;
9789
+ context: z.ZodOptional<z.ZodString>;
9790
+ }, "strip", z.ZodTypeAny, {
9791
+ key: string;
9792
+ value: string;
9793
+ subject?: string | undefined;
9794
+ context?: string | undefined;
9795
+ }, {
9796
+ key: string;
9797
+ value: string;
9798
+ subject?: string | undefined;
9799
+ context?: string | undefined;
9800
+ }>, "many">>;
9768
9801
  }, "strip", z.ZodTypeAny, {
9769
9802
  type: "policy";
9770
9803
  effectiveDate: string;
@@ -10690,6 +10723,12 @@ declare const PolicyDocumentSchema: z.ZodObject<{
10690
10723
  }[] | undefined;
10691
10724
  cancellationNoticeDays?: number | undefined;
10692
10725
  nonrenewalNoticeDays?: number | undefined;
10726
+ supplementaryFacts?: {
10727
+ key: string;
10728
+ value: string;
10729
+ subject?: string | undefined;
10730
+ context?: string | undefined;
10731
+ }[] | undefined;
10693
10732
  }, {
10694
10733
  type: "policy";
10695
10734
  effectiveDate: string;
@@ -11615,6 +11654,12 @@ declare const PolicyDocumentSchema: z.ZodObject<{
11615
11654
  }[] | undefined;
11616
11655
  cancellationNoticeDays?: number | undefined;
11617
11656
  nonrenewalNoticeDays?: number | undefined;
11657
+ supplementaryFacts?: {
11658
+ key: string;
11659
+ value: string;
11660
+ subject?: string | undefined;
11661
+ context?: string | undefined;
11662
+ }[] | undefined;
11618
11663
  }>;
11619
11664
  type PolicyDocument = z.infer<typeof PolicyDocumentSchema>;
11620
11665
  declare const QuoteDocumentSchema: z.ZodObject<{
@@ -15213,6 +15258,22 @@ declare const QuoteDocumentSchema: z.ZodObject<{
15213
15258
  }>>;
15214
15259
  cancellationNoticeDays: z.ZodOptional<z.ZodNumber>;
15215
15260
  nonrenewalNoticeDays: z.ZodOptional<z.ZodNumber>;
15261
+ supplementaryFacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
15262
+ key: z.ZodString;
15263
+ value: z.ZodString;
15264
+ subject: z.ZodOptional<z.ZodString>;
15265
+ context: z.ZodOptional<z.ZodString>;
15266
+ }, "strip", z.ZodTypeAny, {
15267
+ key: string;
15268
+ value: string;
15269
+ subject?: string | undefined;
15270
+ context?: string | undefined;
15271
+ }, {
15272
+ key: string;
15273
+ value: string;
15274
+ subject?: string | undefined;
15275
+ context?: string | undefined;
15276
+ }>, "many">>;
15216
15277
  }, "strip", z.ZodTypeAny, {
15217
15278
  type: "quote";
15218
15279
  coverages: {
@@ -16133,6 +16194,12 @@ declare const QuoteDocumentSchema: z.ZodObject<{
16133
16194
  }[] | undefined;
16134
16195
  cancellationNoticeDays?: number | undefined;
16135
16196
  nonrenewalNoticeDays?: number | undefined;
16197
+ supplementaryFacts?: {
16198
+ key: string;
16199
+ value: string;
16200
+ subject?: string | undefined;
16201
+ context?: string | undefined;
16202
+ }[] | undefined;
16136
16203
  proposedEffectiveDate?: string | undefined;
16137
16204
  proposedExpirationDate?: string | undefined;
16138
16205
  quoteExpirationDate?: string | undefined;
@@ -17087,6 +17154,12 @@ declare const QuoteDocumentSchema: z.ZodObject<{
17087
17154
  }[] | undefined;
17088
17155
  cancellationNoticeDays?: number | undefined;
17089
17156
  nonrenewalNoticeDays?: number | undefined;
17157
+ supplementaryFacts?: {
17158
+ key: string;
17159
+ value: string;
17160
+ subject?: string | undefined;
17161
+ context?: string | undefined;
17162
+ }[] | undefined;
17090
17163
  proposedEffectiveDate?: string | undefined;
17091
17164
  proposedExpirationDate?: string | undefined;
17092
17165
  quoteExpirationDate?: string | undefined;
@@ -20644,6 +20717,22 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
20644
20717
  }>>;
20645
20718
  cancellationNoticeDays: z.ZodOptional<z.ZodNumber>;
20646
20719
  nonrenewalNoticeDays: z.ZodOptional<z.ZodNumber>;
20720
+ supplementaryFacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
20721
+ key: z.ZodString;
20722
+ value: z.ZodString;
20723
+ subject: z.ZodOptional<z.ZodString>;
20724
+ context: z.ZodOptional<z.ZodString>;
20725
+ }, "strip", z.ZodTypeAny, {
20726
+ key: string;
20727
+ value: string;
20728
+ subject?: string | undefined;
20729
+ context?: string | undefined;
20730
+ }, {
20731
+ key: string;
20732
+ value: string;
20733
+ subject?: string | undefined;
20734
+ context?: string | undefined;
20735
+ }>, "many">>;
20647
20736
  }, "strip", z.ZodTypeAny, {
20648
20737
  type: "policy";
20649
20738
  effectiveDate: string;
@@ -21569,6 +21658,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
21569
21658
  }[] | undefined;
21570
21659
  cancellationNoticeDays?: number | undefined;
21571
21660
  nonrenewalNoticeDays?: number | undefined;
21661
+ supplementaryFacts?: {
21662
+ key: string;
21663
+ value: string;
21664
+ subject?: string | undefined;
21665
+ context?: string | undefined;
21666
+ }[] | undefined;
21572
21667
  }, {
21573
21668
  type: "policy";
21574
21669
  effectiveDate: string;
@@ -22494,6 +22589,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
22494
22589
  }[] | undefined;
22495
22590
  cancellationNoticeDays?: number | undefined;
22496
22591
  nonrenewalNoticeDays?: number | undefined;
22592
+ supplementaryFacts?: {
22593
+ key: string;
22594
+ value: string;
22595
+ subject?: string | undefined;
22596
+ context?: string | undefined;
22597
+ }[] | undefined;
22497
22598
  }>, z.ZodObject<{
22498
22599
  type: z.ZodLiteral<"quote">;
22499
22600
  quoteNumber: z.ZodString;
@@ -26090,6 +26191,22 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
26090
26191
  }>>;
26091
26192
  cancellationNoticeDays: z.ZodOptional<z.ZodNumber>;
26092
26193
  nonrenewalNoticeDays: z.ZodOptional<z.ZodNumber>;
26194
+ supplementaryFacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
26195
+ key: z.ZodString;
26196
+ value: z.ZodString;
26197
+ subject: z.ZodOptional<z.ZodString>;
26198
+ context: z.ZodOptional<z.ZodString>;
26199
+ }, "strip", z.ZodTypeAny, {
26200
+ key: string;
26201
+ value: string;
26202
+ subject?: string | undefined;
26203
+ context?: string | undefined;
26204
+ }, {
26205
+ key: string;
26206
+ value: string;
26207
+ subject?: string | undefined;
26208
+ context?: string | undefined;
26209
+ }>, "many">>;
26093
26210
  }, "strip", z.ZodTypeAny, {
26094
26211
  type: "quote";
26095
26212
  coverages: {
@@ -27010,6 +27127,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
27010
27127
  }[] | undefined;
27011
27128
  cancellationNoticeDays?: number | undefined;
27012
27129
  nonrenewalNoticeDays?: number | undefined;
27130
+ supplementaryFacts?: {
27131
+ key: string;
27132
+ value: string;
27133
+ subject?: string | undefined;
27134
+ context?: string | undefined;
27135
+ }[] | undefined;
27013
27136
  proposedEffectiveDate?: string | undefined;
27014
27137
  proposedExpirationDate?: string | undefined;
27015
27138
  quoteExpirationDate?: string | undefined;
@@ -27964,6 +28087,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
27964
28087
  }[] | undefined;
27965
28088
  cancellationNoticeDays?: number | undefined;
27966
28089
  nonrenewalNoticeDays?: number | undefined;
28090
+ supplementaryFacts?: {
28091
+ key: string;
28092
+ value: string;
28093
+ subject?: string | undefined;
28094
+ context?: string | undefined;
28095
+ }[] | undefined;
27967
28096
  proposedEffectiveDate?: string | undefined;
27968
28097
  proposedExpirationDate?: string | undefined;
27969
28098
  quoteExpirationDate?: string | undefined;
@@ -30165,4 +30294,4 @@ interface DocumentTemplate {
30165
30294
  }
30166
30295
  declare function getTemplate(policyType: string): DocumentTemplate;
30167
30296
 
30168
- export { ADMITTED_STATUSES, AGENT_TOOLS, APPLICATION_CLASSIFY_PROMPT, AUDIT_TYPES, type AcroFormFieldInfo, type AcroFormMapping, AcroFormMappingSchema, type Address, AddressSchema, type AdmittedStatus, AdmittedStatusSchema, type AgentContext, type AnswerParsingResult, AnswerParsingResultSchema, type ApplicationClassifyResult, ApplicationClassifyResultSchema, ApplicationEmailReviewSchema, type ApplicationField, ApplicationFieldSchema, type ApplicationListFilters, type ApplicationPipelineConfig, ApplicationQualityArtifactSchema, ApplicationQualityIssueSchema, ApplicationQualityReportSchema, ApplicationQualityRoundSchema, type ApplicationState, ApplicationStateSchema, type ApplicationStore, type AttachmentInterpretation, AttachmentInterpretationSchema, type AuditType, AuditTypeSchema, type AutoFillMatch, AutoFillMatchSchema, type AutoFillResult, AutoFillResultSchema, BOAT_TYPES, type BackfillProvider, type BindingAuthority, BindingAuthoritySchema, type BoatType, BoatTypeSchema, CHUNK_TYPES, CLAIM_STATUSES, COI_GENERATION_TOOL, CONDITION_TYPES, CONSTRUCTION_TYPES, CONTEXT_KEY_MAP, COVERAGE_COMPARISON_TOOL, COVERAGE_FORMS, COVERAGE_TRIGGERS, type ChunkFilter, type ChunkType, ChunkTypeSchema, type Citation, CitationSchema, type ClaimRecord, ClaimRecordSchema, type ClaimStatus, ClaimStatusSchema, type ClassificationCode, ClassificationCodeSchema, type CommercialAutoDeclarations, CommercialAutoDeclarationsSchema, type CommercialPropertyDeclarations, CommercialPropertyDeclarationsSchema, type CommunicationIntent, CommunicationIntentSchema, ConditionKeyValueSchema, type ConditionType, ConditionTypeSchema, type ConstructionType, ConstructionTypeSchema, type Contact, ContactSchema, type ContextKeyMapping, type ConversationTurn, type ConvertPdfToImagesFn, type Coverage, type CoverageForm, CoverageFormSchema, CoverageSchema, type CoverageTrigger, CoverageTriggerSchema, type CoverageValueType, CoverageValueTypeSchema, type CrimeDeclarations, CrimeDeclarationsSchema, type CyberDeclarations, CyberDeclarationsSchema, DEDUCTIBLE_TYPES, DEFENSE_COST_TREATMENTS, DOCUMENT_LOOKUP_TOOL, DOCUMENT_TYPES, type DODeclarations, DODeclarationsSchema, DWELLING_FIRE_FORM_TYPES, type Declarations, DeclarationsSchema, type DeductibleSchedule, DeductibleScheduleSchema, type DeductibleType, DeductibleTypeSchema, type DefenseCostTreatment, DefenseCostTreatmentSchema, type DocumentChunk, type DocumentFilters, type DocumentStore, type DocumentTemplate, type DocumentType, DocumentTypeSchema, type DriverRecord, DriverRecordSchema, type DwellingDetails, DwellingDetailsSchema, type DwellingFireDeclarations, DwellingFireDeclarationsSchema, type DwellingFireFormType, DwellingFireFormTypeSchema, ENDORSEMENT_PARTY_ROLES, ENDORSEMENT_TYPES, ENTITY_TYPES, type EarthquakeDeclarations, EarthquakeDeclarationsSchema, type EmbedText, type EmployersLiabilityLimits, EmployersLiabilityLimitsSchema, type Endorsement, type EndorsementParty, type EndorsementPartyRole, EndorsementPartyRoleSchema, EndorsementPartySchema, EndorsementSchema, type EndorsementType, EndorsementTypeSchema, type EnrichedCoverage, EnrichedCoverageSchema, type EnrichedSubjectivity, EnrichedSubjectivitySchema, type EnrichedUnderwritingCondition, EnrichedUnderwritingConditionSchema, type EntityType, EntityTypeSchema, type EvidenceItem, EvidenceItemSchema, type Exclusion, ExclusionSchema, type ExperienceMod, ExperienceModSchema, type ExtendedReportingPeriod, ExtendedReportingPeriodSchema, type ExtractOptions, type ExtractionResult, type ExtractionState, type ExtractorConfig, type ExtractorDef, FLOOD_ZONES, FOUNDATION_TYPES, type FarmRanchDeclarations, FarmRanchDeclarationsSchema, type FieldExtractionResult, FieldExtractionResultSchema, type FieldMapping, type FieldType, FieldTypeSchema, type FlatPdfPlacement, FlatPdfPlacementSchema, type FloodDeclarations, FloodDeclarationsSchema, type FloodZone, FloodZoneSchema, type FormReference, FormReferenceSchema, type FoundationType, FoundationTypeSchema, type GLDeclarations, GLDeclarationsSchema, type GenerateObject, type GenerateText, HOMEOWNERS_FORM_TYPES, type HomeownersDeclarations, HomeownersDeclarationsSchema, type HomeownersFormType, HomeownersFormTypeSchema, type IdentityTheftDeclarations, IdentityTheftDeclarationsSchema, type InsuranceDocument, InsuranceDocumentSchema, type InsuredLocation, InsuredLocationSchema, type InsuredVehicle, InsuredVehicleSchema, type InsurerInfo, InsurerInfoSchema, LIMIT_TYPES, LOSS_SETTLEMENTS, type LimitSchedule, LimitScheduleSchema, type LimitType, LimitTypeSchema, type LocationPremium, LocationPremiumSchema, type LogFn, type LookupFill, type LookupFillResult, LookupFillResultSchema, LookupFillSchema, type LookupRequest, LookupRequestSchema, type LossSettlement, LossSettlementSchema, type LossSummary, LossSummarySchema, type MemoryStore, type NamedInsured, NamedInsuredSchema, PERSONAL_AUTO_USAGES, PET_SPECIES, PLATFORM_CONFIGS, POLICY_SECTION_TYPES, POLICY_TERM_TYPES, POLICY_TYPES, type ParsedAnswer, ParsedAnswerSchema, type PaymentInstallment, PaymentInstallmentSchema, type PaymentPlan, PaymentPlanSchema, type PersonalArticlesDeclarations, PersonalArticlesDeclarationsSchema, type PersonalAutoDeclarations, PersonalAutoDeclarationsSchema, type PersonalAutoUsage, PersonalAutoUsageSchema, type PersonalUmbrellaDeclarations, PersonalUmbrellaDeclarationsSchema, type PersonalVehicleDetails, PersonalVehicleDetailsSchema, type PetDeclarations, PetDeclarationsSchema, type PetSpecies, PetSpeciesSchema, type PipelineCheckpoint, type PipelineContext, type PipelineContextOptions, type Platform, type PlatformConfig, PlatformSchema, type PolicyCondition, PolicyConditionSchema, type PolicyDocument, PolicyDocumentSchema, type PolicySectionType, PolicySectionTypeSchema, type PolicyTermType, PolicyTermTypeSchema, type PolicyType, PolicyTypeSchema, type PremiumLine, PremiumLineSchema, type PriorAnswer, type ProcessApplicationInput, type ProcessApplicationResult, type ProcessReplyInput, type ProcessReplyResult, type ProducerInfo, ProducerInfoSchema, type ProfessionalLiabilityDeclarations, ProfessionalLiabilityDeclarationsSchema, QUOTE_SECTION_TYPES, type QueryAttachment, type QueryAttachmentKind, QueryAttachmentKindSchema, QueryAttachmentSchema, type QueryClassifyResult, QueryClassifyResultSchema, type QueryConfig, type QueryInput, type QueryIntent, QueryIntentSchema, type QueryOutput, type QueryResult, QueryResultSchema, type QuestionBatchResult, QuestionBatchResultSchema, type QuoteDocument, QuoteDocumentSchema, type QuoteSectionType, QuoteSectionTypeSchema, RATING_BASIS_TYPES, ROOF_TYPES, type RVType, RVTypeSchema, RV_TYPES, type RatingBasis, RatingBasisSchema, type RatingBasisType, RatingBasisTypeSchema, type RecreationalVehicleDeclarations, RecreationalVehicleDeclarationsSchema, type ReplyIntent, ReplyIntentSchema, type RetrievalResult, RetrievalResultSchema, type RoofType, RoofTypeSchema, SCHEDULED_ITEM_CATEGORIES, SUBJECTIVITY_CATEGORIES, type SafeGenerateOptions, type SafeGenerateParams, type ScheduledItemCategory, ScheduledItemCategorySchema, type Section, SectionSchema, type SharedLimit, SharedLimitSchema, type SubAnswer, SubAnswerSchema, type SubQuestion, SubQuestionSchema, type Subjectivity, type SubjectivityCategory, SubjectivityCategorySchema, SubjectivitySchema, type Sublimit, SublimitSchema, type Subsection, SubsectionSchema, TITLE_POLICY_TYPES, type TaxFeeItem, TaxFeeItemSchema, type TextOverlay, type TitleDeclarations, TitleDeclarationsSchema, type TitlePolicyType, TitlePolicyTypeSchema, type TokenUsage, type ToolDefinition, type TravelDeclarations, TravelDeclarationsSchema, type UmbrellaExcessDeclarations, UmbrellaExcessDeclarationsSchema, type UnderwritingCondition, UnderwritingConditionSchema, VALUATION_METHODS, VEHICLE_COVERAGE_TYPES, type ValuationMethod, ValuationMethodSchema, type VehicleCoverage, VehicleCoverageSchema, type VehicleCoverageType, VehicleCoverageTypeSchema, type VerifyResult, VerifyResultSchema, type WatercraftDeclarations, WatercraftDeclarationsSchema, type WorkersCompDeclarations, WorkersCompDeclarationsSchema, buildAcroFormMappingPrompt, buildAgentSystemPrompt, buildAnswerParsingPrompt, buildAutoFillPrompt, buildBatchEmailGenerationPrompt, buildClassifyMessagePrompt, buildCoiRoutingPrompt, buildConfirmationSummaryPrompt, buildConversationMemoryGuidance, buildCoverageGapPrompt, buildFieldExplanationPrompt, buildFieldExtractionPrompt, buildFlatPdfMappingPrompt, buildFormattingPrompt, buildIdentityPrompt, buildIntentPrompt, buildInterpretAttachmentPrompt, buildLookupFillPrompt, buildQueryClassifyPrompt, buildQuestionBatchPrompt, buildQuotesPoliciesPrompt, buildReasonPrompt, buildReplyIntentClassificationPrompt, buildRespondPrompt, buildSafetyPrompt, buildVerifyPrompt, chunkDocument, createApplicationPipeline, createExtractor, createPipelineContext, createQueryAgent, extractPageRange, fillAcroForm, getAcroFormFields, getExtractor, getPdfPageCount, getTemplate, overlayTextOnPdf, pLimit, safeGenerateObject, sanitizeNulls, stripFences, toStrictSchema, withRetry };
30297
+ export { ADMITTED_STATUSES, AGENT_TOOLS, APPLICATION_CLASSIFY_PROMPT, AUDIT_TYPES, type AcroFormFieldInfo, type AcroFormMapping, AcroFormMappingSchema, type Address, AddressSchema, type AdmittedStatus, AdmittedStatusSchema, type AgentContext, type AnswerParsingResult, AnswerParsingResultSchema, type ApplicationClassifyResult, ApplicationClassifyResultSchema, ApplicationEmailReviewSchema, type ApplicationField, ApplicationFieldSchema, type ApplicationListFilters, type ApplicationPipelineConfig, ApplicationQualityArtifactSchema, ApplicationQualityIssueSchema, ApplicationQualityReportSchema, ApplicationQualityRoundSchema, type ApplicationState, ApplicationStateSchema, type ApplicationStore, type AttachmentInterpretation, AttachmentInterpretationSchema, type AuditType, AuditTypeSchema, type AutoFillMatch, AutoFillMatchSchema, type AutoFillResult, AutoFillResultSchema, type AuxiliaryFact, AuxiliaryFactSchema, BOAT_TYPES, type BackfillProvider, type BindingAuthority, BindingAuthoritySchema, type BoatType, BoatTypeSchema, CHUNK_TYPES, CLAIM_STATUSES, COI_GENERATION_TOOL, CONDITION_TYPES, CONSTRUCTION_TYPES, CONTEXT_KEY_MAP, COVERAGE_COMPARISON_TOOL, COVERAGE_FORMS, COVERAGE_TRIGGERS, type ChunkFilter, type ChunkType, ChunkTypeSchema, type Citation, CitationSchema, type ClaimRecord, ClaimRecordSchema, type ClaimStatus, ClaimStatusSchema, type ClassificationCode, ClassificationCodeSchema, type CommercialAutoDeclarations, CommercialAutoDeclarationsSchema, type CommercialPropertyDeclarations, CommercialPropertyDeclarationsSchema, type CommunicationIntent, CommunicationIntentSchema, ConditionKeyValueSchema, type ConditionType, ConditionTypeSchema, type ConstructionType, ConstructionTypeSchema, type Contact, ContactSchema, type ContextKeyMapping, type ConversationTurn, type ConvertPdfToImagesFn, type Coverage, type CoverageForm, CoverageFormSchema, CoverageSchema, type CoverageTrigger, CoverageTriggerSchema, type CoverageValueType, CoverageValueTypeSchema, type CrimeDeclarations, CrimeDeclarationsSchema, type CyberDeclarations, CyberDeclarationsSchema, DEDUCTIBLE_TYPES, DEFENSE_COST_TREATMENTS, DOCUMENT_LOOKUP_TOOL, DOCUMENT_TYPES, type DODeclarations, DODeclarationsSchema, DWELLING_FIRE_FORM_TYPES, type Declarations, DeclarationsSchema, type DeductibleSchedule, DeductibleScheduleSchema, type DeductibleType, DeductibleTypeSchema, type DefenseCostTreatment, DefenseCostTreatmentSchema, type DocumentChunk, type DocumentFilters, type DocumentStore, type DocumentTemplate, type DocumentType, DocumentTypeSchema, type DriverRecord, DriverRecordSchema, type DwellingDetails, DwellingDetailsSchema, type DwellingFireDeclarations, DwellingFireDeclarationsSchema, type DwellingFireFormType, DwellingFireFormTypeSchema, ENDORSEMENT_PARTY_ROLES, ENDORSEMENT_TYPES, ENTITY_TYPES, type EarthquakeDeclarations, EarthquakeDeclarationsSchema, type EmbedText, type EmployersLiabilityLimits, EmployersLiabilityLimitsSchema, type Endorsement, type EndorsementParty, type EndorsementPartyRole, EndorsementPartyRoleSchema, EndorsementPartySchema, EndorsementSchema, type EndorsementType, EndorsementTypeSchema, type EnrichedCoverage, EnrichedCoverageSchema, type EnrichedSubjectivity, EnrichedSubjectivitySchema, type EnrichedUnderwritingCondition, EnrichedUnderwritingConditionSchema, type EntityType, EntityTypeSchema, type EvidenceItem, EvidenceItemSchema, type Exclusion, ExclusionSchema, type ExperienceMod, ExperienceModSchema, type ExtendedReportingPeriod, ExtendedReportingPeriodSchema, type ExtractOptions, type ExtractionResult, type ExtractionState, type ExtractorConfig, type ExtractorDef, FLOOD_ZONES, FOUNDATION_TYPES, type FarmRanchDeclarations, FarmRanchDeclarationsSchema, type FieldExtractionResult, FieldExtractionResultSchema, type FieldMapping, type FieldType, FieldTypeSchema, type FlatPdfPlacement, FlatPdfPlacementSchema, type FloodDeclarations, FloodDeclarationsSchema, type FloodZone, FloodZoneSchema, type FormReference, FormReferenceSchema, type FoundationType, FoundationTypeSchema, type GLDeclarations, GLDeclarationsSchema, type GenerateObject, type GenerateText, HOMEOWNERS_FORM_TYPES, type HomeownersDeclarations, HomeownersDeclarationsSchema, type HomeownersFormType, HomeownersFormTypeSchema, type IdentityTheftDeclarations, IdentityTheftDeclarationsSchema, type InsuranceDocument, InsuranceDocumentSchema, type InsuredLocation, InsuredLocationSchema, type InsuredVehicle, InsuredVehicleSchema, type InsurerInfo, InsurerInfoSchema, LIMIT_TYPES, LOSS_SETTLEMENTS, type LimitSchedule, LimitScheduleSchema, type LimitType, LimitTypeSchema, type LocationPremium, LocationPremiumSchema, type LogFn, type LookupFill, type LookupFillResult, LookupFillResultSchema, LookupFillSchema, type LookupRequest, LookupRequestSchema, type LossSettlement, LossSettlementSchema, type LossSummary, LossSummarySchema, type MemoryStore, type NamedInsured, NamedInsuredSchema, PERSONAL_AUTO_USAGES, PET_SPECIES, PLATFORM_CONFIGS, POLICY_SECTION_TYPES, POLICY_TERM_TYPES, POLICY_TYPES, type ParsedAnswer, ParsedAnswerSchema, type PaymentInstallment, PaymentInstallmentSchema, type PaymentPlan, PaymentPlanSchema, type PersonalArticlesDeclarations, PersonalArticlesDeclarationsSchema, type PersonalAutoDeclarations, PersonalAutoDeclarationsSchema, type PersonalAutoUsage, PersonalAutoUsageSchema, type PersonalUmbrellaDeclarations, PersonalUmbrellaDeclarationsSchema, type PersonalVehicleDetails, PersonalVehicleDetailsSchema, type PetDeclarations, PetDeclarationsSchema, type PetSpecies, PetSpeciesSchema, type PipelineCheckpoint, type PipelineContext, type PipelineContextOptions, type Platform, type PlatformConfig, PlatformSchema, type PolicyCondition, PolicyConditionSchema, type PolicyDocument, PolicyDocumentSchema, type PolicySectionType, PolicySectionTypeSchema, type PolicyTermType, PolicyTermTypeSchema, type PolicyType, PolicyTypeSchema, type PremiumLine, PremiumLineSchema, type PriorAnswer, type ProcessApplicationInput, type ProcessApplicationResult, type ProcessReplyInput, type ProcessReplyResult, type ProducerInfo, ProducerInfoSchema, type ProfessionalLiabilityDeclarations, ProfessionalLiabilityDeclarationsSchema, QUOTE_SECTION_TYPES, type QueryAttachment, type QueryAttachmentKind, QueryAttachmentKindSchema, QueryAttachmentSchema, type QueryClassifyResult, QueryClassifyResultSchema, type QueryConfig, type QueryInput, type QueryIntent, QueryIntentSchema, type QueryOutput, type QueryResult, QueryResultSchema, type QuestionBatchResult, QuestionBatchResultSchema, type QuoteDocument, QuoteDocumentSchema, type QuoteSectionType, QuoteSectionTypeSchema, RATING_BASIS_TYPES, ROOF_TYPES, type RVType, RVTypeSchema, RV_TYPES, type RatingBasis, RatingBasisSchema, type RatingBasisType, RatingBasisTypeSchema, type RecreationalVehicleDeclarations, RecreationalVehicleDeclarationsSchema, type ReplyIntent, ReplyIntentSchema, type RetrievalResult, RetrievalResultSchema, type RoofType, RoofTypeSchema, SCHEDULED_ITEM_CATEGORIES, SUBJECTIVITY_CATEGORIES, type SafeGenerateOptions, type SafeGenerateParams, type ScheduledItemCategory, ScheduledItemCategorySchema, type Section, SectionSchema, type SharedLimit, SharedLimitSchema, type SubAnswer, SubAnswerSchema, type SubQuestion, SubQuestionSchema, type Subjectivity, type SubjectivityCategory, SubjectivityCategorySchema, SubjectivitySchema, type Sublimit, SublimitSchema, type Subsection, SubsectionSchema, TITLE_POLICY_TYPES, type TaxFeeItem, TaxFeeItemSchema, type TextOverlay, type TitleDeclarations, TitleDeclarationsSchema, type TitlePolicyType, TitlePolicyTypeSchema, type TokenUsage, type ToolDefinition, type TravelDeclarations, TravelDeclarationsSchema, type UmbrellaExcessDeclarations, UmbrellaExcessDeclarationsSchema, type UnderwritingCondition, UnderwritingConditionSchema, VALUATION_METHODS, VEHICLE_COVERAGE_TYPES, type ValuationMethod, ValuationMethodSchema, type VehicleCoverage, VehicleCoverageSchema, type VehicleCoverageType, VehicleCoverageTypeSchema, type VerifyResult, VerifyResultSchema, type WatercraftDeclarations, WatercraftDeclarationsSchema, type WorkersCompDeclarations, WorkersCompDeclarationsSchema, buildAcroFormMappingPrompt, buildAgentSystemPrompt, buildAnswerParsingPrompt, buildAutoFillPrompt, buildBatchEmailGenerationPrompt, buildClassifyMessagePrompt, buildCoiRoutingPrompt, buildConfirmationSummaryPrompt, buildConversationMemoryGuidance, buildCoverageGapPrompt, buildFieldExplanationPrompt, buildFieldExtractionPrompt, buildFlatPdfMappingPrompt, buildFormattingPrompt, buildIdentityPrompt, buildIntentPrompt, buildInterpretAttachmentPrompt, buildLookupFillPrompt, buildQueryClassifyPrompt, buildQuestionBatchPrompt, buildQuotesPoliciesPrompt, buildReasonPrompt, buildReplyIntentClassificationPrompt, buildRespondPrompt, buildSafetyPrompt, buildVerifyPrompt, chunkDocument, createApplicationPipeline, createExtractor, createPipelineContext, createQueryAgent, extractPageRange, fillAcroForm, getAcroFormFields, getExtractor, getPdfPageCount, getTemplate, overlayTextOnPdf, pLimit, safeGenerateObject, sanitizeNulls, stripFences, toStrictSchema, withRetry };