@claritylabs/cl-sdk 1.3.7 → 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 +6 -4
- package/dist/index.d.mts +2303 -467
- package/dist/index.d.ts +2303 -467
- package/dist/index.js +919 -60
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +912 -60
- package/dist/index.mjs.map +1 -1
- package/dist/storage-sqlite.d.mts +947 -178
- package/dist/storage-sqlite.d.ts +947 -178
- package/dist/storage-sqlite.js +33 -2
- package/dist/storage-sqlite.js.map +1 -1
- package/dist/storage-sqlite.mjs +33 -2
- package/dist/storage-sqlite.mjs.map +1 -1
- package/package.json +2 -2
package/dist/storage-sqlite.d.ts
CHANGED
|
@@ -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;
|
|
@@ -29,46 +48,222 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
29
48
|
deductible: z.ZodOptional<z.ZodString>;
|
|
30
49
|
deductibleAmount: z.ZodOptional<z.ZodNumber>;
|
|
31
50
|
deductibleValueType: z.ZodOptional<z.ZodEnum<["numeric", "included", "not_included", "as_stated", "waiting_period", "referential", "other"]>>;
|
|
51
|
+
trigger: z.ZodOptional<z.ZodEnum<["occurrence", "claims_made", "accident"]>>;
|
|
52
|
+
retroactiveDate: z.ZodOptional<z.ZodString>;
|
|
32
53
|
formNumber: z.ZodOptional<z.ZodString>;
|
|
33
54
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
34
55
|
sectionRef: z.ZodOptional<z.ZodString>;
|
|
35
56
|
originalContent: z.ZodOptional<z.ZodString>;
|
|
36
57
|
recordId: z.ZodOptional<z.ZodString>;
|
|
58
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
37
59
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
38
60
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
39
61
|
}, "strip", z.ZodTypeAny, {
|
|
40
62
|
name: string;
|
|
41
63
|
limit: string;
|
|
42
64
|
formNumber?: string | undefined;
|
|
65
|
+
documentNodeId?: string | undefined;
|
|
66
|
+
sourceSpanIds?: string[] | undefined;
|
|
67
|
+
sourceTextHash?: string | undefined;
|
|
43
68
|
deductible?: string | undefined;
|
|
44
69
|
limitAmount?: number | undefined;
|
|
45
70
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
46
71
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
47
72
|
deductibleAmount?: number | undefined;
|
|
48
73
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
74
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
75
|
+
retroactiveDate?: string | undefined;
|
|
49
76
|
pageNumber?: number | undefined;
|
|
50
77
|
sectionRef?: string | undefined;
|
|
51
78
|
originalContent?: string | undefined;
|
|
52
79
|
recordId?: string | undefined;
|
|
53
|
-
sourceSpanIds?: string[] | undefined;
|
|
54
|
-
sourceTextHash?: string | undefined;
|
|
55
80
|
}, {
|
|
56
81
|
name: string;
|
|
57
82
|
limit: string;
|
|
58
83
|
formNumber?: string | undefined;
|
|
84
|
+
documentNodeId?: string | undefined;
|
|
85
|
+
sourceSpanIds?: string[] | undefined;
|
|
86
|
+
sourceTextHash?: string | undefined;
|
|
59
87
|
deductible?: string | undefined;
|
|
60
88
|
limitAmount?: number | undefined;
|
|
61
89
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
62
90
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
63
91
|
deductibleAmount?: number | undefined;
|
|
64
92
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
93
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
94
|
+
retroactiveDate?: string | undefined;
|
|
65
95
|
pageNumber?: number | undefined;
|
|
66
96
|
sectionRef?: string | undefined;
|
|
67
97
|
originalContent?: string | undefined;
|
|
68
98
|
recordId?: string | undefined;
|
|
69
|
-
sourceSpanIds?: string[] | undefined;
|
|
70
|
-
sourceTextHash?: string | undefined;
|
|
71
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">;
|
|
72
267
|
sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
73
268
|
title: z.ZodString;
|
|
74
269
|
sectionNumber: z.ZodOptional<z.ZodString>;
|
|
@@ -84,26 +279,30 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
84
279
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
85
280
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
86
281
|
content: z.ZodOptional<z.ZodString>;
|
|
282
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
87
283
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
88
284
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
89
285
|
}, "strip", z.ZodTypeAny, {
|
|
90
286
|
title: string;
|
|
91
|
-
|
|
287
|
+
documentNodeId?: string | undefined;
|
|
92
288
|
sourceSpanIds?: string[] | undefined;
|
|
93
289
|
sourceTextHash?: string | undefined;
|
|
290
|
+
pageNumber?: number | undefined;
|
|
94
291
|
excerpt?: string | undefined;
|
|
95
292
|
content?: string | undefined;
|
|
96
293
|
sectionNumber?: string | undefined;
|
|
97
294
|
}, {
|
|
98
295
|
title: string;
|
|
99
|
-
|
|
296
|
+
documentNodeId?: string | undefined;
|
|
100
297
|
sourceSpanIds?: string[] | undefined;
|
|
101
298
|
sourceTextHash?: string | undefined;
|
|
299
|
+
pageNumber?: number | undefined;
|
|
102
300
|
excerpt?: string | undefined;
|
|
103
301
|
content?: string | undefined;
|
|
104
302
|
sectionNumber?: string | undefined;
|
|
105
303
|
}>, "many">>;
|
|
106
304
|
recordId: z.ZodOptional<z.ZodString>;
|
|
305
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
107
306
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
108
307
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
109
308
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -111,18 +310,20 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
111
310
|
type: string;
|
|
112
311
|
pageStart: number;
|
|
113
312
|
pageEnd?: number | undefined;
|
|
114
|
-
|
|
313
|
+
documentNodeId?: string | undefined;
|
|
115
314
|
sourceSpanIds?: string[] | undefined;
|
|
116
315
|
sourceTextHash?: string | undefined;
|
|
316
|
+
recordId?: string | undefined;
|
|
117
317
|
excerpt?: string | undefined;
|
|
118
318
|
content?: string | undefined;
|
|
119
319
|
sectionNumber?: string | undefined;
|
|
120
320
|
coverageType?: string | undefined;
|
|
121
321
|
subsections?: {
|
|
122
322
|
title: string;
|
|
123
|
-
|
|
323
|
+
documentNodeId?: string | undefined;
|
|
124
324
|
sourceSpanIds?: string[] | undefined;
|
|
125
325
|
sourceTextHash?: string | undefined;
|
|
326
|
+
pageNumber?: number | undefined;
|
|
126
327
|
excerpt?: string | undefined;
|
|
127
328
|
content?: string | undefined;
|
|
128
329
|
sectionNumber?: string | undefined;
|
|
@@ -132,18 +333,20 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
132
333
|
type: string;
|
|
133
334
|
pageStart: number;
|
|
134
335
|
pageEnd?: number | undefined;
|
|
135
|
-
|
|
336
|
+
documentNodeId?: string | undefined;
|
|
136
337
|
sourceSpanIds?: string[] | undefined;
|
|
137
338
|
sourceTextHash?: string | undefined;
|
|
339
|
+
recordId?: string | undefined;
|
|
138
340
|
excerpt?: string | undefined;
|
|
139
341
|
content?: string | undefined;
|
|
140
342
|
sectionNumber?: string | undefined;
|
|
141
343
|
coverageType?: string | undefined;
|
|
142
344
|
subsections?: {
|
|
143
345
|
title: string;
|
|
144
|
-
|
|
346
|
+
documentNodeId?: string | undefined;
|
|
145
347
|
sourceSpanIds?: string[] | undefined;
|
|
146
348
|
sourceTextHash?: string | undefined;
|
|
349
|
+
pageNumber?: number | undefined;
|
|
147
350
|
excerpt?: string | undefined;
|
|
148
351
|
content?: string | undefined;
|
|
149
352
|
sectionNumber?: string | undefined;
|
|
@@ -158,29 +361,32 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
158
361
|
sectionRef: z.ZodOptional<z.ZodString>;
|
|
159
362
|
originalContent: z.ZodOptional<z.ZodString>;
|
|
160
363
|
recordId: z.ZodOptional<z.ZodString>;
|
|
364
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
161
365
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
162
366
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
163
367
|
}, "strip", z.ZodTypeAny, {
|
|
164
368
|
definition: string;
|
|
165
369
|
term: string;
|
|
166
370
|
formNumber?: string | undefined;
|
|
371
|
+
documentNodeId?: string | undefined;
|
|
372
|
+
sourceSpanIds?: string[] | undefined;
|
|
373
|
+
sourceTextHash?: string | undefined;
|
|
167
374
|
pageNumber?: number | undefined;
|
|
168
375
|
sectionRef?: string | undefined;
|
|
169
376
|
originalContent?: string | undefined;
|
|
170
377
|
recordId?: string | undefined;
|
|
171
|
-
sourceSpanIds?: string[] | undefined;
|
|
172
|
-
sourceTextHash?: string | undefined;
|
|
173
378
|
formTitle?: string | undefined;
|
|
174
379
|
}, {
|
|
175
380
|
definition: string;
|
|
176
381
|
term: string;
|
|
177
382
|
formNumber?: string | undefined;
|
|
383
|
+
documentNodeId?: string | undefined;
|
|
384
|
+
sourceSpanIds?: string[] | undefined;
|
|
385
|
+
sourceTextHash?: string | undefined;
|
|
178
386
|
pageNumber?: number | undefined;
|
|
179
387
|
sectionRef?: string | undefined;
|
|
180
388
|
originalContent?: string | undefined;
|
|
181
389
|
recordId?: string | undefined;
|
|
182
|
-
sourceSpanIds?: string[] | undefined;
|
|
183
|
-
sourceTextHash?: string | undefined;
|
|
184
390
|
formTitle?: string | undefined;
|
|
185
391
|
}>, "many">>;
|
|
186
392
|
coveredReasons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -197,6 +403,7 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
197
403
|
sectionRef: z.ZodOptional<z.ZodString>;
|
|
198
404
|
originalContent: z.ZodOptional<z.ZodString>;
|
|
199
405
|
recordId: z.ZodOptional<z.ZodString>;
|
|
406
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
200
407
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
201
408
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
202
409
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -205,13 +412,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
205
412
|
title?: string | undefined;
|
|
206
413
|
conditions?: string[] | undefined;
|
|
207
414
|
formNumber?: string | undefined;
|
|
415
|
+
documentNodeId?: string | undefined;
|
|
416
|
+
sourceSpanIds?: string[] | undefined;
|
|
417
|
+
sourceTextHash?: string | undefined;
|
|
208
418
|
appliesTo?: string[] | undefined;
|
|
209
419
|
pageNumber?: number | undefined;
|
|
210
420
|
sectionRef?: string | undefined;
|
|
211
421
|
originalContent?: string | undefined;
|
|
212
422
|
recordId?: string | undefined;
|
|
213
|
-
sourceSpanIds?: string[] | undefined;
|
|
214
|
-
sourceTextHash?: string | undefined;
|
|
215
423
|
exceptions?: string[] | undefined;
|
|
216
424
|
formTitle?: string | undefined;
|
|
217
425
|
reasonNumber?: string | undefined;
|
|
@@ -221,13 +429,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
221
429
|
title?: string | undefined;
|
|
222
430
|
conditions?: string[] | undefined;
|
|
223
431
|
formNumber?: string | undefined;
|
|
432
|
+
documentNodeId?: string | undefined;
|
|
433
|
+
sourceSpanIds?: string[] | undefined;
|
|
434
|
+
sourceTextHash?: string | undefined;
|
|
224
435
|
appliesTo?: string[] | undefined;
|
|
225
436
|
pageNumber?: number | undefined;
|
|
226
437
|
sectionRef?: string | undefined;
|
|
227
438
|
originalContent?: string | undefined;
|
|
228
439
|
recordId?: string | undefined;
|
|
229
|
-
sourceSpanIds?: string[] | undefined;
|
|
230
|
-
sourceTextHash?: string | undefined;
|
|
231
440
|
exceptions?: string[] | undefined;
|
|
232
441
|
formTitle?: string | undefined;
|
|
233
442
|
reasonNumber?: string | undefined;
|
|
@@ -346,6 +555,7 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
346
555
|
sectionRef: z.ZodOptional<z.ZodString>;
|
|
347
556
|
originalContent: z.ZodOptional<z.ZodString>;
|
|
348
557
|
recordId: z.ZodOptional<z.ZodString>;
|
|
558
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
349
559
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
350
560
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
351
561
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -353,18 +563,21 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
353
563
|
limit: string;
|
|
354
564
|
included: boolean;
|
|
355
565
|
formNumber?: string | undefined;
|
|
566
|
+
documentNodeId?: string | undefined;
|
|
567
|
+
sourceSpanIds?: string[] | undefined;
|
|
568
|
+
sourceTextHash?: string | undefined;
|
|
356
569
|
deductible?: string | undefined;
|
|
357
570
|
limitAmount?: number | undefined;
|
|
358
571
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
359
572
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
360
573
|
deductibleAmount?: number | undefined;
|
|
361
574
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
575
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
576
|
+
retroactiveDate?: string | undefined;
|
|
362
577
|
pageNumber?: number | undefined;
|
|
363
578
|
sectionRef?: string | undefined;
|
|
364
579
|
originalContent?: string | undefined;
|
|
365
580
|
recordId?: string | undefined;
|
|
366
|
-
sourceSpanIds?: string[] | undefined;
|
|
367
|
-
sourceTextHash?: string | undefined;
|
|
368
581
|
coverageCode?: string | undefined;
|
|
369
582
|
formEditionDate?: string | undefined;
|
|
370
583
|
deductibleType?: "per_occurrence" | "per_claim" | "aggregate" | "percentage" | "waiting_period" | undefined;
|
|
@@ -373,26 +586,27 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
373
586
|
coinsurance?: string | undefined;
|
|
374
587
|
valuation?: "replacement_cost" | "actual_cash_value" | "agreed_value" | "functional_replacement" | undefined;
|
|
375
588
|
territory?: string | undefined;
|
|
376
|
-
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
377
|
-
retroactiveDate?: string | undefined;
|
|
378
589
|
premium?: string | undefined;
|
|
379
590
|
}, {
|
|
380
591
|
name: string;
|
|
381
592
|
limit: string;
|
|
382
593
|
included: boolean;
|
|
383
594
|
formNumber?: string | undefined;
|
|
595
|
+
documentNodeId?: string | undefined;
|
|
596
|
+
sourceSpanIds?: string[] | undefined;
|
|
597
|
+
sourceTextHash?: string | undefined;
|
|
384
598
|
deductible?: string | undefined;
|
|
385
599
|
limitAmount?: number | undefined;
|
|
386
600
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
387
601
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
388
602
|
deductibleAmount?: number | undefined;
|
|
389
603
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
604
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
605
|
+
retroactiveDate?: string | undefined;
|
|
390
606
|
pageNumber?: number | undefined;
|
|
391
607
|
sectionRef?: string | undefined;
|
|
392
608
|
originalContent?: string | undefined;
|
|
393
609
|
recordId?: string | undefined;
|
|
394
|
-
sourceSpanIds?: string[] | undefined;
|
|
395
|
-
sourceTextHash?: string | undefined;
|
|
396
610
|
coverageCode?: string | undefined;
|
|
397
611
|
formEditionDate?: string | undefined;
|
|
398
612
|
deductibleType?: "per_occurrence" | "per_claim" | "aggregate" | "percentage" | "waiting_period" | undefined;
|
|
@@ -401,8 +615,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
401
615
|
coinsurance?: string | undefined;
|
|
402
616
|
valuation?: "replacement_cost" | "actual_cash_value" | "agreed_value" | "functional_replacement" | undefined;
|
|
403
617
|
territory?: string | undefined;
|
|
404
|
-
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
405
|
-
retroactiveDate?: string | undefined;
|
|
406
618
|
premium?: string | undefined;
|
|
407
619
|
}>, "many">>;
|
|
408
620
|
endorsements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -473,6 +685,7 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
473
685
|
pageStart: z.ZodNumber;
|
|
474
686
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
475
687
|
recordId: z.ZodOptional<z.ZodString>;
|
|
688
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
476
689
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
477
690
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
478
691
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -482,9 +695,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
482
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";
|
|
483
696
|
editionDate?: string | undefined;
|
|
484
697
|
pageEnd?: number | undefined;
|
|
485
|
-
|
|
698
|
+
documentNodeId?: string | undefined;
|
|
486
699
|
sourceSpanIds?: string[] | undefined;
|
|
487
700
|
sourceTextHash?: string | undefined;
|
|
701
|
+
recordId?: string | undefined;
|
|
488
702
|
effectiveDate?: string | undefined;
|
|
489
703
|
affectedCoverageParts?: string[] | undefined;
|
|
490
704
|
namedParties?: {
|
|
@@ -512,9 +726,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
512
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";
|
|
513
727
|
editionDate?: string | undefined;
|
|
514
728
|
pageEnd?: number | undefined;
|
|
515
|
-
|
|
729
|
+
documentNodeId?: string | undefined;
|
|
516
730
|
sourceSpanIds?: string[] | undefined;
|
|
517
731
|
sourceTextHash?: string | undefined;
|
|
732
|
+
recordId?: string | undefined;
|
|
518
733
|
effectiveDate?: string | undefined;
|
|
519
734
|
affectedCoverageParts?: string[] | undefined;
|
|
520
735
|
namedParties?: {
|
|
@@ -548,17 +763,19 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
548
763
|
content: z.ZodString;
|
|
549
764
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
550
765
|
recordId: z.ZodOptional<z.ZodString>;
|
|
766
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
551
767
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
552
768
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
553
769
|
}, "strip", z.ZodTypeAny, {
|
|
554
770
|
name: string;
|
|
555
771
|
content: string;
|
|
556
772
|
formNumber?: string | undefined;
|
|
773
|
+
documentNodeId?: string | undefined;
|
|
774
|
+
sourceSpanIds?: string[] | undefined;
|
|
775
|
+
sourceTextHash?: string | undefined;
|
|
557
776
|
appliesTo?: string[] | undefined;
|
|
558
777
|
pageNumber?: number | undefined;
|
|
559
778
|
recordId?: string | undefined;
|
|
560
|
-
sourceSpanIds?: string[] | undefined;
|
|
561
|
-
sourceTextHash?: string | undefined;
|
|
562
779
|
excludedPerils?: string[] | undefined;
|
|
563
780
|
isAbsolute?: boolean | undefined;
|
|
564
781
|
exceptions?: string[] | undefined;
|
|
@@ -568,11 +785,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
568
785
|
name: string;
|
|
569
786
|
content: string;
|
|
570
787
|
formNumber?: string | undefined;
|
|
788
|
+
documentNodeId?: string | undefined;
|
|
789
|
+
sourceSpanIds?: string[] | undefined;
|
|
790
|
+
sourceTextHash?: string | undefined;
|
|
571
791
|
appliesTo?: string[] | undefined;
|
|
572
792
|
pageNumber?: number | undefined;
|
|
573
793
|
recordId?: string | undefined;
|
|
574
|
-
sourceSpanIds?: string[] | undefined;
|
|
575
|
-
sourceTextHash?: string | undefined;
|
|
576
794
|
excludedPerils?: string[] | undefined;
|
|
577
795
|
isAbsolute?: boolean | undefined;
|
|
578
796
|
exceptions?: string[] | undefined;
|
|
@@ -595,16 +813,18 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
595
813
|
}>, "many">>;
|
|
596
814
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
597
815
|
recordId: z.ZodOptional<z.ZodString>;
|
|
816
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
598
817
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
599
818
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
600
819
|
}, "strip", z.ZodTypeAny, {
|
|
601
820
|
name: string;
|
|
602
821
|
content: string;
|
|
603
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";
|
|
604
|
-
|
|
605
|
-
recordId?: string | undefined;
|
|
823
|
+
documentNodeId?: string | undefined;
|
|
606
824
|
sourceSpanIds?: string[] | undefined;
|
|
607
825
|
sourceTextHash?: string | undefined;
|
|
826
|
+
pageNumber?: number | undefined;
|
|
827
|
+
recordId?: string | undefined;
|
|
608
828
|
keyValues?: {
|
|
609
829
|
value: string;
|
|
610
830
|
key: string;
|
|
@@ -613,10 +833,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
613
833
|
name: string;
|
|
614
834
|
content: string;
|
|
615
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";
|
|
616
|
-
|
|
617
|
-
recordId?: string | undefined;
|
|
836
|
+
documentNodeId?: string | undefined;
|
|
618
837
|
sourceSpanIds?: string[] | undefined;
|
|
619
838
|
sourceTextHash?: string | undefined;
|
|
839
|
+
pageNumber?: number | undefined;
|
|
840
|
+
recordId?: string | undefined;
|
|
620
841
|
keyValues?: {
|
|
621
842
|
value: string;
|
|
622
843
|
key: string;
|
|
@@ -945,6 +1166,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
945
1166
|
formType: z.ZodEnum<["coverage", "endorsement", "declarations", "application", "notice", "other"]>;
|
|
946
1167
|
pageStart: z.ZodOptional<z.ZodNumber>;
|
|
947
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>;
|
|
948
1172
|
}, "strip", z.ZodTypeAny, {
|
|
949
1173
|
formNumber: string;
|
|
950
1174
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -952,6 +1176,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
952
1176
|
editionDate?: string | undefined;
|
|
953
1177
|
pageStart?: number | undefined;
|
|
954
1178
|
pageEnd?: number | undefined;
|
|
1179
|
+
documentNodeId?: string | undefined;
|
|
1180
|
+
sourceSpanIds?: string[] | undefined;
|
|
1181
|
+
sourceTextHash?: string | undefined;
|
|
955
1182
|
}, {
|
|
956
1183
|
formNumber: string;
|
|
957
1184
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -959,6 +1186,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
959
1186
|
editionDate?: string | undefined;
|
|
960
1187
|
pageStart?: number | undefined;
|
|
961
1188
|
pageEnd?: number | undefined;
|
|
1189
|
+
documentNodeId?: string | undefined;
|
|
1190
|
+
sourceSpanIds?: string[] | undefined;
|
|
1191
|
+
sourceTextHash?: string | undefined;
|
|
962
1192
|
}>, "many">>;
|
|
963
1193
|
declarations: z.ZodOptional<z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
|
|
964
1194
|
line: z.ZodLiteral<"homeowners">;
|
|
@@ -3558,16 +3788,25 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3558
3788
|
amountValue: z.ZodOptional<z.ZodNumber>;
|
|
3559
3789
|
type: z.ZodOptional<z.ZodEnum<["tax", "fee", "surcharge", "assessment"]>>;
|
|
3560
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>;
|
|
3561
3794
|
}, "strip", z.ZodTypeAny, {
|
|
3562
3795
|
name: string;
|
|
3563
3796
|
amount: string;
|
|
3564
3797
|
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
3798
|
+
documentNodeId?: string | undefined;
|
|
3799
|
+
sourceSpanIds?: string[] | undefined;
|
|
3800
|
+
sourceTextHash?: string | undefined;
|
|
3565
3801
|
amountValue?: number | undefined;
|
|
3566
3802
|
description?: string | undefined;
|
|
3567
3803
|
}, {
|
|
3568
3804
|
name: string;
|
|
3569
3805
|
amount: string;
|
|
3570
3806
|
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
3807
|
+
documentNodeId?: string | undefined;
|
|
3808
|
+
sourceSpanIds?: string[] | undefined;
|
|
3809
|
+
sourceTextHash?: string | undefined;
|
|
3571
3810
|
amountValue?: number | undefined;
|
|
3572
3811
|
description?: string | undefined;
|
|
3573
3812
|
}>, "many">>;
|
|
@@ -3707,14 +3946,23 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3707
3946
|
value: z.ZodString;
|
|
3708
3947
|
subject: z.ZodOptional<z.ZodString>;
|
|
3709
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>;
|
|
3710
3952
|
}, "strip", z.ZodTypeAny, {
|
|
3711
3953
|
value: string;
|
|
3712
3954
|
key: string;
|
|
3955
|
+
documentNodeId?: string | undefined;
|
|
3956
|
+
sourceSpanIds?: string[] | undefined;
|
|
3957
|
+
sourceTextHash?: string | undefined;
|
|
3713
3958
|
subject?: string | undefined;
|
|
3714
3959
|
context?: string | undefined;
|
|
3715
3960
|
}, {
|
|
3716
3961
|
value: string;
|
|
3717
3962
|
key: string;
|
|
3963
|
+
documentNodeId?: string | undefined;
|
|
3964
|
+
sourceSpanIds?: string[] | undefined;
|
|
3965
|
+
sourceTextHash?: string | undefined;
|
|
3718
3966
|
subject?: string | undefined;
|
|
3719
3967
|
context?: string | undefined;
|
|
3720
3968
|
}>, "many">>;
|
|
@@ -3725,23 +3973,63 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3725
3973
|
name: string;
|
|
3726
3974
|
limit: string;
|
|
3727
3975
|
formNumber?: string | undefined;
|
|
3976
|
+
documentNodeId?: string | undefined;
|
|
3977
|
+
sourceSpanIds?: string[] | undefined;
|
|
3978
|
+
sourceTextHash?: string | undefined;
|
|
3728
3979
|
deductible?: string | undefined;
|
|
3729
3980
|
limitAmount?: number | undefined;
|
|
3730
3981
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
3731
3982
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
3732
3983
|
deductibleAmount?: number | undefined;
|
|
3733
3984
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
3985
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
3986
|
+
retroactiveDate?: string | undefined;
|
|
3734
3987
|
pageNumber?: number | undefined;
|
|
3735
3988
|
sectionRef?: string | undefined;
|
|
3736
3989
|
originalContent?: string | undefined;
|
|
3737
3990
|
recordId?: string | undefined;
|
|
3738
|
-
sourceSpanIds?: string[] | undefined;
|
|
3739
|
-
sourceTextHash?: string | undefined;
|
|
3740
3991
|
}[];
|
|
3741
3992
|
carrier: string;
|
|
3742
3993
|
policyNumber: string;
|
|
3743
3994
|
id: string;
|
|
3744
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[];
|
|
3745
4033
|
declarations?: {
|
|
3746
4034
|
formType: "HO-3" | "HO-5" | "HO-4" | "HO-6" | "HO-7" | "HO-8";
|
|
3747
4035
|
line: "homeowners";
|
|
@@ -4241,10 +4529,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4241
4529
|
name: string;
|
|
4242
4530
|
content: string;
|
|
4243
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";
|
|
4244
|
-
|
|
4245
|
-
recordId?: string | undefined;
|
|
4532
|
+
documentNodeId?: string | undefined;
|
|
4246
4533
|
sourceSpanIds?: string[] | undefined;
|
|
4247
4534
|
sourceTextHash?: string | undefined;
|
|
4535
|
+
pageNumber?: number | undefined;
|
|
4536
|
+
recordId?: string | undefined;
|
|
4248
4537
|
keyValues?: {
|
|
4249
4538
|
value: string;
|
|
4250
4539
|
key: string;
|
|
@@ -4347,6 +4636,17 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4347
4636
|
supplementalYears?: number | undefined;
|
|
4348
4637
|
supplementalPremium?: string | undefined;
|
|
4349
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;
|
|
4350
4650
|
expirationDate?: string | undefined;
|
|
4351
4651
|
policyTermType?: "fixed" | "continuous" | undefined;
|
|
4352
4652
|
nextReviewDate?: string | undefined;
|
|
@@ -4360,18 +4660,20 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4360
4660
|
type: string;
|
|
4361
4661
|
pageStart: number;
|
|
4362
4662
|
pageEnd?: number | undefined;
|
|
4363
|
-
|
|
4663
|
+
documentNodeId?: string | undefined;
|
|
4364
4664
|
sourceSpanIds?: string[] | undefined;
|
|
4365
4665
|
sourceTextHash?: string | undefined;
|
|
4666
|
+
recordId?: string | undefined;
|
|
4366
4667
|
excerpt?: string | undefined;
|
|
4367
4668
|
content?: string | undefined;
|
|
4368
4669
|
sectionNumber?: string | undefined;
|
|
4369
4670
|
coverageType?: string | undefined;
|
|
4370
4671
|
subsections?: {
|
|
4371
4672
|
title: string;
|
|
4372
|
-
|
|
4673
|
+
documentNodeId?: string | undefined;
|
|
4373
4674
|
sourceSpanIds?: string[] | undefined;
|
|
4374
4675
|
sourceTextHash?: string | undefined;
|
|
4676
|
+
pageNumber?: number | undefined;
|
|
4375
4677
|
excerpt?: string | undefined;
|
|
4376
4678
|
content?: string | undefined;
|
|
4377
4679
|
sectionNumber?: string | undefined;
|
|
@@ -4381,12 +4683,13 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4381
4683
|
definition: string;
|
|
4382
4684
|
term: string;
|
|
4383
4685
|
formNumber?: string | undefined;
|
|
4686
|
+
documentNodeId?: string | undefined;
|
|
4687
|
+
sourceSpanIds?: string[] | undefined;
|
|
4688
|
+
sourceTextHash?: string | undefined;
|
|
4384
4689
|
pageNumber?: number | undefined;
|
|
4385
4690
|
sectionRef?: string | undefined;
|
|
4386
4691
|
originalContent?: string | undefined;
|
|
4387
4692
|
recordId?: string | undefined;
|
|
4388
|
-
sourceSpanIds?: string[] | undefined;
|
|
4389
|
-
sourceTextHash?: string | undefined;
|
|
4390
4693
|
formTitle?: string | undefined;
|
|
4391
4694
|
}[] | undefined;
|
|
4392
4695
|
coveredReasons?: {
|
|
@@ -4395,13 +4698,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4395
4698
|
title?: string | undefined;
|
|
4396
4699
|
conditions?: string[] | undefined;
|
|
4397
4700
|
formNumber?: string | undefined;
|
|
4701
|
+
documentNodeId?: string | undefined;
|
|
4702
|
+
sourceSpanIds?: string[] | undefined;
|
|
4703
|
+
sourceTextHash?: string | undefined;
|
|
4398
4704
|
appliesTo?: string[] | undefined;
|
|
4399
4705
|
pageNumber?: number | undefined;
|
|
4400
4706
|
sectionRef?: string | undefined;
|
|
4401
4707
|
originalContent?: string | undefined;
|
|
4402
4708
|
recordId?: string | undefined;
|
|
4403
|
-
sourceSpanIds?: string[] | undefined;
|
|
4404
|
-
sourceTextHash?: string | undefined;
|
|
4405
4709
|
exceptions?: string[] | undefined;
|
|
4406
4710
|
formTitle?: string | undefined;
|
|
4407
4711
|
reasonNumber?: string | undefined;
|
|
@@ -4448,18 +4752,21 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4448
4752
|
limit: string;
|
|
4449
4753
|
included: boolean;
|
|
4450
4754
|
formNumber?: string | undefined;
|
|
4755
|
+
documentNodeId?: string | undefined;
|
|
4756
|
+
sourceSpanIds?: string[] | undefined;
|
|
4757
|
+
sourceTextHash?: string | undefined;
|
|
4451
4758
|
deductible?: string | undefined;
|
|
4452
4759
|
limitAmount?: number | undefined;
|
|
4453
4760
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
4454
4761
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
4455
4762
|
deductibleAmount?: number | undefined;
|
|
4456
4763
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
4764
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
4765
|
+
retroactiveDate?: string | undefined;
|
|
4457
4766
|
pageNumber?: number | undefined;
|
|
4458
4767
|
sectionRef?: string | undefined;
|
|
4459
4768
|
originalContent?: string | undefined;
|
|
4460
4769
|
recordId?: string | undefined;
|
|
4461
|
-
sourceSpanIds?: string[] | undefined;
|
|
4462
|
-
sourceTextHash?: string | undefined;
|
|
4463
4770
|
coverageCode?: string | undefined;
|
|
4464
4771
|
formEditionDate?: string | undefined;
|
|
4465
4772
|
deductibleType?: "per_occurrence" | "per_claim" | "aggregate" | "percentage" | "waiting_period" | undefined;
|
|
@@ -4468,8 +4775,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4468
4775
|
coinsurance?: string | undefined;
|
|
4469
4776
|
valuation?: "replacement_cost" | "actual_cash_value" | "agreed_value" | "functional_replacement" | undefined;
|
|
4470
4777
|
territory?: string | undefined;
|
|
4471
|
-
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
4472
|
-
retroactiveDate?: string | undefined;
|
|
4473
4778
|
premium?: string | undefined;
|
|
4474
4779
|
}[] | undefined;
|
|
4475
4780
|
endorsements?: {
|
|
@@ -4479,9 +4784,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4479
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";
|
|
4480
4785
|
editionDate?: string | undefined;
|
|
4481
4786
|
pageEnd?: number | undefined;
|
|
4482
|
-
|
|
4787
|
+
documentNodeId?: string | undefined;
|
|
4483
4788
|
sourceSpanIds?: string[] | undefined;
|
|
4484
4789
|
sourceTextHash?: string | undefined;
|
|
4790
|
+
recordId?: string | undefined;
|
|
4485
4791
|
effectiveDate?: string | undefined;
|
|
4486
4792
|
affectedCoverageParts?: string[] | undefined;
|
|
4487
4793
|
namedParties?: {
|
|
@@ -4507,11 +4813,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4507
4813
|
name: string;
|
|
4508
4814
|
content: string;
|
|
4509
4815
|
formNumber?: string | undefined;
|
|
4816
|
+
documentNodeId?: string | undefined;
|
|
4817
|
+
sourceSpanIds?: string[] | undefined;
|
|
4818
|
+
sourceTextHash?: string | undefined;
|
|
4510
4819
|
appliesTo?: string[] | undefined;
|
|
4511
4820
|
pageNumber?: number | undefined;
|
|
4512
4821
|
recordId?: string | undefined;
|
|
4513
|
-
sourceSpanIds?: string[] | undefined;
|
|
4514
|
-
sourceTextHash?: string | undefined;
|
|
4515
4822
|
excludedPerils?: string[] | undefined;
|
|
4516
4823
|
isAbsolute?: boolean | undefined;
|
|
4517
4824
|
exceptions?: string[] | undefined;
|
|
@@ -4527,14 +4834,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4527
4834
|
corridorDeductible?: string | undefined;
|
|
4528
4835
|
waitingPeriod?: string | undefined;
|
|
4529
4836
|
} | undefined;
|
|
4530
|
-
formInventory?: {
|
|
4531
|
-
formNumber: string;
|
|
4532
|
-
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
4533
|
-
title?: string | undefined;
|
|
4534
|
-
editionDate?: string | undefined;
|
|
4535
|
-
pageStart?: number | undefined;
|
|
4536
|
-
pageEnd?: number | undefined;
|
|
4537
|
-
}[] | undefined;
|
|
4538
4837
|
insurer?: {
|
|
4539
4838
|
legalName: string;
|
|
4540
4839
|
naicNumber?: string | undefined;
|
|
@@ -4655,6 +4954,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4655
4954
|
name: string;
|
|
4656
4955
|
amount: string;
|
|
4657
4956
|
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
4957
|
+
documentNodeId?: string | undefined;
|
|
4958
|
+
sourceSpanIds?: string[] | undefined;
|
|
4959
|
+
sourceTextHash?: string | undefined;
|
|
4658
4960
|
amountValue?: number | undefined;
|
|
4659
4961
|
description?: string | undefined;
|
|
4660
4962
|
}[] | undefined;
|
|
@@ -4707,6 +5009,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4707
5009
|
supplementaryFacts?: {
|
|
4708
5010
|
value: string;
|
|
4709
5011
|
key: string;
|
|
5012
|
+
documentNodeId?: string | undefined;
|
|
5013
|
+
sourceSpanIds?: string[] | undefined;
|
|
5014
|
+
sourceTextHash?: string | undefined;
|
|
4710
5015
|
subject?: string | undefined;
|
|
4711
5016
|
context?: string | undefined;
|
|
4712
5017
|
}[] | undefined;
|
|
@@ -4717,23 +5022,63 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4717
5022
|
name: string;
|
|
4718
5023
|
limit: string;
|
|
4719
5024
|
formNumber?: string | undefined;
|
|
5025
|
+
documentNodeId?: string | undefined;
|
|
5026
|
+
sourceSpanIds?: string[] | undefined;
|
|
5027
|
+
sourceTextHash?: string | undefined;
|
|
4720
5028
|
deductible?: string | undefined;
|
|
4721
5029
|
limitAmount?: number | undefined;
|
|
4722
5030
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
4723
5031
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
4724
5032
|
deductibleAmount?: number | undefined;
|
|
4725
5033
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
5034
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
5035
|
+
retroactiveDate?: string | undefined;
|
|
4726
5036
|
pageNumber?: number | undefined;
|
|
4727
5037
|
sectionRef?: string | undefined;
|
|
4728
5038
|
originalContent?: string | undefined;
|
|
4729
5039
|
recordId?: string | undefined;
|
|
4730
|
-
sourceSpanIds?: string[] | undefined;
|
|
4731
|
-
sourceTextHash?: string | undefined;
|
|
4732
5040
|
}[];
|
|
4733
5041
|
carrier: string;
|
|
4734
5042
|
policyNumber: string;
|
|
4735
5043
|
id: string;
|
|
4736
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[];
|
|
4737
5082
|
declarations?: {
|
|
4738
5083
|
formType: "HO-3" | "HO-5" | "HO-4" | "HO-6" | "HO-7" | "HO-8";
|
|
4739
5084
|
line: "homeowners";
|
|
@@ -5233,10 +5578,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5233
5578
|
name: string;
|
|
5234
5579
|
content: string;
|
|
5235
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";
|
|
5236
|
-
|
|
5237
|
-
recordId?: string | undefined;
|
|
5581
|
+
documentNodeId?: string | undefined;
|
|
5238
5582
|
sourceSpanIds?: string[] | undefined;
|
|
5239
5583
|
sourceTextHash?: string | undefined;
|
|
5584
|
+
pageNumber?: number | undefined;
|
|
5585
|
+
recordId?: string | undefined;
|
|
5240
5586
|
keyValues?: {
|
|
5241
5587
|
value: string;
|
|
5242
5588
|
key: string;
|
|
@@ -5339,6 +5685,17 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5339
5685
|
supplementalYears?: number | undefined;
|
|
5340
5686
|
supplementalPremium?: string | undefined;
|
|
5341
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;
|
|
5342
5699
|
expirationDate?: string | undefined;
|
|
5343
5700
|
policyTermType?: "fixed" | "continuous" | undefined;
|
|
5344
5701
|
nextReviewDate?: string | undefined;
|
|
@@ -5352,18 +5709,20 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5352
5709
|
type: string;
|
|
5353
5710
|
pageStart: number;
|
|
5354
5711
|
pageEnd?: number | undefined;
|
|
5355
|
-
|
|
5712
|
+
documentNodeId?: string | undefined;
|
|
5356
5713
|
sourceSpanIds?: string[] | undefined;
|
|
5357
5714
|
sourceTextHash?: string | undefined;
|
|
5715
|
+
recordId?: string | undefined;
|
|
5358
5716
|
excerpt?: string | undefined;
|
|
5359
5717
|
content?: string | undefined;
|
|
5360
5718
|
sectionNumber?: string | undefined;
|
|
5361
5719
|
coverageType?: string | undefined;
|
|
5362
5720
|
subsections?: {
|
|
5363
5721
|
title: string;
|
|
5364
|
-
|
|
5722
|
+
documentNodeId?: string | undefined;
|
|
5365
5723
|
sourceSpanIds?: string[] | undefined;
|
|
5366
5724
|
sourceTextHash?: string | undefined;
|
|
5725
|
+
pageNumber?: number | undefined;
|
|
5367
5726
|
excerpt?: string | undefined;
|
|
5368
5727
|
content?: string | undefined;
|
|
5369
5728
|
sectionNumber?: string | undefined;
|
|
@@ -5373,12 +5732,13 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5373
5732
|
definition: string;
|
|
5374
5733
|
term: string;
|
|
5375
5734
|
formNumber?: string | undefined;
|
|
5735
|
+
documentNodeId?: string | undefined;
|
|
5736
|
+
sourceSpanIds?: string[] | undefined;
|
|
5737
|
+
sourceTextHash?: string | undefined;
|
|
5376
5738
|
pageNumber?: number | undefined;
|
|
5377
5739
|
sectionRef?: string | undefined;
|
|
5378
5740
|
originalContent?: string | undefined;
|
|
5379
5741
|
recordId?: string | undefined;
|
|
5380
|
-
sourceSpanIds?: string[] | undefined;
|
|
5381
|
-
sourceTextHash?: string | undefined;
|
|
5382
5742
|
formTitle?: string | undefined;
|
|
5383
5743
|
}[] | undefined;
|
|
5384
5744
|
coveredReasons?: {
|
|
@@ -5387,13 +5747,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5387
5747
|
title?: string | undefined;
|
|
5388
5748
|
conditions?: string[] | undefined;
|
|
5389
5749
|
formNumber?: string | undefined;
|
|
5750
|
+
documentNodeId?: string | undefined;
|
|
5751
|
+
sourceSpanIds?: string[] | undefined;
|
|
5752
|
+
sourceTextHash?: string | undefined;
|
|
5390
5753
|
appliesTo?: string[] | undefined;
|
|
5391
5754
|
pageNumber?: number | undefined;
|
|
5392
5755
|
sectionRef?: string | undefined;
|
|
5393
5756
|
originalContent?: string | undefined;
|
|
5394
5757
|
recordId?: string | undefined;
|
|
5395
|
-
sourceSpanIds?: string[] | undefined;
|
|
5396
|
-
sourceTextHash?: string | undefined;
|
|
5397
5758
|
exceptions?: string[] | undefined;
|
|
5398
5759
|
formTitle?: string | undefined;
|
|
5399
5760
|
reasonNumber?: string | undefined;
|
|
@@ -5440,18 +5801,21 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5440
5801
|
limit: string;
|
|
5441
5802
|
included: boolean;
|
|
5442
5803
|
formNumber?: string | undefined;
|
|
5804
|
+
documentNodeId?: string | undefined;
|
|
5805
|
+
sourceSpanIds?: string[] | undefined;
|
|
5806
|
+
sourceTextHash?: string | undefined;
|
|
5443
5807
|
deductible?: string | undefined;
|
|
5444
5808
|
limitAmount?: number | undefined;
|
|
5445
5809
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
5446
5810
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
5447
5811
|
deductibleAmount?: number | undefined;
|
|
5448
5812
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
5813
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
5814
|
+
retroactiveDate?: string | undefined;
|
|
5449
5815
|
pageNumber?: number | undefined;
|
|
5450
5816
|
sectionRef?: string | undefined;
|
|
5451
5817
|
originalContent?: string | undefined;
|
|
5452
5818
|
recordId?: string | undefined;
|
|
5453
|
-
sourceSpanIds?: string[] | undefined;
|
|
5454
|
-
sourceTextHash?: string | undefined;
|
|
5455
5819
|
coverageCode?: string | undefined;
|
|
5456
5820
|
formEditionDate?: string | undefined;
|
|
5457
5821
|
deductibleType?: "per_occurrence" | "per_claim" | "aggregate" | "percentage" | "waiting_period" | undefined;
|
|
@@ -5460,8 +5824,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5460
5824
|
coinsurance?: string | undefined;
|
|
5461
5825
|
valuation?: "replacement_cost" | "actual_cash_value" | "agreed_value" | "functional_replacement" | undefined;
|
|
5462
5826
|
territory?: string | undefined;
|
|
5463
|
-
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
5464
|
-
retroactiveDate?: string | undefined;
|
|
5465
5827
|
premium?: string | undefined;
|
|
5466
5828
|
}[] | undefined;
|
|
5467
5829
|
endorsements?: {
|
|
@@ -5471,9 +5833,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5471
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";
|
|
5472
5834
|
editionDate?: string | undefined;
|
|
5473
5835
|
pageEnd?: number | undefined;
|
|
5474
|
-
|
|
5836
|
+
documentNodeId?: string | undefined;
|
|
5475
5837
|
sourceSpanIds?: string[] | undefined;
|
|
5476
5838
|
sourceTextHash?: string | undefined;
|
|
5839
|
+
recordId?: string | undefined;
|
|
5477
5840
|
effectiveDate?: string | undefined;
|
|
5478
5841
|
affectedCoverageParts?: string[] | undefined;
|
|
5479
5842
|
namedParties?: {
|
|
@@ -5499,11 +5862,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5499
5862
|
name: string;
|
|
5500
5863
|
content: string;
|
|
5501
5864
|
formNumber?: string | undefined;
|
|
5865
|
+
documentNodeId?: string | undefined;
|
|
5866
|
+
sourceSpanIds?: string[] | undefined;
|
|
5867
|
+
sourceTextHash?: string | undefined;
|
|
5502
5868
|
appliesTo?: string[] | undefined;
|
|
5503
5869
|
pageNumber?: number | undefined;
|
|
5504
5870
|
recordId?: string | undefined;
|
|
5505
|
-
sourceSpanIds?: string[] | undefined;
|
|
5506
|
-
sourceTextHash?: string | undefined;
|
|
5507
5871
|
excludedPerils?: string[] | undefined;
|
|
5508
5872
|
isAbsolute?: boolean | undefined;
|
|
5509
5873
|
exceptions?: string[] | undefined;
|
|
@@ -5519,14 +5883,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5519
5883
|
corridorDeductible?: string | undefined;
|
|
5520
5884
|
waitingPeriod?: string | undefined;
|
|
5521
5885
|
} | undefined;
|
|
5522
|
-
formInventory?: {
|
|
5523
|
-
formNumber: string;
|
|
5524
|
-
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
5525
|
-
title?: string | undefined;
|
|
5526
|
-
editionDate?: string | undefined;
|
|
5527
|
-
pageStart?: number | undefined;
|
|
5528
|
-
pageEnd?: number | undefined;
|
|
5529
|
-
}[] | undefined;
|
|
5530
5886
|
insurer?: {
|
|
5531
5887
|
legalName: string;
|
|
5532
5888
|
naicNumber?: string | undefined;
|
|
@@ -5647,6 +6003,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5647
6003
|
name: string;
|
|
5648
6004
|
amount: string;
|
|
5649
6005
|
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
6006
|
+
documentNodeId?: string | undefined;
|
|
6007
|
+
sourceSpanIds?: string[] | undefined;
|
|
6008
|
+
sourceTextHash?: string | undefined;
|
|
5650
6009
|
amountValue?: number | undefined;
|
|
5651
6010
|
description?: string | undefined;
|
|
5652
6011
|
}[] | undefined;
|
|
@@ -5699,6 +6058,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5699
6058
|
supplementaryFacts?: {
|
|
5700
6059
|
value: string;
|
|
5701
6060
|
key: string;
|
|
6061
|
+
documentNodeId?: string | undefined;
|
|
6062
|
+
sourceSpanIds?: string[] | undefined;
|
|
6063
|
+
sourceTextHash?: string | undefined;
|
|
5702
6064
|
subject?: string | undefined;
|
|
5703
6065
|
context?: string | undefined;
|
|
5704
6066
|
}[] | undefined;
|
|
@@ -5729,13 +6091,22 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5729
6091
|
line: z.ZodString;
|
|
5730
6092
|
amount: z.ZodString;
|
|
5731
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>;
|
|
5732
6097
|
}, "strip", z.ZodTypeAny, {
|
|
5733
6098
|
amount: string;
|
|
5734
6099
|
line: string;
|
|
6100
|
+
documentNodeId?: string | undefined;
|
|
6101
|
+
sourceSpanIds?: string[] | undefined;
|
|
6102
|
+
sourceTextHash?: string | undefined;
|
|
5735
6103
|
amountValue?: number | undefined;
|
|
5736
6104
|
}, {
|
|
5737
6105
|
amount: string;
|
|
5738
6106
|
line: string;
|
|
6107
|
+
documentNodeId?: string | undefined;
|
|
6108
|
+
sourceSpanIds?: string[] | undefined;
|
|
6109
|
+
sourceTextHash?: string | undefined;
|
|
5739
6110
|
amountValue?: number | undefined;
|
|
5740
6111
|
}>, "many">>;
|
|
5741
6112
|
enrichedSubjectivities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5805,46 +6176,222 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5805
6176
|
deductible: z.ZodOptional<z.ZodString>;
|
|
5806
6177
|
deductibleAmount: z.ZodOptional<z.ZodNumber>;
|
|
5807
6178
|
deductibleValueType: z.ZodOptional<z.ZodEnum<["numeric", "included", "not_included", "as_stated", "waiting_period", "referential", "other"]>>;
|
|
6179
|
+
trigger: z.ZodOptional<z.ZodEnum<["occurrence", "claims_made", "accident"]>>;
|
|
6180
|
+
retroactiveDate: z.ZodOptional<z.ZodString>;
|
|
5808
6181
|
formNumber: z.ZodOptional<z.ZodString>;
|
|
5809
6182
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
5810
6183
|
sectionRef: z.ZodOptional<z.ZodString>;
|
|
5811
6184
|
originalContent: z.ZodOptional<z.ZodString>;
|
|
5812
6185
|
recordId: z.ZodOptional<z.ZodString>;
|
|
6186
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
5813
6187
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5814
6188
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
5815
6189
|
}, "strip", z.ZodTypeAny, {
|
|
5816
6190
|
name: string;
|
|
5817
6191
|
limit: string;
|
|
5818
6192
|
formNumber?: string | undefined;
|
|
6193
|
+
documentNodeId?: string | undefined;
|
|
6194
|
+
sourceSpanIds?: string[] | undefined;
|
|
6195
|
+
sourceTextHash?: string | undefined;
|
|
5819
6196
|
deductible?: string | undefined;
|
|
5820
6197
|
limitAmount?: number | undefined;
|
|
5821
6198
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
5822
6199
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
5823
6200
|
deductibleAmount?: number | undefined;
|
|
5824
6201
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
6202
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
6203
|
+
retroactiveDate?: string | undefined;
|
|
5825
6204
|
pageNumber?: number | undefined;
|
|
5826
6205
|
sectionRef?: string | undefined;
|
|
5827
6206
|
originalContent?: string | undefined;
|
|
5828
6207
|
recordId?: string | undefined;
|
|
5829
|
-
sourceSpanIds?: string[] | undefined;
|
|
5830
|
-
sourceTextHash?: string | undefined;
|
|
5831
6208
|
}, {
|
|
5832
6209
|
name: string;
|
|
5833
6210
|
limit: string;
|
|
5834
6211
|
formNumber?: string | undefined;
|
|
6212
|
+
documentNodeId?: string | undefined;
|
|
6213
|
+
sourceSpanIds?: string[] | undefined;
|
|
6214
|
+
sourceTextHash?: string | undefined;
|
|
5835
6215
|
deductible?: string | undefined;
|
|
5836
6216
|
limitAmount?: number | undefined;
|
|
5837
6217
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
5838
6218
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
5839
6219
|
deductibleAmount?: number | undefined;
|
|
5840
6220
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
6221
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
6222
|
+
retroactiveDate?: string | undefined;
|
|
5841
6223
|
pageNumber?: number | undefined;
|
|
5842
6224
|
sectionRef?: string | undefined;
|
|
5843
6225
|
originalContent?: string | undefined;
|
|
5844
6226
|
recordId?: string | undefined;
|
|
5845
|
-
sourceSpanIds?: string[] | undefined;
|
|
5846
|
-
sourceTextHash?: string | undefined;
|
|
5847
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;
|
|
6358
|
+
}, {
|
|
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">;
|
|
5848
6395
|
sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5849
6396
|
title: z.ZodString;
|
|
5850
6397
|
sectionNumber: z.ZodOptional<z.ZodString>;
|
|
@@ -5860,26 +6407,30 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5860
6407
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
5861
6408
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
5862
6409
|
content: z.ZodOptional<z.ZodString>;
|
|
6410
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
5863
6411
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5864
6412
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
5865
6413
|
}, "strip", z.ZodTypeAny, {
|
|
5866
6414
|
title: string;
|
|
5867
|
-
|
|
6415
|
+
documentNodeId?: string | undefined;
|
|
5868
6416
|
sourceSpanIds?: string[] | undefined;
|
|
5869
6417
|
sourceTextHash?: string | undefined;
|
|
6418
|
+
pageNumber?: number | undefined;
|
|
5870
6419
|
excerpt?: string | undefined;
|
|
5871
6420
|
content?: string | undefined;
|
|
5872
6421
|
sectionNumber?: string | undefined;
|
|
5873
6422
|
}, {
|
|
5874
6423
|
title: string;
|
|
5875
|
-
|
|
6424
|
+
documentNodeId?: string | undefined;
|
|
5876
6425
|
sourceSpanIds?: string[] | undefined;
|
|
5877
6426
|
sourceTextHash?: string | undefined;
|
|
6427
|
+
pageNumber?: number | undefined;
|
|
5878
6428
|
excerpt?: string | undefined;
|
|
5879
6429
|
content?: string | undefined;
|
|
5880
6430
|
sectionNumber?: string | undefined;
|
|
5881
6431
|
}>, "many">>;
|
|
5882
6432
|
recordId: z.ZodOptional<z.ZodString>;
|
|
6433
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
5883
6434
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5884
6435
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
5885
6436
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5887,18 +6438,20 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5887
6438
|
type: string;
|
|
5888
6439
|
pageStart: number;
|
|
5889
6440
|
pageEnd?: number | undefined;
|
|
5890
|
-
|
|
6441
|
+
documentNodeId?: string | undefined;
|
|
5891
6442
|
sourceSpanIds?: string[] | undefined;
|
|
5892
6443
|
sourceTextHash?: string | undefined;
|
|
6444
|
+
recordId?: string | undefined;
|
|
5893
6445
|
excerpt?: string | undefined;
|
|
5894
6446
|
content?: string | undefined;
|
|
5895
6447
|
sectionNumber?: string | undefined;
|
|
5896
6448
|
coverageType?: string | undefined;
|
|
5897
6449
|
subsections?: {
|
|
5898
6450
|
title: string;
|
|
5899
|
-
|
|
6451
|
+
documentNodeId?: string | undefined;
|
|
5900
6452
|
sourceSpanIds?: string[] | undefined;
|
|
5901
6453
|
sourceTextHash?: string | undefined;
|
|
6454
|
+
pageNumber?: number | undefined;
|
|
5902
6455
|
excerpt?: string | undefined;
|
|
5903
6456
|
content?: string | undefined;
|
|
5904
6457
|
sectionNumber?: string | undefined;
|
|
@@ -5908,18 +6461,20 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5908
6461
|
type: string;
|
|
5909
6462
|
pageStart: number;
|
|
5910
6463
|
pageEnd?: number | undefined;
|
|
5911
|
-
|
|
6464
|
+
documentNodeId?: string | undefined;
|
|
5912
6465
|
sourceSpanIds?: string[] | undefined;
|
|
5913
6466
|
sourceTextHash?: string | undefined;
|
|
6467
|
+
recordId?: string | undefined;
|
|
5914
6468
|
excerpt?: string | undefined;
|
|
5915
6469
|
content?: string | undefined;
|
|
5916
6470
|
sectionNumber?: string | undefined;
|
|
5917
6471
|
coverageType?: string | undefined;
|
|
5918
6472
|
subsections?: {
|
|
5919
6473
|
title: string;
|
|
5920
|
-
|
|
6474
|
+
documentNodeId?: string | undefined;
|
|
5921
6475
|
sourceSpanIds?: string[] | undefined;
|
|
5922
6476
|
sourceTextHash?: string | undefined;
|
|
6477
|
+
pageNumber?: number | undefined;
|
|
5923
6478
|
excerpt?: string | undefined;
|
|
5924
6479
|
content?: string | undefined;
|
|
5925
6480
|
sectionNumber?: string | undefined;
|
|
@@ -5934,29 +6489,32 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5934
6489
|
sectionRef: z.ZodOptional<z.ZodString>;
|
|
5935
6490
|
originalContent: z.ZodOptional<z.ZodString>;
|
|
5936
6491
|
recordId: z.ZodOptional<z.ZodString>;
|
|
6492
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
5937
6493
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5938
6494
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
5939
6495
|
}, "strip", z.ZodTypeAny, {
|
|
5940
6496
|
definition: string;
|
|
5941
6497
|
term: string;
|
|
5942
6498
|
formNumber?: string | undefined;
|
|
6499
|
+
documentNodeId?: string | undefined;
|
|
6500
|
+
sourceSpanIds?: string[] | undefined;
|
|
6501
|
+
sourceTextHash?: string | undefined;
|
|
5943
6502
|
pageNumber?: number | undefined;
|
|
5944
6503
|
sectionRef?: string | undefined;
|
|
5945
6504
|
originalContent?: string | undefined;
|
|
5946
6505
|
recordId?: string | undefined;
|
|
5947
|
-
sourceSpanIds?: string[] | undefined;
|
|
5948
|
-
sourceTextHash?: string | undefined;
|
|
5949
6506
|
formTitle?: string | undefined;
|
|
5950
6507
|
}, {
|
|
5951
6508
|
definition: string;
|
|
5952
6509
|
term: string;
|
|
5953
6510
|
formNumber?: string | undefined;
|
|
6511
|
+
documentNodeId?: string | undefined;
|
|
6512
|
+
sourceSpanIds?: string[] | undefined;
|
|
6513
|
+
sourceTextHash?: string | undefined;
|
|
5954
6514
|
pageNumber?: number | undefined;
|
|
5955
6515
|
sectionRef?: string | undefined;
|
|
5956
6516
|
originalContent?: string | undefined;
|
|
5957
6517
|
recordId?: string | undefined;
|
|
5958
|
-
sourceSpanIds?: string[] | undefined;
|
|
5959
|
-
sourceTextHash?: string | undefined;
|
|
5960
6518
|
formTitle?: string | undefined;
|
|
5961
6519
|
}>, "many">>;
|
|
5962
6520
|
coveredReasons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5973,6 +6531,7 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5973
6531
|
sectionRef: z.ZodOptional<z.ZodString>;
|
|
5974
6532
|
originalContent: z.ZodOptional<z.ZodString>;
|
|
5975
6533
|
recordId: z.ZodOptional<z.ZodString>;
|
|
6534
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
5976
6535
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5977
6536
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
5978
6537
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5981,13 +6540,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5981
6540
|
title?: string | undefined;
|
|
5982
6541
|
conditions?: string[] | undefined;
|
|
5983
6542
|
formNumber?: string | undefined;
|
|
6543
|
+
documentNodeId?: string | undefined;
|
|
6544
|
+
sourceSpanIds?: string[] | undefined;
|
|
6545
|
+
sourceTextHash?: string | undefined;
|
|
5984
6546
|
appliesTo?: string[] | undefined;
|
|
5985
6547
|
pageNumber?: number | undefined;
|
|
5986
6548
|
sectionRef?: string | undefined;
|
|
5987
6549
|
originalContent?: string | undefined;
|
|
5988
6550
|
recordId?: string | undefined;
|
|
5989
|
-
sourceSpanIds?: string[] | undefined;
|
|
5990
|
-
sourceTextHash?: string | undefined;
|
|
5991
6551
|
exceptions?: string[] | undefined;
|
|
5992
6552
|
formTitle?: string | undefined;
|
|
5993
6553
|
reasonNumber?: string | undefined;
|
|
@@ -5997,13 +6557,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5997
6557
|
title?: string | undefined;
|
|
5998
6558
|
conditions?: string[] | undefined;
|
|
5999
6559
|
formNumber?: string | undefined;
|
|
6560
|
+
documentNodeId?: string | undefined;
|
|
6561
|
+
sourceSpanIds?: string[] | undefined;
|
|
6562
|
+
sourceTextHash?: string | undefined;
|
|
6000
6563
|
appliesTo?: string[] | undefined;
|
|
6001
6564
|
pageNumber?: number | undefined;
|
|
6002
6565
|
sectionRef?: string | undefined;
|
|
6003
6566
|
originalContent?: string | undefined;
|
|
6004
6567
|
recordId?: string | undefined;
|
|
6005
|
-
sourceSpanIds?: string[] | undefined;
|
|
6006
|
-
sourceTextHash?: string | undefined;
|
|
6007
6568
|
exceptions?: string[] | undefined;
|
|
6008
6569
|
formTitle?: string | undefined;
|
|
6009
6570
|
reasonNumber?: string | undefined;
|
|
@@ -6122,6 +6683,7 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6122
6683
|
sectionRef: z.ZodOptional<z.ZodString>;
|
|
6123
6684
|
originalContent: z.ZodOptional<z.ZodString>;
|
|
6124
6685
|
recordId: z.ZodOptional<z.ZodString>;
|
|
6686
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
6125
6687
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6126
6688
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
6127
6689
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6129,18 +6691,21 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6129
6691
|
limit: string;
|
|
6130
6692
|
included: boolean;
|
|
6131
6693
|
formNumber?: string | undefined;
|
|
6694
|
+
documentNodeId?: string | undefined;
|
|
6695
|
+
sourceSpanIds?: string[] | undefined;
|
|
6696
|
+
sourceTextHash?: string | undefined;
|
|
6132
6697
|
deductible?: string | undefined;
|
|
6133
6698
|
limitAmount?: number | undefined;
|
|
6134
6699
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
6135
6700
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
6136
6701
|
deductibleAmount?: number | undefined;
|
|
6137
6702
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
6703
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
6704
|
+
retroactiveDate?: string | undefined;
|
|
6138
6705
|
pageNumber?: number | undefined;
|
|
6139
6706
|
sectionRef?: string | undefined;
|
|
6140
6707
|
originalContent?: string | undefined;
|
|
6141
6708
|
recordId?: string | undefined;
|
|
6142
|
-
sourceSpanIds?: string[] | undefined;
|
|
6143
|
-
sourceTextHash?: string | undefined;
|
|
6144
6709
|
coverageCode?: string | undefined;
|
|
6145
6710
|
formEditionDate?: string | undefined;
|
|
6146
6711
|
deductibleType?: "per_occurrence" | "per_claim" | "aggregate" | "percentage" | "waiting_period" | undefined;
|
|
@@ -6149,26 +6714,27 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6149
6714
|
coinsurance?: string | undefined;
|
|
6150
6715
|
valuation?: "replacement_cost" | "actual_cash_value" | "agreed_value" | "functional_replacement" | undefined;
|
|
6151
6716
|
territory?: string | undefined;
|
|
6152
|
-
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
6153
|
-
retroactiveDate?: string | undefined;
|
|
6154
6717
|
premium?: string | undefined;
|
|
6155
6718
|
}, {
|
|
6156
6719
|
name: string;
|
|
6157
6720
|
limit: string;
|
|
6158
6721
|
included: boolean;
|
|
6159
6722
|
formNumber?: string | undefined;
|
|
6723
|
+
documentNodeId?: string | undefined;
|
|
6724
|
+
sourceSpanIds?: string[] | undefined;
|
|
6725
|
+
sourceTextHash?: string | undefined;
|
|
6160
6726
|
deductible?: string | undefined;
|
|
6161
6727
|
limitAmount?: number | undefined;
|
|
6162
6728
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
6163
6729
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
6164
6730
|
deductibleAmount?: number | undefined;
|
|
6165
6731
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
6732
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
6733
|
+
retroactiveDate?: string | undefined;
|
|
6166
6734
|
pageNumber?: number | undefined;
|
|
6167
6735
|
sectionRef?: string | undefined;
|
|
6168
6736
|
originalContent?: string | undefined;
|
|
6169
6737
|
recordId?: string | undefined;
|
|
6170
|
-
sourceSpanIds?: string[] | undefined;
|
|
6171
|
-
sourceTextHash?: string | undefined;
|
|
6172
6738
|
coverageCode?: string | undefined;
|
|
6173
6739
|
formEditionDate?: string | undefined;
|
|
6174
6740
|
deductibleType?: "per_occurrence" | "per_claim" | "aggregate" | "percentage" | "waiting_period" | undefined;
|
|
@@ -6177,8 +6743,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6177
6743
|
coinsurance?: string | undefined;
|
|
6178
6744
|
valuation?: "replacement_cost" | "actual_cash_value" | "agreed_value" | "functional_replacement" | undefined;
|
|
6179
6745
|
territory?: string | undefined;
|
|
6180
|
-
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
6181
|
-
retroactiveDate?: string | undefined;
|
|
6182
6746
|
premium?: string | undefined;
|
|
6183
6747
|
}>, "many">>;
|
|
6184
6748
|
endorsements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -6249,6 +6813,7 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6249
6813
|
pageStart: z.ZodNumber;
|
|
6250
6814
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
6251
6815
|
recordId: z.ZodOptional<z.ZodString>;
|
|
6816
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
6252
6817
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6253
6818
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
6254
6819
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6258,9 +6823,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6258
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";
|
|
6259
6824
|
editionDate?: string | undefined;
|
|
6260
6825
|
pageEnd?: number | undefined;
|
|
6261
|
-
|
|
6826
|
+
documentNodeId?: string | undefined;
|
|
6262
6827
|
sourceSpanIds?: string[] | undefined;
|
|
6263
6828
|
sourceTextHash?: string | undefined;
|
|
6829
|
+
recordId?: string | undefined;
|
|
6264
6830
|
effectiveDate?: string | undefined;
|
|
6265
6831
|
affectedCoverageParts?: string[] | undefined;
|
|
6266
6832
|
namedParties?: {
|
|
@@ -6288,9 +6854,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6288
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";
|
|
6289
6855
|
editionDate?: string | undefined;
|
|
6290
6856
|
pageEnd?: number | undefined;
|
|
6291
|
-
|
|
6857
|
+
documentNodeId?: string | undefined;
|
|
6292
6858
|
sourceSpanIds?: string[] | undefined;
|
|
6293
6859
|
sourceTextHash?: string | undefined;
|
|
6860
|
+
recordId?: string | undefined;
|
|
6294
6861
|
effectiveDate?: string | undefined;
|
|
6295
6862
|
affectedCoverageParts?: string[] | undefined;
|
|
6296
6863
|
namedParties?: {
|
|
@@ -6324,17 +6891,19 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6324
6891
|
content: z.ZodString;
|
|
6325
6892
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
6326
6893
|
recordId: z.ZodOptional<z.ZodString>;
|
|
6894
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
6327
6895
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6328
6896
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
6329
6897
|
}, "strip", z.ZodTypeAny, {
|
|
6330
6898
|
name: string;
|
|
6331
6899
|
content: string;
|
|
6332
6900
|
formNumber?: string | undefined;
|
|
6901
|
+
documentNodeId?: string | undefined;
|
|
6902
|
+
sourceSpanIds?: string[] | undefined;
|
|
6903
|
+
sourceTextHash?: string | undefined;
|
|
6333
6904
|
appliesTo?: string[] | undefined;
|
|
6334
6905
|
pageNumber?: number | undefined;
|
|
6335
6906
|
recordId?: string | undefined;
|
|
6336
|
-
sourceSpanIds?: string[] | undefined;
|
|
6337
|
-
sourceTextHash?: string | undefined;
|
|
6338
6907
|
excludedPerils?: string[] | undefined;
|
|
6339
6908
|
isAbsolute?: boolean | undefined;
|
|
6340
6909
|
exceptions?: string[] | undefined;
|
|
@@ -6344,11 +6913,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6344
6913
|
name: string;
|
|
6345
6914
|
content: string;
|
|
6346
6915
|
formNumber?: string | undefined;
|
|
6916
|
+
documentNodeId?: string | undefined;
|
|
6917
|
+
sourceSpanIds?: string[] | undefined;
|
|
6918
|
+
sourceTextHash?: string | undefined;
|
|
6347
6919
|
appliesTo?: string[] | undefined;
|
|
6348
6920
|
pageNumber?: number | undefined;
|
|
6349
6921
|
recordId?: string | undefined;
|
|
6350
|
-
sourceSpanIds?: string[] | undefined;
|
|
6351
|
-
sourceTextHash?: string | undefined;
|
|
6352
6922
|
excludedPerils?: string[] | undefined;
|
|
6353
6923
|
isAbsolute?: boolean | undefined;
|
|
6354
6924
|
exceptions?: string[] | undefined;
|
|
@@ -6371,16 +6941,18 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6371
6941
|
}>, "many">>;
|
|
6372
6942
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
6373
6943
|
recordId: z.ZodOptional<z.ZodString>;
|
|
6944
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
6374
6945
|
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6375
6946
|
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
6376
6947
|
}, "strip", z.ZodTypeAny, {
|
|
6377
6948
|
name: string;
|
|
6378
6949
|
content: string;
|
|
6379
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";
|
|
6380
|
-
|
|
6381
|
-
recordId?: string | undefined;
|
|
6951
|
+
documentNodeId?: string | undefined;
|
|
6382
6952
|
sourceSpanIds?: string[] | undefined;
|
|
6383
6953
|
sourceTextHash?: string | undefined;
|
|
6954
|
+
pageNumber?: number | undefined;
|
|
6955
|
+
recordId?: string | undefined;
|
|
6384
6956
|
keyValues?: {
|
|
6385
6957
|
value: string;
|
|
6386
6958
|
key: string;
|
|
@@ -6389,10 +6961,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6389
6961
|
name: string;
|
|
6390
6962
|
content: string;
|
|
6391
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";
|
|
6392
|
-
|
|
6393
|
-
recordId?: string | undefined;
|
|
6964
|
+
documentNodeId?: string | undefined;
|
|
6394
6965
|
sourceSpanIds?: string[] | undefined;
|
|
6395
6966
|
sourceTextHash?: string | undefined;
|
|
6967
|
+
pageNumber?: number | undefined;
|
|
6968
|
+
recordId?: string | undefined;
|
|
6396
6969
|
keyValues?: {
|
|
6397
6970
|
value: string;
|
|
6398
6971
|
key: string;
|
|
@@ -6721,6 +7294,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6721
7294
|
formType: z.ZodEnum<["coverage", "endorsement", "declarations", "application", "notice", "other"]>;
|
|
6722
7295
|
pageStart: z.ZodOptional<z.ZodNumber>;
|
|
6723
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>;
|
|
6724
7300
|
}, "strip", z.ZodTypeAny, {
|
|
6725
7301
|
formNumber: string;
|
|
6726
7302
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -6728,6 +7304,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6728
7304
|
editionDate?: string | undefined;
|
|
6729
7305
|
pageStart?: number | undefined;
|
|
6730
7306
|
pageEnd?: number | undefined;
|
|
7307
|
+
documentNodeId?: string | undefined;
|
|
7308
|
+
sourceSpanIds?: string[] | undefined;
|
|
7309
|
+
sourceTextHash?: string | undefined;
|
|
6731
7310
|
}, {
|
|
6732
7311
|
formNumber: string;
|
|
6733
7312
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -6735,6 +7314,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6735
7314
|
editionDate?: string | undefined;
|
|
6736
7315
|
pageStart?: number | undefined;
|
|
6737
7316
|
pageEnd?: number | undefined;
|
|
7317
|
+
documentNodeId?: string | undefined;
|
|
7318
|
+
sourceSpanIds?: string[] | undefined;
|
|
7319
|
+
sourceTextHash?: string | undefined;
|
|
6738
7320
|
}>, "many">>;
|
|
6739
7321
|
declarations: z.ZodOptional<z.ZodDiscriminatedUnion<"line", [z.ZodObject<{
|
|
6740
7322
|
line: z.ZodLiteral<"homeowners">;
|
|
@@ -9334,16 +9916,25 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
9334
9916
|
amountValue: z.ZodOptional<z.ZodNumber>;
|
|
9335
9917
|
type: z.ZodOptional<z.ZodEnum<["tax", "fee", "surcharge", "assessment"]>>;
|
|
9336
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>;
|
|
9337
9922
|
}, "strip", z.ZodTypeAny, {
|
|
9338
9923
|
name: string;
|
|
9339
9924
|
amount: string;
|
|
9340
9925
|
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
9926
|
+
documentNodeId?: string | undefined;
|
|
9927
|
+
sourceSpanIds?: string[] | undefined;
|
|
9928
|
+
sourceTextHash?: string | undefined;
|
|
9341
9929
|
amountValue?: number | undefined;
|
|
9342
9930
|
description?: string | undefined;
|
|
9343
9931
|
}, {
|
|
9344
9932
|
name: string;
|
|
9345
9933
|
amount: string;
|
|
9346
9934
|
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
9935
|
+
documentNodeId?: string | undefined;
|
|
9936
|
+
sourceSpanIds?: string[] | undefined;
|
|
9937
|
+
sourceTextHash?: string | undefined;
|
|
9347
9938
|
amountValue?: number | undefined;
|
|
9348
9939
|
description?: string | undefined;
|
|
9349
9940
|
}>, "many">>;
|
|
@@ -9483,14 +10074,23 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
9483
10074
|
value: z.ZodString;
|
|
9484
10075
|
subject: z.ZodOptional<z.ZodString>;
|
|
9485
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>;
|
|
9486
10080
|
}, "strip", z.ZodTypeAny, {
|
|
9487
10081
|
value: string;
|
|
9488
10082
|
key: string;
|
|
10083
|
+
documentNodeId?: string | undefined;
|
|
10084
|
+
sourceSpanIds?: string[] | undefined;
|
|
10085
|
+
sourceTextHash?: string | undefined;
|
|
9489
10086
|
subject?: string | undefined;
|
|
9490
10087
|
context?: string | undefined;
|
|
9491
10088
|
}, {
|
|
9492
10089
|
value: string;
|
|
9493
10090
|
key: string;
|
|
10091
|
+
documentNodeId?: string | undefined;
|
|
10092
|
+
sourceSpanIds?: string[] | undefined;
|
|
10093
|
+
sourceTextHash?: string | undefined;
|
|
9494
10094
|
subject?: string | undefined;
|
|
9495
10095
|
context?: string | undefined;
|
|
9496
10096
|
}>, "many">>;
|
|
@@ -9500,22 +10100,62 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
9500
10100
|
name: string;
|
|
9501
10101
|
limit: string;
|
|
9502
10102
|
formNumber?: string | undefined;
|
|
10103
|
+
documentNodeId?: string | undefined;
|
|
10104
|
+
sourceSpanIds?: string[] | undefined;
|
|
10105
|
+
sourceTextHash?: string | undefined;
|
|
9503
10106
|
deductible?: string | undefined;
|
|
9504
10107
|
limitAmount?: number | undefined;
|
|
9505
10108
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
9506
10109
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
9507
10110
|
deductibleAmount?: number | undefined;
|
|
9508
10111
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
10112
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
10113
|
+
retroactiveDate?: string | undefined;
|
|
9509
10114
|
pageNumber?: number | undefined;
|
|
9510
10115
|
sectionRef?: string | undefined;
|
|
9511
10116
|
originalContent?: string | undefined;
|
|
9512
10117
|
recordId?: string | undefined;
|
|
9513
|
-
sourceSpanIds?: string[] | undefined;
|
|
9514
|
-
sourceTextHash?: string | undefined;
|
|
9515
10118
|
}[];
|
|
9516
10119
|
carrier: string;
|
|
9517
10120
|
id: string;
|
|
9518
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[];
|
|
9519
10159
|
quoteNumber: string;
|
|
9520
10160
|
declarations?: {
|
|
9521
10161
|
formType: "HO-3" | "HO-5" | "HO-4" | "HO-6" | "HO-7" | "HO-8";
|
|
@@ -10016,10 +10656,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10016
10656
|
name: string;
|
|
10017
10657
|
content: string;
|
|
10018
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";
|
|
10019
|
-
|
|
10020
|
-
recordId?: string | undefined;
|
|
10659
|
+
documentNodeId?: string | undefined;
|
|
10021
10660
|
sourceSpanIds?: string[] | undefined;
|
|
10022
10661
|
sourceTextHash?: string | undefined;
|
|
10662
|
+
pageNumber?: number | undefined;
|
|
10663
|
+
recordId?: string | undefined;
|
|
10023
10664
|
keyValues?: {
|
|
10024
10665
|
value: string;
|
|
10025
10666
|
key: string;
|
|
@@ -10122,6 +10763,17 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10122
10763
|
supplementalYears?: number | undefined;
|
|
10123
10764
|
supplementalPremium?: string | undefined;
|
|
10124
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;
|
|
10125
10777
|
security?: string | undefined;
|
|
10126
10778
|
premiumAmount?: number | undefined;
|
|
10127
10779
|
summary?: string | undefined;
|
|
@@ -10131,18 +10783,20 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10131
10783
|
type: string;
|
|
10132
10784
|
pageStart: number;
|
|
10133
10785
|
pageEnd?: number | undefined;
|
|
10134
|
-
|
|
10786
|
+
documentNodeId?: string | undefined;
|
|
10135
10787
|
sourceSpanIds?: string[] | undefined;
|
|
10136
10788
|
sourceTextHash?: string | undefined;
|
|
10789
|
+
recordId?: string | undefined;
|
|
10137
10790
|
excerpt?: string | undefined;
|
|
10138
10791
|
content?: string | undefined;
|
|
10139
10792
|
sectionNumber?: string | undefined;
|
|
10140
10793
|
coverageType?: string | undefined;
|
|
10141
10794
|
subsections?: {
|
|
10142
10795
|
title: string;
|
|
10143
|
-
|
|
10796
|
+
documentNodeId?: string | undefined;
|
|
10144
10797
|
sourceSpanIds?: string[] | undefined;
|
|
10145
10798
|
sourceTextHash?: string | undefined;
|
|
10799
|
+
pageNumber?: number | undefined;
|
|
10146
10800
|
excerpt?: string | undefined;
|
|
10147
10801
|
content?: string | undefined;
|
|
10148
10802
|
sectionNumber?: string | undefined;
|
|
@@ -10152,12 +10806,13 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10152
10806
|
definition: string;
|
|
10153
10807
|
term: string;
|
|
10154
10808
|
formNumber?: string | undefined;
|
|
10809
|
+
documentNodeId?: string | undefined;
|
|
10810
|
+
sourceSpanIds?: string[] | undefined;
|
|
10811
|
+
sourceTextHash?: string | undefined;
|
|
10155
10812
|
pageNumber?: number | undefined;
|
|
10156
10813
|
sectionRef?: string | undefined;
|
|
10157
10814
|
originalContent?: string | undefined;
|
|
10158
10815
|
recordId?: string | undefined;
|
|
10159
|
-
sourceSpanIds?: string[] | undefined;
|
|
10160
|
-
sourceTextHash?: string | undefined;
|
|
10161
10816
|
formTitle?: string | undefined;
|
|
10162
10817
|
}[] | undefined;
|
|
10163
10818
|
coveredReasons?: {
|
|
@@ -10166,13 +10821,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10166
10821
|
title?: string | undefined;
|
|
10167
10822
|
conditions?: string[] | undefined;
|
|
10168
10823
|
formNumber?: string | undefined;
|
|
10824
|
+
documentNodeId?: string | undefined;
|
|
10825
|
+
sourceSpanIds?: string[] | undefined;
|
|
10826
|
+
sourceTextHash?: string | undefined;
|
|
10169
10827
|
appliesTo?: string[] | undefined;
|
|
10170
10828
|
pageNumber?: number | undefined;
|
|
10171
10829
|
sectionRef?: string | undefined;
|
|
10172
10830
|
originalContent?: string | undefined;
|
|
10173
10831
|
recordId?: string | undefined;
|
|
10174
|
-
sourceSpanIds?: string[] | undefined;
|
|
10175
|
-
sourceTextHash?: string | undefined;
|
|
10176
10832
|
exceptions?: string[] | undefined;
|
|
10177
10833
|
formTitle?: string | undefined;
|
|
10178
10834
|
reasonNumber?: string | undefined;
|
|
@@ -10219,18 +10875,21 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10219
10875
|
limit: string;
|
|
10220
10876
|
included: boolean;
|
|
10221
10877
|
formNumber?: string | undefined;
|
|
10878
|
+
documentNodeId?: string | undefined;
|
|
10879
|
+
sourceSpanIds?: string[] | undefined;
|
|
10880
|
+
sourceTextHash?: string | undefined;
|
|
10222
10881
|
deductible?: string | undefined;
|
|
10223
10882
|
limitAmount?: number | undefined;
|
|
10224
10883
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
10225
10884
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
10226
10885
|
deductibleAmount?: number | undefined;
|
|
10227
10886
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
10887
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
10888
|
+
retroactiveDate?: string | undefined;
|
|
10228
10889
|
pageNumber?: number | undefined;
|
|
10229
10890
|
sectionRef?: string | undefined;
|
|
10230
10891
|
originalContent?: string | undefined;
|
|
10231
10892
|
recordId?: string | undefined;
|
|
10232
|
-
sourceSpanIds?: string[] | undefined;
|
|
10233
|
-
sourceTextHash?: string | undefined;
|
|
10234
10893
|
coverageCode?: string | undefined;
|
|
10235
10894
|
formEditionDate?: string | undefined;
|
|
10236
10895
|
deductibleType?: "per_occurrence" | "per_claim" | "aggregate" | "percentage" | "waiting_period" | undefined;
|
|
@@ -10239,8 +10898,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10239
10898
|
coinsurance?: string | undefined;
|
|
10240
10899
|
valuation?: "replacement_cost" | "actual_cash_value" | "agreed_value" | "functional_replacement" | undefined;
|
|
10241
10900
|
territory?: string | undefined;
|
|
10242
|
-
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
10243
|
-
retroactiveDate?: string | undefined;
|
|
10244
10901
|
premium?: string | undefined;
|
|
10245
10902
|
}[] | undefined;
|
|
10246
10903
|
endorsements?: {
|
|
@@ -10250,9 +10907,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10250
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";
|
|
10251
10908
|
editionDate?: string | undefined;
|
|
10252
10909
|
pageEnd?: number | undefined;
|
|
10253
|
-
|
|
10910
|
+
documentNodeId?: string | undefined;
|
|
10254
10911
|
sourceSpanIds?: string[] | undefined;
|
|
10255
10912
|
sourceTextHash?: string | undefined;
|
|
10913
|
+
recordId?: string | undefined;
|
|
10256
10914
|
effectiveDate?: string | undefined;
|
|
10257
10915
|
affectedCoverageParts?: string[] | undefined;
|
|
10258
10916
|
namedParties?: {
|
|
@@ -10278,11 +10936,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10278
10936
|
name: string;
|
|
10279
10937
|
content: string;
|
|
10280
10938
|
formNumber?: string | undefined;
|
|
10939
|
+
documentNodeId?: string | undefined;
|
|
10940
|
+
sourceSpanIds?: string[] | undefined;
|
|
10941
|
+
sourceTextHash?: string | undefined;
|
|
10281
10942
|
appliesTo?: string[] | undefined;
|
|
10282
10943
|
pageNumber?: number | undefined;
|
|
10283
10944
|
recordId?: string | undefined;
|
|
10284
|
-
sourceSpanIds?: string[] | undefined;
|
|
10285
|
-
sourceTextHash?: string | undefined;
|
|
10286
10945
|
excludedPerils?: string[] | undefined;
|
|
10287
10946
|
isAbsolute?: boolean | undefined;
|
|
10288
10947
|
exceptions?: string[] | undefined;
|
|
@@ -10298,14 +10957,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10298
10957
|
corridorDeductible?: string | undefined;
|
|
10299
10958
|
waitingPeriod?: string | undefined;
|
|
10300
10959
|
} | undefined;
|
|
10301
|
-
formInventory?: {
|
|
10302
|
-
formNumber: string;
|
|
10303
|
-
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
10304
|
-
title?: string | undefined;
|
|
10305
|
-
editionDate?: string | undefined;
|
|
10306
|
-
pageStart?: number | undefined;
|
|
10307
|
-
pageEnd?: number | undefined;
|
|
10308
|
-
}[] | undefined;
|
|
10309
10960
|
insurer?: {
|
|
10310
10961
|
legalName: string;
|
|
10311
10962
|
naicNumber?: string | undefined;
|
|
@@ -10426,6 +11077,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10426
11077
|
name: string;
|
|
10427
11078
|
amount: string;
|
|
10428
11079
|
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
11080
|
+
documentNodeId?: string | undefined;
|
|
11081
|
+
sourceSpanIds?: string[] | undefined;
|
|
11082
|
+
sourceTextHash?: string | undefined;
|
|
10429
11083
|
amountValue?: number | undefined;
|
|
10430
11084
|
description?: string | undefined;
|
|
10431
11085
|
}[] | undefined;
|
|
@@ -10478,6 +11132,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10478
11132
|
supplementaryFacts?: {
|
|
10479
11133
|
value: string;
|
|
10480
11134
|
key: string;
|
|
11135
|
+
documentNodeId?: string | undefined;
|
|
11136
|
+
sourceSpanIds?: string[] | undefined;
|
|
11137
|
+
sourceTextHash?: string | undefined;
|
|
10481
11138
|
subject?: string | undefined;
|
|
10482
11139
|
context?: string | undefined;
|
|
10483
11140
|
}[] | undefined;
|
|
@@ -10494,6 +11151,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10494
11151
|
premiumBreakdown?: {
|
|
10495
11152
|
amount: string;
|
|
10496
11153
|
line: string;
|
|
11154
|
+
documentNodeId?: string | undefined;
|
|
11155
|
+
sourceSpanIds?: string[] | undefined;
|
|
11156
|
+
sourceTextHash?: string | undefined;
|
|
10497
11157
|
amountValue?: number | undefined;
|
|
10498
11158
|
}[] | undefined;
|
|
10499
11159
|
enrichedSubjectivities?: {
|
|
@@ -10522,22 +11182,62 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10522
11182
|
name: string;
|
|
10523
11183
|
limit: string;
|
|
10524
11184
|
formNumber?: string | undefined;
|
|
11185
|
+
documentNodeId?: string | undefined;
|
|
11186
|
+
sourceSpanIds?: string[] | undefined;
|
|
11187
|
+
sourceTextHash?: string | undefined;
|
|
10525
11188
|
deductible?: string | undefined;
|
|
10526
11189
|
limitAmount?: number | undefined;
|
|
10527
11190
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
10528
11191
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
10529
11192
|
deductibleAmount?: number | undefined;
|
|
10530
11193
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
11194
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
11195
|
+
retroactiveDate?: string | undefined;
|
|
10531
11196
|
pageNumber?: number | undefined;
|
|
10532
11197
|
sectionRef?: string | undefined;
|
|
10533
11198
|
originalContent?: string | undefined;
|
|
10534
11199
|
recordId?: string | undefined;
|
|
10535
|
-
sourceSpanIds?: string[] | undefined;
|
|
10536
|
-
sourceTextHash?: string | undefined;
|
|
10537
11200
|
}[];
|
|
10538
11201
|
carrier: string;
|
|
10539
11202
|
id: string;
|
|
10540
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[];
|
|
10541
11241
|
quoteNumber: string;
|
|
10542
11242
|
declarations?: {
|
|
10543
11243
|
formType: "HO-3" | "HO-5" | "HO-4" | "HO-6" | "HO-7" | "HO-8";
|
|
@@ -11038,10 +11738,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11038
11738
|
name: string;
|
|
11039
11739
|
content: string;
|
|
11040
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";
|
|
11041
|
-
|
|
11042
|
-
recordId?: string | undefined;
|
|
11741
|
+
documentNodeId?: string | undefined;
|
|
11043
11742
|
sourceSpanIds?: string[] | undefined;
|
|
11044
11743
|
sourceTextHash?: string | undefined;
|
|
11744
|
+
pageNumber?: number | undefined;
|
|
11745
|
+
recordId?: string | undefined;
|
|
11045
11746
|
keyValues?: {
|
|
11046
11747
|
value: string;
|
|
11047
11748
|
key: string;
|
|
@@ -11144,6 +11845,17 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11144
11845
|
supplementalYears?: number | undefined;
|
|
11145
11846
|
supplementalPremium?: string | undefined;
|
|
11146
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;
|
|
11147
11859
|
security?: string | undefined;
|
|
11148
11860
|
premiumAmount?: number | undefined;
|
|
11149
11861
|
summary?: string | undefined;
|
|
@@ -11153,18 +11865,20 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11153
11865
|
type: string;
|
|
11154
11866
|
pageStart: number;
|
|
11155
11867
|
pageEnd?: number | undefined;
|
|
11156
|
-
|
|
11868
|
+
documentNodeId?: string | undefined;
|
|
11157
11869
|
sourceSpanIds?: string[] | undefined;
|
|
11158
11870
|
sourceTextHash?: string | undefined;
|
|
11871
|
+
recordId?: string | undefined;
|
|
11159
11872
|
excerpt?: string | undefined;
|
|
11160
11873
|
content?: string | undefined;
|
|
11161
11874
|
sectionNumber?: string | undefined;
|
|
11162
11875
|
coverageType?: string | undefined;
|
|
11163
11876
|
subsections?: {
|
|
11164
11877
|
title: string;
|
|
11165
|
-
|
|
11878
|
+
documentNodeId?: string | undefined;
|
|
11166
11879
|
sourceSpanIds?: string[] | undefined;
|
|
11167
11880
|
sourceTextHash?: string | undefined;
|
|
11881
|
+
pageNumber?: number | undefined;
|
|
11168
11882
|
excerpt?: string | undefined;
|
|
11169
11883
|
content?: string | undefined;
|
|
11170
11884
|
sectionNumber?: string | undefined;
|
|
@@ -11174,12 +11888,13 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11174
11888
|
definition: string;
|
|
11175
11889
|
term: string;
|
|
11176
11890
|
formNumber?: string | undefined;
|
|
11891
|
+
documentNodeId?: string | undefined;
|
|
11892
|
+
sourceSpanIds?: string[] | undefined;
|
|
11893
|
+
sourceTextHash?: string | undefined;
|
|
11177
11894
|
pageNumber?: number | undefined;
|
|
11178
11895
|
sectionRef?: string | undefined;
|
|
11179
11896
|
originalContent?: string | undefined;
|
|
11180
11897
|
recordId?: string | undefined;
|
|
11181
|
-
sourceSpanIds?: string[] | undefined;
|
|
11182
|
-
sourceTextHash?: string | undefined;
|
|
11183
11898
|
formTitle?: string | undefined;
|
|
11184
11899
|
}[] | undefined;
|
|
11185
11900
|
coveredReasons?: {
|
|
@@ -11188,13 +11903,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11188
11903
|
title?: string | undefined;
|
|
11189
11904
|
conditions?: string[] | undefined;
|
|
11190
11905
|
formNumber?: string | undefined;
|
|
11906
|
+
documentNodeId?: string | undefined;
|
|
11907
|
+
sourceSpanIds?: string[] | undefined;
|
|
11908
|
+
sourceTextHash?: string | undefined;
|
|
11191
11909
|
appliesTo?: string[] | undefined;
|
|
11192
11910
|
pageNumber?: number | undefined;
|
|
11193
11911
|
sectionRef?: string | undefined;
|
|
11194
11912
|
originalContent?: string | undefined;
|
|
11195
11913
|
recordId?: string | undefined;
|
|
11196
|
-
sourceSpanIds?: string[] | undefined;
|
|
11197
|
-
sourceTextHash?: string | undefined;
|
|
11198
11914
|
exceptions?: string[] | undefined;
|
|
11199
11915
|
formTitle?: string | undefined;
|
|
11200
11916
|
reasonNumber?: string | undefined;
|
|
@@ -11241,18 +11957,21 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11241
11957
|
limit: string;
|
|
11242
11958
|
included: boolean;
|
|
11243
11959
|
formNumber?: string | undefined;
|
|
11960
|
+
documentNodeId?: string | undefined;
|
|
11961
|
+
sourceSpanIds?: string[] | undefined;
|
|
11962
|
+
sourceTextHash?: string | undefined;
|
|
11244
11963
|
deductible?: string | undefined;
|
|
11245
11964
|
limitAmount?: number | undefined;
|
|
11246
11965
|
limitType?: "per_occurrence" | "per_claim" | "aggregate" | "per_person" | "per_accident" | "statutory" | "blanket" | "scheduled" | undefined;
|
|
11247
11966
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
11248
11967
|
deductibleAmount?: number | undefined;
|
|
11249
11968
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
11969
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
11970
|
+
retroactiveDate?: string | undefined;
|
|
11250
11971
|
pageNumber?: number | undefined;
|
|
11251
11972
|
sectionRef?: string | undefined;
|
|
11252
11973
|
originalContent?: string | undefined;
|
|
11253
11974
|
recordId?: string | undefined;
|
|
11254
|
-
sourceSpanIds?: string[] | undefined;
|
|
11255
|
-
sourceTextHash?: string | undefined;
|
|
11256
11975
|
coverageCode?: string | undefined;
|
|
11257
11976
|
formEditionDate?: string | undefined;
|
|
11258
11977
|
deductibleType?: "per_occurrence" | "per_claim" | "aggregate" | "percentage" | "waiting_period" | undefined;
|
|
@@ -11261,8 +11980,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11261
11980
|
coinsurance?: string | undefined;
|
|
11262
11981
|
valuation?: "replacement_cost" | "actual_cash_value" | "agreed_value" | "functional_replacement" | undefined;
|
|
11263
11982
|
territory?: string | undefined;
|
|
11264
|
-
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
11265
|
-
retroactiveDate?: string | undefined;
|
|
11266
11983
|
premium?: string | undefined;
|
|
11267
11984
|
}[] | undefined;
|
|
11268
11985
|
endorsements?: {
|
|
@@ -11272,9 +11989,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11272
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";
|
|
11273
11990
|
editionDate?: string | undefined;
|
|
11274
11991
|
pageEnd?: number | undefined;
|
|
11275
|
-
|
|
11992
|
+
documentNodeId?: string | undefined;
|
|
11276
11993
|
sourceSpanIds?: string[] | undefined;
|
|
11277
11994
|
sourceTextHash?: string | undefined;
|
|
11995
|
+
recordId?: string | undefined;
|
|
11278
11996
|
effectiveDate?: string | undefined;
|
|
11279
11997
|
affectedCoverageParts?: string[] | undefined;
|
|
11280
11998
|
namedParties?: {
|
|
@@ -11300,11 +12018,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11300
12018
|
name: string;
|
|
11301
12019
|
content: string;
|
|
11302
12020
|
formNumber?: string | undefined;
|
|
12021
|
+
documentNodeId?: string | undefined;
|
|
12022
|
+
sourceSpanIds?: string[] | undefined;
|
|
12023
|
+
sourceTextHash?: string | undefined;
|
|
11303
12024
|
appliesTo?: string[] | undefined;
|
|
11304
12025
|
pageNumber?: number | undefined;
|
|
11305
12026
|
recordId?: string | undefined;
|
|
11306
|
-
sourceSpanIds?: string[] | undefined;
|
|
11307
|
-
sourceTextHash?: string | undefined;
|
|
11308
12027
|
excludedPerils?: string[] | undefined;
|
|
11309
12028
|
isAbsolute?: boolean | undefined;
|
|
11310
12029
|
exceptions?: string[] | undefined;
|
|
@@ -11320,14 +12039,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11320
12039
|
corridorDeductible?: string | undefined;
|
|
11321
12040
|
waitingPeriod?: string | undefined;
|
|
11322
12041
|
} | undefined;
|
|
11323
|
-
formInventory?: {
|
|
11324
|
-
formNumber: string;
|
|
11325
|
-
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
11326
|
-
title?: string | undefined;
|
|
11327
|
-
editionDate?: string | undefined;
|
|
11328
|
-
pageStart?: number | undefined;
|
|
11329
|
-
pageEnd?: number | undefined;
|
|
11330
|
-
}[] | undefined;
|
|
11331
12042
|
insurer?: {
|
|
11332
12043
|
legalName: string;
|
|
11333
12044
|
naicNumber?: string | undefined;
|
|
@@ -11448,6 +12159,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11448
12159
|
name: string;
|
|
11449
12160
|
amount: string;
|
|
11450
12161
|
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
12162
|
+
documentNodeId?: string | undefined;
|
|
12163
|
+
sourceSpanIds?: string[] | undefined;
|
|
12164
|
+
sourceTextHash?: string | undefined;
|
|
11451
12165
|
amountValue?: number | undefined;
|
|
11452
12166
|
description?: string | undefined;
|
|
11453
12167
|
}[] | undefined;
|
|
@@ -11500,6 +12214,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11500
12214
|
supplementaryFacts?: {
|
|
11501
12215
|
value: string;
|
|
11502
12216
|
key: string;
|
|
12217
|
+
documentNodeId?: string | undefined;
|
|
12218
|
+
sourceSpanIds?: string[] | undefined;
|
|
12219
|
+
sourceTextHash?: string | undefined;
|
|
11503
12220
|
subject?: string | undefined;
|
|
11504
12221
|
context?: string | undefined;
|
|
11505
12222
|
}[] | undefined;
|
|
@@ -11516,6 +12233,9 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11516
12233
|
premiumBreakdown?: {
|
|
11517
12234
|
amount: string;
|
|
11518
12235
|
line: string;
|
|
12236
|
+
documentNodeId?: string | undefined;
|
|
12237
|
+
sourceSpanIds?: string[] | undefined;
|
|
12238
|
+
sourceTextHash?: string | undefined;
|
|
11519
12239
|
amountValue?: number | undefined;
|
|
11520
12240
|
}[] | undefined;
|
|
11521
12241
|
enrichedSubjectivities?: {
|
|
@@ -11607,6 +12327,33 @@ declare const SourceSpanSchema: z.ZodObject<{
|
|
|
11607
12327
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
11608
12328
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
11609
12329
|
formNumber: z.ZodOptional<z.ZodString>;
|
|
12330
|
+
sourceUnit: z.ZodOptional<z.ZodEnum<["page", "section", "table", "table_row", "table_cell", "key_value", "text"]>>;
|
|
12331
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
12332
|
+
table: z.ZodOptional<z.ZodObject<{
|
|
12333
|
+
tableId: z.ZodOptional<z.ZodString>;
|
|
12334
|
+
rowIndex: z.ZodOptional<z.ZodNumber>;
|
|
12335
|
+
columnIndex: z.ZodOptional<z.ZodNumber>;
|
|
12336
|
+
columnName: z.ZodOptional<z.ZodString>;
|
|
12337
|
+
rowSpanId: z.ZodOptional<z.ZodString>;
|
|
12338
|
+
tableSpanId: z.ZodOptional<z.ZodString>;
|
|
12339
|
+
isHeader: z.ZodOptional<z.ZodBoolean>;
|
|
12340
|
+
}, "strip", z.ZodTypeAny, {
|
|
12341
|
+
tableId?: string | undefined;
|
|
12342
|
+
rowIndex?: number | undefined;
|
|
12343
|
+
columnIndex?: number | undefined;
|
|
12344
|
+
columnName?: string | undefined;
|
|
12345
|
+
rowSpanId?: string | undefined;
|
|
12346
|
+
tableSpanId?: string | undefined;
|
|
12347
|
+
isHeader?: boolean | undefined;
|
|
12348
|
+
}, {
|
|
12349
|
+
tableId?: string | undefined;
|
|
12350
|
+
rowIndex?: number | undefined;
|
|
12351
|
+
columnIndex?: number | undefined;
|
|
12352
|
+
columnName?: string | undefined;
|
|
12353
|
+
rowSpanId?: string | undefined;
|
|
12354
|
+
tableSpanId?: string | undefined;
|
|
12355
|
+
isHeader?: boolean | undefined;
|
|
12356
|
+
}>>;
|
|
11610
12357
|
bbox: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11611
12358
|
page: z.ZodNumber;
|
|
11612
12359
|
x: z.ZodNumber;
|
|
@@ -11656,10 +12403,10 @@ declare const SourceSpanSchema: z.ZodObject<{
|
|
|
11656
12403
|
}>>;
|
|
11657
12404
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
11658
12405
|
}, "strip", z.ZodTypeAny, {
|
|
11659
|
-
id: string;
|
|
11660
|
-
documentId: string;
|
|
11661
12406
|
kind: "pdf_text" | "pdf_image" | "html" | "markdown" | "plain_text" | "structured_field";
|
|
12407
|
+
id: string;
|
|
11662
12408
|
text: string;
|
|
12409
|
+
documentId: string;
|
|
11663
12410
|
hash: string;
|
|
11664
12411
|
formNumber?: string | undefined;
|
|
11665
12412
|
pageStart?: number | undefined;
|
|
@@ -11674,10 +12421,21 @@ declare const SourceSpanSchema: z.ZodObject<{
|
|
|
11674
12421
|
lineEnd?: number | undefined;
|
|
11675
12422
|
fieldPath?: string | undefined;
|
|
11676
12423
|
} | undefined;
|
|
12424
|
+
table?: {
|
|
12425
|
+
tableId?: string | undefined;
|
|
12426
|
+
rowIndex?: number | undefined;
|
|
12427
|
+
columnIndex?: number | undefined;
|
|
12428
|
+
columnName?: string | undefined;
|
|
12429
|
+
rowSpanId?: string | undefined;
|
|
12430
|
+
tableSpanId?: string | undefined;
|
|
12431
|
+
isHeader?: boolean | undefined;
|
|
12432
|
+
} | undefined;
|
|
11677
12433
|
sourceKind?: "email" | "policy_pdf" | "application_pdf" | "attachment" | "manual_note" | undefined;
|
|
11678
12434
|
chunkId?: string | undefined;
|
|
11679
12435
|
textHash?: string | undefined;
|
|
11680
12436
|
sectionId?: string | undefined;
|
|
12437
|
+
sourceUnit?: "page" | "section" | "table" | "table_row" | "table_cell" | "key_value" | "text" | undefined;
|
|
12438
|
+
parentSpanId?: string | undefined;
|
|
11681
12439
|
bbox?: {
|
|
11682
12440
|
page: number;
|
|
11683
12441
|
x: number;
|
|
@@ -11687,10 +12445,10 @@ declare const SourceSpanSchema: z.ZodObject<{
|
|
|
11687
12445
|
}[] | undefined;
|
|
11688
12446
|
metadata?: Record<string, string> | undefined;
|
|
11689
12447
|
}, {
|
|
11690
|
-
id: string;
|
|
11691
|
-
documentId: string;
|
|
11692
12448
|
kind: "pdf_text" | "pdf_image" | "html" | "markdown" | "plain_text" | "structured_field";
|
|
12449
|
+
id: string;
|
|
11693
12450
|
text: string;
|
|
12451
|
+
documentId: string;
|
|
11694
12452
|
hash: string;
|
|
11695
12453
|
formNumber?: string | undefined;
|
|
11696
12454
|
pageStart?: number | undefined;
|
|
@@ -11705,10 +12463,21 @@ declare const SourceSpanSchema: z.ZodObject<{
|
|
|
11705
12463
|
lineEnd?: number | undefined;
|
|
11706
12464
|
fieldPath?: string | undefined;
|
|
11707
12465
|
} | undefined;
|
|
12466
|
+
table?: {
|
|
12467
|
+
tableId?: string | undefined;
|
|
12468
|
+
rowIndex?: number | undefined;
|
|
12469
|
+
columnIndex?: number | undefined;
|
|
12470
|
+
columnName?: string | undefined;
|
|
12471
|
+
rowSpanId?: string | undefined;
|
|
12472
|
+
tableSpanId?: string | undefined;
|
|
12473
|
+
isHeader?: boolean | undefined;
|
|
12474
|
+
} | undefined;
|
|
11708
12475
|
sourceKind?: "email" | "policy_pdf" | "application_pdf" | "attachment" | "manual_note" | undefined;
|
|
11709
12476
|
chunkId?: string | undefined;
|
|
11710
12477
|
textHash?: string | undefined;
|
|
11711
12478
|
sectionId?: string | undefined;
|
|
12479
|
+
sourceUnit?: "page" | "section" | "table" | "table_row" | "table_cell" | "key_value" | "text" | undefined;
|
|
12480
|
+
parentSpanId?: string | undefined;
|
|
11712
12481
|
bbox?: {
|
|
11713
12482
|
page: number;
|
|
11714
12483
|
x: number;
|
|
@@ -11731,8 +12500,8 @@ declare const SourceChunkSchema: z.ZodObject<{
|
|
|
11731
12500
|
}, "strip", z.ZodTypeAny, {
|
|
11732
12501
|
sourceSpanIds: string[];
|
|
11733
12502
|
id: string;
|
|
11734
|
-
documentId: string;
|
|
11735
12503
|
text: string;
|
|
12504
|
+
documentId: string;
|
|
11736
12505
|
textHash: string;
|
|
11737
12506
|
metadata: Record<string, string>;
|
|
11738
12507
|
pageStart?: number | undefined;
|
|
@@ -11740,8 +12509,8 @@ declare const SourceChunkSchema: z.ZodObject<{
|
|
|
11740
12509
|
}, {
|
|
11741
12510
|
sourceSpanIds: string[];
|
|
11742
12511
|
id: string;
|
|
11743
|
-
documentId: string;
|
|
11744
12512
|
text: string;
|
|
12513
|
+
documentId: string;
|
|
11745
12514
|
textHash: string;
|
|
11746
12515
|
pageStart?: number | undefined;
|
|
11747
12516
|
pageEnd?: number | undefined;
|