@claritylabs/cl-sdk 4.2.0 → 4.4.0
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 +2 -2
- package/dist/application.d.mts +1 -1
- package/dist/application.d.ts +1 -1
- package/dist/application.js +41 -0
- package/dist/application.js.map +1 -1
- package/dist/application.mjs +41 -0
- package/dist/application.mjs.map +1 -1
- package/dist/{index-C9XfOdmx.d.mts → index-CReSzyKJ.d.mts} +1855 -575
- package/dist/{index-C9XfOdmx.d.ts → index-CReSzyKJ.d.ts} +1855 -575
- package/dist/index.d.mts +370 -277
- package/dist/index.d.ts +370 -277
- package/dist/index.js +2207 -1219
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2200 -1219
- package/dist/index.mjs.map +1 -1
- package/dist/storage-sqlite.d.mts +538 -182
- package/dist/storage-sqlite.d.ts +538 -182
- package/dist/storage-sqlite.js +41 -0
- package/dist/storage-sqlite.js.map +1 -1
- package/dist/storage-sqlite.mjs +41 -0
- package/dist/storage-sqlite.mjs.map +1 -1
- package/package.json +1 -1
package/dist/storage-sqlite.d.ts
CHANGED
|
@@ -37,6 +37,28 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
37
37
|
insuredName: z.ZodString;
|
|
38
38
|
premium: z.ZodOptional<z.ZodString>;
|
|
39
39
|
premiumAmount: z.ZodOptional<z.ZodNumber>;
|
|
40
|
+
premiumBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
41
|
+
line: z.ZodString;
|
|
42
|
+
amount: z.ZodString;
|
|
43
|
+
amountValue: z.ZodOptional<z.ZodNumber>;
|
|
44
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
45
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
46
|
+
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
|
48
|
+
amount: string;
|
|
49
|
+
line: string;
|
|
50
|
+
sourceSpanIds?: string[] | undefined;
|
|
51
|
+
documentNodeId?: string | undefined;
|
|
52
|
+
sourceTextHash?: string | undefined;
|
|
53
|
+
amountValue?: number | undefined;
|
|
54
|
+
}, {
|
|
55
|
+
amount: string;
|
|
56
|
+
line: string;
|
|
57
|
+
sourceSpanIds?: string[] | undefined;
|
|
58
|
+
documentNodeId?: string | undefined;
|
|
59
|
+
sourceTextHash?: string | undefined;
|
|
60
|
+
amountValue?: number | undefined;
|
|
61
|
+
}>, "many">>;
|
|
40
62
|
summary: z.ZodOptional<z.ZodString>;
|
|
41
63
|
linesOfBusiness: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
42
64
|
coverages: z.ZodArray<z.ZodObject<{
|
|
@@ -165,16 +187,16 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
165
187
|
page: number;
|
|
166
188
|
sourceSpanIds?: string[] | undefined;
|
|
167
189
|
formNumber?: string | undefined;
|
|
168
|
-
formTitle?: string | undefined;
|
|
169
190
|
label?: string | undefined;
|
|
191
|
+
formTitle?: string | undefined;
|
|
170
192
|
sectionTitle?: string | undefined;
|
|
171
193
|
extractorNames?: string[] | undefined;
|
|
172
194
|
}, {
|
|
173
195
|
page: number;
|
|
174
196
|
sourceSpanIds?: string[] | undefined;
|
|
175
197
|
formNumber?: string | undefined;
|
|
176
|
-
formTitle?: string | undefined;
|
|
177
198
|
label?: string | undefined;
|
|
199
|
+
formTitle?: string | undefined;
|
|
178
200
|
sectionTitle?: string | undefined;
|
|
179
201
|
extractorNames?: string[] | undefined;
|
|
180
202
|
}>, "many">>;
|
|
@@ -220,8 +242,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
220
242
|
page: number;
|
|
221
243
|
sourceSpanIds?: string[] | undefined;
|
|
222
244
|
formNumber?: string | undefined;
|
|
223
|
-
formTitle?: string | undefined;
|
|
224
245
|
label?: string | undefined;
|
|
246
|
+
formTitle?: string | undefined;
|
|
225
247
|
sectionTitle?: string | undefined;
|
|
226
248
|
extractorNames?: string[] | undefined;
|
|
227
249
|
}[] | undefined;
|
|
@@ -257,8 +279,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
257
279
|
page: number;
|
|
258
280
|
sourceSpanIds?: string[] | undefined;
|
|
259
281
|
formNumber?: string | undefined;
|
|
260
|
-
formTitle?: string | undefined;
|
|
261
282
|
label?: string | undefined;
|
|
283
|
+
formTitle?: string | undefined;
|
|
262
284
|
sectionTitle?: string | undefined;
|
|
263
285
|
extractorNames?: string[] | undefined;
|
|
264
286
|
}[] | undefined;
|
|
@@ -1223,6 +1245,77 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
1223
1245
|
rate?: string | undefined;
|
|
1224
1246
|
locationNumber?: number | undefined;
|
|
1225
1247
|
}>, "many">>;
|
|
1248
|
+
coverageSchedules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1249
|
+
name: z.ZodString;
|
|
1250
|
+
kind: z.ZodEnum<["vehicle", "property", "location", "other"]>;
|
|
1251
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1252
|
+
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1253
|
+
label: z.ZodString;
|
|
1254
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1255
|
+
values: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1256
|
+
label: z.ZodString;
|
|
1257
|
+
value: z.ZodString;
|
|
1258
|
+
}, "strip", z.ZodTypeAny, {
|
|
1259
|
+
value: string;
|
|
1260
|
+
label: string;
|
|
1261
|
+
}, {
|
|
1262
|
+
value: string;
|
|
1263
|
+
label: string;
|
|
1264
|
+
}>, "many">>;
|
|
1265
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1266
|
+
}, "strip", z.ZodTypeAny, {
|
|
1267
|
+
values: {
|
|
1268
|
+
value: string;
|
|
1269
|
+
label: string;
|
|
1270
|
+
}[];
|
|
1271
|
+
sourceSpanIds: string[];
|
|
1272
|
+
label: string;
|
|
1273
|
+
description?: string | undefined;
|
|
1274
|
+
}, {
|
|
1275
|
+
label: string;
|
|
1276
|
+
values?: {
|
|
1277
|
+
value: string;
|
|
1278
|
+
label: string;
|
|
1279
|
+
}[] | undefined;
|
|
1280
|
+
sourceSpanIds?: string[] | undefined;
|
|
1281
|
+
description?: string | undefined;
|
|
1282
|
+
}>, "many">>;
|
|
1283
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1284
|
+
pageStart: z.ZodOptional<z.ZodNumber>;
|
|
1285
|
+
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
1286
|
+
}, "strip", z.ZodTypeAny, {
|
|
1287
|
+
sourceSpanIds: string[];
|
|
1288
|
+
name: string;
|
|
1289
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
1290
|
+
items: {
|
|
1291
|
+
values: {
|
|
1292
|
+
value: string;
|
|
1293
|
+
label: string;
|
|
1294
|
+
}[];
|
|
1295
|
+
sourceSpanIds: string[];
|
|
1296
|
+
label: string;
|
|
1297
|
+
description?: string | undefined;
|
|
1298
|
+
}[];
|
|
1299
|
+
pageStart?: number | undefined;
|
|
1300
|
+
pageEnd?: number | undefined;
|
|
1301
|
+
description?: string | undefined;
|
|
1302
|
+
}, {
|
|
1303
|
+
name: string;
|
|
1304
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
1305
|
+
sourceSpanIds?: string[] | undefined;
|
|
1306
|
+
pageStart?: number | undefined;
|
|
1307
|
+
pageEnd?: number | undefined;
|
|
1308
|
+
description?: string | undefined;
|
|
1309
|
+
items?: {
|
|
1310
|
+
label: string;
|
|
1311
|
+
values?: {
|
|
1312
|
+
value: string;
|
|
1313
|
+
label: string;
|
|
1314
|
+
}[] | undefined;
|
|
1315
|
+
sourceSpanIds?: string[] | undefined;
|
|
1316
|
+
description?: string | undefined;
|
|
1317
|
+
}[] | undefined;
|
|
1318
|
+
}>, "many">>;
|
|
1226
1319
|
formInventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1227
1320
|
formNumber: z.ZodString;
|
|
1228
1321
|
editionDate: z.ZodOptional<z.ZodString>;
|
|
@@ -3511,6 +3604,28 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3511
3604
|
amBestNumber: z.ZodOptional<z.ZodString>;
|
|
3512
3605
|
admittedStatus: z.ZodOptional<z.ZodEnum<["admitted", "non_admitted", "surplus_lines"]>>;
|
|
3513
3606
|
stateOfDomicile: z.ZodOptional<z.ZodString>;
|
|
3607
|
+
address: z.ZodOptional<z.ZodObject<{
|
|
3608
|
+
street1: z.ZodString;
|
|
3609
|
+
street2: z.ZodOptional<z.ZodString>;
|
|
3610
|
+
city: z.ZodString;
|
|
3611
|
+
state: z.ZodString;
|
|
3612
|
+
zip: z.ZodString;
|
|
3613
|
+
country: z.ZodOptional<z.ZodString>;
|
|
3614
|
+
}, "strip", z.ZodTypeAny, {
|
|
3615
|
+
street1: string;
|
|
3616
|
+
city: string;
|
|
3617
|
+
state: string;
|
|
3618
|
+
zip: string;
|
|
3619
|
+
street2?: string | undefined;
|
|
3620
|
+
country?: string | undefined;
|
|
3621
|
+
}, {
|
|
3622
|
+
street1: string;
|
|
3623
|
+
city: string;
|
|
3624
|
+
state: string;
|
|
3625
|
+
zip: string;
|
|
3626
|
+
street2?: string | undefined;
|
|
3627
|
+
country?: string | undefined;
|
|
3628
|
+
}>>;
|
|
3514
3629
|
} & {
|
|
3515
3630
|
sourceSpanIds: z.ZodArray<z.ZodString, "many">;
|
|
3516
3631
|
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
@@ -3524,6 +3639,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3524
3639
|
sourceTextHash?: string | undefined;
|
|
3525
3640
|
pageStart?: number | undefined;
|
|
3526
3641
|
pageEnd?: number | undefined;
|
|
3642
|
+
address?: {
|
|
3643
|
+
street1: string;
|
|
3644
|
+
city: string;
|
|
3645
|
+
state: string;
|
|
3646
|
+
zip: string;
|
|
3647
|
+
street2?: string | undefined;
|
|
3648
|
+
country?: string | undefined;
|
|
3649
|
+
} | undefined;
|
|
3527
3650
|
naicNumber?: string | undefined;
|
|
3528
3651
|
amBestRating?: string | undefined;
|
|
3529
3652
|
amBestNumber?: string | undefined;
|
|
@@ -3536,6 +3659,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3536
3659
|
sourceTextHash?: string | undefined;
|
|
3537
3660
|
pageStart?: number | undefined;
|
|
3538
3661
|
pageEnd?: number | undefined;
|
|
3662
|
+
address?: {
|
|
3663
|
+
street1: string;
|
|
3664
|
+
city: string;
|
|
3665
|
+
state: string;
|
|
3666
|
+
zip: string;
|
|
3667
|
+
street2?: string | undefined;
|
|
3668
|
+
country?: string | undefined;
|
|
3669
|
+
} | undefined;
|
|
3539
3670
|
naicNumber?: string | undefined;
|
|
3540
3671
|
amBestRating?: string | undefined;
|
|
3541
3672
|
amBestNumber?: string | undefined;
|
|
@@ -4299,8 +4430,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4299
4430
|
page: number;
|
|
4300
4431
|
sourceSpanIds?: string[] | undefined;
|
|
4301
4432
|
formNumber?: string | undefined;
|
|
4302
|
-
formTitle?: string | undefined;
|
|
4303
4433
|
label?: string | undefined;
|
|
4434
|
+
formTitle?: string | undefined;
|
|
4304
4435
|
sectionTitle?: string | undefined;
|
|
4305
4436
|
extractorNames?: string[] | undefined;
|
|
4306
4437
|
}[] | undefined;
|
|
@@ -4933,6 +5064,66 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4933
5064
|
supplementalYears?: number | undefined;
|
|
4934
5065
|
supplementalPremium?: string | undefined;
|
|
4935
5066
|
} | undefined;
|
|
5067
|
+
insurer?: {
|
|
5068
|
+
sourceSpanIds: string[];
|
|
5069
|
+
legalName: string;
|
|
5070
|
+
documentNodeId?: string | undefined;
|
|
5071
|
+
sourceTextHash?: string | undefined;
|
|
5072
|
+
pageStart?: number | undefined;
|
|
5073
|
+
pageEnd?: number | undefined;
|
|
5074
|
+
address?: {
|
|
5075
|
+
street1: string;
|
|
5076
|
+
city: string;
|
|
5077
|
+
state: string;
|
|
5078
|
+
zip: string;
|
|
5079
|
+
street2?: string | undefined;
|
|
5080
|
+
country?: string | undefined;
|
|
5081
|
+
} | undefined;
|
|
5082
|
+
naicNumber?: string | undefined;
|
|
5083
|
+
amBestRating?: string | undefined;
|
|
5084
|
+
amBestNumber?: string | undefined;
|
|
5085
|
+
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
5086
|
+
stateOfDomicile?: string | undefined;
|
|
5087
|
+
} | undefined;
|
|
5088
|
+
expirationDate?: string | undefined;
|
|
5089
|
+
summary?: string | undefined;
|
|
5090
|
+
linesOfBusiness?: string[] | undefined;
|
|
5091
|
+
coverageSchedules?: {
|
|
5092
|
+
sourceSpanIds: string[];
|
|
5093
|
+
name: string;
|
|
5094
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
5095
|
+
items: {
|
|
5096
|
+
values: {
|
|
5097
|
+
value: string;
|
|
5098
|
+
label: string;
|
|
5099
|
+
}[];
|
|
5100
|
+
sourceSpanIds: string[];
|
|
5101
|
+
label: string;
|
|
5102
|
+
description?: string | undefined;
|
|
5103
|
+
}[];
|
|
5104
|
+
pageStart?: number | undefined;
|
|
5105
|
+
pageEnd?: number | undefined;
|
|
5106
|
+
description?: string | undefined;
|
|
5107
|
+
}[] | undefined;
|
|
5108
|
+
premiumBreakdown?: {
|
|
5109
|
+
amount: string;
|
|
5110
|
+
line: string;
|
|
5111
|
+
sourceSpanIds?: string[] | undefined;
|
|
5112
|
+
documentNodeId?: string | undefined;
|
|
5113
|
+
sourceTextHash?: string | undefined;
|
|
5114
|
+
amountValue?: number | undefined;
|
|
5115
|
+
}[] | undefined;
|
|
5116
|
+
taxesAndFees?: {
|
|
5117
|
+
name: string;
|
|
5118
|
+
amount: string;
|
|
5119
|
+
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
5120
|
+
sourceSpanIds?: string[] | undefined;
|
|
5121
|
+
documentNodeId?: string | undefined;
|
|
5122
|
+
sourceTextHash?: string | undefined;
|
|
5123
|
+
amountValue?: number | undefined;
|
|
5124
|
+
description?: string | undefined;
|
|
5125
|
+
}[] | undefined;
|
|
5126
|
+
totalCost?: string | undefined;
|
|
4936
5127
|
formInventory?: {
|
|
4937
5128
|
formNumber: string;
|
|
4938
5129
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -4944,14 +5135,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4944
5135
|
title?: string | undefined;
|
|
4945
5136
|
editionDate?: string | undefined;
|
|
4946
5137
|
}[] | undefined;
|
|
4947
|
-
expirationDate?: string | undefined;
|
|
4948
5138
|
policyTermType?: "fixed" | "continuous" | undefined;
|
|
4949
5139
|
nextReviewDate?: string | undefined;
|
|
4950
5140
|
effectiveTime?: string | undefined;
|
|
4951
5141
|
security?: string | undefined;
|
|
4952
5142
|
premiumAmount?: number | undefined;
|
|
4953
|
-
summary?: string | undefined;
|
|
4954
|
-
linesOfBusiness?: string[] | undefined;
|
|
4955
5143
|
sections?: {
|
|
4956
5144
|
type: string;
|
|
4957
5145
|
pageStart: number;
|
|
@@ -5146,19 +5334,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5146
5334
|
corridorDeductible?: string | undefined;
|
|
5147
5335
|
waitingPeriod?: string | undefined;
|
|
5148
5336
|
} | undefined;
|
|
5149
|
-
insurer?: {
|
|
5150
|
-
sourceSpanIds: string[];
|
|
5151
|
-
legalName: string;
|
|
5152
|
-
documentNodeId?: string | undefined;
|
|
5153
|
-
sourceTextHash?: string | undefined;
|
|
5154
|
-
pageStart?: number | undefined;
|
|
5155
|
-
pageEnd?: number | undefined;
|
|
5156
|
-
naicNumber?: string | undefined;
|
|
5157
|
-
amBestRating?: string | undefined;
|
|
5158
|
-
amBestNumber?: string | undefined;
|
|
5159
|
-
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
5160
|
-
stateOfDomicile?: string | undefined;
|
|
5161
|
-
} | undefined;
|
|
5162
5337
|
producer?: {
|
|
5163
5338
|
sourceSpanIds: string[];
|
|
5164
5339
|
agencyName: string;
|
|
@@ -5302,17 +5477,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5302
5477
|
relationship?: string | undefined;
|
|
5303
5478
|
scope?: string | undefined;
|
|
5304
5479
|
}[] | undefined;
|
|
5305
|
-
taxesAndFees?: {
|
|
5306
|
-
name: string;
|
|
5307
|
-
amount: string;
|
|
5308
|
-
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
5309
|
-
sourceSpanIds?: string[] | undefined;
|
|
5310
|
-
documentNodeId?: string | undefined;
|
|
5311
|
-
sourceTextHash?: string | undefined;
|
|
5312
|
-
amountValue?: number | undefined;
|
|
5313
|
-
description?: string | undefined;
|
|
5314
|
-
}[] | undefined;
|
|
5315
|
-
totalCost?: string | undefined;
|
|
5316
5480
|
totalCostAmount?: number | undefined;
|
|
5317
5481
|
minimumPremium?: string | undefined;
|
|
5318
5482
|
minimumPremiumAmount?: number | undefined;
|
|
@@ -5420,8 +5584,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5420
5584
|
page: number;
|
|
5421
5585
|
sourceSpanIds?: string[] | undefined;
|
|
5422
5586
|
formNumber?: string | undefined;
|
|
5423
|
-
formTitle?: string | undefined;
|
|
5424
5587
|
label?: string | undefined;
|
|
5588
|
+
formTitle?: string | undefined;
|
|
5425
5589
|
sectionTitle?: string | undefined;
|
|
5426
5590
|
extractorNames?: string[] | undefined;
|
|
5427
5591
|
}[] | undefined;
|
|
@@ -6054,6 +6218,66 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6054
6218
|
supplementalYears?: number | undefined;
|
|
6055
6219
|
supplementalPremium?: string | undefined;
|
|
6056
6220
|
} | undefined;
|
|
6221
|
+
insurer?: {
|
|
6222
|
+
sourceSpanIds: string[];
|
|
6223
|
+
legalName: string;
|
|
6224
|
+
documentNodeId?: string | undefined;
|
|
6225
|
+
sourceTextHash?: string | undefined;
|
|
6226
|
+
pageStart?: number | undefined;
|
|
6227
|
+
pageEnd?: number | undefined;
|
|
6228
|
+
address?: {
|
|
6229
|
+
street1: string;
|
|
6230
|
+
city: string;
|
|
6231
|
+
state: string;
|
|
6232
|
+
zip: string;
|
|
6233
|
+
street2?: string | undefined;
|
|
6234
|
+
country?: string | undefined;
|
|
6235
|
+
} | undefined;
|
|
6236
|
+
naicNumber?: string | undefined;
|
|
6237
|
+
amBestRating?: string | undefined;
|
|
6238
|
+
amBestNumber?: string | undefined;
|
|
6239
|
+
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
6240
|
+
stateOfDomicile?: string | undefined;
|
|
6241
|
+
} | undefined;
|
|
6242
|
+
expirationDate?: string | undefined;
|
|
6243
|
+
summary?: string | undefined;
|
|
6244
|
+
linesOfBusiness?: string[] | undefined;
|
|
6245
|
+
coverageSchedules?: {
|
|
6246
|
+
name: string;
|
|
6247
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
6248
|
+
sourceSpanIds?: string[] | undefined;
|
|
6249
|
+
pageStart?: number | undefined;
|
|
6250
|
+
pageEnd?: number | undefined;
|
|
6251
|
+
description?: string | undefined;
|
|
6252
|
+
items?: {
|
|
6253
|
+
label: string;
|
|
6254
|
+
values?: {
|
|
6255
|
+
value: string;
|
|
6256
|
+
label: string;
|
|
6257
|
+
}[] | undefined;
|
|
6258
|
+
sourceSpanIds?: string[] | undefined;
|
|
6259
|
+
description?: string | undefined;
|
|
6260
|
+
}[] | undefined;
|
|
6261
|
+
}[] | undefined;
|
|
6262
|
+
premiumBreakdown?: {
|
|
6263
|
+
amount: string;
|
|
6264
|
+
line: string;
|
|
6265
|
+
sourceSpanIds?: string[] | undefined;
|
|
6266
|
+
documentNodeId?: string | undefined;
|
|
6267
|
+
sourceTextHash?: string | undefined;
|
|
6268
|
+
amountValue?: number | undefined;
|
|
6269
|
+
}[] | undefined;
|
|
6270
|
+
taxesAndFees?: {
|
|
6271
|
+
name: string;
|
|
6272
|
+
amount: string;
|
|
6273
|
+
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
6274
|
+
sourceSpanIds?: string[] | undefined;
|
|
6275
|
+
documentNodeId?: string | undefined;
|
|
6276
|
+
sourceTextHash?: string | undefined;
|
|
6277
|
+
amountValue?: number | undefined;
|
|
6278
|
+
description?: string | undefined;
|
|
6279
|
+
}[] | undefined;
|
|
6280
|
+
totalCost?: string | undefined;
|
|
6057
6281
|
formInventory?: {
|
|
6058
6282
|
formNumber: string;
|
|
6059
6283
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -6065,14 +6289,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6065
6289
|
title?: string | undefined;
|
|
6066
6290
|
editionDate?: string | undefined;
|
|
6067
6291
|
}[] | undefined;
|
|
6068
|
-
expirationDate?: string | undefined;
|
|
6069
6292
|
policyTermType?: "fixed" | "continuous" | undefined;
|
|
6070
6293
|
nextReviewDate?: string | undefined;
|
|
6071
6294
|
effectiveTime?: string | undefined;
|
|
6072
6295
|
security?: string | undefined;
|
|
6073
6296
|
premiumAmount?: number | undefined;
|
|
6074
|
-
summary?: string | undefined;
|
|
6075
|
-
linesOfBusiness?: string[] | undefined;
|
|
6076
6297
|
sections?: {
|
|
6077
6298
|
type: string;
|
|
6078
6299
|
pageStart: number;
|
|
@@ -6267,19 +6488,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6267
6488
|
corridorDeductible?: string | undefined;
|
|
6268
6489
|
waitingPeriod?: string | undefined;
|
|
6269
6490
|
} | undefined;
|
|
6270
|
-
insurer?: {
|
|
6271
|
-
sourceSpanIds: string[];
|
|
6272
|
-
legalName: string;
|
|
6273
|
-
documentNodeId?: string | undefined;
|
|
6274
|
-
sourceTextHash?: string | undefined;
|
|
6275
|
-
pageStart?: number | undefined;
|
|
6276
|
-
pageEnd?: number | undefined;
|
|
6277
|
-
naicNumber?: string | undefined;
|
|
6278
|
-
amBestRating?: string | undefined;
|
|
6279
|
-
amBestNumber?: string | undefined;
|
|
6280
|
-
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
6281
|
-
stateOfDomicile?: string | undefined;
|
|
6282
|
-
} | undefined;
|
|
6283
6491
|
producer?: {
|
|
6284
6492
|
sourceSpanIds: string[];
|
|
6285
6493
|
agencyName: string;
|
|
@@ -6423,17 +6631,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6423
6631
|
relationship?: string | undefined;
|
|
6424
6632
|
scope?: string | undefined;
|
|
6425
6633
|
}[] | undefined;
|
|
6426
|
-
taxesAndFees?: {
|
|
6427
|
-
name: string;
|
|
6428
|
-
amount: string;
|
|
6429
|
-
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
6430
|
-
sourceSpanIds?: string[] | undefined;
|
|
6431
|
-
documentNodeId?: string | undefined;
|
|
6432
|
-
sourceTextHash?: string | undefined;
|
|
6433
|
-
amountValue?: number | undefined;
|
|
6434
|
-
description?: string | undefined;
|
|
6435
|
-
}[] | undefined;
|
|
6436
|
-
totalCost?: string | undefined;
|
|
6437
6634
|
totalCostAmount?: number | undefined;
|
|
6438
6635
|
minimumPremium?: string | undefined;
|
|
6439
6636
|
minimumPremiumAmount?: number | undefined;
|
|
@@ -6511,28 +6708,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6511
6708
|
}, {
|
|
6512
6709
|
description: string;
|
|
6513
6710
|
}>, "many">>;
|
|
6514
|
-
premiumBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6515
|
-
line: z.ZodString;
|
|
6516
|
-
amount: z.ZodString;
|
|
6517
|
-
amountValue: z.ZodOptional<z.ZodNumber>;
|
|
6518
|
-
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
6519
|
-
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6520
|
-
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
6521
|
-
}, "strip", z.ZodTypeAny, {
|
|
6522
|
-
amount: string;
|
|
6523
|
-
line: string;
|
|
6524
|
-
sourceSpanIds?: string[] | undefined;
|
|
6525
|
-
documentNodeId?: string | undefined;
|
|
6526
|
-
sourceTextHash?: string | undefined;
|
|
6527
|
-
amountValue?: number | undefined;
|
|
6528
|
-
}, {
|
|
6529
|
-
amount: string;
|
|
6530
|
-
line: string;
|
|
6531
|
-
sourceSpanIds?: string[] | undefined;
|
|
6532
|
-
documentNodeId?: string | undefined;
|
|
6533
|
-
sourceTextHash?: string | undefined;
|
|
6534
|
-
amountValue?: number | undefined;
|
|
6535
|
-
}>, "many">>;
|
|
6536
6711
|
enrichedSubjectivities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6537
6712
|
description: z.ZodString;
|
|
6538
6713
|
category: z.ZodOptional<z.ZodEnum<["pre_binding", "post_binding", "information"]>>;
|
|
@@ -6589,6 +6764,28 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6589
6764
|
insuredName: z.ZodString;
|
|
6590
6765
|
premium: z.ZodOptional<z.ZodString>;
|
|
6591
6766
|
premiumAmount: z.ZodOptional<z.ZodNumber>;
|
|
6767
|
+
premiumBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6768
|
+
line: z.ZodString;
|
|
6769
|
+
amount: z.ZodString;
|
|
6770
|
+
amountValue: z.ZodOptional<z.ZodNumber>;
|
|
6771
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
6772
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6773
|
+
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
6774
|
+
}, "strip", z.ZodTypeAny, {
|
|
6775
|
+
amount: string;
|
|
6776
|
+
line: string;
|
|
6777
|
+
sourceSpanIds?: string[] | undefined;
|
|
6778
|
+
documentNodeId?: string | undefined;
|
|
6779
|
+
sourceTextHash?: string | undefined;
|
|
6780
|
+
amountValue?: number | undefined;
|
|
6781
|
+
}, {
|
|
6782
|
+
amount: string;
|
|
6783
|
+
line: string;
|
|
6784
|
+
sourceSpanIds?: string[] | undefined;
|
|
6785
|
+
documentNodeId?: string | undefined;
|
|
6786
|
+
sourceTextHash?: string | undefined;
|
|
6787
|
+
amountValue?: number | undefined;
|
|
6788
|
+
}>, "many">>;
|
|
6592
6789
|
summary: z.ZodOptional<z.ZodString>;
|
|
6593
6790
|
linesOfBusiness: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6594
6791
|
coverages: z.ZodArray<z.ZodObject<{
|
|
@@ -6717,16 +6914,16 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6717
6914
|
page: number;
|
|
6718
6915
|
sourceSpanIds?: string[] | undefined;
|
|
6719
6916
|
formNumber?: string | undefined;
|
|
6720
|
-
formTitle?: string | undefined;
|
|
6721
6917
|
label?: string | undefined;
|
|
6918
|
+
formTitle?: string | undefined;
|
|
6722
6919
|
sectionTitle?: string | undefined;
|
|
6723
6920
|
extractorNames?: string[] | undefined;
|
|
6724
6921
|
}, {
|
|
6725
6922
|
page: number;
|
|
6726
6923
|
sourceSpanIds?: string[] | undefined;
|
|
6727
6924
|
formNumber?: string | undefined;
|
|
6728
|
-
formTitle?: string | undefined;
|
|
6729
6925
|
label?: string | undefined;
|
|
6926
|
+
formTitle?: string | undefined;
|
|
6730
6927
|
sectionTitle?: string | undefined;
|
|
6731
6928
|
extractorNames?: string[] | undefined;
|
|
6732
6929
|
}>, "many">>;
|
|
@@ -6772,8 +6969,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6772
6969
|
page: number;
|
|
6773
6970
|
sourceSpanIds?: string[] | undefined;
|
|
6774
6971
|
formNumber?: string | undefined;
|
|
6775
|
-
formTitle?: string | undefined;
|
|
6776
6972
|
label?: string | undefined;
|
|
6973
|
+
formTitle?: string | undefined;
|
|
6777
6974
|
sectionTitle?: string | undefined;
|
|
6778
6975
|
extractorNames?: string[] | undefined;
|
|
6779
6976
|
}[] | undefined;
|
|
@@ -6809,8 +7006,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6809
7006
|
page: number;
|
|
6810
7007
|
sourceSpanIds?: string[] | undefined;
|
|
6811
7008
|
formNumber?: string | undefined;
|
|
6812
|
-
formTitle?: string | undefined;
|
|
6813
7009
|
label?: string | undefined;
|
|
7010
|
+
formTitle?: string | undefined;
|
|
6814
7011
|
sectionTitle?: string | undefined;
|
|
6815
7012
|
extractorNames?: string[] | undefined;
|
|
6816
7013
|
}[] | undefined;
|
|
@@ -7775,6 +7972,77 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
7775
7972
|
rate?: string | undefined;
|
|
7776
7973
|
locationNumber?: number | undefined;
|
|
7777
7974
|
}>, "many">>;
|
|
7975
|
+
coverageSchedules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7976
|
+
name: z.ZodString;
|
|
7977
|
+
kind: z.ZodEnum<["vehicle", "property", "location", "other"]>;
|
|
7978
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7979
|
+
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7980
|
+
label: z.ZodString;
|
|
7981
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7982
|
+
values: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7983
|
+
label: z.ZodString;
|
|
7984
|
+
value: z.ZodString;
|
|
7985
|
+
}, "strip", z.ZodTypeAny, {
|
|
7986
|
+
value: string;
|
|
7987
|
+
label: string;
|
|
7988
|
+
}, {
|
|
7989
|
+
value: string;
|
|
7990
|
+
label: string;
|
|
7991
|
+
}>, "many">>;
|
|
7992
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
7993
|
+
}, "strip", z.ZodTypeAny, {
|
|
7994
|
+
values: {
|
|
7995
|
+
value: string;
|
|
7996
|
+
label: string;
|
|
7997
|
+
}[];
|
|
7998
|
+
sourceSpanIds: string[];
|
|
7999
|
+
label: string;
|
|
8000
|
+
description?: string | undefined;
|
|
8001
|
+
}, {
|
|
8002
|
+
label: string;
|
|
8003
|
+
values?: {
|
|
8004
|
+
value: string;
|
|
8005
|
+
label: string;
|
|
8006
|
+
}[] | undefined;
|
|
8007
|
+
sourceSpanIds?: string[] | undefined;
|
|
8008
|
+
description?: string | undefined;
|
|
8009
|
+
}>, "many">>;
|
|
8010
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
8011
|
+
pageStart: z.ZodOptional<z.ZodNumber>;
|
|
8012
|
+
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
8013
|
+
}, "strip", z.ZodTypeAny, {
|
|
8014
|
+
sourceSpanIds: string[];
|
|
8015
|
+
name: string;
|
|
8016
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
8017
|
+
items: {
|
|
8018
|
+
values: {
|
|
8019
|
+
value: string;
|
|
8020
|
+
label: string;
|
|
8021
|
+
}[];
|
|
8022
|
+
sourceSpanIds: string[];
|
|
8023
|
+
label: string;
|
|
8024
|
+
description?: string | undefined;
|
|
8025
|
+
}[];
|
|
8026
|
+
pageStart?: number | undefined;
|
|
8027
|
+
pageEnd?: number | undefined;
|
|
8028
|
+
description?: string | undefined;
|
|
8029
|
+
}, {
|
|
8030
|
+
name: string;
|
|
8031
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
8032
|
+
sourceSpanIds?: string[] | undefined;
|
|
8033
|
+
pageStart?: number | undefined;
|
|
8034
|
+
pageEnd?: number | undefined;
|
|
8035
|
+
description?: string | undefined;
|
|
8036
|
+
items?: {
|
|
8037
|
+
label: string;
|
|
8038
|
+
values?: {
|
|
8039
|
+
value: string;
|
|
8040
|
+
label: string;
|
|
8041
|
+
}[] | undefined;
|
|
8042
|
+
sourceSpanIds?: string[] | undefined;
|
|
8043
|
+
description?: string | undefined;
|
|
8044
|
+
}[] | undefined;
|
|
8045
|
+
}>, "many">>;
|
|
7778
8046
|
formInventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7779
8047
|
formNumber: z.ZodString;
|
|
7780
8048
|
editionDate: z.ZodOptional<z.ZodString>;
|
|
@@ -10063,6 +10331,28 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10063
10331
|
amBestNumber: z.ZodOptional<z.ZodString>;
|
|
10064
10332
|
admittedStatus: z.ZodOptional<z.ZodEnum<["admitted", "non_admitted", "surplus_lines"]>>;
|
|
10065
10333
|
stateOfDomicile: z.ZodOptional<z.ZodString>;
|
|
10334
|
+
address: z.ZodOptional<z.ZodObject<{
|
|
10335
|
+
street1: z.ZodString;
|
|
10336
|
+
street2: z.ZodOptional<z.ZodString>;
|
|
10337
|
+
city: z.ZodString;
|
|
10338
|
+
state: z.ZodString;
|
|
10339
|
+
zip: z.ZodString;
|
|
10340
|
+
country: z.ZodOptional<z.ZodString>;
|
|
10341
|
+
}, "strip", z.ZodTypeAny, {
|
|
10342
|
+
street1: string;
|
|
10343
|
+
city: string;
|
|
10344
|
+
state: string;
|
|
10345
|
+
zip: string;
|
|
10346
|
+
street2?: string | undefined;
|
|
10347
|
+
country?: string | undefined;
|
|
10348
|
+
}, {
|
|
10349
|
+
street1: string;
|
|
10350
|
+
city: string;
|
|
10351
|
+
state: string;
|
|
10352
|
+
zip: string;
|
|
10353
|
+
street2?: string | undefined;
|
|
10354
|
+
country?: string | undefined;
|
|
10355
|
+
}>>;
|
|
10066
10356
|
} & {
|
|
10067
10357
|
sourceSpanIds: z.ZodArray<z.ZodString, "many">;
|
|
10068
10358
|
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
@@ -10076,6 +10366,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10076
10366
|
sourceTextHash?: string | undefined;
|
|
10077
10367
|
pageStart?: number | undefined;
|
|
10078
10368
|
pageEnd?: number | undefined;
|
|
10369
|
+
address?: {
|
|
10370
|
+
street1: string;
|
|
10371
|
+
city: string;
|
|
10372
|
+
state: string;
|
|
10373
|
+
zip: string;
|
|
10374
|
+
street2?: string | undefined;
|
|
10375
|
+
country?: string | undefined;
|
|
10376
|
+
} | undefined;
|
|
10079
10377
|
naicNumber?: string | undefined;
|
|
10080
10378
|
amBestRating?: string | undefined;
|
|
10081
10379
|
amBestNumber?: string | undefined;
|
|
@@ -10088,6 +10386,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10088
10386
|
sourceTextHash?: string | undefined;
|
|
10089
10387
|
pageStart?: number | undefined;
|
|
10090
10388
|
pageEnd?: number | undefined;
|
|
10389
|
+
address?: {
|
|
10390
|
+
street1: string;
|
|
10391
|
+
city: string;
|
|
10392
|
+
state: string;
|
|
10393
|
+
zip: string;
|
|
10394
|
+
street2?: string | undefined;
|
|
10395
|
+
country?: string | undefined;
|
|
10396
|
+
} | undefined;
|
|
10091
10397
|
naicNumber?: string | undefined;
|
|
10092
10398
|
amBestRating?: string | undefined;
|
|
10093
10399
|
amBestNumber?: string | undefined;
|
|
@@ -10849,8 +11155,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10849
11155
|
page: number;
|
|
10850
11156
|
sourceSpanIds?: string[] | undefined;
|
|
10851
11157
|
formNumber?: string | undefined;
|
|
10852
|
-
formTitle?: string | undefined;
|
|
10853
11158
|
label?: string | undefined;
|
|
11159
|
+
formTitle?: string | undefined;
|
|
10854
11160
|
sectionTitle?: string | undefined;
|
|
10855
11161
|
extractorNames?: string[] | undefined;
|
|
10856
11162
|
}[] | undefined;
|
|
@@ -11484,6 +11790,65 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11484
11790
|
supplementalYears?: number | undefined;
|
|
11485
11791
|
supplementalPremium?: string | undefined;
|
|
11486
11792
|
} | undefined;
|
|
11793
|
+
insurer?: {
|
|
11794
|
+
sourceSpanIds: string[];
|
|
11795
|
+
legalName: string;
|
|
11796
|
+
documentNodeId?: string | undefined;
|
|
11797
|
+
sourceTextHash?: string | undefined;
|
|
11798
|
+
pageStart?: number | undefined;
|
|
11799
|
+
pageEnd?: number | undefined;
|
|
11800
|
+
address?: {
|
|
11801
|
+
street1: string;
|
|
11802
|
+
city: string;
|
|
11803
|
+
state: string;
|
|
11804
|
+
zip: string;
|
|
11805
|
+
street2?: string | undefined;
|
|
11806
|
+
country?: string | undefined;
|
|
11807
|
+
} | undefined;
|
|
11808
|
+
naicNumber?: string | undefined;
|
|
11809
|
+
amBestRating?: string | undefined;
|
|
11810
|
+
amBestNumber?: string | undefined;
|
|
11811
|
+
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
11812
|
+
stateOfDomicile?: string | undefined;
|
|
11813
|
+
} | undefined;
|
|
11814
|
+
summary?: string | undefined;
|
|
11815
|
+
linesOfBusiness?: string[] | undefined;
|
|
11816
|
+
coverageSchedules?: {
|
|
11817
|
+
sourceSpanIds: string[];
|
|
11818
|
+
name: string;
|
|
11819
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
11820
|
+
items: {
|
|
11821
|
+
values: {
|
|
11822
|
+
value: string;
|
|
11823
|
+
label: string;
|
|
11824
|
+
}[];
|
|
11825
|
+
sourceSpanIds: string[];
|
|
11826
|
+
label: string;
|
|
11827
|
+
description?: string | undefined;
|
|
11828
|
+
}[];
|
|
11829
|
+
pageStart?: number | undefined;
|
|
11830
|
+
pageEnd?: number | undefined;
|
|
11831
|
+
description?: string | undefined;
|
|
11832
|
+
}[] | undefined;
|
|
11833
|
+
premiumBreakdown?: {
|
|
11834
|
+
amount: string;
|
|
11835
|
+
line: string;
|
|
11836
|
+
sourceSpanIds?: string[] | undefined;
|
|
11837
|
+
documentNodeId?: string | undefined;
|
|
11838
|
+
sourceTextHash?: string | undefined;
|
|
11839
|
+
amountValue?: number | undefined;
|
|
11840
|
+
}[] | undefined;
|
|
11841
|
+
taxesAndFees?: {
|
|
11842
|
+
name: string;
|
|
11843
|
+
amount: string;
|
|
11844
|
+
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
11845
|
+
sourceSpanIds?: string[] | undefined;
|
|
11846
|
+
documentNodeId?: string | undefined;
|
|
11847
|
+
sourceTextHash?: string | undefined;
|
|
11848
|
+
amountValue?: number | undefined;
|
|
11849
|
+
description?: string | undefined;
|
|
11850
|
+
}[] | undefined;
|
|
11851
|
+
totalCost?: string | undefined;
|
|
11487
11852
|
formInventory?: {
|
|
11488
11853
|
formNumber: string;
|
|
11489
11854
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -11497,8 +11862,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11497
11862
|
}[] | undefined;
|
|
11498
11863
|
security?: string | undefined;
|
|
11499
11864
|
premiumAmount?: number | undefined;
|
|
11500
|
-
summary?: string | undefined;
|
|
11501
|
-
linesOfBusiness?: string[] | undefined;
|
|
11502
11865
|
sections?: {
|
|
11503
11866
|
type: string;
|
|
11504
11867
|
pageStart: number;
|
|
@@ -11693,19 +12056,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11693
12056
|
corridorDeductible?: string | undefined;
|
|
11694
12057
|
waitingPeriod?: string | undefined;
|
|
11695
12058
|
} | undefined;
|
|
11696
|
-
insurer?: {
|
|
11697
|
-
sourceSpanIds: string[];
|
|
11698
|
-
legalName: string;
|
|
11699
|
-
documentNodeId?: string | undefined;
|
|
11700
|
-
sourceTextHash?: string | undefined;
|
|
11701
|
-
pageStart?: number | undefined;
|
|
11702
|
-
pageEnd?: number | undefined;
|
|
11703
|
-
naicNumber?: string | undefined;
|
|
11704
|
-
amBestRating?: string | undefined;
|
|
11705
|
-
amBestNumber?: string | undefined;
|
|
11706
|
-
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
11707
|
-
stateOfDomicile?: string | undefined;
|
|
11708
|
-
} | undefined;
|
|
11709
12059
|
producer?: {
|
|
11710
12060
|
sourceSpanIds: string[];
|
|
11711
12061
|
agencyName: string;
|
|
@@ -11849,17 +12199,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11849
12199
|
relationship?: string | undefined;
|
|
11850
12200
|
scope?: string | undefined;
|
|
11851
12201
|
}[] | undefined;
|
|
11852
|
-
taxesAndFees?: {
|
|
11853
|
-
name: string;
|
|
11854
|
-
amount: string;
|
|
11855
|
-
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
11856
|
-
sourceSpanIds?: string[] | undefined;
|
|
11857
|
-
documentNodeId?: string | undefined;
|
|
11858
|
-
sourceTextHash?: string | undefined;
|
|
11859
|
-
amountValue?: number | undefined;
|
|
11860
|
-
description?: string | undefined;
|
|
11861
|
-
}[] | undefined;
|
|
11862
|
-
totalCost?: string | undefined;
|
|
11863
12202
|
totalCostAmount?: number | undefined;
|
|
11864
12203
|
minimumPremium?: string | undefined;
|
|
11865
12204
|
minimumPremiumAmount?: number | undefined;
|
|
@@ -11924,14 +12263,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11924
12263
|
underwritingConditions?: {
|
|
11925
12264
|
description: string;
|
|
11926
12265
|
}[] | undefined;
|
|
11927
|
-
premiumBreakdown?: {
|
|
11928
|
-
amount: string;
|
|
11929
|
-
line: string;
|
|
11930
|
-
sourceSpanIds?: string[] | undefined;
|
|
11931
|
-
documentNodeId?: string | undefined;
|
|
11932
|
-
sourceTextHash?: string | undefined;
|
|
11933
|
-
amountValue?: number | undefined;
|
|
11934
|
-
}[] | undefined;
|
|
11935
12266
|
enrichedSubjectivities?: {
|
|
11936
12267
|
description: string;
|
|
11937
12268
|
status?: "open" | "satisfied" | "waived" | undefined;
|
|
@@ -12003,8 +12334,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
12003
12334
|
page: number;
|
|
12004
12335
|
sourceSpanIds?: string[] | undefined;
|
|
12005
12336
|
formNumber?: string | undefined;
|
|
12006
|
-
formTitle?: string | undefined;
|
|
12007
12337
|
label?: string | undefined;
|
|
12338
|
+
formTitle?: string | undefined;
|
|
12008
12339
|
sectionTitle?: string | undefined;
|
|
12009
12340
|
extractorNames?: string[] | undefined;
|
|
12010
12341
|
}[] | undefined;
|
|
@@ -12638,6 +12969,65 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
12638
12969
|
supplementalYears?: number | undefined;
|
|
12639
12970
|
supplementalPremium?: string | undefined;
|
|
12640
12971
|
} | undefined;
|
|
12972
|
+
insurer?: {
|
|
12973
|
+
sourceSpanIds: string[];
|
|
12974
|
+
legalName: string;
|
|
12975
|
+
documentNodeId?: string | undefined;
|
|
12976
|
+
sourceTextHash?: string | undefined;
|
|
12977
|
+
pageStart?: number | undefined;
|
|
12978
|
+
pageEnd?: number | undefined;
|
|
12979
|
+
address?: {
|
|
12980
|
+
street1: string;
|
|
12981
|
+
city: string;
|
|
12982
|
+
state: string;
|
|
12983
|
+
zip: string;
|
|
12984
|
+
street2?: string | undefined;
|
|
12985
|
+
country?: string | undefined;
|
|
12986
|
+
} | undefined;
|
|
12987
|
+
naicNumber?: string | undefined;
|
|
12988
|
+
amBestRating?: string | undefined;
|
|
12989
|
+
amBestNumber?: string | undefined;
|
|
12990
|
+
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
12991
|
+
stateOfDomicile?: string | undefined;
|
|
12992
|
+
} | undefined;
|
|
12993
|
+
summary?: string | undefined;
|
|
12994
|
+
linesOfBusiness?: string[] | undefined;
|
|
12995
|
+
coverageSchedules?: {
|
|
12996
|
+
name: string;
|
|
12997
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
12998
|
+
sourceSpanIds?: string[] | undefined;
|
|
12999
|
+
pageStart?: number | undefined;
|
|
13000
|
+
pageEnd?: number | undefined;
|
|
13001
|
+
description?: string | undefined;
|
|
13002
|
+
items?: {
|
|
13003
|
+
label: string;
|
|
13004
|
+
values?: {
|
|
13005
|
+
value: string;
|
|
13006
|
+
label: string;
|
|
13007
|
+
}[] | undefined;
|
|
13008
|
+
sourceSpanIds?: string[] | undefined;
|
|
13009
|
+
description?: string | undefined;
|
|
13010
|
+
}[] | undefined;
|
|
13011
|
+
}[] | undefined;
|
|
13012
|
+
premiumBreakdown?: {
|
|
13013
|
+
amount: string;
|
|
13014
|
+
line: string;
|
|
13015
|
+
sourceSpanIds?: string[] | undefined;
|
|
13016
|
+
documentNodeId?: string | undefined;
|
|
13017
|
+
sourceTextHash?: string | undefined;
|
|
13018
|
+
amountValue?: number | undefined;
|
|
13019
|
+
}[] | undefined;
|
|
13020
|
+
taxesAndFees?: {
|
|
13021
|
+
name: string;
|
|
13022
|
+
amount: string;
|
|
13023
|
+
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
13024
|
+
sourceSpanIds?: string[] | undefined;
|
|
13025
|
+
documentNodeId?: string | undefined;
|
|
13026
|
+
sourceTextHash?: string | undefined;
|
|
13027
|
+
amountValue?: number | undefined;
|
|
13028
|
+
description?: string | undefined;
|
|
13029
|
+
}[] | undefined;
|
|
13030
|
+
totalCost?: string | undefined;
|
|
12641
13031
|
formInventory?: {
|
|
12642
13032
|
formNumber: string;
|
|
12643
13033
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -12651,8 +13041,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
12651
13041
|
}[] | undefined;
|
|
12652
13042
|
security?: string | undefined;
|
|
12653
13043
|
premiumAmount?: number | undefined;
|
|
12654
|
-
summary?: string | undefined;
|
|
12655
|
-
linesOfBusiness?: string[] | undefined;
|
|
12656
13044
|
sections?: {
|
|
12657
13045
|
type: string;
|
|
12658
13046
|
pageStart: number;
|
|
@@ -12847,19 +13235,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
12847
13235
|
corridorDeductible?: string | undefined;
|
|
12848
13236
|
waitingPeriod?: string | undefined;
|
|
12849
13237
|
} | undefined;
|
|
12850
|
-
insurer?: {
|
|
12851
|
-
sourceSpanIds: string[];
|
|
12852
|
-
legalName: string;
|
|
12853
|
-
documentNodeId?: string | undefined;
|
|
12854
|
-
sourceTextHash?: string | undefined;
|
|
12855
|
-
pageStart?: number | undefined;
|
|
12856
|
-
pageEnd?: number | undefined;
|
|
12857
|
-
naicNumber?: string | undefined;
|
|
12858
|
-
amBestRating?: string | undefined;
|
|
12859
|
-
amBestNumber?: string | undefined;
|
|
12860
|
-
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
12861
|
-
stateOfDomicile?: string | undefined;
|
|
12862
|
-
} | undefined;
|
|
12863
13238
|
producer?: {
|
|
12864
13239
|
sourceSpanIds: string[];
|
|
12865
13240
|
agencyName: string;
|
|
@@ -13003,17 +13378,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
13003
13378
|
relationship?: string | undefined;
|
|
13004
13379
|
scope?: string | undefined;
|
|
13005
13380
|
}[] | undefined;
|
|
13006
|
-
taxesAndFees?: {
|
|
13007
|
-
name: string;
|
|
13008
|
-
amount: string;
|
|
13009
|
-
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
13010
|
-
sourceSpanIds?: string[] | undefined;
|
|
13011
|
-
documentNodeId?: string | undefined;
|
|
13012
|
-
sourceTextHash?: string | undefined;
|
|
13013
|
-
amountValue?: number | undefined;
|
|
13014
|
-
description?: string | undefined;
|
|
13015
|
-
}[] | undefined;
|
|
13016
|
-
totalCost?: string | undefined;
|
|
13017
13381
|
totalCostAmount?: number | undefined;
|
|
13018
13382
|
minimumPremium?: string | undefined;
|
|
13019
13383
|
minimumPremiumAmount?: number | undefined;
|
|
@@ -13078,14 +13442,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
13078
13442
|
underwritingConditions?: {
|
|
13079
13443
|
description: string;
|
|
13080
13444
|
}[] | undefined;
|
|
13081
|
-
premiumBreakdown?: {
|
|
13082
|
-
amount: string;
|
|
13083
|
-
line: string;
|
|
13084
|
-
sourceSpanIds?: string[] | undefined;
|
|
13085
|
-
documentNodeId?: string | undefined;
|
|
13086
|
-
sourceTextHash?: string | undefined;
|
|
13087
|
-
amountValue?: number | undefined;
|
|
13088
|
-
}[] | undefined;
|
|
13089
13445
|
enrichedSubjectivities?: {
|
|
13090
13446
|
description: string;
|
|
13091
13447
|
status?: "open" | "satisfied" | "waived" | undefined;
|
|
@@ -13251,24 +13607,14 @@ declare const SourceSpanSchema: z.ZodObject<{
|
|
|
13251
13607
|
}>>;
|
|
13252
13608
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
13253
13609
|
}, "strip", z.ZodTypeAny, {
|
|
13254
|
-
kind: "pdf_text" | "pdf_image" | "html" | "markdown" | "plain_text" | "structured_field";
|
|
13255
|
-
id: string;
|
|
13256
13610
|
text: string;
|
|
13611
|
+
id: string;
|
|
13257
13612
|
documentId: string;
|
|
13613
|
+
kind: "pdf_text" | "pdf_image" | "html" | "markdown" | "plain_text" | "structured_field";
|
|
13258
13614
|
hash: string;
|
|
13259
13615
|
pageStart?: number | undefined;
|
|
13260
13616
|
pageEnd?: number | undefined;
|
|
13261
13617
|
formNumber?: string | undefined;
|
|
13262
|
-
location?: {
|
|
13263
|
-
page?: number | undefined;
|
|
13264
|
-
startPage?: number | undefined;
|
|
13265
|
-
endPage?: number | undefined;
|
|
13266
|
-
charStart?: number | undefined;
|
|
13267
|
-
charEnd?: number | undefined;
|
|
13268
|
-
lineStart?: number | undefined;
|
|
13269
|
-
lineEnd?: number | undefined;
|
|
13270
|
-
fieldPath?: string | undefined;
|
|
13271
|
-
} | undefined;
|
|
13272
13618
|
table?: {
|
|
13273
13619
|
tableId?: string | undefined;
|
|
13274
13620
|
rowIndex?: number | undefined;
|
|
@@ -13291,16 +13637,6 @@ declare const SourceSpanSchema: z.ZodObject<{
|
|
|
13291
13637
|
width: number;
|
|
13292
13638
|
height: number;
|
|
13293
13639
|
}[] | undefined;
|
|
13294
|
-
metadata?: Record<string, string> | undefined;
|
|
13295
|
-
}, {
|
|
13296
|
-
kind: "pdf_text" | "pdf_image" | "html" | "markdown" | "plain_text" | "structured_field";
|
|
13297
|
-
id: string;
|
|
13298
|
-
text: string;
|
|
13299
|
-
documentId: string;
|
|
13300
|
-
hash: string;
|
|
13301
|
-
pageStart?: number | undefined;
|
|
13302
|
-
pageEnd?: number | undefined;
|
|
13303
|
-
formNumber?: string | undefined;
|
|
13304
13640
|
location?: {
|
|
13305
13641
|
page?: number | undefined;
|
|
13306
13642
|
startPage?: number | undefined;
|
|
@@ -13311,6 +13647,16 @@ declare const SourceSpanSchema: z.ZodObject<{
|
|
|
13311
13647
|
lineEnd?: number | undefined;
|
|
13312
13648
|
fieldPath?: string | undefined;
|
|
13313
13649
|
} | undefined;
|
|
13650
|
+
metadata?: Record<string, string> | undefined;
|
|
13651
|
+
}, {
|
|
13652
|
+
text: string;
|
|
13653
|
+
id: string;
|
|
13654
|
+
documentId: string;
|
|
13655
|
+
kind: "pdf_text" | "pdf_image" | "html" | "markdown" | "plain_text" | "structured_field";
|
|
13656
|
+
hash: string;
|
|
13657
|
+
pageStart?: number | undefined;
|
|
13658
|
+
pageEnd?: number | undefined;
|
|
13659
|
+
formNumber?: string | undefined;
|
|
13314
13660
|
table?: {
|
|
13315
13661
|
tableId?: string | undefined;
|
|
13316
13662
|
rowIndex?: number | undefined;
|
|
@@ -13333,6 +13679,16 @@ declare const SourceSpanSchema: z.ZodObject<{
|
|
|
13333
13679
|
width: number;
|
|
13334
13680
|
height: number;
|
|
13335
13681
|
}[] | undefined;
|
|
13682
|
+
location?: {
|
|
13683
|
+
page?: number | undefined;
|
|
13684
|
+
startPage?: number | undefined;
|
|
13685
|
+
endPage?: number | undefined;
|
|
13686
|
+
charStart?: number | undefined;
|
|
13687
|
+
charEnd?: number | undefined;
|
|
13688
|
+
lineStart?: number | undefined;
|
|
13689
|
+
lineEnd?: number | undefined;
|
|
13690
|
+
fieldPath?: string | undefined;
|
|
13691
|
+
} | undefined;
|
|
13336
13692
|
metadata?: Record<string, string> | undefined;
|
|
13337
13693
|
}>;
|
|
13338
13694
|
type SourceSpan = z.infer<typeof SourceSpanSchema>;
|
|
@@ -13347,8 +13703,8 @@ declare const SourceChunkSchema: z.ZodObject<{
|
|
|
13347
13703
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
13348
13704
|
}, "strip", z.ZodTypeAny, {
|
|
13349
13705
|
sourceSpanIds: string[];
|
|
13350
|
-
id: string;
|
|
13351
13706
|
text: string;
|
|
13707
|
+
id: string;
|
|
13352
13708
|
documentId: string;
|
|
13353
13709
|
textHash: string;
|
|
13354
13710
|
metadata: Record<string, string>;
|
|
@@ -13356,8 +13712,8 @@ declare const SourceChunkSchema: z.ZodObject<{
|
|
|
13356
13712
|
pageEnd?: number | undefined;
|
|
13357
13713
|
}, {
|
|
13358
13714
|
sourceSpanIds: string[];
|
|
13359
|
-
id: string;
|
|
13360
13715
|
text: string;
|
|
13716
|
+
id: string;
|
|
13361
13717
|
documentId: string;
|
|
13362
13718
|
textHash: string;
|
|
13363
13719
|
pageStart?: number | undefined;
|
|
@@ -13403,9 +13759,9 @@ declare const DocumentSourceNodeSchema: z.ZodObject<{
|
|
|
13403
13759
|
sourceSpanIds: string[];
|
|
13404
13760
|
title: string;
|
|
13405
13761
|
description: string;
|
|
13406
|
-
kind: "endorsement" | "schedule" | "page" | "section" | "table" | "table_row" | "table_cell" | "text" | "document" | "page_group" | "form" | "clause";
|
|
13407
13762
|
id: string;
|
|
13408
13763
|
documentId: string;
|
|
13764
|
+
kind: "endorsement" | "schedule" | "page" | "section" | "table" | "table_row" | "table_cell" | "text" | "document" | "page_group" | "form" | "clause";
|
|
13409
13765
|
order: number;
|
|
13410
13766
|
pageStart?: number | undefined;
|
|
13411
13767
|
pageEnd?: number | undefined;
|
|
@@ -13424,9 +13780,9 @@ declare const DocumentSourceNodeSchema: z.ZodObject<{
|
|
|
13424
13780
|
sourceSpanIds: string[];
|
|
13425
13781
|
title: string;
|
|
13426
13782
|
description: string;
|
|
13427
|
-
kind: "endorsement" | "schedule" | "page" | "section" | "table" | "table_row" | "table_cell" | "text" | "document" | "page_group" | "form" | "clause";
|
|
13428
13783
|
id: string;
|
|
13429
13784
|
documentId: string;
|
|
13785
|
+
kind: "endorsement" | "schedule" | "page" | "section" | "table" | "table_row" | "table_cell" | "text" | "document" | "page_group" | "form" | "clause";
|
|
13430
13786
|
order: number;
|
|
13431
13787
|
pageStart?: number | undefined;
|
|
13432
13788
|
pageEnd?: number | undefined;
|