@socotra/ec-react-schemas 2.3.0 → 2.4.0-next.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 +255 -42
- package/dist/index.es.js +218 -158
- 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
|
@@ -2099,6 +2099,67 @@ export declare type DocumentReference = z.infer<typeof documentReferenceTypeEnum
|
|
|
2099
2099
|
|
|
2100
2100
|
export declare const documentReferenceTypeEnumSchema: z.ZodEnum<["quote", "policy", "invoice", "transaction", "segment", "term"]>;
|
|
2101
2101
|
|
|
2102
|
+
export declare type DocumentResponse = z.infer<typeof documentResponseSchema>;
|
|
2103
|
+
|
|
2104
|
+
export declare const documentResponseSchema: z.ZodObject<{
|
|
2105
|
+
locator: z.ZodString;
|
|
2106
|
+
referenceLocator: z.ZodString;
|
|
2107
|
+
state: z.ZodEnum<["draft", "dataReady", "ready", "dataError", "renderError", "conversionError"]>;
|
|
2108
|
+
createdAt: z.ZodString;
|
|
2109
|
+
referenceType: z.ZodOptional<z.ZodEnum<["quote", "policy", "invoice", "transaction", "segment", "term"]>>;
|
|
2110
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2111
|
+
renderingData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2112
|
+
policyLocator: z.ZodOptional<z.ZodString>;
|
|
2113
|
+
referenceDocumentLocator: z.ZodOptional<z.ZodString>;
|
|
2114
|
+
segmentLocator: z.ZodOptional<z.ZodString>;
|
|
2115
|
+
termLocator: z.ZodOptional<z.ZodString>;
|
|
2116
|
+
transactionLocator: z.ZodOptional<z.ZodString>;
|
|
2117
|
+
staticName: z.ZodOptional<z.ZodString>;
|
|
2118
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2119
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
2120
|
+
documentFormat: z.ZodOptional<z.ZodEnum<["text", "html", "pdf"]>>;
|
|
2121
|
+
processingErrors: z.ZodOptional<z.ZodString>;
|
|
2122
|
+
readyAt: z.ZodOptional<z.ZodString>;
|
|
2123
|
+
}, "strip", z.ZodTypeAny, {
|
|
2124
|
+
locator: string;
|
|
2125
|
+
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
2126
|
+
createdAt: string;
|
|
2127
|
+
referenceLocator: string;
|
|
2128
|
+
policyLocator?: string | undefined;
|
|
2129
|
+
createdBy?: string | undefined;
|
|
2130
|
+
staticName?: string | undefined;
|
|
2131
|
+
name?: string | undefined;
|
|
2132
|
+
referenceType?: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term" | undefined;
|
|
2133
|
+
metadata?: Record<string, any> | undefined;
|
|
2134
|
+
renderingData?: Record<string, any> | undefined;
|
|
2135
|
+
referenceDocumentLocator?: string | undefined;
|
|
2136
|
+
segmentLocator?: string | undefined;
|
|
2137
|
+
termLocator?: string | undefined;
|
|
2138
|
+
transactionLocator?: string | undefined;
|
|
2139
|
+
documentFormat?: "text" | "html" | "pdf" | undefined;
|
|
2140
|
+
processingErrors?: string | undefined;
|
|
2141
|
+
readyAt?: string | undefined;
|
|
2142
|
+
}, {
|
|
2143
|
+
locator: string;
|
|
2144
|
+
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
2145
|
+
createdAt: string;
|
|
2146
|
+
referenceLocator: string;
|
|
2147
|
+
policyLocator?: string | undefined;
|
|
2148
|
+
createdBy?: string | undefined;
|
|
2149
|
+
staticName?: string | undefined;
|
|
2150
|
+
name?: string | undefined;
|
|
2151
|
+
referenceType?: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term" | undefined;
|
|
2152
|
+
metadata?: Record<string, any> | undefined;
|
|
2153
|
+
renderingData?: Record<string, any> | undefined;
|
|
2154
|
+
referenceDocumentLocator?: string | undefined;
|
|
2155
|
+
segmentLocator?: string | undefined;
|
|
2156
|
+
termLocator?: string | undefined;
|
|
2157
|
+
transactionLocator?: string | undefined;
|
|
2158
|
+
documentFormat?: "text" | "html" | "pdf" | undefined;
|
|
2159
|
+
processingErrors?: string | undefined;
|
|
2160
|
+
readyAt?: string | undefined;
|
|
2161
|
+
}>;
|
|
2162
|
+
|
|
2102
2163
|
export declare type DocumentState = z.infer<typeof documentStateEnumSchema>;
|
|
2103
2164
|
|
|
2104
2165
|
export declare const documentStateEnumSchema: z.ZodEnum<["draft", "dataReady", "ready", "dataError", "renderError", "conversionError"]>;
|
|
@@ -2114,13 +2175,13 @@ export declare const documentSummarySchema: z.ZodObject<{
|
|
|
2114
2175
|
}, "strip", z.ZodTypeAny, {
|
|
2115
2176
|
locator: string;
|
|
2116
2177
|
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
2117
|
-
referenceType: "policy" | "
|
|
2178
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
2118
2179
|
staticName?: string | undefined;
|
|
2119
2180
|
name?: string | undefined;
|
|
2120
2181
|
}, {
|
|
2121
2182
|
locator: string;
|
|
2122
2183
|
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
2123
|
-
referenceType: "policy" | "
|
|
2184
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
2124
2185
|
staticName?: string | undefined;
|
|
2125
2186
|
name?: string | undefined;
|
|
2126
2187
|
}>;
|
|
@@ -2834,8 +2895,6 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
|
|
|
2834
2895
|
transactionType: z.ZodString;
|
|
2835
2896
|
}, "strip", z.ZodTypeAny, {
|
|
2836
2897
|
locator: string;
|
|
2837
|
-
issuedTime: string;
|
|
2838
|
-
effectiveTime: string;
|
|
2839
2898
|
segment: {
|
|
2840
2899
|
locator: string;
|
|
2841
2900
|
startTime: string;
|
|
@@ -2867,6 +2926,8 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
|
|
|
2867
2926
|
segmentType: "coverage" | "gap";
|
|
2868
2927
|
basedOn?: string | undefined;
|
|
2869
2928
|
};
|
|
2929
|
+
issuedTime: string;
|
|
2930
|
+
effectiveTime: string;
|
|
2870
2931
|
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
2871
2932
|
transactionType: string;
|
|
2872
2933
|
preferences?: {
|
|
@@ -2890,8 +2951,6 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
|
|
|
2890
2951
|
} | undefined;
|
|
2891
2952
|
}, {
|
|
2892
2953
|
locator: string;
|
|
2893
|
-
issuedTime: string;
|
|
2894
|
-
effectiveTime: string;
|
|
2895
2954
|
segment: {
|
|
2896
2955
|
locator: string;
|
|
2897
2956
|
startTime: string;
|
|
@@ -2923,6 +2982,8 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
|
|
|
2923
2982
|
segmentType: "coverage" | "gap";
|
|
2924
2983
|
basedOn?: string | undefined;
|
|
2925
2984
|
};
|
|
2985
|
+
issuedTime: string;
|
|
2986
|
+
effectiveTime: string;
|
|
2926
2987
|
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
2927
2988
|
transactionType: string;
|
|
2928
2989
|
preferences?: {
|
|
@@ -2949,14 +3010,8 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
|
|
|
2949
3010
|
delinquencyPlanName: z.ZodOptional<z.ZodString>;
|
|
2950
3011
|
}, "strip", z.ZodTypeAny, {
|
|
2951
3012
|
locator: string;
|
|
2952
|
-
productName: string;
|
|
2953
|
-
currency: string;
|
|
2954
|
-
timezone: string;
|
|
2955
|
-
accountLocator: string;
|
|
2956
3013
|
transaction: {
|
|
2957
3014
|
locator: string;
|
|
2958
|
-
issuedTime: string;
|
|
2959
|
-
effectiveTime: string;
|
|
2960
3015
|
segment: {
|
|
2961
3016
|
locator: string;
|
|
2962
3017
|
startTime: string;
|
|
@@ -2988,6 +3043,8 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
|
|
|
2988
3043
|
segmentType: "coverage" | "gap";
|
|
2989
3044
|
basedOn?: string | undefined;
|
|
2990
3045
|
};
|
|
3046
|
+
issuedTime: string;
|
|
3047
|
+
effectiveTime: string;
|
|
2991
3048
|
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
2992
3049
|
transactionType: string;
|
|
2993
3050
|
preferences?: {
|
|
@@ -3010,18 +3067,16 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
|
|
|
3010
3067
|
} | undefined;
|
|
3011
3068
|
} | undefined;
|
|
3012
3069
|
};
|
|
3013
|
-
delinquencyPlanName?: string | undefined;
|
|
3014
|
-
static?: Record<string, any> | undefined;
|
|
3015
|
-
}, {
|
|
3016
|
-
locator: string;
|
|
3017
3070
|
productName: string;
|
|
3018
3071
|
currency: string;
|
|
3019
3072
|
timezone: string;
|
|
3020
3073
|
accountLocator: string;
|
|
3074
|
+
delinquencyPlanName?: string | undefined;
|
|
3075
|
+
static?: Record<string, any> | undefined;
|
|
3076
|
+
}, {
|
|
3077
|
+
locator: string;
|
|
3021
3078
|
transaction: {
|
|
3022
3079
|
locator: string;
|
|
3023
|
-
issuedTime: string;
|
|
3024
|
-
effectiveTime: string;
|
|
3025
3080
|
segment: {
|
|
3026
3081
|
locator: string;
|
|
3027
3082
|
startTime: string;
|
|
@@ -3053,6 +3108,8 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
|
|
|
3053
3108
|
segmentType: "coverage" | "gap";
|
|
3054
3109
|
basedOn?: string | undefined;
|
|
3055
3110
|
};
|
|
3111
|
+
issuedTime: string;
|
|
3112
|
+
effectiveTime: string;
|
|
3056
3113
|
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
3057
3114
|
transactionType: string;
|
|
3058
3115
|
preferences?: {
|
|
@@ -3075,10 +3132,166 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
|
|
|
3075
3132
|
} | undefined;
|
|
3076
3133
|
} | undefined;
|
|
3077
3134
|
};
|
|
3135
|
+
productName: string;
|
|
3136
|
+
currency: string;
|
|
3137
|
+
timezone: string;
|
|
3138
|
+
accountLocator: string;
|
|
3078
3139
|
delinquencyPlanName?: string | undefined;
|
|
3079
3140
|
static?: Record<string, any> | undefined;
|
|
3080
3141
|
}>;
|
|
3081
3142
|
|
|
3143
|
+
export declare type PolicyTermResponse = z.infer<typeof policyTermResponseSchema>;
|
|
3144
|
+
|
|
3145
|
+
export declare const policyTermResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
3146
|
+
locator: z.ZodString;
|
|
3147
|
+
staticLocator: z.ZodString;
|
|
3148
|
+
policyLocator: z.ZodString;
|
|
3149
|
+
startTime: z.ZodString;
|
|
3150
|
+
endTime: z.ZodString;
|
|
3151
|
+
}, {
|
|
3152
|
+
number: z.ZodNumber;
|
|
3153
|
+
autoRenewalLocator: z.ZodOptional<z.ZodString>;
|
|
3154
|
+
previousTermLocator: z.ZodOptional<z.ZodString>;
|
|
3155
|
+
supersedesTermLocator: z.ZodOptional<z.ZodString>;
|
|
3156
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3157
|
+
number: number;
|
|
3158
|
+
locator: string;
|
|
3159
|
+
startTime: string;
|
|
3160
|
+
endTime: string;
|
|
3161
|
+
staticLocator: string;
|
|
3162
|
+
policyLocator: string;
|
|
3163
|
+
autoRenewalLocator?: string | undefined;
|
|
3164
|
+
previousTermLocator?: string | undefined;
|
|
3165
|
+
supersedesTermLocator?: string | undefined;
|
|
3166
|
+
}, {
|
|
3167
|
+
number: number;
|
|
3168
|
+
locator: string;
|
|
3169
|
+
startTime: string;
|
|
3170
|
+
endTime: string;
|
|
3171
|
+
staticLocator: string;
|
|
3172
|
+
policyLocator: string;
|
|
3173
|
+
autoRenewalLocator?: string | undefined;
|
|
3174
|
+
previousTermLocator?: string | undefined;
|
|
3175
|
+
supersedesTermLocator?: string | undefined;
|
|
3176
|
+
}>;
|
|
3177
|
+
|
|
3178
|
+
export declare type PolicyTermSummaryResponse = z.infer<typeof policyTermSummaryResponse>;
|
|
3179
|
+
|
|
3180
|
+
export declare const policyTermSummaryResponse: z.ZodObject<z.objectUtil.extendShape<{
|
|
3181
|
+
locator: z.ZodString;
|
|
3182
|
+
staticLocator: z.ZodString;
|
|
3183
|
+
policyLocator: z.ZodString;
|
|
3184
|
+
startTime: z.ZodString;
|
|
3185
|
+
endTime: z.ZodString;
|
|
3186
|
+
}, {
|
|
3187
|
+
duration: z.ZodNumber;
|
|
3188
|
+
durationBasis: z.ZodEnum<["years", "months", "weeks", "days", "hours"]>;
|
|
3189
|
+
termNumber: z.ZodNumber;
|
|
3190
|
+
subsegments: z.ZodArray<z.ZodObject<{
|
|
3191
|
+
locator: z.ZodString;
|
|
3192
|
+
startTime: z.ZodString;
|
|
3193
|
+
endTime: z.ZodString;
|
|
3194
|
+
duration: z.ZodNumber;
|
|
3195
|
+
basedOn: z.ZodString;
|
|
3196
|
+
type: z.ZodEnum<["coverage", "gap"]>;
|
|
3197
|
+
documentSummary: z.ZodArray<z.ZodObject<{
|
|
3198
|
+
locator: z.ZodString;
|
|
3199
|
+
staticLocator: z.ZodString;
|
|
3200
|
+
name: z.ZodString;
|
|
3201
|
+
state: z.ZodEnum<["draft", "dataReady", "ready", "dataError", "renderError", "conversionError"]>;
|
|
3202
|
+
referenceType: z.ZodEnum<["quote", "policy", "invoice", "transaction", "segment", "term"]>;
|
|
3203
|
+
}, "strip", z.ZodTypeAny, {
|
|
3204
|
+
locator: string;
|
|
3205
|
+
staticLocator: string;
|
|
3206
|
+
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
3207
|
+
name: string;
|
|
3208
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
3209
|
+
}, {
|
|
3210
|
+
locator: string;
|
|
3211
|
+
staticLocator: string;
|
|
3212
|
+
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
3213
|
+
name: string;
|
|
3214
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
3215
|
+
}>, "many">;
|
|
3216
|
+
}, "strip", z.ZodTypeAny, {
|
|
3217
|
+
locator: string;
|
|
3218
|
+
type: "coverage" | "gap";
|
|
3219
|
+
startTime: string;
|
|
3220
|
+
endTime: string;
|
|
3221
|
+
duration: number;
|
|
3222
|
+
basedOn: string;
|
|
3223
|
+
documentSummary: {
|
|
3224
|
+
locator: string;
|
|
3225
|
+
staticLocator: string;
|
|
3226
|
+
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
3227
|
+
name: string;
|
|
3228
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
3229
|
+
}[];
|
|
3230
|
+
}, {
|
|
3231
|
+
locator: string;
|
|
3232
|
+
type: "coverage" | "gap";
|
|
3233
|
+
startTime: string;
|
|
3234
|
+
endTime: string;
|
|
3235
|
+
duration: number;
|
|
3236
|
+
basedOn: string;
|
|
3237
|
+
documentSummary: {
|
|
3238
|
+
locator: string;
|
|
3239
|
+
staticLocator: string;
|
|
3240
|
+
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
3241
|
+
name: string;
|
|
3242
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
3243
|
+
}[];
|
|
3244
|
+
}>, "many">;
|
|
3245
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3246
|
+
locator: string;
|
|
3247
|
+
startTime: string;
|
|
3248
|
+
endTime: string;
|
|
3249
|
+
durationBasis: "years" | "months" | "weeks" | "days" | "hours";
|
|
3250
|
+
staticLocator: string;
|
|
3251
|
+
duration: number;
|
|
3252
|
+
policyLocator: string;
|
|
3253
|
+
termNumber: number;
|
|
3254
|
+
subsegments: {
|
|
3255
|
+
locator: string;
|
|
3256
|
+
type: "coverage" | "gap";
|
|
3257
|
+
startTime: string;
|
|
3258
|
+
endTime: string;
|
|
3259
|
+
duration: number;
|
|
3260
|
+
basedOn: string;
|
|
3261
|
+
documentSummary: {
|
|
3262
|
+
locator: string;
|
|
3263
|
+
staticLocator: string;
|
|
3264
|
+
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
3265
|
+
name: string;
|
|
3266
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
3267
|
+
}[];
|
|
3268
|
+
}[];
|
|
3269
|
+
}, {
|
|
3270
|
+
locator: string;
|
|
3271
|
+
startTime: string;
|
|
3272
|
+
endTime: string;
|
|
3273
|
+
durationBasis: "years" | "months" | "weeks" | "days" | "hours";
|
|
3274
|
+
staticLocator: string;
|
|
3275
|
+
duration: number;
|
|
3276
|
+
policyLocator: string;
|
|
3277
|
+
termNumber: number;
|
|
3278
|
+
subsegments: {
|
|
3279
|
+
locator: string;
|
|
3280
|
+
type: "coverage" | "gap";
|
|
3281
|
+
startTime: string;
|
|
3282
|
+
endTime: string;
|
|
3283
|
+
duration: number;
|
|
3284
|
+
basedOn: string;
|
|
3285
|
+
documentSummary: {
|
|
3286
|
+
locator: string;
|
|
3287
|
+
staticLocator: string;
|
|
3288
|
+
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
3289
|
+
name: string;
|
|
3290
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
3291
|
+
}[];
|
|
3292
|
+
}[];
|
|
3293
|
+
}>;
|
|
3294
|
+
|
|
3082
3295
|
export declare type PreferencesResponse = z.infer<typeof preferencesResponseSchema>;
|
|
3083
3296
|
|
|
3084
3297
|
export declare const preferencesResponseSchema: z.ZodObject<{
|
|
@@ -3542,8 +3755,8 @@ export declare const quotePriceResponseSchema: z.ZodObject<{
|
|
|
3542
3755
|
productName: z.ZodString;
|
|
3543
3756
|
startTime: z.ZodString;
|
|
3544
3757
|
endTime: z.ZodString;
|
|
3545
|
-
duration: z.ZodNumber
|
|
3546
|
-
durationBasis: z.ZodEnum<["none", "years", "months", "monthsE360", "weeks", "days", "hours"]
|
|
3758
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
3759
|
+
durationBasis: z.ZodOptional<z.ZodEnum<["none", "years", "months", "monthsE360", "weeks", "days", "hours"]>>;
|
|
3547
3760
|
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3548
3761
|
locator: z.ZodString;
|
|
3549
3762
|
elementLocator: z.ZodString;
|
|
@@ -3585,11 +3798,11 @@ export declare const quotePriceResponseSchema: z.ZodObject<{
|
|
|
3585
3798
|
productName: string;
|
|
3586
3799
|
startTime: string;
|
|
3587
3800
|
endTime: string;
|
|
3588
|
-
durationBasis: "none" | "years" | "months" | "monthsE360" | "weeks" | "days" | "hours";
|
|
3589
3801
|
quoteState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded";
|
|
3590
3802
|
accountLocator: string;
|
|
3591
|
-
duration: number;
|
|
3592
3803
|
quoteLocator: string;
|
|
3804
|
+
durationBasis?: "none" | "years" | "months" | "monthsE360" | "weeks" | "days" | "hours" | undefined;
|
|
3805
|
+
duration?: number | undefined;
|
|
3593
3806
|
items?: {
|
|
3594
3807
|
locator: string;
|
|
3595
3808
|
elementLocator: string;
|
|
@@ -3607,11 +3820,11 @@ export declare const quotePriceResponseSchema: z.ZodObject<{
|
|
|
3607
3820
|
productName: string;
|
|
3608
3821
|
startTime: string;
|
|
3609
3822
|
endTime: string;
|
|
3610
|
-
durationBasis: "none" | "years" | "months" | "monthsE360" | "weeks" | "days" | "hours";
|
|
3611
3823
|
quoteState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded";
|
|
3612
3824
|
accountLocator: string;
|
|
3613
|
-
duration: number;
|
|
3614
3825
|
quoteLocator: string;
|
|
3826
|
+
durationBasis?: "none" | "years" | "months" | "monthsE360" | "weeks" | "days" | "hours" | undefined;
|
|
3827
|
+
duration?: number | undefined;
|
|
3615
3828
|
items?: {
|
|
3616
3829
|
locator: string;
|
|
3617
3830
|
elementLocator: string;
|
|
@@ -4184,13 +4397,13 @@ export declare const subsegmentSummarySchema: z.ZodObject<{
|
|
|
4184
4397
|
}, "strip", z.ZodTypeAny, {
|
|
4185
4398
|
locator: string;
|
|
4186
4399
|
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
4187
|
-
referenceType: "policy" | "
|
|
4400
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
4188
4401
|
staticName?: string | undefined;
|
|
4189
4402
|
name?: string | undefined;
|
|
4190
4403
|
}, {
|
|
4191
4404
|
locator: string;
|
|
4192
4405
|
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
4193
|
-
referenceType: "policy" | "
|
|
4406
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
4194
4407
|
staticName?: string | undefined;
|
|
4195
4408
|
name?: string | undefined;
|
|
4196
4409
|
}>, "many">>;
|
|
@@ -4230,7 +4443,7 @@ export declare const subsegmentSummarySchema: z.ZodObject<{
|
|
|
4230
4443
|
documentSummary?: {
|
|
4231
4444
|
locator: string;
|
|
4232
4445
|
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
4233
|
-
referenceType: "policy" | "
|
|
4446
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
4234
4447
|
staticName?: string | undefined;
|
|
4235
4448
|
name?: string | undefined;
|
|
4236
4449
|
}[] | undefined;
|
|
@@ -4251,7 +4464,7 @@ export declare const subsegmentSummarySchema: z.ZodObject<{
|
|
|
4251
4464
|
documentSummary?: {
|
|
4252
4465
|
locator: string;
|
|
4253
4466
|
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
4254
|
-
referenceType: "policy" | "
|
|
4467
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
4255
4468
|
staticName?: string | undefined;
|
|
4256
4469
|
name?: string | undefined;
|
|
4257
4470
|
}[] | undefined;
|
|
@@ -4324,13 +4537,13 @@ export declare const termSummarySchema: z.ZodObject<{
|
|
|
4324
4537
|
}, "strip", z.ZodTypeAny, {
|
|
4325
4538
|
locator: string;
|
|
4326
4539
|
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
4327
|
-
referenceType: "policy" | "
|
|
4540
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
4328
4541
|
staticName?: string | undefined;
|
|
4329
4542
|
name?: string | undefined;
|
|
4330
4543
|
}, {
|
|
4331
4544
|
locator: string;
|
|
4332
4545
|
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
4333
|
-
referenceType: "policy" | "
|
|
4546
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
4334
4547
|
staticName?: string | undefined;
|
|
4335
4548
|
name?: string | undefined;
|
|
4336
4549
|
}>, "many">>;
|
|
@@ -4370,7 +4583,7 @@ export declare const termSummarySchema: z.ZodObject<{
|
|
|
4370
4583
|
documentSummary?: {
|
|
4371
4584
|
locator: string;
|
|
4372
4585
|
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
4373
|
-
referenceType: "policy" | "
|
|
4586
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
4374
4587
|
staticName?: string | undefined;
|
|
4375
4588
|
name?: string | undefined;
|
|
4376
4589
|
}[] | undefined;
|
|
@@ -4391,7 +4604,7 @@ export declare const termSummarySchema: z.ZodObject<{
|
|
|
4391
4604
|
documentSummary?: {
|
|
4392
4605
|
locator: string;
|
|
4393
4606
|
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
4394
|
-
referenceType: "policy" | "
|
|
4607
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
4395
4608
|
staticName?: string | undefined;
|
|
4396
4609
|
name?: string | undefined;
|
|
4397
4610
|
}[] | undefined;
|
|
@@ -4405,13 +4618,13 @@ export declare const termSummarySchema: z.ZodObject<{
|
|
|
4405
4618
|
}, "strip", z.ZodTypeAny, {
|
|
4406
4619
|
locator: string;
|
|
4407
4620
|
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
4408
|
-
referenceType: "policy" | "
|
|
4621
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
4409
4622
|
staticName?: string | undefined;
|
|
4410
4623
|
name?: string | undefined;
|
|
4411
4624
|
}, {
|
|
4412
4625
|
locator: string;
|
|
4413
4626
|
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
4414
|
-
referenceType: "policy" | "
|
|
4627
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
4415
4628
|
staticName?: string | undefined;
|
|
4416
4629
|
name?: string | undefined;
|
|
4417
4630
|
}>, "many">>;
|
|
@@ -4441,7 +4654,7 @@ export declare const termSummarySchema: z.ZodObject<{
|
|
|
4441
4654
|
documentSummary?: {
|
|
4442
4655
|
locator: string;
|
|
4443
4656
|
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
4444
|
-
referenceType: "policy" | "
|
|
4657
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
4445
4658
|
staticName?: string | undefined;
|
|
4446
4659
|
name?: string | undefined;
|
|
4447
4660
|
}[] | undefined;
|
|
@@ -4449,7 +4662,7 @@ export declare const termSummarySchema: z.ZodObject<{
|
|
|
4449
4662
|
documentSummary?: {
|
|
4450
4663
|
locator: string;
|
|
4451
4664
|
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
4452
|
-
referenceType: "policy" | "
|
|
4665
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
4453
4666
|
staticName?: string | undefined;
|
|
4454
4667
|
name?: string | undefined;
|
|
4455
4668
|
}[] | undefined;
|
|
@@ -4479,7 +4692,7 @@ export declare const termSummarySchema: z.ZodObject<{
|
|
|
4479
4692
|
documentSummary?: {
|
|
4480
4693
|
locator: string;
|
|
4481
4694
|
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
4482
|
-
referenceType: "policy" | "
|
|
4695
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
4483
4696
|
staticName?: string | undefined;
|
|
4484
4697
|
name?: string | undefined;
|
|
4485
4698
|
}[] | undefined;
|
|
@@ -4487,7 +4700,7 @@ export declare const termSummarySchema: z.ZodObject<{
|
|
|
4487
4700
|
documentSummary?: {
|
|
4488
4701
|
locator: string;
|
|
4489
4702
|
state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
4490
|
-
referenceType: "policy" | "
|
|
4703
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
4491
4704
|
staticName?: string | undefined;
|
|
4492
4705
|
name?: string | undefined;
|
|
4493
4706
|
}[] | undefined;
|
|
@@ -4709,8 +4922,6 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
|
|
|
4709
4922
|
transactionType: z.ZodString;
|
|
4710
4923
|
}, "strip", z.ZodTypeAny, {
|
|
4711
4924
|
locator: string;
|
|
4712
|
-
issuedTime: string;
|
|
4713
|
-
effectiveTime: string;
|
|
4714
4925
|
segment: {
|
|
4715
4926
|
locator: string;
|
|
4716
4927
|
startTime: string;
|
|
@@ -4742,6 +4953,8 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
|
|
|
4742
4953
|
segmentType: "coverage" | "gap";
|
|
4743
4954
|
basedOn?: string | undefined;
|
|
4744
4955
|
};
|
|
4956
|
+
issuedTime: string;
|
|
4957
|
+
effectiveTime: string;
|
|
4745
4958
|
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
4746
4959
|
transactionType: string;
|
|
4747
4960
|
preferences?: {
|
|
@@ -4765,8 +4978,6 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
|
|
|
4765
4978
|
} | undefined;
|
|
4766
4979
|
}, {
|
|
4767
4980
|
locator: string;
|
|
4768
|
-
issuedTime: string;
|
|
4769
|
-
effectiveTime: string;
|
|
4770
4981
|
segment: {
|
|
4771
4982
|
locator: string;
|
|
4772
4983
|
startTime: string;
|
|
@@ -4798,6 +5009,8 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
|
|
|
4798
5009
|
segmentType: "coverage" | "gap";
|
|
4799
5010
|
basedOn?: string | undefined;
|
|
4800
5011
|
};
|
|
5012
|
+
issuedTime: string;
|
|
5013
|
+
effectiveTime: string;
|
|
4801
5014
|
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
4802
5015
|
transactionType: string;
|
|
4803
5016
|
preferences?: {
|