@claritylabs/cl-sdk 0.11.0 → 0.13.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.
@@ -3524,6 +3524,22 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3524
3524
  }>>;
3525
3525
  cancellationNoticeDays: z.ZodOptional<z.ZodNumber>;
3526
3526
  nonrenewalNoticeDays: z.ZodOptional<z.ZodNumber>;
3527
+ supplementaryFacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
3528
+ key: z.ZodString;
3529
+ value: z.ZodString;
3530
+ subject: z.ZodOptional<z.ZodString>;
3531
+ context: z.ZodOptional<z.ZodString>;
3532
+ }, "strip", z.ZodTypeAny, {
3533
+ value: string;
3534
+ key: string;
3535
+ subject?: string | undefined;
3536
+ context?: string | undefined;
3537
+ }, {
3538
+ value: string;
3539
+ key: string;
3540
+ subject?: string | undefined;
3541
+ context?: string | undefined;
3542
+ }>, "many">>;
3527
3543
  }, "strip", z.ZodTypeAny, {
3528
3544
  type: "policy";
3529
3545
  effectiveDate: string;
@@ -4449,6 +4465,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4449
4465
  }[] | undefined;
4450
4466
  cancellationNoticeDays?: number | undefined;
4451
4467
  nonrenewalNoticeDays?: number | undefined;
4468
+ supplementaryFacts?: {
4469
+ value: string;
4470
+ key: string;
4471
+ subject?: string | undefined;
4472
+ context?: string | undefined;
4473
+ }[] | undefined;
4452
4474
  }, {
4453
4475
  type: "policy";
4454
4476
  effectiveDate: string;
@@ -5374,6 +5396,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
5374
5396
  }[] | undefined;
5375
5397
  cancellationNoticeDays?: number | undefined;
5376
5398
  nonrenewalNoticeDays?: number | undefined;
5399
+ supplementaryFacts?: {
5400
+ value: string;
5401
+ key: string;
5402
+ subject?: string | undefined;
5403
+ context?: string | undefined;
5404
+ }[] | undefined;
5377
5405
  }>, z.ZodObject<{
5378
5406
  type: z.ZodLiteral<"quote">;
5379
5407
  quoteNumber: z.ZodString;
@@ -8970,6 +8998,22 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
8970
8998
  }>>;
8971
8999
  cancellationNoticeDays: z.ZodOptional<z.ZodNumber>;
8972
9000
  nonrenewalNoticeDays: z.ZodOptional<z.ZodNumber>;
9001
+ supplementaryFacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
9002
+ key: z.ZodString;
9003
+ value: z.ZodString;
9004
+ subject: z.ZodOptional<z.ZodString>;
9005
+ context: z.ZodOptional<z.ZodString>;
9006
+ }, "strip", z.ZodTypeAny, {
9007
+ value: string;
9008
+ key: string;
9009
+ subject?: string | undefined;
9010
+ context?: string | undefined;
9011
+ }, {
9012
+ value: string;
9013
+ key: string;
9014
+ subject?: string | undefined;
9015
+ context?: string | undefined;
9016
+ }>, "many">>;
8973
9017
  }, "strip", z.ZodTypeAny, {
8974
9018
  type: "quote";
8975
9019
  coverages: {
@@ -9890,6 +9934,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
9890
9934
  }[] | undefined;
9891
9935
  cancellationNoticeDays?: number | undefined;
9892
9936
  nonrenewalNoticeDays?: number | undefined;
9937
+ supplementaryFacts?: {
9938
+ value: string;
9939
+ key: string;
9940
+ subject?: string | undefined;
9941
+ context?: string | undefined;
9942
+ }[] | undefined;
9893
9943
  proposedEffectiveDate?: string | undefined;
9894
9944
  proposedExpirationDate?: string | undefined;
9895
9945
  quoteExpirationDate?: string | undefined;
@@ -10844,6 +10894,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
10844
10894
  }[] | undefined;
10845
10895
  cancellationNoticeDays?: number | undefined;
10846
10896
  nonrenewalNoticeDays?: number | undefined;
10897
+ supplementaryFacts?: {
10898
+ value: string;
10899
+ key: string;
10900
+ subject?: string | undefined;
10901
+ context?: string | undefined;
10902
+ }[] | undefined;
10847
10903
  proposedEffectiveDate?: string | undefined;
10848
10904
  proposedExpirationDate?: string | undefined;
10849
10905
  quoteExpirationDate?: string | undefined;
@@ -3524,6 +3524,22 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3524
3524
  }>>;
3525
3525
  cancellationNoticeDays: z.ZodOptional<z.ZodNumber>;
3526
3526
  nonrenewalNoticeDays: z.ZodOptional<z.ZodNumber>;
3527
+ supplementaryFacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
3528
+ key: z.ZodString;
3529
+ value: z.ZodString;
3530
+ subject: z.ZodOptional<z.ZodString>;
3531
+ context: z.ZodOptional<z.ZodString>;
3532
+ }, "strip", z.ZodTypeAny, {
3533
+ value: string;
3534
+ key: string;
3535
+ subject?: string | undefined;
3536
+ context?: string | undefined;
3537
+ }, {
3538
+ value: string;
3539
+ key: string;
3540
+ subject?: string | undefined;
3541
+ context?: string | undefined;
3542
+ }>, "many">>;
3527
3543
  }, "strip", z.ZodTypeAny, {
3528
3544
  type: "policy";
3529
3545
  effectiveDate: string;
@@ -4449,6 +4465,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4449
4465
  }[] | undefined;
4450
4466
  cancellationNoticeDays?: number | undefined;
4451
4467
  nonrenewalNoticeDays?: number | undefined;
4468
+ supplementaryFacts?: {
4469
+ value: string;
4470
+ key: string;
4471
+ subject?: string | undefined;
4472
+ context?: string | undefined;
4473
+ }[] | undefined;
4452
4474
  }, {
4453
4475
  type: "policy";
4454
4476
  effectiveDate: string;
@@ -5374,6 +5396,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
5374
5396
  }[] | undefined;
5375
5397
  cancellationNoticeDays?: number | undefined;
5376
5398
  nonrenewalNoticeDays?: number | undefined;
5399
+ supplementaryFacts?: {
5400
+ value: string;
5401
+ key: string;
5402
+ subject?: string | undefined;
5403
+ context?: string | undefined;
5404
+ }[] | undefined;
5377
5405
  }>, z.ZodObject<{
5378
5406
  type: z.ZodLiteral<"quote">;
5379
5407
  quoteNumber: z.ZodString;
@@ -8970,6 +8998,22 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
8970
8998
  }>>;
8971
8999
  cancellationNoticeDays: z.ZodOptional<z.ZodNumber>;
8972
9000
  nonrenewalNoticeDays: z.ZodOptional<z.ZodNumber>;
9001
+ supplementaryFacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
9002
+ key: z.ZodString;
9003
+ value: z.ZodString;
9004
+ subject: z.ZodOptional<z.ZodString>;
9005
+ context: z.ZodOptional<z.ZodString>;
9006
+ }, "strip", z.ZodTypeAny, {
9007
+ value: string;
9008
+ key: string;
9009
+ subject?: string | undefined;
9010
+ context?: string | undefined;
9011
+ }, {
9012
+ value: string;
9013
+ key: string;
9014
+ subject?: string | undefined;
9015
+ context?: string | undefined;
9016
+ }>, "many">>;
8973
9017
  }, "strip", z.ZodTypeAny, {
8974
9018
  type: "quote";
8975
9019
  coverages: {
@@ -9890,6 +9934,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
9890
9934
  }[] | undefined;
9891
9935
  cancellationNoticeDays?: number | undefined;
9892
9936
  nonrenewalNoticeDays?: number | undefined;
9937
+ supplementaryFacts?: {
9938
+ value: string;
9939
+ key: string;
9940
+ subject?: string | undefined;
9941
+ context?: string | undefined;
9942
+ }[] | undefined;
9893
9943
  proposedEffectiveDate?: string | undefined;
9894
9944
  proposedExpirationDate?: string | undefined;
9895
9945
  quoteExpirationDate?: string | undefined;
@@ -10844,6 +10894,12 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
10844
10894
  }[] | undefined;
10845
10895
  cancellationNoticeDays?: number | undefined;
10846
10896
  nonrenewalNoticeDays?: number | undefined;
10897
+ supplementaryFacts?: {
10898
+ value: string;
10899
+ key: string;
10900
+ subject?: string | undefined;
10901
+ context?: string | undefined;
10902
+ }[] | undefined;
10847
10903
  proposedEffectiveDate?: string | undefined;
10848
10904
  proposedExpirationDate?: string | undefined;
10849
10905
  quoteExpirationDate?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claritylabs/cl-sdk",
3
- "version": "0.11.0",
3
+ "version": "0.13.0",
4
4
  "description": "CL-0 SDK — open infrastructure for building AI agents that work with insurance",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -25,8 +25,7 @@
25
25
  "dev": "tsup --watch",
26
26
  "typecheck": "tsc --noEmit",
27
27
  "test": "vitest run",
28
- "test:watch": "vitest",
29
- "release": "semantic-release"
28
+ "test:watch": "vitest"
30
29
  },
31
30
  "peerDependencies": {
32
31
  "pdf-lib": ">=1.17.0",
@@ -38,13 +37,10 @@
38
37
  }
39
38
  },
40
39
  "devDependencies": {
41
- "@semantic-release/changelog": "^6.0.3",
42
- "@semantic-release/git": "^10.0.1",
43
40
  "@types/better-sqlite3": "^7.6.12",
44
41
  "@types/node": "^25.5.0",
45
42
  "better-sqlite3": "^11.7.0",
46
43
  "pdf-lib": "^1.17.1",
47
- "semantic-release": "^25.0.3",
48
44
  "tsup": "^8.4.0",
49
45
  "typescript": "^5.8.0",
50
46
  "vitest": "^3.2.4",