@claritylabs/cl-sdk 3.1.4 → 3.1.6

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
@@ -1,5 +1,5 @@
1
- import { L as LogFn, M as ModelTaskKind, a as ModelBudgetResolution, G as GenerateObject, T as TokenUsage, S as SourceSpanLocation, b as SourceSpan, D as DocumentSourceNode, c as SourceKind, d as SourceSpanUnit, e as SourceSpanTableLocation, f as SourceChunk, P as PolicyOperationalProfile, g as SourceSpanBBox, U as UnifiedQualityReport, B as BaseQualityIssue, Q as QualityGateStatus, I as InsuranceDocument, h as PdfInput, i as DocumentChunk, j as PerformanceReport, k as GenerateText, C as ConvertPdfToImagesFn, l as QualityGateMode, m as ModelCapabilities, n as ModelBudgetConstraint, A as AgentContext, o as DocumentStore, p as MemoryStore, q as Platform } from './index-BbDPEnG9.mjs';
2
- export { r as AcroFormMapping, s as AcroFormMappingSchema, t as AnswerParsingResult, u as AnswerParsingResultSchema, v as ApplicationClassifyResult, w as ApplicationClassifyResultSchema, x as ApplicationContextProposal, y as ApplicationContextProposalSchema, z as ApplicationEmailReviewSchema, E as ApplicationField, F as ApplicationFieldSchema, H as ApplicationListFilters, J as ApplicationNextQuestions, K as ApplicationPacket, N as ApplicationPacketAnswer, O as ApplicationPacketAnswerSchema, R as ApplicationPacketSchema, V as ApplicationPipelineConfig, W as ApplicationQualityArtifactSchema, X as ApplicationQualityIssueSchema, Y as ApplicationQualityReportSchema, Z as ApplicationQualityRoundSchema, _ as ApplicationQuestionCondition, $ as ApplicationQuestionConditionSchema, a0 as ApplicationQuestionGraph, a1 as ApplicationQuestionGraphSchema, a2 as ApplicationQuestionNode, a3 as ApplicationQuestionNodeSchema, a4 as ApplicationRepeat, a5 as ApplicationRepeatSchema, a6 as ApplicationState, a7 as ApplicationStateSchema, a8 as ApplicationStore, a9 as ApplicationTemplate, aa as ApplicationTemplateListFilters, ab as ApplicationTemplateSchema, ac as ApplicationTemplateStore, ad as AutoFillMatch, ae as AutoFillMatchSchema, af as AutoFillResult, ag as AutoFillResultSchema, ah as AuxiliaryFact, ai as AuxiliaryFactSchema, aj as BackfillProvider, ak as BuildApplicationPacketInput, al as BuildApplicationPacketResult, am as ChunkFilter, an as CommunicationIntent, ao as CommunicationIntentSchema, ap as ContextProposalResult, aq as ConversationTurn, ar as CoveredReason, as as CoveredReasonSchema, at as CreateApplicationRunInput, au as Definition, av as DefinitionSchema, aw as DocumentAgentGuidance, ax as DocumentAgentGuidanceSchema, ay as DocumentFilters, az as DocumentMetadata, aA as DocumentMetadataSchema, aB as DocumentNode, aC as DocumentNodeSchema, aD as DocumentPageMapEntry, aE as DocumentPageMapEntrySchema, aF as DocumentSourceNodeKind, aG as DocumentSourceNodeKindSchema, aH as DocumentSourceNodeSchema, aI as DocumentTableOfContentsEntry, aJ as DocumentTableOfContentsEntrySchema, aK as EmbedText, aL as FieldExtractionResult, aM as FieldExtractionResultSchema, aN as FieldType, aO as FieldTypeSchema, aP as FlatPdfPlacement, aQ as FlatPdfPlacementSchema, aR as InsuranceDocumentSchema, aS as LookupFill, aT as LookupFillResult, aU as LookupFillResultSchema, aV as LookupFillSchema, aW as LookupRequest, aX as LookupRequestSchema, aY as ModelCallReport, aZ as OperationalCoverageLine, a_ as OperationalCoverageLineSchema, a$ as OperationalCoverageTerm, b0 as OperationalCoverageTermSchema, b1 as OperationalEndorsementSupport, b2 as OperationalEndorsementSupportSchema, b3 as OperationalParty, b4 as OperationalPartySchema, b5 as PLATFORM_CONFIGS, b6 as ParsedAnswer, b7 as ParsedAnswerSchema, b8 as PlatformConfig, b9 as PlatformSchema, ba as PolicyDocument, bb as PolicyDocumentSchema, bc as PolicyOperationalProfileSchema, bd as PremiumLine, be as PremiumLineSchema, bf as PriorAnswer, bg as ProcessApplicationInput, bh as ProcessApplicationResult, bi as ProcessReplyInput, bj as ProcessReplyResult, bk as QuestionBatchResult, bl as QuestionBatchResultSchema, bm as QuoteDocument, bn as QuoteDocumentSchema, bo as ReplyIntent, bp as ReplyIntentSchema, bq as ResolveModelBudgetParams, br as Section, bs as SectionSchema, bt as SourceBackedValue, bu as SourceBackedValueSchema, bv as SourceChunkSchema, bw as SourceKindSchema, bx as SourceSpanBBoxSchema, by as SourceSpanKind, bz as SourceSpanKindSchema, bA as SourceSpanLocationSchema, bB as SourceSpanRef, bC as SourceSpanRefSchema, bD as SourceSpanSchema, bE as SourceSpanTableLocationSchema, bF as SourceSpanUnitSchema, bG as Subjectivity, bH as SubjectivitySchema, bI as Subsection, bJ as SubsectionSchema, bK as UnderwritingCondition, bL as UnderwritingConditionSchema, bM as applyApplicationAnswers, bN as buildApplicationPacket, bO as buildQuestionGraphFromFields, bP as createApplicationPipeline, bQ as createApplicationRun, bR as extractQuestionGraphFromFields, bS as flattenQuestionGraph, bT as getActiveApplicationFields, bU as getNextApplicationQuestions, bV as normalizeApplicationQuestionGraph, bW as planNextApplicationQuestions, bX as proposeContextWrites, bY as resolveModelBudget, bZ as validateApplicationPacket } from './index-BbDPEnG9.mjs';
1
+ import { L as LogFn, M as ModelTaskKind, a as ModelBudgetResolution, b as ModelCallTrace, G as GenerateObject, T as TokenUsage, S as SourceSpanLocation, c as SourceSpan, D as DocumentSourceNode, d as SourceKind, e as SourceSpanUnit, f as SourceSpanTableLocation, g as SourceChunk, P as PolicyOperationalProfile, h as SourceSpanBBox, U as UnifiedQualityReport, B as BaseQualityIssue, Q as QualityGateStatus, I as InsuranceDocument, i as PdfInput, j as DocumentChunk, k as PerformanceReport, l as GenerateText, C as ConvertPdfToImagesFn, m as QualityGateMode, n as ModelCapabilities, o as ModelBudgetConstraint, A as AgentContext, p as DocumentStore, q as MemoryStore, r as Platform } from './index-C-jIqJru.mjs';
2
+ export { s as AcroFormMapping, t as AcroFormMappingSchema, u as AnswerParsingResult, v as AnswerParsingResultSchema, w as ApplicationClassifyResult, x as ApplicationClassifyResultSchema, y as ApplicationContextProposal, z as ApplicationContextProposalSchema, E as ApplicationEmailReviewSchema, F as ApplicationField, H as ApplicationFieldSchema, J as ApplicationListFilters, K as ApplicationNextQuestions, N as ApplicationPacket, O as ApplicationPacketAnswer, R as ApplicationPacketAnswerSchema, V as ApplicationPacketSchema, W as ApplicationPipelineConfig, X as ApplicationQualityArtifactSchema, Y as ApplicationQualityIssueSchema, Z as ApplicationQualityReportSchema, _ as ApplicationQualityRoundSchema, $ as ApplicationQuestionCondition, a0 as ApplicationQuestionConditionSchema, a1 as ApplicationQuestionGraph, a2 as ApplicationQuestionGraphSchema, a3 as ApplicationQuestionNode, a4 as ApplicationQuestionNodeSchema, a5 as ApplicationRepeat, a6 as ApplicationRepeatSchema, a7 as ApplicationState, a8 as ApplicationStateSchema, a9 as ApplicationStore, aa as ApplicationTemplate, ab as ApplicationTemplateListFilters, ac as ApplicationTemplateSchema, ad as ApplicationTemplateStore, ae as AutoFillMatch, af as AutoFillMatchSchema, ag as AutoFillResult, ah as AutoFillResultSchema, ai as AuxiliaryFact, aj as AuxiliaryFactSchema, ak as BackfillProvider, al as BuildApplicationPacketInput, am as BuildApplicationPacketResult, an as ChunkFilter, ao as CommunicationIntent, ap as CommunicationIntentSchema, aq as ContextProposalResult, ar as ConversationTurn, as as CoveredReason, at as CoveredReasonSchema, au as CreateApplicationRunInput, av as Definition, aw as DefinitionSchema, ax as DocumentAgentGuidance, ay as DocumentAgentGuidanceSchema, az as DocumentFilters, aA as DocumentMetadata, aB as DocumentMetadataSchema, aC as DocumentNode, aD as DocumentNodeSchema, aE as DocumentPageMapEntry, aF as DocumentPageMapEntrySchema, aG as DocumentSourceNodeKind, aH as DocumentSourceNodeKindSchema, aI as DocumentSourceNodeSchema, aJ as DocumentTableOfContentsEntry, aK as DocumentTableOfContentsEntrySchema, aL as EmbedText, aM as FieldExtractionResult, aN as FieldExtractionResultSchema, aO as FieldType, aP as FieldTypeSchema, aQ as FlatPdfPlacement, aR as FlatPdfPlacementSchema, aS as InsuranceDocumentSchema, aT as LookupFill, aU as LookupFillResult, aV as LookupFillResultSchema, aW as LookupFillSchema, aX as LookupRequest, aY as LookupRequestSchema, aZ as ModelCallReport, a_ as OperationalCoverageLine, a$ as OperationalCoverageLineSchema, b0 as OperationalCoverageTerm, b1 as OperationalCoverageTermSchema, b2 as OperationalEndorsementSupport, b3 as OperationalEndorsementSupportSchema, b4 as OperationalParty, b5 as OperationalPartySchema, b6 as PLATFORM_CONFIGS, b7 as ParsedAnswer, b8 as ParsedAnswerSchema, b9 as PlatformConfig, ba as PlatformSchema, bb as PolicyDocument, bc as PolicyDocumentSchema, bd as PolicyOperationalProfileSchema, be as PremiumLine, bf as PremiumLineSchema, bg as PriorAnswer, bh as ProcessApplicationInput, bi as ProcessApplicationResult, bj as ProcessReplyInput, bk as ProcessReplyResult, bl as QuestionBatchResult, bm as QuestionBatchResultSchema, bn as QuoteDocument, bo as QuoteDocumentSchema, bp as ReplyIntent, bq as ReplyIntentSchema, br as ResolveModelBudgetParams, bs as Section, bt as SectionSchema, bu as SourceBackedValue, bv as SourceBackedValueSchema, bw as SourceChunkSchema, bx as SourceKindSchema, by as SourceSpanBBoxSchema, bz as SourceSpanKind, bA as SourceSpanKindSchema, bB as SourceSpanLocationSchema, bC as SourceSpanRef, bD as SourceSpanRefSchema, bE as SourceSpanSchema, bF as SourceSpanTableLocationSchema, bG as SourceSpanUnitSchema, bH as Subjectivity, bI as SubjectivitySchema, bJ as Subsection, bK as SubsectionSchema, bL as UnderwritingCondition, bM as UnderwritingConditionSchema, bN as applyApplicationAnswers, bO as buildApplicationPacket, bP as buildQuestionGraphFromFields, bQ as createApplicationPipeline, bR as createApplicationRun, bS as extractQuestionGraphFromFields, bT as flattenQuestionGraph, bU as getActiveApplicationFields, bV as getNextApplicationQuestions, bW as normalizeApplicationQuestionGraph, bX as planNextApplicationQuestions, bY as proposeContextWrites, bZ as resolveModelBudget, b_ as validateApplicationPacket } from './index-C-jIqJru.mjs';
3
3
  import * as zod from 'zod';
4
4
  import { ZodTypeAny, z, ZodSchema } from 'zod';
5
5
  import { PDFDocument } from 'pdf-lib';
@@ -38,6 +38,7 @@ interface SafeGenerateParams {
38
38
  maxTokens: number;
39
39
  taskKind?: ModelTaskKind;
40
40
  budgetDiagnostics?: ModelBudgetResolution;
41
+ trace?: ModelCallTrace;
41
42
  providerOptions?: Record<string, unknown>;
42
43
  }
43
44
  /**
@@ -425,20 +426,20 @@ declare const TaxFeeItemSchema: z.ZodObject<{
425
426
  name: string;
426
427
  amount: string;
427
428
  type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
429
+ description?: string | undefined;
428
430
  sourceSpanIds?: string[] | undefined;
429
431
  documentNodeId?: string | undefined;
430
432
  sourceTextHash?: string | undefined;
431
433
  amountValue?: number | undefined;
432
- description?: string | undefined;
433
434
  }, {
434
435
  name: string;
435
436
  amount: string;
436
437
  type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
438
+ description?: string | undefined;
437
439
  sourceSpanIds?: string[] | undefined;
438
440
  documentNodeId?: string | undefined;
439
441
  sourceTextHash?: string | undefined;
440
442
  amountValue?: number | undefined;
441
- description?: string | undefined;
442
443
  }>;
443
444
  type TaxFeeItem = z.infer<typeof TaxFeeItemSchema>;
444
445
  declare const RatingBasisSchema: z.ZodObject<{
@@ -447,12 +448,12 @@ declare const RatingBasisSchema: z.ZodObject<{
447
448
  description: z.ZodOptional<z.ZodString>;
448
449
  }, "strip", z.ZodTypeAny, {
449
450
  type: "other" | "payroll" | "revenue" | "area" | "units" | "vehicle_count" | "employee_count" | "per_capita" | "dwelling_value" | "vehicle_value" | "contents_value";
450
- amount?: string | undefined;
451
451
  description?: string | undefined;
452
+ amount?: string | undefined;
452
453
  }, {
453
454
  type: "other" | "payroll" | "revenue" | "area" | "units" | "vehicle_count" | "employee_count" | "per_capita" | "dwelling_value" | "vehicle_value" | "contents_value";
454
- amount?: string | undefined;
455
455
  description?: string | undefined;
456
+ amount?: string | undefined;
456
457
  }>;
457
458
  type RatingBasis = z.infer<typeof RatingBasisSchema>;
458
459
  declare const SublimitSchema: z.ZodObject<{
@@ -1687,16 +1688,16 @@ declare const ClassificationCodeSchema: z.ZodObject<{
1687
1688
  premium: z.ZodOptional<z.ZodString>;
1688
1689
  locationNumber: z.ZodOptional<z.ZodNumber>;
1689
1690
  }, "strip", z.ZodTypeAny, {
1690
- code: string;
1691
1691
  description: string;
1692
+ code: string;
1692
1693
  premiumBasis: string;
1693
1694
  premium?: string | undefined;
1694
1695
  locationNumber?: number | undefined;
1695
1696
  basisAmount?: string | undefined;
1696
1697
  rate?: string | undefined;
1697
1698
  }, {
1698
- code: string;
1699
1699
  description: string;
1700
+ code: string;
1700
1701
  premiumBasis: string;
1701
1702
  premium?: string | undefined;
1702
1703
  locationNumber?: number | undefined;
@@ -1786,12 +1787,12 @@ declare const DriverRecordSchema: z.ZodObject<{
1786
1787
  description: z.ZodOptional<z.ZodString>;
1787
1788
  }, "strip", z.ZodTypeAny, {
1788
1789
  type?: string | undefined;
1789
- date?: string | undefined;
1790
1790
  description?: string | undefined;
1791
+ date?: string | undefined;
1791
1792
  }, {
1792
1793
  type?: string | undefined;
1793
- date?: string | undefined;
1794
1794
  description?: string | undefined;
1795
+ date?: string | undefined;
1795
1796
  }>, "many">>;
1796
1797
  accidents: z.ZodOptional<z.ZodArray<z.ZodObject<{
1797
1798
  date: z.ZodOptional<z.ZodString>;
@@ -1799,13 +1800,13 @@ declare const DriverRecordSchema: z.ZodObject<{
1799
1800
  description: z.ZodOptional<z.ZodString>;
1800
1801
  amountPaid: z.ZodOptional<z.ZodString>;
1801
1802
  }, "strip", z.ZodTypeAny, {
1802
- date?: string | undefined;
1803
1803
  description?: string | undefined;
1804
+ date?: string | undefined;
1804
1805
  atFault?: boolean | undefined;
1805
1806
  amountPaid?: string | undefined;
1806
1807
  }, {
1807
- date?: string | undefined;
1808
1808
  description?: string | undefined;
1809
+ date?: string | undefined;
1809
1810
  atFault?: boolean | undefined;
1810
1811
  amountPaid?: string | undefined;
1811
1812
  }>, "many">>;
@@ -1823,12 +1824,12 @@ declare const DriverRecordSchema: z.ZodObject<{
1823
1824
  defensiveDriverDiscount?: boolean | undefined;
1824
1825
  violations?: {
1825
1826
  type?: string | undefined;
1826
- date?: string | undefined;
1827
1827
  description?: string | undefined;
1828
+ date?: string | undefined;
1828
1829
  }[] | undefined;
1829
1830
  accidents?: {
1830
- date?: string | undefined;
1831
1831
  description?: string | undefined;
1832
+ date?: string | undefined;
1832
1833
  atFault?: boolean | undefined;
1833
1834
  amountPaid?: string | undefined;
1834
1835
  }[] | undefined;
@@ -1846,12 +1847,12 @@ declare const DriverRecordSchema: z.ZodObject<{
1846
1847
  defensiveDriverDiscount?: boolean | undefined;
1847
1848
  violations?: {
1848
1849
  type?: string | undefined;
1849
- date?: string | undefined;
1850
1850
  description?: string | undefined;
1851
+ date?: string | undefined;
1851
1852
  }[] | undefined;
1852
1853
  accidents?: {
1853
- date?: string | undefined;
1854
1854
  description?: string | undefined;
1855
+ date?: string | undefined;
1855
1856
  atFault?: boolean | undefined;
1856
1857
  amountPaid?: string | undefined;
1857
1858
  }[] | undefined;
@@ -2628,12 +2629,12 @@ declare const PersonalAutoDeclarationsSchema: z.ZodObject<{
2628
2629
  description: z.ZodOptional<z.ZodString>;
2629
2630
  }, "strip", z.ZodTypeAny, {
2630
2631
  type?: string | undefined;
2631
- date?: string | undefined;
2632
2632
  description?: string | undefined;
2633
+ date?: string | undefined;
2633
2634
  }, {
2634
2635
  type?: string | undefined;
2635
- date?: string | undefined;
2636
2636
  description?: string | undefined;
2637
+ date?: string | undefined;
2637
2638
  }>, "many">>;
2638
2639
  accidents: z.ZodOptional<z.ZodArray<z.ZodObject<{
2639
2640
  date: z.ZodOptional<z.ZodString>;
@@ -2641,13 +2642,13 @@ declare const PersonalAutoDeclarationsSchema: z.ZodObject<{
2641
2642
  description: z.ZodOptional<z.ZodString>;
2642
2643
  amountPaid: z.ZodOptional<z.ZodString>;
2643
2644
  }, "strip", z.ZodTypeAny, {
2644
- date?: string | undefined;
2645
2645
  description?: string | undefined;
2646
+ date?: string | undefined;
2646
2647
  atFault?: boolean | undefined;
2647
2648
  amountPaid?: string | undefined;
2648
2649
  }, {
2649
- date?: string | undefined;
2650
2650
  description?: string | undefined;
2651
+ date?: string | undefined;
2651
2652
  atFault?: boolean | undefined;
2652
2653
  amountPaid?: string | undefined;
2653
2654
  }>, "many">>;
@@ -2665,12 +2666,12 @@ declare const PersonalAutoDeclarationsSchema: z.ZodObject<{
2665
2666
  defensiveDriverDiscount?: boolean | undefined;
2666
2667
  violations?: {
2667
2668
  type?: string | undefined;
2668
- date?: string | undefined;
2669
2669
  description?: string | undefined;
2670
+ date?: string | undefined;
2670
2671
  }[] | undefined;
2671
2672
  accidents?: {
2672
- date?: string | undefined;
2673
2673
  description?: string | undefined;
2674
+ date?: string | undefined;
2674
2675
  atFault?: boolean | undefined;
2675
2676
  amountPaid?: string | undefined;
2676
2677
  }[] | undefined;
@@ -2688,12 +2689,12 @@ declare const PersonalAutoDeclarationsSchema: z.ZodObject<{
2688
2689
  defensiveDriverDiscount?: boolean | undefined;
2689
2690
  violations?: {
2690
2691
  type?: string | undefined;
2691
- date?: string | undefined;
2692
2692
  description?: string | undefined;
2693
+ date?: string | undefined;
2693
2694
  }[] | undefined;
2694
2695
  accidents?: {
2695
- date?: string | undefined;
2696
2696
  description?: string | undefined;
2697
+ date?: string | undefined;
2697
2698
  atFault?: boolean | undefined;
2698
2699
  amountPaid?: string | undefined;
2699
2700
  }[] | undefined;
@@ -2795,12 +2796,12 @@ declare const PersonalAutoDeclarationsSchema: z.ZodObject<{
2795
2796
  defensiveDriverDiscount?: boolean | undefined;
2796
2797
  violations?: {
2797
2798
  type?: string | undefined;
2798
- date?: string | undefined;
2799
2799
  description?: string | undefined;
2800
+ date?: string | undefined;
2800
2801
  }[] | undefined;
2801
2802
  accidents?: {
2802
- date?: string | undefined;
2803
2803
  description?: string | undefined;
2804
+ date?: string | undefined;
2804
2805
  atFault?: boolean | undefined;
2805
2806
  amountPaid?: string | undefined;
2806
2807
  }[] | undefined;
@@ -2880,12 +2881,12 @@ declare const PersonalAutoDeclarationsSchema: z.ZodObject<{
2880
2881
  defensiveDriverDiscount?: boolean | undefined;
2881
2882
  violations?: {
2882
2883
  type?: string | undefined;
2883
- date?: string | undefined;
2884
2884
  description?: string | undefined;
2885
+ date?: string | undefined;
2885
2886
  }[] | undefined;
2886
2887
  accidents?: {
2887
- date?: string | undefined;
2888
2888
  description?: string | undefined;
2889
+ date?: string | undefined;
2889
2890
  atFault?: boolean | undefined;
2890
2891
  amountPaid?: string | undefined;
2891
2892
  }[] | undefined;
@@ -3709,16 +3710,16 @@ declare const GLDeclarationsSchema: z.ZodObject<{
3709
3710
  premium: z.ZodOptional<z.ZodString>;
3710
3711
  locationNumber: z.ZodOptional<z.ZodNumber>;
3711
3712
  }, "strip", z.ZodTypeAny, {
3712
- code: string;
3713
3713
  description: string;
3714
+ code: string;
3714
3715
  premiumBasis: string;
3715
3716
  premium?: string | undefined;
3716
3717
  locationNumber?: number | undefined;
3717
3718
  basisAmount?: string | undefined;
3718
3719
  rate?: string | undefined;
3719
3720
  }, {
3720
- code: string;
3721
3721
  description: string;
3722
+ code: string;
3722
3723
  premiumBasis: string;
3723
3724
  premium?: string | undefined;
3724
3725
  locationNumber?: number | undefined;
@@ -3739,8 +3740,8 @@ declare const GLDeclarationsSchema: z.ZodObject<{
3739
3740
  perOccurrenceLimit?: string | undefined;
3740
3741
  coverageForm?: "occurrence" | "claims_made" | "accident" | undefined;
3741
3742
  classifications?: {
3742
- code: string;
3743
3743
  description: string;
3744
+ code: string;
3744
3745
  premiumBasis: string;
3745
3746
  premium?: string | undefined;
3746
3747
  locationNumber?: number | undefined;
@@ -3760,8 +3761,8 @@ declare const GLDeclarationsSchema: z.ZodObject<{
3760
3761
  perOccurrenceLimit?: string | undefined;
3761
3762
  coverageForm?: "occurrence" | "claims_made" | "accident" | undefined;
3762
3763
  classifications?: {
3763
- code: string;
3764
3764
  description: string;
3765
+ code: string;
3765
3766
  premiumBasis: string;
3766
3767
  premium?: string | undefined;
3767
3768
  locationNumber?: number | undefined;
@@ -4054,16 +4055,16 @@ declare const WorkersCompDeclarationsSchema: z.ZodObject<{
4054
4055
  premium: z.ZodOptional<z.ZodString>;
4055
4056
  locationNumber: z.ZodOptional<z.ZodNumber>;
4056
4057
  }, "strip", z.ZodTypeAny, {
4057
- code: string;
4058
4058
  description: string;
4059
+ code: string;
4059
4060
  premiumBasis: string;
4060
4061
  premium?: string | undefined;
4061
4062
  locationNumber?: number | undefined;
4062
4063
  basisAmount?: string | undefined;
4063
4064
  rate?: string | undefined;
4064
4065
  }, {
4065
- code: string;
4066
4066
  description: string;
4067
+ code: string;
4067
4068
  premiumBasis: string;
4068
4069
  premium?: string | undefined;
4069
4070
  locationNumber?: number | undefined;
@@ -4099,8 +4100,8 @@ declare const WorkersCompDeclarationsSchema: z.ZodObject<{
4099
4100
  }, "strip", z.ZodTypeAny, {
4100
4101
  line: "workers_comp";
4101
4102
  classifications: {
4102
- code: string;
4103
4103
  description: string;
4104
+ code: string;
4104
4105
  premiumBasis: string;
4105
4106
  premium?: string | undefined;
4106
4107
  locationNumber?: number | undefined;
@@ -4121,8 +4122,8 @@ declare const WorkersCompDeclarationsSchema: z.ZodObject<{
4121
4122
  }, {
4122
4123
  line: "workers_comp";
4123
4124
  classifications: {
4124
- code: string;
4125
4125
  description: string;
4126
+ code: string;
4126
4127
  premiumBasis: string;
4127
4128
  premium?: string | undefined;
4128
4129
  locationNumber?: number | undefined;
@@ -4908,12 +4909,12 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4908
4909
  description: z.ZodOptional<z.ZodString>;
4909
4910
  }, "strip", z.ZodTypeAny, {
4910
4911
  type?: string | undefined;
4911
- date?: string | undefined;
4912
4912
  description?: string | undefined;
4913
+ date?: string | undefined;
4913
4914
  }, {
4914
4915
  type?: string | undefined;
4915
- date?: string | undefined;
4916
4916
  description?: string | undefined;
4917
+ date?: string | undefined;
4917
4918
  }>, "many">>;
4918
4919
  accidents: z.ZodOptional<z.ZodArray<z.ZodObject<{
4919
4920
  date: z.ZodOptional<z.ZodString>;
@@ -4921,13 +4922,13 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4921
4922
  description: z.ZodOptional<z.ZodString>;
4922
4923
  amountPaid: z.ZodOptional<z.ZodString>;
4923
4924
  }, "strip", z.ZodTypeAny, {
4924
- date?: string | undefined;
4925
4925
  description?: string | undefined;
4926
+ date?: string | undefined;
4926
4927
  atFault?: boolean | undefined;
4927
4928
  amountPaid?: string | undefined;
4928
4929
  }, {
4929
- date?: string | undefined;
4930
4930
  description?: string | undefined;
4931
+ date?: string | undefined;
4931
4932
  atFault?: boolean | undefined;
4932
4933
  amountPaid?: string | undefined;
4933
4934
  }>, "many">>;
@@ -4945,12 +4946,12 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4945
4946
  defensiveDriverDiscount?: boolean | undefined;
4946
4947
  violations?: {
4947
4948
  type?: string | undefined;
4948
- date?: string | undefined;
4949
4949
  description?: string | undefined;
4950
+ date?: string | undefined;
4950
4951
  }[] | undefined;
4951
4952
  accidents?: {
4952
- date?: string | undefined;
4953
4953
  description?: string | undefined;
4954
+ date?: string | undefined;
4954
4955
  atFault?: boolean | undefined;
4955
4956
  amountPaid?: string | undefined;
4956
4957
  }[] | undefined;
@@ -4968,12 +4969,12 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
4968
4969
  defensiveDriverDiscount?: boolean | undefined;
4969
4970
  violations?: {
4970
4971
  type?: string | undefined;
4971
- date?: string | undefined;
4972
4972
  description?: string | undefined;
4973
+ date?: string | undefined;
4973
4974
  }[] | undefined;
4974
4975
  accidents?: {
4975
- date?: string | undefined;
4976
4976
  description?: string | undefined;
4977
+ date?: string | undefined;
4977
4978
  atFault?: boolean | undefined;
4978
4979
  amountPaid?: string | undefined;
4979
4980
  }[] | undefined;
@@ -5075,12 +5076,12 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
5075
5076
  defensiveDriverDiscount?: boolean | undefined;
5076
5077
  violations?: {
5077
5078
  type?: string | undefined;
5078
- date?: string | undefined;
5079
5079
  description?: string | undefined;
5080
+ date?: string | undefined;
5080
5081
  }[] | undefined;
5081
5082
  accidents?: {
5082
- date?: string | undefined;
5083
5083
  description?: string | undefined;
5084
+ date?: string | undefined;
5084
5085
  atFault?: boolean | undefined;
5085
5086
  amountPaid?: string | undefined;
5086
5087
  }[] | undefined;
@@ -5160,12 +5161,12 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
5160
5161
  defensiveDriverDiscount?: boolean | undefined;
5161
5162
  violations?: {
5162
5163
  type?: string | undefined;
5163
- date?: string | undefined;
5164
5164
  description?: string | undefined;
5165
+ date?: string | undefined;
5165
5166
  }[] | undefined;
5166
5167
  accidents?: {
5167
- date?: string | undefined;
5168
5168
  description?: string | undefined;
5169
+ date?: string | undefined;
5169
5170
  atFault?: boolean | undefined;
5170
5171
  amountPaid?: string | undefined;
5171
5172
  }[] | undefined;
@@ -5962,16 +5963,16 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
5962
5963
  premium: z.ZodOptional<z.ZodString>;
5963
5964
  locationNumber: z.ZodOptional<z.ZodNumber>;
5964
5965
  }, "strip", z.ZodTypeAny, {
5965
- code: string;
5966
5966
  description: string;
5967
+ code: string;
5967
5968
  premiumBasis: string;
5968
5969
  premium?: string | undefined;
5969
5970
  locationNumber?: number | undefined;
5970
5971
  basisAmount?: string | undefined;
5971
5972
  rate?: string | undefined;
5972
5973
  }, {
5973
- code: string;
5974
5974
  description: string;
5975
+ code: string;
5975
5976
  premiumBasis: string;
5976
5977
  premium?: string | undefined;
5977
5978
  locationNumber?: number | undefined;
@@ -5992,8 +5993,8 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
5992
5993
  perOccurrenceLimit?: string | undefined;
5993
5994
  coverageForm?: "occurrence" | "claims_made" | "accident" | undefined;
5994
5995
  classifications?: {
5995
- code: string;
5996
5996
  description: string;
5997
+ code: string;
5997
5998
  premiumBasis: string;
5998
5999
  premium?: string | undefined;
5999
6000
  locationNumber?: number | undefined;
@@ -6013,8 +6014,8 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
6013
6014
  perOccurrenceLimit?: string | undefined;
6014
6015
  coverageForm?: "occurrence" | "claims_made" | "accident" | undefined;
6015
6016
  classifications?: {
6016
- code: string;
6017
6017
  description: string;
6018
+ code: string;
6018
6019
  premiumBasis: string;
6019
6020
  premium?: string | undefined;
6020
6021
  locationNumber?: number | undefined;
@@ -6301,16 +6302,16 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
6301
6302
  premium: z.ZodOptional<z.ZodString>;
6302
6303
  locationNumber: z.ZodOptional<z.ZodNumber>;
6303
6304
  }, "strip", z.ZodTypeAny, {
6304
- code: string;
6305
6305
  description: string;
6306
+ code: string;
6306
6307
  premiumBasis: string;
6307
6308
  premium?: string | undefined;
6308
6309
  locationNumber?: number | undefined;
6309
6310
  basisAmount?: string | undefined;
6310
6311
  rate?: string | undefined;
6311
6312
  }, {
6312
- code: string;
6313
6313
  description: string;
6314
+ code: string;
6314
6315
  premiumBasis: string;
6315
6316
  premium?: string | undefined;
6316
6317
  locationNumber?: number | undefined;
@@ -6346,8 +6347,8 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
6346
6347
  }, "strip", z.ZodTypeAny, {
6347
6348
  line: "workers_comp";
6348
6349
  classifications: {
6349
- code: string;
6350
6350
  description: string;
6351
+ code: string;
6351
6352
  premiumBasis: string;
6352
6353
  premium?: string | undefined;
6353
6354
  locationNumber?: number | undefined;
@@ -6368,8 +6369,8 @@ declare const DeclarationsSchema: z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
6368
6369
  }, {
6369
6370
  line: "workers_comp";
6370
6371
  classifications: {
6371
- code: string;
6372
6372
  description: string;
6373
+ code: string;
6373
6374
  premiumBasis: string;
6374
6375
  premium?: string | undefined;
6375
6376
  locationNumber?: number | undefined;
@@ -9012,16 +9013,16 @@ declare const QueryAttachmentSchema: z.ZodObject<{
9012
9013
  description: z.ZodOptional<z.ZodString>;
9013
9014
  }, "strip", z.ZodTypeAny, {
9014
9015
  kind: "text" | "pdf" | "image";
9015
- name?: string | undefined;
9016
9016
  description?: string | undefined;
9017
+ name?: string | undefined;
9017
9018
  id?: string | undefined;
9018
9019
  text?: string | undefined;
9019
9020
  base64?: string | undefined;
9020
9021
  mimeType?: string | undefined;
9021
9022
  }, {
9022
9023
  kind: "text" | "pdf" | "image";
9023
- name?: string | undefined;
9024
9024
  description?: string | undefined;
9025
+ name?: string | undefined;
9025
9026
  id?: string | undefined;
9026
9027
  text?: string | undefined;
9027
9028
  base64?: string | undefined;