@claritylabs/cl-sdk 1.3.6 → 1.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/index.d.mts +185 -47
- package/dist/index.d.ts +185 -47
- package/dist/index.js +569 -55
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +567 -55
- package/dist/index.mjs.map +1 -1
- package/dist/storage-sqlite.d.mts +89 -20
- package/dist/storage-sqlite.d.ts +89 -20
- 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 +1 -1
|
@@ -29,6 +29,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
29
29
|
deductible: z.ZodOptional<z.ZodString>;
|
|
30
30
|
deductibleAmount: z.ZodOptional<z.ZodNumber>;
|
|
31
31
|
deductibleValueType: z.ZodOptional<z.ZodEnum<["numeric", "included", "not_included", "as_stated", "waiting_period", "referential", "other"]>>;
|
|
32
|
+
trigger: z.ZodOptional<z.ZodEnum<["occurrence", "claims_made", "accident"]>>;
|
|
33
|
+
retroactiveDate: z.ZodOptional<z.ZodString>;
|
|
32
34
|
formNumber: z.ZodOptional<z.ZodString>;
|
|
33
35
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
34
36
|
sectionRef: z.ZodOptional<z.ZodString>;
|
|
@@ -46,6 +48,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
46
48
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
47
49
|
deductibleAmount?: number | undefined;
|
|
48
50
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
51
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
52
|
+
retroactiveDate?: string | undefined;
|
|
49
53
|
pageNumber?: number | undefined;
|
|
50
54
|
sectionRef?: string | undefined;
|
|
51
55
|
originalContent?: string | undefined;
|
|
@@ -62,6 +66,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
62
66
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
63
67
|
deductibleAmount?: number | undefined;
|
|
64
68
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
69
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
70
|
+
retroactiveDate?: string | undefined;
|
|
65
71
|
pageNumber?: number | undefined;
|
|
66
72
|
sectionRef?: string | undefined;
|
|
67
73
|
originalContent?: string | undefined;
|
|
@@ -359,6 +365,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
359
365
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
360
366
|
deductibleAmount?: number | undefined;
|
|
361
367
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
368
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
369
|
+
retroactiveDate?: string | undefined;
|
|
362
370
|
pageNumber?: number | undefined;
|
|
363
371
|
sectionRef?: string | undefined;
|
|
364
372
|
originalContent?: string | undefined;
|
|
@@ -373,8 +381,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
373
381
|
coinsurance?: string | undefined;
|
|
374
382
|
valuation?: "replacement_cost" | "actual_cash_value" | "agreed_value" | "functional_replacement" | undefined;
|
|
375
383
|
territory?: string | undefined;
|
|
376
|
-
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
377
|
-
retroactiveDate?: string | undefined;
|
|
378
384
|
premium?: string | undefined;
|
|
379
385
|
}, {
|
|
380
386
|
name: string;
|
|
@@ -387,6 +393,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
387
393
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
388
394
|
deductibleAmount?: number | undefined;
|
|
389
395
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
396
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
397
|
+
retroactiveDate?: string | undefined;
|
|
390
398
|
pageNumber?: number | undefined;
|
|
391
399
|
sectionRef?: string | undefined;
|
|
392
400
|
originalContent?: string | undefined;
|
|
@@ -401,8 +409,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
401
409
|
coinsurance?: string | undefined;
|
|
402
410
|
valuation?: "replacement_cost" | "actual_cash_value" | "agreed_value" | "functional_replacement" | undefined;
|
|
403
411
|
territory?: string | undefined;
|
|
404
|
-
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
405
|
-
retroactiveDate?: string | undefined;
|
|
406
412
|
premium?: string | undefined;
|
|
407
413
|
}>, "many">>;
|
|
408
414
|
endorsements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3731,6 +3737,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3731
3737
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
3732
3738
|
deductibleAmount?: number | undefined;
|
|
3733
3739
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
3740
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
3741
|
+
retroactiveDate?: string | undefined;
|
|
3734
3742
|
pageNumber?: number | undefined;
|
|
3735
3743
|
sectionRef?: string | undefined;
|
|
3736
3744
|
originalContent?: string | undefined;
|
|
@@ -4454,6 +4462,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4454
4462
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
4455
4463
|
deductibleAmount?: number | undefined;
|
|
4456
4464
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
4465
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
4466
|
+
retroactiveDate?: string | undefined;
|
|
4457
4467
|
pageNumber?: number | undefined;
|
|
4458
4468
|
sectionRef?: string | undefined;
|
|
4459
4469
|
originalContent?: string | undefined;
|
|
@@ -4468,8 +4478,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4468
4478
|
coinsurance?: string | undefined;
|
|
4469
4479
|
valuation?: "replacement_cost" | "actual_cash_value" | "agreed_value" | "functional_replacement" | undefined;
|
|
4470
4480
|
territory?: string | undefined;
|
|
4471
|
-
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
4472
|
-
retroactiveDate?: string | undefined;
|
|
4473
4481
|
premium?: string | undefined;
|
|
4474
4482
|
}[] | undefined;
|
|
4475
4483
|
endorsements?: {
|
|
@@ -4723,6 +4731,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4723
4731
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
4724
4732
|
deductibleAmount?: number | undefined;
|
|
4725
4733
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
4734
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
4735
|
+
retroactiveDate?: string | undefined;
|
|
4726
4736
|
pageNumber?: number | undefined;
|
|
4727
4737
|
sectionRef?: string | undefined;
|
|
4728
4738
|
originalContent?: string | undefined;
|
|
@@ -5446,6 +5456,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5446
5456
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
5447
5457
|
deductibleAmount?: number | undefined;
|
|
5448
5458
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
5459
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
5460
|
+
retroactiveDate?: string | undefined;
|
|
5449
5461
|
pageNumber?: number | undefined;
|
|
5450
5462
|
sectionRef?: string | undefined;
|
|
5451
5463
|
originalContent?: string | undefined;
|
|
@@ -5460,8 +5472,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5460
5472
|
coinsurance?: string | undefined;
|
|
5461
5473
|
valuation?: "replacement_cost" | "actual_cash_value" | "agreed_value" | "functional_replacement" | undefined;
|
|
5462
5474
|
territory?: string | undefined;
|
|
5463
|
-
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
5464
|
-
retroactiveDate?: string | undefined;
|
|
5465
5475
|
premium?: string | undefined;
|
|
5466
5476
|
}[] | undefined;
|
|
5467
5477
|
endorsements?: {
|
|
@@ -5805,6 +5815,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5805
5815
|
deductible: z.ZodOptional<z.ZodString>;
|
|
5806
5816
|
deductibleAmount: z.ZodOptional<z.ZodNumber>;
|
|
5807
5817
|
deductibleValueType: z.ZodOptional<z.ZodEnum<["numeric", "included", "not_included", "as_stated", "waiting_period", "referential", "other"]>>;
|
|
5818
|
+
trigger: z.ZodOptional<z.ZodEnum<["occurrence", "claims_made", "accident"]>>;
|
|
5819
|
+
retroactiveDate: z.ZodOptional<z.ZodString>;
|
|
5808
5820
|
formNumber: z.ZodOptional<z.ZodString>;
|
|
5809
5821
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
5810
5822
|
sectionRef: z.ZodOptional<z.ZodString>;
|
|
@@ -5822,6 +5834,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5822
5834
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
5823
5835
|
deductibleAmount?: number | undefined;
|
|
5824
5836
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
5837
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
5838
|
+
retroactiveDate?: string | undefined;
|
|
5825
5839
|
pageNumber?: number | undefined;
|
|
5826
5840
|
sectionRef?: string | undefined;
|
|
5827
5841
|
originalContent?: string | undefined;
|
|
@@ -5838,6 +5852,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5838
5852
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
5839
5853
|
deductibleAmount?: number | undefined;
|
|
5840
5854
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
5855
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
5856
|
+
retroactiveDate?: string | undefined;
|
|
5841
5857
|
pageNumber?: number | undefined;
|
|
5842
5858
|
sectionRef?: string | undefined;
|
|
5843
5859
|
originalContent?: string | undefined;
|
|
@@ -6135,6 +6151,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6135
6151
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
6136
6152
|
deductibleAmount?: number | undefined;
|
|
6137
6153
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
6154
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
6155
|
+
retroactiveDate?: string | undefined;
|
|
6138
6156
|
pageNumber?: number | undefined;
|
|
6139
6157
|
sectionRef?: string | undefined;
|
|
6140
6158
|
originalContent?: string | undefined;
|
|
@@ -6149,8 +6167,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6149
6167
|
coinsurance?: string | undefined;
|
|
6150
6168
|
valuation?: "replacement_cost" | "actual_cash_value" | "agreed_value" | "functional_replacement" | undefined;
|
|
6151
6169
|
territory?: string | undefined;
|
|
6152
|
-
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
6153
|
-
retroactiveDate?: string | undefined;
|
|
6154
6170
|
premium?: string | undefined;
|
|
6155
6171
|
}, {
|
|
6156
6172
|
name: string;
|
|
@@ -6163,6 +6179,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6163
6179
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
6164
6180
|
deductibleAmount?: number | undefined;
|
|
6165
6181
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
6182
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
6183
|
+
retroactiveDate?: string | undefined;
|
|
6166
6184
|
pageNumber?: number | undefined;
|
|
6167
6185
|
sectionRef?: string | undefined;
|
|
6168
6186
|
originalContent?: string | undefined;
|
|
@@ -6177,8 +6195,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6177
6195
|
coinsurance?: string | undefined;
|
|
6178
6196
|
valuation?: "replacement_cost" | "actual_cash_value" | "agreed_value" | "functional_replacement" | undefined;
|
|
6179
6197
|
territory?: string | undefined;
|
|
6180
|
-
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
6181
|
-
retroactiveDate?: string | undefined;
|
|
6182
6198
|
premium?: string | undefined;
|
|
6183
6199
|
}>, "many">>;
|
|
6184
6200
|
endorsements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -9506,6 +9522,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
9506
9522
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
9507
9523
|
deductibleAmount?: number | undefined;
|
|
9508
9524
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
9525
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
9526
|
+
retroactiveDate?: string | undefined;
|
|
9509
9527
|
pageNumber?: number | undefined;
|
|
9510
9528
|
sectionRef?: string | undefined;
|
|
9511
9529
|
originalContent?: string | undefined;
|
|
@@ -10225,6 +10243,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10225
10243
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
10226
10244
|
deductibleAmount?: number | undefined;
|
|
10227
10245
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
10246
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
10247
|
+
retroactiveDate?: string | undefined;
|
|
10228
10248
|
pageNumber?: number | undefined;
|
|
10229
10249
|
sectionRef?: string | undefined;
|
|
10230
10250
|
originalContent?: string | undefined;
|
|
@@ -10239,8 +10259,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10239
10259
|
coinsurance?: string | undefined;
|
|
10240
10260
|
valuation?: "replacement_cost" | "actual_cash_value" | "agreed_value" | "functional_replacement" | undefined;
|
|
10241
10261
|
territory?: string | undefined;
|
|
10242
|
-
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
10243
|
-
retroactiveDate?: string | undefined;
|
|
10244
10262
|
premium?: string | undefined;
|
|
10245
10263
|
}[] | undefined;
|
|
10246
10264
|
endorsements?: {
|
|
@@ -10528,6 +10546,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10528
10546
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
10529
10547
|
deductibleAmount?: number | undefined;
|
|
10530
10548
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
10549
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
10550
|
+
retroactiveDate?: string | undefined;
|
|
10531
10551
|
pageNumber?: number | undefined;
|
|
10532
10552
|
sectionRef?: string | undefined;
|
|
10533
10553
|
originalContent?: string | undefined;
|
|
@@ -11247,6 +11267,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11247
11267
|
limitValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
11248
11268
|
deductibleAmount?: number | undefined;
|
|
11249
11269
|
deductibleValueType?: "other" | "waiting_period" | "numeric" | "included" | "not_included" | "as_stated" | "referential" | undefined;
|
|
11270
|
+
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
11271
|
+
retroactiveDate?: string | undefined;
|
|
11250
11272
|
pageNumber?: number | undefined;
|
|
11251
11273
|
sectionRef?: string | undefined;
|
|
11252
11274
|
originalContent?: string | undefined;
|
|
@@ -11261,8 +11283,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11261
11283
|
coinsurance?: string | undefined;
|
|
11262
11284
|
valuation?: "replacement_cost" | "actual_cash_value" | "agreed_value" | "functional_replacement" | undefined;
|
|
11263
11285
|
territory?: string | undefined;
|
|
11264
|
-
trigger?: "occurrence" | "claims_made" | "accident" | undefined;
|
|
11265
|
-
retroactiveDate?: string | undefined;
|
|
11266
11286
|
premium?: string | undefined;
|
|
11267
11287
|
}[] | undefined;
|
|
11268
11288
|
endorsements?: {
|
|
@@ -11607,6 +11627,33 @@ declare const SourceSpanSchema: z.ZodObject<{
|
|
|
11607
11627
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
11608
11628
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
11609
11629
|
formNumber: z.ZodOptional<z.ZodString>;
|
|
11630
|
+
sourceUnit: z.ZodOptional<z.ZodEnum<["page", "section", "table", "table_row", "table_cell", "key_value", "text"]>>;
|
|
11631
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
11632
|
+
table: z.ZodOptional<z.ZodObject<{
|
|
11633
|
+
tableId: z.ZodOptional<z.ZodString>;
|
|
11634
|
+
rowIndex: z.ZodOptional<z.ZodNumber>;
|
|
11635
|
+
columnIndex: z.ZodOptional<z.ZodNumber>;
|
|
11636
|
+
columnName: z.ZodOptional<z.ZodString>;
|
|
11637
|
+
rowSpanId: z.ZodOptional<z.ZodString>;
|
|
11638
|
+
tableSpanId: z.ZodOptional<z.ZodString>;
|
|
11639
|
+
isHeader: z.ZodOptional<z.ZodBoolean>;
|
|
11640
|
+
}, "strip", z.ZodTypeAny, {
|
|
11641
|
+
tableId?: string | undefined;
|
|
11642
|
+
rowIndex?: number | undefined;
|
|
11643
|
+
columnIndex?: number | undefined;
|
|
11644
|
+
columnName?: string | undefined;
|
|
11645
|
+
rowSpanId?: string | undefined;
|
|
11646
|
+
tableSpanId?: string | undefined;
|
|
11647
|
+
isHeader?: boolean | undefined;
|
|
11648
|
+
}, {
|
|
11649
|
+
tableId?: string | undefined;
|
|
11650
|
+
rowIndex?: number | undefined;
|
|
11651
|
+
columnIndex?: number | undefined;
|
|
11652
|
+
columnName?: string | undefined;
|
|
11653
|
+
rowSpanId?: string | undefined;
|
|
11654
|
+
tableSpanId?: string | undefined;
|
|
11655
|
+
isHeader?: boolean | undefined;
|
|
11656
|
+
}>>;
|
|
11610
11657
|
bbox: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11611
11658
|
page: z.ZodNumber;
|
|
11612
11659
|
x: z.ZodNumber;
|
|
@@ -11657,9 +11704,9 @@ declare const SourceSpanSchema: z.ZodObject<{
|
|
|
11657
11704
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
11658
11705
|
}, "strip", z.ZodTypeAny, {
|
|
11659
11706
|
id: string;
|
|
11707
|
+
text: string;
|
|
11660
11708
|
documentId: string;
|
|
11661
11709
|
kind: "pdf_text" | "pdf_image" | "html" | "markdown" | "plain_text" | "structured_field";
|
|
11662
|
-
text: string;
|
|
11663
11710
|
hash: string;
|
|
11664
11711
|
formNumber?: string | undefined;
|
|
11665
11712
|
pageStart?: number | undefined;
|
|
@@ -11674,10 +11721,21 @@ declare const SourceSpanSchema: z.ZodObject<{
|
|
|
11674
11721
|
lineEnd?: number | undefined;
|
|
11675
11722
|
fieldPath?: string | undefined;
|
|
11676
11723
|
} | undefined;
|
|
11724
|
+
table?: {
|
|
11725
|
+
tableId?: string | undefined;
|
|
11726
|
+
rowIndex?: number | undefined;
|
|
11727
|
+
columnIndex?: number | undefined;
|
|
11728
|
+
columnName?: string | undefined;
|
|
11729
|
+
rowSpanId?: string | undefined;
|
|
11730
|
+
tableSpanId?: string | undefined;
|
|
11731
|
+
isHeader?: boolean | undefined;
|
|
11732
|
+
} | undefined;
|
|
11677
11733
|
sourceKind?: "email" | "policy_pdf" | "application_pdf" | "attachment" | "manual_note" | undefined;
|
|
11678
11734
|
chunkId?: string | undefined;
|
|
11679
11735
|
textHash?: string | undefined;
|
|
11680
11736
|
sectionId?: string | undefined;
|
|
11737
|
+
sourceUnit?: "section" | "page" | "table" | "table_row" | "table_cell" | "key_value" | "text" | undefined;
|
|
11738
|
+
parentSpanId?: string | undefined;
|
|
11681
11739
|
bbox?: {
|
|
11682
11740
|
page: number;
|
|
11683
11741
|
x: number;
|
|
@@ -11688,9 +11746,9 @@ declare const SourceSpanSchema: z.ZodObject<{
|
|
|
11688
11746
|
metadata?: Record<string, string> | undefined;
|
|
11689
11747
|
}, {
|
|
11690
11748
|
id: string;
|
|
11749
|
+
text: string;
|
|
11691
11750
|
documentId: string;
|
|
11692
11751
|
kind: "pdf_text" | "pdf_image" | "html" | "markdown" | "plain_text" | "structured_field";
|
|
11693
|
-
text: string;
|
|
11694
11752
|
hash: string;
|
|
11695
11753
|
formNumber?: string | undefined;
|
|
11696
11754
|
pageStart?: number | undefined;
|
|
@@ -11705,10 +11763,21 @@ declare const SourceSpanSchema: z.ZodObject<{
|
|
|
11705
11763
|
lineEnd?: number | undefined;
|
|
11706
11764
|
fieldPath?: string | undefined;
|
|
11707
11765
|
} | undefined;
|
|
11766
|
+
table?: {
|
|
11767
|
+
tableId?: string | undefined;
|
|
11768
|
+
rowIndex?: number | undefined;
|
|
11769
|
+
columnIndex?: number | undefined;
|
|
11770
|
+
columnName?: string | undefined;
|
|
11771
|
+
rowSpanId?: string | undefined;
|
|
11772
|
+
tableSpanId?: string | undefined;
|
|
11773
|
+
isHeader?: boolean | undefined;
|
|
11774
|
+
} | undefined;
|
|
11708
11775
|
sourceKind?: "email" | "policy_pdf" | "application_pdf" | "attachment" | "manual_note" | undefined;
|
|
11709
11776
|
chunkId?: string | undefined;
|
|
11710
11777
|
textHash?: string | undefined;
|
|
11711
11778
|
sectionId?: string | undefined;
|
|
11779
|
+
sourceUnit?: "section" | "page" | "table" | "table_row" | "table_cell" | "key_value" | "text" | undefined;
|
|
11780
|
+
parentSpanId?: string | undefined;
|
|
11712
11781
|
bbox?: {
|
|
11713
11782
|
page: number;
|
|
11714
11783
|
x: number;
|
|
@@ -11731,8 +11800,8 @@ declare const SourceChunkSchema: z.ZodObject<{
|
|
|
11731
11800
|
}, "strip", z.ZodTypeAny, {
|
|
11732
11801
|
sourceSpanIds: string[];
|
|
11733
11802
|
id: string;
|
|
11734
|
-
documentId: string;
|
|
11735
11803
|
text: string;
|
|
11804
|
+
documentId: string;
|
|
11736
11805
|
textHash: string;
|
|
11737
11806
|
metadata: Record<string, string>;
|
|
11738
11807
|
pageStart?: number | undefined;
|
|
@@ -11740,8 +11809,8 @@ declare const SourceChunkSchema: z.ZodObject<{
|
|
|
11740
11809
|
}, {
|
|
11741
11810
|
sourceSpanIds: string[];
|
|
11742
11811
|
id: string;
|
|
11743
|
-
documentId: string;
|
|
11744
11812
|
text: string;
|
|
11813
|
+
documentId: string;
|
|
11745
11814
|
textHash: string;
|
|
11746
11815
|
pageStart?: number | undefined;
|
|
11747
11816
|
pageEnd?: number | undefined;
|