@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.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z as a } from "zod";
|
|
2
|
-
const o = a.string(),
|
|
2
|
+
const o = a.string(), y = a.object({
|
|
3
3
|
elementType: a.string().optional(),
|
|
4
4
|
locator: o.optional(),
|
|
5
5
|
errors: a.array(a.string()).optional()
|
|
6
6
|
}), t = a.object({
|
|
7
|
-
validationItems: a.array(
|
|
7
|
+
validationItems: a.array(y).optional(),
|
|
8
8
|
success: a.boolean().optional()
|
|
9
|
-
}),
|
|
9
|
+
}), ia = a.enum([
|
|
10
10
|
"AED",
|
|
11
11
|
"AFN",
|
|
12
12
|
"ALL",
|
|
@@ -186,7 +186,7 @@ const o = a.string(), p = a.object({
|
|
|
186
186
|
"ZAR",
|
|
187
187
|
"ZMW",
|
|
188
188
|
"ZWL"
|
|
189
|
-
]),
|
|
189
|
+
]), na = a.enum([
|
|
190
190
|
"Africa/Abidjan",
|
|
191
191
|
"Africa/Accra",
|
|
192
192
|
"Africa/Addis_Ababa",
|
|
@@ -784,17 +784,17 @@ const o = a.string(), p = a.object({
|
|
|
784
784
|
"W-SU",
|
|
785
785
|
"WET",
|
|
786
786
|
"Zulu"
|
|
787
|
-
]),
|
|
787
|
+
]), h = a.enum([
|
|
788
788
|
"generateDay",
|
|
789
789
|
"termStartDay",
|
|
790
790
|
"dueDay"
|
|
791
|
-
]),
|
|
791
|
+
]), f = a.enum([
|
|
792
792
|
"none",
|
|
793
793
|
"dayOfMonth",
|
|
794
794
|
"anchorTime",
|
|
795
795
|
"dayOfWeek",
|
|
796
796
|
"weekOfMonth"
|
|
797
|
-
]), r = a.enum(["account", "inherit", "policy"]),
|
|
797
|
+
]), r = a.enum(["account", "inherit", "policy"]), S = a.enum([
|
|
798
798
|
"none",
|
|
799
799
|
"fullPay",
|
|
800
800
|
"weekly",
|
|
@@ -805,7 +805,7 @@ const o = a.string(), p = a.object({
|
|
|
805
805
|
"annually",
|
|
806
806
|
"thirtyDays",
|
|
807
807
|
"everyNDays"
|
|
808
|
-
]),
|
|
808
|
+
]), T = a.enum([
|
|
809
809
|
"monday",
|
|
810
810
|
"tuesday",
|
|
811
811
|
"wednesday",
|
|
@@ -813,32 +813,46 @@ const o = a.string(), p = a.object({
|
|
|
813
813
|
"friday",
|
|
814
814
|
"saturday",
|
|
815
815
|
"sunday"
|
|
816
|
-
]),
|
|
816
|
+
]), b = a.enum([
|
|
817
817
|
"none",
|
|
818
818
|
"first",
|
|
819
819
|
"second",
|
|
820
820
|
"third",
|
|
821
821
|
"fourth",
|
|
822
822
|
"fifth"
|
|
823
|
-
]),
|
|
823
|
+
]), E = a.object({
|
|
824
824
|
billingPreferences: a.object({
|
|
825
825
|
billingPlanName: a.string().optional(),
|
|
826
826
|
billingLevel: r.optional()
|
|
827
827
|
}),
|
|
828
828
|
installmentPreferences: a.object({
|
|
829
829
|
installmentPlanName: a.string().optional(),
|
|
830
|
-
anchorMode:
|
|
830
|
+
anchorMode: h.optional(),
|
|
831
831
|
anchorTime: a.string().optional(),
|
|
832
|
-
anchorType:
|
|
833
|
-
cadence:
|
|
832
|
+
anchorType: f.optional(),
|
|
833
|
+
cadence: S.optional(),
|
|
834
834
|
dayOfMonth: a.number().optional(),
|
|
835
|
-
dayOfWeek:
|
|
835
|
+
dayOfWeek: T.optional(),
|
|
836
836
|
dueLeadDays: a.number().optional(),
|
|
837
837
|
generateLeadDays: a.number().optional(),
|
|
838
838
|
maxInstallmentsPerTerm: a.number().optional(),
|
|
839
|
-
weekOfMonth:
|
|
839
|
+
weekOfMonth: b.optional()
|
|
840
840
|
}).optional()
|
|
841
|
-
}),
|
|
841
|
+
}), c = a.enum([
|
|
842
|
+
"quote",
|
|
843
|
+
"policy",
|
|
844
|
+
"invoice",
|
|
845
|
+
"transaction",
|
|
846
|
+
"segment",
|
|
847
|
+
"term"
|
|
848
|
+
]), s = a.enum([
|
|
849
|
+
"draft",
|
|
850
|
+
"dataReady",
|
|
851
|
+
"ready",
|
|
852
|
+
"dataError",
|
|
853
|
+
"renderError",
|
|
854
|
+
"conversionError"
|
|
855
|
+
]), n = a.object({
|
|
842
856
|
displayName: a.string().optional(),
|
|
843
857
|
defaultValue: a.string().optional(),
|
|
844
858
|
type: a.string().optional(),
|
|
@@ -854,40 +868,40 @@ const o = a.string(), p = a.object({
|
|
|
854
868
|
inherited: a.boolean().optional(),
|
|
855
869
|
precision: a.number().optional(),
|
|
856
870
|
readOnly: a.boolean().optional()
|
|
857
|
-
}),
|
|
871
|
+
}), oa = a.record(n), P = a.object({
|
|
858
872
|
displayName: a.string().optional(),
|
|
859
873
|
abstract: a.boolean().optional(),
|
|
860
874
|
extend: a.string().optional(),
|
|
861
875
|
data: a.record(n).optional()
|
|
862
|
-
}),
|
|
876
|
+
}), M = a.record(P), C = a.object({
|
|
863
877
|
generateAutoRenewals: a.boolean(),
|
|
864
878
|
newTermDuration: a.number().optional(),
|
|
865
879
|
renewalAcceptLeadDays: a.number().optional(),
|
|
866
880
|
renewalCreateLeadDays: a.number().optional(),
|
|
867
881
|
renewalIssueLeadDays: a.number().optional(),
|
|
868
882
|
renewalTransactionType: a.string().optional()
|
|
869
|
-
}),
|
|
883
|
+
}), D = a.record(C), B = a.object({
|
|
870
884
|
displayName: a.string().optional(),
|
|
871
885
|
value: a.number().optional(),
|
|
872
886
|
tag: a.string().optional()
|
|
873
|
-
}),
|
|
887
|
+
}), k = a.object({
|
|
874
888
|
type: a.string(),
|
|
875
889
|
displayName: a.string().optional(),
|
|
876
|
-
options: a.record(
|
|
877
|
-
}),
|
|
890
|
+
options: a.record(B)
|
|
891
|
+
}), L = a.record(k), N = a.enum(["policy", "invoice"]), R = a.enum([
|
|
878
892
|
"draft",
|
|
879
893
|
"validated",
|
|
880
894
|
"priced",
|
|
881
895
|
"underwritten",
|
|
882
896
|
"accepted",
|
|
883
897
|
"issued"
|
|
884
|
-
]),
|
|
898
|
+
]), v = a.object({
|
|
885
899
|
displayName: a.string().optional(),
|
|
886
900
|
gracePeriodDays: a.number(),
|
|
887
|
-
advanceLapseTo:
|
|
888
|
-
delinquencyLevel:
|
|
901
|
+
advanceLapseTo: R.optional(),
|
|
902
|
+
delinquencyLevel: N.optional(),
|
|
889
903
|
lapseTransactionType: a.string().optional()
|
|
890
|
-
}),
|
|
904
|
+
}), G = a.record(v), _ = a.object({
|
|
891
905
|
displayName: a.string().optional(),
|
|
892
906
|
contents: a.array(a.string()).optional(),
|
|
893
907
|
abstract: a.boolean().optional(),
|
|
@@ -895,7 +909,7 @@ const o = a.string(), p = a.object({
|
|
|
895
909
|
coverageTerms: a.array(a.string()).optional(),
|
|
896
910
|
data: a.record(n).optional(),
|
|
897
911
|
charges: a.array(a.string()).optional()
|
|
898
|
-
}), e = a.record(
|
|
912
|
+
}), e = a.record(_), j = a.object({
|
|
899
913
|
defaultTimeZone: a.string().optional(),
|
|
900
914
|
defaultCurrency: a.string().optional(),
|
|
901
915
|
defaultTermDuration: a.number().optional(),
|
|
@@ -907,7 +921,7 @@ const o = a.string(), p = a.object({
|
|
|
907
921
|
defaultAutoRenewalPlan: a.string().optional(),
|
|
908
922
|
defaultBillingTrigger: a.string().optional(),
|
|
909
923
|
defaultBillingLevel: a.string().optional()
|
|
910
|
-
}),
|
|
924
|
+
}), w = a.object({
|
|
911
925
|
abstract: a.boolean().optional(),
|
|
912
926
|
extend: a.string().optional(),
|
|
913
927
|
displayName: a.string().optional(),
|
|
@@ -919,14 +933,14 @@ const o = a.string(), p = a.object({
|
|
|
919
933
|
plugins: a.any(),
|
|
920
934
|
tables: a.any(),
|
|
921
935
|
data: a.record(n).optional()
|
|
922
|
-
}).merge(
|
|
936
|
+
}).merge(j), K = a.record(w), ta = a.object({
|
|
923
937
|
// Root level
|
|
924
938
|
dataTypes: e,
|
|
925
|
-
accounts:
|
|
926
|
-
products:
|
|
927
|
-
coverageTerms:
|
|
928
|
-
delinquencyPlans:
|
|
929
|
-
autoRenewalPlans:
|
|
939
|
+
accounts: M,
|
|
940
|
+
products: K,
|
|
941
|
+
coverageTerms: L,
|
|
942
|
+
delinquencyPlans: G,
|
|
943
|
+
autoRenewalPlans: D,
|
|
930
944
|
// Elements
|
|
931
945
|
policyLines: e.optional(),
|
|
932
946
|
exposures: e.optional(),
|
|
@@ -963,12 +977,12 @@ const o = a.string(), p = a.object({
|
|
|
963
977
|
customEvents: a.any(),
|
|
964
978
|
shortfallTolerancePlans: a.any(),
|
|
965
979
|
excessCreditPlans: a.any()
|
|
966
|
-
}),
|
|
980
|
+
}), I = a.object({
|
|
967
981
|
abstract: a.boolean().optional(),
|
|
968
982
|
extend: a.string().optional(),
|
|
969
983
|
displayName: a.string().optional(),
|
|
970
984
|
data: a.record(n).optional()
|
|
971
|
-
}),
|
|
985
|
+
}), ra = a.record(I), u = a.enum([
|
|
972
986
|
"draft",
|
|
973
987
|
"validated",
|
|
974
988
|
"earlyUnderwritten",
|
|
@@ -981,7 +995,7 @@ const o = a.string(), p = a.object({
|
|
|
981
995
|
"rejected",
|
|
982
996
|
"refused",
|
|
983
997
|
"discarded"
|
|
984
|
-
]),
|
|
998
|
+
]), A = a.enum([
|
|
985
999
|
"none",
|
|
986
1000
|
"years",
|
|
987
1001
|
"months",
|
|
@@ -989,13 +1003,13 @@ const o = a.string(), p = a.object({
|
|
|
989
1003
|
"weeks",
|
|
990
1004
|
"days",
|
|
991
1005
|
"hours"
|
|
992
|
-
]),
|
|
1006
|
+
]), U = a.enum(["accept", "issue"]), O = r, q = a.object({
|
|
993
1007
|
locator: a.string().ulid(),
|
|
994
1008
|
removeCoverageTerms: a.record(a.unknown()).optional(),
|
|
995
1009
|
removeData: a.record(a.unknown()).optional(),
|
|
996
1010
|
setCoverageTerms: a.record(a.unknown()).optional(),
|
|
997
1011
|
setData: a.record(a.unknown()).optional()
|
|
998
|
-
}),
|
|
1012
|
+
}), ca = a.object({
|
|
999
1013
|
productName: a.string().optional(),
|
|
1000
1014
|
delinquencyPlanName: a.string().optional(),
|
|
1001
1015
|
startTime: a.string().optional(),
|
|
@@ -1003,7 +1017,7 @@ const o = a.string(), p = a.object({
|
|
|
1003
1017
|
currency: a.string().optional(),
|
|
1004
1018
|
expirationTime: a.string().optional(),
|
|
1005
1019
|
setData: a.record(a.unknown()).optional(),
|
|
1006
|
-
elements: a.array(
|
|
1020
|
+
elements: a.array(q).optional(),
|
|
1007
1021
|
timezone: a.string().optional(),
|
|
1008
1022
|
billingPlan: a.string().optional(),
|
|
1009
1023
|
defaultTermDuration: a.string().optional(),
|
|
@@ -1066,7 +1080,7 @@ const o = a.string(), p = a.object({
|
|
|
1066
1080
|
// removeCoverageTerms map<string,object>?
|
|
1067
1081
|
// removeData map<string,object>?
|
|
1068
1082
|
// setCoverageTerms map<string,string>?
|
|
1069
|
-
}), i = a.string().ulid(),
|
|
1083
|
+
}), i = a.string().ulid(), H = a.object({
|
|
1070
1084
|
locator: i,
|
|
1071
1085
|
staticLocator: i,
|
|
1072
1086
|
rootLocator: i.optional(),
|
|
@@ -1076,11 +1090,11 @@ const o = a.string(), p = a.object({
|
|
|
1076
1090
|
parentLocator: i.optional(),
|
|
1077
1091
|
coverageTerms: a.record(a.string()).optional(),
|
|
1078
1092
|
originalEffectiveTime: a.string().optional()
|
|
1079
|
-
}),
|
|
1080
|
-
elements: a.lazy(() =>
|
|
1081
|
-
}),
|
|
1093
|
+
}), l = H.extend({
|
|
1094
|
+
elements: a.lazy(() => l.array().optional())
|
|
1095
|
+
}), sa = a.object({
|
|
1082
1096
|
locator: o,
|
|
1083
|
-
quoteState:
|
|
1097
|
+
quoteState: u,
|
|
1084
1098
|
productName: a.string(),
|
|
1085
1099
|
accountLocator: o,
|
|
1086
1100
|
startTime: a.string().optional(),
|
|
@@ -1089,10 +1103,10 @@ const o = a.string(), p = a.object({
|
|
|
1089
1103
|
currency: a.string().optional(),
|
|
1090
1104
|
underwritingStatus: a.string().optional(),
|
|
1091
1105
|
expirationTime: a.string().optional(),
|
|
1092
|
-
element:
|
|
1106
|
+
element: l.optional(),
|
|
1093
1107
|
type: a.string().optional(),
|
|
1094
1108
|
duration: a.number().optional(),
|
|
1095
|
-
durationBasis:
|
|
1109
|
+
durationBasis: A.optional(),
|
|
1096
1110
|
boundTime: a.string().optional(),
|
|
1097
1111
|
issuedTime: a.string().optional(),
|
|
1098
1112
|
policyLocator: o.optional(),
|
|
@@ -1100,10 +1114,10 @@ const o = a.string(), p = a.object({
|
|
|
1100
1114
|
preferences: a.any().optional(),
|
|
1101
1115
|
delinquencyPlanName: a.string().optional(),
|
|
1102
1116
|
autoRenewalPlanName: a.string().optional(),
|
|
1103
|
-
billingLevel:
|
|
1104
|
-
billingTrigger:
|
|
1117
|
+
billingLevel: O.optional(),
|
|
1118
|
+
billingTrigger: U.optional(),
|
|
1105
1119
|
coverageTerms: a.record(a.string()).optional()
|
|
1106
|
-
}),
|
|
1120
|
+
}), x = a.enum([
|
|
1107
1121
|
"premium",
|
|
1108
1122
|
"tax",
|
|
1109
1123
|
"fee",
|
|
@@ -1111,11 +1125,11 @@ const o = a.string(), p = a.object({
|
|
|
1111
1125
|
"cededPremium",
|
|
1112
1126
|
"nonFinancial",
|
|
1113
1127
|
"surcharge"
|
|
1114
|
-
]),
|
|
1128
|
+
]), W = a.object({
|
|
1115
1129
|
locator: a.string(),
|
|
1116
1130
|
elementLocator: a.string(),
|
|
1117
1131
|
chargeType: a.string(),
|
|
1118
|
-
chargeCategory:
|
|
1132
|
+
chargeCategory: x,
|
|
1119
1133
|
amount: a.number(),
|
|
1120
1134
|
rate: a.number(),
|
|
1121
1135
|
referenceRate: a.number(),
|
|
@@ -1123,21 +1137,21 @@ const o = a.string(), p = a.object({
|
|
|
1123
1137
|
tag: a.string().optional(),
|
|
1124
1138
|
rateDifference: a.number().optional(),
|
|
1125
1139
|
reversalOfLocator: a.string().optional()
|
|
1126
|
-
}),
|
|
1140
|
+
}), la = a.object({
|
|
1127
1141
|
quoteLocator: a.string(),
|
|
1128
1142
|
accountLocator: a.string(),
|
|
1129
|
-
quoteState:
|
|
1143
|
+
quoteState: u,
|
|
1130
1144
|
productName: a.string(),
|
|
1131
1145
|
startTime: a.string(),
|
|
1132
1146
|
endTime: a.string(),
|
|
1133
|
-
duration: a.number(),
|
|
1134
|
-
durationBasis:
|
|
1135
|
-
items: a.array(
|
|
1136
|
-
}),
|
|
1147
|
+
duration: a.number().optional(),
|
|
1148
|
+
durationBasis: A.optional(),
|
|
1149
|
+
items: a.array(W).optional()
|
|
1150
|
+
}), V = a.enum([
|
|
1137
1151
|
"draft",
|
|
1138
1152
|
"validated",
|
|
1139
1153
|
"discarded"
|
|
1140
|
-
]),
|
|
1154
|
+
]), p = a.enum(["account", "policy"]), ma = a.object({
|
|
1141
1155
|
type: a.string().optional(),
|
|
1142
1156
|
autoValidate: a.boolean().optional(),
|
|
1143
1157
|
data: a.record(a.any()).optional(),
|
|
@@ -1145,27 +1159,27 @@ const o = a.string(), p = a.object({
|
|
|
1145
1159
|
delinquencyPlanName: a.string().optional(),
|
|
1146
1160
|
excessCreditPlanName: a.string().optional(),
|
|
1147
1161
|
shortfallTolerancePlanName: a.string().optional(),
|
|
1148
|
-
billingLevel:
|
|
1162
|
+
billingLevel: p.optional(),
|
|
1149
1163
|
invoiceDocument: a.string().optional()
|
|
1150
|
-
}),
|
|
1164
|
+
}), ua = a.object({
|
|
1151
1165
|
locator: a.string().ulid(),
|
|
1152
1166
|
type: a.string(),
|
|
1153
|
-
state:
|
|
1167
|
+
state: V,
|
|
1154
1168
|
data: a.record(a.any()).optional(),
|
|
1155
1169
|
autoRenewalPlanName: a.string().optional(),
|
|
1156
1170
|
delinquencyPlanName: a.string().optional(),
|
|
1157
1171
|
excessCreditPlanName: a.string().optional(),
|
|
1158
1172
|
shortfallTolerancePlanName: a.string().optional(),
|
|
1159
|
-
billingLevel:
|
|
1173
|
+
billingLevel: p.optional(),
|
|
1160
1174
|
invoiceDocument: a.string().optional(),
|
|
1161
1175
|
validationResult: t.optional()
|
|
1162
|
-
}),
|
|
1176
|
+
}), Aa = a.enum(["", "?", "+", "*", "!"]), pa = a.enum(["?", "*"]), m = a.enum([
|
|
1163
1177
|
"years",
|
|
1164
1178
|
"months",
|
|
1165
1179
|
"weeks",
|
|
1166
1180
|
"days",
|
|
1167
1181
|
"hours"
|
|
1168
|
-
]),
|
|
1182
|
+
]), z = r, F = a.enum(["accept", "issue"]), ga = a.object({
|
|
1169
1183
|
locator: a.string(),
|
|
1170
1184
|
accountLocator: a.string(),
|
|
1171
1185
|
issuedTransactionLocator: a.string(),
|
|
@@ -1173,9 +1187,9 @@ const o = a.string(), p = a.object({
|
|
|
1173
1187
|
productName: a.string(),
|
|
1174
1188
|
startTime: a.string(),
|
|
1175
1189
|
endTime: a.string(),
|
|
1176
|
-
durationBasis:
|
|
1177
|
-
billingLevel:
|
|
1178
|
-
billingTrigger:
|
|
1190
|
+
durationBasis: m,
|
|
1191
|
+
billingLevel: z,
|
|
1192
|
+
billingTrigger: F,
|
|
1179
1193
|
createdAt: a.string().optional(),
|
|
1180
1194
|
createdBy: a.string().optional(),
|
|
1181
1195
|
currency: a.string().optional(),
|
|
@@ -1185,7 +1199,7 @@ const o = a.string(), p = a.object({
|
|
|
1185
1199
|
autoRenewalPlanName: a.string().optional(),
|
|
1186
1200
|
delinquencyPlanName: a.string().optional(),
|
|
1187
1201
|
validationResult: t.optional()
|
|
1188
|
-
}),
|
|
1202
|
+
}), Y = a.enum([
|
|
1189
1203
|
"issuance",
|
|
1190
1204
|
"change",
|
|
1191
1205
|
"renewal",
|
|
@@ -1193,138 +1207,184 @@ const o = a.string(), p = a.object({
|
|
|
1193
1207
|
"reinstatement",
|
|
1194
1208
|
"reversal",
|
|
1195
1209
|
"aggregate"
|
|
1196
|
-
]),
|
|
1210
|
+
]), J = a.object({
|
|
1197
1211
|
locator: a.string(),
|
|
1198
1212
|
startTime: a.string(),
|
|
1199
1213
|
endTime: a.string(),
|
|
1200
1214
|
duration: a.number(),
|
|
1201
|
-
element:
|
|
1215
|
+
element: l,
|
|
1202
1216
|
segmentType: a.enum(["coverage", "gap"]),
|
|
1203
1217
|
basedOn: a.string().optional()
|
|
1204
|
-
}),
|
|
1218
|
+
}), X = a.object({
|
|
1205
1219
|
locator: a.string(),
|
|
1206
1220
|
issuedTime: a.string(),
|
|
1207
1221
|
effectiveTime: a.string(),
|
|
1208
|
-
preferences:
|
|
1209
|
-
segment:
|
|
1210
|
-
transactionCategory:
|
|
1222
|
+
preferences: E.optional(),
|
|
1223
|
+
segment: J,
|
|
1224
|
+
transactionCategory: Y,
|
|
1211
1225
|
transactionType: a.string()
|
|
1212
|
-
}),
|
|
1213
|
-
"draft",
|
|
1214
|
-
"dataReady",
|
|
1215
|
-
"ready",
|
|
1216
|
-
"dataError",
|
|
1217
|
-
"renderError",
|
|
1218
|
-
"conversionError"
|
|
1219
|
-
]), J = a.enum([
|
|
1220
|
-
"quote",
|
|
1221
|
-
"policy",
|
|
1222
|
-
"invoice",
|
|
1223
|
-
"transaction",
|
|
1224
|
-
"segment",
|
|
1225
|
-
"term"
|
|
1226
|
-
]), A = a.object({
|
|
1226
|
+
}), g = a.object({
|
|
1227
1227
|
locator: a.string(),
|
|
1228
1228
|
staticName: a.string().optional(),
|
|
1229
1229
|
name: a.string().optional(),
|
|
1230
|
-
state:
|
|
1231
|
-
referenceType:
|
|
1232
|
-
}),
|
|
1230
|
+
state: s,
|
|
1231
|
+
referenceType: c
|
|
1232
|
+
}), Z = a.object({
|
|
1233
1233
|
locator: a.string(),
|
|
1234
1234
|
staticLocator: a.string(),
|
|
1235
1235
|
type: a.string(),
|
|
1236
1236
|
chargeSummaries: a.record(a.number()).optional(),
|
|
1237
1237
|
data: a.record(a.any()).optional()
|
|
1238
|
-
}),
|
|
1238
|
+
}), Q = a.object({
|
|
1239
1239
|
locator: a.string(),
|
|
1240
1240
|
startTime: a.string(),
|
|
1241
1241
|
endTime: a.string(),
|
|
1242
1242
|
duration: a.number(),
|
|
1243
1243
|
basedOn: a.string().optional(),
|
|
1244
1244
|
type: a.enum(["coverage", "gap"]),
|
|
1245
|
-
documentSummary:
|
|
1246
|
-
elements:
|
|
1247
|
-
}),
|
|
1245
|
+
documentSummary: g.array().optional(),
|
|
1246
|
+
elements: Z.array()
|
|
1247
|
+
}), da = a.object({
|
|
1248
1248
|
locator: a.string(),
|
|
1249
1249
|
staticLocator: a.string(),
|
|
1250
1250
|
policyLocator: a.string(),
|
|
1251
1251
|
startTime: a.string(),
|
|
1252
1252
|
endTime: a.string(),
|
|
1253
1253
|
duration: a.number(),
|
|
1254
|
-
durationBasis:
|
|
1254
|
+
durationBasis: m,
|
|
1255
|
+
termNumber: a.number().int(),
|
|
1256
|
+
subsegments: Q.array(),
|
|
1257
|
+
documentSummary: g.array().optional()
|
|
1258
|
+
}), $ = a.object({
|
|
1259
|
+
locator: a.string(),
|
|
1260
|
+
staticLocator: a.string(),
|
|
1261
|
+
name: a.string(),
|
|
1262
|
+
state: s,
|
|
1263
|
+
referenceType: c
|
|
1264
|
+
});
|
|
1265
|
+
a.object({
|
|
1266
|
+
locator: a.string(),
|
|
1267
|
+
staticLocator: a.string(),
|
|
1268
|
+
type: a.string(),
|
|
1269
|
+
chargeSummaries: a.record(a.number()),
|
|
1270
|
+
data: a.record(a.any())
|
|
1271
|
+
});
|
|
1272
|
+
const aa = a.object({
|
|
1273
|
+
locator: a.string(),
|
|
1274
|
+
startTime: a.string(),
|
|
1275
|
+
endTime: a.string(),
|
|
1276
|
+
duration: a.number(),
|
|
1277
|
+
basedOn: a.string(),
|
|
1278
|
+
type: a.enum(["coverage", "gap"]),
|
|
1279
|
+
documentSummary: $.array()
|
|
1280
|
+
}), d = a.object({
|
|
1281
|
+
locator: a.string(),
|
|
1282
|
+
staticLocator: a.string(),
|
|
1283
|
+
policyLocator: a.string(),
|
|
1284
|
+
startTime: a.string(),
|
|
1285
|
+
endTime: a.string()
|
|
1286
|
+
}), ya = d.extend({
|
|
1287
|
+
number: a.number().int(),
|
|
1288
|
+
autoRenewalLocator: a.string().optional(),
|
|
1289
|
+
previousTermLocator: a.string().optional(),
|
|
1290
|
+
supersedesTermLocator: a.string().optional()
|
|
1291
|
+
}), ha = d.extend({
|
|
1292
|
+
duration: a.number(),
|
|
1293
|
+
durationBasis: m,
|
|
1255
1294
|
termNumber: a.number().int(),
|
|
1256
|
-
subsegments:
|
|
1257
|
-
|
|
1258
|
-
}), pa = a.object({
|
|
1295
|
+
subsegments: aa.array()
|
|
1296
|
+
}), fa = a.object({
|
|
1259
1297
|
locator: a.string(),
|
|
1260
1298
|
accountLocator: a.string(),
|
|
1261
1299
|
productName: a.string(),
|
|
1262
1300
|
currency: a.string(),
|
|
1263
1301
|
timezone: a.string(),
|
|
1264
|
-
transaction:
|
|
1302
|
+
transaction: X,
|
|
1265
1303
|
static: a.record(a.any()).optional(),
|
|
1266
1304
|
delinquencyPlanName: a.string().optional()
|
|
1305
|
+
}), Sa = a.object({
|
|
1306
|
+
locator: a.string(),
|
|
1307
|
+
referenceLocator: a.string(),
|
|
1308
|
+
state: s,
|
|
1309
|
+
createdAt: a.string(),
|
|
1310
|
+
referenceType: c.optional(),
|
|
1311
|
+
metadata: a.record(a.any()).optional(),
|
|
1312
|
+
renderingData: a.record(a.any()).optional(),
|
|
1313
|
+
policyLocator: a.string().optional(),
|
|
1314
|
+
referenceDocumentLocator: a.string().optional(),
|
|
1315
|
+
segmentLocator: a.string().optional(),
|
|
1316
|
+
termLocator: a.string().optional(),
|
|
1317
|
+
transactionLocator: a.string().optional(),
|
|
1318
|
+
staticName: a.string().optional(),
|
|
1319
|
+
name: a.string().optional(),
|
|
1320
|
+
createdBy: a.string().optional(),
|
|
1321
|
+
documentFormat: a.enum(["text", "html", "pdf"]).optional(),
|
|
1322
|
+
processingErrors: a.string().optional(),
|
|
1323
|
+
readyAt: a.string().optional()
|
|
1267
1324
|
});
|
|
1268
1325
|
export {
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1326
|
+
p as accountBillingLevelEnumSchema,
|
|
1327
|
+
M as accountConfigRecordSchema,
|
|
1328
|
+
P as accountConfigSchema,
|
|
1329
|
+
ma as accountRequestSchema,
|
|
1330
|
+
ua as accountResponseSchema,
|
|
1331
|
+
V as accountStateEnumSchema,
|
|
1332
|
+
R as advanceLapseToSchema,
|
|
1333
|
+
h as anchorModeEnumSchema,
|
|
1334
|
+
f as anchorTypeEnumSchema,
|
|
1335
|
+
C as autoRenewalPlanSchema,
|
|
1279
1336
|
r as billingLevelEnumSchema,
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1337
|
+
S as cadenceEnumSchema,
|
|
1338
|
+
B as coverageTermOptionSchema,
|
|
1339
|
+
k as coverageTermSchema,
|
|
1340
|
+
L as coverageTermsRecordSchema,
|
|
1341
|
+
ia as currencyEnumSchema,
|
|
1342
|
+
ta as dataModelSchema,
|
|
1343
|
+
I as dataTypeConfigSchema,
|
|
1344
|
+
ra as dataTypesRecordSchema,
|
|
1345
|
+
T as dayOfWeekEnumSchema,
|
|
1346
|
+
N as delinquencyLevelSchema,
|
|
1347
|
+
G as delinquencyPlanRecordsSchema,
|
|
1348
|
+
v as delinquencyPlanSchema,
|
|
1349
|
+
c as documentReferenceTypeEnumSchema,
|
|
1350
|
+
Sa as documentResponseSchema,
|
|
1351
|
+
s as documentStateEnumSchema,
|
|
1352
|
+
g as documentSummarySchema,
|
|
1295
1353
|
e as elementConfigRecordSchema,
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1354
|
+
_ as elementConfigSchema,
|
|
1355
|
+
q as elementRequestSchema,
|
|
1356
|
+
l as elementResponseSchema,
|
|
1357
|
+
Z as elementSummarySchema,
|
|
1358
|
+
oa as fieldConfigRecordSchema,
|
|
1301
1359
|
n as fieldConfigSchema,
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1360
|
+
pa as optionalQuantifiersSchema,
|
|
1361
|
+
z as policyBillingLevelEnumSchema,
|
|
1362
|
+
F as policyBillingTriggerEnumSchema,
|
|
1363
|
+
m as policyDurationBasisEnumSchema,
|
|
1364
|
+
ga as policyResponseSchema,
|
|
1365
|
+
fa as policySnapshotResponseSchema,
|
|
1366
|
+
ya as policyTermResponseSchema,
|
|
1367
|
+
ha as policyTermSummaryResponse,
|
|
1368
|
+
E as preferencesResponseSchema,
|
|
1369
|
+
K as productConfigRecordSchema,
|
|
1370
|
+
w as productConfigSchema,
|
|
1371
|
+
Aa as quantifiersSchema,
|
|
1372
|
+
O as quoteBillingLevelEnumSchema,
|
|
1373
|
+
U as quoteBillingTriggerEnumSchema,
|
|
1374
|
+
A as quoteDurationBasisEnumSchema,
|
|
1375
|
+
x as quotePriceChargeCategoryEnum,
|
|
1376
|
+
W as quotePriceChargeResponseSchema,
|
|
1377
|
+
la as quotePriceResponseSchema,
|
|
1378
|
+
ca as quoteRequestSchema,
|
|
1379
|
+
sa as quoteResponseSchema,
|
|
1380
|
+
u as quoteStateEnumSchema,
|
|
1381
|
+
J as segmentResponseSchema,
|
|
1382
|
+
Q as subsegmentSummarySchema,
|
|
1383
|
+
da as termSummarySchema,
|
|
1384
|
+
na as timezoneEnumSchema,
|
|
1385
|
+
Y as transactionCategoryEnumSchema,
|
|
1386
|
+
X as transactionSnapshotResponseSchema,
|
|
1327
1387
|
t as validationResultSchema,
|
|
1328
|
-
|
|
1388
|
+
b as weekOfMonthEnumSchema
|
|
1329
1389
|
};
|
|
1330
1390
|
//# sourceMappingURL=index.es.js.map
|