@claritylabs/cl-sdk 4.0.1 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/application.d.mts +1 -1
- package/dist/application.d.ts +1 -1
- package/dist/application.js +35 -0
- package/dist/application.js.map +1 -1
- package/dist/application.mjs +35 -0
- package/dist/application.mjs.map +1 -1
- package/dist/{index-Cte-BzHF.d.mts → index-BzrY6OMD.d.mts} +228 -2
- package/dist/{index-Cte-BzHF.d.ts → index-BzrY6OMD.d.ts} +228 -2
- package/dist/index.d.mts +12 -12
- package/dist/index.d.ts +12 -12
- package/dist/index.js +231 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +229 -1
- package/dist/index.mjs.map +1 -1
- package/dist/storage-sqlite.js +35 -0
- package/dist/storage-sqlite.js.map +1 -1
- package/dist/storage-sqlite.mjs +35 -0
- package/dist/storage-sqlite.mjs.map +1 -1
- package/package.json +1 -1
package/dist/application.mjs
CHANGED
|
@@ -1474,6 +1474,40 @@ var SourceBackedValueSchema = z3.object({
|
|
|
1474
1474
|
sourceNodeIds: z3.array(z3.string().min(1)).default([]),
|
|
1475
1475
|
sourceSpanIds: z3.array(z3.string().min(1)).default([])
|
|
1476
1476
|
});
|
|
1477
|
+
var OperationalAddressSchema = z3.object({
|
|
1478
|
+
street1: z3.string().optional(),
|
|
1479
|
+
street2: z3.string().optional(),
|
|
1480
|
+
city: z3.string().optional(),
|
|
1481
|
+
state: z3.string().optional(),
|
|
1482
|
+
zip: z3.string().optional(),
|
|
1483
|
+
country: z3.string().optional(),
|
|
1484
|
+
formatted: z3.string().optional()
|
|
1485
|
+
});
|
|
1486
|
+
var OperationalDeclarationFactSchema = z3.object({
|
|
1487
|
+
field: z3.enum([
|
|
1488
|
+
"namedInsured",
|
|
1489
|
+
"mailingAddress",
|
|
1490
|
+
"dba",
|
|
1491
|
+
"entityType",
|
|
1492
|
+
"taxId",
|
|
1493
|
+
"additionalNamedInsured",
|
|
1494
|
+
"policyNumber",
|
|
1495
|
+
"insurer",
|
|
1496
|
+
"broker",
|
|
1497
|
+
"effectiveDate",
|
|
1498
|
+
"expirationDate",
|
|
1499
|
+
"premium",
|
|
1500
|
+
"other"
|
|
1501
|
+
]),
|
|
1502
|
+
label: z3.string().optional(),
|
|
1503
|
+
value: z3.string(),
|
|
1504
|
+
normalizedValue: z3.string().optional(),
|
|
1505
|
+
valueKind: z3.enum(["string", "number", "date", "money", "address", "list", "unknown"]).default("string"),
|
|
1506
|
+
address: OperationalAddressSchema.optional(),
|
|
1507
|
+
confidence: z3.enum(["low", "medium", "high"]).default("medium"),
|
|
1508
|
+
sourceNodeIds: z3.array(z3.string().min(1)).default([]),
|
|
1509
|
+
sourceSpanIds: z3.array(z3.string().min(1)).default([])
|
|
1510
|
+
});
|
|
1477
1511
|
var OperationalCoverageTermSchema = z3.object({
|
|
1478
1512
|
kind: z3.enum([
|
|
1479
1513
|
"each_claim_limit",
|
|
@@ -1548,6 +1582,7 @@ var PolicyOperationalProfileSchema = z3.preprocess(
|
|
|
1548
1582
|
expirationDate: SourceBackedValueSchema.optional(),
|
|
1549
1583
|
retroactiveDate: SourceBackedValueSchema.optional(),
|
|
1550
1584
|
premium: SourceBackedValueSchema.optional(),
|
|
1585
|
+
declarationFacts: z3.array(OperationalDeclarationFactSchema).default([]),
|
|
1551
1586
|
coverages: z3.array(OperationalCoverageLineSchema).default([]),
|
|
1552
1587
|
parties: z3.array(OperationalPartySchema).default([]),
|
|
1553
1588
|
endorsementSupport: z3.array(OperationalEndorsementSupportSchema).default([]),
|