@claritylabs/cl-sdk 0.6.0 → 0.7.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.
@@ -396,20 +396,35 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
396
396
  name: z.ZodString;
397
397
  conditionType: z.ZodEnum<["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", "other"]>;
398
398
  content: z.ZodString;
399
- keyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
399
+ keyValues: z.ZodOptional<z.ZodArray<z.ZodObject<{
400
+ key: z.ZodString;
401
+ value: z.ZodString;
402
+ }, "strip", z.ZodTypeAny, {
403
+ value: string;
404
+ key: string;
405
+ }, {
406
+ value: string;
407
+ key: string;
408
+ }>, "many">>;
400
409
  pageNumber: z.ZodOptional<z.ZodNumber>;
401
410
  }, "strip", z.ZodTypeAny, {
402
411
  name: string;
403
412
  content: string;
404
413
  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";
405
414
  pageNumber?: number | undefined;
406
- keyValues?: Record<string, string> | undefined;
415
+ keyValues?: {
416
+ value: string;
417
+ key: string;
418
+ }[] | undefined;
407
419
  }, {
408
420
  name: string;
409
421
  content: string;
410
422
  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";
411
423
  pageNumber?: number | undefined;
412
- keyValues?: Record<string, string> | undefined;
424
+ keyValues?: {
425
+ value: string;
426
+ key: string;
427
+ }[] | undefined;
413
428
  }>, "many">>;
414
429
  limits: z.ZodOptional<z.ZodObject<{
415
430
  perOccurrence: z.ZodOptional<z.ZodString>;
@@ -3993,7 +4008,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3993
4008
  content: string;
3994
4009
  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";
3995
4010
  pageNumber?: number | undefined;
3996
- keyValues?: Record<string, string> | undefined;
4011
+ keyValues?: {
4012
+ value: string;
4013
+ key: string;
4014
+ }[] | undefined;
3997
4015
  }[] | undefined;
3998
4016
  retroactiveDate?: string | undefined;
3999
4017
  premium?: string | undefined;
@@ -4905,7 +4923,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4905
4923
  content: string;
4906
4924
  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";
4907
4925
  pageNumber?: number | undefined;
4908
- keyValues?: Record<string, string> | undefined;
4926
+ keyValues?: {
4927
+ value: string;
4928
+ key: string;
4929
+ }[] | undefined;
4909
4930
  }[] | undefined;
4910
4931
  retroactiveDate?: string | undefined;
4911
4932
  premium?: string | undefined;
@@ -5771,20 +5792,35 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
5771
5792
  name: z.ZodString;
5772
5793
  conditionType: z.ZodEnum<["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", "other"]>;
5773
5794
  content: z.ZodString;
5774
- keyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5795
+ keyValues: z.ZodOptional<z.ZodArray<z.ZodObject<{
5796
+ key: z.ZodString;
5797
+ value: z.ZodString;
5798
+ }, "strip", z.ZodTypeAny, {
5799
+ value: string;
5800
+ key: string;
5801
+ }, {
5802
+ value: string;
5803
+ key: string;
5804
+ }>, "many">>;
5775
5805
  pageNumber: z.ZodOptional<z.ZodNumber>;
5776
5806
  }, "strip", z.ZodTypeAny, {
5777
5807
  name: string;
5778
5808
  content: string;
5779
5809
  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";
5780
5810
  pageNumber?: number | undefined;
5781
- keyValues?: Record<string, string> | undefined;
5811
+ keyValues?: {
5812
+ value: string;
5813
+ key: string;
5814
+ }[] | undefined;
5782
5815
  }, {
5783
5816
  name: string;
5784
5817
  content: string;
5785
5818
  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";
5786
5819
  pageNumber?: number | undefined;
5787
- keyValues?: Record<string, string> | undefined;
5820
+ keyValues?: {
5821
+ value: string;
5822
+ key: string;
5823
+ }[] | undefined;
5788
5824
  }>, "many">>;
5789
5825
  limits: z.ZodOptional<z.ZodObject<{
5790
5826
  perOccurrence: z.ZodOptional<z.ZodString>;
@@ -9367,7 +9403,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
9367
9403
  content: string;
9368
9404
  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";
9369
9405
  pageNumber?: number | undefined;
9370
- keyValues?: Record<string, string> | undefined;
9406
+ keyValues?: {
9407
+ value: string;
9408
+ key: string;
9409
+ }[] | undefined;
9371
9410
  }[] | undefined;
9372
9411
  retroactiveDate?: string | undefined;
9373
9412
  premium?: string | undefined;
@@ -10308,7 +10347,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
10308
10347
  content: string;
10309
10348
  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";
10310
10349
  pageNumber?: number | undefined;
10311
- keyValues?: Record<string, string> | undefined;
10350
+ keyValues?: {
10351
+ value: string;
10352
+ key: string;
10353
+ }[] | undefined;
10312
10354
  }[] | undefined;
10313
10355
  retroactiveDate?: string | undefined;
10314
10356
  premium?: string | undefined;
@@ -396,20 +396,35 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
396
396
  name: z.ZodString;
397
397
  conditionType: z.ZodEnum<["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", "other"]>;
398
398
  content: z.ZodString;
399
- keyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
399
+ keyValues: z.ZodOptional<z.ZodArray<z.ZodObject<{
400
+ key: z.ZodString;
401
+ value: z.ZodString;
402
+ }, "strip", z.ZodTypeAny, {
403
+ value: string;
404
+ key: string;
405
+ }, {
406
+ value: string;
407
+ key: string;
408
+ }>, "many">>;
400
409
  pageNumber: z.ZodOptional<z.ZodNumber>;
401
410
  }, "strip", z.ZodTypeAny, {
402
411
  name: string;
403
412
  content: string;
404
413
  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";
405
414
  pageNumber?: number | undefined;
406
- keyValues?: Record<string, string> | undefined;
415
+ keyValues?: {
416
+ value: string;
417
+ key: string;
418
+ }[] | undefined;
407
419
  }, {
408
420
  name: string;
409
421
  content: string;
410
422
  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";
411
423
  pageNumber?: number | undefined;
412
- keyValues?: Record<string, string> | undefined;
424
+ keyValues?: {
425
+ value: string;
426
+ key: string;
427
+ }[] | undefined;
413
428
  }>, "many">>;
414
429
  limits: z.ZodOptional<z.ZodObject<{
415
430
  perOccurrence: z.ZodOptional<z.ZodString>;
@@ -3993,7 +4008,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3993
4008
  content: string;
3994
4009
  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";
3995
4010
  pageNumber?: number | undefined;
3996
- keyValues?: Record<string, string> | undefined;
4011
+ keyValues?: {
4012
+ value: string;
4013
+ key: string;
4014
+ }[] | undefined;
3997
4015
  }[] | undefined;
3998
4016
  retroactiveDate?: string | undefined;
3999
4017
  premium?: string | undefined;
@@ -4905,7 +4923,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4905
4923
  content: string;
4906
4924
  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";
4907
4925
  pageNumber?: number | undefined;
4908
- keyValues?: Record<string, string> | undefined;
4926
+ keyValues?: {
4927
+ value: string;
4928
+ key: string;
4929
+ }[] | undefined;
4909
4930
  }[] | undefined;
4910
4931
  retroactiveDate?: string | undefined;
4911
4932
  premium?: string | undefined;
@@ -5771,20 +5792,35 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
5771
5792
  name: z.ZodString;
5772
5793
  conditionType: z.ZodEnum<["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", "other"]>;
5773
5794
  content: z.ZodString;
5774
- keyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5795
+ keyValues: z.ZodOptional<z.ZodArray<z.ZodObject<{
5796
+ key: z.ZodString;
5797
+ value: z.ZodString;
5798
+ }, "strip", z.ZodTypeAny, {
5799
+ value: string;
5800
+ key: string;
5801
+ }, {
5802
+ value: string;
5803
+ key: string;
5804
+ }>, "many">>;
5775
5805
  pageNumber: z.ZodOptional<z.ZodNumber>;
5776
5806
  }, "strip", z.ZodTypeAny, {
5777
5807
  name: string;
5778
5808
  content: string;
5779
5809
  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";
5780
5810
  pageNumber?: number | undefined;
5781
- keyValues?: Record<string, string> | undefined;
5811
+ keyValues?: {
5812
+ value: string;
5813
+ key: string;
5814
+ }[] | undefined;
5782
5815
  }, {
5783
5816
  name: string;
5784
5817
  content: string;
5785
5818
  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";
5786
5819
  pageNumber?: number | undefined;
5787
- keyValues?: Record<string, string> | undefined;
5820
+ keyValues?: {
5821
+ value: string;
5822
+ key: string;
5823
+ }[] | undefined;
5788
5824
  }>, "many">>;
5789
5825
  limits: z.ZodOptional<z.ZodObject<{
5790
5826
  perOccurrence: z.ZodOptional<z.ZodString>;
@@ -9367,7 +9403,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
9367
9403
  content: string;
9368
9404
  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";
9369
9405
  pageNumber?: number | undefined;
9370
- keyValues?: Record<string, string> | undefined;
9406
+ keyValues?: {
9407
+ value: string;
9408
+ key: string;
9409
+ }[] | undefined;
9371
9410
  }[] | undefined;
9372
9411
  retroactiveDate?: string | undefined;
9373
9412
  premium?: string | undefined;
@@ -10308,7 +10347,10 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
10308
10347
  content: string;
10309
10348
  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";
10310
10349
  pageNumber?: number | undefined;
10311
- keyValues?: Record<string, string> | undefined;
10350
+ keyValues?: {
10351
+ value: string;
10352
+ key: string;
10353
+ }[] | undefined;
10312
10354
  }[] | undefined;
10313
10355
  retroactiveDate?: string | undefined;
10314
10356
  premium?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claritylabs/cl-sdk",
3
- "version": "0.6.0",
3
+ "version": "0.7.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",