@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
|
@@ -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;
|
|
@@ -27703,6 +27801,77 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
27703
27801
|
normalizedValue?: string | undefined;
|
|
27704
27802
|
sourceNodeIds?: string[] | undefined;
|
|
27705
27803
|
}>>;
|
|
27804
|
+
declarationFacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
27805
|
+
field: z.ZodEnum<["namedInsured", "mailingAddress", "dba", "entityType", "taxId", "additionalNamedInsured", "policyNumber", "insurer", "broker", "effectiveDate", "expirationDate", "premium", "other"]>;
|
|
27806
|
+
label: z.ZodOptional<z.ZodString>;
|
|
27807
|
+
value: z.ZodString;
|
|
27808
|
+
normalizedValue: z.ZodOptional<z.ZodString>;
|
|
27809
|
+
valueKind: z.ZodDefault<z.ZodEnum<["string", "number", "date", "money", "address", "list", "unknown"]>>;
|
|
27810
|
+
address: z.ZodOptional<z.ZodObject<{
|
|
27811
|
+
street1: z.ZodOptional<z.ZodString>;
|
|
27812
|
+
street2: z.ZodOptional<z.ZodString>;
|
|
27813
|
+
city: z.ZodOptional<z.ZodString>;
|
|
27814
|
+
state: z.ZodOptional<z.ZodString>;
|
|
27815
|
+
zip: z.ZodOptional<z.ZodString>;
|
|
27816
|
+
country: z.ZodOptional<z.ZodString>;
|
|
27817
|
+
formatted: z.ZodOptional<z.ZodString>;
|
|
27818
|
+
}, "strip", z.ZodTypeAny, {
|
|
27819
|
+
street1?: string | undefined;
|
|
27820
|
+
street2?: string | undefined;
|
|
27821
|
+
city?: string | undefined;
|
|
27822
|
+
state?: string | undefined;
|
|
27823
|
+
zip?: string | undefined;
|
|
27824
|
+
country?: string | undefined;
|
|
27825
|
+
formatted?: string | undefined;
|
|
27826
|
+
}, {
|
|
27827
|
+
street1?: string | undefined;
|
|
27828
|
+
street2?: string | undefined;
|
|
27829
|
+
city?: string | undefined;
|
|
27830
|
+
state?: string | undefined;
|
|
27831
|
+
zip?: string | undefined;
|
|
27832
|
+
country?: string | undefined;
|
|
27833
|
+
formatted?: string | undefined;
|
|
27834
|
+
}>>;
|
|
27835
|
+
confidence: z.ZodDefault<z.ZodEnum<["low", "medium", "high"]>>;
|
|
27836
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
27837
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
27838
|
+
}, "strip", z.ZodTypeAny, {
|
|
27839
|
+
value: string;
|
|
27840
|
+
sourceSpanIds: string[];
|
|
27841
|
+
confidence: "low" | "medium" | "high";
|
|
27842
|
+
sourceNodeIds: string[];
|
|
27843
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "expirationDate" | "insurer" | "broker" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured";
|
|
27844
|
+
valueKind: "string" | "number" | "date" | "unknown" | "address" | "money" | "list";
|
|
27845
|
+
address?: {
|
|
27846
|
+
street1?: string | undefined;
|
|
27847
|
+
street2?: string | undefined;
|
|
27848
|
+
city?: string | undefined;
|
|
27849
|
+
state?: string | undefined;
|
|
27850
|
+
zip?: string | undefined;
|
|
27851
|
+
country?: string | undefined;
|
|
27852
|
+
formatted?: string | undefined;
|
|
27853
|
+
} | undefined;
|
|
27854
|
+
label?: string | undefined;
|
|
27855
|
+
normalizedValue?: string | undefined;
|
|
27856
|
+
}, {
|
|
27857
|
+
value: string;
|
|
27858
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "expirationDate" | "insurer" | "broker" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured";
|
|
27859
|
+
sourceSpanIds?: string[] | undefined;
|
|
27860
|
+
address?: {
|
|
27861
|
+
street1?: string | undefined;
|
|
27862
|
+
street2?: string | undefined;
|
|
27863
|
+
city?: string | undefined;
|
|
27864
|
+
state?: string | undefined;
|
|
27865
|
+
zip?: string | undefined;
|
|
27866
|
+
country?: string | undefined;
|
|
27867
|
+
formatted?: string | undefined;
|
|
27868
|
+
} | undefined;
|
|
27869
|
+
label?: string | undefined;
|
|
27870
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
27871
|
+
normalizedValue?: string | undefined;
|
|
27872
|
+
sourceNodeIds?: string[] | undefined;
|
|
27873
|
+
valueKind?: "string" | "number" | "date" | "unknown" | "address" | "money" | "list" | undefined;
|
|
27874
|
+
}>, "many">>;
|
|
27706
27875
|
coverages: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
27707
27876
|
name: z.ZodString;
|
|
27708
27877
|
coverageCode: z.ZodOptional<z.ZodString>;
|
|
@@ -27848,6 +28017,25 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
27848
28017
|
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
28018
|
sourceNodeIds: string[];
|
|
27850
28019
|
documentType: "policy" | "quote";
|
|
28020
|
+
declarationFacts: {
|
|
28021
|
+
value: string;
|
|
28022
|
+
sourceSpanIds: string[];
|
|
28023
|
+
confidence: "low" | "medium" | "high";
|
|
28024
|
+
sourceNodeIds: string[];
|
|
28025
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "expirationDate" | "insurer" | "broker" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured";
|
|
28026
|
+
valueKind: "string" | "number" | "date" | "unknown" | "address" | "money" | "list";
|
|
28027
|
+
address?: {
|
|
28028
|
+
street1?: string | undefined;
|
|
28029
|
+
street2?: string | undefined;
|
|
28030
|
+
city?: string | undefined;
|
|
28031
|
+
state?: string | undefined;
|
|
28032
|
+
zip?: string | undefined;
|
|
28033
|
+
country?: string | undefined;
|
|
28034
|
+
formatted?: string | undefined;
|
|
28035
|
+
} | undefined;
|
|
28036
|
+
label?: string | undefined;
|
|
28037
|
+
normalizedValue?: string | undefined;
|
|
28038
|
+
}[];
|
|
27851
28039
|
parties: {
|
|
27852
28040
|
sourceSpanIds: string[];
|
|
27853
28041
|
name: string;
|
|
@@ -27993,7 +28181,6 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
27993
28181
|
sourceNodeIds?: string[] | undefined;
|
|
27994
28182
|
} | undefined;
|
|
27995
28183
|
sourceNodeIds?: string[] | undefined;
|
|
27996
|
-
documentType?: "policy" | "quote" | undefined;
|
|
27997
28184
|
namedInsured?: {
|
|
27998
28185
|
value: string;
|
|
27999
28186
|
sourceSpanIds?: string[] | undefined;
|
|
@@ -28001,6 +28188,26 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28001
28188
|
normalizedValue?: string | undefined;
|
|
28002
28189
|
sourceNodeIds?: string[] | undefined;
|
|
28003
28190
|
} | undefined;
|
|
28191
|
+
documentType?: "policy" | "quote" | undefined;
|
|
28192
|
+
declarationFacts?: {
|
|
28193
|
+
value: string;
|
|
28194
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "expirationDate" | "insurer" | "broker" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured";
|
|
28195
|
+
sourceSpanIds?: string[] | undefined;
|
|
28196
|
+
address?: {
|
|
28197
|
+
street1?: string | undefined;
|
|
28198
|
+
street2?: string | undefined;
|
|
28199
|
+
city?: string | undefined;
|
|
28200
|
+
state?: string | undefined;
|
|
28201
|
+
zip?: string | undefined;
|
|
28202
|
+
country?: string | undefined;
|
|
28203
|
+
formatted?: string | undefined;
|
|
28204
|
+
} | undefined;
|
|
28205
|
+
label?: string | undefined;
|
|
28206
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
28207
|
+
normalizedValue?: string | undefined;
|
|
28208
|
+
sourceNodeIds?: string[] | undefined;
|
|
28209
|
+
valueKind?: "string" | "number" | "date" | "unknown" | "address" | "money" | "list" | undefined;
|
|
28210
|
+
}[] | undefined;
|
|
28004
28211
|
parties?: {
|
|
28005
28212
|
name: string;
|
|
28006
28213
|
role: string;
|
|
@@ -28042,6 +28249,25 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28042
28249
|
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
28250
|
sourceNodeIds: string[];
|
|
28044
28251
|
documentType: "policy" | "quote";
|
|
28252
|
+
declarationFacts: {
|
|
28253
|
+
value: string;
|
|
28254
|
+
sourceSpanIds: string[];
|
|
28255
|
+
confidence: "low" | "medium" | "high";
|
|
28256
|
+
sourceNodeIds: string[];
|
|
28257
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "expirationDate" | "insurer" | "broker" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured";
|
|
28258
|
+
valueKind: "string" | "number" | "date" | "unknown" | "address" | "money" | "list";
|
|
28259
|
+
address?: {
|
|
28260
|
+
street1?: string | undefined;
|
|
28261
|
+
street2?: string | undefined;
|
|
28262
|
+
city?: string | undefined;
|
|
28263
|
+
state?: string | undefined;
|
|
28264
|
+
zip?: string | undefined;
|
|
28265
|
+
country?: string | undefined;
|
|
28266
|
+
formatted?: string | undefined;
|
|
28267
|
+
} | undefined;
|
|
28268
|
+
label?: string | undefined;
|
|
28269
|
+
normalizedValue?: string | undefined;
|
|
28270
|
+
}[];
|
|
28045
28271
|
parties: {
|
|
28046
28272
|
sourceSpanIds: string[];
|
|
28047
28273
|
name: string;
|
|
@@ -30724,4 +30950,4 @@ declare function flattenQuestionGraph(graph: ApplicationQuestionGraph): Applicat
|
|
|
30724
30950
|
declare function getActiveApplicationFields(state: Pick<ApplicationState, "fields" | "questionGraph">): ApplicationField[];
|
|
30725
30951
|
declare function getNextApplicationQuestions(state: Pick<ApplicationState, "fields" | "questionGraph" | "batches" | "currentBatchIndex">, limit?: number): ApplicationField[];
|
|
30726
30952
|
|
|
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,
|
|
30953
|
+
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 };
|
|
@@ -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;
|
|
@@ -27703,6 +27801,77 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
27703
27801
|
normalizedValue?: string | undefined;
|
|
27704
27802
|
sourceNodeIds?: string[] | undefined;
|
|
27705
27803
|
}>>;
|
|
27804
|
+
declarationFacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
27805
|
+
field: z.ZodEnum<["namedInsured", "mailingAddress", "dba", "entityType", "taxId", "additionalNamedInsured", "policyNumber", "insurer", "broker", "effectiveDate", "expirationDate", "premium", "other"]>;
|
|
27806
|
+
label: z.ZodOptional<z.ZodString>;
|
|
27807
|
+
value: z.ZodString;
|
|
27808
|
+
normalizedValue: z.ZodOptional<z.ZodString>;
|
|
27809
|
+
valueKind: z.ZodDefault<z.ZodEnum<["string", "number", "date", "money", "address", "list", "unknown"]>>;
|
|
27810
|
+
address: z.ZodOptional<z.ZodObject<{
|
|
27811
|
+
street1: z.ZodOptional<z.ZodString>;
|
|
27812
|
+
street2: z.ZodOptional<z.ZodString>;
|
|
27813
|
+
city: z.ZodOptional<z.ZodString>;
|
|
27814
|
+
state: z.ZodOptional<z.ZodString>;
|
|
27815
|
+
zip: z.ZodOptional<z.ZodString>;
|
|
27816
|
+
country: z.ZodOptional<z.ZodString>;
|
|
27817
|
+
formatted: z.ZodOptional<z.ZodString>;
|
|
27818
|
+
}, "strip", z.ZodTypeAny, {
|
|
27819
|
+
street1?: string | undefined;
|
|
27820
|
+
street2?: string | undefined;
|
|
27821
|
+
city?: string | undefined;
|
|
27822
|
+
state?: string | undefined;
|
|
27823
|
+
zip?: string | undefined;
|
|
27824
|
+
country?: string | undefined;
|
|
27825
|
+
formatted?: string | undefined;
|
|
27826
|
+
}, {
|
|
27827
|
+
street1?: string | undefined;
|
|
27828
|
+
street2?: string | undefined;
|
|
27829
|
+
city?: string | undefined;
|
|
27830
|
+
state?: string | undefined;
|
|
27831
|
+
zip?: string | undefined;
|
|
27832
|
+
country?: string | undefined;
|
|
27833
|
+
formatted?: string | undefined;
|
|
27834
|
+
}>>;
|
|
27835
|
+
confidence: z.ZodDefault<z.ZodEnum<["low", "medium", "high"]>>;
|
|
27836
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
27837
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
27838
|
+
}, "strip", z.ZodTypeAny, {
|
|
27839
|
+
value: string;
|
|
27840
|
+
sourceSpanIds: string[];
|
|
27841
|
+
confidence: "low" | "medium" | "high";
|
|
27842
|
+
sourceNodeIds: string[];
|
|
27843
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "expirationDate" | "insurer" | "broker" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured";
|
|
27844
|
+
valueKind: "string" | "number" | "date" | "unknown" | "address" | "money" | "list";
|
|
27845
|
+
address?: {
|
|
27846
|
+
street1?: string | undefined;
|
|
27847
|
+
street2?: string | undefined;
|
|
27848
|
+
city?: string | undefined;
|
|
27849
|
+
state?: string | undefined;
|
|
27850
|
+
zip?: string | undefined;
|
|
27851
|
+
country?: string | undefined;
|
|
27852
|
+
formatted?: string | undefined;
|
|
27853
|
+
} | undefined;
|
|
27854
|
+
label?: string | undefined;
|
|
27855
|
+
normalizedValue?: string | undefined;
|
|
27856
|
+
}, {
|
|
27857
|
+
value: string;
|
|
27858
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "expirationDate" | "insurer" | "broker" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured";
|
|
27859
|
+
sourceSpanIds?: string[] | undefined;
|
|
27860
|
+
address?: {
|
|
27861
|
+
street1?: string | undefined;
|
|
27862
|
+
street2?: string | undefined;
|
|
27863
|
+
city?: string | undefined;
|
|
27864
|
+
state?: string | undefined;
|
|
27865
|
+
zip?: string | undefined;
|
|
27866
|
+
country?: string | undefined;
|
|
27867
|
+
formatted?: string | undefined;
|
|
27868
|
+
} | undefined;
|
|
27869
|
+
label?: string | undefined;
|
|
27870
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
27871
|
+
normalizedValue?: string | undefined;
|
|
27872
|
+
sourceNodeIds?: string[] | undefined;
|
|
27873
|
+
valueKind?: "string" | "number" | "date" | "unknown" | "address" | "money" | "list" | undefined;
|
|
27874
|
+
}>, "many">>;
|
|
27706
27875
|
coverages: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
27707
27876
|
name: z.ZodString;
|
|
27708
27877
|
coverageCode: z.ZodOptional<z.ZodString>;
|
|
@@ -27848,6 +28017,25 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
27848
28017
|
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
28018
|
sourceNodeIds: string[];
|
|
27850
28019
|
documentType: "policy" | "quote";
|
|
28020
|
+
declarationFacts: {
|
|
28021
|
+
value: string;
|
|
28022
|
+
sourceSpanIds: string[];
|
|
28023
|
+
confidence: "low" | "medium" | "high";
|
|
28024
|
+
sourceNodeIds: string[];
|
|
28025
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "expirationDate" | "insurer" | "broker" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured";
|
|
28026
|
+
valueKind: "string" | "number" | "date" | "unknown" | "address" | "money" | "list";
|
|
28027
|
+
address?: {
|
|
28028
|
+
street1?: string | undefined;
|
|
28029
|
+
street2?: string | undefined;
|
|
28030
|
+
city?: string | undefined;
|
|
28031
|
+
state?: string | undefined;
|
|
28032
|
+
zip?: string | undefined;
|
|
28033
|
+
country?: string | undefined;
|
|
28034
|
+
formatted?: string | undefined;
|
|
28035
|
+
} | undefined;
|
|
28036
|
+
label?: string | undefined;
|
|
28037
|
+
normalizedValue?: string | undefined;
|
|
28038
|
+
}[];
|
|
27851
28039
|
parties: {
|
|
27852
28040
|
sourceSpanIds: string[];
|
|
27853
28041
|
name: string;
|
|
@@ -27993,7 +28181,6 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
27993
28181
|
sourceNodeIds?: string[] | undefined;
|
|
27994
28182
|
} | undefined;
|
|
27995
28183
|
sourceNodeIds?: string[] | undefined;
|
|
27996
|
-
documentType?: "policy" | "quote" | undefined;
|
|
27997
28184
|
namedInsured?: {
|
|
27998
28185
|
value: string;
|
|
27999
28186
|
sourceSpanIds?: string[] | undefined;
|
|
@@ -28001,6 +28188,26 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28001
28188
|
normalizedValue?: string | undefined;
|
|
28002
28189
|
sourceNodeIds?: string[] | undefined;
|
|
28003
28190
|
} | undefined;
|
|
28191
|
+
documentType?: "policy" | "quote" | undefined;
|
|
28192
|
+
declarationFacts?: {
|
|
28193
|
+
value: string;
|
|
28194
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "expirationDate" | "insurer" | "broker" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured";
|
|
28195
|
+
sourceSpanIds?: string[] | undefined;
|
|
28196
|
+
address?: {
|
|
28197
|
+
street1?: string | undefined;
|
|
28198
|
+
street2?: string | undefined;
|
|
28199
|
+
city?: string | undefined;
|
|
28200
|
+
state?: string | undefined;
|
|
28201
|
+
zip?: string | undefined;
|
|
28202
|
+
country?: string | undefined;
|
|
28203
|
+
formatted?: string | undefined;
|
|
28204
|
+
} | undefined;
|
|
28205
|
+
label?: string | undefined;
|
|
28206
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
28207
|
+
normalizedValue?: string | undefined;
|
|
28208
|
+
sourceNodeIds?: string[] | undefined;
|
|
28209
|
+
valueKind?: "string" | "number" | "date" | "unknown" | "address" | "money" | "list" | undefined;
|
|
28210
|
+
}[] | undefined;
|
|
28004
28211
|
parties?: {
|
|
28005
28212
|
name: string;
|
|
28006
28213
|
role: string;
|
|
@@ -28042,6 +28249,25 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28042
28249
|
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
28250
|
sourceNodeIds: string[];
|
|
28044
28251
|
documentType: "policy" | "quote";
|
|
28252
|
+
declarationFacts: {
|
|
28253
|
+
value: string;
|
|
28254
|
+
sourceSpanIds: string[];
|
|
28255
|
+
confidence: "low" | "medium" | "high";
|
|
28256
|
+
sourceNodeIds: string[];
|
|
28257
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "expirationDate" | "insurer" | "broker" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured";
|
|
28258
|
+
valueKind: "string" | "number" | "date" | "unknown" | "address" | "money" | "list";
|
|
28259
|
+
address?: {
|
|
28260
|
+
street1?: string | undefined;
|
|
28261
|
+
street2?: string | undefined;
|
|
28262
|
+
city?: string | undefined;
|
|
28263
|
+
state?: string | undefined;
|
|
28264
|
+
zip?: string | undefined;
|
|
28265
|
+
country?: string | undefined;
|
|
28266
|
+
formatted?: string | undefined;
|
|
28267
|
+
} | undefined;
|
|
28268
|
+
label?: string | undefined;
|
|
28269
|
+
normalizedValue?: string | undefined;
|
|
28270
|
+
}[];
|
|
28045
28271
|
parties: {
|
|
28046
28272
|
sourceSpanIds: string[];
|
|
28047
28273
|
name: string;
|
|
@@ -30724,4 +30950,4 @@ declare function flattenQuestionGraph(graph: ApplicationQuestionGraph): Applicat
|
|
|
30724
30950
|
declare function getActiveApplicationFields(state: Pick<ApplicationState, "fields" | "questionGraph">): ApplicationField[];
|
|
30725
30951
|
declare function getNextApplicationQuestions(state: Pick<ApplicationState, "fields" | "questionGraph" | "batches" | "currentBatchIndex">, limit?: number): ApplicationField[];
|
|
30726
30952
|
|
|
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,
|
|
30953
|
+
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 };
|