@claritylabs/cl-sdk 1.2.1 → 1.3.2

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.
@@ -69,21 +69,31 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
69
69
  pageEnd: z.ZodOptional<z.ZodNumber>;
70
70
  type: z.ZodString;
71
71
  coverageType: z.ZodOptional<z.ZodString>;
72
- content: z.ZodString;
72
+ excerpt: z.ZodOptional<z.ZodString>;
73
+ content: z.ZodOptional<z.ZodString>;
73
74
  subsections: z.ZodOptional<z.ZodArray<z.ZodObject<{
74
75
  title: z.ZodString;
75
76
  sectionNumber: z.ZodOptional<z.ZodString>;
76
77
  pageNumber: z.ZodOptional<z.ZodNumber>;
77
- content: z.ZodString;
78
+ excerpt: z.ZodOptional<z.ZodString>;
79
+ content: z.ZodOptional<z.ZodString>;
80
+ sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
81
+ sourceTextHash: z.ZodOptional<z.ZodString>;
78
82
  }, "strip", z.ZodTypeAny, {
79
83
  title: string;
80
- content: string;
81
84
  pageNumber?: number | undefined;
85
+ sourceSpanIds?: string[] | undefined;
86
+ sourceTextHash?: string | undefined;
87
+ excerpt?: string | undefined;
88
+ content?: string | undefined;
82
89
  sectionNumber?: string | undefined;
83
90
  }, {
84
91
  title: string;
85
- content: string;
86
92
  pageNumber?: number | undefined;
93
+ sourceSpanIds?: string[] | undefined;
94
+ sourceTextHash?: string | undefined;
95
+ excerpt?: string | undefined;
96
+ content?: string | undefined;
87
97
  sectionNumber?: string | undefined;
88
98
  }>, "many">>;
89
99
  recordId: z.ZodOptional<z.ZodString>;
@@ -93,34 +103,42 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
93
103
  title: string;
94
104
  type: string;
95
105
  pageStart: number;
96
- content: string;
97
106
  pageEnd?: number | undefined;
98
107
  recordId?: string | undefined;
99
108
  sourceSpanIds?: string[] | undefined;
100
109
  sourceTextHash?: string | undefined;
110
+ excerpt?: string | undefined;
111
+ content?: string | undefined;
101
112
  sectionNumber?: string | undefined;
102
113
  coverageType?: string | undefined;
103
114
  subsections?: {
104
115
  title: string;
105
- content: string;
106
116
  pageNumber?: number | undefined;
117
+ sourceSpanIds?: string[] | undefined;
118
+ sourceTextHash?: string | undefined;
119
+ excerpt?: string | undefined;
120
+ content?: string | undefined;
107
121
  sectionNumber?: string | undefined;
108
122
  }[] | undefined;
109
123
  }, {
110
124
  title: string;
111
125
  type: string;
112
126
  pageStart: number;
113
- content: string;
114
127
  pageEnd?: number | undefined;
115
128
  recordId?: string | undefined;
116
129
  sourceSpanIds?: string[] | undefined;
117
130
  sourceTextHash?: string | undefined;
131
+ excerpt?: string | undefined;
132
+ content?: string | undefined;
118
133
  sectionNumber?: string | undefined;
119
134
  coverageType?: string | undefined;
120
135
  subsections?: {
121
136
  title: string;
122
- content: string;
123
137
  pageNumber?: number | undefined;
138
+ sourceSpanIds?: string[] | undefined;
139
+ sourceTextHash?: string | undefined;
140
+ excerpt?: string | undefined;
141
+ content?: string | undefined;
124
142
  sectionNumber?: string | undefined;
125
143
  }[] | undefined;
126
144
  }>, "many">>;
@@ -437,7 +455,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
437
455
  }>, "many">>;
438
456
  keyTerms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
439
457
  premiumImpact: z.ZodOptional<z.ZodString>;
440
- content: z.ZodString;
458
+ excerpt: z.ZodOptional<z.ZodString>;
459
+ content: z.ZodOptional<z.ZodString>;
441
460
  pageStart: z.ZodNumber;
442
461
  pageEnd: z.ZodOptional<z.ZodNumber>;
443
462
  recordId: z.ZodOptional<z.ZodString>;
@@ -448,7 +467,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
448
467
  formNumber: string;
449
468
  pageStart: number;
450
469
  endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
451
- content: string;
452
470
  editionDate?: string | undefined;
453
471
  pageEnd?: number | undefined;
454
472
  recordId?: string | undefined;
@@ -472,12 +490,13 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
472
490
  }[] | undefined;
473
491
  keyTerms?: string[] | undefined;
474
492
  premiumImpact?: string | undefined;
493
+ excerpt?: string | undefined;
494
+ content?: string | undefined;
475
495
  }, {
476
496
  title: string;
477
497
  formNumber: string;
478
498
  pageStart: number;
479
499
  endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
480
- content: string;
481
500
  editionDate?: string | undefined;
482
501
  pageEnd?: number | undefined;
483
502
  recordId?: string | undefined;
@@ -501,6 +520,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
501
520
  }[] | undefined;
502
521
  keyTerms?: string[] | undefined;
503
522
  premiumImpact?: string | undefined;
523
+ excerpt?: string | undefined;
524
+ content?: string | undefined;
504
525
  }>, "many">>;
505
526
  exclusions: z.ZodOptional<z.ZodArray<z.ZodObject<{
506
527
  name: z.ZodString;
@@ -4316,17 +4337,21 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4316
4337
  title: string;
4317
4338
  type: string;
4318
4339
  pageStart: number;
4319
- content: string;
4320
4340
  pageEnd?: number | undefined;
4321
4341
  recordId?: string | undefined;
4322
4342
  sourceSpanIds?: string[] | undefined;
4323
4343
  sourceTextHash?: string | undefined;
4344
+ excerpt?: string | undefined;
4345
+ content?: string | undefined;
4324
4346
  sectionNumber?: string | undefined;
4325
4347
  coverageType?: string | undefined;
4326
4348
  subsections?: {
4327
4349
  title: string;
4328
- content: string;
4329
4350
  pageNumber?: number | undefined;
4351
+ sourceSpanIds?: string[] | undefined;
4352
+ sourceTextHash?: string | undefined;
4353
+ excerpt?: string | undefined;
4354
+ content?: string | undefined;
4330
4355
  sectionNumber?: string | undefined;
4331
4356
  }[] | undefined;
4332
4357
  }[] | undefined;
@@ -4428,7 +4453,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4428
4453
  formNumber: string;
4429
4454
  pageStart: number;
4430
4455
  endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
4431
- content: string;
4432
4456
  editionDate?: string | undefined;
4433
4457
  pageEnd?: number | undefined;
4434
4458
  recordId?: string | undefined;
@@ -4452,6 +4476,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4452
4476
  }[] | undefined;
4453
4477
  keyTerms?: string[] | undefined;
4454
4478
  premiumImpact?: string | undefined;
4479
+ excerpt?: string | undefined;
4480
+ content?: string | undefined;
4455
4481
  }[] | undefined;
4456
4482
  exclusions?: {
4457
4483
  name: string;
@@ -5294,17 +5320,21 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
5294
5320
  title: string;
5295
5321
  type: string;
5296
5322
  pageStart: number;
5297
- content: string;
5298
5323
  pageEnd?: number | undefined;
5299
5324
  recordId?: string | undefined;
5300
5325
  sourceSpanIds?: string[] | undefined;
5301
5326
  sourceTextHash?: string | undefined;
5327
+ excerpt?: string | undefined;
5328
+ content?: string | undefined;
5302
5329
  sectionNumber?: string | undefined;
5303
5330
  coverageType?: string | undefined;
5304
5331
  subsections?: {
5305
5332
  title: string;
5306
- content: string;
5307
5333
  pageNumber?: number | undefined;
5334
+ sourceSpanIds?: string[] | undefined;
5335
+ sourceTextHash?: string | undefined;
5336
+ excerpt?: string | undefined;
5337
+ content?: string | undefined;
5308
5338
  sectionNumber?: string | undefined;
5309
5339
  }[] | undefined;
5310
5340
  }[] | undefined;
@@ -5406,7 +5436,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
5406
5436
  formNumber: string;
5407
5437
  pageStart: number;
5408
5438
  endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
5409
- content: string;
5410
5439
  editionDate?: string | undefined;
5411
5440
  pageEnd?: number | undefined;
5412
5441
  recordId?: string | undefined;
@@ -5430,6 +5459,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
5430
5459
  }[] | undefined;
5431
5460
  keyTerms?: string[] | undefined;
5432
5461
  premiumImpact?: string | undefined;
5462
+ excerpt?: string | undefined;
5463
+ content?: string | undefined;
5433
5464
  }[] | undefined;
5434
5465
  exclusions?: {
5435
5466
  name: string;
@@ -5774,21 +5805,31 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
5774
5805
  pageEnd: z.ZodOptional<z.ZodNumber>;
5775
5806
  type: z.ZodString;
5776
5807
  coverageType: z.ZodOptional<z.ZodString>;
5777
- content: z.ZodString;
5808
+ excerpt: z.ZodOptional<z.ZodString>;
5809
+ content: z.ZodOptional<z.ZodString>;
5778
5810
  subsections: z.ZodOptional<z.ZodArray<z.ZodObject<{
5779
5811
  title: z.ZodString;
5780
5812
  sectionNumber: z.ZodOptional<z.ZodString>;
5781
5813
  pageNumber: z.ZodOptional<z.ZodNumber>;
5782
- content: z.ZodString;
5814
+ excerpt: z.ZodOptional<z.ZodString>;
5815
+ content: z.ZodOptional<z.ZodString>;
5816
+ sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5817
+ sourceTextHash: z.ZodOptional<z.ZodString>;
5783
5818
  }, "strip", z.ZodTypeAny, {
5784
5819
  title: string;
5785
- content: string;
5786
5820
  pageNumber?: number | undefined;
5821
+ sourceSpanIds?: string[] | undefined;
5822
+ sourceTextHash?: string | undefined;
5823
+ excerpt?: string | undefined;
5824
+ content?: string | undefined;
5787
5825
  sectionNumber?: string | undefined;
5788
5826
  }, {
5789
5827
  title: string;
5790
- content: string;
5791
5828
  pageNumber?: number | undefined;
5829
+ sourceSpanIds?: string[] | undefined;
5830
+ sourceTextHash?: string | undefined;
5831
+ excerpt?: string | undefined;
5832
+ content?: string | undefined;
5792
5833
  sectionNumber?: string | undefined;
5793
5834
  }>, "many">>;
5794
5835
  recordId: z.ZodOptional<z.ZodString>;
@@ -5798,34 +5839,42 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
5798
5839
  title: string;
5799
5840
  type: string;
5800
5841
  pageStart: number;
5801
- content: string;
5802
5842
  pageEnd?: number | undefined;
5803
5843
  recordId?: string | undefined;
5804
5844
  sourceSpanIds?: string[] | undefined;
5805
5845
  sourceTextHash?: string | undefined;
5846
+ excerpt?: string | undefined;
5847
+ content?: string | undefined;
5806
5848
  sectionNumber?: string | undefined;
5807
5849
  coverageType?: string | undefined;
5808
5850
  subsections?: {
5809
5851
  title: string;
5810
- content: string;
5811
5852
  pageNumber?: number | undefined;
5853
+ sourceSpanIds?: string[] | undefined;
5854
+ sourceTextHash?: string | undefined;
5855
+ excerpt?: string | undefined;
5856
+ content?: string | undefined;
5812
5857
  sectionNumber?: string | undefined;
5813
5858
  }[] | undefined;
5814
5859
  }, {
5815
5860
  title: string;
5816
5861
  type: string;
5817
5862
  pageStart: number;
5818
- content: string;
5819
5863
  pageEnd?: number | undefined;
5820
5864
  recordId?: string | undefined;
5821
5865
  sourceSpanIds?: string[] | undefined;
5822
5866
  sourceTextHash?: string | undefined;
5867
+ excerpt?: string | undefined;
5868
+ content?: string | undefined;
5823
5869
  sectionNumber?: string | undefined;
5824
5870
  coverageType?: string | undefined;
5825
5871
  subsections?: {
5826
5872
  title: string;
5827
- content: string;
5828
5873
  pageNumber?: number | undefined;
5874
+ sourceSpanIds?: string[] | undefined;
5875
+ sourceTextHash?: string | undefined;
5876
+ excerpt?: string | undefined;
5877
+ content?: string | undefined;
5829
5878
  sectionNumber?: string | undefined;
5830
5879
  }[] | undefined;
5831
5880
  }>, "many">>;
@@ -6142,7 +6191,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
6142
6191
  }>, "many">>;
6143
6192
  keyTerms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6144
6193
  premiumImpact: z.ZodOptional<z.ZodString>;
6145
- content: z.ZodString;
6194
+ excerpt: z.ZodOptional<z.ZodString>;
6195
+ content: z.ZodOptional<z.ZodString>;
6146
6196
  pageStart: z.ZodNumber;
6147
6197
  pageEnd: z.ZodOptional<z.ZodNumber>;
6148
6198
  recordId: z.ZodOptional<z.ZodString>;
@@ -6153,7 +6203,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
6153
6203
  formNumber: string;
6154
6204
  pageStart: number;
6155
6205
  endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
6156
- content: string;
6157
6206
  editionDate?: string | undefined;
6158
6207
  pageEnd?: number | undefined;
6159
6208
  recordId?: string | undefined;
@@ -6177,12 +6226,13 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
6177
6226
  }[] | undefined;
6178
6227
  keyTerms?: string[] | undefined;
6179
6228
  premiumImpact?: string | undefined;
6229
+ excerpt?: string | undefined;
6230
+ content?: string | undefined;
6180
6231
  }, {
6181
6232
  title: string;
6182
6233
  formNumber: string;
6183
6234
  pageStart: number;
6184
6235
  endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
6185
- content: string;
6186
6236
  editionDate?: string | undefined;
6187
6237
  pageEnd?: number | undefined;
6188
6238
  recordId?: string | undefined;
@@ -6206,6 +6256,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
6206
6256
  }[] | undefined;
6207
6257
  keyTerms?: string[] | undefined;
6208
6258
  premiumImpact?: string | undefined;
6259
+ excerpt?: string | undefined;
6260
+ content?: string | undefined;
6209
6261
  }>, "many">>;
6210
6262
  exclusions: z.ZodOptional<z.ZodArray<z.ZodObject<{
6211
6263
  name: z.ZodString;
@@ -10016,17 +10068,21 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
10016
10068
  title: string;
10017
10069
  type: string;
10018
10070
  pageStart: number;
10019
- content: string;
10020
10071
  pageEnd?: number | undefined;
10021
10072
  recordId?: string | undefined;
10022
10073
  sourceSpanIds?: string[] | undefined;
10023
10074
  sourceTextHash?: string | undefined;
10075
+ excerpt?: string | undefined;
10076
+ content?: string | undefined;
10024
10077
  sectionNumber?: string | undefined;
10025
10078
  coverageType?: string | undefined;
10026
10079
  subsections?: {
10027
10080
  title: string;
10028
- content: string;
10029
10081
  pageNumber?: number | undefined;
10082
+ sourceSpanIds?: string[] | undefined;
10083
+ sourceTextHash?: string | undefined;
10084
+ excerpt?: string | undefined;
10085
+ content?: string | undefined;
10030
10086
  sectionNumber?: string | undefined;
10031
10087
  }[] | undefined;
10032
10088
  }[] | undefined;
@@ -10128,7 +10184,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
10128
10184
  formNumber: string;
10129
10185
  pageStart: number;
10130
10186
  endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
10131
- content: string;
10132
10187
  editionDate?: string | undefined;
10133
10188
  pageEnd?: number | undefined;
10134
10189
  recordId?: string | undefined;
@@ -10152,6 +10207,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
10152
10207
  }[] | undefined;
10153
10208
  keyTerms?: string[] | undefined;
10154
10209
  premiumImpact?: string | undefined;
10210
+ excerpt?: string | undefined;
10211
+ content?: string | undefined;
10155
10212
  }[] | undefined;
10156
10213
  exclusions?: {
10157
10214
  name: string;
@@ -11023,17 +11080,21 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
11023
11080
  title: string;
11024
11081
  type: string;
11025
11082
  pageStart: number;
11026
- content: string;
11027
11083
  pageEnd?: number | undefined;
11028
11084
  recordId?: string | undefined;
11029
11085
  sourceSpanIds?: string[] | undefined;
11030
11086
  sourceTextHash?: string | undefined;
11087
+ excerpt?: string | undefined;
11088
+ content?: string | undefined;
11031
11089
  sectionNumber?: string | undefined;
11032
11090
  coverageType?: string | undefined;
11033
11091
  subsections?: {
11034
11092
  title: string;
11035
- content: string;
11036
11093
  pageNumber?: number | undefined;
11094
+ sourceSpanIds?: string[] | undefined;
11095
+ sourceTextHash?: string | undefined;
11096
+ excerpt?: string | undefined;
11097
+ content?: string | undefined;
11037
11098
  sectionNumber?: string | undefined;
11038
11099
  }[] | undefined;
11039
11100
  }[] | undefined;
@@ -11135,7 +11196,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
11135
11196
  formNumber: string;
11136
11197
  pageStart: number;
11137
11198
  endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
11138
- content: string;
11139
11199
  editionDate?: string | undefined;
11140
11200
  pageEnd?: number | undefined;
11141
11201
  recordId?: string | undefined;
@@ -11159,6 +11219,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
11159
11219
  }[] | undefined;
11160
11220
  keyTerms?: string[] | undefined;
11161
11221
  premiumImpact?: string | undefined;
11222
+ excerpt?: string | undefined;
11223
+ content?: string | undefined;
11162
11224
  }[] | undefined;
11163
11225
  exclusions?: {
11164
11226
  name: string;