@claritylabs/cl-sdk 4.2.0 → 4.3.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 +2 -0
- package/dist/application.js.map +1 -1
- package/dist/application.mjs +2 -0
- package/dist/application.mjs.map +1 -1
- package/dist/{index-C9XfOdmx.d.mts → index-DhA-5jZy.d.mts} +369 -0
- package/dist/{index-C9XfOdmx.d.ts → index-DhA-5jZy.d.ts} +369 -0
- package/dist/index.d.mts +40 -2
- package/dist/index.d.ts +40 -2
- package/dist/index.js +128 -23
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +128 -23
- package/dist/index.mjs.map +1 -1
- package/dist/storage-sqlite.d.mts +108 -0
- package/dist/storage-sqlite.d.ts +108 -0
- package/dist/storage-sqlite.js +2 -0
- package/dist/storage-sqlite.js.map +1 -1
- package/dist/storage-sqlite.mjs +2 -0
- package/dist/storage-sqlite.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3511,6 +3511,28 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3511
3511
|
amBestNumber: z.ZodOptional<z.ZodString>;
|
|
3512
3512
|
admittedStatus: z.ZodOptional<z.ZodEnum<["admitted", "non_admitted", "surplus_lines"]>>;
|
|
3513
3513
|
stateOfDomicile: z.ZodOptional<z.ZodString>;
|
|
3514
|
+
address: z.ZodOptional<z.ZodObject<{
|
|
3515
|
+
street1: z.ZodString;
|
|
3516
|
+
street2: z.ZodOptional<z.ZodString>;
|
|
3517
|
+
city: z.ZodString;
|
|
3518
|
+
state: z.ZodString;
|
|
3519
|
+
zip: z.ZodString;
|
|
3520
|
+
country: z.ZodOptional<z.ZodString>;
|
|
3521
|
+
}, "strip", z.ZodTypeAny, {
|
|
3522
|
+
street1: string;
|
|
3523
|
+
city: string;
|
|
3524
|
+
state: string;
|
|
3525
|
+
zip: string;
|
|
3526
|
+
street2?: string | undefined;
|
|
3527
|
+
country?: string | undefined;
|
|
3528
|
+
}, {
|
|
3529
|
+
street1: string;
|
|
3530
|
+
city: string;
|
|
3531
|
+
state: string;
|
|
3532
|
+
zip: string;
|
|
3533
|
+
street2?: string | undefined;
|
|
3534
|
+
country?: string | undefined;
|
|
3535
|
+
}>>;
|
|
3514
3536
|
} & {
|
|
3515
3537
|
sourceSpanIds: z.ZodArray<z.ZodString, "many">;
|
|
3516
3538
|
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
@@ -3524,6 +3546,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3524
3546
|
sourceTextHash?: string | undefined;
|
|
3525
3547
|
pageStart?: number | undefined;
|
|
3526
3548
|
pageEnd?: number | undefined;
|
|
3549
|
+
address?: {
|
|
3550
|
+
street1: string;
|
|
3551
|
+
city: string;
|
|
3552
|
+
state: string;
|
|
3553
|
+
zip: string;
|
|
3554
|
+
street2?: string | undefined;
|
|
3555
|
+
country?: string | undefined;
|
|
3556
|
+
} | undefined;
|
|
3527
3557
|
naicNumber?: string | undefined;
|
|
3528
3558
|
amBestRating?: string | undefined;
|
|
3529
3559
|
amBestNumber?: string | undefined;
|
|
@@ -3536,6 +3566,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3536
3566
|
sourceTextHash?: string | undefined;
|
|
3537
3567
|
pageStart?: number | undefined;
|
|
3538
3568
|
pageEnd?: number | undefined;
|
|
3569
|
+
address?: {
|
|
3570
|
+
street1: string;
|
|
3571
|
+
city: string;
|
|
3572
|
+
state: string;
|
|
3573
|
+
zip: string;
|
|
3574
|
+
street2?: string | undefined;
|
|
3575
|
+
country?: string | undefined;
|
|
3576
|
+
} | undefined;
|
|
3539
3577
|
naicNumber?: string | undefined;
|
|
3540
3578
|
amBestRating?: string | undefined;
|
|
3541
3579
|
amBestNumber?: string | undefined;
|
|
@@ -5153,6 +5191,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5153
5191
|
sourceTextHash?: string | undefined;
|
|
5154
5192
|
pageStart?: number | undefined;
|
|
5155
5193
|
pageEnd?: number | undefined;
|
|
5194
|
+
address?: {
|
|
5195
|
+
street1: string;
|
|
5196
|
+
city: string;
|
|
5197
|
+
state: string;
|
|
5198
|
+
zip: string;
|
|
5199
|
+
street2?: string | undefined;
|
|
5200
|
+
country?: string | undefined;
|
|
5201
|
+
} | undefined;
|
|
5156
5202
|
naicNumber?: string | undefined;
|
|
5157
5203
|
amBestRating?: string | undefined;
|
|
5158
5204
|
amBestNumber?: string | undefined;
|
|
@@ -6274,6 +6320,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6274
6320
|
sourceTextHash?: string | undefined;
|
|
6275
6321
|
pageStart?: number | undefined;
|
|
6276
6322
|
pageEnd?: number | undefined;
|
|
6323
|
+
address?: {
|
|
6324
|
+
street1: string;
|
|
6325
|
+
city: string;
|
|
6326
|
+
state: string;
|
|
6327
|
+
zip: string;
|
|
6328
|
+
street2?: string | undefined;
|
|
6329
|
+
country?: string | undefined;
|
|
6330
|
+
} | undefined;
|
|
6277
6331
|
naicNumber?: string | undefined;
|
|
6278
6332
|
amBestRating?: string | undefined;
|
|
6279
6333
|
amBestNumber?: string | undefined;
|
|
@@ -10063,6 +10117,28 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10063
10117
|
amBestNumber: z.ZodOptional<z.ZodString>;
|
|
10064
10118
|
admittedStatus: z.ZodOptional<z.ZodEnum<["admitted", "non_admitted", "surplus_lines"]>>;
|
|
10065
10119
|
stateOfDomicile: z.ZodOptional<z.ZodString>;
|
|
10120
|
+
address: z.ZodOptional<z.ZodObject<{
|
|
10121
|
+
street1: z.ZodString;
|
|
10122
|
+
street2: z.ZodOptional<z.ZodString>;
|
|
10123
|
+
city: z.ZodString;
|
|
10124
|
+
state: z.ZodString;
|
|
10125
|
+
zip: z.ZodString;
|
|
10126
|
+
country: z.ZodOptional<z.ZodString>;
|
|
10127
|
+
}, "strip", z.ZodTypeAny, {
|
|
10128
|
+
street1: string;
|
|
10129
|
+
city: string;
|
|
10130
|
+
state: string;
|
|
10131
|
+
zip: string;
|
|
10132
|
+
street2?: string | undefined;
|
|
10133
|
+
country?: string | undefined;
|
|
10134
|
+
}, {
|
|
10135
|
+
street1: string;
|
|
10136
|
+
city: string;
|
|
10137
|
+
state: string;
|
|
10138
|
+
zip: string;
|
|
10139
|
+
street2?: string | undefined;
|
|
10140
|
+
country?: string | undefined;
|
|
10141
|
+
}>>;
|
|
10066
10142
|
} & {
|
|
10067
10143
|
sourceSpanIds: z.ZodArray<z.ZodString, "many">;
|
|
10068
10144
|
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
@@ -10076,6 +10152,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10076
10152
|
sourceTextHash?: string | undefined;
|
|
10077
10153
|
pageStart?: number | undefined;
|
|
10078
10154
|
pageEnd?: number | undefined;
|
|
10155
|
+
address?: {
|
|
10156
|
+
street1: string;
|
|
10157
|
+
city: string;
|
|
10158
|
+
state: string;
|
|
10159
|
+
zip: string;
|
|
10160
|
+
street2?: string | undefined;
|
|
10161
|
+
country?: string | undefined;
|
|
10162
|
+
} | undefined;
|
|
10079
10163
|
naicNumber?: string | undefined;
|
|
10080
10164
|
amBestRating?: string | undefined;
|
|
10081
10165
|
amBestNumber?: string | undefined;
|
|
@@ -10088,6 +10172,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10088
10172
|
sourceTextHash?: string | undefined;
|
|
10089
10173
|
pageStart?: number | undefined;
|
|
10090
10174
|
pageEnd?: number | undefined;
|
|
10175
|
+
address?: {
|
|
10176
|
+
street1: string;
|
|
10177
|
+
city: string;
|
|
10178
|
+
state: string;
|
|
10179
|
+
zip: string;
|
|
10180
|
+
street2?: string | undefined;
|
|
10181
|
+
country?: string | undefined;
|
|
10182
|
+
} | undefined;
|
|
10091
10183
|
naicNumber?: string | undefined;
|
|
10092
10184
|
amBestRating?: string | undefined;
|
|
10093
10185
|
amBestNumber?: string | undefined;
|
|
@@ -11700,6 +11792,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11700
11792
|
sourceTextHash?: string | undefined;
|
|
11701
11793
|
pageStart?: number | undefined;
|
|
11702
11794
|
pageEnd?: number | undefined;
|
|
11795
|
+
address?: {
|
|
11796
|
+
street1: string;
|
|
11797
|
+
city: string;
|
|
11798
|
+
state: string;
|
|
11799
|
+
zip: string;
|
|
11800
|
+
street2?: string | undefined;
|
|
11801
|
+
country?: string | undefined;
|
|
11802
|
+
} | undefined;
|
|
11703
11803
|
naicNumber?: string | undefined;
|
|
11704
11804
|
amBestRating?: string | undefined;
|
|
11705
11805
|
amBestNumber?: string | undefined;
|
|
@@ -12854,6 +12954,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
12854
12954
|
sourceTextHash?: string | undefined;
|
|
12855
12955
|
pageStart?: number | undefined;
|
|
12856
12956
|
pageEnd?: number | undefined;
|
|
12957
|
+
address?: {
|
|
12958
|
+
street1: string;
|
|
12959
|
+
city: string;
|
|
12960
|
+
state: string;
|
|
12961
|
+
zip: string;
|
|
12962
|
+
street2?: string | undefined;
|
|
12963
|
+
country?: string | undefined;
|
|
12964
|
+
} | undefined;
|
|
12857
12965
|
naicNumber?: string | undefined;
|
|
12858
12966
|
amBestRating?: string | undefined;
|
|
12859
12967
|
amBestNumber?: string | undefined;
|
package/dist/storage-sqlite.d.ts
CHANGED
|
@@ -3511,6 +3511,28 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3511
3511
|
amBestNumber: z.ZodOptional<z.ZodString>;
|
|
3512
3512
|
admittedStatus: z.ZodOptional<z.ZodEnum<["admitted", "non_admitted", "surplus_lines"]>>;
|
|
3513
3513
|
stateOfDomicile: z.ZodOptional<z.ZodString>;
|
|
3514
|
+
address: z.ZodOptional<z.ZodObject<{
|
|
3515
|
+
street1: z.ZodString;
|
|
3516
|
+
street2: z.ZodOptional<z.ZodString>;
|
|
3517
|
+
city: z.ZodString;
|
|
3518
|
+
state: z.ZodString;
|
|
3519
|
+
zip: z.ZodString;
|
|
3520
|
+
country: z.ZodOptional<z.ZodString>;
|
|
3521
|
+
}, "strip", z.ZodTypeAny, {
|
|
3522
|
+
street1: string;
|
|
3523
|
+
city: string;
|
|
3524
|
+
state: string;
|
|
3525
|
+
zip: string;
|
|
3526
|
+
street2?: string | undefined;
|
|
3527
|
+
country?: string | undefined;
|
|
3528
|
+
}, {
|
|
3529
|
+
street1: string;
|
|
3530
|
+
city: string;
|
|
3531
|
+
state: string;
|
|
3532
|
+
zip: string;
|
|
3533
|
+
street2?: string | undefined;
|
|
3534
|
+
country?: string | undefined;
|
|
3535
|
+
}>>;
|
|
3514
3536
|
} & {
|
|
3515
3537
|
sourceSpanIds: z.ZodArray<z.ZodString, "many">;
|
|
3516
3538
|
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
@@ -3524,6 +3546,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3524
3546
|
sourceTextHash?: string | undefined;
|
|
3525
3547
|
pageStart?: number | undefined;
|
|
3526
3548
|
pageEnd?: number | undefined;
|
|
3549
|
+
address?: {
|
|
3550
|
+
street1: string;
|
|
3551
|
+
city: string;
|
|
3552
|
+
state: string;
|
|
3553
|
+
zip: string;
|
|
3554
|
+
street2?: string | undefined;
|
|
3555
|
+
country?: string | undefined;
|
|
3556
|
+
} | undefined;
|
|
3527
3557
|
naicNumber?: string | undefined;
|
|
3528
3558
|
amBestRating?: string | undefined;
|
|
3529
3559
|
amBestNumber?: string | undefined;
|
|
@@ -3536,6 +3566,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3536
3566
|
sourceTextHash?: string | undefined;
|
|
3537
3567
|
pageStart?: number | undefined;
|
|
3538
3568
|
pageEnd?: number | undefined;
|
|
3569
|
+
address?: {
|
|
3570
|
+
street1: string;
|
|
3571
|
+
city: string;
|
|
3572
|
+
state: string;
|
|
3573
|
+
zip: string;
|
|
3574
|
+
street2?: string | undefined;
|
|
3575
|
+
country?: string | undefined;
|
|
3576
|
+
} | undefined;
|
|
3539
3577
|
naicNumber?: string | undefined;
|
|
3540
3578
|
amBestRating?: string | undefined;
|
|
3541
3579
|
amBestNumber?: string | undefined;
|
|
@@ -5153,6 +5191,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5153
5191
|
sourceTextHash?: string | undefined;
|
|
5154
5192
|
pageStart?: number | undefined;
|
|
5155
5193
|
pageEnd?: number | undefined;
|
|
5194
|
+
address?: {
|
|
5195
|
+
street1: string;
|
|
5196
|
+
city: string;
|
|
5197
|
+
state: string;
|
|
5198
|
+
zip: string;
|
|
5199
|
+
street2?: string | undefined;
|
|
5200
|
+
country?: string | undefined;
|
|
5201
|
+
} | undefined;
|
|
5156
5202
|
naicNumber?: string | undefined;
|
|
5157
5203
|
amBestRating?: string | undefined;
|
|
5158
5204
|
amBestNumber?: string | undefined;
|
|
@@ -6274,6 +6320,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
6274
6320
|
sourceTextHash?: string | undefined;
|
|
6275
6321
|
pageStart?: number | undefined;
|
|
6276
6322
|
pageEnd?: number | undefined;
|
|
6323
|
+
address?: {
|
|
6324
|
+
street1: string;
|
|
6325
|
+
city: string;
|
|
6326
|
+
state: string;
|
|
6327
|
+
zip: string;
|
|
6328
|
+
street2?: string | undefined;
|
|
6329
|
+
country?: string | undefined;
|
|
6330
|
+
} | undefined;
|
|
6277
6331
|
naicNumber?: string | undefined;
|
|
6278
6332
|
amBestRating?: string | undefined;
|
|
6279
6333
|
amBestNumber?: string | undefined;
|
|
@@ -10063,6 +10117,28 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10063
10117
|
amBestNumber: z.ZodOptional<z.ZodString>;
|
|
10064
10118
|
admittedStatus: z.ZodOptional<z.ZodEnum<["admitted", "non_admitted", "surplus_lines"]>>;
|
|
10065
10119
|
stateOfDomicile: z.ZodOptional<z.ZodString>;
|
|
10120
|
+
address: z.ZodOptional<z.ZodObject<{
|
|
10121
|
+
street1: z.ZodString;
|
|
10122
|
+
street2: z.ZodOptional<z.ZodString>;
|
|
10123
|
+
city: z.ZodString;
|
|
10124
|
+
state: z.ZodString;
|
|
10125
|
+
zip: z.ZodString;
|
|
10126
|
+
country: z.ZodOptional<z.ZodString>;
|
|
10127
|
+
}, "strip", z.ZodTypeAny, {
|
|
10128
|
+
street1: string;
|
|
10129
|
+
city: string;
|
|
10130
|
+
state: string;
|
|
10131
|
+
zip: string;
|
|
10132
|
+
street2?: string | undefined;
|
|
10133
|
+
country?: string | undefined;
|
|
10134
|
+
}, {
|
|
10135
|
+
street1: string;
|
|
10136
|
+
city: string;
|
|
10137
|
+
state: string;
|
|
10138
|
+
zip: string;
|
|
10139
|
+
street2?: string | undefined;
|
|
10140
|
+
country?: string | undefined;
|
|
10141
|
+
}>>;
|
|
10066
10142
|
} & {
|
|
10067
10143
|
sourceSpanIds: z.ZodArray<z.ZodString, "many">;
|
|
10068
10144
|
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
@@ -10076,6 +10152,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10076
10152
|
sourceTextHash?: string | undefined;
|
|
10077
10153
|
pageStart?: number | undefined;
|
|
10078
10154
|
pageEnd?: number | undefined;
|
|
10155
|
+
address?: {
|
|
10156
|
+
street1: string;
|
|
10157
|
+
city: string;
|
|
10158
|
+
state: string;
|
|
10159
|
+
zip: string;
|
|
10160
|
+
street2?: string | undefined;
|
|
10161
|
+
country?: string | undefined;
|
|
10162
|
+
} | undefined;
|
|
10079
10163
|
naicNumber?: string | undefined;
|
|
10080
10164
|
amBestRating?: string | undefined;
|
|
10081
10165
|
amBestNumber?: string | undefined;
|
|
@@ -10088,6 +10172,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
10088
10172
|
sourceTextHash?: string | undefined;
|
|
10089
10173
|
pageStart?: number | undefined;
|
|
10090
10174
|
pageEnd?: number | undefined;
|
|
10175
|
+
address?: {
|
|
10176
|
+
street1: string;
|
|
10177
|
+
city: string;
|
|
10178
|
+
state: string;
|
|
10179
|
+
zip: string;
|
|
10180
|
+
street2?: string | undefined;
|
|
10181
|
+
country?: string | undefined;
|
|
10182
|
+
} | undefined;
|
|
10091
10183
|
naicNumber?: string | undefined;
|
|
10092
10184
|
amBestRating?: string | undefined;
|
|
10093
10185
|
amBestNumber?: string | undefined;
|
|
@@ -11700,6 +11792,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
11700
11792
|
sourceTextHash?: string | undefined;
|
|
11701
11793
|
pageStart?: number | undefined;
|
|
11702
11794
|
pageEnd?: number | undefined;
|
|
11795
|
+
address?: {
|
|
11796
|
+
street1: string;
|
|
11797
|
+
city: string;
|
|
11798
|
+
state: string;
|
|
11799
|
+
zip: string;
|
|
11800
|
+
street2?: string | undefined;
|
|
11801
|
+
country?: string | undefined;
|
|
11802
|
+
} | undefined;
|
|
11703
11803
|
naicNumber?: string | undefined;
|
|
11704
11804
|
amBestRating?: string | undefined;
|
|
11705
11805
|
amBestNumber?: string | undefined;
|
|
@@ -12854,6 +12954,14 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
12854
12954
|
sourceTextHash?: string | undefined;
|
|
12855
12955
|
pageStart?: number | undefined;
|
|
12856
12956
|
pageEnd?: number | undefined;
|
|
12957
|
+
address?: {
|
|
12958
|
+
street1: string;
|
|
12959
|
+
city: string;
|
|
12960
|
+
state: string;
|
|
12961
|
+
zip: string;
|
|
12962
|
+
street2?: string | undefined;
|
|
12963
|
+
country?: string | undefined;
|
|
12964
|
+
} | undefined;
|
|
12857
12965
|
naicNumber?: string | undefined;
|
|
12858
12966
|
amBestRating?: string | undefined;
|
|
12859
12967
|
amBestNumber?: string | undefined;
|
package/dist/storage-sqlite.js
CHANGED
|
@@ -765,6 +765,7 @@ var OperationalCoverageLineSchema = import_zod2.z.object({
|
|
|
765
765
|
var OperationalPartySchema = import_zod2.z.object({
|
|
766
766
|
role: import_zod2.z.string(),
|
|
767
767
|
name: import_zod2.z.string(),
|
|
768
|
+
address: OperationalAddressSchema.optional(),
|
|
768
769
|
sourceNodeIds: import_zod2.z.array(import_zod2.z.string().min(1)).default([]),
|
|
769
770
|
sourceSpanIds: import_zod2.z.array(import_zod2.z.string().min(1)).default([])
|
|
770
771
|
});
|
|
@@ -802,6 +803,7 @@ var PolicyOperationalProfileSchema = import_zod2.z.preprocess(
|
|
|
802
803
|
expirationDate: SourceBackedValueSchema.optional(),
|
|
803
804
|
retroactiveDate: SourceBackedValueSchema.optional(),
|
|
804
805
|
premium: SourceBackedValueSchema.optional(),
|
|
806
|
+
operationsDescription: SourceBackedValueSchema.optional(),
|
|
805
807
|
declarationFacts: import_zod2.z.array(OperationalDeclarationFactSchema).default([]),
|
|
806
808
|
coverages: import_zod2.z.array(OperationalCoverageLineSchema).default([]),
|
|
807
809
|
parties: import_zod2.z.array(OperationalPartySchema).default([]),
|