@socotra/ec-react-schemas 2.6.1 → 2.6.2-next.1
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 +106 -106
- package/dist/index.es.js +25 -25
- 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 +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -794,7 +794,7 @@ export declare type CurrencyType = z.infer<typeof currencyEnumSchema>;
|
|
|
794
794
|
export declare type DataModel = z.infer<typeof dataModelSchema>;
|
|
795
795
|
|
|
796
796
|
export declare const dataModelSchema: z.ZodObject<{
|
|
797
|
-
dataTypes: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
797
|
+
dataTypes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
798
798
|
displayName: z.ZodOptional<z.ZodString>;
|
|
799
799
|
contents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
800
800
|
abstract: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -911,7 +911,7 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
911
911
|
contents?: string[] | undefined;
|
|
912
912
|
coverageTerms?: string[] | undefined;
|
|
913
913
|
charges?: string[] | undefined;
|
|
914
|
-
}
|
|
914
|
+
}>>>;
|
|
915
915
|
accounts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
916
916
|
displayName: z.ZodOptional<z.ZodString>;
|
|
917
917
|
abstract: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1278,7 +1278,7 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
1278
1278
|
tag?: string[] | undefined;
|
|
1279
1279
|
}> | undefined;
|
|
1280
1280
|
}>>;
|
|
1281
|
-
coverageTerms: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1281
|
+
coverageTerms: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1282
1282
|
type: z.ZodString;
|
|
1283
1283
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1284
1284
|
options: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -1310,7 +1310,7 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
1310
1310
|
}>;
|
|
1311
1311
|
type: string;
|
|
1312
1312
|
displayName?: string | undefined;
|
|
1313
|
-
}
|
|
1313
|
+
}>>>;
|
|
1314
1314
|
delinquencyPlans: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1315
1315
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1316
1316
|
gracePeriodDays: z.ZodNumber;
|
|
@@ -1355,7 +1355,7 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
1355
1355
|
renewalIssueLeadDays?: number | undefined;
|
|
1356
1356
|
renewalTransactionType?: string | undefined;
|
|
1357
1357
|
}>>;
|
|
1358
|
-
transactionTypes: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1358
|
+
transactionTypes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1359
1359
|
category: z.ZodEnum<["issuance", "change", "renewal", "cancellation", "reinstatement", "reversal", "aggregate"]>;
|
|
1360
1360
|
costBearing: z.ZodBoolean;
|
|
1361
1361
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1364,7 +1364,7 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
1364
1364
|
}, {
|
|
1365
1365
|
category: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
1366
1366
|
costBearing: boolean;
|
|
1367
|
-
}
|
|
1367
|
+
}>>>;
|
|
1368
1368
|
reversalTypes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1369
1369
|
creditType: z.ZodOptional<z.ZodEnum<["any", "creditDistribution", "payment"]>>;
|
|
1370
1370
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1931,43 +1931,6 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
1931
1931
|
shortfallTolerancePlans: z.ZodAny;
|
|
1932
1932
|
excessCreditPlans: z.ZodAny;
|
|
1933
1933
|
}, "strip", z.ZodTypeAny, {
|
|
1934
|
-
coverageTerms: Record<string, {
|
|
1935
|
-
options: Record<string, {
|
|
1936
|
-
value?: number | undefined;
|
|
1937
|
-
displayName?: string | undefined;
|
|
1938
|
-
tag?: string | undefined;
|
|
1939
|
-
}>;
|
|
1940
|
-
type: string;
|
|
1941
|
-
displayName?: string | undefined;
|
|
1942
|
-
}>;
|
|
1943
|
-
dataTypes: Record<string, {
|
|
1944
|
-
displayName?: string | undefined;
|
|
1945
|
-
abstract?: boolean | undefined;
|
|
1946
|
-
extend?: string | undefined;
|
|
1947
|
-
data?: Record<string, {
|
|
1948
|
-
options?: string[] | undefined;
|
|
1949
|
-
type?: string | undefined;
|
|
1950
|
-
displayName?: string | undefined;
|
|
1951
|
-
defaultValue?: string | undefined;
|
|
1952
|
-
minLength?: number | undefined;
|
|
1953
|
-
maxLength?: number | undefined;
|
|
1954
|
-
regex?: string | undefined;
|
|
1955
|
-
min?: string | undefined;
|
|
1956
|
-
multiline?: boolean | undefined;
|
|
1957
|
-
max?: string | undefined;
|
|
1958
|
-
overrides?: string | undefined;
|
|
1959
|
-
scope?: string | undefined;
|
|
1960
|
-
inherited?: boolean | undefined;
|
|
1961
|
-
precision?: number | undefined;
|
|
1962
|
-
readOnly?: boolean | undefined;
|
|
1963
|
-
searchable?: boolean | undefined;
|
|
1964
|
-
tag?: string[] | undefined;
|
|
1965
|
-
}> | undefined;
|
|
1966
|
-
defaultSearchable?: boolean | undefined;
|
|
1967
|
-
contents?: string[] | undefined;
|
|
1968
|
-
coverageTerms?: string[] | undefined;
|
|
1969
|
-
charges?: string[] | undefined;
|
|
1970
|
-
}>;
|
|
1971
1934
|
accounts: Record<string, {
|
|
1972
1935
|
displayName?: string | undefined;
|
|
1973
1936
|
abstract?: boolean | undefined;
|
|
@@ -2071,11 +2034,16 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
2071
2034
|
renewalIssueLeadDays?: number | undefined;
|
|
2072
2035
|
renewalTransactionType?: string | undefined;
|
|
2073
2036
|
}>;
|
|
2074
|
-
transactionTypes: Record<string, {
|
|
2075
|
-
category: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
2076
|
-
costBearing: boolean;
|
|
2077
|
-
}>;
|
|
2078
2037
|
defaultSearchable?: boolean | undefined;
|
|
2038
|
+
coverageTerms?: Record<string, {
|
|
2039
|
+
options: Record<string, {
|
|
2040
|
+
value?: number | undefined;
|
|
2041
|
+
displayName?: string | undefined;
|
|
2042
|
+
tag?: string | undefined;
|
|
2043
|
+
}>;
|
|
2044
|
+
type: string;
|
|
2045
|
+
displayName?: string | undefined;
|
|
2046
|
+
}> | undefined;
|
|
2079
2047
|
charges?: any;
|
|
2080
2048
|
defaultTimeZone?: string | undefined;
|
|
2081
2049
|
defaultCurrency?: string | undefined;
|
|
@@ -2090,6 +2058,38 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
2090
2058
|
defaultBillingLevel?: string | undefined;
|
|
2091
2059
|
documents?: any;
|
|
2092
2060
|
tables?: any;
|
|
2061
|
+
dataTypes?: Record<string, {
|
|
2062
|
+
displayName?: string | undefined;
|
|
2063
|
+
abstract?: boolean | undefined;
|
|
2064
|
+
extend?: string | undefined;
|
|
2065
|
+
data?: Record<string, {
|
|
2066
|
+
options?: string[] | undefined;
|
|
2067
|
+
type?: string | undefined;
|
|
2068
|
+
displayName?: string | undefined;
|
|
2069
|
+
defaultValue?: string | undefined;
|
|
2070
|
+
minLength?: number | undefined;
|
|
2071
|
+
maxLength?: number | undefined;
|
|
2072
|
+
regex?: string | undefined;
|
|
2073
|
+
min?: string | undefined;
|
|
2074
|
+
multiline?: boolean | undefined;
|
|
2075
|
+
max?: string | undefined;
|
|
2076
|
+
overrides?: string | undefined;
|
|
2077
|
+
scope?: string | undefined;
|
|
2078
|
+
inherited?: boolean | undefined;
|
|
2079
|
+
precision?: number | undefined;
|
|
2080
|
+
readOnly?: boolean | undefined;
|
|
2081
|
+
searchable?: boolean | undefined;
|
|
2082
|
+
tag?: string[] | undefined;
|
|
2083
|
+
}> | undefined;
|
|
2084
|
+
defaultSearchable?: boolean | undefined;
|
|
2085
|
+
contents?: string[] | undefined;
|
|
2086
|
+
coverageTerms?: string[] | undefined;
|
|
2087
|
+
charges?: string[] | undefined;
|
|
2088
|
+
}> | undefined;
|
|
2089
|
+
transactionTypes?: Record<string, {
|
|
2090
|
+
category: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
2091
|
+
costBearing: boolean;
|
|
2092
|
+
}> | undefined;
|
|
2093
2093
|
reversalTypes?: Record<string, {
|
|
2094
2094
|
creditType?: "any" | "creditDistribution" | "payment" | undefined;
|
|
2095
2095
|
}> | undefined;
|
|
@@ -2231,43 +2231,6 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
2231
2231
|
shortfallTolerancePlans?: any;
|
|
2232
2232
|
excessCreditPlans?: any;
|
|
2233
2233
|
}, {
|
|
2234
|
-
coverageTerms: Record<string, {
|
|
2235
|
-
options: Record<string, {
|
|
2236
|
-
value?: number | undefined;
|
|
2237
|
-
displayName?: string | undefined;
|
|
2238
|
-
tag?: string | undefined;
|
|
2239
|
-
}>;
|
|
2240
|
-
type: string;
|
|
2241
|
-
displayName?: string | undefined;
|
|
2242
|
-
}>;
|
|
2243
|
-
dataTypes: Record<string, {
|
|
2244
|
-
displayName?: string | undefined;
|
|
2245
|
-
abstract?: boolean | undefined;
|
|
2246
|
-
extend?: string | undefined;
|
|
2247
|
-
data?: Record<string, {
|
|
2248
|
-
options?: string[] | undefined;
|
|
2249
|
-
type?: string | undefined;
|
|
2250
|
-
displayName?: string | undefined;
|
|
2251
|
-
defaultValue?: string | undefined;
|
|
2252
|
-
minLength?: number | undefined;
|
|
2253
|
-
maxLength?: number | undefined;
|
|
2254
|
-
regex?: string | undefined;
|
|
2255
|
-
min?: string | undefined;
|
|
2256
|
-
multiline?: boolean | undefined;
|
|
2257
|
-
max?: string | undefined;
|
|
2258
|
-
overrides?: string | undefined;
|
|
2259
|
-
scope?: string | undefined;
|
|
2260
|
-
inherited?: boolean | undefined;
|
|
2261
|
-
precision?: number | undefined;
|
|
2262
|
-
readOnly?: boolean | undefined;
|
|
2263
|
-
searchable?: boolean | undefined;
|
|
2264
|
-
tag?: string[] | undefined;
|
|
2265
|
-
}> | undefined;
|
|
2266
|
-
defaultSearchable?: boolean | undefined;
|
|
2267
|
-
contents?: string[] | undefined;
|
|
2268
|
-
coverageTerms?: string[] | undefined;
|
|
2269
|
-
charges?: string[] | undefined;
|
|
2270
|
-
}>;
|
|
2271
2234
|
accounts: Record<string, {
|
|
2272
2235
|
displayName?: string | undefined;
|
|
2273
2236
|
abstract?: boolean | undefined;
|
|
@@ -2371,11 +2334,16 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
2371
2334
|
renewalIssueLeadDays?: number | undefined;
|
|
2372
2335
|
renewalTransactionType?: string | undefined;
|
|
2373
2336
|
}>;
|
|
2374
|
-
transactionTypes: Record<string, {
|
|
2375
|
-
category: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
2376
|
-
costBearing: boolean;
|
|
2377
|
-
}>;
|
|
2378
2337
|
defaultSearchable?: boolean | undefined;
|
|
2338
|
+
coverageTerms?: Record<string, {
|
|
2339
|
+
options: Record<string, {
|
|
2340
|
+
value?: number | undefined;
|
|
2341
|
+
displayName?: string | undefined;
|
|
2342
|
+
tag?: string | undefined;
|
|
2343
|
+
}>;
|
|
2344
|
+
type: string;
|
|
2345
|
+
displayName?: string | undefined;
|
|
2346
|
+
}> | undefined;
|
|
2379
2347
|
charges?: any;
|
|
2380
2348
|
defaultTimeZone?: string | undefined;
|
|
2381
2349
|
defaultCurrency?: string | undefined;
|
|
@@ -2390,6 +2358,38 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
2390
2358
|
defaultBillingLevel?: string | undefined;
|
|
2391
2359
|
documents?: any;
|
|
2392
2360
|
tables?: any;
|
|
2361
|
+
dataTypes?: Record<string, {
|
|
2362
|
+
displayName?: string | undefined;
|
|
2363
|
+
abstract?: boolean | undefined;
|
|
2364
|
+
extend?: string | undefined;
|
|
2365
|
+
data?: Record<string, {
|
|
2366
|
+
options?: string[] | undefined;
|
|
2367
|
+
type?: string | undefined;
|
|
2368
|
+
displayName?: string | undefined;
|
|
2369
|
+
defaultValue?: string | undefined;
|
|
2370
|
+
minLength?: number | undefined;
|
|
2371
|
+
maxLength?: number | undefined;
|
|
2372
|
+
regex?: string | undefined;
|
|
2373
|
+
min?: string | undefined;
|
|
2374
|
+
multiline?: boolean | undefined;
|
|
2375
|
+
max?: string | undefined;
|
|
2376
|
+
overrides?: string | undefined;
|
|
2377
|
+
scope?: string | undefined;
|
|
2378
|
+
inherited?: boolean | undefined;
|
|
2379
|
+
precision?: number | undefined;
|
|
2380
|
+
readOnly?: boolean | undefined;
|
|
2381
|
+
searchable?: boolean | undefined;
|
|
2382
|
+
tag?: string[] | undefined;
|
|
2383
|
+
}> | undefined;
|
|
2384
|
+
defaultSearchable?: boolean | undefined;
|
|
2385
|
+
contents?: string[] | undefined;
|
|
2386
|
+
coverageTerms?: string[] | undefined;
|
|
2387
|
+
charges?: string[] | undefined;
|
|
2388
|
+
}> | undefined;
|
|
2389
|
+
transactionTypes?: Record<string, {
|
|
2390
|
+
category: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
2391
|
+
costBearing: boolean;
|
|
2392
|
+
}> | undefined;
|
|
2393
2393
|
reversalTypes?: Record<string, {
|
|
2394
2394
|
creditType?: "any" | "creditDistribution" | "payment" | undefined;
|
|
2395
2395
|
}> | undefined;
|
|
@@ -6674,7 +6674,7 @@ export declare const termSummarySchema: z.ZodObject<{
|
|
|
6674
6674
|
duration: z.ZodNumber;
|
|
6675
6675
|
durationBasis: z.ZodEnum<["years", "months", "weeks", "days", "hours"]>;
|
|
6676
6676
|
termNumber: z.ZodNumber;
|
|
6677
|
-
subsegments: z.ZodArray<z.ZodObject<{
|
|
6677
|
+
subsegments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6678
6678
|
locator: z.ZodString;
|
|
6679
6679
|
startTime: z.ZodString;
|
|
6680
6680
|
endTime: z.ZodString;
|
|
@@ -6761,7 +6761,7 @@ export declare const termSummarySchema: z.ZodObject<{
|
|
|
6761
6761
|
staticName?: string | undefined;
|
|
6762
6762
|
name?: string | undefined;
|
|
6763
6763
|
}[] | undefined;
|
|
6764
|
-
}>, "many"
|
|
6764
|
+
}>, "many">>;
|
|
6765
6765
|
documentSummary: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6766
6766
|
locator: z.ZodString;
|
|
6767
6767
|
staticName: z.ZodOptional<z.ZodString>;
|
|
@@ -6790,7 +6790,14 @@ export declare const termSummarySchema: z.ZodObject<{
|
|
|
6790
6790
|
duration: number;
|
|
6791
6791
|
policyLocator: string;
|
|
6792
6792
|
termNumber: number;
|
|
6793
|
-
|
|
6793
|
+
documentSummary?: {
|
|
6794
|
+
locator: string;
|
|
6795
|
+
documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
6796
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
6797
|
+
staticName?: string | undefined;
|
|
6798
|
+
name?: string | undefined;
|
|
6799
|
+
}[] | undefined;
|
|
6800
|
+
subsegments?: {
|
|
6794
6801
|
locator: string;
|
|
6795
6802
|
type: "coverage" | "gap";
|
|
6796
6803
|
elements: {
|
|
@@ -6811,13 +6818,6 @@ export declare const termSummarySchema: z.ZodObject<{
|
|
|
6811
6818
|
staticName?: string | undefined;
|
|
6812
6819
|
name?: string | undefined;
|
|
6813
6820
|
}[] | undefined;
|
|
6814
|
-
}[];
|
|
6815
|
-
documentSummary?: {
|
|
6816
|
-
locator: string;
|
|
6817
|
-
documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
6818
|
-
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
6819
|
-
staticName?: string | undefined;
|
|
6820
|
-
name?: string | undefined;
|
|
6821
6821
|
}[] | undefined;
|
|
6822
6822
|
}, {
|
|
6823
6823
|
locator: string;
|
|
@@ -6828,7 +6828,14 @@ export declare const termSummarySchema: z.ZodObject<{
|
|
|
6828
6828
|
duration: number;
|
|
6829
6829
|
policyLocator: string;
|
|
6830
6830
|
termNumber: number;
|
|
6831
|
-
|
|
6831
|
+
documentSummary?: {
|
|
6832
|
+
locator: string;
|
|
6833
|
+
documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
6834
|
+
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
6835
|
+
staticName?: string | undefined;
|
|
6836
|
+
name?: string | undefined;
|
|
6837
|
+
}[] | undefined;
|
|
6838
|
+
subsegments?: {
|
|
6832
6839
|
locator: string;
|
|
6833
6840
|
type: "coverage" | "gap";
|
|
6834
6841
|
elements: {
|
|
@@ -6849,13 +6856,6 @@ export declare const termSummarySchema: z.ZodObject<{
|
|
|
6849
6856
|
staticName?: string | undefined;
|
|
6850
6857
|
name?: string | undefined;
|
|
6851
6858
|
}[] | undefined;
|
|
6852
|
-
}[];
|
|
6853
|
-
documentSummary?: {
|
|
6854
|
-
locator: string;
|
|
6855
|
-
documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
6856
|
-
referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
|
|
6857
|
-
staticName?: string | undefined;
|
|
6858
|
-
name?: string | undefined;
|
|
6859
6859
|
}[] | undefined;
|
|
6860
6860
|
}>;
|
|
6861
6861
|
|
package/dist/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z as a } from "zod";
|
|
2
|
-
const
|
|
2
|
+
const o = a.string(), R = a.object({
|
|
3
3
|
elementType: a.string().optional(),
|
|
4
|
-
locator:
|
|
4
|
+
locator: o.optional(),
|
|
5
5
|
errors: a.array(a.string()).optional()
|
|
6
6
|
}), r = a.object({
|
|
7
7
|
validationItems: a.array(R).optional(),
|
|
@@ -858,7 +858,7 @@ const i = a.string(), R = a.object({
|
|
|
858
858
|
"decline",
|
|
859
859
|
"reject",
|
|
860
860
|
"approve"
|
|
861
|
-
]),
|
|
861
|
+
]), i = a.object({
|
|
862
862
|
locator: a.string(),
|
|
863
863
|
elementLocator: a.string().optional(),
|
|
864
864
|
clearedBy: a.string().uuid().optional(),
|
|
@@ -998,18 +998,18 @@ const i = a.string(), R = a.object({
|
|
|
998
998
|
"reinstatement",
|
|
999
999
|
"reversal",
|
|
1000
1000
|
"aggregate"
|
|
1001
|
-
]),
|
|
1001
|
+
]), oa = a.object({
|
|
1002
1002
|
category: ta,
|
|
1003
1003
|
costBearing: a.boolean()
|
|
1004
|
-
}),
|
|
1004
|
+
}), ia = a.record(oa), _a = a.object({
|
|
1005
1005
|
// Root level
|
|
1006
|
-
dataTypes: n,
|
|
1006
|
+
dataTypes: n.optional(),
|
|
1007
1007
|
accounts: _,
|
|
1008
1008
|
products: $,
|
|
1009
|
-
coverageTerms: W,
|
|
1009
|
+
coverageTerms: W.optional(),
|
|
1010
1010
|
delinquencyPlans: J,
|
|
1011
1011
|
autoRenewalPlans: q,
|
|
1012
|
-
transactionTypes:
|
|
1012
|
+
transactionTypes: ia.optional(),
|
|
1013
1013
|
reversalTypes: na.optional(),
|
|
1014
1014
|
dataAccessControl: a.any().optional(),
|
|
1015
1015
|
bootstrap: O.optional(),
|
|
@@ -1165,10 +1165,10 @@ const i = a.string(), R = a.object({
|
|
|
1165
1165
|
}), p = la.extend({
|
|
1166
1166
|
elements: a.lazy(() => p.array().optional())
|
|
1167
1167
|
}), Ua = a.object({
|
|
1168
|
-
locator:
|
|
1168
|
+
locator: o,
|
|
1169
1169
|
quoteState: P,
|
|
1170
1170
|
productName: a.string(),
|
|
1171
|
-
accountLocator:
|
|
1171
|
+
accountLocator: o,
|
|
1172
1172
|
startTime: a.string().optional(),
|
|
1173
1173
|
endTime: a.string().optional(),
|
|
1174
1174
|
timezone: a.string().optional(),
|
|
@@ -1181,7 +1181,7 @@ const i = a.string(), R = a.object({
|
|
|
1181
1181
|
durationBasis: C.optional(),
|
|
1182
1182
|
boundTime: a.string().optional(),
|
|
1183
1183
|
issuedTime: a.string().optional(),
|
|
1184
|
-
policyLocator:
|
|
1184
|
+
policyLocator: o.optional(),
|
|
1185
1185
|
validationResult: r.optional(),
|
|
1186
1186
|
preferences: a.any().optional(),
|
|
1187
1187
|
delinquencyPlanName: a.string().optional(),
|
|
@@ -1189,7 +1189,7 @@ const i = a.string(), R = a.object({
|
|
|
1189
1189
|
billingLevel: sa.optional(),
|
|
1190
1190
|
billingTrigger: ca.optional(),
|
|
1191
1191
|
coverageTerms: a.record(a.string()).optional(),
|
|
1192
|
-
groupLocator:
|
|
1192
|
+
groupLocator: o.optional()
|
|
1193
1193
|
}), ma = a.enum([
|
|
1194
1194
|
"premium",
|
|
1195
1195
|
"tax",
|
|
@@ -1222,8 +1222,8 @@ const i = a.string(), R = a.object({
|
|
|
1222
1222
|
items: a.array(ua).optional()
|
|
1223
1223
|
}), Oa = a.object({
|
|
1224
1224
|
quoteLocator: a.string(),
|
|
1225
|
-
clearedFlags:
|
|
1226
|
-
flags:
|
|
1225
|
+
clearedFlags: i.array().optional(),
|
|
1226
|
+
flags: i.array().optional()
|
|
1227
1227
|
}), ga = a.enum(["clear", "delete"]), xa = a.object({
|
|
1228
1228
|
deleteAllAutomaticDocuments: a.boolean(),
|
|
1229
1229
|
resetAllUnderwritingFlags: a.boolean(),
|
|
@@ -1346,7 +1346,7 @@ const i = a.string(), R = a.object({
|
|
|
1346
1346
|
duration: a.number(),
|
|
1347
1347
|
durationBasis: d,
|
|
1348
1348
|
termNumber: a.number().int(),
|
|
1349
|
-
subsegments: ba.array(),
|
|
1349
|
+
subsegments: ba.array().optional(),
|
|
1350
1350
|
documentSummary: L.array().optional()
|
|
1351
1351
|
}), fa = a.object({
|
|
1352
1352
|
locator: a.string(),
|
|
@@ -1448,11 +1448,11 @@ const i = a.string(), R = a.object({
|
|
|
1448
1448
|
}), te = a.object({
|
|
1449
1449
|
action: a.literal("delete"),
|
|
1450
1450
|
staticElementLocators: a.array(a.string())
|
|
1451
|
-
}),
|
|
1451
|
+
}), oe = a.object({
|
|
1452
1452
|
locator: a.string(),
|
|
1453
1453
|
action: a.literal("delete"),
|
|
1454
1454
|
staticElementLocators: a.array(a.string())
|
|
1455
|
-
}),
|
|
1455
|
+
}), ie = a.object({
|
|
1456
1456
|
staticLocator: a.string(),
|
|
1457
1457
|
action: a.literal("modify"),
|
|
1458
1458
|
removeCoverageTerms: a.record(a.string(), a.any()).optional(),
|
|
@@ -1529,7 +1529,7 @@ const i = a.string(), R = a.object({
|
|
|
1529
1529
|
effectiveTime: a.string(),
|
|
1530
1530
|
transactionCategory: c,
|
|
1531
1531
|
underwritingStatus: a.string().optional(),
|
|
1532
|
-
underwritingFlags:
|
|
1532
|
+
underwritingFlags: i.array().optional()
|
|
1533
1533
|
}), me = b.extend({
|
|
1534
1534
|
aggregatedTransactions: a.array(b).optional()
|
|
1535
1535
|
}), ue = a.object({
|
|
@@ -1540,8 +1540,8 @@ const i = a.string(), R = a.object({
|
|
|
1540
1540
|
resetFlags: a.array(a.string()).optional()
|
|
1541
1541
|
}), ge = a.object({
|
|
1542
1542
|
transactionLocator: a.string(),
|
|
1543
|
-
clearedFlags:
|
|
1544
|
-
flags:
|
|
1543
|
+
clearedFlags: i.array().optional(),
|
|
1544
|
+
flags: i.array().optional()
|
|
1545
1545
|
}), va = a.enum(["open", "settled"]), La = a.object({
|
|
1546
1546
|
locator: a.string(),
|
|
1547
1547
|
elementStaticLocator: a.string(),
|
|
@@ -1643,7 +1643,7 @@ export {
|
|
|
1643
1643
|
Ia as dataTypesRecordSchema,
|
|
1644
1644
|
j as dayOfWeekEnumSchema,
|
|
1645
1645
|
te as deleteChangeInstructionCreateRequestSchema,
|
|
1646
|
-
|
|
1646
|
+
oe as deleteChangeInstructionResponseSchema,
|
|
1647
1647
|
Ra as delinquencyLevelEnumSchema,
|
|
1648
1648
|
z as delinquencyLevelSchema,
|
|
1649
1649
|
J as delinquencyPlanRecordsSchema,
|
|
@@ -1669,7 +1669,7 @@ export {
|
|
|
1669
1669
|
La as invoiceItemResponseSchema,
|
|
1670
1670
|
pe as invoiceResponseSchema,
|
|
1671
1671
|
va as invoiceStateEnumSchema,
|
|
1672
|
-
|
|
1672
|
+
ie as modifyChangeInstructionCreateRequestSchema,
|
|
1673
1673
|
re as modifyChangeInstructionResponseSchema,
|
|
1674
1674
|
Va as optionalQuantifiersSchema,
|
|
1675
1675
|
ce as paramsChangeInstructionCreateRequestSchema,
|
|
@@ -1710,13 +1710,13 @@ export {
|
|
|
1710
1710
|
ha as transactionSnapshotResponseSchema,
|
|
1711
1711
|
A as transactionStateEnumSchema,
|
|
1712
1712
|
ta as transactionTypeCategorySchema,
|
|
1713
|
-
|
|
1714
|
-
|
|
1713
|
+
oa as transactionTypeSchema,
|
|
1714
|
+
ia as transactionTypesRecordsSchema,
|
|
1715
1715
|
ge as transactionUnderwritingFlagsResponse,
|
|
1716
1716
|
me as transactionUnderwritingResponseSchema,
|
|
1717
1717
|
G as underwritingFlagCreateRequestSchema,
|
|
1718
1718
|
T as underwritingFlagEnumSchema,
|
|
1719
|
-
|
|
1719
|
+
i as underwritingFlagResponseSchema,
|
|
1720
1720
|
Ga as underwritingFlagsUpdateRequestSchema,
|
|
1721
1721
|
E as underwritingStatusEnumSchema,
|
|
1722
1722
|
r as validationResultSchema,
|