@socotra/ec-react-schemas 2.3.0-next.8 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +282 -22
- package/dist/index.es.js +156 -120
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -3489,6 +3489,144 @@ export declare type QuoteDurationBasis = z.infer<typeof quoteDurationBasisEnumSc
|
|
|
3489
3489
|
|
|
3490
3490
|
export declare const quoteDurationBasisEnumSchema: z.ZodEnum<["none", "years", "months", "monthsE360", "weeks", "days", "hours"]>;
|
|
3491
3491
|
|
|
3492
|
+
export declare type QuotePriceChargeCategory = z.infer<typeof quotePriceChargeCategoryEnum>;
|
|
3493
|
+
|
|
3494
|
+
export declare const quotePriceChargeCategoryEnum: z.ZodEnum<["premium", "tax", "fee", "credit", "cededPremium", "nonFinancial", "surcharge"]>;
|
|
3495
|
+
|
|
3496
|
+
export declare type QuotePriceChargeResponse = z.infer<typeof quotePriceChargeResponseSchema>;
|
|
3497
|
+
|
|
3498
|
+
export declare const quotePriceChargeResponseSchema: z.ZodObject<{
|
|
3499
|
+
locator: z.ZodString;
|
|
3500
|
+
elementLocator: z.ZodString;
|
|
3501
|
+
chargeType: z.ZodString;
|
|
3502
|
+
chargeCategory: z.ZodEnum<["premium", "tax", "fee", "credit", "cededPremium", "nonFinancial", "surcharge"]>;
|
|
3503
|
+
amount: z.ZodNumber;
|
|
3504
|
+
rate: z.ZodNumber;
|
|
3505
|
+
referenceRate: z.ZodNumber;
|
|
3506
|
+
elementStaticLocator: z.ZodString;
|
|
3507
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
3508
|
+
rateDifference: z.ZodOptional<z.ZodNumber>;
|
|
3509
|
+
reversalOfLocator: z.ZodOptional<z.ZodString>;
|
|
3510
|
+
}, "strip", z.ZodTypeAny, {
|
|
3511
|
+
locator: string;
|
|
3512
|
+
elementLocator: string;
|
|
3513
|
+
chargeType: string;
|
|
3514
|
+
chargeCategory: "premium" | "tax" | "fee" | "credit" | "cededPremium" | "nonFinancial" | "surcharge";
|
|
3515
|
+
amount: number;
|
|
3516
|
+
rate: number;
|
|
3517
|
+
referenceRate: number;
|
|
3518
|
+
elementStaticLocator: string;
|
|
3519
|
+
tag?: string | undefined;
|
|
3520
|
+
rateDifference?: number | undefined;
|
|
3521
|
+
reversalOfLocator?: string | undefined;
|
|
3522
|
+
}, {
|
|
3523
|
+
locator: string;
|
|
3524
|
+
elementLocator: string;
|
|
3525
|
+
chargeType: string;
|
|
3526
|
+
chargeCategory: "premium" | "tax" | "fee" | "credit" | "cededPremium" | "nonFinancial" | "surcharge";
|
|
3527
|
+
amount: number;
|
|
3528
|
+
rate: number;
|
|
3529
|
+
referenceRate: number;
|
|
3530
|
+
elementStaticLocator: string;
|
|
3531
|
+
tag?: string | undefined;
|
|
3532
|
+
rateDifference?: number | undefined;
|
|
3533
|
+
reversalOfLocator?: string | undefined;
|
|
3534
|
+
}>;
|
|
3535
|
+
|
|
3536
|
+
export declare type QuotePriceResponse = z.infer<typeof quotePriceResponseSchema>;
|
|
3537
|
+
|
|
3538
|
+
export declare const quotePriceResponseSchema: z.ZodObject<{
|
|
3539
|
+
quoteLocator: z.ZodString;
|
|
3540
|
+
accountLocator: z.ZodString;
|
|
3541
|
+
quoteState: z.ZodEnum<["draft", "validated", "earlyUnderwritten", "priced", "underwritten", "accepted", "issued", "underwrittenBlocked", "declined", "rejected", "refused", "discarded"]>;
|
|
3542
|
+
productName: z.ZodString;
|
|
3543
|
+
startTime: z.ZodString;
|
|
3544
|
+
endTime: z.ZodString;
|
|
3545
|
+
duration: z.ZodNumber;
|
|
3546
|
+
durationBasis: z.ZodEnum<["none", "years", "months", "monthsE360", "weeks", "days", "hours"]>;
|
|
3547
|
+
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3548
|
+
locator: z.ZodString;
|
|
3549
|
+
elementLocator: z.ZodString;
|
|
3550
|
+
chargeType: z.ZodString;
|
|
3551
|
+
chargeCategory: z.ZodEnum<["premium", "tax", "fee", "credit", "cededPremium", "nonFinancial", "surcharge"]>;
|
|
3552
|
+
amount: z.ZodNumber;
|
|
3553
|
+
rate: z.ZodNumber;
|
|
3554
|
+
referenceRate: z.ZodNumber;
|
|
3555
|
+
elementStaticLocator: z.ZodString;
|
|
3556
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
3557
|
+
rateDifference: z.ZodOptional<z.ZodNumber>;
|
|
3558
|
+
reversalOfLocator: z.ZodOptional<z.ZodString>;
|
|
3559
|
+
}, "strip", z.ZodTypeAny, {
|
|
3560
|
+
locator: string;
|
|
3561
|
+
elementLocator: string;
|
|
3562
|
+
chargeType: string;
|
|
3563
|
+
chargeCategory: "premium" | "tax" | "fee" | "credit" | "cededPremium" | "nonFinancial" | "surcharge";
|
|
3564
|
+
amount: number;
|
|
3565
|
+
rate: number;
|
|
3566
|
+
referenceRate: number;
|
|
3567
|
+
elementStaticLocator: string;
|
|
3568
|
+
tag?: string | undefined;
|
|
3569
|
+
rateDifference?: number | undefined;
|
|
3570
|
+
reversalOfLocator?: string | undefined;
|
|
3571
|
+
}, {
|
|
3572
|
+
locator: string;
|
|
3573
|
+
elementLocator: string;
|
|
3574
|
+
chargeType: string;
|
|
3575
|
+
chargeCategory: "premium" | "tax" | "fee" | "credit" | "cededPremium" | "nonFinancial" | "surcharge";
|
|
3576
|
+
amount: number;
|
|
3577
|
+
rate: number;
|
|
3578
|
+
referenceRate: number;
|
|
3579
|
+
elementStaticLocator: string;
|
|
3580
|
+
tag?: string | undefined;
|
|
3581
|
+
rateDifference?: number | undefined;
|
|
3582
|
+
reversalOfLocator?: string | undefined;
|
|
3583
|
+
}>, "many">>;
|
|
3584
|
+
}, "strip", z.ZodTypeAny, {
|
|
3585
|
+
productName: string;
|
|
3586
|
+
startTime: string;
|
|
3587
|
+
endTime: string;
|
|
3588
|
+
durationBasis: "none" | "years" | "months" | "monthsE360" | "weeks" | "days" | "hours";
|
|
3589
|
+
quoteState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded";
|
|
3590
|
+
accountLocator: string;
|
|
3591
|
+
duration: number;
|
|
3592
|
+
quoteLocator: string;
|
|
3593
|
+
items?: {
|
|
3594
|
+
locator: string;
|
|
3595
|
+
elementLocator: string;
|
|
3596
|
+
chargeType: string;
|
|
3597
|
+
chargeCategory: "premium" | "tax" | "fee" | "credit" | "cededPremium" | "nonFinancial" | "surcharge";
|
|
3598
|
+
amount: number;
|
|
3599
|
+
rate: number;
|
|
3600
|
+
referenceRate: number;
|
|
3601
|
+
elementStaticLocator: string;
|
|
3602
|
+
tag?: string | undefined;
|
|
3603
|
+
rateDifference?: number | undefined;
|
|
3604
|
+
reversalOfLocator?: string | undefined;
|
|
3605
|
+
}[] | undefined;
|
|
3606
|
+
}, {
|
|
3607
|
+
productName: string;
|
|
3608
|
+
startTime: string;
|
|
3609
|
+
endTime: string;
|
|
3610
|
+
durationBasis: "none" | "years" | "months" | "monthsE360" | "weeks" | "days" | "hours";
|
|
3611
|
+
quoteState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded";
|
|
3612
|
+
accountLocator: string;
|
|
3613
|
+
duration: number;
|
|
3614
|
+
quoteLocator: string;
|
|
3615
|
+
items?: {
|
|
3616
|
+
locator: string;
|
|
3617
|
+
elementLocator: string;
|
|
3618
|
+
chargeType: string;
|
|
3619
|
+
chargeCategory: "premium" | "tax" | "fee" | "credit" | "cededPremium" | "nonFinancial" | "surcharge";
|
|
3620
|
+
amount: number;
|
|
3621
|
+
rate: number;
|
|
3622
|
+
referenceRate: number;
|
|
3623
|
+
elementStaticLocator: string;
|
|
3624
|
+
tag?: string | undefined;
|
|
3625
|
+
rateDifference?: number | undefined;
|
|
3626
|
+
reversalOfLocator?: string | undefined;
|
|
3627
|
+
}[] | undefined;
|
|
3628
|
+
}>;
|
|
3629
|
+
|
|
3492
3630
|
export declare type QuoteRequest = z.infer<typeof quoteRequestSchema>;
|
|
3493
3631
|
|
|
3494
3632
|
export declare const quoteRequestSchema: z.ZodObject<{
|
|
@@ -3523,6 +3661,7 @@ export declare const quoteRequestSchema: z.ZodObject<{
|
|
|
3523
3661
|
defaultTermDuration: z.ZodOptional<z.ZodString>;
|
|
3524
3662
|
installmentPlan: z.ZodOptional<z.ZodString>;
|
|
3525
3663
|
durationBasis: z.ZodOptional<z.ZodString>;
|
|
3664
|
+
setCoverageTerms: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3526
3665
|
preferences: z.ZodOptional<z.ZodObject<{
|
|
3527
3666
|
billingPreferences: z.ZodOptional<z.ZodObject<{
|
|
3528
3667
|
billingPlanName: z.ZodOptional<z.ZodString>;
|
|
@@ -3615,6 +3754,7 @@ export declare const quoteRequestSchema: z.ZodObject<{
|
|
|
3615
3754
|
}>>;
|
|
3616
3755
|
}, "strip", z.ZodTypeAny, {
|
|
3617
3756
|
defaultTermDuration?: string | undefined;
|
|
3757
|
+
setCoverageTerms?: Record<string, unknown> | undefined;
|
|
3618
3758
|
setData?: Record<string, unknown> | undefined;
|
|
3619
3759
|
productName?: string | undefined;
|
|
3620
3760
|
delinquencyPlanName?: string | undefined;
|
|
@@ -3655,6 +3795,7 @@ export declare const quoteRequestSchema: z.ZodObject<{
|
|
|
3655
3795
|
} | undefined;
|
|
3656
3796
|
}, {
|
|
3657
3797
|
defaultTermDuration?: string | undefined;
|
|
3798
|
+
setCoverageTerms?: Record<string, unknown> | undefined;
|
|
3658
3799
|
setData?: Record<string, unknown> | undefined;
|
|
3659
3800
|
productName?: string | undefined;
|
|
3660
3801
|
delinquencyPlanName?: string | undefined;
|
|
@@ -3794,6 +3935,7 @@ export declare const quoteResponseSchema: z.ZodObject<{
|
|
|
3794
3935
|
autoRenewalPlanName: z.ZodOptional<z.ZodString>;
|
|
3795
3936
|
billingLevel: z.ZodOptional<z.ZodEnum<["account", "inherit", "policy"]>>;
|
|
3796
3937
|
billingTrigger: z.ZodOptional<z.ZodEnum<["accept", "issue"]>>;
|
|
3938
|
+
coverageTerms: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3797
3939
|
}, "strip", z.ZodTypeAny, {
|
|
3798
3940
|
locator: string;
|
|
3799
3941
|
productName: string;
|
|
@@ -3801,6 +3943,7 @@ export declare const quoteResponseSchema: z.ZodObject<{
|
|
|
3801
3943
|
accountLocator: string;
|
|
3802
3944
|
type?: string | undefined;
|
|
3803
3945
|
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
3946
|
+
coverageTerms?: Record<string, string> | undefined;
|
|
3804
3947
|
delinquencyPlanName?: string | undefined;
|
|
3805
3948
|
startTime?: string | undefined;
|
|
3806
3949
|
endTime?: string | undefined;
|
|
@@ -3854,6 +3997,7 @@ export declare const quoteResponseSchema: z.ZodObject<{
|
|
|
3854
3997
|
accountLocator: string;
|
|
3855
3998
|
type?: string | undefined;
|
|
3856
3999
|
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
4000
|
+
coverageTerms?: Record<string, string> | undefined;
|
|
3857
4001
|
delinquencyPlanName?: string | undefined;
|
|
3858
4002
|
startTime?: string | undefined;
|
|
3859
4003
|
endTime?: string | undefined;
|
|
@@ -3906,6 +4050,122 @@ export declare type QuoteState = z.infer<typeof quoteStateEnumSchema>;
|
|
|
3906
4050
|
|
|
3907
4051
|
export declare const quoteStateEnumSchema: z.ZodEnum<["draft", "validated", "earlyUnderwritten", "priced", "underwritten", "accepted", "issued", "underwrittenBlocked", "declined", "rejected", "refused", "discarded"]>;
|
|
3908
4052
|
|
|
4053
|
+
export declare type SegmentResponse = z.infer<typeof segmentResponseSchema>;
|
|
4054
|
+
|
|
4055
|
+
export declare const segmentResponseSchema: z.ZodObject<{
|
|
4056
|
+
locator: z.ZodString;
|
|
4057
|
+
startTime: z.ZodString;
|
|
4058
|
+
endTime: z.ZodString;
|
|
4059
|
+
duration: z.ZodNumber;
|
|
4060
|
+
element: z.ZodType<{
|
|
4061
|
+
locator: string;
|
|
4062
|
+
type: string;
|
|
4063
|
+
staticLocator: string;
|
|
4064
|
+
data?: Record<string, any> | undefined;
|
|
4065
|
+
coverageTerms?: Record<string, string> | undefined;
|
|
4066
|
+
rootLocator?: string | undefined;
|
|
4067
|
+
tenantLocator?: string | undefined;
|
|
4068
|
+
parentLocator?: string | undefined;
|
|
4069
|
+
originalEffectiveTime?: string | undefined;
|
|
4070
|
+
} & {
|
|
4071
|
+
elements?: ({
|
|
4072
|
+
locator: string;
|
|
4073
|
+
type: string;
|
|
4074
|
+
staticLocator: string;
|
|
4075
|
+
data?: Record<string, any> | undefined;
|
|
4076
|
+
coverageTerms?: Record<string, string> | undefined;
|
|
4077
|
+
rootLocator?: string | undefined;
|
|
4078
|
+
tenantLocator?: string | undefined;
|
|
4079
|
+
parentLocator?: string | undefined;
|
|
4080
|
+
originalEffectiveTime?: string | undefined;
|
|
4081
|
+
} & any)[];
|
|
4082
|
+
}, z.ZodTypeDef, {
|
|
4083
|
+
locator: string;
|
|
4084
|
+
type: string;
|
|
4085
|
+
staticLocator: string;
|
|
4086
|
+
data?: Record<string, any> | undefined;
|
|
4087
|
+
coverageTerms?: Record<string, string> | undefined;
|
|
4088
|
+
rootLocator?: string | undefined;
|
|
4089
|
+
tenantLocator?: string | undefined;
|
|
4090
|
+
parentLocator?: string | undefined;
|
|
4091
|
+
originalEffectiveTime?: string | undefined;
|
|
4092
|
+
} & {
|
|
4093
|
+
elements?: ({
|
|
4094
|
+
locator: string;
|
|
4095
|
+
type: string;
|
|
4096
|
+
staticLocator: string;
|
|
4097
|
+
data?: Record<string, any> | undefined;
|
|
4098
|
+
coverageTerms?: Record<string, string> | undefined;
|
|
4099
|
+
rootLocator?: string | undefined;
|
|
4100
|
+
tenantLocator?: string | undefined;
|
|
4101
|
+
parentLocator?: string | undefined;
|
|
4102
|
+
originalEffectiveTime?: string | undefined;
|
|
4103
|
+
} & any)[];
|
|
4104
|
+
}>;
|
|
4105
|
+
segmentType: z.ZodEnum<["coverage", "gap"]>;
|
|
4106
|
+
basedOn: z.ZodOptional<z.ZodString>;
|
|
4107
|
+
}, "strip", z.ZodTypeAny, {
|
|
4108
|
+
locator: string;
|
|
4109
|
+
startTime: string;
|
|
4110
|
+
endTime: string;
|
|
4111
|
+
element: {
|
|
4112
|
+
locator: string;
|
|
4113
|
+
type: string;
|
|
4114
|
+
staticLocator: string;
|
|
4115
|
+
data?: Record<string, any> | undefined;
|
|
4116
|
+
coverageTerms?: Record<string, string> | undefined;
|
|
4117
|
+
rootLocator?: string | undefined;
|
|
4118
|
+
tenantLocator?: string | undefined;
|
|
4119
|
+
parentLocator?: string | undefined;
|
|
4120
|
+
originalEffectiveTime?: string | undefined;
|
|
4121
|
+
} & {
|
|
4122
|
+
elements?: ({
|
|
4123
|
+
locator: string;
|
|
4124
|
+
type: string;
|
|
4125
|
+
staticLocator: string;
|
|
4126
|
+
data?: Record<string, any> | undefined;
|
|
4127
|
+
coverageTerms?: Record<string, string> | undefined;
|
|
4128
|
+
rootLocator?: string | undefined;
|
|
4129
|
+
tenantLocator?: string | undefined;
|
|
4130
|
+
parentLocator?: string | undefined;
|
|
4131
|
+
originalEffectiveTime?: string | undefined;
|
|
4132
|
+
} & any)[];
|
|
4133
|
+
};
|
|
4134
|
+
duration: number;
|
|
4135
|
+
segmentType: "coverage" | "gap";
|
|
4136
|
+
basedOn?: string | undefined;
|
|
4137
|
+
}, {
|
|
4138
|
+
locator: string;
|
|
4139
|
+
startTime: string;
|
|
4140
|
+
endTime: string;
|
|
4141
|
+
element: {
|
|
4142
|
+
locator: string;
|
|
4143
|
+
type: string;
|
|
4144
|
+
staticLocator: string;
|
|
4145
|
+
data?: Record<string, any> | undefined;
|
|
4146
|
+
coverageTerms?: Record<string, string> | undefined;
|
|
4147
|
+
rootLocator?: string | undefined;
|
|
4148
|
+
tenantLocator?: string | undefined;
|
|
4149
|
+
parentLocator?: string | undefined;
|
|
4150
|
+
originalEffectiveTime?: string | undefined;
|
|
4151
|
+
} & {
|
|
4152
|
+
elements?: ({
|
|
4153
|
+
locator: string;
|
|
4154
|
+
type: string;
|
|
4155
|
+
staticLocator: string;
|
|
4156
|
+
data?: Record<string, any> | undefined;
|
|
4157
|
+
coverageTerms?: Record<string, string> | undefined;
|
|
4158
|
+
rootLocator?: string | undefined;
|
|
4159
|
+
tenantLocator?: string | undefined;
|
|
4160
|
+
parentLocator?: string | undefined;
|
|
4161
|
+
originalEffectiveTime?: string | undefined;
|
|
4162
|
+
} & any)[];
|
|
4163
|
+
};
|
|
4164
|
+
duration: number;
|
|
4165
|
+
segmentType: "coverage" | "gap";
|
|
4166
|
+
basedOn?: string | undefined;
|
|
4167
|
+
}>;
|
|
4168
|
+
|
|
3909
4169
|
export declare type SubsegmentSummary = z.infer<typeof subsegmentSummarySchema>;
|
|
3910
4170
|
|
|
3911
4171
|
export declare const subsegmentSummarySchema: z.ZodObject<{
|
|
@@ -3915,7 +4175,7 @@ export declare const subsegmentSummarySchema: z.ZodObject<{
|
|
|
3915
4175
|
duration: z.ZodNumber;
|
|
3916
4176
|
basedOn: z.ZodOptional<z.ZodString>;
|
|
3917
4177
|
type: z.ZodEnum<["coverage", "gap"]>;
|
|
3918
|
-
documentSummary: z.ZodArray<z.ZodObject<{
|
|
4178
|
+
documentSummary: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3919
4179
|
locator: z.ZodString;
|
|
3920
4180
|
staticName: z.ZodOptional<z.ZodString>;
|
|
3921
4181
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -3933,7 +4193,7 @@ export declare const subsegmentSummarySchema: z.ZodObject<{
|
|
|
3933
4193
|
referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
|
|
3934
4194
|
staticName?: string | undefined;
|
|
3935
4195
|
name?: string | undefined;
|
|
3936
|
-
}>, "many"
|
|
4196
|
+
}>, "many">>;
|
|
3937
4197
|
elements: z.ZodArray<z.ZodObject<{
|
|
3938
4198
|
locator: z.ZodString;
|
|
3939
4199
|
staticLocator: z.ZodString;
|
|
@@ -3966,14 +4226,14 @@ export declare const subsegmentSummarySchema: z.ZodObject<{
|
|
|
3966
4226
|
chargeSummaries?: Record<string, number> | undefined;
|
|
3967
4227
|
}[];
|
|
3968
4228
|
duration: number;
|
|
3969
|
-
|
|
4229
|
+
basedOn?: string | undefined;
|
|
4230
|
+
documentSummary?: {
|
|
3970
4231
|
locator: string;
|
|
3971
4232
|
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
3972
4233
|
referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
|
|
3973
4234
|
staticName?: string | undefined;
|
|
3974
4235
|
name?: string | undefined;
|
|
3975
|
-
}[];
|
|
3976
|
-
basedOn?: string | undefined;
|
|
4236
|
+
}[] | undefined;
|
|
3977
4237
|
}, {
|
|
3978
4238
|
locator: string;
|
|
3979
4239
|
type: "coverage" | "gap";
|
|
@@ -3987,14 +4247,14 @@ export declare const subsegmentSummarySchema: z.ZodObject<{
|
|
|
3987
4247
|
chargeSummaries?: Record<string, number> | undefined;
|
|
3988
4248
|
}[];
|
|
3989
4249
|
duration: number;
|
|
3990
|
-
|
|
4250
|
+
basedOn?: string | undefined;
|
|
4251
|
+
documentSummary?: {
|
|
3991
4252
|
locator: string;
|
|
3992
4253
|
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
3993
4254
|
referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
|
|
3994
4255
|
staticName?: string | undefined;
|
|
3995
4256
|
name?: string | undefined;
|
|
3996
|
-
}[];
|
|
3997
|
-
basedOn?: string | undefined;
|
|
4257
|
+
}[] | undefined;
|
|
3998
4258
|
}>;
|
|
3999
4259
|
|
|
4000
4260
|
export declare type TenantBaseConfig = z.infer<typeof tenantBaseConfigSchema>;
|
|
@@ -4055,7 +4315,7 @@ export declare const termSummarySchema: z.ZodObject<{
|
|
|
4055
4315
|
duration: z.ZodNumber;
|
|
4056
4316
|
basedOn: z.ZodOptional<z.ZodString>;
|
|
4057
4317
|
type: z.ZodEnum<["coverage", "gap"]>;
|
|
4058
|
-
documentSummary: z.ZodArray<z.ZodObject<{
|
|
4318
|
+
documentSummary: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4059
4319
|
locator: z.ZodString;
|
|
4060
4320
|
staticName: z.ZodOptional<z.ZodString>;
|
|
4061
4321
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -4073,7 +4333,7 @@ export declare const termSummarySchema: z.ZodObject<{
|
|
|
4073
4333
|
referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
|
|
4074
4334
|
staticName?: string | undefined;
|
|
4075
4335
|
name?: string | undefined;
|
|
4076
|
-
}>, "many"
|
|
4336
|
+
}>, "many">>;
|
|
4077
4337
|
elements: z.ZodArray<z.ZodObject<{
|
|
4078
4338
|
locator: z.ZodString;
|
|
4079
4339
|
staticLocator: z.ZodString;
|
|
@@ -4106,14 +4366,14 @@ export declare const termSummarySchema: z.ZodObject<{
|
|
|
4106
4366
|
chargeSummaries?: Record<string, number> | undefined;
|
|
4107
4367
|
}[];
|
|
4108
4368
|
duration: number;
|
|
4109
|
-
|
|
4369
|
+
basedOn?: string | undefined;
|
|
4370
|
+
documentSummary?: {
|
|
4110
4371
|
locator: string;
|
|
4111
4372
|
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
4112
4373
|
referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
|
|
4113
4374
|
staticName?: string | undefined;
|
|
4114
4375
|
name?: string | undefined;
|
|
4115
|
-
}[];
|
|
4116
|
-
basedOn?: string | undefined;
|
|
4376
|
+
}[] | undefined;
|
|
4117
4377
|
}, {
|
|
4118
4378
|
locator: string;
|
|
4119
4379
|
type: "coverage" | "gap";
|
|
@@ -4127,14 +4387,14 @@ export declare const termSummarySchema: z.ZodObject<{
|
|
|
4127
4387
|
chargeSummaries?: Record<string, number> | undefined;
|
|
4128
4388
|
}[];
|
|
4129
4389
|
duration: number;
|
|
4130
|
-
|
|
4390
|
+
basedOn?: string | undefined;
|
|
4391
|
+
documentSummary?: {
|
|
4131
4392
|
locator: string;
|
|
4132
4393
|
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
4133
4394
|
referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
|
|
4134
4395
|
staticName?: string | undefined;
|
|
4135
4396
|
name?: string | undefined;
|
|
4136
|
-
}[];
|
|
4137
|
-
basedOn?: string | undefined;
|
|
4397
|
+
}[] | undefined;
|
|
4138
4398
|
}>, "many">;
|
|
4139
4399
|
documentSummary: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4140
4400
|
locator: z.ZodString;
|
|
@@ -4177,14 +4437,14 @@ export declare const termSummarySchema: z.ZodObject<{
|
|
|
4177
4437
|
chargeSummaries?: Record<string, number> | undefined;
|
|
4178
4438
|
}[];
|
|
4179
4439
|
duration: number;
|
|
4180
|
-
|
|
4440
|
+
basedOn?: string | undefined;
|
|
4441
|
+
documentSummary?: {
|
|
4181
4442
|
locator: string;
|
|
4182
4443
|
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
4183
4444
|
referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
|
|
4184
4445
|
staticName?: string | undefined;
|
|
4185
4446
|
name?: string | undefined;
|
|
4186
|
-
}[];
|
|
4187
|
-
basedOn?: string | undefined;
|
|
4447
|
+
}[] | undefined;
|
|
4188
4448
|
}[];
|
|
4189
4449
|
documentSummary?: {
|
|
4190
4450
|
locator: string;
|
|
@@ -4215,14 +4475,14 @@ export declare const termSummarySchema: z.ZodObject<{
|
|
|
4215
4475
|
chargeSummaries?: Record<string, number> | undefined;
|
|
4216
4476
|
}[];
|
|
4217
4477
|
duration: number;
|
|
4218
|
-
|
|
4478
|
+
basedOn?: string | undefined;
|
|
4479
|
+
documentSummary?: {
|
|
4219
4480
|
locator: string;
|
|
4220
4481
|
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
4221
4482
|
referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
|
|
4222
4483
|
staticName?: string | undefined;
|
|
4223
4484
|
name?: string | undefined;
|
|
4224
|
-
}[];
|
|
4225
|
-
basedOn?: string | undefined;
|
|
4485
|
+
}[] | undefined;
|
|
4226
4486
|
}[];
|
|
4227
4487
|
documentSummary?: {
|
|
4228
4488
|
locator: string;
|