@claritylabs/cl-sdk 0.9.0 → 0.10.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/README.md +18 -636
- package/dist/index.d.mts +841 -65
- package/dist/index.d.ts +841 -65
- package/dist/index.js +1175 -335
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1169 -335
- package/dist/index.mjs.map +1 -1
- package/dist/storage-sqlite.d.mts +114 -24
- package/dist/storage-sqlite.d.ts +114 -24
- package/package.json +1 -1
package/dist/storage-sqlite.d.ts
CHANGED
|
@@ -21,21 +21,33 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
21
21
|
coverages: z.ZodArray<z.ZodObject<{
|
|
22
22
|
name: z.ZodString;
|
|
23
23
|
limit: z.ZodString;
|
|
24
|
+
limitValueType: z.ZodOptional<z.ZodEnum<["numeric", "included", "not_included", "as_stated", "waiting_period", "referential", "other"]>>;
|
|
24
25
|
deductible: z.ZodOptional<z.ZodString>;
|
|
26
|
+
deductibleValueType: z.ZodOptional<z.ZodEnum<["numeric", "included", "not_included", "as_stated", "waiting_period", "referential", "other"]>>;
|
|
27
|
+
formNumber: z.ZodOptional<z.ZodString>;
|
|
25
28
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
26
29
|
sectionRef: z.ZodOptional<z.ZodString>;
|
|
30
|
+
originalContent: z.ZodOptional<z.ZodString>;
|
|
27
31
|
}, "strip", z.ZodTypeAny, {
|
|
28
32
|
name: string;
|
|
29
33
|
limit: string;
|
|
34
|
+
formNumber?: string | undefined;
|
|
30
35
|
deductible?: string | undefined;
|
|
36
|
+
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
37
|
+
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
31
38
|
pageNumber?: number | undefined;
|
|
32
39
|
sectionRef?: string | undefined;
|
|
40
|
+
originalContent?: string | undefined;
|
|
33
41
|
}, {
|
|
34
42
|
name: string;
|
|
35
43
|
limit: string;
|
|
44
|
+
formNumber?: string | undefined;
|
|
36
45
|
deductible?: string | undefined;
|
|
46
|
+
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
47
|
+
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
37
48
|
pageNumber?: number | undefined;
|
|
38
49
|
sectionRef?: string | undefined;
|
|
50
|
+
originalContent?: string | undefined;
|
|
39
51
|
}>, "many">;
|
|
40
52
|
sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
41
53
|
title: z.ZodString;
|
|
@@ -64,8 +76,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
64
76
|
}, "strip", z.ZodTypeAny, {
|
|
65
77
|
title: string;
|
|
66
78
|
type: string;
|
|
67
|
-
content: string;
|
|
68
79
|
pageStart: number;
|
|
80
|
+
content: string;
|
|
69
81
|
pageEnd?: number | undefined;
|
|
70
82
|
sectionNumber?: string | undefined;
|
|
71
83
|
coverageType?: string | undefined;
|
|
@@ -78,8 +90,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
78
90
|
}, {
|
|
79
91
|
title: string;
|
|
80
92
|
type: string;
|
|
81
|
-
content: string;
|
|
82
93
|
pageStart: number;
|
|
94
|
+
content: string;
|
|
83
95
|
pageEnd?: number | undefined;
|
|
84
96
|
sectionNumber?: string | undefined;
|
|
85
97
|
coverageType?: string | undefined;
|
|
@@ -185,8 +197,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
185
197
|
formEditionDate: z.ZodOptional<z.ZodString>;
|
|
186
198
|
limit: z.ZodString;
|
|
187
199
|
limitType: z.ZodOptional<z.ZodEnum<["per_occurrence", "per_claim", "aggregate", "per_person", "per_accident", "statutory", "blanket", "scheduled"]>>;
|
|
200
|
+
limitValueType: z.ZodOptional<z.ZodEnum<["numeric", "included", "not_included", "as_stated", "waiting_period", "referential", "other"]>>;
|
|
188
201
|
deductible: z.ZodOptional<z.ZodString>;
|
|
189
202
|
deductibleType: z.ZodOptional<z.ZodEnum<["per_occurrence", "per_claim", "aggregate", "percentage", "waiting_period"]>>;
|
|
203
|
+
deductibleValueType: z.ZodOptional<z.ZodEnum<["numeric", "included", "not_included", "as_stated", "waiting_period", "referential", "other"]>>;
|
|
190
204
|
sir: z.ZodOptional<z.ZodString>;
|
|
191
205
|
sublimit: z.ZodOptional<z.ZodString>;
|
|
192
206
|
coinsurance: z.ZodOptional<z.ZodString>;
|
|
@@ -198,14 +212,18 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
198
212
|
premium: z.ZodOptional<z.ZodString>;
|
|
199
213
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
200
214
|
sectionRef: z.ZodOptional<z.ZodString>;
|
|
215
|
+
originalContent: z.ZodOptional<z.ZodString>;
|
|
201
216
|
}, "strip", z.ZodTypeAny, {
|
|
202
217
|
name: string;
|
|
203
218
|
limit: string;
|
|
204
219
|
included: boolean;
|
|
205
220
|
formNumber?: string | undefined;
|
|
206
221
|
deductible?: string | undefined;
|
|
222
|
+
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
223
|
+
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
207
224
|
pageNumber?: number | undefined;
|
|
208
225
|
sectionRef?: string | undefined;
|
|
226
|
+
originalContent?: string | undefined;
|
|
209
227
|
coverageCode?: string | undefined;
|
|
210
228
|
formEditionDate?: string | undefined;
|
|
211
229
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
@@ -224,8 +242,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
224
242
|
included: boolean;
|
|
225
243
|
formNumber?: string | undefined;
|
|
226
244
|
deductible?: string | undefined;
|
|
245
|
+
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
246
|
+
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
227
247
|
pageNumber?: number | undefined;
|
|
228
248
|
sectionRef?: string | undefined;
|
|
249
|
+
originalContent?: string | undefined;
|
|
229
250
|
coverageCode?: string | undefined;
|
|
230
251
|
formEditionDate?: string | undefined;
|
|
231
252
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
@@ -308,10 +329,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
308
329
|
}, "strip", z.ZodTypeAny, {
|
|
309
330
|
title: string;
|
|
310
331
|
formNumber: string;
|
|
332
|
+
pageStart: number;
|
|
311
333
|
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";
|
|
312
334
|
content: string;
|
|
313
|
-
pageStart: number;
|
|
314
335
|
editionDate?: string | undefined;
|
|
336
|
+
pageEnd?: number | undefined;
|
|
315
337
|
effectiveDate?: string | undefined;
|
|
316
338
|
affectedCoverageParts?: string[] | undefined;
|
|
317
339
|
namedParties?: {
|
|
@@ -330,14 +352,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
330
352
|
}[] | undefined;
|
|
331
353
|
keyTerms?: string[] | undefined;
|
|
332
354
|
premiumImpact?: string | undefined;
|
|
333
|
-
pageEnd?: number | undefined;
|
|
334
355
|
}, {
|
|
335
356
|
title: string;
|
|
336
357
|
formNumber: string;
|
|
358
|
+
pageStart: number;
|
|
337
359
|
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";
|
|
338
360
|
content: string;
|
|
339
|
-
pageStart: number;
|
|
340
361
|
editionDate?: string | undefined;
|
|
362
|
+
pageEnd?: number | undefined;
|
|
341
363
|
effectiveDate?: string | undefined;
|
|
342
364
|
affectedCoverageParts?: string[] | undefined;
|
|
343
365
|
namedParties?: {
|
|
@@ -356,7 +378,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
356
378
|
}[] | undefined;
|
|
357
379
|
keyTerms?: string[] | undefined;
|
|
358
380
|
premiumImpact?: string | undefined;
|
|
359
|
-
pageEnd?: number | undefined;
|
|
360
381
|
}>, "many">>;
|
|
361
382
|
exclusions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
362
383
|
name: z.ZodString;
|
|
@@ -747,16 +768,22 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
747
768
|
editionDate: z.ZodOptional<z.ZodString>;
|
|
748
769
|
title: z.ZodOptional<z.ZodString>;
|
|
749
770
|
formType: z.ZodEnum<["coverage", "endorsement", "declarations", "application", "notice", "other"]>;
|
|
771
|
+
pageStart: z.ZodOptional<z.ZodNumber>;
|
|
772
|
+
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
750
773
|
}, "strip", z.ZodTypeAny, {
|
|
751
774
|
formNumber: string;
|
|
752
775
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
753
776
|
title?: string | undefined;
|
|
754
777
|
editionDate?: string | undefined;
|
|
778
|
+
pageStart?: number | undefined;
|
|
779
|
+
pageEnd?: number | undefined;
|
|
755
780
|
}, {
|
|
756
781
|
formNumber: string;
|
|
757
782
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
758
783
|
title?: string | undefined;
|
|
759
784
|
editionDate?: string | undefined;
|
|
785
|
+
pageStart?: number | undefined;
|
|
786
|
+
pageEnd?: number | undefined;
|
|
760
787
|
}>, "many">>;
|
|
761
788
|
declarations: z.ZodOptional<z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
|
|
762
789
|
line: z.ZodLiteral<"homeowners">;
|
|
@@ -3500,9 +3527,13 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3500
3527
|
coverages: {
|
|
3501
3528
|
name: string;
|
|
3502
3529
|
limit: string;
|
|
3530
|
+
formNumber?: string | undefined;
|
|
3503
3531
|
deductible?: string | undefined;
|
|
3532
|
+
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
3533
|
+
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
3504
3534
|
pageNumber?: number | undefined;
|
|
3505
3535
|
sectionRef?: string | undefined;
|
|
3536
|
+
originalContent?: string | undefined;
|
|
3506
3537
|
}[];
|
|
3507
3538
|
carrier: string;
|
|
3508
3539
|
policyNumber: string;
|
|
@@ -4120,8 +4151,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4120
4151
|
sections?: {
|
|
4121
4152
|
title: string;
|
|
4122
4153
|
type: string;
|
|
4123
|
-
content: string;
|
|
4124
4154
|
pageStart: number;
|
|
4155
|
+
content: string;
|
|
4125
4156
|
pageEnd?: number | undefined;
|
|
4126
4157
|
sectionNumber?: string | undefined;
|
|
4127
4158
|
coverageType?: string | undefined;
|
|
@@ -4175,8 +4206,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4175
4206
|
included: boolean;
|
|
4176
4207
|
formNumber?: string | undefined;
|
|
4177
4208
|
deductible?: string | undefined;
|
|
4209
|
+
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
4210
|
+
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
4178
4211
|
pageNumber?: number | undefined;
|
|
4179
4212
|
sectionRef?: string | undefined;
|
|
4213
|
+
originalContent?: string | undefined;
|
|
4180
4214
|
coverageCode?: string | undefined;
|
|
4181
4215
|
formEditionDate?: string | undefined;
|
|
4182
4216
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
@@ -4193,10 +4227,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4193
4227
|
endorsements?: {
|
|
4194
4228
|
title: string;
|
|
4195
4229
|
formNumber: string;
|
|
4230
|
+
pageStart: number;
|
|
4196
4231
|
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";
|
|
4197
4232
|
content: string;
|
|
4198
|
-
pageStart: number;
|
|
4199
4233
|
editionDate?: string | undefined;
|
|
4234
|
+
pageEnd?: number | undefined;
|
|
4200
4235
|
effectiveDate?: string | undefined;
|
|
4201
4236
|
affectedCoverageParts?: string[] | undefined;
|
|
4202
4237
|
namedParties?: {
|
|
@@ -4215,7 +4250,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4215
4250
|
}[] | undefined;
|
|
4216
4251
|
keyTerms?: string[] | undefined;
|
|
4217
4252
|
premiumImpact?: string | undefined;
|
|
4218
|
-
pageEnd?: number | undefined;
|
|
4219
4253
|
}[] | undefined;
|
|
4220
4254
|
exclusions?: {
|
|
4221
4255
|
name: string;
|
|
@@ -4243,6 +4277,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4243
4277
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
4244
4278
|
title?: string | undefined;
|
|
4245
4279
|
editionDate?: string | undefined;
|
|
4280
|
+
pageStart?: number | undefined;
|
|
4281
|
+
pageEnd?: number | undefined;
|
|
4246
4282
|
}[] | undefined;
|
|
4247
4283
|
insurer?: {
|
|
4248
4284
|
legalName: string;
|
|
@@ -4415,9 +4451,13 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4415
4451
|
coverages: {
|
|
4416
4452
|
name: string;
|
|
4417
4453
|
limit: string;
|
|
4454
|
+
formNumber?: string | undefined;
|
|
4418
4455
|
deductible?: string | undefined;
|
|
4456
|
+
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
4457
|
+
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
4419
4458
|
pageNumber?: number | undefined;
|
|
4420
4459
|
sectionRef?: string | undefined;
|
|
4460
|
+
originalContent?: string | undefined;
|
|
4421
4461
|
}[];
|
|
4422
4462
|
carrier: string;
|
|
4423
4463
|
policyNumber: string;
|
|
@@ -5035,8 +5075,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5035
5075
|
sections?: {
|
|
5036
5076
|
title: string;
|
|
5037
5077
|
type: string;
|
|
5038
|
-
content: string;
|
|
5039
5078
|
pageStart: number;
|
|
5079
|
+
content: string;
|
|
5040
5080
|
pageEnd?: number | undefined;
|
|
5041
5081
|
sectionNumber?: string | undefined;
|
|
5042
5082
|
coverageType?: string | undefined;
|
|
@@ -5090,8 +5130,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5090
5130
|
included: boolean;
|
|
5091
5131
|
formNumber?: string | undefined;
|
|
5092
5132
|
deductible?: string | undefined;
|
|
5133
|
+
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
5134
|
+
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
5093
5135
|
pageNumber?: number | undefined;
|
|
5094
5136
|
sectionRef?: string | undefined;
|
|
5137
|
+
originalContent?: string | undefined;
|
|
5095
5138
|
coverageCode?: string | undefined;
|
|
5096
5139
|
formEditionDate?: string | undefined;
|
|
5097
5140
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
@@ -5108,10 +5151,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5108
5151
|
endorsements?: {
|
|
5109
5152
|
title: string;
|
|
5110
5153
|
formNumber: string;
|
|
5154
|
+
pageStart: number;
|
|
5111
5155
|
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";
|
|
5112
5156
|
content: string;
|
|
5113
|
-
pageStart: number;
|
|
5114
5157
|
editionDate?: string | undefined;
|
|
5158
|
+
pageEnd?: number | undefined;
|
|
5115
5159
|
effectiveDate?: string | undefined;
|
|
5116
5160
|
affectedCoverageParts?: string[] | undefined;
|
|
5117
5161
|
namedParties?: {
|
|
@@ -5130,7 +5174,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5130
5174
|
}[] | undefined;
|
|
5131
5175
|
keyTerms?: string[] | undefined;
|
|
5132
5176
|
premiumImpact?: string | undefined;
|
|
5133
|
-
pageEnd?: number | undefined;
|
|
5134
5177
|
}[] | undefined;
|
|
5135
5178
|
exclusions?: {
|
|
5136
5179
|
name: string;
|
|
@@ -5158,6 +5201,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5158
5201
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
5159
5202
|
title?: string | undefined;
|
|
5160
5203
|
editionDate?: string | undefined;
|
|
5204
|
+
pageStart?: number | undefined;
|
|
5205
|
+
pageEnd?: number | undefined;
|
|
5161
5206
|
}[] | undefined;
|
|
5162
5207
|
insurer?: {
|
|
5163
5208
|
legalName: string;
|
|
@@ -5417,21 +5462,33 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5417
5462
|
coverages: z.ZodArray<z.ZodObject<{
|
|
5418
5463
|
name: z.ZodString;
|
|
5419
5464
|
limit: z.ZodString;
|
|
5465
|
+
limitValueType: z.ZodOptional<z.ZodEnum<["numeric", "included", "not_included", "as_stated", "waiting_period", "referential", "other"]>>;
|
|
5420
5466
|
deductible: z.ZodOptional<z.ZodString>;
|
|
5467
|
+
deductibleValueType: z.ZodOptional<z.ZodEnum<["numeric", "included", "not_included", "as_stated", "waiting_period", "referential", "other"]>>;
|
|
5468
|
+
formNumber: z.ZodOptional<z.ZodString>;
|
|
5421
5469
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
5422
5470
|
sectionRef: z.ZodOptional<z.ZodString>;
|
|
5471
|
+
originalContent: z.ZodOptional<z.ZodString>;
|
|
5423
5472
|
}, "strip", z.ZodTypeAny, {
|
|
5424
5473
|
name: string;
|
|
5425
5474
|
limit: string;
|
|
5475
|
+
formNumber?: string | undefined;
|
|
5426
5476
|
deductible?: string | undefined;
|
|
5477
|
+
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
5478
|
+
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
5427
5479
|
pageNumber?: number | undefined;
|
|
5428
5480
|
sectionRef?: string | undefined;
|
|
5481
|
+
originalContent?: string | undefined;
|
|
5429
5482
|
}, {
|
|
5430
5483
|
name: string;
|
|
5431
5484
|
limit: string;
|
|
5485
|
+
formNumber?: string | undefined;
|
|
5432
5486
|
deductible?: string | undefined;
|
|
5487
|
+
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
5488
|
+
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
5433
5489
|
pageNumber?: number | undefined;
|
|
5434
5490
|
sectionRef?: string | undefined;
|
|
5491
|
+
originalContent?: string | undefined;
|
|
5435
5492
|
}>, "many">;
|
|
5436
5493
|
sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5437
5494
|
title: z.ZodString;
|
|
@@ -5460,8 +5517,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5460
5517
|
}, "strip", z.ZodTypeAny, {
|
|
5461
5518
|
title: string;
|
|
5462
5519
|
type: string;
|
|
5463
|
-
content: string;
|
|
5464
5520
|
pageStart: number;
|
|
5521
|
+
content: string;
|
|
5465
5522
|
pageEnd?: number | undefined;
|
|
5466
5523
|
sectionNumber?: string | undefined;
|
|
5467
5524
|
coverageType?: string | undefined;
|
|
@@ -5474,8 +5531,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5474
5531
|
}, {
|
|
5475
5532
|
title: string;
|
|
5476
5533
|
type: string;
|
|
5477
|
-
content: string;
|
|
5478
5534
|
pageStart: number;
|
|
5535
|
+
content: string;
|
|
5479
5536
|
pageEnd?: number | undefined;
|
|
5480
5537
|
sectionNumber?: string | undefined;
|
|
5481
5538
|
coverageType?: string | undefined;
|
|
@@ -5581,8 +5638,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5581
5638
|
formEditionDate: z.ZodOptional<z.ZodString>;
|
|
5582
5639
|
limit: z.ZodString;
|
|
5583
5640
|
limitType: z.ZodOptional<z.ZodEnum<["per_occurrence", "per_claim", "aggregate", "per_person", "per_accident", "statutory", "blanket", "scheduled"]>>;
|
|
5641
|
+
limitValueType: z.ZodOptional<z.ZodEnum<["numeric", "included", "not_included", "as_stated", "waiting_period", "referential", "other"]>>;
|
|
5584
5642
|
deductible: z.ZodOptional<z.ZodString>;
|
|
5585
5643
|
deductibleType: z.ZodOptional<z.ZodEnum<["per_occurrence", "per_claim", "aggregate", "percentage", "waiting_period"]>>;
|
|
5644
|
+
deductibleValueType: z.ZodOptional<z.ZodEnum<["numeric", "included", "not_included", "as_stated", "waiting_period", "referential", "other"]>>;
|
|
5586
5645
|
sir: z.ZodOptional<z.ZodString>;
|
|
5587
5646
|
sublimit: z.ZodOptional<z.ZodString>;
|
|
5588
5647
|
coinsurance: z.ZodOptional<z.ZodString>;
|
|
@@ -5594,14 +5653,18 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5594
5653
|
premium: z.ZodOptional<z.ZodString>;
|
|
5595
5654
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
5596
5655
|
sectionRef: z.ZodOptional<z.ZodString>;
|
|
5656
|
+
originalContent: z.ZodOptional<z.ZodString>;
|
|
5597
5657
|
}, "strip", z.ZodTypeAny, {
|
|
5598
5658
|
name: string;
|
|
5599
5659
|
limit: string;
|
|
5600
5660
|
included: boolean;
|
|
5601
5661
|
formNumber?: string | undefined;
|
|
5602
5662
|
deductible?: string | undefined;
|
|
5663
|
+
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
5664
|
+
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
5603
5665
|
pageNumber?: number | undefined;
|
|
5604
5666
|
sectionRef?: string | undefined;
|
|
5667
|
+
originalContent?: string | undefined;
|
|
5605
5668
|
coverageCode?: string | undefined;
|
|
5606
5669
|
formEditionDate?: string | undefined;
|
|
5607
5670
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
@@ -5620,8 +5683,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5620
5683
|
included: boolean;
|
|
5621
5684
|
formNumber?: string | undefined;
|
|
5622
5685
|
deductible?: string | undefined;
|
|
5686
|
+
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
5687
|
+
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
5623
5688
|
pageNumber?: number | undefined;
|
|
5624
5689
|
sectionRef?: string | undefined;
|
|
5690
|
+
originalContent?: string | undefined;
|
|
5625
5691
|
coverageCode?: string | undefined;
|
|
5626
5692
|
formEditionDate?: string | undefined;
|
|
5627
5693
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
@@ -5704,10 +5770,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5704
5770
|
}, "strip", z.ZodTypeAny, {
|
|
5705
5771
|
title: string;
|
|
5706
5772
|
formNumber: string;
|
|
5773
|
+
pageStart: number;
|
|
5707
5774
|
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";
|
|
5708
5775
|
content: string;
|
|
5709
|
-
pageStart: number;
|
|
5710
5776
|
editionDate?: string | undefined;
|
|
5777
|
+
pageEnd?: number | undefined;
|
|
5711
5778
|
effectiveDate?: string | undefined;
|
|
5712
5779
|
affectedCoverageParts?: string[] | undefined;
|
|
5713
5780
|
namedParties?: {
|
|
@@ -5726,14 +5793,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5726
5793
|
}[] | undefined;
|
|
5727
5794
|
keyTerms?: string[] | undefined;
|
|
5728
5795
|
premiumImpact?: string | undefined;
|
|
5729
|
-
pageEnd?: number | undefined;
|
|
5730
5796
|
}, {
|
|
5731
5797
|
title: string;
|
|
5732
5798
|
formNumber: string;
|
|
5799
|
+
pageStart: number;
|
|
5733
5800
|
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";
|
|
5734
5801
|
content: string;
|
|
5735
|
-
pageStart: number;
|
|
5736
5802
|
editionDate?: string | undefined;
|
|
5803
|
+
pageEnd?: number | undefined;
|
|
5737
5804
|
effectiveDate?: string | undefined;
|
|
5738
5805
|
affectedCoverageParts?: string[] | undefined;
|
|
5739
5806
|
namedParties?: {
|
|
@@ -5752,7 +5819,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5752
5819
|
}[] | undefined;
|
|
5753
5820
|
keyTerms?: string[] | undefined;
|
|
5754
5821
|
premiumImpact?: string | undefined;
|
|
5755
|
-
pageEnd?: number | undefined;
|
|
5756
5822
|
}>, "many">>;
|
|
5757
5823
|
exclusions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5758
5824
|
name: z.ZodString;
|
|
@@ -6143,16 +6209,22 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6143
6209
|
editionDate: z.ZodOptional<z.ZodString>;
|
|
6144
6210
|
title: z.ZodOptional<z.ZodString>;
|
|
6145
6211
|
formType: z.ZodEnum<["coverage", "endorsement", "declarations", "application", "notice", "other"]>;
|
|
6212
|
+
pageStart: z.ZodOptional<z.ZodNumber>;
|
|
6213
|
+
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
6146
6214
|
}, "strip", z.ZodTypeAny, {
|
|
6147
6215
|
formNumber: string;
|
|
6148
6216
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
6149
6217
|
title?: string | undefined;
|
|
6150
6218
|
editionDate?: string | undefined;
|
|
6219
|
+
pageStart?: number | undefined;
|
|
6220
|
+
pageEnd?: number | undefined;
|
|
6151
6221
|
}, {
|
|
6152
6222
|
formNumber: string;
|
|
6153
6223
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
6154
6224
|
title?: string | undefined;
|
|
6155
6225
|
editionDate?: string | undefined;
|
|
6226
|
+
pageStart?: number | undefined;
|
|
6227
|
+
pageEnd?: number | undefined;
|
|
6156
6228
|
}>, "many">>;
|
|
6157
6229
|
declarations: z.ZodOptional<z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
|
|
6158
6230
|
line: z.ZodLiteral<"homeowners">;
|
|
@@ -8895,9 +8967,13 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
8895
8967
|
coverages: {
|
|
8896
8968
|
name: string;
|
|
8897
8969
|
limit: string;
|
|
8970
|
+
formNumber?: string | undefined;
|
|
8898
8971
|
deductible?: string | undefined;
|
|
8972
|
+
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
8973
|
+
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
8899
8974
|
pageNumber?: number | undefined;
|
|
8900
8975
|
sectionRef?: string | undefined;
|
|
8976
|
+
originalContent?: string | undefined;
|
|
8901
8977
|
}[];
|
|
8902
8978
|
carrier: string;
|
|
8903
8979
|
id: string;
|
|
@@ -9511,8 +9587,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
9511
9587
|
sections?: {
|
|
9512
9588
|
title: string;
|
|
9513
9589
|
type: string;
|
|
9514
|
-
content: string;
|
|
9515
9590
|
pageStart: number;
|
|
9591
|
+
content: string;
|
|
9516
9592
|
pageEnd?: number | undefined;
|
|
9517
9593
|
sectionNumber?: string | undefined;
|
|
9518
9594
|
coverageType?: string | undefined;
|
|
@@ -9566,8 +9642,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
9566
9642
|
included: boolean;
|
|
9567
9643
|
formNumber?: string | undefined;
|
|
9568
9644
|
deductible?: string | undefined;
|
|
9645
|
+
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
9646
|
+
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
9569
9647
|
pageNumber?: number | undefined;
|
|
9570
9648
|
sectionRef?: string | undefined;
|
|
9649
|
+
originalContent?: string | undefined;
|
|
9571
9650
|
coverageCode?: string | undefined;
|
|
9572
9651
|
formEditionDate?: string | undefined;
|
|
9573
9652
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
@@ -9584,10 +9663,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
9584
9663
|
endorsements?: {
|
|
9585
9664
|
title: string;
|
|
9586
9665
|
formNumber: string;
|
|
9666
|
+
pageStart: number;
|
|
9587
9667
|
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";
|
|
9588
9668
|
content: string;
|
|
9589
|
-
pageStart: number;
|
|
9590
9669
|
editionDate?: string | undefined;
|
|
9670
|
+
pageEnd?: number | undefined;
|
|
9591
9671
|
effectiveDate?: string | undefined;
|
|
9592
9672
|
affectedCoverageParts?: string[] | undefined;
|
|
9593
9673
|
namedParties?: {
|
|
@@ -9606,7 +9686,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
9606
9686
|
}[] | undefined;
|
|
9607
9687
|
keyTerms?: string[] | undefined;
|
|
9608
9688
|
premiumImpact?: string | undefined;
|
|
9609
|
-
pageEnd?: number | undefined;
|
|
9610
9689
|
}[] | undefined;
|
|
9611
9690
|
exclusions?: {
|
|
9612
9691
|
name: string;
|
|
@@ -9634,6 +9713,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
9634
9713
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
9635
9714
|
title?: string | undefined;
|
|
9636
9715
|
editionDate?: string | undefined;
|
|
9716
|
+
pageStart?: number | undefined;
|
|
9717
|
+
pageEnd?: number | undefined;
|
|
9637
9718
|
}[] | undefined;
|
|
9638
9719
|
insurer?: {
|
|
9639
9720
|
legalName: string;
|
|
@@ -9839,9 +9920,13 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
9839
9920
|
coverages: {
|
|
9840
9921
|
name: string;
|
|
9841
9922
|
limit: string;
|
|
9923
|
+
formNumber?: string | undefined;
|
|
9842
9924
|
deductible?: string | undefined;
|
|
9925
|
+
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
9926
|
+
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
9843
9927
|
pageNumber?: number | undefined;
|
|
9844
9928
|
sectionRef?: string | undefined;
|
|
9929
|
+
originalContent?: string | undefined;
|
|
9845
9930
|
}[];
|
|
9846
9931
|
carrier: string;
|
|
9847
9932
|
id: string;
|
|
@@ -10455,8 +10540,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10455
10540
|
sections?: {
|
|
10456
10541
|
title: string;
|
|
10457
10542
|
type: string;
|
|
10458
|
-
content: string;
|
|
10459
10543
|
pageStart: number;
|
|
10544
|
+
content: string;
|
|
10460
10545
|
pageEnd?: number | undefined;
|
|
10461
10546
|
sectionNumber?: string | undefined;
|
|
10462
10547
|
coverageType?: string | undefined;
|
|
@@ -10510,8 +10595,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10510
10595
|
included: boolean;
|
|
10511
10596
|
formNumber?: string | undefined;
|
|
10512
10597
|
deductible?: string | undefined;
|
|
10598
|
+
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
10599
|
+
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
10513
10600
|
pageNumber?: number | undefined;
|
|
10514
10601
|
sectionRef?: string | undefined;
|
|
10602
|
+
originalContent?: string | undefined;
|
|
10515
10603
|
coverageCode?: string | undefined;
|
|
10516
10604
|
formEditionDate?: string | undefined;
|
|
10517
10605
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
@@ -10528,10 +10616,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10528
10616
|
endorsements?: {
|
|
10529
10617
|
title: string;
|
|
10530
10618
|
formNumber: string;
|
|
10619
|
+
pageStart: number;
|
|
10531
10620
|
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";
|
|
10532
10621
|
content: string;
|
|
10533
|
-
pageStart: number;
|
|
10534
10622
|
editionDate?: string | undefined;
|
|
10623
|
+
pageEnd?: number | undefined;
|
|
10535
10624
|
effectiveDate?: string | undefined;
|
|
10536
10625
|
affectedCoverageParts?: string[] | undefined;
|
|
10537
10626
|
namedParties?: {
|
|
@@ -10550,7 +10639,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10550
10639
|
}[] | undefined;
|
|
10551
10640
|
keyTerms?: string[] | undefined;
|
|
10552
10641
|
premiumImpact?: string | undefined;
|
|
10553
|
-
pageEnd?: number | undefined;
|
|
10554
10642
|
}[] | undefined;
|
|
10555
10643
|
exclusions?: {
|
|
10556
10644
|
name: string;
|
|
@@ -10578,6 +10666,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10578
10666
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
10579
10667
|
title?: string | undefined;
|
|
10580
10668
|
editionDate?: string | undefined;
|
|
10669
|
+
pageStart?: number | undefined;
|
|
10670
|
+
pageEnd?: number | undefined;
|
|
10581
10671
|
}[] | undefined;
|
|
10582
10672
|
insurer?: {
|
|
10583
10673
|
legalName: string;
|
package/package.json
CHANGED