@claritylabs/cl-sdk 1.3.8 → 2.0.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 +3 -1
- package/dist/index.d.mts +2119 -421
- package/dist/index.d.ts +2119 -421
- package/dist/index.js +387 -17
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +382 -17
- package/dist/index.mjs.map +1 -1
- package/dist/storage-sqlite.d.mts +874 -174
- package/dist/storage-sqlite.d.ts +874 -174
- package/package.json +2 -2
|
@@ -4,6 +4,25 @@ import Database from 'better-sqlite3';
|
|
|
4
4
|
/** Callback to generate embeddings for text. */
|
|
5
5
|
type EmbedText = (text: string) => Promise<number[]>;
|
|
6
6
|
|
|
7
|
+
type DocumentNode = {
|
|
8
|
+
id: string;
|
|
9
|
+
title: string;
|
|
10
|
+
originalTitle?: string;
|
|
11
|
+
type?: string;
|
|
12
|
+
label?: string;
|
|
13
|
+
level?: number;
|
|
14
|
+
sectionNumber?: string;
|
|
15
|
+
pageStart?: number;
|
|
16
|
+
pageEnd?: number;
|
|
17
|
+
formNumber?: string;
|
|
18
|
+
formTitle?: string;
|
|
19
|
+
excerpt?: string;
|
|
20
|
+
content?: string;
|
|
21
|
+
interpretationLabels?: string[];
|
|
22
|
+
sourceSpanIds?: string[];
|
|
23
|
+
sourceTextHash?: string;
|
|
24
|
+
children?: DocumentNode[];
|
|
25
|
+
};
|
|
7
26
|
declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
8
27
|
type: z.ZodLiteral<"policy">;
|
|
9
28
|
policyNumber: z.ZodString;
|
|
@@ -36,12 +55,16 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
36
55
|
sectionRef: z.ZodOptional<z.ZodString>;
|
|
37
56
|
originalContent: z.ZodOptional<z.ZodString>;
|
|
38
57
|
recordId: z.ZodOptional<z.ZodString>;
|
|
58
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
39
59
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
40
60
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
41
61
|
}, "strip", z.ZodTypeAny, {
|
|
42
62
|
name: string;
|
|
43
63
|
limit: string;
|
|
44
64
|
formNumber?: string | undefined;
|
|
65
|
+
documentNodeId?: string | undefined;
|
|
66
|
+
sourceSpanIds?: string[] | undefined;
|
|
67
|
+
sourceTextHash?: string | undefined;
|
|
45
68
|
deductible?: string | undefined;
|
|
46
69
|
limitAmount?: number | undefined;
|
|
47
70
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
@@ -54,12 +77,13 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
54
77
|
sectionRef?: string | undefined;
|
|
55
78
|
originalContent?: string | undefined;
|
|
56
79
|
recordId?: string | undefined;
|
|
57
|
-
sourceSpanIds?: string[] | undefined;
|
|
58
|
-
sourceTextHash?: string | undefined;
|
|
59
80
|
}, {
|
|
60
81
|
name: string;
|
|
61
82
|
limit: string;
|
|
62
83
|
formNumber?: string | undefined;
|
|
84
|
+
documentNodeId?: string | undefined;
|
|
85
|
+
sourceSpanIds?: string[] | undefined;
|
|
86
|
+
sourceTextHash?: string | undefined;
|
|
63
87
|
deductible?: string | undefined;
|
|
64
88
|
limitAmount?: number | undefined;
|
|
65
89
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
@@ -72,9 +96,174 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
72
96
|
sectionRef?: string | undefined;
|
|
73
97
|
originalContent?: string | undefined;
|
|
74
98
|
recordId?: string | undefined;
|
|
75
|
-
sourceSpanIds?: string[] | undefined;
|
|
76
|
-
sourceTextHash?: string | undefined;
|
|
77
99
|
}>, "many">;
|
|
100
|
+
documentMetadata: z.ZodObject<{
|
|
101
|
+
formInventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
102
|
+
formNumber: z.ZodString;
|
|
103
|
+
editionDate: z.ZodOptional<z.ZodString>;
|
|
104
|
+
title: z.ZodOptional<z.ZodString>;
|
|
105
|
+
formType: z.ZodEnum<["coverage", "endorsement", "declarations", "application", "notice", "other"]>;
|
|
106
|
+
pageStart: z.ZodOptional<z.ZodNumber>;
|
|
107
|
+
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
108
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
109
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
110
|
+
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
111
|
+
}, "strip", z.ZodTypeAny, {
|
|
112
|
+
formNumber: string;
|
|
113
|
+
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
114
|
+
title?: string | undefined;
|
|
115
|
+
editionDate?: string | undefined;
|
|
116
|
+
pageStart?: number | undefined;
|
|
117
|
+
pageEnd?: number | undefined;
|
|
118
|
+
documentNodeId?: string | undefined;
|
|
119
|
+
sourceSpanIds?: string[] | undefined;
|
|
120
|
+
sourceTextHash?: string | undefined;
|
|
121
|
+
}, {
|
|
122
|
+
formNumber: string;
|
|
123
|
+
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
124
|
+
title?: string | undefined;
|
|
125
|
+
editionDate?: string | undefined;
|
|
126
|
+
pageStart?: number | undefined;
|
|
127
|
+
pageEnd?: number | undefined;
|
|
128
|
+
documentNodeId?: string | undefined;
|
|
129
|
+
sourceSpanIds?: string[] | undefined;
|
|
130
|
+
sourceTextHash?: string | undefined;
|
|
131
|
+
}>, "many">>;
|
|
132
|
+
tableOfContents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
133
|
+
title: z.ZodString;
|
|
134
|
+
level: z.ZodOptional<z.ZodNumber>;
|
|
135
|
+
pageStart: z.ZodOptional<z.ZodNumber>;
|
|
136
|
+
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
137
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
138
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
139
|
+
}, "strip", z.ZodTypeAny, {
|
|
140
|
+
title: string;
|
|
141
|
+
pageStart?: number | undefined;
|
|
142
|
+
pageEnd?: number | undefined;
|
|
143
|
+
documentNodeId?: string | undefined;
|
|
144
|
+
sourceSpanIds?: string[] | undefined;
|
|
145
|
+
level?: number | undefined;
|
|
146
|
+
}, {
|
|
147
|
+
title: string;
|
|
148
|
+
pageStart?: number | undefined;
|
|
149
|
+
pageEnd?: number | undefined;
|
|
150
|
+
documentNodeId?: string | undefined;
|
|
151
|
+
sourceSpanIds?: string[] | undefined;
|
|
152
|
+
level?: number | undefined;
|
|
153
|
+
}>, "many">>;
|
|
154
|
+
pageMap: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
155
|
+
page: z.ZodNumber;
|
|
156
|
+
label: z.ZodOptional<z.ZodString>;
|
|
157
|
+
formNumber: z.ZodOptional<z.ZodString>;
|
|
158
|
+
formTitle: z.ZodOptional<z.ZodString>;
|
|
159
|
+
sectionTitle: z.ZodOptional<z.ZodString>;
|
|
160
|
+
extractorNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
161
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
162
|
+
}, "strip", z.ZodTypeAny, {
|
|
163
|
+
page: number;
|
|
164
|
+
formNumber?: string | undefined;
|
|
165
|
+
sourceSpanIds?: string[] | undefined;
|
|
166
|
+
formTitle?: string | undefined;
|
|
167
|
+
label?: string | undefined;
|
|
168
|
+
sectionTitle?: string | undefined;
|
|
169
|
+
extractorNames?: string[] | undefined;
|
|
170
|
+
}, {
|
|
171
|
+
page: number;
|
|
172
|
+
formNumber?: string | undefined;
|
|
173
|
+
sourceSpanIds?: string[] | undefined;
|
|
174
|
+
formTitle?: string | undefined;
|
|
175
|
+
label?: string | undefined;
|
|
176
|
+
sectionTitle?: string | undefined;
|
|
177
|
+
extractorNames?: string[] | undefined;
|
|
178
|
+
}>, "many">>;
|
|
179
|
+
agentGuidance: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
180
|
+
kind: z.ZodString;
|
|
181
|
+
title: z.ZodString;
|
|
182
|
+
detail: z.ZodString;
|
|
183
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
184
|
+
}, "strip", z.ZodTypeAny, {
|
|
185
|
+
title: string;
|
|
186
|
+
kind: string;
|
|
187
|
+
detail: string;
|
|
188
|
+
sourceSpanIds?: string[] | undefined;
|
|
189
|
+
}, {
|
|
190
|
+
title: string;
|
|
191
|
+
kind: string;
|
|
192
|
+
detail: string;
|
|
193
|
+
sourceSpanIds?: string[] | undefined;
|
|
194
|
+
}>, "many">>;
|
|
195
|
+
}, "strip", z.ZodTypeAny, {
|
|
196
|
+
formInventory?: {
|
|
197
|
+
formNumber: string;
|
|
198
|
+
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
199
|
+
title?: string | undefined;
|
|
200
|
+
editionDate?: string | undefined;
|
|
201
|
+
pageStart?: number | undefined;
|
|
202
|
+
pageEnd?: number | undefined;
|
|
203
|
+
documentNodeId?: string | undefined;
|
|
204
|
+
sourceSpanIds?: string[] | undefined;
|
|
205
|
+
sourceTextHash?: string | undefined;
|
|
206
|
+
}[] | undefined;
|
|
207
|
+
tableOfContents?: {
|
|
208
|
+
title: string;
|
|
209
|
+
pageStart?: number | undefined;
|
|
210
|
+
pageEnd?: number | undefined;
|
|
211
|
+
documentNodeId?: string | undefined;
|
|
212
|
+
sourceSpanIds?: string[] | undefined;
|
|
213
|
+
level?: number | undefined;
|
|
214
|
+
}[] | undefined;
|
|
215
|
+
pageMap?: {
|
|
216
|
+
page: number;
|
|
217
|
+
formNumber?: string | undefined;
|
|
218
|
+
sourceSpanIds?: string[] | undefined;
|
|
219
|
+
formTitle?: string | undefined;
|
|
220
|
+
label?: string | undefined;
|
|
221
|
+
sectionTitle?: string | undefined;
|
|
222
|
+
extractorNames?: string[] | undefined;
|
|
223
|
+
}[] | undefined;
|
|
224
|
+
agentGuidance?: {
|
|
225
|
+
title: string;
|
|
226
|
+
kind: string;
|
|
227
|
+
detail: string;
|
|
228
|
+
sourceSpanIds?: string[] | undefined;
|
|
229
|
+
}[] | undefined;
|
|
230
|
+
}, {
|
|
231
|
+
formInventory?: {
|
|
232
|
+
formNumber: string;
|
|
233
|
+
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
234
|
+
title?: string | undefined;
|
|
235
|
+
editionDate?: string | undefined;
|
|
236
|
+
pageStart?: number | undefined;
|
|
237
|
+
pageEnd?: number | undefined;
|
|
238
|
+
documentNodeId?: string | undefined;
|
|
239
|
+
sourceSpanIds?: string[] | undefined;
|
|
240
|
+
sourceTextHash?: string | undefined;
|
|
241
|
+
}[] | undefined;
|
|
242
|
+
tableOfContents?: {
|
|
243
|
+
title: string;
|
|
244
|
+
pageStart?: number | undefined;
|
|
245
|
+
pageEnd?: number | undefined;
|
|
246
|
+
documentNodeId?: string | undefined;
|
|
247
|
+
sourceSpanIds?: string[] | undefined;
|
|
248
|
+
level?: number | undefined;
|
|
249
|
+
}[] | undefined;
|
|
250
|
+
pageMap?: {
|
|
251
|
+
page: number;
|
|
252
|
+
formNumber?: string | undefined;
|
|
253
|
+
sourceSpanIds?: string[] | undefined;
|
|
254
|
+
formTitle?: string | undefined;
|
|
255
|
+
label?: string | undefined;
|
|
256
|
+
sectionTitle?: string | undefined;
|
|
257
|
+
extractorNames?: string[] | undefined;
|
|
258
|
+
}[] | undefined;
|
|
259
|
+
agentGuidance?: {
|
|
260
|
+
title: string;
|
|
261
|
+
kind: string;
|
|
262
|
+
detail: string;
|
|
263
|
+
sourceSpanIds?: string[] | undefined;
|
|
264
|
+
}[] | undefined;
|
|
265
|
+
}>;
|
|
266
|
+
documentOutline: z.ZodArray<z.ZodType<DocumentNode, z.ZodTypeDef, DocumentNode>, "many">;
|
|
78
267
|
sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
79
268
|
title: z.ZodString;
|
|
80
269
|
sectionNumber: z.ZodOptional<z.ZodString>;
|
|
@@ -90,26 +279,30 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
90
279
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
91
280
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
92
281
|
content: z.ZodOptional<z.ZodString>;
|
|
282
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
93
283
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
94
284
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
95
285
|
}, "strip", z.ZodTypeAny, {
|
|
96
286
|
title: string;
|
|
97
|
-
|
|
287
|
+
documentNodeId?: string | undefined;
|
|
98
288
|
sourceSpanIds?: string[] | undefined;
|
|
99
289
|
sourceTextHash?: string | undefined;
|
|
290
|
+
pageNumber?: number | undefined;
|
|
100
291
|
excerpt?: string | undefined;
|
|
101
292
|
content?: string | undefined;
|
|
102
293
|
sectionNumber?: string | undefined;
|
|
103
294
|
}, {
|
|
104
295
|
title: string;
|
|
105
|
-
|
|
296
|
+
documentNodeId?: string | undefined;
|
|
106
297
|
sourceSpanIds?: string[] | undefined;
|
|
107
298
|
sourceTextHash?: string | undefined;
|
|
299
|
+
pageNumber?: number | undefined;
|
|
108
300
|
excerpt?: string | undefined;
|
|
109
301
|
content?: string | undefined;
|
|
110
302
|
sectionNumber?: string | undefined;
|
|
111
303
|
}>, "many">>;
|
|
112
304
|
recordId: z.ZodOptional<z.ZodString>;
|
|
305
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
113
306
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
114
307
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
115
308
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -117,18 +310,20 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
117
310
|
type: string;
|
|
118
311
|
pageStart: number;
|
|
119
312
|
pageEnd?: number | undefined;
|
|
120
|
-
|
|
313
|
+
documentNodeId?: string | undefined;
|
|
121
314
|
sourceSpanIds?: string[] | undefined;
|
|
122
315
|
sourceTextHash?: string | undefined;
|
|
316
|
+
recordId?: string | undefined;
|
|
123
317
|
excerpt?: string | undefined;
|
|
124
318
|
content?: string | undefined;
|
|
125
319
|
sectionNumber?: string | undefined;
|
|
126
320
|
coverageType?: string | undefined;
|
|
127
321
|
subsections?: {
|
|
128
322
|
title: string;
|
|
129
|
-
|
|
323
|
+
documentNodeId?: string | undefined;
|
|
130
324
|
sourceSpanIds?: string[] | undefined;
|
|
131
325
|
sourceTextHash?: string | undefined;
|
|
326
|
+
pageNumber?: number | undefined;
|
|
132
327
|
excerpt?: string | undefined;
|
|
133
328
|
content?: string | undefined;
|
|
134
329
|
sectionNumber?: string | undefined;
|
|
@@ -138,18 +333,20 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
138
333
|
type: string;
|
|
139
334
|
pageStart: number;
|
|
140
335
|
pageEnd?: number | undefined;
|
|
141
|
-
|
|
336
|
+
documentNodeId?: string | undefined;
|
|
142
337
|
sourceSpanIds?: string[] | undefined;
|
|
143
338
|
sourceTextHash?: string | undefined;
|
|
339
|
+
recordId?: string | undefined;
|
|
144
340
|
excerpt?: string | undefined;
|
|
145
341
|
content?: string | undefined;
|
|
146
342
|
sectionNumber?: string | undefined;
|
|
147
343
|
coverageType?: string | undefined;
|
|
148
344
|
subsections?: {
|
|
149
345
|
title: string;
|
|
150
|
-
|
|
346
|
+
documentNodeId?: string | undefined;
|
|
151
347
|
sourceSpanIds?: string[] | undefined;
|
|
152
348
|
sourceTextHash?: string | undefined;
|
|
349
|
+
pageNumber?: number | undefined;
|
|
153
350
|
excerpt?: string | undefined;
|
|
154
351
|
content?: string | undefined;
|
|
155
352
|
sectionNumber?: string | undefined;
|
|
@@ -164,29 +361,32 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
164
361
|
sectionRef: z.ZodOptional<z.ZodString>;
|
|
165
362
|
originalContent: z.ZodOptional<z.ZodString>;
|
|
166
363
|
recordId: z.ZodOptional<z.ZodString>;
|
|
364
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
167
365
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
168
366
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
169
367
|
}, "strip", z.ZodTypeAny, {
|
|
170
368
|
definition: string;
|
|
171
369
|
term: string;
|
|
172
370
|
formNumber?: string | undefined;
|
|
371
|
+
documentNodeId?: string | undefined;
|
|
372
|
+
sourceSpanIds?: string[] | undefined;
|
|
373
|
+
sourceTextHash?: string | undefined;
|
|
173
374
|
pageNumber?: number | undefined;
|
|
174
375
|
sectionRef?: string | undefined;
|
|
175
376
|
originalContent?: string | undefined;
|
|
176
377
|
recordId?: string | undefined;
|
|
177
|
-
sourceSpanIds?: string[] | undefined;
|
|
178
|
-
sourceTextHash?: string | undefined;
|
|
179
378
|
formTitle?: string | undefined;
|
|
180
379
|
}, {
|
|
181
380
|
definition: string;
|
|
182
381
|
term: string;
|
|
183
382
|
formNumber?: string | undefined;
|
|
383
|
+
documentNodeId?: string | undefined;
|
|
384
|
+
sourceSpanIds?: string[] | undefined;
|
|
385
|
+
sourceTextHash?: string | undefined;
|
|
184
386
|
pageNumber?: number | undefined;
|
|
185
387
|
sectionRef?: string | undefined;
|
|
186
388
|
originalContent?: string | undefined;
|
|
187
389
|
recordId?: string | undefined;
|
|
188
|
-
sourceSpanIds?: string[] | undefined;
|
|
189
|
-
sourceTextHash?: string | undefined;
|
|
190
390
|
formTitle?: string | undefined;
|
|
191
391
|
}>, "many">>;
|
|
192
392
|
coveredReasons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -203,6 +403,7 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
203
403
|
sectionRef: z.ZodOptional<z.ZodString>;
|
|
204
404
|
originalContent: z.ZodOptional<z.ZodString>;
|
|
205
405
|
recordId: z.ZodOptional<z.ZodString>;
|
|
406
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
206
407
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
207
408
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
208
409
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -211,13 +412,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
211
412
|
title?: string | undefined;
|
|
212
413
|
conditions?: string[] | undefined;
|
|
213
414
|
formNumber?: string | undefined;
|
|
415
|
+
documentNodeId?: string | undefined;
|
|
416
|
+
sourceSpanIds?: string[] | undefined;
|
|
417
|
+
sourceTextHash?: string | undefined;
|
|
214
418
|
appliesTo?: string[] | undefined;
|
|
215
419
|
pageNumber?: number | undefined;
|
|
216
420
|
sectionRef?: string | undefined;
|
|
217
421
|
originalContent?: string | undefined;
|
|
218
422
|
recordId?: string | undefined;
|
|
219
|
-
sourceSpanIds?: string[] | undefined;
|
|
220
|
-
sourceTextHash?: string | undefined;
|
|
221
423
|
exceptions?: string[] | undefined;
|
|
222
424
|
formTitle?: string | undefined;
|
|
223
425
|
reasonNumber?: string | undefined;
|
|
@@ -227,13 +429,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
227
429
|
title?: string | undefined;
|
|
228
430
|
conditions?: string[] | undefined;
|
|
229
431
|
formNumber?: string | undefined;
|
|
432
|
+
documentNodeId?: string | undefined;
|
|
433
|
+
sourceSpanIds?: string[] | undefined;
|
|
434
|
+
sourceTextHash?: string | undefined;
|
|
230
435
|
appliesTo?: string[] | undefined;
|
|
231
436
|
pageNumber?: number | undefined;
|
|
232
437
|
sectionRef?: string | undefined;
|
|
233
438
|
originalContent?: string | undefined;
|
|
234
439
|
recordId?: string | undefined;
|
|
235
|
-
sourceSpanIds?: string[] | undefined;
|
|
236
|
-
sourceTextHash?: string | undefined;
|
|
237
440
|
exceptions?: string[] | undefined;
|
|
238
441
|
formTitle?: string | undefined;
|
|
239
442
|
reasonNumber?: string | undefined;
|
|
@@ -352,6 +555,7 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
352
555
|
sectionRef: z.ZodOptional<z.ZodString>;
|
|
353
556
|
originalContent: z.ZodOptional<z.ZodString>;
|
|
354
557
|
recordId: z.ZodOptional<z.ZodString>;
|
|
558
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
355
559
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
356
560
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
357
561
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -359,6 +563,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
359
563
|
limit: string;
|
|
360
564
|
included: boolean;
|
|
361
565
|
formNumber?: string | undefined;
|
|
566
|
+
documentNodeId?: string | undefined;
|
|
567
|
+
sourceSpanIds?: string[] | undefined;
|
|
568
|
+
sourceTextHash?: string | undefined;
|
|
362
569
|
deductible?: string | undefined;
|
|
363
570
|
limitAmount?: number | undefined;
|
|
364
571
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
@@ -371,8 +578,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
371
578
|
sectionRef?: string | undefined;
|
|
372
579
|
originalContent?: string | undefined;
|
|
373
580
|
recordId?: string | undefined;
|
|
374
|
-
sourceSpanIds?: string[] | undefined;
|
|
375
|
-
sourceTextHash?: string | undefined;
|
|
376
581
|
coverageCode?: string | undefined;
|
|
377
582
|
formEditionDate?: string | undefined;
|
|
378
583
|
deductibleType?: "per_occurrence" | "per_claim" | "aggregate" | "percentage" | "waiting_period" | undefined;
|
|
@@ -387,6 +592,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
387
592
|
limit: string;
|
|
388
593
|
included: boolean;
|
|
389
594
|
formNumber?: string | undefined;
|
|
595
|
+
documentNodeId?: string | undefined;
|
|
596
|
+
sourceSpanIds?: string[] | undefined;
|
|
597
|
+
sourceTextHash?: string | undefined;
|
|
390
598
|
deductible?: string | undefined;
|
|
391
599
|
limitAmount?: number | undefined;
|
|
392
600
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
@@ -399,8 +607,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
399
607
|
sectionRef?: string | undefined;
|
|
400
608
|
originalContent?: string | undefined;
|
|
401
609
|
recordId?: string | undefined;
|
|
402
|
-
sourceSpanIds?: string[] | undefined;
|
|
403
|
-
sourceTextHash?: string | undefined;
|
|
404
610
|
coverageCode?: string | undefined;
|
|
405
611
|
formEditionDate?: string | undefined;
|
|
406
612
|
deductibleType?: "per_occurrence" | "per_claim" | "aggregate" | "percentage" | "waiting_period" | undefined;
|
|
@@ -479,6 +685,7 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
479
685
|
pageStart: z.ZodNumber;
|
|
480
686
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
481
687
|
recordId: z.ZodOptional<z.ZodString>;
|
|
688
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
482
689
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
483
690
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
484
691
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -488,9 +695,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
488
695
|
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";
|
|
489
696
|
editionDate?: string | undefined;
|
|
490
697
|
pageEnd?: number | undefined;
|
|
491
|
-
|
|
698
|
+
documentNodeId?: string | undefined;
|
|
492
699
|
sourceSpanIds?: string[] | undefined;
|
|
493
700
|
sourceTextHash?: string | undefined;
|
|
701
|
+
recordId?: string | undefined;
|
|
494
702
|
effectiveDate?: string | undefined;
|
|
495
703
|
affectedCoverageParts?: string[] | undefined;
|
|
496
704
|
namedParties?: {
|
|
@@ -518,9 +726,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
518
726
|
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";
|
|
519
727
|
editionDate?: string | undefined;
|
|
520
728
|
pageEnd?: number | undefined;
|
|
521
|
-
|
|
729
|
+
documentNodeId?: string | undefined;
|
|
522
730
|
sourceSpanIds?: string[] | undefined;
|
|
523
731
|
sourceTextHash?: string | undefined;
|
|
732
|
+
recordId?: string | undefined;
|
|
524
733
|
effectiveDate?: string | undefined;
|
|
525
734
|
affectedCoverageParts?: string[] | undefined;
|
|
526
735
|
namedParties?: {
|
|
@@ -554,17 +763,19 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
554
763
|
content: z.ZodString;
|
|
555
764
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
556
765
|
recordId: z.ZodOptional<z.ZodString>;
|
|
766
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
557
767
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
558
768
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
559
769
|
}, "strip", z.ZodTypeAny, {
|
|
560
770
|
name: string;
|
|
561
771
|
content: string;
|
|
562
772
|
formNumber?: string | undefined;
|
|
773
|
+
documentNodeId?: string | undefined;
|
|
774
|
+
sourceSpanIds?: string[] | undefined;
|
|
775
|
+
sourceTextHash?: string | undefined;
|
|
563
776
|
appliesTo?: string[] | undefined;
|
|
564
777
|
pageNumber?: number | undefined;
|
|
565
778
|
recordId?: string | undefined;
|
|
566
|
-
sourceSpanIds?: string[] | undefined;
|
|
567
|
-
sourceTextHash?: string | undefined;
|
|
568
779
|
excludedPerils?: string[] | undefined;
|
|
569
780
|
isAbsolute?: boolean | undefined;
|
|
570
781
|
exceptions?: string[] | undefined;
|
|
@@ -574,11 +785,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
574
785
|
name: string;
|
|
575
786
|
content: string;
|
|
576
787
|
formNumber?: string | undefined;
|
|
788
|
+
documentNodeId?: string | undefined;
|
|
789
|
+
sourceSpanIds?: string[] | undefined;
|
|
790
|
+
sourceTextHash?: string | undefined;
|
|
577
791
|
appliesTo?: string[] | undefined;
|
|
578
792
|
pageNumber?: number | undefined;
|
|
579
793
|
recordId?: string | undefined;
|
|
580
|
-
sourceSpanIds?: string[] | undefined;
|
|
581
|
-
sourceTextHash?: string | undefined;
|
|
582
794
|
excludedPerils?: string[] | undefined;
|
|
583
795
|
isAbsolute?: boolean | undefined;
|
|
584
796
|
exceptions?: string[] | undefined;
|
|
@@ -601,16 +813,18 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
601
813
|
}>, "many">>;
|
|
602
814
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
603
815
|
recordId: z.ZodOptional<z.ZodString>;
|
|
816
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
604
817
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
605
818
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
606
819
|
}, "strip", z.ZodTypeAny, {
|
|
607
820
|
name: string;
|
|
608
821
|
content: string;
|
|
609
822
|
conditionType: "other" | "duties_after_loss" | "notice_requirements" | "other_insurance" | "cancellation" | "nonrenewal" | "transfer_of_rights" | "liberalization" | "arbitration" | "concealment_fraud" | "examination_under_oath" | "legal_action" | "loss_payment" | "appraisal" | "mortgage_holders" | "policy_territory" | "separation_of_insureds";
|
|
610
|
-
|
|
611
|
-
recordId?: string | undefined;
|
|
823
|
+
documentNodeId?: string | undefined;
|
|
612
824
|
sourceSpanIds?: string[] | undefined;
|
|
613
825
|
sourceTextHash?: string | undefined;
|
|
826
|
+
pageNumber?: number | undefined;
|
|
827
|
+
recordId?: string | undefined;
|
|
614
828
|
keyValues?: {
|
|
615
829
|
value: string;
|
|
616
830
|
key: string;
|
|
@@ -619,10 +833,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
619
833
|
name: string;
|
|
620
834
|
content: string;
|
|
621
835
|
conditionType: "other" | "duties_after_loss" | "notice_requirements" | "other_insurance" | "cancellation" | "nonrenewal" | "transfer_of_rights" | "liberalization" | "arbitration" | "concealment_fraud" | "examination_under_oath" | "legal_action" | "loss_payment" | "appraisal" | "mortgage_holders" | "policy_territory" | "separation_of_insureds";
|
|
622
|
-
|
|
623
|
-
recordId?: string | undefined;
|
|
836
|
+
documentNodeId?: string | undefined;
|
|
624
837
|
sourceSpanIds?: string[] | undefined;
|
|
625
838
|
sourceTextHash?: string | undefined;
|
|
839
|
+
pageNumber?: number | undefined;
|
|
840
|
+
recordId?: string | undefined;
|
|
626
841
|
keyValues?: {
|
|
627
842
|
value: string;
|
|
628
843
|
key: string;
|
|
@@ -951,6 +1166,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
951
1166
|
formType: z.ZodEnum<["coverage", "endorsement", "declarations", "application", "notice", "other"]>;
|
|
952
1167
|
pageStart: z.ZodOptional<z.ZodNumber>;
|
|
953
1168
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
1169
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
1170
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1171
|
+
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
954
1172
|
}, "strip", z.ZodTypeAny, {
|
|
955
1173
|
formNumber: string;
|
|
956
1174
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -958,6 +1176,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
958
1176
|
editionDate?: string | undefined;
|
|
959
1177
|
pageStart?: number | undefined;
|
|
960
1178
|
pageEnd?: number | undefined;
|
|
1179
|
+
documentNodeId?: string | undefined;
|
|
1180
|
+
sourceSpanIds?: string[] | undefined;
|
|
1181
|
+
sourceTextHash?: string | undefined;
|
|
961
1182
|
}, {
|
|
962
1183
|
formNumber: string;
|
|
963
1184
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -965,6 +1186,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
965
1186
|
editionDate?: string | undefined;
|
|
966
1187
|
pageStart?: number | undefined;
|
|
967
1188
|
pageEnd?: number | undefined;
|
|
1189
|
+
documentNodeId?: string | undefined;
|
|
1190
|
+
sourceSpanIds?: string[] | undefined;
|
|
1191
|
+
sourceTextHash?: string | undefined;
|
|
968
1192
|
}>, "many">>;
|
|
969
1193
|
declarations: z.ZodOptional<z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
|
|
970
1194
|
line: z.ZodLiteral<"homeowners">;
|
|
@@ -3564,16 +3788,25 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3564
3788
|
amountValue: z.ZodOptional<z.ZodNumber>;
|
|
3565
3789
|
type: z.ZodOptional<z.ZodEnum<["tax", "fee", "surcharge", "assessment"]>>;
|
|
3566
3790
|
description: z.ZodOptional<z.ZodString>;
|
|
3791
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
3792
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3793
|
+
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
3567
3794
|
}, "strip", z.ZodTypeAny, {
|
|
3568
3795
|
name: string;
|
|
3569
3796
|
amount: string;
|
|
3570
3797
|
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
3798
|
+
documentNodeId?: string | undefined;
|
|
3799
|
+
sourceSpanIds?: string[] | undefined;
|
|
3800
|
+
sourceTextHash?: string | undefined;
|
|
3571
3801
|
amountValue?: number | undefined;
|
|
3572
3802
|
description?: string | undefined;
|
|
3573
3803
|
}, {
|
|
3574
3804
|
name: string;
|
|
3575
3805
|
amount: string;
|
|
3576
3806
|
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
3807
|
+
documentNodeId?: string | undefined;
|
|
3808
|
+
sourceSpanIds?: string[] | undefined;
|
|
3809
|
+
sourceTextHash?: string | undefined;
|
|
3577
3810
|
amountValue?: number | undefined;
|
|
3578
3811
|
description?: string | undefined;
|
|
3579
3812
|
}>, "many">>;
|
|
@@ -3713,14 +3946,23 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3713
3946
|
value: z.ZodString;
|
|
3714
3947
|
subject: z.ZodOptional<z.ZodString>;
|
|
3715
3948
|
context: z.ZodOptional<z.ZodString>;
|
|
3949
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
3950
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3951
|
+
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
3716
3952
|
}, "strip", z.ZodTypeAny, {
|
|
3717
3953
|
value: string;
|
|
3718
3954
|
key: string;
|
|
3955
|
+
documentNodeId?: string | undefined;
|
|
3956
|
+
sourceSpanIds?: string[] | undefined;
|
|
3957
|
+
sourceTextHash?: string | undefined;
|
|
3719
3958
|
subject?: string | undefined;
|
|
3720
3959
|
context?: string | undefined;
|
|
3721
3960
|
}, {
|
|
3722
3961
|
value: string;
|
|
3723
3962
|
key: string;
|
|
3963
|
+
documentNodeId?: string | undefined;
|
|
3964
|
+
sourceSpanIds?: string[] | undefined;
|
|
3965
|
+
sourceTextHash?: string | undefined;
|
|
3724
3966
|
subject?: string | undefined;
|
|
3725
3967
|
context?: string | undefined;
|
|
3726
3968
|
}>, "many">>;
|
|
@@ -3731,6 +3973,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3731
3973
|
name: string;
|
|
3732
3974
|
limit: string;
|
|
3733
3975
|
formNumber?: string | undefined;
|
|
3976
|
+
documentNodeId?: string | undefined;
|
|
3977
|
+
sourceSpanIds?: string[] | undefined;
|
|
3978
|
+
sourceTextHash?: string | undefined;
|
|
3734
3979
|
deductible?: string | undefined;
|
|
3735
3980
|
limitAmount?: number | undefined;
|
|
3736
3981
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
@@ -3743,13 +3988,48 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3743
3988
|
sectionRef?: string | undefined;
|
|
3744
3989
|
originalContent?: string | undefined;
|
|
3745
3990
|
recordId?: string | undefined;
|
|
3746
|
-
sourceSpanIds?: string[] | undefined;
|
|
3747
|
-
sourceTextHash?: string | undefined;
|
|
3748
3991
|
}[];
|
|
3749
3992
|
carrier: string;
|
|
3750
3993
|
policyNumber: string;
|
|
3751
3994
|
id: string;
|
|
3752
3995
|
insuredName: string;
|
|
3996
|
+
documentMetadata: {
|
|
3997
|
+
formInventory?: {
|
|
3998
|
+
formNumber: string;
|
|
3999
|
+
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
4000
|
+
title?: string | undefined;
|
|
4001
|
+
editionDate?: string | undefined;
|
|
4002
|
+
pageStart?: number | undefined;
|
|
4003
|
+
pageEnd?: number | undefined;
|
|
4004
|
+
documentNodeId?: string | undefined;
|
|
4005
|
+
sourceSpanIds?: string[] | undefined;
|
|
4006
|
+
sourceTextHash?: string | undefined;
|
|
4007
|
+
}[] | undefined;
|
|
4008
|
+
tableOfContents?: {
|
|
4009
|
+
title: string;
|
|
4010
|
+
pageStart?: number | undefined;
|
|
4011
|
+
pageEnd?: number | undefined;
|
|
4012
|
+
documentNodeId?: string | undefined;
|
|
4013
|
+
sourceSpanIds?: string[] | undefined;
|
|
4014
|
+
level?: number | undefined;
|
|
4015
|
+
}[] | undefined;
|
|
4016
|
+
pageMap?: {
|
|
4017
|
+
page: number;
|
|
4018
|
+
formNumber?: string | undefined;
|
|
4019
|
+
sourceSpanIds?: string[] | undefined;
|
|
4020
|
+
formTitle?: string | undefined;
|
|
4021
|
+
label?: string | undefined;
|
|
4022
|
+
sectionTitle?: string | undefined;
|
|
4023
|
+
extractorNames?: string[] | undefined;
|
|
4024
|
+
}[] | undefined;
|
|
4025
|
+
agentGuidance?: {
|
|
4026
|
+
title: string;
|
|
4027
|
+
kind: string;
|
|
4028
|
+
detail: string;
|
|
4029
|
+
sourceSpanIds?: string[] | undefined;
|
|
4030
|
+
}[] | undefined;
|
|
4031
|
+
};
|
|
4032
|
+
documentOutline: DocumentNode[];
|
|
3753
4033
|
declarations?: {
|
|
3754
4034
|
formType: "HO-3" | "HO-5" | "HO-4" | "HO-6" | "HO-7" | "HO-8";
|
|
3755
4035
|
line: "homeowners";
|
|
@@ -4249,10 +4529,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4249
4529
|
name: string;
|
|
4250
4530
|
content: string;
|
|
4251
4531
|
conditionType: "other" | "duties_after_loss" | "notice_requirements" | "other_insurance" | "cancellation" | "nonrenewal" | "transfer_of_rights" | "liberalization" | "arbitration" | "concealment_fraud" | "examination_under_oath" | "legal_action" | "loss_payment" | "appraisal" | "mortgage_holders" | "policy_territory" | "separation_of_insureds";
|
|
4252
|
-
|
|
4253
|
-
recordId?: string | undefined;
|
|
4532
|
+
documentNodeId?: string | undefined;
|
|
4254
4533
|
sourceSpanIds?: string[] | undefined;
|
|
4255
4534
|
sourceTextHash?: string | undefined;
|
|
4535
|
+
pageNumber?: number | undefined;
|
|
4536
|
+
recordId?: string | undefined;
|
|
4256
4537
|
keyValues?: {
|
|
4257
4538
|
value: string;
|
|
4258
4539
|
key: string;
|
|
@@ -4355,6 +4636,17 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4355
4636
|
supplementalYears?: number | undefined;
|
|
4356
4637
|
supplementalPremium?: string | undefined;
|
|
4357
4638
|
} | undefined;
|
|
4639
|
+
formInventory?: {
|
|
4640
|
+
formNumber: string;
|
|
4641
|
+
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
4642
|
+
title?: string | undefined;
|
|
4643
|
+
editionDate?: string | undefined;
|
|
4644
|
+
pageStart?: number | undefined;
|
|
4645
|
+
pageEnd?: number | undefined;
|
|
4646
|
+
documentNodeId?: string | undefined;
|
|
4647
|
+
sourceSpanIds?: string[] | undefined;
|
|
4648
|
+
sourceTextHash?: string | undefined;
|
|
4649
|
+
}[] | undefined;
|
|
4358
4650
|
expirationDate?: string | undefined;
|
|
4359
4651
|
policyTermType?: "fixed" | "continuous" | undefined;
|
|
4360
4652
|
nextReviewDate?: string | undefined;
|
|
@@ -4368,18 +4660,20 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4368
4660
|
type: string;
|
|
4369
4661
|
pageStart: number;
|
|
4370
4662
|
pageEnd?: number | undefined;
|
|
4371
|
-
|
|
4663
|
+
documentNodeId?: string | undefined;
|
|
4372
4664
|
sourceSpanIds?: string[] | undefined;
|
|
4373
4665
|
sourceTextHash?: string | undefined;
|
|
4666
|
+
recordId?: string | undefined;
|
|
4374
4667
|
excerpt?: string | undefined;
|
|
4375
4668
|
content?: string | undefined;
|
|
4376
4669
|
sectionNumber?: string | undefined;
|
|
4377
4670
|
coverageType?: string | undefined;
|
|
4378
4671
|
subsections?: {
|
|
4379
4672
|
title: string;
|
|
4380
|
-
|
|
4673
|
+
documentNodeId?: string | undefined;
|
|
4381
4674
|
sourceSpanIds?: string[] | undefined;
|
|
4382
4675
|
sourceTextHash?: string | undefined;
|
|
4676
|
+
pageNumber?: number | undefined;
|
|
4383
4677
|
excerpt?: string | undefined;
|
|
4384
4678
|
content?: string | undefined;
|
|
4385
4679
|
sectionNumber?: string | undefined;
|
|
@@ -4389,12 +4683,13 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4389
4683
|
definition: string;
|
|
4390
4684
|
term: string;
|
|
4391
4685
|
formNumber?: string | undefined;
|
|
4686
|
+
documentNodeId?: string | undefined;
|
|
4687
|
+
sourceSpanIds?: string[] | undefined;
|
|
4688
|
+
sourceTextHash?: string | undefined;
|
|
4392
4689
|
pageNumber?: number | undefined;
|
|
4393
4690
|
sectionRef?: string | undefined;
|
|
4394
4691
|
originalContent?: string | undefined;
|
|
4395
4692
|
recordId?: string | undefined;
|
|
4396
|
-
sourceSpanIds?: string[] | undefined;
|
|
4397
|
-
sourceTextHash?: string | undefined;
|
|
4398
4693
|
formTitle?: string | undefined;
|
|
4399
4694
|
}[] | undefined;
|
|
4400
4695
|
coveredReasons?: {
|
|
@@ -4403,13 +4698,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4403
4698
|
title?: string | undefined;
|
|
4404
4699
|
conditions?: string[] | undefined;
|
|
4405
4700
|
formNumber?: string | undefined;
|
|
4701
|
+
documentNodeId?: string | undefined;
|
|
4702
|
+
sourceSpanIds?: string[] | undefined;
|
|
4703
|
+
sourceTextHash?: string | undefined;
|
|
4406
4704
|
appliesTo?: string[] | undefined;
|
|
4407
4705
|
pageNumber?: number | undefined;
|
|
4408
4706
|
sectionRef?: string | undefined;
|
|
4409
4707
|
originalContent?: string | undefined;
|
|
4410
4708
|
recordId?: string | undefined;
|
|
4411
|
-
sourceSpanIds?: string[] | undefined;
|
|
4412
|
-
sourceTextHash?: string | undefined;
|
|
4413
4709
|
exceptions?: string[] | undefined;
|
|
4414
4710
|
formTitle?: string | undefined;
|
|
4415
4711
|
reasonNumber?: string | undefined;
|
|
@@ -4456,6 +4752,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4456
4752
|
limit: string;
|
|
4457
4753
|
included: boolean;
|
|
4458
4754
|
formNumber?: string | undefined;
|
|
4755
|
+
documentNodeId?: string | undefined;
|
|
4756
|
+
sourceSpanIds?: string[] | undefined;
|
|
4757
|
+
sourceTextHash?: string | undefined;
|
|
4459
4758
|
deductible?: string | undefined;
|
|
4460
4759
|
limitAmount?: number | undefined;
|
|
4461
4760
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
@@ -4468,8 +4767,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4468
4767
|
sectionRef?: string | undefined;
|
|
4469
4768
|
originalContent?: string | undefined;
|
|
4470
4769
|
recordId?: string | undefined;
|
|
4471
|
-
sourceSpanIds?: string[] | undefined;
|
|
4472
|
-
sourceTextHash?: string | undefined;
|
|
4473
4770
|
coverageCode?: string | undefined;
|
|
4474
4771
|
formEditionDate?: string | undefined;
|
|
4475
4772
|
deductibleType?: "per_occurrence" | "per_claim" | "aggregate" | "percentage" | "waiting_period" | undefined;
|
|
@@ -4487,9 +4784,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4487
4784
|
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";
|
|
4488
4785
|
editionDate?: string | undefined;
|
|
4489
4786
|
pageEnd?: number | undefined;
|
|
4490
|
-
|
|
4787
|
+
documentNodeId?: string | undefined;
|
|
4491
4788
|
sourceSpanIds?: string[] | undefined;
|
|
4492
4789
|
sourceTextHash?: string | undefined;
|
|
4790
|
+
recordId?: string | undefined;
|
|
4493
4791
|
effectiveDate?: string | undefined;
|
|
4494
4792
|
affectedCoverageParts?: string[] | undefined;
|
|
4495
4793
|
namedParties?: {
|
|
@@ -4515,11 +4813,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4515
4813
|
name: string;
|
|
4516
4814
|
content: string;
|
|
4517
4815
|
formNumber?: string | undefined;
|
|
4816
|
+
documentNodeId?: string | undefined;
|
|
4817
|
+
sourceSpanIds?: string[] | undefined;
|
|
4818
|
+
sourceTextHash?: string | undefined;
|
|
4518
4819
|
appliesTo?: string[] | undefined;
|
|
4519
4820
|
pageNumber?: number | undefined;
|
|
4520
4821
|
recordId?: string | undefined;
|
|
4521
|
-
sourceSpanIds?: string[] | undefined;
|
|
4522
|
-
sourceTextHash?: string | undefined;
|
|
4523
4822
|
excludedPerils?: string[] | undefined;
|
|
4524
4823
|
isAbsolute?: boolean | undefined;
|
|
4525
4824
|
exceptions?: string[] | undefined;
|
|
@@ -4535,14 +4834,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4535
4834
|
corridorDeductible?: string | undefined;
|
|
4536
4835
|
waitingPeriod?: string | undefined;
|
|
4537
4836
|
} | undefined;
|
|
4538
|
-
formInventory?: {
|
|
4539
|
-
formNumber: string;
|
|
4540
|
-
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
4541
|
-
title?: string | undefined;
|
|
4542
|
-
editionDate?: string | undefined;
|
|
4543
|
-
pageStart?: number | undefined;
|
|
4544
|
-
pageEnd?: number | undefined;
|
|
4545
|
-
}[] | undefined;
|
|
4546
4837
|
insurer?: {
|
|
4547
4838
|
legalName: string;
|
|
4548
4839
|
naicNumber?: string | undefined;
|
|
@@ -4663,6 +4954,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4663
4954
|
name: string;
|
|
4664
4955
|
amount: string;
|
|
4665
4956
|
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
4957
|
+
documentNodeId?: string | undefined;
|
|
4958
|
+
sourceSpanIds?: string[] | undefined;
|
|
4959
|
+
sourceTextHash?: string | undefined;
|
|
4666
4960
|
amountValue?: number | undefined;
|
|
4667
4961
|
description?: string | undefined;
|
|
4668
4962
|
}[] | undefined;
|
|
@@ -4715,6 +5009,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4715
5009
|
supplementaryFacts?: {
|
|
4716
5010
|
value: string;
|
|
4717
5011
|
key: string;
|
|
5012
|
+
documentNodeId?: string | undefined;
|
|
5013
|
+
sourceSpanIds?: string[] | undefined;
|
|
5014
|
+
sourceTextHash?: string | undefined;
|
|
4718
5015
|
subject?: string | undefined;
|
|
4719
5016
|
context?: string | undefined;
|
|
4720
5017
|
}[] | undefined;
|
|
@@ -4725,6 +5022,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4725
5022
|
name: string;
|
|
4726
5023
|
limit: string;
|
|
4727
5024
|
formNumber?: string | undefined;
|
|
5025
|
+
documentNodeId?: string | undefined;
|
|
5026
|
+
sourceSpanIds?: string[] | undefined;
|
|
5027
|
+
sourceTextHash?: string | undefined;
|
|
4728
5028
|
deductible?: string | undefined;
|
|
4729
5029
|
limitAmount?: number | undefined;
|
|
4730
5030
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
@@ -4737,13 +5037,48 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4737
5037
|
sectionRef?: string | undefined;
|
|
4738
5038
|
originalContent?: string | undefined;
|
|
4739
5039
|
recordId?: string | undefined;
|
|
4740
|
-
sourceSpanIds?: string[] | undefined;
|
|
4741
|
-
sourceTextHash?: string | undefined;
|
|
4742
5040
|
}[];
|
|
4743
5041
|
carrier: string;
|
|
4744
5042
|
policyNumber: string;
|
|
4745
5043
|
id: string;
|
|
4746
5044
|
insuredName: string;
|
|
5045
|
+
documentMetadata: {
|
|
5046
|
+
formInventory?: {
|
|
5047
|
+
formNumber: string;
|
|
5048
|
+
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
5049
|
+
title?: string | undefined;
|
|
5050
|
+
editionDate?: string | undefined;
|
|
5051
|
+
pageStart?: number | undefined;
|
|
5052
|
+
pageEnd?: number | undefined;
|
|
5053
|
+
documentNodeId?: string | undefined;
|
|
5054
|
+
sourceSpanIds?: string[] | undefined;
|
|
5055
|
+
sourceTextHash?: string | undefined;
|
|
5056
|
+
}[] | undefined;
|
|
5057
|
+
tableOfContents?: {
|
|
5058
|
+
title: string;
|
|
5059
|
+
pageStart?: number | undefined;
|
|
5060
|
+
pageEnd?: number | undefined;
|
|
5061
|
+
documentNodeId?: string | undefined;
|
|
5062
|
+
sourceSpanIds?: string[] | undefined;
|
|
5063
|
+
level?: number | undefined;
|
|
5064
|
+
}[] | undefined;
|
|
5065
|
+
pageMap?: {
|
|
5066
|
+
page: number;
|
|
5067
|
+
formNumber?: string | undefined;
|
|
5068
|
+
sourceSpanIds?: string[] | undefined;
|
|
5069
|
+
formTitle?: string | undefined;
|
|
5070
|
+
label?: string | undefined;
|
|
5071
|
+
sectionTitle?: string | undefined;
|
|
5072
|
+
extractorNames?: string[] | undefined;
|
|
5073
|
+
}[] | undefined;
|
|
5074
|
+
agentGuidance?: {
|
|
5075
|
+
title: string;
|
|
5076
|
+
kind: string;
|
|
5077
|
+
detail: string;
|
|
5078
|
+
sourceSpanIds?: string[] | undefined;
|
|
5079
|
+
}[] | undefined;
|
|
5080
|
+
};
|
|
5081
|
+
documentOutline: DocumentNode[];
|
|
4747
5082
|
declarations?: {
|
|
4748
5083
|
formType: "HO-3" | "HO-5" | "HO-4" | "HO-6" | "HO-7" | "HO-8";
|
|
4749
5084
|
line: "homeowners";
|
|
@@ -5243,10 +5578,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5243
5578
|
name: string;
|
|
5244
5579
|
content: string;
|
|
5245
5580
|
conditionType: "other" | "duties_after_loss" | "notice_requirements" | "other_insurance" | "cancellation" | "nonrenewal" | "transfer_of_rights" | "liberalization" | "arbitration" | "concealment_fraud" | "examination_under_oath" | "legal_action" | "loss_payment" | "appraisal" | "mortgage_holders" | "policy_territory" | "separation_of_insureds";
|
|
5246
|
-
|
|
5247
|
-
recordId?: string | undefined;
|
|
5581
|
+
documentNodeId?: string | undefined;
|
|
5248
5582
|
sourceSpanIds?: string[] | undefined;
|
|
5249
5583
|
sourceTextHash?: string | undefined;
|
|
5584
|
+
pageNumber?: number | undefined;
|
|
5585
|
+
recordId?: string | undefined;
|
|
5250
5586
|
keyValues?: {
|
|
5251
5587
|
value: string;
|
|
5252
5588
|
key: string;
|
|
@@ -5349,6 +5685,17 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5349
5685
|
supplementalYears?: number | undefined;
|
|
5350
5686
|
supplementalPremium?: string | undefined;
|
|
5351
5687
|
} | undefined;
|
|
5688
|
+
formInventory?: {
|
|
5689
|
+
formNumber: string;
|
|
5690
|
+
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
5691
|
+
title?: string | undefined;
|
|
5692
|
+
editionDate?: string | undefined;
|
|
5693
|
+
pageStart?: number | undefined;
|
|
5694
|
+
pageEnd?: number | undefined;
|
|
5695
|
+
documentNodeId?: string | undefined;
|
|
5696
|
+
sourceSpanIds?: string[] | undefined;
|
|
5697
|
+
sourceTextHash?: string | undefined;
|
|
5698
|
+
}[] | undefined;
|
|
5352
5699
|
expirationDate?: string | undefined;
|
|
5353
5700
|
policyTermType?: "fixed" | "continuous" | undefined;
|
|
5354
5701
|
nextReviewDate?: string | undefined;
|
|
@@ -5362,18 +5709,20 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5362
5709
|
type: string;
|
|
5363
5710
|
pageStart: number;
|
|
5364
5711
|
pageEnd?: number | undefined;
|
|
5365
|
-
|
|
5712
|
+
documentNodeId?: string | undefined;
|
|
5366
5713
|
sourceSpanIds?: string[] | undefined;
|
|
5367
5714
|
sourceTextHash?: string | undefined;
|
|
5715
|
+
recordId?: string | undefined;
|
|
5368
5716
|
excerpt?: string | undefined;
|
|
5369
5717
|
content?: string | undefined;
|
|
5370
5718
|
sectionNumber?: string | undefined;
|
|
5371
5719
|
coverageType?: string | undefined;
|
|
5372
5720
|
subsections?: {
|
|
5373
5721
|
title: string;
|
|
5374
|
-
|
|
5722
|
+
documentNodeId?: string | undefined;
|
|
5375
5723
|
sourceSpanIds?: string[] | undefined;
|
|
5376
5724
|
sourceTextHash?: string | undefined;
|
|
5725
|
+
pageNumber?: number | undefined;
|
|
5377
5726
|
excerpt?: string | undefined;
|
|
5378
5727
|
content?: string | undefined;
|
|
5379
5728
|
sectionNumber?: string | undefined;
|
|
@@ -5383,12 +5732,13 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5383
5732
|
definition: string;
|
|
5384
5733
|
term: string;
|
|
5385
5734
|
formNumber?: string | undefined;
|
|
5735
|
+
documentNodeId?: string | undefined;
|
|
5736
|
+
sourceSpanIds?: string[] | undefined;
|
|
5737
|
+
sourceTextHash?: string | undefined;
|
|
5386
5738
|
pageNumber?: number | undefined;
|
|
5387
5739
|
sectionRef?: string | undefined;
|
|
5388
5740
|
originalContent?: string | undefined;
|
|
5389
5741
|
recordId?: string | undefined;
|
|
5390
|
-
sourceSpanIds?: string[] | undefined;
|
|
5391
|
-
sourceTextHash?: string | undefined;
|
|
5392
5742
|
formTitle?: string | undefined;
|
|
5393
5743
|
}[] | undefined;
|
|
5394
5744
|
coveredReasons?: {
|
|
@@ -5397,13 +5747,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5397
5747
|
title?: string | undefined;
|
|
5398
5748
|
conditions?: string[] | undefined;
|
|
5399
5749
|
formNumber?: string | undefined;
|
|
5750
|
+
documentNodeId?: string | undefined;
|
|
5751
|
+
sourceSpanIds?: string[] | undefined;
|
|
5752
|
+
sourceTextHash?: string | undefined;
|
|
5400
5753
|
appliesTo?: string[] | undefined;
|
|
5401
5754
|
pageNumber?: number | undefined;
|
|
5402
5755
|
sectionRef?: string | undefined;
|
|
5403
5756
|
originalContent?: string | undefined;
|
|
5404
5757
|
recordId?: string | undefined;
|
|
5405
|
-
sourceSpanIds?: string[] | undefined;
|
|
5406
|
-
sourceTextHash?: string | undefined;
|
|
5407
5758
|
exceptions?: string[] | undefined;
|
|
5408
5759
|
formTitle?: string | undefined;
|
|
5409
5760
|
reasonNumber?: string | undefined;
|
|
@@ -5450,6 +5801,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5450
5801
|
limit: string;
|
|
5451
5802
|
included: boolean;
|
|
5452
5803
|
formNumber?: string | undefined;
|
|
5804
|
+
documentNodeId?: string | undefined;
|
|
5805
|
+
sourceSpanIds?: string[] | undefined;
|
|
5806
|
+
sourceTextHash?: string | undefined;
|
|
5453
5807
|
deductible?: string | undefined;
|
|
5454
5808
|
limitAmount?: number | undefined;
|
|
5455
5809
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
@@ -5462,8 +5816,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5462
5816
|
sectionRef?: string | undefined;
|
|
5463
5817
|
originalContent?: string | undefined;
|
|
5464
5818
|
recordId?: string | undefined;
|
|
5465
|
-
sourceSpanIds?: string[] | undefined;
|
|
5466
|
-
sourceTextHash?: string | undefined;
|
|
5467
5819
|
coverageCode?: string | undefined;
|
|
5468
5820
|
formEditionDate?: string | undefined;
|
|
5469
5821
|
deductibleType?: "per_occurrence" | "per_claim" | "aggregate" | "percentage" | "waiting_period" | undefined;
|
|
@@ -5481,9 +5833,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5481
5833
|
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";
|
|
5482
5834
|
editionDate?: string | undefined;
|
|
5483
5835
|
pageEnd?: number | undefined;
|
|
5484
|
-
|
|
5836
|
+
documentNodeId?: string | undefined;
|
|
5485
5837
|
sourceSpanIds?: string[] | undefined;
|
|
5486
5838
|
sourceTextHash?: string | undefined;
|
|
5839
|
+
recordId?: string | undefined;
|
|
5487
5840
|
effectiveDate?: string | undefined;
|
|
5488
5841
|
affectedCoverageParts?: string[] | undefined;
|
|
5489
5842
|
namedParties?: {
|
|
@@ -5509,11 +5862,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5509
5862
|
name: string;
|
|
5510
5863
|
content: string;
|
|
5511
5864
|
formNumber?: string | undefined;
|
|
5865
|
+
documentNodeId?: string | undefined;
|
|
5866
|
+
sourceSpanIds?: string[] | undefined;
|
|
5867
|
+
sourceTextHash?: string | undefined;
|
|
5512
5868
|
appliesTo?: string[] | undefined;
|
|
5513
5869
|
pageNumber?: number | undefined;
|
|
5514
5870
|
recordId?: string | undefined;
|
|
5515
|
-
sourceSpanIds?: string[] | undefined;
|
|
5516
|
-
sourceTextHash?: string | undefined;
|
|
5517
5871
|
excludedPerils?: string[] | undefined;
|
|
5518
5872
|
isAbsolute?: boolean | undefined;
|
|
5519
5873
|
exceptions?: string[] | undefined;
|
|
@@ -5529,14 +5883,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5529
5883
|
corridorDeductible?: string | undefined;
|
|
5530
5884
|
waitingPeriod?: string | undefined;
|
|
5531
5885
|
} | undefined;
|
|
5532
|
-
formInventory?: {
|
|
5533
|
-
formNumber: string;
|
|
5534
|
-
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
5535
|
-
title?: string | undefined;
|
|
5536
|
-
editionDate?: string | undefined;
|
|
5537
|
-
pageStart?: number | undefined;
|
|
5538
|
-
pageEnd?: number | undefined;
|
|
5539
|
-
}[] | undefined;
|
|
5540
5886
|
insurer?: {
|
|
5541
5887
|
legalName: string;
|
|
5542
5888
|
naicNumber?: string | undefined;
|
|
@@ -5657,6 +6003,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5657
6003
|
name: string;
|
|
5658
6004
|
amount: string;
|
|
5659
6005
|
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
6006
|
+
documentNodeId?: string | undefined;
|
|
6007
|
+
sourceSpanIds?: string[] | undefined;
|
|
6008
|
+
sourceTextHash?: string | undefined;
|
|
5660
6009
|
amountValue?: number | undefined;
|
|
5661
6010
|
description?: string | undefined;
|
|
5662
6011
|
}[] | undefined;
|
|
@@ -5709,6 +6058,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5709
6058
|
supplementaryFacts?: {
|
|
5710
6059
|
value: string;
|
|
5711
6060
|
key: string;
|
|
6061
|
+
documentNodeId?: string | undefined;
|
|
6062
|
+
sourceSpanIds?: string[] | undefined;
|
|
6063
|
+
sourceTextHash?: string | undefined;
|
|
5712
6064
|
subject?: string | undefined;
|
|
5713
6065
|
context?: string | undefined;
|
|
5714
6066
|
}[] | undefined;
|
|
@@ -5739,13 +6091,22 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5739
6091
|
line: z.ZodString;
|
|
5740
6092
|
amount: z.ZodString;
|
|
5741
6093
|
amountValue: z.ZodOptional<z.ZodNumber>;
|
|
6094
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
6095
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6096
|
+
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
5742
6097
|
}, "strip", z.ZodTypeAny, {
|
|
5743
6098
|
amount: string;
|
|
5744
6099
|
line: string;
|
|
6100
|
+
documentNodeId?: string | undefined;
|
|
6101
|
+
sourceSpanIds?: string[] | undefined;
|
|
6102
|
+
sourceTextHash?: string | undefined;
|
|
5745
6103
|
amountValue?: number | undefined;
|
|
5746
6104
|
}, {
|
|
5747
6105
|
amount: string;
|
|
5748
6106
|
line: string;
|
|
6107
|
+
documentNodeId?: string | undefined;
|
|
6108
|
+
sourceSpanIds?: string[] | undefined;
|
|
6109
|
+
sourceTextHash?: string | undefined;
|
|
5749
6110
|
amountValue?: number | undefined;
|
|
5750
6111
|
}>, "many">>;
|
|
5751
6112
|
enrichedSubjectivities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5822,12 +6183,16 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5822
6183
|
sectionRef: z.ZodOptional<z.ZodString>;
|
|
5823
6184
|
originalContent: z.ZodOptional<z.ZodString>;
|
|
5824
6185
|
recordId: z.ZodOptional<z.ZodString>;
|
|
6186
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
5825
6187
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5826
6188
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
5827
6189
|
}, "strip", z.ZodTypeAny, {
|
|
5828
6190
|
name: string;
|
|
5829
6191
|
limit: string;
|
|
5830
6192
|
formNumber?: string | undefined;
|
|
6193
|
+
documentNodeId?: string | undefined;
|
|
6194
|
+
sourceSpanIds?: string[] | undefined;
|
|
6195
|
+
sourceTextHash?: string | undefined;
|
|
5831
6196
|
deductible?: string | undefined;
|
|
5832
6197
|
limitAmount?: number | undefined;
|
|
5833
6198
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
@@ -5840,27 +6205,193 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5840
6205
|
sectionRef?: string | undefined;
|
|
5841
6206
|
originalContent?: string | undefined;
|
|
5842
6207
|
recordId?: string | undefined;
|
|
6208
|
+
}, {
|
|
6209
|
+
name: string;
|
|
6210
|
+
limit: string;
|
|
6211
|
+
formNumber?: string | undefined;
|
|
6212
|
+
documentNodeId?: string | undefined;
|
|
5843
6213
|
sourceSpanIds?: string[] | undefined;
|
|
5844
6214
|
sourceTextHash?: string | undefined;
|
|
6215
|
+
deductible?: string | undefined;
|
|
6216
|
+
limitAmount?: number | undefined;
|
|
6217
|
+
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
6218
|
+
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
6219
|
+
deductibleAmount?: number | undefined;
|
|
6220
|
+
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
6221
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
6222
|
+
retroactiveDate?: string | undefined;
|
|
6223
|
+
pageNumber?: number | undefined;
|
|
6224
|
+
sectionRef?: string | undefined;
|
|
6225
|
+
originalContent?: string | undefined;
|
|
6226
|
+
recordId?: string | undefined;
|
|
6227
|
+
}>, "many">;
|
|
6228
|
+
documentMetadata: z.ZodObject<{
|
|
6229
|
+
formInventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6230
|
+
formNumber: z.ZodString;
|
|
6231
|
+
editionDate: z.ZodOptional<z.ZodString>;
|
|
6232
|
+
title: z.ZodOptional<z.ZodString>;
|
|
6233
|
+
formType: z.ZodEnum<["coverage", "endorsement", "declarations", "application", "notice", "other"]>;
|
|
6234
|
+
pageStart: z.ZodOptional<z.ZodNumber>;
|
|
6235
|
+
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
6236
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
6237
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6238
|
+
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
6239
|
+
}, "strip", z.ZodTypeAny, {
|
|
6240
|
+
formNumber: string;
|
|
6241
|
+
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
6242
|
+
title?: string | undefined;
|
|
6243
|
+
editionDate?: string | undefined;
|
|
6244
|
+
pageStart?: number | undefined;
|
|
6245
|
+
pageEnd?: number | undefined;
|
|
6246
|
+
documentNodeId?: string | undefined;
|
|
6247
|
+
sourceSpanIds?: string[] | undefined;
|
|
6248
|
+
sourceTextHash?: string | undefined;
|
|
6249
|
+
}, {
|
|
6250
|
+
formNumber: string;
|
|
6251
|
+
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
6252
|
+
title?: string | undefined;
|
|
6253
|
+
editionDate?: string | undefined;
|
|
6254
|
+
pageStart?: number | undefined;
|
|
6255
|
+
pageEnd?: number | undefined;
|
|
6256
|
+
documentNodeId?: string | undefined;
|
|
6257
|
+
sourceSpanIds?: string[] | undefined;
|
|
6258
|
+
sourceTextHash?: string | undefined;
|
|
6259
|
+
}>, "many">>;
|
|
6260
|
+
tableOfContents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6261
|
+
title: z.ZodString;
|
|
6262
|
+
level: z.ZodOptional<z.ZodNumber>;
|
|
6263
|
+
pageStart: z.ZodOptional<z.ZodNumber>;
|
|
6264
|
+
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
6265
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
6266
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6267
|
+
}, "strip", z.ZodTypeAny, {
|
|
6268
|
+
title: string;
|
|
6269
|
+
pageStart?: number | undefined;
|
|
6270
|
+
pageEnd?: number | undefined;
|
|
6271
|
+
documentNodeId?: string | undefined;
|
|
6272
|
+
sourceSpanIds?: string[] | undefined;
|
|
6273
|
+
level?: number | undefined;
|
|
6274
|
+
}, {
|
|
6275
|
+
title: string;
|
|
6276
|
+
pageStart?: number | undefined;
|
|
6277
|
+
pageEnd?: number | undefined;
|
|
6278
|
+
documentNodeId?: string | undefined;
|
|
6279
|
+
sourceSpanIds?: string[] | undefined;
|
|
6280
|
+
level?: number | undefined;
|
|
6281
|
+
}>, "many">>;
|
|
6282
|
+
pageMap: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6283
|
+
page: z.ZodNumber;
|
|
6284
|
+
label: z.ZodOptional<z.ZodString>;
|
|
6285
|
+
formNumber: z.ZodOptional<z.ZodString>;
|
|
6286
|
+
formTitle: z.ZodOptional<z.ZodString>;
|
|
6287
|
+
sectionTitle: z.ZodOptional<z.ZodString>;
|
|
6288
|
+
extractorNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6289
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6290
|
+
}, "strip", z.ZodTypeAny, {
|
|
6291
|
+
page: number;
|
|
6292
|
+
formNumber?: string | undefined;
|
|
6293
|
+
sourceSpanIds?: string[] | undefined;
|
|
6294
|
+
formTitle?: string | undefined;
|
|
6295
|
+
label?: string | undefined;
|
|
6296
|
+
sectionTitle?: string | undefined;
|
|
6297
|
+
extractorNames?: string[] | undefined;
|
|
6298
|
+
}, {
|
|
6299
|
+
page: number;
|
|
6300
|
+
formNumber?: string | undefined;
|
|
6301
|
+
sourceSpanIds?: string[] | undefined;
|
|
6302
|
+
formTitle?: string | undefined;
|
|
6303
|
+
label?: string | undefined;
|
|
6304
|
+
sectionTitle?: string | undefined;
|
|
6305
|
+
extractorNames?: string[] | undefined;
|
|
6306
|
+
}>, "many">>;
|
|
6307
|
+
agentGuidance: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6308
|
+
kind: z.ZodString;
|
|
6309
|
+
title: z.ZodString;
|
|
6310
|
+
detail: z.ZodString;
|
|
6311
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6312
|
+
}, "strip", z.ZodTypeAny, {
|
|
6313
|
+
title: string;
|
|
6314
|
+
kind: string;
|
|
6315
|
+
detail: string;
|
|
6316
|
+
sourceSpanIds?: string[] | undefined;
|
|
6317
|
+
}, {
|
|
6318
|
+
title: string;
|
|
6319
|
+
kind: string;
|
|
6320
|
+
detail: string;
|
|
6321
|
+
sourceSpanIds?: string[] | undefined;
|
|
6322
|
+
}>, "many">>;
|
|
6323
|
+
}, "strip", z.ZodTypeAny, {
|
|
6324
|
+
formInventory?: {
|
|
6325
|
+
formNumber: string;
|
|
6326
|
+
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
6327
|
+
title?: string | undefined;
|
|
6328
|
+
editionDate?: string | undefined;
|
|
6329
|
+
pageStart?: number | undefined;
|
|
6330
|
+
pageEnd?: number | undefined;
|
|
6331
|
+
documentNodeId?: string | undefined;
|
|
6332
|
+
sourceSpanIds?: string[] | undefined;
|
|
6333
|
+
sourceTextHash?: string | undefined;
|
|
6334
|
+
}[] | undefined;
|
|
6335
|
+
tableOfContents?: {
|
|
6336
|
+
title: string;
|
|
6337
|
+
pageStart?: number | undefined;
|
|
6338
|
+
pageEnd?: number | undefined;
|
|
6339
|
+
documentNodeId?: string | undefined;
|
|
6340
|
+
sourceSpanIds?: string[] | undefined;
|
|
6341
|
+
level?: number | undefined;
|
|
6342
|
+
}[] | undefined;
|
|
6343
|
+
pageMap?: {
|
|
6344
|
+
page: number;
|
|
6345
|
+
formNumber?: string | undefined;
|
|
6346
|
+
sourceSpanIds?: string[] | undefined;
|
|
6347
|
+
formTitle?: string | undefined;
|
|
6348
|
+
label?: string | undefined;
|
|
6349
|
+
sectionTitle?: string | undefined;
|
|
6350
|
+
extractorNames?: string[] | undefined;
|
|
6351
|
+
}[] | undefined;
|
|
6352
|
+
agentGuidance?: {
|
|
6353
|
+
title: string;
|
|
6354
|
+
kind: string;
|
|
6355
|
+
detail: string;
|
|
6356
|
+
sourceSpanIds?: string[] | undefined;
|
|
6357
|
+
}[] | undefined;
|
|
5845
6358
|
}, {
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
|
|
5849
|
-
|
|
5850
|
-
|
|
5851
|
-
|
|
5852
|
-
|
|
5853
|
-
|
|
5854
|
-
|
|
5855
|
-
|
|
5856
|
-
|
|
5857
|
-
|
|
5858
|
-
|
|
5859
|
-
|
|
5860
|
-
|
|
5861
|
-
|
|
5862
|
-
|
|
5863
|
-
|
|
6359
|
+
formInventory?: {
|
|
6360
|
+
formNumber: string;
|
|
6361
|
+
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
6362
|
+
title?: string | undefined;
|
|
6363
|
+
editionDate?: string | undefined;
|
|
6364
|
+
pageStart?: number | undefined;
|
|
6365
|
+
pageEnd?: number | undefined;
|
|
6366
|
+
documentNodeId?: string | undefined;
|
|
6367
|
+
sourceSpanIds?: string[] | undefined;
|
|
6368
|
+
sourceTextHash?: string | undefined;
|
|
6369
|
+
}[] | undefined;
|
|
6370
|
+
tableOfContents?: {
|
|
6371
|
+
title: string;
|
|
6372
|
+
pageStart?: number | undefined;
|
|
6373
|
+
pageEnd?: number | undefined;
|
|
6374
|
+
documentNodeId?: string | undefined;
|
|
6375
|
+
sourceSpanIds?: string[] | undefined;
|
|
6376
|
+
level?: number | undefined;
|
|
6377
|
+
}[] | undefined;
|
|
6378
|
+
pageMap?: {
|
|
6379
|
+
page: number;
|
|
6380
|
+
formNumber?: string | undefined;
|
|
6381
|
+
sourceSpanIds?: string[] | undefined;
|
|
6382
|
+
formTitle?: string | undefined;
|
|
6383
|
+
label?: string | undefined;
|
|
6384
|
+
sectionTitle?: string | undefined;
|
|
6385
|
+
extractorNames?: string[] | undefined;
|
|
6386
|
+
}[] | undefined;
|
|
6387
|
+
agentGuidance?: {
|
|
6388
|
+
title: string;
|
|
6389
|
+
kind: string;
|
|
6390
|
+
detail: string;
|
|
6391
|
+
sourceSpanIds?: string[] | undefined;
|
|
6392
|
+
}[] | undefined;
|
|
6393
|
+
}>;
|
|
6394
|
+
documentOutline: z.ZodArray<z.ZodType<DocumentNode, z.ZodTypeDef, DocumentNode>, "many">;
|
|
5864
6395
|
sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5865
6396
|
title: z.ZodString;
|
|
5866
6397
|
sectionNumber: z.ZodOptional<z.ZodString>;
|
|
@@ -5876,26 +6407,30 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5876
6407
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
5877
6408
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
5878
6409
|
content: z.ZodOptional<z.ZodString>;
|
|
6410
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
5879
6411
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5880
6412
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
5881
6413
|
}, "strip", z.ZodTypeAny, {
|
|
5882
6414
|
title: string;
|
|
5883
|
-
|
|
6415
|
+
documentNodeId?: string | undefined;
|
|
5884
6416
|
sourceSpanIds?: string[] | undefined;
|
|
5885
6417
|
sourceTextHash?: string | undefined;
|
|
6418
|
+
pageNumber?: number | undefined;
|
|
5886
6419
|
excerpt?: string | undefined;
|
|
5887
6420
|
content?: string | undefined;
|
|
5888
6421
|
sectionNumber?: string | undefined;
|
|
5889
6422
|
}, {
|
|
5890
6423
|
title: string;
|
|
5891
|
-
|
|
6424
|
+
documentNodeId?: string | undefined;
|
|
5892
6425
|
sourceSpanIds?: string[] | undefined;
|
|
5893
6426
|
sourceTextHash?: string | undefined;
|
|
6427
|
+
pageNumber?: number | undefined;
|
|
5894
6428
|
excerpt?: string | undefined;
|
|
5895
6429
|
content?: string | undefined;
|
|
5896
6430
|
sectionNumber?: string | undefined;
|
|
5897
6431
|
}>, "many">>;
|
|
5898
6432
|
recordId: z.ZodOptional<z.ZodString>;
|
|
6433
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
5899
6434
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5900
6435
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
5901
6436
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5903,18 +6438,20 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5903
6438
|
type: string;
|
|
5904
6439
|
pageStart: number;
|
|
5905
6440
|
pageEnd?: number | undefined;
|
|
5906
|
-
|
|
6441
|
+
documentNodeId?: string | undefined;
|
|
5907
6442
|
sourceSpanIds?: string[] | undefined;
|
|
5908
6443
|
sourceTextHash?: string | undefined;
|
|
6444
|
+
recordId?: string | undefined;
|
|
5909
6445
|
excerpt?: string | undefined;
|
|
5910
6446
|
content?: string | undefined;
|
|
5911
6447
|
sectionNumber?: string | undefined;
|
|
5912
6448
|
coverageType?: string | undefined;
|
|
5913
6449
|
subsections?: {
|
|
5914
6450
|
title: string;
|
|
5915
|
-
|
|
6451
|
+
documentNodeId?: string | undefined;
|
|
5916
6452
|
sourceSpanIds?: string[] | undefined;
|
|
5917
6453
|
sourceTextHash?: string | undefined;
|
|
6454
|
+
pageNumber?: number | undefined;
|
|
5918
6455
|
excerpt?: string | undefined;
|
|
5919
6456
|
content?: string | undefined;
|
|
5920
6457
|
sectionNumber?: string | undefined;
|
|
@@ -5924,18 +6461,20 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5924
6461
|
type: string;
|
|
5925
6462
|
pageStart: number;
|
|
5926
6463
|
pageEnd?: number | undefined;
|
|
5927
|
-
|
|
6464
|
+
documentNodeId?: string | undefined;
|
|
5928
6465
|
sourceSpanIds?: string[] | undefined;
|
|
5929
6466
|
sourceTextHash?: string | undefined;
|
|
6467
|
+
recordId?: string | undefined;
|
|
5930
6468
|
excerpt?: string | undefined;
|
|
5931
6469
|
content?: string | undefined;
|
|
5932
6470
|
sectionNumber?: string | undefined;
|
|
5933
6471
|
coverageType?: string | undefined;
|
|
5934
6472
|
subsections?: {
|
|
5935
6473
|
title: string;
|
|
5936
|
-
|
|
6474
|
+
documentNodeId?: string | undefined;
|
|
5937
6475
|
sourceSpanIds?: string[] | undefined;
|
|
5938
6476
|
sourceTextHash?: string | undefined;
|
|
6477
|
+
pageNumber?: number | undefined;
|
|
5939
6478
|
excerpt?: string | undefined;
|
|
5940
6479
|
content?: string | undefined;
|
|
5941
6480
|
sectionNumber?: string | undefined;
|
|
@@ -5950,29 +6489,32 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5950
6489
|
sectionRef: z.ZodOptional<z.ZodString>;
|
|
5951
6490
|
originalContent: z.ZodOptional<z.ZodString>;
|
|
5952
6491
|
recordId: z.ZodOptional<z.ZodString>;
|
|
6492
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
5953
6493
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5954
6494
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
5955
6495
|
}, "strip", z.ZodTypeAny, {
|
|
5956
6496
|
definition: string;
|
|
5957
6497
|
term: string;
|
|
5958
6498
|
formNumber?: string | undefined;
|
|
6499
|
+
documentNodeId?: string | undefined;
|
|
6500
|
+
sourceSpanIds?: string[] | undefined;
|
|
6501
|
+
sourceTextHash?: string | undefined;
|
|
5959
6502
|
pageNumber?: number | undefined;
|
|
5960
6503
|
sectionRef?: string | undefined;
|
|
5961
6504
|
originalContent?: string | undefined;
|
|
5962
6505
|
recordId?: string | undefined;
|
|
5963
|
-
sourceSpanIds?: string[] | undefined;
|
|
5964
|
-
sourceTextHash?: string | undefined;
|
|
5965
6506
|
formTitle?: string | undefined;
|
|
5966
6507
|
}, {
|
|
5967
6508
|
definition: string;
|
|
5968
6509
|
term: string;
|
|
5969
6510
|
formNumber?: string | undefined;
|
|
6511
|
+
documentNodeId?: string | undefined;
|
|
6512
|
+
sourceSpanIds?: string[] | undefined;
|
|
6513
|
+
sourceTextHash?: string | undefined;
|
|
5970
6514
|
pageNumber?: number | undefined;
|
|
5971
6515
|
sectionRef?: string | undefined;
|
|
5972
6516
|
originalContent?: string | undefined;
|
|
5973
6517
|
recordId?: string | undefined;
|
|
5974
|
-
sourceSpanIds?: string[] | undefined;
|
|
5975
|
-
sourceTextHash?: string | undefined;
|
|
5976
6518
|
formTitle?: string | undefined;
|
|
5977
6519
|
}>, "many">>;
|
|
5978
6520
|
coveredReasons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5989,6 +6531,7 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5989
6531
|
sectionRef: z.ZodOptional<z.ZodString>;
|
|
5990
6532
|
originalContent: z.ZodOptional<z.ZodString>;
|
|
5991
6533
|
recordId: z.ZodOptional<z.ZodString>;
|
|
6534
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
5992
6535
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5993
6536
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
5994
6537
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5997,13 +6540,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5997
6540
|
title?: string | undefined;
|
|
5998
6541
|
conditions?: string[] | undefined;
|
|
5999
6542
|
formNumber?: string | undefined;
|
|
6543
|
+
documentNodeId?: string | undefined;
|
|
6544
|
+
sourceSpanIds?: string[] | undefined;
|
|
6545
|
+
sourceTextHash?: string | undefined;
|
|
6000
6546
|
appliesTo?: string[] | undefined;
|
|
6001
6547
|
pageNumber?: number | undefined;
|
|
6002
6548
|
sectionRef?: string | undefined;
|
|
6003
6549
|
originalContent?: string | undefined;
|
|
6004
6550
|
recordId?: string | undefined;
|
|
6005
|
-
sourceSpanIds?: string[] | undefined;
|
|
6006
|
-
sourceTextHash?: string | undefined;
|
|
6007
6551
|
exceptions?: string[] | undefined;
|
|
6008
6552
|
formTitle?: string | undefined;
|
|
6009
6553
|
reasonNumber?: string | undefined;
|
|
@@ -6013,13 +6557,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6013
6557
|
title?: string | undefined;
|
|
6014
6558
|
conditions?: string[] | undefined;
|
|
6015
6559
|
formNumber?: string | undefined;
|
|
6560
|
+
documentNodeId?: string | undefined;
|
|
6561
|
+
sourceSpanIds?: string[] | undefined;
|
|
6562
|
+
sourceTextHash?: string | undefined;
|
|
6016
6563
|
appliesTo?: string[] | undefined;
|
|
6017
6564
|
pageNumber?: number | undefined;
|
|
6018
6565
|
sectionRef?: string | undefined;
|
|
6019
6566
|
originalContent?: string | undefined;
|
|
6020
6567
|
recordId?: string | undefined;
|
|
6021
|
-
sourceSpanIds?: string[] | undefined;
|
|
6022
|
-
sourceTextHash?: string | undefined;
|
|
6023
6568
|
exceptions?: string[] | undefined;
|
|
6024
6569
|
formTitle?: string | undefined;
|
|
6025
6570
|
reasonNumber?: string | undefined;
|
|
@@ -6138,6 +6683,7 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6138
6683
|
sectionRef: z.ZodOptional<z.ZodString>;
|
|
6139
6684
|
originalContent: z.ZodOptional<z.ZodString>;
|
|
6140
6685
|
recordId: z.ZodOptional<z.ZodString>;
|
|
6686
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
6141
6687
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6142
6688
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
6143
6689
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6145,6 +6691,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6145
6691
|
limit: string;
|
|
6146
6692
|
included: boolean;
|
|
6147
6693
|
formNumber?: string | undefined;
|
|
6694
|
+
documentNodeId?: string | undefined;
|
|
6695
|
+
sourceSpanIds?: string[] | undefined;
|
|
6696
|
+
sourceTextHash?: string | undefined;
|
|
6148
6697
|
deductible?: string | undefined;
|
|
6149
6698
|
limitAmount?: number | undefined;
|
|
6150
6699
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
@@ -6157,8 +6706,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6157
6706
|
sectionRef?: string | undefined;
|
|
6158
6707
|
originalContent?: string | undefined;
|
|
6159
6708
|
recordId?: string | undefined;
|
|
6160
|
-
sourceSpanIds?: string[] | undefined;
|
|
6161
|
-
sourceTextHash?: string | undefined;
|
|
6162
6709
|
coverageCode?: string | undefined;
|
|
6163
6710
|
formEditionDate?: string | undefined;
|
|
6164
6711
|
deductibleType?: "per_occurrence" | "per_claim" | "aggregate" | "percentage" | "waiting_period" | undefined;
|
|
@@ -6173,6 +6720,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6173
6720
|
limit: string;
|
|
6174
6721
|
included: boolean;
|
|
6175
6722
|
formNumber?: string | undefined;
|
|
6723
|
+
documentNodeId?: string | undefined;
|
|
6724
|
+
sourceSpanIds?: string[] | undefined;
|
|
6725
|
+
sourceTextHash?: string | undefined;
|
|
6176
6726
|
deductible?: string | undefined;
|
|
6177
6727
|
limitAmount?: number | undefined;
|
|
6178
6728
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
@@ -6185,8 +6735,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6185
6735
|
sectionRef?: string | undefined;
|
|
6186
6736
|
originalContent?: string | undefined;
|
|
6187
6737
|
recordId?: string | undefined;
|
|
6188
|
-
sourceSpanIds?: string[] | undefined;
|
|
6189
|
-
sourceTextHash?: string | undefined;
|
|
6190
6738
|
coverageCode?: string | undefined;
|
|
6191
6739
|
formEditionDate?: string | undefined;
|
|
6192
6740
|
deductibleType?: "per_occurrence" | "per_claim" | "aggregate" | "percentage" | "waiting_period" | undefined;
|
|
@@ -6265,6 +6813,7 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6265
6813
|
pageStart: z.ZodNumber;
|
|
6266
6814
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
6267
6815
|
recordId: z.ZodOptional<z.ZodString>;
|
|
6816
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
6268
6817
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6269
6818
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
6270
6819
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6274,9 +6823,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6274
6823
|
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";
|
|
6275
6824
|
editionDate?: string | undefined;
|
|
6276
6825
|
pageEnd?: number | undefined;
|
|
6277
|
-
|
|
6826
|
+
documentNodeId?: string | undefined;
|
|
6278
6827
|
sourceSpanIds?: string[] | undefined;
|
|
6279
6828
|
sourceTextHash?: string | undefined;
|
|
6829
|
+
recordId?: string | undefined;
|
|
6280
6830
|
effectiveDate?: string | undefined;
|
|
6281
6831
|
affectedCoverageParts?: string[] | undefined;
|
|
6282
6832
|
namedParties?: {
|
|
@@ -6304,9 +6854,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6304
6854
|
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";
|
|
6305
6855
|
editionDate?: string | undefined;
|
|
6306
6856
|
pageEnd?: number | undefined;
|
|
6307
|
-
|
|
6857
|
+
documentNodeId?: string | undefined;
|
|
6308
6858
|
sourceSpanIds?: string[] | undefined;
|
|
6309
6859
|
sourceTextHash?: string | undefined;
|
|
6860
|
+
recordId?: string | undefined;
|
|
6310
6861
|
effectiveDate?: string | undefined;
|
|
6311
6862
|
affectedCoverageParts?: string[] | undefined;
|
|
6312
6863
|
namedParties?: {
|
|
@@ -6340,17 +6891,19 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6340
6891
|
content: z.ZodString;
|
|
6341
6892
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
6342
6893
|
recordId: z.ZodOptional<z.ZodString>;
|
|
6894
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
6343
6895
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6344
6896
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
6345
6897
|
}, "strip", z.ZodTypeAny, {
|
|
6346
6898
|
name: string;
|
|
6347
6899
|
content: string;
|
|
6348
6900
|
formNumber?: string | undefined;
|
|
6901
|
+
documentNodeId?: string | undefined;
|
|
6902
|
+
sourceSpanIds?: string[] | undefined;
|
|
6903
|
+
sourceTextHash?: string | undefined;
|
|
6349
6904
|
appliesTo?: string[] | undefined;
|
|
6350
6905
|
pageNumber?: number | undefined;
|
|
6351
6906
|
recordId?: string | undefined;
|
|
6352
|
-
sourceSpanIds?: string[] | undefined;
|
|
6353
|
-
sourceTextHash?: string | undefined;
|
|
6354
6907
|
excludedPerils?: string[] | undefined;
|
|
6355
6908
|
isAbsolute?: boolean | undefined;
|
|
6356
6909
|
exceptions?: string[] | undefined;
|
|
@@ -6360,11 +6913,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6360
6913
|
name: string;
|
|
6361
6914
|
content: string;
|
|
6362
6915
|
formNumber?: string | undefined;
|
|
6916
|
+
documentNodeId?: string | undefined;
|
|
6917
|
+
sourceSpanIds?: string[] | undefined;
|
|
6918
|
+
sourceTextHash?: string | undefined;
|
|
6363
6919
|
appliesTo?: string[] | undefined;
|
|
6364
6920
|
pageNumber?: number | undefined;
|
|
6365
6921
|
recordId?: string | undefined;
|
|
6366
|
-
sourceSpanIds?: string[] | undefined;
|
|
6367
|
-
sourceTextHash?: string | undefined;
|
|
6368
6922
|
excludedPerils?: string[] | undefined;
|
|
6369
6923
|
isAbsolute?: boolean | undefined;
|
|
6370
6924
|
exceptions?: string[] | undefined;
|
|
@@ -6387,16 +6941,18 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6387
6941
|
}>, "many">>;
|
|
6388
6942
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
6389
6943
|
recordId: z.ZodOptional<z.ZodString>;
|
|
6944
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
6390
6945
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6391
6946
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
6392
6947
|
}, "strip", z.ZodTypeAny, {
|
|
6393
6948
|
name: string;
|
|
6394
6949
|
content: string;
|
|
6395
6950
|
conditionType: "other" | "duties_after_loss" | "notice_requirements" | "other_insurance" | "cancellation" | "nonrenewal" | "transfer_of_rights" | "liberalization" | "arbitration" | "concealment_fraud" | "examination_under_oath" | "legal_action" | "loss_payment" | "appraisal" | "mortgage_holders" | "policy_territory" | "separation_of_insureds";
|
|
6396
|
-
|
|
6397
|
-
recordId?: string | undefined;
|
|
6951
|
+
documentNodeId?: string | undefined;
|
|
6398
6952
|
sourceSpanIds?: string[] | undefined;
|
|
6399
6953
|
sourceTextHash?: string | undefined;
|
|
6954
|
+
pageNumber?: number | undefined;
|
|
6955
|
+
recordId?: string | undefined;
|
|
6400
6956
|
keyValues?: {
|
|
6401
6957
|
value: string;
|
|
6402
6958
|
key: string;
|
|
@@ -6405,10 +6961,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6405
6961
|
name: string;
|
|
6406
6962
|
content: string;
|
|
6407
6963
|
conditionType: "other" | "duties_after_loss" | "notice_requirements" | "other_insurance" | "cancellation" | "nonrenewal" | "transfer_of_rights" | "liberalization" | "arbitration" | "concealment_fraud" | "examination_under_oath" | "legal_action" | "loss_payment" | "appraisal" | "mortgage_holders" | "policy_territory" | "separation_of_insureds";
|
|
6408
|
-
|
|
6409
|
-
recordId?: string | undefined;
|
|
6964
|
+
documentNodeId?: string | undefined;
|
|
6410
6965
|
sourceSpanIds?: string[] | undefined;
|
|
6411
6966
|
sourceTextHash?: string | undefined;
|
|
6967
|
+
pageNumber?: number | undefined;
|
|
6968
|
+
recordId?: string | undefined;
|
|
6412
6969
|
keyValues?: {
|
|
6413
6970
|
value: string;
|
|
6414
6971
|
key: string;
|
|
@@ -6737,6 +7294,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6737
7294
|
formType: z.ZodEnum<["coverage", "endorsement", "declarations", "application", "notice", "other"]>;
|
|
6738
7295
|
pageStart: z.ZodOptional<z.ZodNumber>;
|
|
6739
7296
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
7297
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
7298
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7299
|
+
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
6740
7300
|
}, "strip", z.ZodTypeAny, {
|
|
6741
7301
|
formNumber: string;
|
|
6742
7302
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -6744,6 +7304,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6744
7304
|
editionDate?: string | undefined;
|
|
6745
7305
|
pageStart?: number | undefined;
|
|
6746
7306
|
pageEnd?: number | undefined;
|
|
7307
|
+
documentNodeId?: string | undefined;
|
|
7308
|
+
sourceSpanIds?: string[] | undefined;
|
|
7309
|
+
sourceTextHash?: string | undefined;
|
|
6747
7310
|
}, {
|
|
6748
7311
|
formNumber: string;
|
|
6749
7312
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -6751,6 +7314,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6751
7314
|
editionDate?: string | undefined;
|
|
6752
7315
|
pageStart?: number | undefined;
|
|
6753
7316
|
pageEnd?: number | undefined;
|
|
7317
|
+
documentNodeId?: string | undefined;
|
|
7318
|
+
sourceSpanIds?: string[] | undefined;
|
|
7319
|
+
sourceTextHash?: string | undefined;
|
|
6754
7320
|
}>, "many">>;
|
|
6755
7321
|
declarations: z.ZodOptional<z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
|
|
6756
7322
|
line: z.ZodLiteral<"homeowners">;
|
|
@@ -9350,16 +9916,25 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
9350
9916
|
amountValue: z.ZodOptional<z.ZodNumber>;
|
|
9351
9917
|
type: z.ZodOptional<z.ZodEnum<["tax", "fee", "surcharge", "assessment"]>>;
|
|
9352
9918
|
description: z.ZodOptional<z.ZodString>;
|
|
9919
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
9920
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9921
|
+
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
9353
9922
|
}, "strip", z.ZodTypeAny, {
|
|
9354
9923
|
name: string;
|
|
9355
9924
|
amount: string;
|
|
9356
9925
|
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
9926
|
+
documentNodeId?: string | undefined;
|
|
9927
|
+
sourceSpanIds?: string[] | undefined;
|
|
9928
|
+
sourceTextHash?: string | undefined;
|
|
9357
9929
|
amountValue?: number | undefined;
|
|
9358
9930
|
description?: string | undefined;
|
|
9359
9931
|
}, {
|
|
9360
9932
|
name: string;
|
|
9361
9933
|
amount: string;
|
|
9362
9934
|
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
9935
|
+
documentNodeId?: string | undefined;
|
|
9936
|
+
sourceSpanIds?: string[] | undefined;
|
|
9937
|
+
sourceTextHash?: string | undefined;
|
|
9363
9938
|
amountValue?: number | undefined;
|
|
9364
9939
|
description?: string | undefined;
|
|
9365
9940
|
}>, "many">>;
|
|
@@ -9499,14 +10074,23 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
9499
10074
|
value: z.ZodString;
|
|
9500
10075
|
subject: z.ZodOptional<z.ZodString>;
|
|
9501
10076
|
context: z.ZodOptional<z.ZodString>;
|
|
10077
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
10078
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10079
|
+
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
9502
10080
|
}, "strip", z.ZodTypeAny, {
|
|
9503
10081
|
value: string;
|
|
9504
10082
|
key: string;
|
|
10083
|
+
documentNodeId?: string | undefined;
|
|
10084
|
+
sourceSpanIds?: string[] | undefined;
|
|
10085
|
+
sourceTextHash?: string | undefined;
|
|
9505
10086
|
subject?: string | undefined;
|
|
9506
10087
|
context?: string | undefined;
|
|
9507
10088
|
}, {
|
|
9508
10089
|
value: string;
|
|
9509
10090
|
key: string;
|
|
10091
|
+
documentNodeId?: string | undefined;
|
|
10092
|
+
sourceSpanIds?: string[] | undefined;
|
|
10093
|
+
sourceTextHash?: string | undefined;
|
|
9510
10094
|
subject?: string | undefined;
|
|
9511
10095
|
context?: string | undefined;
|
|
9512
10096
|
}>, "many">>;
|
|
@@ -9516,6 +10100,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
9516
10100
|
name: string;
|
|
9517
10101
|
limit: string;
|
|
9518
10102
|
formNumber?: string | undefined;
|
|
10103
|
+
documentNodeId?: string | undefined;
|
|
10104
|
+
sourceSpanIds?: string[] | undefined;
|
|
10105
|
+
sourceTextHash?: string | undefined;
|
|
9519
10106
|
deductible?: string | undefined;
|
|
9520
10107
|
limitAmount?: number | undefined;
|
|
9521
10108
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
@@ -9528,12 +10115,47 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
9528
10115
|
sectionRef?: string | undefined;
|
|
9529
10116
|
originalContent?: string | undefined;
|
|
9530
10117
|
recordId?: string | undefined;
|
|
9531
|
-
sourceSpanIds?: string[] | undefined;
|
|
9532
|
-
sourceTextHash?: string | undefined;
|
|
9533
10118
|
}[];
|
|
9534
10119
|
carrier: string;
|
|
9535
10120
|
id: string;
|
|
9536
10121
|
insuredName: string;
|
|
10122
|
+
documentMetadata: {
|
|
10123
|
+
formInventory?: {
|
|
10124
|
+
formNumber: string;
|
|
10125
|
+
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
10126
|
+
title?: string | undefined;
|
|
10127
|
+
editionDate?: string | undefined;
|
|
10128
|
+
pageStart?: number | undefined;
|
|
10129
|
+
pageEnd?: number | undefined;
|
|
10130
|
+
documentNodeId?: string | undefined;
|
|
10131
|
+
sourceSpanIds?: string[] | undefined;
|
|
10132
|
+
sourceTextHash?: string | undefined;
|
|
10133
|
+
}[] | undefined;
|
|
10134
|
+
tableOfContents?: {
|
|
10135
|
+
title: string;
|
|
10136
|
+
pageStart?: number | undefined;
|
|
10137
|
+
pageEnd?: number | undefined;
|
|
10138
|
+
documentNodeId?: string | undefined;
|
|
10139
|
+
sourceSpanIds?: string[] | undefined;
|
|
10140
|
+
level?: number | undefined;
|
|
10141
|
+
}[] | undefined;
|
|
10142
|
+
pageMap?: {
|
|
10143
|
+
page: number;
|
|
10144
|
+
formNumber?: string | undefined;
|
|
10145
|
+
sourceSpanIds?: string[] | undefined;
|
|
10146
|
+
formTitle?: string | undefined;
|
|
10147
|
+
label?: string | undefined;
|
|
10148
|
+
sectionTitle?: string | undefined;
|
|
10149
|
+
extractorNames?: string[] | undefined;
|
|
10150
|
+
}[] | undefined;
|
|
10151
|
+
agentGuidance?: {
|
|
10152
|
+
title: string;
|
|
10153
|
+
kind: string;
|
|
10154
|
+
detail: string;
|
|
10155
|
+
sourceSpanIds?: string[] | undefined;
|
|
10156
|
+
}[] | undefined;
|
|
10157
|
+
};
|
|
10158
|
+
documentOutline: DocumentNode[];
|
|
9537
10159
|
quoteNumber: string;
|
|
9538
10160
|
declarations?: {
|
|
9539
10161
|
formType: "HO-3" | "HO-5" | "HO-4" | "HO-6" | "HO-7" | "HO-8";
|
|
@@ -10034,10 +10656,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10034
10656
|
name: string;
|
|
10035
10657
|
content: string;
|
|
10036
10658
|
conditionType: "other" | "duties_after_loss" | "notice_requirements" | "other_insurance" | "cancellation" | "nonrenewal" | "transfer_of_rights" | "liberalization" | "arbitration" | "concealment_fraud" | "examination_under_oath" | "legal_action" | "loss_payment" | "appraisal" | "mortgage_holders" | "policy_territory" | "separation_of_insureds";
|
|
10037
|
-
|
|
10038
|
-
recordId?: string | undefined;
|
|
10659
|
+
documentNodeId?: string | undefined;
|
|
10039
10660
|
sourceSpanIds?: string[] | undefined;
|
|
10040
10661
|
sourceTextHash?: string | undefined;
|
|
10662
|
+
pageNumber?: number | undefined;
|
|
10663
|
+
recordId?: string | undefined;
|
|
10041
10664
|
keyValues?: {
|
|
10042
10665
|
value: string;
|
|
10043
10666
|
key: string;
|
|
@@ -10140,6 +10763,17 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10140
10763
|
supplementalYears?: number | undefined;
|
|
10141
10764
|
supplementalPremium?: string | undefined;
|
|
10142
10765
|
} | undefined;
|
|
10766
|
+
formInventory?: {
|
|
10767
|
+
formNumber: string;
|
|
10768
|
+
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
10769
|
+
title?: string | undefined;
|
|
10770
|
+
editionDate?: string | undefined;
|
|
10771
|
+
pageStart?: number | undefined;
|
|
10772
|
+
pageEnd?: number | undefined;
|
|
10773
|
+
documentNodeId?: string | undefined;
|
|
10774
|
+
sourceSpanIds?: string[] | undefined;
|
|
10775
|
+
sourceTextHash?: string | undefined;
|
|
10776
|
+
}[] | undefined;
|
|
10143
10777
|
security?: string | undefined;
|
|
10144
10778
|
premiumAmount?: number | undefined;
|
|
10145
10779
|
summary?: string | undefined;
|
|
@@ -10149,18 +10783,20 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10149
10783
|
type: string;
|
|
10150
10784
|
pageStart: number;
|
|
10151
10785
|
pageEnd?: number | undefined;
|
|
10152
|
-
|
|
10786
|
+
documentNodeId?: string | undefined;
|
|
10153
10787
|
sourceSpanIds?: string[] | undefined;
|
|
10154
10788
|
sourceTextHash?: string | undefined;
|
|
10789
|
+
recordId?: string | undefined;
|
|
10155
10790
|
excerpt?: string | undefined;
|
|
10156
10791
|
content?: string | undefined;
|
|
10157
10792
|
sectionNumber?: string | undefined;
|
|
10158
10793
|
coverageType?: string | undefined;
|
|
10159
10794
|
subsections?: {
|
|
10160
10795
|
title: string;
|
|
10161
|
-
|
|
10796
|
+
documentNodeId?: string | undefined;
|
|
10162
10797
|
sourceSpanIds?: string[] | undefined;
|
|
10163
10798
|
sourceTextHash?: string | undefined;
|
|
10799
|
+
pageNumber?: number | undefined;
|
|
10164
10800
|
excerpt?: string | undefined;
|
|
10165
10801
|
content?: string | undefined;
|
|
10166
10802
|
sectionNumber?: string | undefined;
|
|
@@ -10170,12 +10806,13 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10170
10806
|
definition: string;
|
|
10171
10807
|
term: string;
|
|
10172
10808
|
formNumber?: string | undefined;
|
|
10809
|
+
documentNodeId?: string | undefined;
|
|
10810
|
+
sourceSpanIds?: string[] | undefined;
|
|
10811
|
+
sourceTextHash?: string | undefined;
|
|
10173
10812
|
pageNumber?: number | undefined;
|
|
10174
10813
|
sectionRef?: string | undefined;
|
|
10175
10814
|
originalContent?: string | undefined;
|
|
10176
10815
|
recordId?: string | undefined;
|
|
10177
|
-
sourceSpanIds?: string[] | undefined;
|
|
10178
|
-
sourceTextHash?: string | undefined;
|
|
10179
10816
|
formTitle?: string | undefined;
|
|
10180
10817
|
}[] | undefined;
|
|
10181
10818
|
coveredReasons?: {
|
|
@@ -10184,13 +10821,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10184
10821
|
title?: string | undefined;
|
|
10185
10822
|
conditions?: string[] | undefined;
|
|
10186
10823
|
formNumber?: string | undefined;
|
|
10824
|
+
documentNodeId?: string | undefined;
|
|
10825
|
+
sourceSpanIds?: string[] | undefined;
|
|
10826
|
+
sourceTextHash?: string | undefined;
|
|
10187
10827
|
appliesTo?: string[] | undefined;
|
|
10188
10828
|
pageNumber?: number | undefined;
|
|
10189
10829
|
sectionRef?: string | undefined;
|
|
10190
10830
|
originalContent?: string | undefined;
|
|
10191
10831
|
recordId?: string | undefined;
|
|
10192
|
-
sourceSpanIds?: string[] | undefined;
|
|
10193
|
-
sourceTextHash?: string | undefined;
|
|
10194
10832
|
exceptions?: string[] | undefined;
|
|
10195
10833
|
formTitle?: string | undefined;
|
|
10196
10834
|
reasonNumber?: string | undefined;
|
|
@@ -10237,6 +10875,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10237
10875
|
limit: string;
|
|
10238
10876
|
included: boolean;
|
|
10239
10877
|
formNumber?: string | undefined;
|
|
10878
|
+
documentNodeId?: string | undefined;
|
|
10879
|
+
sourceSpanIds?: string[] | undefined;
|
|
10880
|
+
sourceTextHash?: string | undefined;
|
|
10240
10881
|
deductible?: string | undefined;
|
|
10241
10882
|
limitAmount?: number | undefined;
|
|
10242
10883
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
@@ -10249,8 +10890,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10249
10890
|
sectionRef?: string | undefined;
|
|
10250
10891
|
originalContent?: string | undefined;
|
|
10251
10892
|
recordId?: string | undefined;
|
|
10252
|
-
sourceSpanIds?: string[] | undefined;
|
|
10253
|
-
sourceTextHash?: string | undefined;
|
|
10254
10893
|
coverageCode?: string | undefined;
|
|
10255
10894
|
formEditionDate?: string | undefined;
|
|
10256
10895
|
deductibleType?: "per_occurrence" | "per_claim" | "aggregate" | "percentage" | "waiting_period" | undefined;
|
|
@@ -10268,9 +10907,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10268
10907
|
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";
|
|
10269
10908
|
editionDate?: string | undefined;
|
|
10270
10909
|
pageEnd?: number | undefined;
|
|
10271
|
-
|
|
10910
|
+
documentNodeId?: string | undefined;
|
|
10272
10911
|
sourceSpanIds?: string[] | undefined;
|
|
10273
10912
|
sourceTextHash?: string | undefined;
|
|
10913
|
+
recordId?: string | undefined;
|
|
10274
10914
|
effectiveDate?: string | undefined;
|
|
10275
10915
|
affectedCoverageParts?: string[] | undefined;
|
|
10276
10916
|
namedParties?: {
|
|
@@ -10296,11 +10936,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10296
10936
|
name: string;
|
|
10297
10937
|
content: string;
|
|
10298
10938
|
formNumber?: string | undefined;
|
|
10939
|
+
documentNodeId?: string | undefined;
|
|
10940
|
+
sourceSpanIds?: string[] | undefined;
|
|
10941
|
+
sourceTextHash?: string | undefined;
|
|
10299
10942
|
appliesTo?: string[] | undefined;
|
|
10300
10943
|
pageNumber?: number | undefined;
|
|
10301
10944
|
recordId?: string | undefined;
|
|
10302
|
-
sourceSpanIds?: string[] | undefined;
|
|
10303
|
-
sourceTextHash?: string | undefined;
|
|
10304
10945
|
excludedPerils?: string[] | undefined;
|
|
10305
10946
|
isAbsolute?: boolean | undefined;
|
|
10306
10947
|
exceptions?: string[] | undefined;
|
|
@@ -10316,14 +10957,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10316
10957
|
corridorDeductible?: string | undefined;
|
|
10317
10958
|
waitingPeriod?: string | undefined;
|
|
10318
10959
|
} | undefined;
|
|
10319
|
-
formInventory?: {
|
|
10320
|
-
formNumber: string;
|
|
10321
|
-
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
10322
|
-
title?: string | undefined;
|
|
10323
|
-
editionDate?: string | undefined;
|
|
10324
|
-
pageStart?: number | undefined;
|
|
10325
|
-
pageEnd?: number | undefined;
|
|
10326
|
-
}[] | undefined;
|
|
10327
10960
|
insurer?: {
|
|
10328
10961
|
legalName: string;
|
|
10329
10962
|
naicNumber?: string | undefined;
|
|
@@ -10444,6 +11077,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10444
11077
|
name: string;
|
|
10445
11078
|
amount: string;
|
|
10446
11079
|
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
11080
|
+
documentNodeId?: string | undefined;
|
|
11081
|
+
sourceSpanIds?: string[] | undefined;
|
|
11082
|
+
sourceTextHash?: string | undefined;
|
|
10447
11083
|
amountValue?: number | undefined;
|
|
10448
11084
|
description?: string | undefined;
|
|
10449
11085
|
}[] | undefined;
|
|
@@ -10496,6 +11132,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10496
11132
|
supplementaryFacts?: {
|
|
10497
11133
|
value: string;
|
|
10498
11134
|
key: string;
|
|
11135
|
+
documentNodeId?: string | undefined;
|
|
11136
|
+
sourceSpanIds?: string[] | undefined;
|
|
11137
|
+
sourceTextHash?: string | undefined;
|
|
10499
11138
|
subject?: string | undefined;
|
|
10500
11139
|
context?: string | undefined;
|
|
10501
11140
|
}[] | undefined;
|
|
@@ -10512,6 +11151,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10512
11151
|
premiumBreakdown?: {
|
|
10513
11152
|
amount: string;
|
|
10514
11153
|
line: string;
|
|
11154
|
+
documentNodeId?: string | undefined;
|
|
11155
|
+
sourceSpanIds?: string[] | undefined;
|
|
11156
|
+
sourceTextHash?: string | undefined;
|
|
10515
11157
|
amountValue?: number | undefined;
|
|
10516
11158
|
}[] | undefined;
|
|
10517
11159
|
enrichedSubjectivities?: {
|
|
@@ -10540,6 +11182,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10540
11182
|
name: string;
|
|
10541
11183
|
limit: string;
|
|
10542
11184
|
formNumber?: string | undefined;
|
|
11185
|
+
documentNodeId?: string | undefined;
|
|
11186
|
+
sourceSpanIds?: string[] | undefined;
|
|
11187
|
+
sourceTextHash?: string | undefined;
|
|
10543
11188
|
deductible?: string | undefined;
|
|
10544
11189
|
limitAmount?: number | undefined;
|
|
10545
11190
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
@@ -10552,12 +11197,47 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10552
11197
|
sectionRef?: string | undefined;
|
|
10553
11198
|
originalContent?: string | undefined;
|
|
10554
11199
|
recordId?: string | undefined;
|
|
10555
|
-
sourceSpanIds?: string[] | undefined;
|
|
10556
|
-
sourceTextHash?: string | undefined;
|
|
10557
11200
|
}[];
|
|
10558
11201
|
carrier: string;
|
|
10559
11202
|
id: string;
|
|
10560
11203
|
insuredName: string;
|
|
11204
|
+
documentMetadata: {
|
|
11205
|
+
formInventory?: {
|
|
11206
|
+
formNumber: string;
|
|
11207
|
+
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
11208
|
+
title?: string | undefined;
|
|
11209
|
+
editionDate?: string | undefined;
|
|
11210
|
+
pageStart?: number | undefined;
|
|
11211
|
+
pageEnd?: number | undefined;
|
|
11212
|
+
documentNodeId?: string | undefined;
|
|
11213
|
+
sourceSpanIds?: string[] | undefined;
|
|
11214
|
+
sourceTextHash?: string | undefined;
|
|
11215
|
+
}[] | undefined;
|
|
11216
|
+
tableOfContents?: {
|
|
11217
|
+
title: string;
|
|
11218
|
+
pageStart?: number | undefined;
|
|
11219
|
+
pageEnd?: number | undefined;
|
|
11220
|
+
documentNodeId?: string | undefined;
|
|
11221
|
+
sourceSpanIds?: string[] | undefined;
|
|
11222
|
+
level?: number | undefined;
|
|
11223
|
+
}[] | undefined;
|
|
11224
|
+
pageMap?: {
|
|
11225
|
+
page: number;
|
|
11226
|
+
formNumber?: string | undefined;
|
|
11227
|
+
sourceSpanIds?: string[] | undefined;
|
|
11228
|
+
formTitle?: string | undefined;
|
|
11229
|
+
label?: string | undefined;
|
|
11230
|
+
sectionTitle?: string | undefined;
|
|
11231
|
+
extractorNames?: string[] | undefined;
|
|
11232
|
+
}[] | undefined;
|
|
11233
|
+
agentGuidance?: {
|
|
11234
|
+
title: string;
|
|
11235
|
+
kind: string;
|
|
11236
|
+
detail: string;
|
|
11237
|
+
sourceSpanIds?: string[] | undefined;
|
|
11238
|
+
}[] | undefined;
|
|
11239
|
+
};
|
|
11240
|
+
documentOutline: DocumentNode[];
|
|
10561
11241
|
quoteNumber: string;
|
|
10562
11242
|
declarations?: {
|
|
10563
11243
|
formType: "HO-3" | "HO-5" | "HO-4" | "HO-6" | "HO-7" | "HO-8";
|
|
@@ -11058,10 +11738,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11058
11738
|
name: string;
|
|
11059
11739
|
content: string;
|
|
11060
11740
|
conditionType: "other" | "duties_after_loss" | "notice_requirements" | "other_insurance" | "cancellation" | "nonrenewal" | "transfer_of_rights" | "liberalization" | "arbitration" | "concealment_fraud" | "examination_under_oath" | "legal_action" | "loss_payment" | "appraisal" | "mortgage_holders" | "policy_territory" | "separation_of_insureds";
|
|
11061
|
-
|
|
11062
|
-
recordId?: string | undefined;
|
|
11741
|
+
documentNodeId?: string | undefined;
|
|
11063
11742
|
sourceSpanIds?: string[] | undefined;
|
|
11064
11743
|
sourceTextHash?: string | undefined;
|
|
11744
|
+
pageNumber?: number | undefined;
|
|
11745
|
+
recordId?: string | undefined;
|
|
11065
11746
|
keyValues?: {
|
|
11066
11747
|
value: string;
|
|
11067
11748
|
key: string;
|
|
@@ -11164,6 +11845,17 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11164
11845
|
supplementalYears?: number | undefined;
|
|
11165
11846
|
supplementalPremium?: string | undefined;
|
|
11166
11847
|
} | undefined;
|
|
11848
|
+
formInventory?: {
|
|
11849
|
+
formNumber: string;
|
|
11850
|
+
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
11851
|
+
title?: string | undefined;
|
|
11852
|
+
editionDate?: string | undefined;
|
|
11853
|
+
pageStart?: number | undefined;
|
|
11854
|
+
pageEnd?: number | undefined;
|
|
11855
|
+
documentNodeId?: string | undefined;
|
|
11856
|
+
sourceSpanIds?: string[] | undefined;
|
|
11857
|
+
sourceTextHash?: string | undefined;
|
|
11858
|
+
}[] | undefined;
|
|
11167
11859
|
security?: string | undefined;
|
|
11168
11860
|
premiumAmount?: number | undefined;
|
|
11169
11861
|
summary?: string | undefined;
|
|
@@ -11173,18 +11865,20 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11173
11865
|
type: string;
|
|
11174
11866
|
pageStart: number;
|
|
11175
11867
|
pageEnd?: number | undefined;
|
|
11176
|
-
|
|
11868
|
+
documentNodeId?: string | undefined;
|
|
11177
11869
|
sourceSpanIds?: string[] | undefined;
|
|
11178
11870
|
sourceTextHash?: string | undefined;
|
|
11871
|
+
recordId?: string | undefined;
|
|
11179
11872
|
excerpt?: string | undefined;
|
|
11180
11873
|
content?: string | undefined;
|
|
11181
11874
|
sectionNumber?: string | undefined;
|
|
11182
11875
|
coverageType?: string | undefined;
|
|
11183
11876
|
subsections?: {
|
|
11184
11877
|
title: string;
|
|
11185
|
-
|
|
11878
|
+
documentNodeId?: string | undefined;
|
|
11186
11879
|
sourceSpanIds?: string[] | undefined;
|
|
11187
11880
|
sourceTextHash?: string | undefined;
|
|
11881
|
+
pageNumber?: number | undefined;
|
|
11188
11882
|
excerpt?: string | undefined;
|
|
11189
11883
|
content?: string | undefined;
|
|
11190
11884
|
sectionNumber?: string | undefined;
|
|
@@ -11194,12 +11888,13 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11194
11888
|
definition: string;
|
|
11195
11889
|
term: string;
|
|
11196
11890
|
formNumber?: string | undefined;
|
|
11891
|
+
documentNodeId?: string | undefined;
|
|
11892
|
+
sourceSpanIds?: string[] | undefined;
|
|
11893
|
+
sourceTextHash?: string | undefined;
|
|
11197
11894
|
pageNumber?: number | undefined;
|
|
11198
11895
|
sectionRef?: string | undefined;
|
|
11199
11896
|
originalContent?: string | undefined;
|
|
11200
11897
|
recordId?: string | undefined;
|
|
11201
|
-
sourceSpanIds?: string[] | undefined;
|
|
11202
|
-
sourceTextHash?: string | undefined;
|
|
11203
11898
|
formTitle?: string | undefined;
|
|
11204
11899
|
}[] | undefined;
|
|
11205
11900
|
coveredReasons?: {
|
|
@@ -11208,13 +11903,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11208
11903
|
title?: string | undefined;
|
|
11209
11904
|
conditions?: string[] | undefined;
|
|
11210
11905
|
formNumber?: string | undefined;
|
|
11906
|
+
documentNodeId?: string | undefined;
|
|
11907
|
+
sourceSpanIds?: string[] | undefined;
|
|
11908
|
+
sourceTextHash?: string | undefined;
|
|
11211
11909
|
appliesTo?: string[] | undefined;
|
|
11212
11910
|
pageNumber?: number | undefined;
|
|
11213
11911
|
sectionRef?: string | undefined;
|
|
11214
11912
|
originalContent?: string | undefined;
|
|
11215
11913
|
recordId?: string | undefined;
|
|
11216
|
-
sourceSpanIds?: string[] | undefined;
|
|
11217
|
-
sourceTextHash?: string | undefined;
|
|
11218
11914
|
exceptions?: string[] | undefined;
|
|
11219
11915
|
formTitle?: string | undefined;
|
|
11220
11916
|
reasonNumber?: string | undefined;
|
|
@@ -11261,6 +11957,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11261
11957
|
limit: string;
|
|
11262
11958
|
included: boolean;
|
|
11263
11959
|
formNumber?: string | undefined;
|
|
11960
|
+
documentNodeId?: string | undefined;
|
|
11961
|
+
sourceSpanIds?: string[] | undefined;
|
|
11962
|
+
sourceTextHash?: string | undefined;
|
|
11264
11963
|
deductible?: string | undefined;
|
|
11265
11964
|
limitAmount?: number | undefined;
|
|
11266
11965
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
@@ -11273,8 +11972,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11273
11972
|
sectionRef?: string | undefined;
|
|
11274
11973
|
originalContent?: string | undefined;
|
|
11275
11974
|
recordId?: string | undefined;
|
|
11276
|
-
sourceSpanIds?: string[] | undefined;
|
|
11277
|
-
sourceTextHash?: string | undefined;
|
|
11278
11975
|
coverageCode?: string | undefined;
|
|
11279
11976
|
formEditionDate?: string | undefined;
|
|
11280
11977
|
deductibleType?: "per_occurrence" | "per_claim" | "aggregate" | "percentage" | "waiting_period" | undefined;
|
|
@@ -11292,9 +11989,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11292
11989
|
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";
|
|
11293
11990
|
editionDate?: string | undefined;
|
|
11294
11991
|
pageEnd?: number | undefined;
|
|
11295
|
-
|
|
11992
|
+
documentNodeId?: string | undefined;
|
|
11296
11993
|
sourceSpanIds?: string[] | undefined;
|
|
11297
11994
|
sourceTextHash?: string | undefined;
|
|
11995
|
+
recordId?: string | undefined;
|
|
11298
11996
|
effectiveDate?: string | undefined;
|
|
11299
11997
|
affectedCoverageParts?: string[] | undefined;
|
|
11300
11998
|
namedParties?: {
|
|
@@ -11320,11 +12018,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11320
12018
|
name: string;
|
|
11321
12019
|
content: string;
|
|
11322
12020
|
formNumber?: string | undefined;
|
|
12021
|
+
documentNodeId?: string | undefined;
|
|
12022
|
+
sourceSpanIds?: string[] | undefined;
|
|
12023
|
+
sourceTextHash?: string | undefined;
|
|
11323
12024
|
appliesTo?: string[] | undefined;
|
|
11324
12025
|
pageNumber?: number | undefined;
|
|
11325
12026
|
recordId?: string | undefined;
|
|
11326
|
-
sourceSpanIds?: string[] | undefined;
|
|
11327
|
-
sourceTextHash?: string | undefined;
|
|
11328
12027
|
excludedPerils?: string[] | undefined;
|
|
11329
12028
|
isAbsolute?: boolean | undefined;
|
|
11330
12029
|
exceptions?: string[] | undefined;
|
|
@@ -11340,14 +12039,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11340
12039
|
corridorDeductible?: string | undefined;
|
|
11341
12040
|
waitingPeriod?: string | undefined;
|
|
11342
12041
|
} | undefined;
|
|
11343
|
-
formInventory?: {
|
|
11344
|
-
formNumber: string;
|
|
11345
|
-
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
11346
|
-
title?: string | undefined;
|
|
11347
|
-
editionDate?: string | undefined;
|
|
11348
|
-
pageStart?: number | undefined;
|
|
11349
|
-
pageEnd?: number | undefined;
|
|
11350
|
-
}[] | undefined;
|
|
11351
12042
|
insurer?: {
|
|
11352
12043
|
legalName: string;
|
|
11353
12044
|
naicNumber?: string | undefined;
|
|
@@ -11468,6 +12159,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11468
12159
|
name: string;
|
|
11469
12160
|
amount: string;
|
|
11470
12161
|
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
12162
|
+
documentNodeId?: string | undefined;
|
|
12163
|
+
sourceSpanIds?: string[] | undefined;
|
|
12164
|
+
sourceTextHash?: string | undefined;
|
|
11471
12165
|
amountValue?: number | undefined;
|
|
11472
12166
|
description?: string | undefined;
|
|
11473
12167
|
}[] | undefined;
|
|
@@ -11520,6 +12214,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11520
12214
|
supplementaryFacts?: {
|
|
11521
12215
|
value: string;
|
|
11522
12216
|
key: string;
|
|
12217
|
+
documentNodeId?: string | undefined;
|
|
12218
|
+
sourceSpanIds?: string[] | undefined;
|
|
12219
|
+
sourceTextHash?: string | undefined;
|
|
11523
12220
|
subject?: string | undefined;
|
|
11524
12221
|
context?: string | undefined;
|
|
11525
12222
|
}[] | undefined;
|
|
@@ -11536,6 +12233,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11536
12233
|
premiumBreakdown?: {
|
|
11537
12234
|
amount: string;
|
|
11538
12235
|
line: string;
|
|
12236
|
+
documentNodeId?: string | undefined;
|
|
12237
|
+
sourceSpanIds?: string[] | undefined;
|
|
12238
|
+
sourceTextHash?: string | undefined;
|
|
11539
12239
|
amountValue?: number | undefined;
|
|
11540
12240
|
}[] | undefined;
|
|
11541
12241
|
enrichedSubjectivities?: {
|
|
@@ -11703,10 +12403,10 @@ declare const SourceSpanSchema: z.ZodObject<{
|
|
|
11703
12403
|
}>>;
|
|
11704
12404
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
11705
12405
|
}, "strip", z.ZodTypeAny, {
|
|
12406
|
+
kind: "pdf_text" | "pdf_image" | "html" | "markdown" | "plain_text" | "structured_field";
|
|
11706
12407
|
id: string;
|
|
11707
12408
|
text: string;
|
|
11708
12409
|
documentId: string;
|
|
11709
|
-
kind: "pdf_text" | "pdf_image" | "html" | "markdown" | "plain_text" | "structured_field";
|
|
11710
12410
|
hash: string;
|
|
11711
12411
|
formNumber?: string | undefined;
|
|
11712
12412
|
pageStart?: number | undefined;
|
|
@@ -11734,7 +12434,7 @@ declare const SourceSpanSchema: z.ZodObject<{
|
|
|
11734
12434
|
chunkId?: string | undefined;
|
|
11735
12435
|
textHash?: string | undefined;
|
|
11736
12436
|
sectionId?: string | undefined;
|
|
11737
|
-
sourceUnit?: "
|
|
12437
|
+
sourceUnit?: "page" | "section" | "table" | "table_row" | "table_cell" | "key_value" | "text" | undefined;
|
|
11738
12438
|
parentSpanId?: string | undefined;
|
|
11739
12439
|
bbox?: {
|
|
11740
12440
|
page: number;
|
|
@@ -11745,10 +12445,10 @@ declare const SourceSpanSchema: z.ZodObject<{
|
|
|
11745
12445
|
}[] | undefined;
|
|
11746
12446
|
metadata?: Record<string, string> | undefined;
|
|
11747
12447
|
}, {
|
|
12448
|
+
kind: "pdf_text" | "pdf_image" | "html" | "markdown" | "plain_text" | "structured_field";
|
|
11748
12449
|
id: string;
|
|
11749
12450
|
text: string;
|
|
11750
12451
|
documentId: string;
|
|
11751
|
-
kind: "pdf_text" | "pdf_image" | "html" | "markdown" | "plain_text" | "structured_field";
|
|
11752
12452
|
hash: string;
|
|
11753
12453
|
formNumber?: string | undefined;
|
|
11754
12454
|
pageStart?: number | undefined;
|
|
@@ -11776,7 +12476,7 @@ declare const SourceSpanSchema: z.ZodObject<{
|
|
|
11776
12476
|
chunkId?: string | undefined;
|
|
11777
12477
|
textHash?: string | undefined;
|
|
11778
12478
|
sectionId?: string | undefined;
|
|
11779
|
-
sourceUnit?: "
|
|
12479
|
+
sourceUnit?: "page" | "section" | "table" | "table_row" | "table_cell" | "key_value" | "text" | undefined;
|
|
11780
12480
|
parentSpanId?: string | undefined;
|
|
11781
12481
|
bbox?: {
|
|
11782
12482
|
page: number;
|