@hyperscale0/udl 1.0.125 → 1.0.130
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/field-value.d.ts.map +1 -1
- package/dist/field-value.js +7 -2
- package/dist/field-value.js.map +1 -1
- package/dist/finance.d.ts.map +1 -1
- package/dist/finance.js +87 -6
- package/dist/finance.js.map +1 -1
- package/dist/object-semantics-schema.d.ts +359 -0
- package/dist/object-semantics-schema.d.ts.map +1 -1
- package/dist/object-semantics.d.ts +3 -2
- package/dist/object-semantics.d.ts.map +1 -1
- package/dist/object-semantics.js +3 -2
- package/dist/object-semantics.js.map +1 -1
- package/dist/schema.d.ts +386 -0
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +13 -0
- package/dist/schema.js.map +1 -1
- package/dist/validation.d.ts.map +1 -1
- package/dist/validation.js +14 -0
- package/dist/validation.js.map +1 -1
- package/package.json +2 -2
- package/spec/README.md +11 -3
- package/spec/udl.schema.json +65 -0
- package/src/field-value.ts +8 -2
- package/src/finance.ts +113 -9
- package/src/object-semantics.ts +3 -2
- package/src/schema.ts +13 -0
- package/src/validation.ts +22 -0
package/dist/schema.d.ts
CHANGED
|
@@ -1024,6 +1024,20 @@ declare const selection: z.ZodObject<{
|
|
|
1024
1024
|
field: z.ZodString;
|
|
1025
1025
|
milliseconds: z.ZodNumber;
|
|
1026
1026
|
}, z.core.$strict>>;
|
|
1027
|
+
overlaps: z.ZodOptional<z.ZodObject<{
|
|
1028
|
+
start: z.ZodString;
|
|
1029
|
+
end: z.ZodString;
|
|
1030
|
+
from: z.ZodUnion<readonly [z.ZodObject<{
|
|
1031
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1032
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1033
|
+
field: z.ZodString;
|
|
1034
|
+
}, z.core.$strict>]>;
|
|
1035
|
+
until: z.ZodUnion<readonly [z.ZodObject<{
|
|
1036
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1037
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1038
|
+
field: z.ZodString;
|
|
1039
|
+
}, z.core.$strict>]>;
|
|
1040
|
+
}, z.core.$strict>>;
|
|
1027
1041
|
where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
1028
1042
|
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1029
1043
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1059,6 +1073,20 @@ export declare const udlCalculationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
1059
1073
|
field: z.ZodString;
|
|
1060
1074
|
milliseconds: z.ZodNumber;
|
|
1061
1075
|
}, z.core.$strict>>;
|
|
1076
|
+
overlaps: z.ZodOptional<z.ZodObject<{
|
|
1077
|
+
start: z.ZodString;
|
|
1078
|
+
end: z.ZodString;
|
|
1079
|
+
from: z.ZodUnion<readonly [z.ZodObject<{
|
|
1080
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1081
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1082
|
+
field: z.ZodString;
|
|
1083
|
+
}, z.core.$strict>]>;
|
|
1084
|
+
until: z.ZodUnion<readonly [z.ZodObject<{
|
|
1085
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1086
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1087
|
+
field: z.ZodString;
|
|
1088
|
+
}, z.core.$strict>]>;
|
|
1089
|
+
}, z.core.$strict>>;
|
|
1062
1090
|
where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
1063
1091
|
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1064
1092
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1157,6 +1185,33 @@ export declare const udlCalculationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
1157
1185
|
field: z.ZodString;
|
|
1158
1186
|
}, z.core.$strict>]>;
|
|
1159
1187
|
rounding: z.ZodLiteral<"floor">;
|
|
1188
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1189
|
+
target: z.ZodString;
|
|
1190
|
+
op: z.ZodLiteral<"annuity">;
|
|
1191
|
+
amount: z.ZodUnion<readonly [z.ZodObject<{
|
|
1192
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1193
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1194
|
+
field: z.ZodString;
|
|
1195
|
+
}, z.core.$strict>]>;
|
|
1196
|
+
rate: z.ZodUnion<readonly [z.ZodObject<{
|
|
1197
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1198
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1199
|
+
field: z.ZodString;
|
|
1200
|
+
}, z.core.$strict>]>;
|
|
1201
|
+
periods: z.ZodUnion<readonly [z.ZodObject<{
|
|
1202
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1203
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1204
|
+
field: z.ZodString;
|
|
1205
|
+
}, z.core.$strict>]>;
|
|
1206
|
+
position: z.ZodUnion<readonly [z.ZodObject<{
|
|
1207
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1208
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1209
|
+
field: z.ZodString;
|
|
1210
|
+
}, z.core.$strict>]>;
|
|
1211
|
+
part: z.ZodEnum<{
|
|
1212
|
+
interest: "interest";
|
|
1213
|
+
principal: "principal";
|
|
1214
|
+
}>;
|
|
1160
1215
|
}, z.core.$strict>, z.ZodObject<{
|
|
1161
1216
|
target: z.ZodString;
|
|
1162
1217
|
op: z.ZodLiteral<"shift">;
|
|
@@ -1227,6 +1282,20 @@ export declare const udlRequirementSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
1227
1282
|
field: z.ZodString;
|
|
1228
1283
|
milliseconds: z.ZodNumber;
|
|
1229
1284
|
}, z.core.$strict>>;
|
|
1285
|
+
overlaps: z.ZodOptional<z.ZodObject<{
|
|
1286
|
+
start: z.ZodString;
|
|
1287
|
+
end: z.ZodString;
|
|
1288
|
+
from: z.ZodUnion<readonly [z.ZodObject<{
|
|
1289
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1290
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1291
|
+
field: z.ZodString;
|
|
1292
|
+
}, z.core.$strict>]>;
|
|
1293
|
+
until: z.ZodUnion<readonly [z.ZodObject<{
|
|
1294
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1295
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1296
|
+
field: z.ZodString;
|
|
1297
|
+
}, z.core.$strict>]>;
|
|
1298
|
+
}, z.core.$strict>>;
|
|
1230
1299
|
where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
1231
1300
|
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1232
1301
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1833,6 +1902,20 @@ export declare const udlActionSchema: z.ZodObject<{
|
|
|
1833
1902
|
field: z.ZodString;
|
|
1834
1903
|
milliseconds: z.ZodNumber;
|
|
1835
1904
|
}, z.core.$strict>>;
|
|
1905
|
+
overlaps: z.ZodOptional<z.ZodObject<{
|
|
1906
|
+
start: z.ZodString;
|
|
1907
|
+
end: z.ZodString;
|
|
1908
|
+
from: z.ZodUnion<readonly [z.ZodObject<{
|
|
1909
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1910
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1911
|
+
field: z.ZodString;
|
|
1912
|
+
}, z.core.$strict>]>;
|
|
1913
|
+
until: z.ZodUnion<readonly [z.ZodObject<{
|
|
1914
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1915
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1916
|
+
field: z.ZodString;
|
|
1917
|
+
}, z.core.$strict>]>;
|
|
1918
|
+
}, z.core.$strict>>;
|
|
1836
1919
|
where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
1837
1920
|
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1838
1921
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1922,6 +2005,20 @@ export declare const udlActionSchema: z.ZodObject<{
|
|
|
1922
2005
|
field: z.ZodString;
|
|
1923
2006
|
milliseconds: z.ZodNumber;
|
|
1924
2007
|
}, z.core.$strict>>;
|
|
2008
|
+
overlaps: z.ZodOptional<z.ZodObject<{
|
|
2009
|
+
start: z.ZodString;
|
|
2010
|
+
end: z.ZodString;
|
|
2011
|
+
from: z.ZodUnion<readonly [z.ZodObject<{
|
|
2012
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2013
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2014
|
+
field: z.ZodString;
|
|
2015
|
+
}, z.core.$strict>]>;
|
|
2016
|
+
until: z.ZodUnion<readonly [z.ZodObject<{
|
|
2017
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2018
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2019
|
+
field: z.ZodString;
|
|
2020
|
+
}, z.core.$strict>]>;
|
|
2021
|
+
}, z.core.$strict>>;
|
|
1925
2022
|
where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
1926
2023
|
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1927
2024
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2020,6 +2117,33 @@ export declare const udlActionSchema: z.ZodObject<{
|
|
|
2020
2117
|
field: z.ZodString;
|
|
2021
2118
|
}, z.core.$strict>]>;
|
|
2022
2119
|
rounding: z.ZodLiteral<"floor">;
|
|
2120
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2121
|
+
target: z.ZodString;
|
|
2122
|
+
op: z.ZodLiteral<"annuity">;
|
|
2123
|
+
amount: z.ZodUnion<readonly [z.ZodObject<{
|
|
2124
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2125
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2126
|
+
field: z.ZodString;
|
|
2127
|
+
}, z.core.$strict>]>;
|
|
2128
|
+
rate: z.ZodUnion<readonly [z.ZodObject<{
|
|
2129
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2130
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2131
|
+
field: z.ZodString;
|
|
2132
|
+
}, z.core.$strict>]>;
|
|
2133
|
+
periods: z.ZodUnion<readonly [z.ZodObject<{
|
|
2134
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2135
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2136
|
+
field: z.ZodString;
|
|
2137
|
+
}, z.core.$strict>]>;
|
|
2138
|
+
position: z.ZodUnion<readonly [z.ZodObject<{
|
|
2139
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2140
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2141
|
+
field: z.ZodString;
|
|
2142
|
+
}, z.core.$strict>]>;
|
|
2143
|
+
part: z.ZodEnum<{
|
|
2144
|
+
interest: "interest";
|
|
2145
|
+
principal: "principal";
|
|
2146
|
+
}>;
|
|
2023
2147
|
}, z.core.$strict>, z.ZodObject<{
|
|
2024
2148
|
target: z.ZodString;
|
|
2025
2149
|
op: z.ZodLiteral<"shift">;
|
|
@@ -2206,6 +2330,20 @@ export declare const udlActionSchema: z.ZodObject<{
|
|
|
2206
2330
|
field: z.ZodString;
|
|
2207
2331
|
milliseconds: z.ZodNumber;
|
|
2208
2332
|
}, z.core.$strict>>;
|
|
2333
|
+
overlaps: z.ZodOptional<z.ZodObject<{
|
|
2334
|
+
start: z.ZodString;
|
|
2335
|
+
end: z.ZodString;
|
|
2336
|
+
from: z.ZodUnion<readonly [z.ZodObject<{
|
|
2337
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2338
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2339
|
+
field: z.ZodString;
|
|
2340
|
+
}, z.core.$strict>]>;
|
|
2341
|
+
until: z.ZodUnion<readonly [z.ZodObject<{
|
|
2342
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2343
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2344
|
+
field: z.ZodString;
|
|
2345
|
+
}, z.core.$strict>]>;
|
|
2346
|
+
}, z.core.$strict>>;
|
|
2209
2347
|
where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
2210
2348
|
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2211
2349
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2805,6 +2943,20 @@ export declare const udlInstrumentSchema: z.ZodObject<{
|
|
|
2805
2943
|
field: z.ZodString;
|
|
2806
2944
|
milliseconds: z.ZodNumber;
|
|
2807
2945
|
}, z.core.$strict>>;
|
|
2946
|
+
overlaps: z.ZodOptional<z.ZodObject<{
|
|
2947
|
+
start: z.ZodString;
|
|
2948
|
+
end: z.ZodString;
|
|
2949
|
+
from: z.ZodUnion<readonly [z.ZodObject<{
|
|
2950
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2951
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2952
|
+
field: z.ZodString;
|
|
2953
|
+
}, z.core.$strict>]>;
|
|
2954
|
+
until: z.ZodUnion<readonly [z.ZodObject<{
|
|
2955
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2956
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2957
|
+
field: z.ZodString;
|
|
2958
|
+
}, z.core.$strict>]>;
|
|
2959
|
+
}, z.core.$strict>>;
|
|
2808
2960
|
where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
2809
2961
|
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2810
2962
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2903,6 +3055,33 @@ export declare const udlInstrumentSchema: z.ZodObject<{
|
|
|
2903
3055
|
field: z.ZodString;
|
|
2904
3056
|
}, z.core.$strict>]>;
|
|
2905
3057
|
rounding: z.ZodLiteral<"floor">;
|
|
3058
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3059
|
+
target: z.ZodString;
|
|
3060
|
+
op: z.ZodLiteral<"annuity">;
|
|
3061
|
+
amount: z.ZodUnion<readonly [z.ZodObject<{
|
|
3062
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3063
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3064
|
+
field: z.ZodString;
|
|
3065
|
+
}, z.core.$strict>]>;
|
|
3066
|
+
rate: z.ZodUnion<readonly [z.ZodObject<{
|
|
3067
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3068
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3069
|
+
field: z.ZodString;
|
|
3070
|
+
}, z.core.$strict>]>;
|
|
3071
|
+
periods: z.ZodUnion<readonly [z.ZodObject<{
|
|
3072
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3073
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3074
|
+
field: z.ZodString;
|
|
3075
|
+
}, z.core.$strict>]>;
|
|
3076
|
+
position: z.ZodUnion<readonly [z.ZodObject<{
|
|
3077
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3078
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3079
|
+
field: z.ZodString;
|
|
3080
|
+
}, z.core.$strict>]>;
|
|
3081
|
+
part: z.ZodEnum<{
|
|
3082
|
+
interest: "interest";
|
|
3083
|
+
principal: "principal";
|
|
3084
|
+
}>;
|
|
2906
3085
|
}, z.core.$strict>, z.ZodObject<{
|
|
2907
3086
|
target: z.ZodString;
|
|
2908
3087
|
op: z.ZodLiteral<"shift">;
|
|
@@ -3416,6 +3595,20 @@ export declare const udlInstrumentSchema: z.ZodObject<{
|
|
|
3416
3595
|
field: z.ZodString;
|
|
3417
3596
|
milliseconds: z.ZodNumber;
|
|
3418
3597
|
}, z.core.$strict>>;
|
|
3598
|
+
overlaps: z.ZodOptional<z.ZodObject<{
|
|
3599
|
+
start: z.ZodString;
|
|
3600
|
+
end: z.ZodString;
|
|
3601
|
+
from: z.ZodUnion<readonly [z.ZodObject<{
|
|
3602
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3603
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3604
|
+
field: z.ZodString;
|
|
3605
|
+
}, z.core.$strict>]>;
|
|
3606
|
+
until: z.ZodUnion<readonly [z.ZodObject<{
|
|
3607
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3608
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3609
|
+
field: z.ZodString;
|
|
3610
|
+
}, z.core.$strict>]>;
|
|
3611
|
+
}, z.core.$strict>>;
|
|
3419
3612
|
where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
3420
3613
|
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3421
3614
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3505,6 +3698,20 @@ export declare const udlInstrumentSchema: z.ZodObject<{
|
|
|
3505
3698
|
field: z.ZodString;
|
|
3506
3699
|
milliseconds: z.ZodNumber;
|
|
3507
3700
|
}, z.core.$strict>>;
|
|
3701
|
+
overlaps: z.ZodOptional<z.ZodObject<{
|
|
3702
|
+
start: z.ZodString;
|
|
3703
|
+
end: z.ZodString;
|
|
3704
|
+
from: z.ZodUnion<readonly [z.ZodObject<{
|
|
3705
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3706
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3707
|
+
field: z.ZodString;
|
|
3708
|
+
}, z.core.$strict>]>;
|
|
3709
|
+
until: z.ZodUnion<readonly [z.ZodObject<{
|
|
3710
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3711
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3712
|
+
field: z.ZodString;
|
|
3713
|
+
}, z.core.$strict>]>;
|
|
3714
|
+
}, z.core.$strict>>;
|
|
3508
3715
|
where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
3509
3716
|
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3510
3717
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3603,6 +3810,33 @@ export declare const udlInstrumentSchema: z.ZodObject<{
|
|
|
3603
3810
|
field: z.ZodString;
|
|
3604
3811
|
}, z.core.$strict>]>;
|
|
3605
3812
|
rounding: z.ZodLiteral<"floor">;
|
|
3813
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3814
|
+
target: z.ZodString;
|
|
3815
|
+
op: z.ZodLiteral<"annuity">;
|
|
3816
|
+
amount: z.ZodUnion<readonly [z.ZodObject<{
|
|
3817
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3818
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3819
|
+
field: z.ZodString;
|
|
3820
|
+
}, z.core.$strict>]>;
|
|
3821
|
+
rate: z.ZodUnion<readonly [z.ZodObject<{
|
|
3822
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3823
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3824
|
+
field: z.ZodString;
|
|
3825
|
+
}, z.core.$strict>]>;
|
|
3826
|
+
periods: z.ZodUnion<readonly [z.ZodObject<{
|
|
3827
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3828
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3829
|
+
field: z.ZodString;
|
|
3830
|
+
}, z.core.$strict>]>;
|
|
3831
|
+
position: z.ZodUnion<readonly [z.ZodObject<{
|
|
3832
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3833
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3834
|
+
field: z.ZodString;
|
|
3835
|
+
}, z.core.$strict>]>;
|
|
3836
|
+
part: z.ZodEnum<{
|
|
3837
|
+
interest: "interest";
|
|
3838
|
+
principal: "principal";
|
|
3839
|
+
}>;
|
|
3606
3840
|
}, z.core.$strict>, z.ZodObject<{
|
|
3607
3841
|
target: z.ZodString;
|
|
3608
3842
|
op: z.ZodLiteral<"shift">;
|
|
@@ -3789,6 +4023,20 @@ export declare const udlInstrumentSchema: z.ZodObject<{
|
|
|
3789
4023
|
field: z.ZodString;
|
|
3790
4024
|
milliseconds: z.ZodNumber;
|
|
3791
4025
|
}, z.core.$strict>>;
|
|
4026
|
+
overlaps: z.ZodOptional<z.ZodObject<{
|
|
4027
|
+
start: z.ZodString;
|
|
4028
|
+
end: z.ZodString;
|
|
4029
|
+
from: z.ZodUnion<readonly [z.ZodObject<{
|
|
4030
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
4031
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4032
|
+
field: z.ZodString;
|
|
4033
|
+
}, z.core.$strict>]>;
|
|
4034
|
+
until: z.ZodUnion<readonly [z.ZodObject<{
|
|
4035
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
4036
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4037
|
+
field: z.ZodString;
|
|
4038
|
+
}, z.core.$strict>]>;
|
|
4039
|
+
}, z.core.$strict>>;
|
|
3792
4040
|
where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
3793
4041
|
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3794
4042
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3877,6 +4125,20 @@ export declare const udlInstrumentSchema: z.ZodObject<{
|
|
|
3877
4125
|
field: z.ZodString;
|
|
3878
4126
|
milliseconds: z.ZodNumber;
|
|
3879
4127
|
}, z.core.$strict>>;
|
|
4128
|
+
overlaps: z.ZodOptional<z.ZodObject<{
|
|
4129
|
+
start: z.ZodString;
|
|
4130
|
+
end: z.ZodString;
|
|
4131
|
+
from: z.ZodUnion<readonly [z.ZodObject<{
|
|
4132
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
4133
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4134
|
+
field: z.ZodString;
|
|
4135
|
+
}, z.core.$strict>]>;
|
|
4136
|
+
until: z.ZodUnion<readonly [z.ZodObject<{
|
|
4137
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
4138
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4139
|
+
field: z.ZodString;
|
|
4140
|
+
}, z.core.$strict>]>;
|
|
4141
|
+
}, z.core.$strict>>;
|
|
3880
4142
|
where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
3881
4143
|
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3882
4144
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4618,6 +4880,20 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
4618
4880
|
field: z.ZodString;
|
|
4619
4881
|
milliseconds: z.ZodNumber;
|
|
4620
4882
|
}, z.core.$strict>>;
|
|
4883
|
+
overlaps: z.ZodOptional<z.ZodObject<{
|
|
4884
|
+
start: z.ZodString;
|
|
4885
|
+
end: z.ZodString;
|
|
4886
|
+
from: z.ZodUnion<readonly [z.ZodObject<{
|
|
4887
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
4888
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4889
|
+
field: z.ZodString;
|
|
4890
|
+
}, z.core.$strict>]>;
|
|
4891
|
+
until: z.ZodUnion<readonly [z.ZodObject<{
|
|
4892
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
4893
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4894
|
+
field: z.ZodString;
|
|
4895
|
+
}, z.core.$strict>]>;
|
|
4896
|
+
}, z.core.$strict>>;
|
|
4621
4897
|
where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
4622
4898
|
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
4623
4899
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4716,6 +4992,33 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
4716
4992
|
field: z.ZodString;
|
|
4717
4993
|
}, z.core.$strict>]>;
|
|
4718
4994
|
rounding: z.ZodLiteral<"floor">;
|
|
4995
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4996
|
+
target: z.ZodString;
|
|
4997
|
+
op: z.ZodLiteral<"annuity">;
|
|
4998
|
+
amount: z.ZodUnion<readonly [z.ZodObject<{
|
|
4999
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
5000
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5001
|
+
field: z.ZodString;
|
|
5002
|
+
}, z.core.$strict>]>;
|
|
5003
|
+
rate: z.ZodUnion<readonly [z.ZodObject<{
|
|
5004
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
5005
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5006
|
+
field: z.ZodString;
|
|
5007
|
+
}, z.core.$strict>]>;
|
|
5008
|
+
periods: z.ZodUnion<readonly [z.ZodObject<{
|
|
5009
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
5010
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5011
|
+
field: z.ZodString;
|
|
5012
|
+
}, z.core.$strict>]>;
|
|
5013
|
+
position: z.ZodUnion<readonly [z.ZodObject<{
|
|
5014
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
5015
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5016
|
+
field: z.ZodString;
|
|
5017
|
+
}, z.core.$strict>]>;
|
|
5018
|
+
part: z.ZodEnum<{
|
|
5019
|
+
interest: "interest";
|
|
5020
|
+
principal: "principal";
|
|
5021
|
+
}>;
|
|
4719
5022
|
}, z.core.$strict>, z.ZodObject<{
|
|
4720
5023
|
target: z.ZodString;
|
|
4721
5024
|
op: z.ZodLiteral<"shift">;
|
|
@@ -5229,6 +5532,20 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
5229
5532
|
field: z.ZodString;
|
|
5230
5533
|
milliseconds: z.ZodNumber;
|
|
5231
5534
|
}, z.core.$strict>>;
|
|
5535
|
+
overlaps: z.ZodOptional<z.ZodObject<{
|
|
5536
|
+
start: z.ZodString;
|
|
5537
|
+
end: z.ZodString;
|
|
5538
|
+
from: z.ZodUnion<readonly [z.ZodObject<{
|
|
5539
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
5540
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5541
|
+
field: z.ZodString;
|
|
5542
|
+
}, z.core.$strict>]>;
|
|
5543
|
+
until: z.ZodUnion<readonly [z.ZodObject<{
|
|
5544
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
5545
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5546
|
+
field: z.ZodString;
|
|
5547
|
+
}, z.core.$strict>]>;
|
|
5548
|
+
}, z.core.$strict>>;
|
|
5232
5549
|
where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
5233
5550
|
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
5234
5551
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5318,6 +5635,20 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
5318
5635
|
field: z.ZodString;
|
|
5319
5636
|
milliseconds: z.ZodNumber;
|
|
5320
5637
|
}, z.core.$strict>>;
|
|
5638
|
+
overlaps: z.ZodOptional<z.ZodObject<{
|
|
5639
|
+
start: z.ZodString;
|
|
5640
|
+
end: z.ZodString;
|
|
5641
|
+
from: z.ZodUnion<readonly [z.ZodObject<{
|
|
5642
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
5643
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5644
|
+
field: z.ZodString;
|
|
5645
|
+
}, z.core.$strict>]>;
|
|
5646
|
+
until: z.ZodUnion<readonly [z.ZodObject<{
|
|
5647
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
5648
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5649
|
+
field: z.ZodString;
|
|
5650
|
+
}, z.core.$strict>]>;
|
|
5651
|
+
}, z.core.$strict>>;
|
|
5321
5652
|
where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
5322
5653
|
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
5323
5654
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5416,6 +5747,33 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
5416
5747
|
field: z.ZodString;
|
|
5417
5748
|
}, z.core.$strict>]>;
|
|
5418
5749
|
rounding: z.ZodLiteral<"floor">;
|
|
5750
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5751
|
+
target: z.ZodString;
|
|
5752
|
+
op: z.ZodLiteral<"annuity">;
|
|
5753
|
+
amount: z.ZodUnion<readonly [z.ZodObject<{
|
|
5754
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
5755
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5756
|
+
field: z.ZodString;
|
|
5757
|
+
}, z.core.$strict>]>;
|
|
5758
|
+
rate: z.ZodUnion<readonly [z.ZodObject<{
|
|
5759
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
5760
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5761
|
+
field: z.ZodString;
|
|
5762
|
+
}, z.core.$strict>]>;
|
|
5763
|
+
periods: z.ZodUnion<readonly [z.ZodObject<{
|
|
5764
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
5765
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5766
|
+
field: z.ZodString;
|
|
5767
|
+
}, z.core.$strict>]>;
|
|
5768
|
+
position: z.ZodUnion<readonly [z.ZodObject<{
|
|
5769
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
5770
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5771
|
+
field: z.ZodString;
|
|
5772
|
+
}, z.core.$strict>]>;
|
|
5773
|
+
part: z.ZodEnum<{
|
|
5774
|
+
interest: "interest";
|
|
5775
|
+
principal: "principal";
|
|
5776
|
+
}>;
|
|
5419
5777
|
}, z.core.$strict>, z.ZodObject<{
|
|
5420
5778
|
target: z.ZodString;
|
|
5421
5779
|
op: z.ZodLiteral<"shift">;
|
|
@@ -5602,6 +5960,20 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
5602
5960
|
field: z.ZodString;
|
|
5603
5961
|
milliseconds: z.ZodNumber;
|
|
5604
5962
|
}, z.core.$strict>>;
|
|
5963
|
+
overlaps: z.ZodOptional<z.ZodObject<{
|
|
5964
|
+
start: z.ZodString;
|
|
5965
|
+
end: z.ZodString;
|
|
5966
|
+
from: z.ZodUnion<readonly [z.ZodObject<{
|
|
5967
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
5968
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5969
|
+
field: z.ZodString;
|
|
5970
|
+
}, z.core.$strict>]>;
|
|
5971
|
+
until: z.ZodUnion<readonly [z.ZodObject<{
|
|
5972
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
5973
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5974
|
+
field: z.ZodString;
|
|
5975
|
+
}, z.core.$strict>]>;
|
|
5976
|
+
}, z.core.$strict>>;
|
|
5605
5977
|
where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
5606
5978
|
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
5607
5979
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5690,6 +6062,20 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
5690
6062
|
field: z.ZodString;
|
|
5691
6063
|
milliseconds: z.ZodNumber;
|
|
5692
6064
|
}, z.core.$strict>>;
|
|
6065
|
+
overlaps: z.ZodOptional<z.ZodObject<{
|
|
6066
|
+
start: z.ZodString;
|
|
6067
|
+
end: z.ZodString;
|
|
6068
|
+
from: z.ZodUnion<readonly [z.ZodObject<{
|
|
6069
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
6070
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6071
|
+
field: z.ZodString;
|
|
6072
|
+
}, z.core.$strict>]>;
|
|
6073
|
+
until: z.ZodUnion<readonly [z.ZodObject<{
|
|
6074
|
+
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
6075
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6076
|
+
field: z.ZodString;
|
|
6077
|
+
}, z.core.$strict>]>;
|
|
6078
|
+
}, z.core.$strict>>;
|
|
5693
6079
|
where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
5694
6080
|
literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
5695
6081
|
}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AwB,CAAC,CAAC;AAE1E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAErD,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,4BAA4B,CACpC,CAAC;AAEF,4EAA4E;AAC5E,wBAAgB,eAAe,CAC7B,IAAI,EAAE,cAAc,EACpB,KAAK,EAAE,cAAc,GACpB,OAAO,CAYT"}
|
package/dist/schema.js
CHANGED
|
@@ -214,6 +214,10 @@ const selection = z.strictObject({
|
|
|
214
214
|
window: z
|
|
215
215
|
.strictObject({ field: name, milliseconds: integer.positive() })
|
|
216
216
|
.optional(),
|
|
217
|
+
/** Rows whose half-open [start, end) period meets [from, until). */
|
|
218
|
+
overlaps: z
|
|
219
|
+
.strictObject({ start: name, end: name, from: value, until: value })
|
|
220
|
+
.optional(),
|
|
217
221
|
where: z
|
|
218
222
|
.record(path, value)
|
|
219
223
|
.refine((filters) => Object.keys(filters).length <= 8, "at most eight selection filters")
|
|
@@ -270,6 +274,15 @@ export const udlCalculationSchema = z.discriminatedUnion("op", [
|
|
|
270
274
|
divisor: value,
|
|
271
275
|
rounding: z.literal("floor"),
|
|
272
276
|
}),
|
|
277
|
+
z.strictObject({
|
|
278
|
+
target: name,
|
|
279
|
+
op: z.literal("annuity"),
|
|
280
|
+
amount: value,
|
|
281
|
+
rate: value,
|
|
282
|
+
periods: value,
|
|
283
|
+
position: value,
|
|
284
|
+
part: z.enum(["principal", "interest"]),
|
|
285
|
+
}),
|
|
273
286
|
z.strictObject({
|
|
274
287
|
target: name,
|
|
275
288
|
op: z.literal("shift"),
|