@claritylabs/cl-sdk 4.0.1 → 4.2.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 +36 -0
- package/dist/application.js.map +1 -1
- package/dist/application.mjs +36 -0
- package/dist/application.mjs.map +1 -1
- package/dist/{index-Cte-BzHF.d.mts → index-C9XfOdmx.d.mts} +237 -2
- package/dist/{index-Cte-BzHF.d.ts → index-C9XfOdmx.d.ts} +237 -2
- package/dist/index.d.mts +15 -13
- package/dist/index.d.ts +15 -13
- package/dist/index.js +311 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +307 -13
- package/dist/index.mjs.map +1 -1
- package/dist/storage-sqlite.js +36 -0
- package/dist/storage-sqlite.js.map +1 -1
- package/dist/storage-sqlite.mjs +36 -0
- package/dist/storage-sqlite.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -27404,6 +27404,104 @@ declare const SourceBackedValueSchema: z.ZodObject<{
|
|
|
27404
27404
|
sourceNodeIds?: string[] | undefined;
|
|
27405
27405
|
}>;
|
|
27406
27406
|
type SourceBackedValue = z.infer<typeof SourceBackedValueSchema>;
|
|
27407
|
+
declare const OperationalAddressSchema: z.ZodObject<{
|
|
27408
|
+
street1: z.ZodOptional<z.ZodString>;
|
|
27409
|
+
street2: z.ZodOptional<z.ZodString>;
|
|
27410
|
+
city: z.ZodOptional<z.ZodString>;
|
|
27411
|
+
state: z.ZodOptional<z.ZodString>;
|
|
27412
|
+
zip: z.ZodOptional<z.ZodString>;
|
|
27413
|
+
country: z.ZodOptional<z.ZodString>;
|
|
27414
|
+
formatted: z.ZodOptional<z.ZodString>;
|
|
27415
|
+
}, "strip", z.ZodTypeAny, {
|
|
27416
|
+
street1?: string | undefined;
|
|
27417
|
+
street2?: string | undefined;
|
|
27418
|
+
city?: string | undefined;
|
|
27419
|
+
state?: string | undefined;
|
|
27420
|
+
zip?: string | undefined;
|
|
27421
|
+
country?: string | undefined;
|
|
27422
|
+
formatted?: string | undefined;
|
|
27423
|
+
}, {
|
|
27424
|
+
street1?: string | undefined;
|
|
27425
|
+
street2?: string | undefined;
|
|
27426
|
+
city?: string | undefined;
|
|
27427
|
+
state?: string | undefined;
|
|
27428
|
+
zip?: string | undefined;
|
|
27429
|
+
country?: string | undefined;
|
|
27430
|
+
formatted?: string | undefined;
|
|
27431
|
+
}>;
|
|
27432
|
+
type OperationalAddress = z.infer<typeof OperationalAddressSchema>;
|
|
27433
|
+
declare const OperationalDeclarationFactSchema: z.ZodObject<{
|
|
27434
|
+
field: z.ZodEnum<["namedInsured", "mailingAddress", "dba", "entityType", "taxId", "additionalNamedInsured", "policyNumber", "insurer", "broker", "effectiveDate", "expirationDate", "premium", "other"]>;
|
|
27435
|
+
label: z.ZodOptional<z.ZodString>;
|
|
27436
|
+
value: z.ZodString;
|
|
27437
|
+
normalizedValue: z.ZodOptional<z.ZodString>;
|
|
27438
|
+
valueKind: z.ZodDefault<z.ZodEnum<["string", "number", "date", "money", "address", "list", "unknown"]>>;
|
|
27439
|
+
address: z.ZodOptional<z.ZodObject<{
|
|
27440
|
+
street1: z.ZodOptional<z.ZodString>;
|
|
27441
|
+
street2: z.ZodOptional<z.ZodString>;
|
|
27442
|
+
city: z.ZodOptional<z.ZodString>;
|
|
27443
|
+
state: z.ZodOptional<z.ZodString>;
|
|
27444
|
+
zip: z.ZodOptional<z.ZodString>;
|
|
27445
|
+
country: z.ZodOptional<z.ZodString>;
|
|
27446
|
+
formatted: z.ZodOptional<z.ZodString>;
|
|
27447
|
+
}, "strip", z.ZodTypeAny, {
|
|
27448
|
+
street1?: string | undefined;
|
|
27449
|
+
street2?: string | undefined;
|
|
27450
|
+
city?: string | undefined;
|
|
27451
|
+
state?: string | undefined;
|
|
27452
|
+
zip?: string | undefined;
|
|
27453
|
+
country?: string | undefined;
|
|
27454
|
+
formatted?: string | undefined;
|
|
27455
|
+
}, {
|
|
27456
|
+
street1?: string | undefined;
|
|
27457
|
+
street2?: string | undefined;
|
|
27458
|
+
city?: string | undefined;
|
|
27459
|
+
state?: string | undefined;
|
|
27460
|
+
zip?: string | undefined;
|
|
27461
|
+
country?: string | undefined;
|
|
27462
|
+
formatted?: string | undefined;
|
|
27463
|
+
}>>;
|
|
27464
|
+
confidence: z.ZodDefault<z.ZodEnum<["low", "medium", "high"]>>;
|
|
27465
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
27466
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
27467
|
+
}, "strip", z.ZodTypeAny, {
|
|
27468
|
+
value: string;
|
|
27469
|
+
sourceSpanIds: string[];
|
|
27470
|
+
confidence: "low" | "medium" | "high";
|
|
27471
|
+
sourceNodeIds: string[];
|
|
27472
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "expirationDate" | "insurer" | "broker" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured";
|
|
27473
|
+
valueKind: "string" | "number" | "date" | "unknown" | "address" | "money" | "list";
|
|
27474
|
+
address?: {
|
|
27475
|
+
street1?: string | undefined;
|
|
27476
|
+
street2?: string | undefined;
|
|
27477
|
+
city?: string | undefined;
|
|
27478
|
+
state?: string | undefined;
|
|
27479
|
+
zip?: string | undefined;
|
|
27480
|
+
country?: string | undefined;
|
|
27481
|
+
formatted?: string | undefined;
|
|
27482
|
+
} | undefined;
|
|
27483
|
+
label?: string | undefined;
|
|
27484
|
+
normalizedValue?: string | undefined;
|
|
27485
|
+
}, {
|
|
27486
|
+
value: string;
|
|
27487
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "expirationDate" | "insurer" | "broker" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured";
|
|
27488
|
+
sourceSpanIds?: string[] | undefined;
|
|
27489
|
+
address?: {
|
|
27490
|
+
street1?: string | undefined;
|
|
27491
|
+
street2?: string | undefined;
|
|
27492
|
+
city?: string | undefined;
|
|
27493
|
+
state?: string | undefined;
|
|
27494
|
+
zip?: string | undefined;
|
|
27495
|
+
country?: string | undefined;
|
|
27496
|
+
formatted?: string | undefined;
|
|
27497
|
+
} | undefined;
|
|
27498
|
+
label?: string | undefined;
|
|
27499
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
27500
|
+
normalizedValue?: string | undefined;
|
|
27501
|
+
sourceNodeIds?: string[] | undefined;
|
|
27502
|
+
valueKind?: "string" | "number" | "date" | "unknown" | "address" | "money" | "list" | undefined;
|
|
27503
|
+
}>;
|
|
27504
|
+
type OperationalDeclarationFact = z.infer<typeof OperationalDeclarationFactSchema>;
|
|
27407
27505
|
declare const OperationalCoverageTermSchema: z.ZodObject<{
|
|
27408
27506
|
kind: z.ZodDefault<z.ZodEnum<["each_claim_limit", "each_occurrence_limit", "each_loss_limit", "aggregate_limit", "sublimit", "retention", "deductible", "retroactive_date", "premium", "other"]>>;
|
|
27409
27507
|
label: z.ZodString;
|
|
@@ -27432,6 +27530,7 @@ declare const OperationalCoverageTermSchema: z.ZodObject<{
|
|
|
27432
27530
|
type OperationalCoverageTerm = z.infer<typeof OperationalCoverageTermSchema>;
|
|
27433
27531
|
declare const OperationalCoverageLineSchema: z.ZodObject<{
|
|
27434
27532
|
name: z.ZodString;
|
|
27533
|
+
lineOfBusiness: z.ZodOptional<z.ZodEnum<["AAPPL", "AGLIA", "AGPP", "AGPR", "AIRC", "AIRPFB", "APKG", "APKGE", "APROD", "ARVP", "AUTO", "AUTOB", "AUTOP", "AVPKG", "BANDM", "BLANK", "BMISC", "BOAT", "BOP", "BOPGL", "BOPPR", "CAVN", "CEQFL", "CFIRE", "CFRM", "CGL", "COMAR", "COMR", "CONTR", "CPKGE", "CPMP", "CRIME", "DFIRE", "DISAB", "DO", "EDP", "EL", "EO", "EPLI", "EQ", "EQPFL", "EXLIA", "FIDTY", "FIDUC", "FINEA", "FLOOD", "GARAG", "GL", "GLASS", "HANG", "HBB", "HOME", "INBR", "INMAR", "INMRC", "INMRP", "JUDCL", "KIDRA", "LL", "MHOME", "MMAL", "Motorcycle", "MTRTK", "OLIB", "PHYS", "PKG", "PL", "PLMSC", "PPKGE", "PROP", "PROPC", "PUBOF", "RECV", "SCHPR", "SIGNS", "SMP", "SURE", "TRANS", "TRUCK", "UMBRC", "UMBRL", "UMBRP", "UN", "WCMA", "WIND", "WORK", "WORKP", "WORKV"]>>;
|
|
27435
27534
|
coverageCode: z.ZodOptional<z.ZodString>;
|
|
27436
27535
|
limit: z.ZodOptional<z.ZodString>;
|
|
27437
27536
|
deductible: z.ZodOptional<z.ZodString>;
|
|
@@ -27487,6 +27586,7 @@ declare const OperationalCoverageLineSchema: z.ZodObject<{
|
|
|
27487
27586
|
sectionRef?: string | undefined;
|
|
27488
27587
|
coverageCode?: string | undefined;
|
|
27489
27588
|
premium?: string | undefined;
|
|
27589
|
+
lineOfBusiness?: "AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV" | undefined;
|
|
27490
27590
|
endorsementNumber?: string | undefined;
|
|
27491
27591
|
}, {
|
|
27492
27592
|
name: string;
|
|
@@ -27508,6 +27608,7 @@ declare const OperationalCoverageLineSchema: z.ZodObject<{
|
|
|
27508
27608
|
sourceNodeIds?: string[] | undefined;
|
|
27509
27609
|
}[] | undefined;
|
|
27510
27610
|
sourceNodeIds?: string[] | undefined;
|
|
27611
|
+
lineOfBusiness?: "AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV" | undefined;
|
|
27511
27612
|
endorsementNumber?: string | undefined;
|
|
27512
27613
|
}>;
|
|
27513
27614
|
type OperationalCoverageLine = z.infer<typeof OperationalCoverageLineSchema>;
|
|
@@ -27703,8 +27804,80 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
27703
27804
|
normalizedValue?: string | undefined;
|
|
27704
27805
|
sourceNodeIds?: string[] | undefined;
|
|
27705
27806
|
}>>;
|
|
27807
|
+
declarationFacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
27808
|
+
field: z.ZodEnum<["namedInsured", "mailingAddress", "dba", "entityType", "taxId", "additionalNamedInsured", "policyNumber", "insurer", "broker", "effectiveDate", "expirationDate", "premium", "other"]>;
|
|
27809
|
+
label: z.ZodOptional<z.ZodString>;
|
|
27810
|
+
value: z.ZodString;
|
|
27811
|
+
normalizedValue: z.ZodOptional<z.ZodString>;
|
|
27812
|
+
valueKind: z.ZodDefault<z.ZodEnum<["string", "number", "date", "money", "address", "list", "unknown"]>>;
|
|
27813
|
+
address: z.ZodOptional<z.ZodObject<{
|
|
27814
|
+
street1: z.ZodOptional<z.ZodString>;
|
|
27815
|
+
street2: z.ZodOptional<z.ZodString>;
|
|
27816
|
+
city: z.ZodOptional<z.ZodString>;
|
|
27817
|
+
state: z.ZodOptional<z.ZodString>;
|
|
27818
|
+
zip: z.ZodOptional<z.ZodString>;
|
|
27819
|
+
country: z.ZodOptional<z.ZodString>;
|
|
27820
|
+
formatted: z.ZodOptional<z.ZodString>;
|
|
27821
|
+
}, "strip", z.ZodTypeAny, {
|
|
27822
|
+
street1?: string | undefined;
|
|
27823
|
+
street2?: string | undefined;
|
|
27824
|
+
city?: string | undefined;
|
|
27825
|
+
state?: string | undefined;
|
|
27826
|
+
zip?: string | undefined;
|
|
27827
|
+
country?: string | undefined;
|
|
27828
|
+
formatted?: string | undefined;
|
|
27829
|
+
}, {
|
|
27830
|
+
street1?: string | undefined;
|
|
27831
|
+
street2?: string | undefined;
|
|
27832
|
+
city?: string | undefined;
|
|
27833
|
+
state?: string | undefined;
|
|
27834
|
+
zip?: string | undefined;
|
|
27835
|
+
country?: string | undefined;
|
|
27836
|
+
formatted?: string | undefined;
|
|
27837
|
+
}>>;
|
|
27838
|
+
confidence: z.ZodDefault<z.ZodEnum<["low", "medium", "high"]>>;
|
|
27839
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
27840
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
27841
|
+
}, "strip", z.ZodTypeAny, {
|
|
27842
|
+
value: string;
|
|
27843
|
+
sourceSpanIds: string[];
|
|
27844
|
+
confidence: "low" | "medium" | "high";
|
|
27845
|
+
sourceNodeIds: string[];
|
|
27846
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "expirationDate" | "insurer" | "broker" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured";
|
|
27847
|
+
valueKind: "string" | "number" | "date" | "unknown" | "address" | "money" | "list";
|
|
27848
|
+
address?: {
|
|
27849
|
+
street1?: string | undefined;
|
|
27850
|
+
street2?: string | undefined;
|
|
27851
|
+
city?: string | undefined;
|
|
27852
|
+
state?: string | undefined;
|
|
27853
|
+
zip?: string | undefined;
|
|
27854
|
+
country?: string | undefined;
|
|
27855
|
+
formatted?: string | undefined;
|
|
27856
|
+
} | undefined;
|
|
27857
|
+
label?: string | undefined;
|
|
27858
|
+
normalizedValue?: string | undefined;
|
|
27859
|
+
}, {
|
|
27860
|
+
value: string;
|
|
27861
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "expirationDate" | "insurer" | "broker" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured";
|
|
27862
|
+
sourceSpanIds?: string[] | undefined;
|
|
27863
|
+
address?: {
|
|
27864
|
+
street1?: string | undefined;
|
|
27865
|
+
street2?: string | undefined;
|
|
27866
|
+
city?: string | undefined;
|
|
27867
|
+
state?: string | undefined;
|
|
27868
|
+
zip?: string | undefined;
|
|
27869
|
+
country?: string | undefined;
|
|
27870
|
+
formatted?: string | undefined;
|
|
27871
|
+
} | undefined;
|
|
27872
|
+
label?: string | undefined;
|
|
27873
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
27874
|
+
normalizedValue?: string | undefined;
|
|
27875
|
+
sourceNodeIds?: string[] | undefined;
|
|
27876
|
+
valueKind?: "string" | "number" | "date" | "unknown" | "address" | "money" | "list" | undefined;
|
|
27877
|
+
}>, "many">>;
|
|
27706
27878
|
coverages: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
27707
27879
|
name: z.ZodString;
|
|
27880
|
+
lineOfBusiness: z.ZodOptional<z.ZodEnum<["AAPPL", "AGLIA", "AGPP", "AGPR", "AIRC", "AIRPFB", "APKG", "APKGE", "APROD", "ARVP", "AUTO", "AUTOB", "AUTOP", "AVPKG", "BANDM", "BLANK", "BMISC", "BOAT", "BOP", "BOPGL", "BOPPR", "CAVN", "CEQFL", "CFIRE", "CFRM", "CGL", "COMAR", "COMR", "CONTR", "CPKGE", "CPMP", "CRIME", "DFIRE", "DISAB", "DO", "EDP", "EL", "EO", "EPLI", "EQ", "EQPFL", "EXLIA", "FIDTY", "FIDUC", "FINEA", "FLOOD", "GARAG", "GL", "GLASS", "HANG", "HBB", "HOME", "INBR", "INMAR", "INMRC", "INMRP", "JUDCL", "KIDRA", "LL", "MHOME", "MMAL", "Motorcycle", "MTRTK", "OLIB", "PHYS", "PKG", "PL", "PLMSC", "PPKGE", "PROP", "PROPC", "PUBOF", "RECV", "SCHPR", "SIGNS", "SMP", "SURE", "TRANS", "TRUCK", "UMBRC", "UMBRL", "UMBRP", "UN", "WCMA", "WIND", "WORK", "WORKP", "WORKV"]>>;
|
|
27708
27881
|
coverageCode: z.ZodOptional<z.ZodString>;
|
|
27709
27882
|
limit: z.ZodOptional<z.ZodString>;
|
|
27710
27883
|
deductible: z.ZodOptional<z.ZodString>;
|
|
@@ -27760,6 +27933,7 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
27760
27933
|
sectionRef?: string | undefined;
|
|
27761
27934
|
coverageCode?: string | undefined;
|
|
27762
27935
|
premium?: string | undefined;
|
|
27936
|
+
lineOfBusiness?: "AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV" | undefined;
|
|
27763
27937
|
endorsementNumber?: string | undefined;
|
|
27764
27938
|
}, {
|
|
27765
27939
|
name: string;
|
|
@@ -27781,6 +27955,7 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
27781
27955
|
sourceNodeIds?: string[] | undefined;
|
|
27782
27956
|
}[] | undefined;
|
|
27783
27957
|
sourceNodeIds?: string[] | undefined;
|
|
27958
|
+
lineOfBusiness?: "AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV" | undefined;
|
|
27784
27959
|
endorsementNumber?: string | undefined;
|
|
27785
27960
|
}>, "many">>;
|
|
27786
27961
|
parties: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -27843,11 +28018,31 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
27843
28018
|
sectionRef?: string | undefined;
|
|
27844
28019
|
coverageCode?: string | undefined;
|
|
27845
28020
|
premium?: string | undefined;
|
|
28021
|
+
lineOfBusiness?: "AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV" | undefined;
|
|
27846
28022
|
endorsementNumber?: string | undefined;
|
|
27847
28023
|
}[];
|
|
27848
28024
|
linesOfBusiness: ("AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV")[];
|
|
27849
28025
|
sourceNodeIds: string[];
|
|
27850
28026
|
documentType: "policy" | "quote";
|
|
28027
|
+
declarationFacts: {
|
|
28028
|
+
value: string;
|
|
28029
|
+
sourceSpanIds: string[];
|
|
28030
|
+
confidence: "low" | "medium" | "high";
|
|
28031
|
+
sourceNodeIds: string[];
|
|
28032
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "expirationDate" | "insurer" | "broker" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured";
|
|
28033
|
+
valueKind: "string" | "number" | "date" | "unknown" | "address" | "money" | "list";
|
|
28034
|
+
address?: {
|
|
28035
|
+
street1?: string | undefined;
|
|
28036
|
+
street2?: string | undefined;
|
|
28037
|
+
city?: string | undefined;
|
|
28038
|
+
state?: string | undefined;
|
|
28039
|
+
zip?: string | undefined;
|
|
28040
|
+
country?: string | undefined;
|
|
28041
|
+
formatted?: string | undefined;
|
|
28042
|
+
} | undefined;
|
|
28043
|
+
label?: string | undefined;
|
|
28044
|
+
normalizedValue?: string | undefined;
|
|
28045
|
+
}[];
|
|
27851
28046
|
parties: {
|
|
27852
28047
|
sourceSpanIds: string[];
|
|
27853
28048
|
name: string;
|
|
@@ -27961,6 +28156,7 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
27961
28156
|
sourceNodeIds?: string[] | undefined;
|
|
27962
28157
|
}[] | undefined;
|
|
27963
28158
|
sourceNodeIds?: string[] | undefined;
|
|
28159
|
+
lineOfBusiness?: "AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV" | undefined;
|
|
27964
28160
|
endorsementNumber?: string | undefined;
|
|
27965
28161
|
}[] | undefined;
|
|
27966
28162
|
policyNumber?: {
|
|
@@ -27993,7 +28189,6 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
27993
28189
|
sourceNodeIds?: string[] | undefined;
|
|
27994
28190
|
} | undefined;
|
|
27995
28191
|
sourceNodeIds?: string[] | undefined;
|
|
27996
|
-
documentType?: "policy" | "quote" | undefined;
|
|
27997
28192
|
namedInsured?: {
|
|
27998
28193
|
value: string;
|
|
27999
28194
|
sourceSpanIds?: string[] | undefined;
|
|
@@ -28001,6 +28196,26 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28001
28196
|
normalizedValue?: string | undefined;
|
|
28002
28197
|
sourceNodeIds?: string[] | undefined;
|
|
28003
28198
|
} | undefined;
|
|
28199
|
+
documentType?: "policy" | "quote" | undefined;
|
|
28200
|
+
declarationFacts?: {
|
|
28201
|
+
value: string;
|
|
28202
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "expirationDate" | "insurer" | "broker" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured";
|
|
28203
|
+
sourceSpanIds?: string[] | undefined;
|
|
28204
|
+
address?: {
|
|
28205
|
+
street1?: string | undefined;
|
|
28206
|
+
street2?: string | undefined;
|
|
28207
|
+
city?: string | undefined;
|
|
28208
|
+
state?: string | undefined;
|
|
28209
|
+
zip?: string | undefined;
|
|
28210
|
+
country?: string | undefined;
|
|
28211
|
+
formatted?: string | undefined;
|
|
28212
|
+
} | undefined;
|
|
28213
|
+
label?: string | undefined;
|
|
28214
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
28215
|
+
normalizedValue?: string | undefined;
|
|
28216
|
+
sourceNodeIds?: string[] | undefined;
|
|
28217
|
+
valueKind?: "string" | "number" | "date" | "unknown" | "address" | "money" | "list" | undefined;
|
|
28218
|
+
}[] | undefined;
|
|
28004
28219
|
parties?: {
|
|
28005
28220
|
name: string;
|
|
28006
28221
|
role: string;
|
|
@@ -28037,11 +28252,31 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28037
28252
|
sectionRef?: string | undefined;
|
|
28038
28253
|
coverageCode?: string | undefined;
|
|
28039
28254
|
premium?: string | undefined;
|
|
28255
|
+
lineOfBusiness?: "AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV" | undefined;
|
|
28040
28256
|
endorsementNumber?: string | undefined;
|
|
28041
28257
|
}[];
|
|
28042
28258
|
linesOfBusiness: ("AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV")[];
|
|
28043
28259
|
sourceNodeIds: string[];
|
|
28044
28260
|
documentType: "policy" | "quote";
|
|
28261
|
+
declarationFacts: {
|
|
28262
|
+
value: string;
|
|
28263
|
+
sourceSpanIds: string[];
|
|
28264
|
+
confidence: "low" | "medium" | "high";
|
|
28265
|
+
sourceNodeIds: string[];
|
|
28266
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "expirationDate" | "insurer" | "broker" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured";
|
|
28267
|
+
valueKind: "string" | "number" | "date" | "unknown" | "address" | "money" | "list";
|
|
28268
|
+
address?: {
|
|
28269
|
+
street1?: string | undefined;
|
|
28270
|
+
street2?: string | undefined;
|
|
28271
|
+
city?: string | undefined;
|
|
28272
|
+
state?: string | undefined;
|
|
28273
|
+
zip?: string | undefined;
|
|
28274
|
+
country?: string | undefined;
|
|
28275
|
+
formatted?: string | undefined;
|
|
28276
|
+
} | undefined;
|
|
28277
|
+
label?: string | undefined;
|
|
28278
|
+
normalizedValue?: string | undefined;
|
|
28279
|
+
}[];
|
|
28045
28280
|
parties: {
|
|
28046
28281
|
sourceSpanIds: string[];
|
|
28047
28282
|
name: string;
|
|
@@ -30724,4 +30959,4 @@ declare function flattenQuestionGraph(graph: ApplicationQuestionGraph): Applicat
|
|
|
30724
30959
|
declare function getActiveApplicationFields(state: Pick<ApplicationState, "fields" | "questionGraph">): ApplicationField[];
|
|
30725
30960
|
declare function getNextApplicationQuestions(state: Pick<ApplicationState, "fields" | "questionGraph" | "batches" | "currentBatchIndex">, limit?: number): ApplicationField[];
|
|
30726
30961
|
|
|
30727
|
-
export { type ApplicationQuestionCondition as $, type AgentContext as A, type BaseQualityIssue as B, ApplicationEmailReviewSchema as C, type DocumentSourceNode as D, type ApplicationField as E, ApplicationFieldSchema as F, type GenerateObject as G, type ApplicationListFilters as H, type InsuranceDocument as I, type ApplicationNextQuestions as J, type ApplicationPacket as K, type LogFn as L, type ModelTaskKind as M, type ApplicationPacketAnswer as N, type OperationalCoverageLine as O, type PdfInput as P, type QualityGateStatus as Q, ApplicationPacketAnswerSchema as R, type SourceSpanLocation as S, type TokenUsage as T, type UnifiedQualityReport as U, ApplicationPacketSchema as V, type ApplicationPipelineConfig as W, ApplicationQualityArtifactSchema as X, ApplicationQualityIssueSchema as Y, ApplicationQualityReportSchema as Z, ApplicationQualityRoundSchema as _, type ModelBudgetResolution as a,
|
|
30962
|
+
export { type ApplicationQuestionCondition as $, type AgentContext as A, type BaseQualityIssue as B, ApplicationEmailReviewSchema as C, type DocumentSourceNode as D, type ApplicationField as E, ApplicationFieldSchema as F, type GenerateObject as G, type ApplicationListFilters as H, type InsuranceDocument as I, type ApplicationNextQuestions as J, type ApplicationPacket as K, type LogFn as L, type ModelTaskKind as M, type ApplicationPacketAnswer as N, type OperationalCoverageLine as O, type PdfInput as P, type QualityGateStatus as Q, ApplicationPacketAnswerSchema as R, type SourceSpanLocation as S, type TokenUsage as T, type UnifiedQualityReport as U, ApplicationPacketSchema as V, type ApplicationPipelineConfig as W, ApplicationQualityArtifactSchema as X, ApplicationQualityIssueSchema as Y, ApplicationQualityReportSchema as Z, ApplicationQualityRoundSchema as _, type ModelBudgetResolution as a, type OperationalAddress as a$, ApplicationQuestionConditionSchema as a0, type ApplicationQuestionGraph as a1, ApplicationQuestionGraphSchema as a2, type ApplicationQuestionNode as a3, ApplicationQuestionNodeSchema as a4, type ApplicationRepeat as a5, ApplicationRepeatSchema as a6, type ApplicationState as a7, ApplicationStateSchema as a8, type ApplicationStore as a9, type DocumentFilters as aA, type DocumentMetadata as aB, DocumentMetadataSchema as aC, type DocumentNode as aD, DocumentNodeSchema as aE, type DocumentPageMapEntry as aF, DocumentPageMapEntrySchema as aG, type DocumentSourceNodeKind as aH, DocumentSourceNodeKindSchema as aI, DocumentSourceNodeSchema as aJ, type DocumentTableOfContentsEntry as aK, DocumentTableOfContentsEntrySchema as aL, type EmbedText as aM, type FieldExtractionResult as aN, FieldExtractionResultSchema as aO, type FieldType as aP, FieldTypeSchema as aQ, type FlatPdfPlacement as aR, FlatPdfPlacementSchema as aS, InsuranceDocumentSchema as aT, type LookupFill as aU, type LookupFillResult as aV, LookupFillResultSchema as aW, LookupFillSchema as aX, type LookupRequest as aY, LookupRequestSchema as aZ, type ModelCallReport as a_, type ApplicationTemplate as aa, type ApplicationTemplateListFilters as ab, ApplicationTemplateSchema as ac, type ApplicationTemplateStore as ad, type AutoFillMatch as ae, AutoFillMatchSchema as af, type AutoFillResult as ag, AutoFillResultSchema as ah, type AuxiliaryFact as ai, AuxiliaryFactSchema as aj, type BackfillProvider as ak, type BuildApplicationPacketInput as al, type BuildApplicationPacketResult as am, type ChunkFilter as an, type CommunicationIntent as ao, CommunicationIntentSchema as ap, type ContextProposalResult as aq, type ConversationTurn as ar, type ConvertPdfToImagesFn as as, type CoveredReason as at, CoveredReasonSchema as au, type CreateApplicationRunInput as av, type Definition as aw, DefinitionSchema as ax, type DocumentAgentGuidance as ay, DocumentAgentGuidanceSchema as az, type ModelCallTrace as b, planNextApplicationQuestions as b$, OperationalAddressSchema as b0, OperationalCoverageLineSchema as b1, type OperationalCoverageTerm as b2, OperationalCoverageTermSchema as b3, type OperationalDeclarationFact as b4, OperationalDeclarationFactSchema as b5, type OperationalEndorsementSupport as b6, OperationalEndorsementSupportSchema as b7, type OperationalParty as b8, OperationalPartySchema as b9, SourceChunkSchema as bA, SourceKindSchema as bB, SourceSpanBBoxSchema as bC, type SourceSpanKind as bD, SourceSpanKindSchema as bE, SourceSpanLocationSchema as bF, type SourceSpanRef as bG, SourceSpanRefSchema as bH, SourceSpanSchema as bI, SourceSpanTableLocationSchema as bJ, SourceSpanUnitSchema as bK, type Subjectivity as bL, SubjectivitySchema as bM, type Subsection as bN, SubsectionSchema as bO, type UnderwritingCondition as bP, UnderwritingConditionSchema as bQ, applyApplicationAnswers as bR, buildApplicationPacket as bS, buildQuestionGraphFromFields as bT, createApplicationPipeline as bU, createApplicationRun as bV, extractQuestionGraphFromFields as bW, flattenQuestionGraph as bX, getActiveApplicationFields as bY, getNextApplicationQuestions as bZ, normalizeApplicationQuestionGraph as b_, PLATFORM_CONFIGS as ba, type ParsedAnswer as bb, ParsedAnswerSchema as bc, type PlatformConfig as bd, PlatformSchema as be, type PolicyDocument as bf, PolicyDocumentSchema as bg, PolicyOperationalProfileSchema as bh, type PremiumLine as bi, PremiumLineSchema as bj, type PriorAnswer as bk, type ProcessApplicationInput as bl, type ProcessApplicationResult as bm, type ProcessReplyInput as bn, type ProcessReplyResult as bo, type QuestionBatchResult as bp, QuestionBatchResultSchema as bq, type QuoteDocument as br, QuoteDocumentSchema as bs, type ReplyIntent as bt, ReplyIntentSchema as bu, type ResolveModelBudgetParams as bv, type Section as bw, SectionSchema as bx, type SourceBackedValue as by, SourceBackedValueSchema as bz, type SourceSpan as c, proposeContextWrites as c0, resolveModelBudget as c1, validateApplicationPacket as c2, type SourceKind as d, type SourceSpanUnit as e, type SourceSpanTableLocation as f, type SourceChunk as g, type SourceSpanBBox as h, type DocumentChunk as i, type PolicyOperationalProfile as j, type PerformanceReport as k, type QualityGateMode as l, type ModelCapabilities as m, type ModelBudgetConstraint as n, type GenerateText as o, type DocumentStore as p, type MemoryStore as q, type Platform as r, type AcroFormMapping as s, AcroFormMappingSchema as t, type AnswerParsingResult as u, AnswerParsingResultSchema as v, type ApplicationClassifyResult as w, ApplicationClassifyResultSchema as x, type ApplicationContextProposal as y, ApplicationContextProposalSchema as z };
|