@hyperscale0/udl 2.3.0 → 2.4.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/CHANGELOG.md +26 -0
- package/README.md +5 -1
- package/conformance/invalid/invalid-journeys.expected.json +3 -19
- package/conformance/invalid/invalid-journeys.udl +47 -49
- package/conformance/valid/attested.expected.json +6 -0
- package/conformance/valid/attested.udl +251 -0
- package/conformance/valid/hand-edited.expected.json +1 -1
- package/conformance/valid/hand-edited.udl +1 -1
- package/conformance/valid/minimal.expected.json +1 -1
- package/conformance/valid/minimal.udl +0 -15
- package/conformance/valid/vocabulary.expected.json +6 -0
- package/conformance/valid/vocabulary.udl +1999 -0
- package/dist/allocation.d.ts +60 -0
- package/dist/allocation.d.ts.map +1 -0
- package/dist/allocation.js +177 -0
- package/dist/allocation.js.map +1 -0
- package/dist/diagnostics.d.ts +1 -31
- package/dist/diagnostics.d.ts.map +1 -1
- package/dist/diagnostics.js +0 -30
- package/dist/diagnostics.js.map +1 -1
- package/dist/distribution.d.ts +15 -0
- package/dist/distribution.d.ts.map +1 -0
- package/dist/distribution.js +49 -0
- package/dist/distribution.js.map +1 -0
- package/dist/effects.d.ts.map +1 -1
- package/dist/effects.js +23 -1
- package/dist/effects.js.map +1 -1
- package/dist/evolution.d.ts +12 -0
- package/dist/evolution.d.ts.map +1 -1
- package/dist/evolution.js +42 -1
- package/dist/evolution.js.map +1 -1
- package/dist/finance.d.ts +18 -1
- package/dist/finance.d.ts.map +1 -1
- package/dist/finance.js +158 -27
- package/dist/finance.js.map +1 -1
- package/dist/index.d.ts +8 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/instrument-references.d.ts +5 -0
- package/dist/instrument-references.d.ts.map +1 -0
- package/dist/instrument-references.js +69 -0
- package/dist/instrument-references.js.map +1 -0
- package/dist/limits.d.ts +3 -3
- package/dist/limits.d.ts.map +1 -1
- package/dist/limits.js +3 -7
- package/dist/limits.js.map +1 -1
- package/dist/reference.d.ts +3 -0
- package/dist/reference.d.ts.map +1 -0
- package/dist/reference.js +28 -0
- package/dist/reference.js.map +1 -0
- package/dist/schema.d.ts +1232 -83
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +398 -60
- package/dist/schema.js.map +1 -1
- package/dist/validation.d.ts +14 -0
- package/dist/validation.d.ts.map +1 -1
- package/dist/validation.js +75 -131
- package/dist/validation.js.map +1 -1
- package/dist/vocabulary.d.ts +23 -0
- package/dist/vocabulary.d.ts.map +1 -0
- package/dist/vocabulary.js +965 -0
- package/dist/vocabulary.js.map +1 -0
- package/docs/README.md +2 -1
- package/docs/funding-custody.md +165 -0
- package/docs/guide/09-schedules-and-allocation.md +130 -0
- package/docs/llms-full.txt +620 -101
- package/docs/llms.txt +1 -1
- package/docs/reference/clauses.md +451 -63
- package/docs/reference/cli.md +3 -1
- package/docs/reference/diagnostics.md +33 -38
- package/package.json +5 -6
- package/spec/udl.schema.json +1095 -118
- package/src/allocation.ts +259 -0
- package/src/diagnostics.ts +0 -32
- package/src/distribution.ts +61 -0
- package/src/effects.ts +27 -1
- package/src/evolution.ts +63 -3
- package/src/finance.ts +218 -24
- package/src/index.ts +30 -3
- package/src/instrument-references.ts +98 -0
- package/src/limits.ts +3 -7
- package/src/reference.ts +31 -0
- package/src/schema.ts +417 -66
- package/src/validation.ts +112 -182
- package/src/vocabulary.ts +1508 -0
package/dist/schema.d.ts
CHANGED
|
@@ -47,23 +47,6 @@ declare const udlExampleSchema: z.ZodObject<{
|
|
|
47
47
|
name: z.ZodString;
|
|
48
48
|
output: z.ZodOptional<z.ZodJSONSchema>;
|
|
49
49
|
}, z.core.$strict>;
|
|
50
|
-
declare const udlJourneyStepSchema: z.ZodObject<{
|
|
51
|
-
bind: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
52
|
-
example: z.ZodString;
|
|
53
|
-
id: z.ZodOptional<z.ZodString>;
|
|
54
|
-
operation: z.ZodString;
|
|
55
|
-
}, z.core.$strict>;
|
|
56
|
-
export declare const udlJourneySchema: z.ZodObject<{
|
|
57
|
-
id: z.ZodString;
|
|
58
|
-
label: z.ZodString;
|
|
59
|
-
steps: z.ZodArray<z.ZodObject<{
|
|
60
|
-
bind: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
61
|
-
example: z.ZodString;
|
|
62
|
-
id: z.ZodOptional<z.ZodString>;
|
|
63
|
-
operation: z.ZodString;
|
|
64
|
-
}, z.core.$strict>>;
|
|
65
|
-
summary: z.ZodString;
|
|
66
|
-
}, z.core.$strict>;
|
|
67
50
|
declare const udlLifecycleTransitionSchema: z.ZodObject<{
|
|
68
51
|
from: z.ZodArray<z.ZodString>;
|
|
69
52
|
to: z.ZodString;
|
|
@@ -95,6 +78,16 @@ declare const udlDateComparisonSchema: z.ZodObject<{
|
|
|
95
78
|
referencedPath: z.ZodString;
|
|
96
79
|
}, z.core.$strict>;
|
|
97
80
|
declare const udlGateSchema: z.ZodObject<{
|
|
81
|
+
attests: z.ZodOptional<z.ZodObject<{
|
|
82
|
+
forAction: z.ZodOptional<z.ZodString>;
|
|
83
|
+
action: z.ZodString;
|
|
84
|
+
digest: z.ZodString;
|
|
85
|
+
role: z.ZodString;
|
|
86
|
+
expiresAt: z.ZodString;
|
|
87
|
+
instrument: z.ZodString;
|
|
88
|
+
party: z.ZodString;
|
|
89
|
+
consume: z.ZodString;
|
|
90
|
+
}, z.core.$strict>>;
|
|
98
91
|
bind: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
99
92
|
dateComparison: z.ZodOptional<z.ZodObject<{
|
|
100
93
|
localPath: z.ZodString;
|
|
@@ -107,11 +100,18 @@ declare const udlGateSchema: z.ZodObject<{
|
|
|
107
100
|
}>;
|
|
108
101
|
referencedPath: z.ZodString;
|
|
109
102
|
}, z.core.$strict>>;
|
|
103
|
+
dueBefore: z.ZodOptional<z.ZodObject<{
|
|
104
|
+
field: z.ZodString;
|
|
105
|
+
offset: z.ZodString;
|
|
106
|
+
}, z.core.$strict>>;
|
|
110
107
|
field: z.ZodString;
|
|
111
108
|
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
112
109
|
optional: z.ZodOptional<z.ZodLiteral<true>>;
|
|
113
110
|
statuses: z.ZodArray<z.ZodString>;
|
|
114
|
-
unique: z.ZodOptional<z.ZodLiteral<true
|
|
111
|
+
unique: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<true>, z.ZodObject<{
|
|
112
|
+
namespace: z.ZodString;
|
|
113
|
+
byFields: z.ZodArray<z.ZodString>;
|
|
114
|
+
}, z.core.$strict>]>>;
|
|
115
115
|
}, z.core.$strict>;
|
|
116
116
|
declare const udlBindingSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
117
117
|
from: z.ZodLiteral<"const">;
|
|
@@ -188,7 +188,9 @@ declare const udlDueSchema: z.ZodObject<{
|
|
|
188
188
|
untilField: z.ZodOptional<z.ZodString>;
|
|
189
189
|
}, z.core.$strict>>;
|
|
190
190
|
field: z.ZodString;
|
|
191
|
-
offset: z.ZodOptional<z.ZodString
|
|
191
|
+
offset: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
192
|
+
field: z.ZodString;
|
|
193
|
+
}, z.core.$strict>]>>;
|
|
192
194
|
whenParentStatus: z.ZodOptional<z.ZodObject<{
|
|
193
195
|
instrumentId: z.ZodString;
|
|
194
196
|
refField: z.ZodString;
|
|
@@ -271,6 +273,13 @@ declare const udlDecisionSchema: z.ZodObject<{
|
|
|
271
273
|
onTimeout: z.ZodLiteral<"decline">;
|
|
272
274
|
}, z.core.$strict>;
|
|
273
275
|
declare const udlAggregateConditionSchema: z.ZodObject<{
|
|
276
|
+
anchorField: z.ZodOptional<z.ZodString>;
|
|
277
|
+
dueBefore: z.ZodOptional<z.ZodObject<{
|
|
278
|
+
field: z.ZodString;
|
|
279
|
+
offset: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
280
|
+
field: z.ZodString;
|
|
281
|
+
}, z.core.$strict>]>>;
|
|
282
|
+
}, z.core.$strict>>;
|
|
274
283
|
check: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
275
284
|
amountField: z.ZodString;
|
|
276
285
|
kind: z.ZodLiteral<"sum_at_least">;
|
|
@@ -290,6 +299,23 @@ declare const udlAggregateConditionSchema: z.ZodObject<{
|
|
|
290
299
|
}, z.core.$strict>, z.ZodObject<{
|
|
291
300
|
kind: z.ZodLiteral<"count_at_least">;
|
|
292
301
|
targetField: z.ZodString;
|
|
302
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
303
|
+
kind: z.ZodLiteral<"count_exactly">;
|
|
304
|
+
value: z.ZodNumber;
|
|
305
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
306
|
+
kind: z.ZodLiteral<"ordered">;
|
|
307
|
+
field: z.ZodString;
|
|
308
|
+
positionField: z.ZodString;
|
|
309
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
310
|
+
kind: z.ZodLiteral<"schedule">;
|
|
311
|
+
positionField: z.ZodString;
|
|
312
|
+
dateField: z.ZodString;
|
|
313
|
+
datesField: z.ZodString;
|
|
314
|
+
amounts: z.ZodArray<z.ZodObject<{
|
|
315
|
+
amountField: z.ZodString;
|
|
316
|
+
totalField: z.ZodString;
|
|
317
|
+
}, z.core.$strict>>;
|
|
318
|
+
remainder: z.ZodLiteral<"first">;
|
|
293
319
|
}, z.core.$strict>, z.ZodObject<{
|
|
294
320
|
kind: z.ZodLiteral<"all_in">;
|
|
295
321
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -373,6 +399,7 @@ declare const udlRemainderSchema: z.ZodObject<{
|
|
|
373
399
|
skip_steps: "skip_steps";
|
|
374
400
|
}>;
|
|
375
401
|
totalPath: z.ZodString;
|
|
402
|
+
subtractPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
376
403
|
}, z.core.$strict>;
|
|
377
404
|
type UdlCheckRequirementShape = {
|
|
378
405
|
checkKind: string;
|
|
@@ -730,7 +757,178 @@ export declare const udlActionLibrarySchema: z.ZodRecord<z.ZodString, z.ZodObjec
|
|
|
730
757
|
}>;
|
|
731
758
|
}, z.core.$strict>>;
|
|
732
759
|
}, z.core.$strict>>;
|
|
760
|
+
declare const udlAllocationSchema: z.ZodObject<{
|
|
761
|
+
sliceInstrumentId: z.ZodString;
|
|
762
|
+
sliceRefField: z.ZodString;
|
|
763
|
+
sliceStatuses: z.ZodArray<z.ZodString>;
|
|
764
|
+
dueField: z.ZodString;
|
|
765
|
+
positionField: z.ZodString;
|
|
766
|
+
earningRuleField: z.ZodString;
|
|
767
|
+
buckets: z.ZodArray<z.ZodObject<{
|
|
768
|
+
key: z.ZodEnum<{
|
|
769
|
+
cost: "cost";
|
|
770
|
+
fine: "fine";
|
|
771
|
+
principal: "principal";
|
|
772
|
+
profit: "profit";
|
|
773
|
+
}>;
|
|
774
|
+
source: z.ZodUnion<readonly [z.ZodObject<{
|
|
775
|
+
from: z.ZodLiteral<"slice">;
|
|
776
|
+
amountField: z.ZodString;
|
|
777
|
+
destinationField: z.ZodString;
|
|
778
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
779
|
+
from: z.ZodLiteral<"children">;
|
|
780
|
+
instrumentId: z.ZodString;
|
|
781
|
+
refField: z.ZodString;
|
|
782
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
783
|
+
amountField: z.ZodString;
|
|
784
|
+
destinationField: z.ZodString;
|
|
785
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
786
|
+
from: z.ZodLiteral<"children">;
|
|
787
|
+
template: z.ZodString;
|
|
788
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
789
|
+
refField: z.ZodString;
|
|
790
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
791
|
+
amountField: z.ZodString;
|
|
792
|
+
destinationField: z.ZodString;
|
|
793
|
+
}, z.core.$strict>]>;
|
|
794
|
+
}, z.core.$strict>>;
|
|
795
|
+
}, z.core.$strict>;
|
|
796
|
+
declare const udlAllocateSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
797
|
+
refField: z.ZodOptional<z.ZodString>;
|
|
798
|
+
mode: z.ZodLiteral<"refund">;
|
|
799
|
+
action: z.ZodOptional<z.ZodString>;
|
|
800
|
+
assessmentField: z.ZodOptional<z.ZodString>;
|
|
801
|
+
capture: z.ZodString;
|
|
802
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
803
|
+
refField: z.ZodString;
|
|
804
|
+
mode: z.ZodLiteral<"payment">;
|
|
805
|
+
assessment: z.ZodOptional<z.ZodLiteral<"self">>;
|
|
806
|
+
amountField: z.ZodOptional<z.ZodString>;
|
|
807
|
+
sourceAccountField: z.ZodString;
|
|
808
|
+
paymentIdentityField: z.ZodString;
|
|
809
|
+
capture: z.ZodString;
|
|
810
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
811
|
+
refField: z.ZodOptional<z.ZodString>;
|
|
812
|
+
mode: z.ZodLiteral<"payoff">;
|
|
813
|
+
amountField: z.ZodOptional<z.ZodString>;
|
|
814
|
+
sourceAccountField: z.ZodString;
|
|
815
|
+
paymentIdentityField: z.ZodString;
|
|
816
|
+
capture: z.ZodString;
|
|
817
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
818
|
+
refField: z.ZodOptional<z.ZodString>;
|
|
819
|
+
mode: z.ZodLiteral<"write_off">;
|
|
820
|
+
capture: z.ZodString;
|
|
821
|
+
}, z.core.$strict>]>;
|
|
822
|
+
declare const udlContributionsSchema: z.ZodObject<{
|
|
823
|
+
field: z.ZodString;
|
|
824
|
+
amountKey: z.ZodString;
|
|
825
|
+
accountKey: z.ZodString;
|
|
826
|
+
totalField: z.ZodString;
|
|
827
|
+
}, z.core.$strict>;
|
|
733
828
|
declare const udlActionShape: {
|
|
829
|
+
requestAuthority: z.ZodOptional<z.ZodObject<{
|
|
830
|
+
instrumentField: z.ZodString;
|
|
831
|
+
instanceField: z.ZodString;
|
|
832
|
+
actionField: z.ZodString;
|
|
833
|
+
inputField: z.ZodString;
|
|
834
|
+
digestField: z.ZodString;
|
|
835
|
+
roleField: z.ZodString;
|
|
836
|
+
party: z.ZodString;
|
|
837
|
+
expiresField: z.ZodString;
|
|
838
|
+
}, z.core.$strict>>;
|
|
839
|
+
funding: z.ZodOptional<z.ZodObject<{
|
|
840
|
+
obligationField: z.ZodString;
|
|
841
|
+
ticketInstrumentId: z.ZodString;
|
|
842
|
+
ticketRefField: z.ZodString;
|
|
843
|
+
ticketAmountField: z.ZodString;
|
|
844
|
+
ticketInvestorField: z.ZodString;
|
|
845
|
+
ticketAccountField: z.ZodString;
|
|
846
|
+
ticketStatus: z.ZodString;
|
|
847
|
+
collectAction: z.ZodString;
|
|
848
|
+
principalField: z.ZodString;
|
|
849
|
+
sourceAccountPath: z.ZodString;
|
|
850
|
+
destinationAccountField: z.ZodString;
|
|
851
|
+
terms: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
852
|
+
capture: z.ZodString;
|
|
853
|
+
}, z.core.$strict>>;
|
|
854
|
+
receiptDistribution: z.ZodOptional<z.ZodObject<{
|
|
855
|
+
roundField: z.ZodString;
|
|
856
|
+
snapshotRef: z.ZodString;
|
|
857
|
+
receiptField: z.ZodString;
|
|
858
|
+
receiptPath: z.ZodString;
|
|
859
|
+
mode: z.ZodEnum<{
|
|
860
|
+
cash: "cash";
|
|
861
|
+
loss: "loss";
|
|
862
|
+
}>;
|
|
863
|
+
feeBps: z.ZodNumber;
|
|
864
|
+
vatBps: z.ZodNumber;
|
|
865
|
+
feeAccountField: z.ZodString;
|
|
866
|
+
taxAccountField: z.ZodString;
|
|
867
|
+
residualAccountField: z.ZodString;
|
|
868
|
+
capture: z.ZodString;
|
|
869
|
+
}, z.core.$strict>>;
|
|
870
|
+
requiresAllocation: z.ZodOptional<z.ZodObject<{
|
|
871
|
+
refField: z.ZodOptional<z.ZodString>;
|
|
872
|
+
slice: z.ZodUnion<readonly [z.ZodLiteral<"self">, z.ZodObject<{
|
|
873
|
+
field: z.ZodString;
|
|
874
|
+
}, z.core.$strict>]>;
|
|
875
|
+
buckets: z.ZodArray<z.ZodEnum<{
|
|
876
|
+
cost: "cost";
|
|
877
|
+
fine: "fine";
|
|
878
|
+
principal: "principal";
|
|
879
|
+
profit: "profit";
|
|
880
|
+
}>>;
|
|
881
|
+
check: z.ZodEnum<{
|
|
882
|
+
outstanding: "outstanding";
|
|
883
|
+
settled: "settled";
|
|
884
|
+
}>;
|
|
885
|
+
}, z.core.$strict>>;
|
|
886
|
+
unique: z.ZodOptional<z.ZodObject<{
|
|
887
|
+
namespace: z.ZodString;
|
|
888
|
+
byFields: z.ZodArray<z.ZodString>;
|
|
889
|
+
}, z.core.$strict>>;
|
|
890
|
+
requiresInput: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
891
|
+
engineOwned: z.ZodOptional<z.ZodLiteral<true>>;
|
|
892
|
+
captureEngine: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
893
|
+
operationId: "operationId";
|
|
894
|
+
}>>>;
|
|
895
|
+
allocate: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
896
|
+
refField: z.ZodOptional<z.ZodString>;
|
|
897
|
+
mode: z.ZodLiteral<"refund">;
|
|
898
|
+
action: z.ZodOptional<z.ZodString>;
|
|
899
|
+
assessmentField: z.ZodOptional<z.ZodString>;
|
|
900
|
+
capture: z.ZodString;
|
|
901
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
902
|
+
refField: z.ZodString;
|
|
903
|
+
mode: z.ZodLiteral<"payment">;
|
|
904
|
+
assessment: z.ZodOptional<z.ZodLiteral<"self">>;
|
|
905
|
+
amountField: z.ZodOptional<z.ZodString>;
|
|
906
|
+
sourceAccountField: z.ZodString;
|
|
907
|
+
paymentIdentityField: z.ZodString;
|
|
908
|
+
capture: z.ZodString;
|
|
909
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
910
|
+
refField: z.ZodOptional<z.ZodString>;
|
|
911
|
+
mode: z.ZodLiteral<"payoff">;
|
|
912
|
+
amountField: z.ZodOptional<z.ZodString>;
|
|
913
|
+
sourceAccountField: z.ZodString;
|
|
914
|
+
paymentIdentityField: z.ZodString;
|
|
915
|
+
capture: z.ZodString;
|
|
916
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
917
|
+
refField: z.ZodOptional<z.ZodString>;
|
|
918
|
+
mode: z.ZodLiteral<"write_off">;
|
|
919
|
+
capture: z.ZodString;
|
|
920
|
+
}, z.core.$strict>]>>;
|
|
921
|
+
contributionStage: z.ZodOptional<z.ZodObject<{
|
|
922
|
+
stage: z.ZodEnum<{
|
|
923
|
+
fund: "fund";
|
|
924
|
+
refund: "refund";
|
|
925
|
+
}>;
|
|
926
|
+
accountPath: z.ZodString;
|
|
927
|
+
}, z.core.$strict>>;
|
|
928
|
+
transitionsRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
929
|
+
field: z.ZodString;
|
|
930
|
+
action: z.ZodString;
|
|
931
|
+
}, z.core.$strict>>>;
|
|
734
932
|
agentDescription: z.ZodOptional<z.ZodString>;
|
|
735
933
|
calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
736
934
|
action: z.ZodString;
|
|
@@ -747,7 +945,9 @@ declare const udlActionShape: {
|
|
|
747
945
|
}, z.core.$strict>>;
|
|
748
946
|
deadline: z.ZodOptional<z.ZodObject<{
|
|
749
947
|
field: z.ZodString;
|
|
750
|
-
offset: z.ZodOptional<z.ZodString
|
|
948
|
+
offset: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
949
|
+
field: z.ZodString;
|
|
950
|
+
}, z.core.$strict>]>>;
|
|
751
951
|
}, z.core.$strict>>;
|
|
752
952
|
decision: z.ZodOptional<z.ZodObject<{
|
|
753
953
|
capability: z.ZodEnum<{
|
|
@@ -804,7 +1004,9 @@ declare const udlActionShape: {
|
|
|
804
1004
|
untilField: z.ZodOptional<z.ZodString>;
|
|
805
1005
|
}, z.core.$strict>>;
|
|
806
1006
|
field: z.ZodString;
|
|
807
|
-
offset: z.ZodOptional<z.ZodString
|
|
1007
|
+
offset: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1008
|
+
field: z.ZodString;
|
|
1009
|
+
}, z.core.$strict>]>>;
|
|
808
1010
|
whenParentStatus: z.ZodOptional<z.ZodObject<{
|
|
809
1011
|
instrumentId: z.ZodString;
|
|
810
1012
|
refField: z.ZodString;
|
|
@@ -887,6 +1089,7 @@ declare const udlActionShape: {
|
|
|
887
1089
|
}, z.core.$strict>>;
|
|
888
1090
|
port: z.ZodOptional<z.ZodObject<{
|
|
889
1091
|
allowedParties: z.ZodArray<z.ZodString>;
|
|
1092
|
+
capture: z.ZodOptional<z.ZodString>;
|
|
890
1093
|
}, z.core.$strict>>;
|
|
891
1094
|
quote: z.ZodOptional<z.ZodObject<{
|
|
892
1095
|
anchorField: z.ZodOptional<z.ZodString>;
|
|
@@ -964,8 +1167,16 @@ declare const udlActionShape: {
|
|
|
964
1167
|
skip_steps: "skip_steps";
|
|
965
1168
|
}>;
|
|
966
1169
|
totalPath: z.ZodString;
|
|
1170
|
+
subtractPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
967
1171
|
}, z.core.$strict>>;
|
|
968
1172
|
requiresAggregate: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1173
|
+
anchorField: z.ZodOptional<z.ZodString>;
|
|
1174
|
+
dueBefore: z.ZodOptional<z.ZodObject<{
|
|
1175
|
+
field: z.ZodString;
|
|
1176
|
+
offset: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1177
|
+
field: z.ZodString;
|
|
1178
|
+
}, z.core.$strict>]>>;
|
|
1179
|
+
}, z.core.$strict>>;
|
|
969
1180
|
check: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
970
1181
|
amountField: z.ZodString;
|
|
971
1182
|
kind: z.ZodLiteral<"sum_at_least">;
|
|
@@ -985,6 +1196,23 @@ declare const udlActionShape: {
|
|
|
985
1196
|
}, z.core.$strict>, z.ZodObject<{
|
|
986
1197
|
kind: z.ZodLiteral<"count_at_least">;
|
|
987
1198
|
targetField: z.ZodString;
|
|
1199
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1200
|
+
kind: z.ZodLiteral<"count_exactly">;
|
|
1201
|
+
value: z.ZodNumber;
|
|
1202
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1203
|
+
kind: z.ZodLiteral<"ordered">;
|
|
1204
|
+
field: z.ZodString;
|
|
1205
|
+
positionField: z.ZodString;
|
|
1206
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1207
|
+
kind: z.ZodLiteral<"schedule">;
|
|
1208
|
+
positionField: z.ZodString;
|
|
1209
|
+
dateField: z.ZodString;
|
|
1210
|
+
datesField: z.ZodString;
|
|
1211
|
+
amounts: z.ZodArray<z.ZodObject<{
|
|
1212
|
+
amountField: z.ZodString;
|
|
1213
|
+
totalField: z.ZodString;
|
|
1214
|
+
}, z.core.$strict>>;
|
|
1215
|
+
remainder: z.ZodLiteral<"first">;
|
|
988
1216
|
}, z.core.$strict>, z.ZodObject<{
|
|
989
1217
|
kind: z.ZodLiteral<"all_in">;
|
|
990
1218
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1004,6 +1232,11 @@ declare const udlActionShape: {
|
|
|
1004
1232
|
path: z.ZodString;
|
|
1005
1233
|
}, z.core.$strict>>;
|
|
1006
1234
|
requiresExposure: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1235
|
+
groupField: z.ZodOptional<z.ZodString>;
|
|
1236
|
+
minimumField: z.ZodOptional<z.ZodString>;
|
|
1237
|
+
measure: z.ZodOptional<z.ZodObject<{
|
|
1238
|
+
allocation: z.ZodString;
|
|
1239
|
+
}, z.core.$strict>>;
|
|
1007
1240
|
amountField: z.ZodString;
|
|
1008
1241
|
anchorField: z.ZodString;
|
|
1009
1242
|
capField: z.ZodString;
|
|
@@ -1012,6 +1245,16 @@ declare const udlActionShape: {
|
|
|
1012
1245
|
statuses: z.ZodArray<z.ZodString>;
|
|
1013
1246
|
}, z.core.$strict>>>;
|
|
1014
1247
|
requiresRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1248
|
+
attests: z.ZodOptional<z.ZodObject<{
|
|
1249
|
+
forAction: z.ZodOptional<z.ZodString>;
|
|
1250
|
+
action: z.ZodString;
|
|
1251
|
+
digest: z.ZodString;
|
|
1252
|
+
role: z.ZodString;
|
|
1253
|
+
expiresAt: z.ZodString;
|
|
1254
|
+
instrument: z.ZodString;
|
|
1255
|
+
party: z.ZodString;
|
|
1256
|
+
consume: z.ZodString;
|
|
1257
|
+
}, z.core.$strict>>;
|
|
1015
1258
|
bind: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1016
1259
|
dateComparison: z.ZodOptional<z.ZodObject<{
|
|
1017
1260
|
localPath: z.ZodString;
|
|
@@ -1024,11 +1267,18 @@ declare const udlActionShape: {
|
|
|
1024
1267
|
}>;
|
|
1025
1268
|
referencedPath: z.ZodString;
|
|
1026
1269
|
}, z.core.$strict>>;
|
|
1270
|
+
dueBefore: z.ZodOptional<z.ZodObject<{
|
|
1271
|
+
field: z.ZodString;
|
|
1272
|
+
offset: z.ZodString;
|
|
1273
|
+
}, z.core.$strict>>;
|
|
1027
1274
|
field: z.ZodString;
|
|
1028
1275
|
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1029
1276
|
optional: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1030
1277
|
statuses: z.ZodArray<z.ZodString>;
|
|
1031
|
-
unique: z.ZodOptional<z.ZodLiteral<true
|
|
1278
|
+
unique: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<true>, z.ZodObject<{
|
|
1279
|
+
namespace: z.ZodString;
|
|
1280
|
+
byFields: z.ZodArray<z.ZodString>;
|
|
1281
|
+
}, z.core.$strict>]>>;
|
|
1032
1282
|
}, z.core.$strict>>>;
|
|
1033
1283
|
sandboxFailurePoint: z.ZodOptional<z.ZodEnum<{
|
|
1034
1284
|
funding: "funding";
|
|
@@ -1080,6 +1330,109 @@ declare const udlActionShape: {
|
|
|
1080
1330
|
updates: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1081
1331
|
};
|
|
1082
1332
|
declare const udlActionSchema: z.ZodObject<{
|
|
1333
|
+
requestAuthority: z.ZodOptional<z.ZodObject<{
|
|
1334
|
+
instrumentField: z.ZodString;
|
|
1335
|
+
instanceField: z.ZodString;
|
|
1336
|
+
actionField: z.ZodString;
|
|
1337
|
+
inputField: z.ZodString;
|
|
1338
|
+
digestField: z.ZodString;
|
|
1339
|
+
roleField: z.ZodString;
|
|
1340
|
+
party: z.ZodString;
|
|
1341
|
+
expiresField: z.ZodString;
|
|
1342
|
+
}, z.core.$strict>>;
|
|
1343
|
+
funding: z.ZodOptional<z.ZodObject<{
|
|
1344
|
+
obligationField: z.ZodString;
|
|
1345
|
+
ticketInstrumentId: z.ZodString;
|
|
1346
|
+
ticketRefField: z.ZodString;
|
|
1347
|
+
ticketAmountField: z.ZodString;
|
|
1348
|
+
ticketInvestorField: z.ZodString;
|
|
1349
|
+
ticketAccountField: z.ZodString;
|
|
1350
|
+
ticketStatus: z.ZodString;
|
|
1351
|
+
collectAction: z.ZodString;
|
|
1352
|
+
principalField: z.ZodString;
|
|
1353
|
+
sourceAccountPath: z.ZodString;
|
|
1354
|
+
destinationAccountField: z.ZodString;
|
|
1355
|
+
terms: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1356
|
+
capture: z.ZodString;
|
|
1357
|
+
}, z.core.$strict>>;
|
|
1358
|
+
receiptDistribution: z.ZodOptional<z.ZodObject<{
|
|
1359
|
+
roundField: z.ZodString;
|
|
1360
|
+
snapshotRef: z.ZodString;
|
|
1361
|
+
receiptField: z.ZodString;
|
|
1362
|
+
receiptPath: z.ZodString;
|
|
1363
|
+
mode: z.ZodEnum<{
|
|
1364
|
+
cash: "cash";
|
|
1365
|
+
loss: "loss";
|
|
1366
|
+
}>;
|
|
1367
|
+
feeBps: z.ZodNumber;
|
|
1368
|
+
vatBps: z.ZodNumber;
|
|
1369
|
+
feeAccountField: z.ZodString;
|
|
1370
|
+
taxAccountField: z.ZodString;
|
|
1371
|
+
residualAccountField: z.ZodString;
|
|
1372
|
+
capture: z.ZodString;
|
|
1373
|
+
}, z.core.$strict>>;
|
|
1374
|
+
requiresAllocation: z.ZodOptional<z.ZodObject<{
|
|
1375
|
+
refField: z.ZodOptional<z.ZodString>;
|
|
1376
|
+
slice: z.ZodUnion<readonly [z.ZodLiteral<"self">, z.ZodObject<{
|
|
1377
|
+
field: z.ZodString;
|
|
1378
|
+
}, z.core.$strict>]>;
|
|
1379
|
+
buckets: z.ZodArray<z.ZodEnum<{
|
|
1380
|
+
cost: "cost";
|
|
1381
|
+
fine: "fine";
|
|
1382
|
+
principal: "principal";
|
|
1383
|
+
profit: "profit";
|
|
1384
|
+
}>>;
|
|
1385
|
+
check: z.ZodEnum<{
|
|
1386
|
+
outstanding: "outstanding";
|
|
1387
|
+
settled: "settled";
|
|
1388
|
+
}>;
|
|
1389
|
+
}, z.core.$strict>>;
|
|
1390
|
+
unique: z.ZodOptional<z.ZodObject<{
|
|
1391
|
+
namespace: z.ZodString;
|
|
1392
|
+
byFields: z.ZodArray<z.ZodString>;
|
|
1393
|
+
}, z.core.$strict>>;
|
|
1394
|
+
requiresInput: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1395
|
+
engineOwned: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1396
|
+
captureEngine: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
1397
|
+
operationId: "operationId";
|
|
1398
|
+
}>>>;
|
|
1399
|
+
allocate: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1400
|
+
refField: z.ZodOptional<z.ZodString>;
|
|
1401
|
+
mode: z.ZodLiteral<"refund">;
|
|
1402
|
+
action: z.ZodOptional<z.ZodString>;
|
|
1403
|
+
assessmentField: z.ZodOptional<z.ZodString>;
|
|
1404
|
+
capture: z.ZodString;
|
|
1405
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1406
|
+
refField: z.ZodString;
|
|
1407
|
+
mode: z.ZodLiteral<"payment">;
|
|
1408
|
+
assessment: z.ZodOptional<z.ZodLiteral<"self">>;
|
|
1409
|
+
amountField: z.ZodOptional<z.ZodString>;
|
|
1410
|
+
sourceAccountField: z.ZodString;
|
|
1411
|
+
paymentIdentityField: z.ZodString;
|
|
1412
|
+
capture: z.ZodString;
|
|
1413
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1414
|
+
refField: z.ZodOptional<z.ZodString>;
|
|
1415
|
+
mode: z.ZodLiteral<"payoff">;
|
|
1416
|
+
amountField: z.ZodOptional<z.ZodString>;
|
|
1417
|
+
sourceAccountField: z.ZodString;
|
|
1418
|
+
paymentIdentityField: z.ZodString;
|
|
1419
|
+
capture: z.ZodString;
|
|
1420
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1421
|
+
refField: z.ZodOptional<z.ZodString>;
|
|
1422
|
+
mode: z.ZodLiteral<"write_off">;
|
|
1423
|
+
capture: z.ZodString;
|
|
1424
|
+
}, z.core.$strict>]>>;
|
|
1425
|
+
contributionStage: z.ZodOptional<z.ZodObject<{
|
|
1426
|
+
stage: z.ZodEnum<{
|
|
1427
|
+
fund: "fund";
|
|
1428
|
+
refund: "refund";
|
|
1429
|
+
}>;
|
|
1430
|
+
accountPath: z.ZodString;
|
|
1431
|
+
}, z.core.$strict>>;
|
|
1432
|
+
transitionsRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1433
|
+
field: z.ZodString;
|
|
1434
|
+
action: z.ZodString;
|
|
1435
|
+
}, z.core.$strict>>>;
|
|
1083
1436
|
agentDescription: z.ZodOptional<z.ZodString>;
|
|
1084
1437
|
calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1085
1438
|
action: z.ZodString;
|
|
@@ -1095,7 +1448,9 @@ declare const udlActionSchema: z.ZodObject<{
|
|
|
1095
1448
|
}, z.core.$strict>>;
|
|
1096
1449
|
deadline: z.ZodOptional<z.ZodObject<{
|
|
1097
1450
|
field: z.ZodString;
|
|
1098
|
-
offset: z.ZodOptional<z.ZodString
|
|
1451
|
+
offset: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1452
|
+
field: z.ZodString;
|
|
1453
|
+
}, z.core.$strict>]>>;
|
|
1099
1454
|
}, z.core.$strict>>;
|
|
1100
1455
|
decision: z.ZodOptional<z.ZodObject<{
|
|
1101
1456
|
capability: z.ZodEnum<{
|
|
@@ -1152,7 +1507,9 @@ declare const udlActionSchema: z.ZodObject<{
|
|
|
1152
1507
|
untilField: z.ZodOptional<z.ZodString>;
|
|
1153
1508
|
}, z.core.$strict>>;
|
|
1154
1509
|
field: z.ZodString;
|
|
1155
|
-
offset: z.ZodOptional<z.ZodString
|
|
1510
|
+
offset: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1511
|
+
field: z.ZodString;
|
|
1512
|
+
}, z.core.$strict>]>>;
|
|
1156
1513
|
whenParentStatus: z.ZodOptional<z.ZodObject<{
|
|
1157
1514
|
instrumentId: z.ZodString;
|
|
1158
1515
|
refField: z.ZodString;
|
|
@@ -1235,6 +1592,7 @@ declare const udlActionSchema: z.ZodObject<{
|
|
|
1235
1592
|
}, z.core.$strict>>;
|
|
1236
1593
|
port: z.ZodOptional<z.ZodObject<{
|
|
1237
1594
|
allowedParties: z.ZodArray<z.ZodString>;
|
|
1595
|
+
capture: z.ZodOptional<z.ZodString>;
|
|
1238
1596
|
}, z.core.$strict>>;
|
|
1239
1597
|
quote: z.ZodOptional<z.ZodObject<{
|
|
1240
1598
|
anchorField: z.ZodOptional<z.ZodString>;
|
|
@@ -1312,8 +1670,16 @@ declare const udlActionSchema: z.ZodObject<{
|
|
|
1312
1670
|
skip_steps: "skip_steps";
|
|
1313
1671
|
}>;
|
|
1314
1672
|
totalPath: z.ZodString;
|
|
1673
|
+
subtractPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1315
1674
|
}, z.core.$strict>>;
|
|
1316
1675
|
requiresAggregate: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1676
|
+
anchorField: z.ZodOptional<z.ZodString>;
|
|
1677
|
+
dueBefore: z.ZodOptional<z.ZodObject<{
|
|
1678
|
+
field: z.ZodString;
|
|
1679
|
+
offset: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1680
|
+
field: z.ZodString;
|
|
1681
|
+
}, z.core.$strict>]>>;
|
|
1682
|
+
}, z.core.$strict>>;
|
|
1317
1683
|
check: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1318
1684
|
amountField: z.ZodString;
|
|
1319
1685
|
kind: z.ZodLiteral<"sum_at_least">;
|
|
@@ -1333,6 +1699,23 @@ declare const udlActionSchema: z.ZodObject<{
|
|
|
1333
1699
|
}, z.core.$strict>, z.ZodObject<{
|
|
1334
1700
|
kind: z.ZodLiteral<"count_at_least">;
|
|
1335
1701
|
targetField: z.ZodString;
|
|
1702
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1703
|
+
kind: z.ZodLiteral<"count_exactly">;
|
|
1704
|
+
value: z.ZodNumber;
|
|
1705
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1706
|
+
kind: z.ZodLiteral<"ordered">;
|
|
1707
|
+
field: z.ZodString;
|
|
1708
|
+
positionField: z.ZodString;
|
|
1709
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1710
|
+
kind: z.ZodLiteral<"schedule">;
|
|
1711
|
+
positionField: z.ZodString;
|
|
1712
|
+
dateField: z.ZodString;
|
|
1713
|
+
datesField: z.ZodString;
|
|
1714
|
+
amounts: z.ZodArray<z.ZodObject<{
|
|
1715
|
+
amountField: z.ZodString;
|
|
1716
|
+
totalField: z.ZodString;
|
|
1717
|
+
}, z.core.$strict>>;
|
|
1718
|
+
remainder: z.ZodLiteral<"first">;
|
|
1336
1719
|
}, z.core.$strict>, z.ZodObject<{
|
|
1337
1720
|
kind: z.ZodLiteral<"all_in">;
|
|
1338
1721
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1352,6 +1735,11 @@ declare const udlActionSchema: z.ZodObject<{
|
|
|
1352
1735
|
path: z.ZodString;
|
|
1353
1736
|
}, z.core.$strict>>;
|
|
1354
1737
|
requiresExposure: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1738
|
+
groupField: z.ZodOptional<z.ZodString>;
|
|
1739
|
+
minimumField: z.ZodOptional<z.ZodString>;
|
|
1740
|
+
measure: z.ZodOptional<z.ZodObject<{
|
|
1741
|
+
allocation: z.ZodString;
|
|
1742
|
+
}, z.core.$strict>>;
|
|
1355
1743
|
amountField: z.ZodString;
|
|
1356
1744
|
anchorField: z.ZodString;
|
|
1357
1745
|
capField: z.ZodString;
|
|
@@ -1360,6 +1748,16 @@ declare const udlActionSchema: z.ZodObject<{
|
|
|
1360
1748
|
statuses: z.ZodArray<z.ZodString>;
|
|
1361
1749
|
}, z.core.$strict>>>;
|
|
1362
1750
|
requiresRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1751
|
+
attests: z.ZodOptional<z.ZodObject<{
|
|
1752
|
+
forAction: z.ZodOptional<z.ZodString>;
|
|
1753
|
+
action: z.ZodString;
|
|
1754
|
+
digest: z.ZodString;
|
|
1755
|
+
role: z.ZodString;
|
|
1756
|
+
expiresAt: z.ZodString;
|
|
1757
|
+
instrument: z.ZodString;
|
|
1758
|
+
party: z.ZodString;
|
|
1759
|
+
consume: z.ZodString;
|
|
1760
|
+
}, z.core.$strict>>;
|
|
1363
1761
|
bind: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1364
1762
|
dateComparison: z.ZodOptional<z.ZodObject<{
|
|
1365
1763
|
localPath: z.ZodString;
|
|
@@ -1372,11 +1770,18 @@ declare const udlActionSchema: z.ZodObject<{
|
|
|
1372
1770
|
}>;
|
|
1373
1771
|
referencedPath: z.ZodString;
|
|
1374
1772
|
}, z.core.$strict>>;
|
|
1773
|
+
dueBefore: z.ZodOptional<z.ZodObject<{
|
|
1774
|
+
field: z.ZodString;
|
|
1775
|
+
offset: z.ZodString;
|
|
1776
|
+
}, z.core.$strict>>;
|
|
1375
1777
|
field: z.ZodString;
|
|
1376
1778
|
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1377
1779
|
optional: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1378
1780
|
statuses: z.ZodArray<z.ZodString>;
|
|
1379
|
-
unique: z.ZodOptional<z.ZodLiteral<true
|
|
1781
|
+
unique: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<true>, z.ZodObject<{
|
|
1782
|
+
namespace: z.ZodString;
|
|
1783
|
+
byFields: z.ZodArray<z.ZodString>;
|
|
1784
|
+
}, z.core.$strict>]>>;
|
|
1380
1785
|
}, z.core.$strict>>>;
|
|
1381
1786
|
sandboxFailurePoint: z.ZodOptional<z.ZodEnum<{
|
|
1382
1787
|
funding: "funding";
|
|
@@ -1445,6 +1850,60 @@ declare const udlAggregateSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1445
1850
|
}, z.core.$strict>>;
|
|
1446
1851
|
}, z.core.$strict>]>;
|
|
1447
1852
|
declare const udlInstrumentShape: {
|
|
1853
|
+
templateBinding: z.ZodOptional<z.ZodObject<{
|
|
1854
|
+
id: z.ZodString;
|
|
1855
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1856
|
+
}, z.core.$strict>>;
|
|
1857
|
+
allocation: z.ZodOptional<z.ZodObject<{
|
|
1858
|
+
sliceInstrumentId: z.ZodString;
|
|
1859
|
+
sliceRefField: z.ZodString;
|
|
1860
|
+
sliceStatuses: z.ZodArray<z.ZodString>;
|
|
1861
|
+
dueField: z.ZodString;
|
|
1862
|
+
positionField: z.ZodString;
|
|
1863
|
+
earningRuleField: z.ZodString;
|
|
1864
|
+
buckets: z.ZodArray<z.ZodObject<{
|
|
1865
|
+
key: z.ZodEnum<{
|
|
1866
|
+
cost: "cost";
|
|
1867
|
+
fine: "fine";
|
|
1868
|
+
principal: "principal";
|
|
1869
|
+
profit: "profit";
|
|
1870
|
+
}>;
|
|
1871
|
+
source: z.ZodUnion<readonly [z.ZodObject<{
|
|
1872
|
+
from: z.ZodLiteral<"slice">;
|
|
1873
|
+
amountField: z.ZodString;
|
|
1874
|
+
destinationField: z.ZodString;
|
|
1875
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1876
|
+
from: z.ZodLiteral<"children">;
|
|
1877
|
+
instrumentId: z.ZodString;
|
|
1878
|
+
refField: z.ZodString;
|
|
1879
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
1880
|
+
amountField: z.ZodString;
|
|
1881
|
+
destinationField: z.ZodString;
|
|
1882
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1883
|
+
from: z.ZodLiteral<"children">;
|
|
1884
|
+
template: z.ZodString;
|
|
1885
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1886
|
+
refField: z.ZodString;
|
|
1887
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
1888
|
+
amountField: z.ZodString;
|
|
1889
|
+
destinationField: z.ZodString;
|
|
1890
|
+
}, z.core.$strict>]>;
|
|
1891
|
+
}, z.core.$strict>>;
|
|
1892
|
+
}, z.core.$strict>>;
|
|
1893
|
+
contributions: z.ZodOptional<z.ZodObject<{
|
|
1894
|
+
field: z.ZodString;
|
|
1895
|
+
amountKey: z.ZodString;
|
|
1896
|
+
accountKey: z.ZodString;
|
|
1897
|
+
totalField: z.ZodString;
|
|
1898
|
+
}, z.core.$strict>>;
|
|
1899
|
+
dateOrder: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1900
|
+
beforeField: z.ZodString;
|
|
1901
|
+
afterField: z.ZodString;
|
|
1902
|
+
operator: z.ZodEnum<{
|
|
1903
|
+
"<": "<";
|
|
1904
|
+
"<=": "<=";
|
|
1905
|
+
}>;
|
|
1906
|
+
}, z.core.$strict>>>;
|
|
1448
1907
|
actionLibrary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1449
1908
|
actionOrder: z.ZodArray<z.ZodString>;
|
|
1450
1909
|
actions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -1557,10 +2016,15 @@ declare const udlInstrumentShape: {
|
|
|
1557
2016
|
derivedAmounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1558
2017
|
field: z.ZodString;
|
|
1559
2018
|
rounding: z.ZodLiteral<"floor">;
|
|
1560
|
-
rule: z.ZodObject<{
|
|
1561
|
-
bps: z.ZodNumber
|
|
2019
|
+
rule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2020
|
+
bps: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2021
|
+
field: z.ZodString;
|
|
2022
|
+
}, z.core.$strict>]>;
|
|
1562
2023
|
kind: z.ZodLiteral<"percentage_of">;
|
|
1563
|
-
}, z.core.$strict
|
|
2024
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2025
|
+
kind: z.ZodLiteral<"minimum">;
|
|
2026
|
+
capField: z.ZodString;
|
|
2027
|
+
}, z.core.$strict>], "kind">;
|
|
1564
2028
|
sourceField: z.ZodString;
|
|
1565
2029
|
}, z.core.$strict>>>;
|
|
1566
2030
|
feeRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1605,17 +2069,6 @@ declare const udlInstrumentShape: {
|
|
|
1605
2069
|
to: z.ZodString;
|
|
1606
2070
|
}, z.core.$strict>>;
|
|
1607
2071
|
}, z.core.$strict>;
|
|
1608
|
-
journeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1609
|
-
id: z.ZodString;
|
|
1610
|
-
label: z.ZodString;
|
|
1611
|
-
steps: z.ZodArray<z.ZodObject<{
|
|
1612
|
-
bind: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1613
|
-
example: z.ZodString;
|
|
1614
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1615
|
-
operation: z.ZodString;
|
|
1616
|
-
}, z.core.$strict>>;
|
|
1617
|
-
summary: z.ZodString;
|
|
1618
|
-
}, z.core.$strict>>>;
|
|
1619
2072
|
nav: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1620
2073
|
parties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1621
2074
|
partitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1659,6 +2112,109 @@ declare const udlInstrumentShape: {
|
|
|
1659
2112
|
states: z.ZodArray<z.ZodString>;
|
|
1660
2113
|
}, z.core.$strict>>;
|
|
1661
2114
|
actions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2115
|
+
requestAuthority: z.ZodOptional<z.ZodObject<{
|
|
2116
|
+
instrumentField: z.ZodString;
|
|
2117
|
+
instanceField: z.ZodString;
|
|
2118
|
+
actionField: z.ZodString;
|
|
2119
|
+
inputField: z.ZodString;
|
|
2120
|
+
digestField: z.ZodString;
|
|
2121
|
+
roleField: z.ZodString;
|
|
2122
|
+
party: z.ZodString;
|
|
2123
|
+
expiresField: z.ZodString;
|
|
2124
|
+
}, z.core.$strict>>;
|
|
2125
|
+
funding: z.ZodOptional<z.ZodObject<{
|
|
2126
|
+
obligationField: z.ZodString;
|
|
2127
|
+
ticketInstrumentId: z.ZodString;
|
|
2128
|
+
ticketRefField: z.ZodString;
|
|
2129
|
+
ticketAmountField: z.ZodString;
|
|
2130
|
+
ticketInvestorField: z.ZodString;
|
|
2131
|
+
ticketAccountField: z.ZodString;
|
|
2132
|
+
ticketStatus: z.ZodString;
|
|
2133
|
+
collectAction: z.ZodString;
|
|
2134
|
+
principalField: z.ZodString;
|
|
2135
|
+
sourceAccountPath: z.ZodString;
|
|
2136
|
+
destinationAccountField: z.ZodString;
|
|
2137
|
+
terms: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2138
|
+
capture: z.ZodString;
|
|
2139
|
+
}, z.core.$strict>>;
|
|
2140
|
+
receiptDistribution: z.ZodOptional<z.ZodObject<{
|
|
2141
|
+
roundField: z.ZodString;
|
|
2142
|
+
snapshotRef: z.ZodString;
|
|
2143
|
+
receiptField: z.ZodString;
|
|
2144
|
+
receiptPath: z.ZodString;
|
|
2145
|
+
mode: z.ZodEnum<{
|
|
2146
|
+
cash: "cash";
|
|
2147
|
+
loss: "loss";
|
|
2148
|
+
}>;
|
|
2149
|
+
feeBps: z.ZodNumber;
|
|
2150
|
+
vatBps: z.ZodNumber;
|
|
2151
|
+
feeAccountField: z.ZodString;
|
|
2152
|
+
taxAccountField: z.ZodString;
|
|
2153
|
+
residualAccountField: z.ZodString;
|
|
2154
|
+
capture: z.ZodString;
|
|
2155
|
+
}, z.core.$strict>>;
|
|
2156
|
+
requiresAllocation: z.ZodOptional<z.ZodObject<{
|
|
2157
|
+
refField: z.ZodOptional<z.ZodString>;
|
|
2158
|
+
slice: z.ZodUnion<readonly [z.ZodLiteral<"self">, z.ZodObject<{
|
|
2159
|
+
field: z.ZodString;
|
|
2160
|
+
}, z.core.$strict>]>;
|
|
2161
|
+
buckets: z.ZodArray<z.ZodEnum<{
|
|
2162
|
+
cost: "cost";
|
|
2163
|
+
fine: "fine";
|
|
2164
|
+
principal: "principal";
|
|
2165
|
+
profit: "profit";
|
|
2166
|
+
}>>;
|
|
2167
|
+
check: z.ZodEnum<{
|
|
2168
|
+
outstanding: "outstanding";
|
|
2169
|
+
settled: "settled";
|
|
2170
|
+
}>;
|
|
2171
|
+
}, z.core.$strict>>;
|
|
2172
|
+
unique: z.ZodOptional<z.ZodObject<{
|
|
2173
|
+
namespace: z.ZodString;
|
|
2174
|
+
byFields: z.ZodArray<z.ZodString>;
|
|
2175
|
+
}, z.core.$strict>>;
|
|
2176
|
+
requiresInput: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2177
|
+
engineOwned: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2178
|
+
captureEngine: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
2179
|
+
operationId: "operationId";
|
|
2180
|
+
}>>>;
|
|
2181
|
+
allocate: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2182
|
+
refField: z.ZodOptional<z.ZodString>;
|
|
2183
|
+
mode: z.ZodLiteral<"refund">;
|
|
2184
|
+
action: z.ZodOptional<z.ZodString>;
|
|
2185
|
+
assessmentField: z.ZodOptional<z.ZodString>;
|
|
2186
|
+
capture: z.ZodString;
|
|
2187
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2188
|
+
refField: z.ZodString;
|
|
2189
|
+
mode: z.ZodLiteral<"payment">;
|
|
2190
|
+
assessment: z.ZodOptional<z.ZodLiteral<"self">>;
|
|
2191
|
+
amountField: z.ZodOptional<z.ZodString>;
|
|
2192
|
+
sourceAccountField: z.ZodString;
|
|
2193
|
+
paymentIdentityField: z.ZodString;
|
|
2194
|
+
capture: z.ZodString;
|
|
2195
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2196
|
+
refField: z.ZodOptional<z.ZodString>;
|
|
2197
|
+
mode: z.ZodLiteral<"payoff">;
|
|
2198
|
+
amountField: z.ZodOptional<z.ZodString>;
|
|
2199
|
+
sourceAccountField: z.ZodString;
|
|
2200
|
+
paymentIdentityField: z.ZodString;
|
|
2201
|
+
capture: z.ZodString;
|
|
2202
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2203
|
+
refField: z.ZodOptional<z.ZodString>;
|
|
2204
|
+
mode: z.ZodLiteral<"write_off">;
|
|
2205
|
+
capture: z.ZodString;
|
|
2206
|
+
}, z.core.$strict>]>>;
|
|
2207
|
+
contributionStage: z.ZodOptional<z.ZodObject<{
|
|
2208
|
+
stage: z.ZodEnum<{
|
|
2209
|
+
fund: "fund";
|
|
2210
|
+
refund: "refund";
|
|
2211
|
+
}>;
|
|
2212
|
+
accountPath: z.ZodString;
|
|
2213
|
+
}, z.core.$strict>>;
|
|
2214
|
+
transitionsRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2215
|
+
field: z.ZodString;
|
|
2216
|
+
action: z.ZodString;
|
|
2217
|
+
}, z.core.$strict>>>;
|
|
1662
2218
|
agentDescription: z.ZodOptional<z.ZodString>;
|
|
1663
2219
|
calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1664
2220
|
action: z.ZodString;
|
|
@@ -1674,7 +2230,9 @@ declare const udlInstrumentShape: {
|
|
|
1674
2230
|
}, z.core.$strict>>;
|
|
1675
2231
|
deadline: z.ZodOptional<z.ZodObject<{
|
|
1676
2232
|
field: z.ZodString;
|
|
1677
|
-
offset: z.ZodOptional<z.ZodString
|
|
2233
|
+
offset: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2234
|
+
field: z.ZodString;
|
|
2235
|
+
}, z.core.$strict>]>>;
|
|
1678
2236
|
}, z.core.$strict>>;
|
|
1679
2237
|
decision: z.ZodOptional<z.ZodObject<{
|
|
1680
2238
|
capability: z.ZodEnum<{
|
|
@@ -1731,7 +2289,9 @@ declare const udlInstrumentShape: {
|
|
|
1731
2289
|
untilField: z.ZodOptional<z.ZodString>;
|
|
1732
2290
|
}, z.core.$strict>>;
|
|
1733
2291
|
field: z.ZodString;
|
|
1734
|
-
offset: z.ZodOptional<z.ZodString
|
|
2292
|
+
offset: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2293
|
+
field: z.ZodString;
|
|
2294
|
+
}, z.core.$strict>]>>;
|
|
1735
2295
|
whenParentStatus: z.ZodOptional<z.ZodObject<{
|
|
1736
2296
|
instrumentId: z.ZodString;
|
|
1737
2297
|
refField: z.ZodString;
|
|
@@ -1814,6 +2374,7 @@ declare const udlInstrumentShape: {
|
|
|
1814
2374
|
}, z.core.$strict>>;
|
|
1815
2375
|
port: z.ZodOptional<z.ZodObject<{
|
|
1816
2376
|
allowedParties: z.ZodArray<z.ZodString>;
|
|
2377
|
+
capture: z.ZodOptional<z.ZodString>;
|
|
1817
2378
|
}, z.core.$strict>>;
|
|
1818
2379
|
quote: z.ZodOptional<z.ZodObject<{
|
|
1819
2380
|
anchorField: z.ZodOptional<z.ZodString>;
|
|
@@ -1891,8 +2452,16 @@ declare const udlInstrumentShape: {
|
|
|
1891
2452
|
skip_steps: "skip_steps";
|
|
1892
2453
|
}>;
|
|
1893
2454
|
totalPath: z.ZodString;
|
|
2455
|
+
subtractPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1894
2456
|
}, z.core.$strict>>;
|
|
1895
2457
|
requiresAggregate: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2458
|
+
anchorField: z.ZodOptional<z.ZodString>;
|
|
2459
|
+
dueBefore: z.ZodOptional<z.ZodObject<{
|
|
2460
|
+
field: z.ZodString;
|
|
2461
|
+
offset: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2462
|
+
field: z.ZodString;
|
|
2463
|
+
}, z.core.$strict>]>>;
|
|
2464
|
+
}, z.core.$strict>>;
|
|
1896
2465
|
check: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1897
2466
|
amountField: z.ZodString;
|
|
1898
2467
|
kind: z.ZodLiteral<"sum_at_least">;
|
|
@@ -1912,6 +2481,23 @@ declare const udlInstrumentShape: {
|
|
|
1912
2481
|
}, z.core.$strict>, z.ZodObject<{
|
|
1913
2482
|
kind: z.ZodLiteral<"count_at_least">;
|
|
1914
2483
|
targetField: z.ZodString;
|
|
2484
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2485
|
+
kind: z.ZodLiteral<"count_exactly">;
|
|
2486
|
+
value: z.ZodNumber;
|
|
2487
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2488
|
+
kind: z.ZodLiteral<"ordered">;
|
|
2489
|
+
field: z.ZodString;
|
|
2490
|
+
positionField: z.ZodString;
|
|
2491
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2492
|
+
kind: z.ZodLiteral<"schedule">;
|
|
2493
|
+
positionField: z.ZodString;
|
|
2494
|
+
dateField: z.ZodString;
|
|
2495
|
+
datesField: z.ZodString;
|
|
2496
|
+
amounts: z.ZodArray<z.ZodObject<{
|
|
2497
|
+
amountField: z.ZodString;
|
|
2498
|
+
totalField: z.ZodString;
|
|
2499
|
+
}, z.core.$strict>>;
|
|
2500
|
+
remainder: z.ZodLiteral<"first">;
|
|
1915
2501
|
}, z.core.$strict>, z.ZodObject<{
|
|
1916
2502
|
kind: z.ZodLiteral<"all_in">;
|
|
1917
2503
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1931,6 +2517,11 @@ declare const udlInstrumentShape: {
|
|
|
1931
2517
|
path: z.ZodString;
|
|
1932
2518
|
}, z.core.$strict>>;
|
|
1933
2519
|
requiresExposure: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2520
|
+
groupField: z.ZodOptional<z.ZodString>;
|
|
2521
|
+
minimumField: z.ZodOptional<z.ZodString>;
|
|
2522
|
+
measure: z.ZodOptional<z.ZodObject<{
|
|
2523
|
+
allocation: z.ZodString;
|
|
2524
|
+
}, z.core.$strict>>;
|
|
1934
2525
|
amountField: z.ZodString;
|
|
1935
2526
|
anchorField: z.ZodString;
|
|
1936
2527
|
capField: z.ZodString;
|
|
@@ -1939,6 +2530,16 @@ declare const udlInstrumentShape: {
|
|
|
1939
2530
|
statuses: z.ZodArray<z.ZodString>;
|
|
1940
2531
|
}, z.core.$strict>>>;
|
|
1941
2532
|
requiresRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2533
|
+
attests: z.ZodOptional<z.ZodObject<{
|
|
2534
|
+
forAction: z.ZodOptional<z.ZodString>;
|
|
2535
|
+
action: z.ZodString;
|
|
2536
|
+
digest: z.ZodString;
|
|
2537
|
+
role: z.ZodString;
|
|
2538
|
+
expiresAt: z.ZodString;
|
|
2539
|
+
instrument: z.ZodString;
|
|
2540
|
+
party: z.ZodString;
|
|
2541
|
+
consume: z.ZodString;
|
|
2542
|
+
}, z.core.$strict>>;
|
|
1942
2543
|
bind: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1943
2544
|
dateComparison: z.ZodOptional<z.ZodObject<{
|
|
1944
2545
|
localPath: z.ZodString;
|
|
@@ -1951,11 +2552,18 @@ declare const udlInstrumentShape: {
|
|
|
1951
2552
|
}>;
|
|
1952
2553
|
referencedPath: z.ZodString;
|
|
1953
2554
|
}, z.core.$strict>>;
|
|
2555
|
+
dueBefore: z.ZodOptional<z.ZodObject<{
|
|
2556
|
+
field: z.ZodString;
|
|
2557
|
+
offset: z.ZodString;
|
|
2558
|
+
}, z.core.$strict>>;
|
|
1954
2559
|
field: z.ZodString;
|
|
1955
2560
|
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1956
2561
|
optional: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1957
2562
|
statuses: z.ZodArray<z.ZodString>;
|
|
1958
|
-
unique: z.ZodOptional<z.ZodLiteral<true
|
|
2563
|
+
unique: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<true>, z.ZodObject<{
|
|
2564
|
+
namespace: z.ZodString;
|
|
2565
|
+
byFields: z.ZodArray<z.ZodString>;
|
|
2566
|
+
}, z.core.$strict>]>>;
|
|
1959
2567
|
}, z.core.$strict>>>;
|
|
1960
2568
|
sandboxFailurePoint: z.ZodOptional<z.ZodEnum<{
|
|
1961
2569
|
funding: "funding";
|
|
@@ -2008,6 +2616,60 @@ declare const udlInstrumentShape: {
|
|
|
2008
2616
|
}, z.core.$strict>>;
|
|
2009
2617
|
};
|
|
2010
2618
|
declare const udlInstrumentSchema: z.ZodObject<{
|
|
2619
|
+
templateBinding: z.ZodOptional<z.ZodObject<{
|
|
2620
|
+
id: z.ZodString;
|
|
2621
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2622
|
+
}, z.core.$strict>>;
|
|
2623
|
+
allocation: z.ZodOptional<z.ZodObject<{
|
|
2624
|
+
sliceInstrumentId: z.ZodString;
|
|
2625
|
+
sliceRefField: z.ZodString;
|
|
2626
|
+
sliceStatuses: z.ZodArray<z.ZodString>;
|
|
2627
|
+
dueField: z.ZodString;
|
|
2628
|
+
positionField: z.ZodString;
|
|
2629
|
+
earningRuleField: z.ZodString;
|
|
2630
|
+
buckets: z.ZodArray<z.ZodObject<{
|
|
2631
|
+
key: z.ZodEnum<{
|
|
2632
|
+
cost: "cost";
|
|
2633
|
+
fine: "fine";
|
|
2634
|
+
principal: "principal";
|
|
2635
|
+
profit: "profit";
|
|
2636
|
+
}>;
|
|
2637
|
+
source: z.ZodUnion<readonly [z.ZodObject<{
|
|
2638
|
+
from: z.ZodLiteral<"slice">;
|
|
2639
|
+
amountField: z.ZodString;
|
|
2640
|
+
destinationField: z.ZodString;
|
|
2641
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2642
|
+
from: z.ZodLiteral<"children">;
|
|
2643
|
+
instrumentId: z.ZodString;
|
|
2644
|
+
refField: z.ZodString;
|
|
2645
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
2646
|
+
amountField: z.ZodString;
|
|
2647
|
+
destinationField: z.ZodString;
|
|
2648
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2649
|
+
from: z.ZodLiteral<"children">;
|
|
2650
|
+
template: z.ZodString;
|
|
2651
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2652
|
+
refField: z.ZodString;
|
|
2653
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
2654
|
+
amountField: z.ZodString;
|
|
2655
|
+
destinationField: z.ZodString;
|
|
2656
|
+
}, z.core.$strict>]>;
|
|
2657
|
+
}, z.core.$strict>>;
|
|
2658
|
+
}, z.core.$strict>>;
|
|
2659
|
+
contributions: z.ZodOptional<z.ZodObject<{
|
|
2660
|
+
field: z.ZodString;
|
|
2661
|
+
amountKey: z.ZodString;
|
|
2662
|
+
accountKey: z.ZodString;
|
|
2663
|
+
totalField: z.ZodString;
|
|
2664
|
+
}, z.core.$strict>>;
|
|
2665
|
+
dateOrder: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2666
|
+
beforeField: z.ZodString;
|
|
2667
|
+
afterField: z.ZodString;
|
|
2668
|
+
operator: z.ZodEnum<{
|
|
2669
|
+
"<": "<";
|
|
2670
|
+
"<=": "<=";
|
|
2671
|
+
}>;
|
|
2672
|
+
}, z.core.$strict>>>;
|
|
2011
2673
|
actionLibrary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2012
2674
|
actionOrder: z.ZodArray<z.ZodString>;
|
|
2013
2675
|
actions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -2120,10 +2782,15 @@ declare const udlInstrumentSchema: z.ZodObject<{
|
|
|
2120
2782
|
derivedAmounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2121
2783
|
field: z.ZodString;
|
|
2122
2784
|
rounding: z.ZodLiteral<"floor">;
|
|
2123
|
-
rule: z.ZodObject<{
|
|
2124
|
-
bps: z.ZodNumber
|
|
2785
|
+
rule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2786
|
+
bps: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2787
|
+
field: z.ZodString;
|
|
2788
|
+
}, z.core.$strict>]>;
|
|
2125
2789
|
kind: z.ZodLiteral<"percentage_of">;
|
|
2126
|
-
}, z.core.$strict
|
|
2790
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2791
|
+
kind: z.ZodLiteral<"minimum">;
|
|
2792
|
+
capField: z.ZodString;
|
|
2793
|
+
}, z.core.$strict>], "kind">;
|
|
2127
2794
|
sourceField: z.ZodString;
|
|
2128
2795
|
}, z.core.$strict>>>;
|
|
2129
2796
|
feeRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2168,17 +2835,6 @@ declare const udlInstrumentSchema: z.ZodObject<{
|
|
|
2168
2835
|
to: z.ZodString;
|
|
2169
2836
|
}, z.core.$strict>>;
|
|
2170
2837
|
}, z.core.$strict>;
|
|
2171
|
-
journeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2172
|
-
id: z.ZodString;
|
|
2173
|
-
label: z.ZodString;
|
|
2174
|
-
steps: z.ZodArray<z.ZodObject<{
|
|
2175
|
-
bind: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2176
|
-
example: z.ZodString;
|
|
2177
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2178
|
-
operation: z.ZodString;
|
|
2179
|
-
}, z.core.$strict>>;
|
|
2180
|
-
summary: z.ZodString;
|
|
2181
|
-
}, z.core.$strict>>>;
|
|
2182
2838
|
nav: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2183
2839
|
parties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2184
2840
|
partitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2222,6 +2878,109 @@ declare const udlInstrumentSchema: z.ZodObject<{
|
|
|
2222
2878
|
states: z.ZodArray<z.ZodString>;
|
|
2223
2879
|
}, z.core.$strict>>;
|
|
2224
2880
|
actions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2881
|
+
requestAuthority: z.ZodOptional<z.ZodObject<{
|
|
2882
|
+
instrumentField: z.ZodString;
|
|
2883
|
+
instanceField: z.ZodString;
|
|
2884
|
+
actionField: z.ZodString;
|
|
2885
|
+
inputField: z.ZodString;
|
|
2886
|
+
digestField: z.ZodString;
|
|
2887
|
+
roleField: z.ZodString;
|
|
2888
|
+
party: z.ZodString;
|
|
2889
|
+
expiresField: z.ZodString;
|
|
2890
|
+
}, z.core.$strict>>;
|
|
2891
|
+
funding: z.ZodOptional<z.ZodObject<{
|
|
2892
|
+
obligationField: z.ZodString;
|
|
2893
|
+
ticketInstrumentId: z.ZodString;
|
|
2894
|
+
ticketRefField: z.ZodString;
|
|
2895
|
+
ticketAmountField: z.ZodString;
|
|
2896
|
+
ticketInvestorField: z.ZodString;
|
|
2897
|
+
ticketAccountField: z.ZodString;
|
|
2898
|
+
ticketStatus: z.ZodString;
|
|
2899
|
+
collectAction: z.ZodString;
|
|
2900
|
+
principalField: z.ZodString;
|
|
2901
|
+
sourceAccountPath: z.ZodString;
|
|
2902
|
+
destinationAccountField: z.ZodString;
|
|
2903
|
+
terms: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2904
|
+
capture: z.ZodString;
|
|
2905
|
+
}, z.core.$strict>>;
|
|
2906
|
+
receiptDistribution: z.ZodOptional<z.ZodObject<{
|
|
2907
|
+
roundField: z.ZodString;
|
|
2908
|
+
snapshotRef: z.ZodString;
|
|
2909
|
+
receiptField: z.ZodString;
|
|
2910
|
+
receiptPath: z.ZodString;
|
|
2911
|
+
mode: z.ZodEnum<{
|
|
2912
|
+
cash: "cash";
|
|
2913
|
+
loss: "loss";
|
|
2914
|
+
}>;
|
|
2915
|
+
feeBps: z.ZodNumber;
|
|
2916
|
+
vatBps: z.ZodNumber;
|
|
2917
|
+
feeAccountField: z.ZodString;
|
|
2918
|
+
taxAccountField: z.ZodString;
|
|
2919
|
+
residualAccountField: z.ZodString;
|
|
2920
|
+
capture: z.ZodString;
|
|
2921
|
+
}, z.core.$strict>>;
|
|
2922
|
+
requiresAllocation: z.ZodOptional<z.ZodObject<{
|
|
2923
|
+
refField: z.ZodOptional<z.ZodString>;
|
|
2924
|
+
slice: z.ZodUnion<readonly [z.ZodLiteral<"self">, z.ZodObject<{
|
|
2925
|
+
field: z.ZodString;
|
|
2926
|
+
}, z.core.$strict>]>;
|
|
2927
|
+
buckets: z.ZodArray<z.ZodEnum<{
|
|
2928
|
+
cost: "cost";
|
|
2929
|
+
fine: "fine";
|
|
2930
|
+
principal: "principal";
|
|
2931
|
+
profit: "profit";
|
|
2932
|
+
}>>;
|
|
2933
|
+
check: z.ZodEnum<{
|
|
2934
|
+
outstanding: "outstanding";
|
|
2935
|
+
settled: "settled";
|
|
2936
|
+
}>;
|
|
2937
|
+
}, z.core.$strict>>;
|
|
2938
|
+
unique: z.ZodOptional<z.ZodObject<{
|
|
2939
|
+
namespace: z.ZodString;
|
|
2940
|
+
byFields: z.ZodArray<z.ZodString>;
|
|
2941
|
+
}, z.core.$strict>>;
|
|
2942
|
+
requiresInput: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2943
|
+
engineOwned: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2944
|
+
captureEngine: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
2945
|
+
operationId: "operationId";
|
|
2946
|
+
}>>>;
|
|
2947
|
+
allocate: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2948
|
+
refField: z.ZodOptional<z.ZodString>;
|
|
2949
|
+
mode: z.ZodLiteral<"refund">;
|
|
2950
|
+
action: z.ZodOptional<z.ZodString>;
|
|
2951
|
+
assessmentField: z.ZodOptional<z.ZodString>;
|
|
2952
|
+
capture: z.ZodString;
|
|
2953
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2954
|
+
refField: z.ZodString;
|
|
2955
|
+
mode: z.ZodLiteral<"payment">;
|
|
2956
|
+
assessment: z.ZodOptional<z.ZodLiteral<"self">>;
|
|
2957
|
+
amountField: z.ZodOptional<z.ZodString>;
|
|
2958
|
+
sourceAccountField: z.ZodString;
|
|
2959
|
+
paymentIdentityField: z.ZodString;
|
|
2960
|
+
capture: z.ZodString;
|
|
2961
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2962
|
+
refField: z.ZodOptional<z.ZodString>;
|
|
2963
|
+
mode: z.ZodLiteral<"payoff">;
|
|
2964
|
+
amountField: z.ZodOptional<z.ZodString>;
|
|
2965
|
+
sourceAccountField: z.ZodString;
|
|
2966
|
+
paymentIdentityField: z.ZodString;
|
|
2967
|
+
capture: z.ZodString;
|
|
2968
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2969
|
+
refField: z.ZodOptional<z.ZodString>;
|
|
2970
|
+
mode: z.ZodLiteral<"write_off">;
|
|
2971
|
+
capture: z.ZodString;
|
|
2972
|
+
}, z.core.$strict>]>>;
|
|
2973
|
+
contributionStage: z.ZodOptional<z.ZodObject<{
|
|
2974
|
+
stage: z.ZodEnum<{
|
|
2975
|
+
fund: "fund";
|
|
2976
|
+
refund: "refund";
|
|
2977
|
+
}>;
|
|
2978
|
+
accountPath: z.ZodString;
|
|
2979
|
+
}, z.core.$strict>>;
|
|
2980
|
+
transitionsRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2981
|
+
field: z.ZodString;
|
|
2982
|
+
action: z.ZodString;
|
|
2983
|
+
}, z.core.$strict>>>;
|
|
2225
2984
|
agentDescription: z.ZodOptional<z.ZodString>;
|
|
2226
2985
|
calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2227
2986
|
action: z.ZodString;
|
|
@@ -2237,7 +2996,9 @@ declare const udlInstrumentSchema: z.ZodObject<{
|
|
|
2237
2996
|
}, z.core.$strict>>;
|
|
2238
2997
|
deadline: z.ZodOptional<z.ZodObject<{
|
|
2239
2998
|
field: z.ZodString;
|
|
2240
|
-
offset: z.ZodOptional<z.ZodString
|
|
2999
|
+
offset: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3000
|
+
field: z.ZodString;
|
|
3001
|
+
}, z.core.$strict>]>>;
|
|
2241
3002
|
}, z.core.$strict>>;
|
|
2242
3003
|
decision: z.ZodOptional<z.ZodObject<{
|
|
2243
3004
|
capability: z.ZodEnum<{
|
|
@@ -2294,7 +3055,9 @@ declare const udlInstrumentSchema: z.ZodObject<{
|
|
|
2294
3055
|
untilField: z.ZodOptional<z.ZodString>;
|
|
2295
3056
|
}, z.core.$strict>>;
|
|
2296
3057
|
field: z.ZodString;
|
|
2297
|
-
offset: z.ZodOptional<z.ZodString
|
|
3058
|
+
offset: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3059
|
+
field: z.ZodString;
|
|
3060
|
+
}, z.core.$strict>]>>;
|
|
2298
3061
|
whenParentStatus: z.ZodOptional<z.ZodObject<{
|
|
2299
3062
|
instrumentId: z.ZodString;
|
|
2300
3063
|
refField: z.ZodString;
|
|
@@ -2377,6 +3140,7 @@ declare const udlInstrumentSchema: z.ZodObject<{
|
|
|
2377
3140
|
}, z.core.$strict>>;
|
|
2378
3141
|
port: z.ZodOptional<z.ZodObject<{
|
|
2379
3142
|
allowedParties: z.ZodArray<z.ZodString>;
|
|
3143
|
+
capture: z.ZodOptional<z.ZodString>;
|
|
2380
3144
|
}, z.core.$strict>>;
|
|
2381
3145
|
quote: z.ZodOptional<z.ZodObject<{
|
|
2382
3146
|
anchorField: z.ZodOptional<z.ZodString>;
|
|
@@ -2454,8 +3218,16 @@ declare const udlInstrumentSchema: z.ZodObject<{
|
|
|
2454
3218
|
skip_steps: "skip_steps";
|
|
2455
3219
|
}>;
|
|
2456
3220
|
totalPath: z.ZodString;
|
|
3221
|
+
subtractPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2457
3222
|
}, z.core.$strict>>;
|
|
2458
3223
|
requiresAggregate: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3224
|
+
anchorField: z.ZodOptional<z.ZodString>;
|
|
3225
|
+
dueBefore: z.ZodOptional<z.ZodObject<{
|
|
3226
|
+
field: z.ZodString;
|
|
3227
|
+
offset: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3228
|
+
field: z.ZodString;
|
|
3229
|
+
}, z.core.$strict>]>>;
|
|
3230
|
+
}, z.core.$strict>>;
|
|
2459
3231
|
check: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2460
3232
|
amountField: z.ZodString;
|
|
2461
3233
|
kind: z.ZodLiteral<"sum_at_least">;
|
|
@@ -2475,6 +3247,23 @@ declare const udlInstrumentSchema: z.ZodObject<{
|
|
|
2475
3247
|
}, z.core.$strict>, z.ZodObject<{
|
|
2476
3248
|
kind: z.ZodLiteral<"count_at_least">;
|
|
2477
3249
|
targetField: z.ZodString;
|
|
3250
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3251
|
+
kind: z.ZodLiteral<"count_exactly">;
|
|
3252
|
+
value: z.ZodNumber;
|
|
3253
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3254
|
+
kind: z.ZodLiteral<"ordered">;
|
|
3255
|
+
field: z.ZodString;
|
|
3256
|
+
positionField: z.ZodString;
|
|
3257
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3258
|
+
kind: z.ZodLiteral<"schedule">;
|
|
3259
|
+
positionField: z.ZodString;
|
|
3260
|
+
dateField: z.ZodString;
|
|
3261
|
+
datesField: z.ZodString;
|
|
3262
|
+
amounts: z.ZodArray<z.ZodObject<{
|
|
3263
|
+
amountField: z.ZodString;
|
|
3264
|
+
totalField: z.ZodString;
|
|
3265
|
+
}, z.core.$strict>>;
|
|
3266
|
+
remainder: z.ZodLiteral<"first">;
|
|
2478
3267
|
}, z.core.$strict>, z.ZodObject<{
|
|
2479
3268
|
kind: z.ZodLiteral<"all_in">;
|
|
2480
3269
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2494,6 +3283,11 @@ declare const udlInstrumentSchema: z.ZodObject<{
|
|
|
2494
3283
|
path: z.ZodString;
|
|
2495
3284
|
}, z.core.$strict>>;
|
|
2496
3285
|
requiresExposure: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3286
|
+
groupField: z.ZodOptional<z.ZodString>;
|
|
3287
|
+
minimumField: z.ZodOptional<z.ZodString>;
|
|
3288
|
+
measure: z.ZodOptional<z.ZodObject<{
|
|
3289
|
+
allocation: z.ZodString;
|
|
3290
|
+
}, z.core.$strict>>;
|
|
2497
3291
|
amountField: z.ZodString;
|
|
2498
3292
|
anchorField: z.ZodString;
|
|
2499
3293
|
capField: z.ZodString;
|
|
@@ -2502,6 +3296,16 @@ declare const udlInstrumentSchema: z.ZodObject<{
|
|
|
2502
3296
|
statuses: z.ZodArray<z.ZodString>;
|
|
2503
3297
|
}, z.core.$strict>>>;
|
|
2504
3298
|
requiresRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3299
|
+
attests: z.ZodOptional<z.ZodObject<{
|
|
3300
|
+
forAction: z.ZodOptional<z.ZodString>;
|
|
3301
|
+
action: z.ZodString;
|
|
3302
|
+
digest: z.ZodString;
|
|
3303
|
+
role: z.ZodString;
|
|
3304
|
+
expiresAt: z.ZodString;
|
|
3305
|
+
instrument: z.ZodString;
|
|
3306
|
+
party: z.ZodString;
|
|
3307
|
+
consume: z.ZodString;
|
|
3308
|
+
}, z.core.$strict>>;
|
|
2505
3309
|
bind: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2506
3310
|
dateComparison: z.ZodOptional<z.ZodObject<{
|
|
2507
3311
|
localPath: z.ZodString;
|
|
@@ -2514,11 +3318,18 @@ declare const udlInstrumentSchema: z.ZodObject<{
|
|
|
2514
3318
|
}>;
|
|
2515
3319
|
referencedPath: z.ZodString;
|
|
2516
3320
|
}, z.core.$strict>>;
|
|
3321
|
+
dueBefore: z.ZodOptional<z.ZodObject<{
|
|
3322
|
+
field: z.ZodString;
|
|
3323
|
+
offset: z.ZodString;
|
|
3324
|
+
}, z.core.$strict>>;
|
|
2517
3325
|
field: z.ZodString;
|
|
2518
3326
|
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2519
3327
|
optional: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2520
3328
|
statuses: z.ZodArray<z.ZodString>;
|
|
2521
|
-
unique: z.ZodOptional<z.ZodLiteral<true
|
|
3329
|
+
unique: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<true>, z.ZodObject<{
|
|
3330
|
+
namespace: z.ZodString;
|
|
3331
|
+
byFields: z.ZodArray<z.ZodString>;
|
|
3332
|
+
}, z.core.$strict>]>>;
|
|
2522
3333
|
}, z.core.$strict>>>;
|
|
2523
3334
|
sandboxFailurePoint: z.ZodOptional<z.ZodEnum<{
|
|
2524
3335
|
funding: "funding";
|
|
@@ -2601,6 +3412,117 @@ export type UdlClauseVocabularyEntry = UdlClauseVocabularyMetadata & ({
|
|
|
2601
3412
|
readonly target: UdlInstrumentClauseTarget;
|
|
2602
3413
|
});
|
|
2603
3414
|
export declare const udlClauseVocabulary: readonly [{
|
|
3415
|
+
readonly scope: "action";
|
|
3416
|
+
readonly spelling: "funding";
|
|
3417
|
+
readonly target: "funding";
|
|
3418
|
+
readonly cardinality: "one";
|
|
3419
|
+
readonly effects: readonly [{
|
|
3420
|
+
readonly kind: "moves";
|
|
3421
|
+
readonly per: "clause";
|
|
3422
|
+
readonly signature: {
|
|
3423
|
+
readonly fixed: "transfer.internal";
|
|
3424
|
+
};
|
|
3425
|
+
}];
|
|
3426
|
+
}, {
|
|
3427
|
+
readonly scope: "action";
|
|
3428
|
+
readonly spelling: "receipt distribution";
|
|
3429
|
+
readonly target: "receiptDistribution";
|
|
3430
|
+
readonly cardinality: "one";
|
|
3431
|
+
readonly effects: readonly [{
|
|
3432
|
+
readonly kind: "decides";
|
|
3433
|
+
readonly per: "clause";
|
|
3434
|
+
readonly signature: {
|
|
3435
|
+
readonly fixed: "allocation";
|
|
3436
|
+
};
|
|
3437
|
+
}, {
|
|
3438
|
+
readonly kind: "moves";
|
|
3439
|
+
readonly per: "clause";
|
|
3440
|
+
readonly signature: {
|
|
3441
|
+
readonly fixed: "allocation";
|
|
3442
|
+
};
|
|
3443
|
+
}];
|
|
3444
|
+
}, {
|
|
3445
|
+
readonly cardinality: "one";
|
|
3446
|
+
readonly scope: "action";
|
|
3447
|
+
readonly spelling: "requires allocation";
|
|
3448
|
+
readonly target: "requiresAllocation";
|
|
3449
|
+
readonly effects: readonly [{
|
|
3450
|
+
readonly kind: "decides";
|
|
3451
|
+
readonly per: "clause";
|
|
3452
|
+
readonly signature: {
|
|
3453
|
+
readonly fixed: "allocation";
|
|
3454
|
+
};
|
|
3455
|
+
}];
|
|
3456
|
+
}, {
|
|
3457
|
+
readonly cardinality: "one";
|
|
3458
|
+
readonly scope: "instrument";
|
|
3459
|
+
readonly spelling: "allocation";
|
|
3460
|
+
readonly target: "allocation";
|
|
3461
|
+
}, {
|
|
3462
|
+
readonly cardinality: "one";
|
|
3463
|
+
readonly scope: "instrument";
|
|
3464
|
+
readonly spelling: "contributions";
|
|
3465
|
+
readonly target: "contributions";
|
|
3466
|
+
}, {
|
|
3467
|
+
readonly cardinality: "one";
|
|
3468
|
+
readonly scope: "action";
|
|
3469
|
+
readonly spelling: "allocate";
|
|
3470
|
+
readonly target: "allocate";
|
|
3471
|
+
readonly effects: readonly [{
|
|
3472
|
+
readonly kind: "decides";
|
|
3473
|
+
readonly per: "clause";
|
|
3474
|
+
readonly signature: {
|
|
3475
|
+
readonly fixed: "allocation";
|
|
3476
|
+
};
|
|
3477
|
+
}, {
|
|
3478
|
+
readonly kind: "moves";
|
|
3479
|
+
readonly per: "clause";
|
|
3480
|
+
readonly signature: {
|
|
3481
|
+
readonly fixed: "allocation";
|
|
3482
|
+
};
|
|
3483
|
+
}];
|
|
3484
|
+
}, {
|
|
3485
|
+
readonly cardinality: "one";
|
|
3486
|
+
readonly scope: "action";
|
|
3487
|
+
readonly spelling: "contribution stage";
|
|
3488
|
+
readonly target: "contributionStage";
|
|
3489
|
+
readonly effects: readonly [{
|
|
3490
|
+
readonly kind: "moves";
|
|
3491
|
+
readonly per: "clause";
|
|
3492
|
+
readonly signature: {
|
|
3493
|
+
readonly fixed: "transfer.internal";
|
|
3494
|
+
};
|
|
3495
|
+
}];
|
|
3496
|
+
}, {
|
|
3497
|
+
readonly cardinality: "many";
|
|
3498
|
+
readonly scope: "instrument";
|
|
3499
|
+
readonly spelling: "date order";
|
|
3500
|
+
readonly target: "dateOrder";
|
|
3501
|
+
}, {
|
|
3502
|
+
readonly cardinality: "one";
|
|
3503
|
+
readonly scope: "action";
|
|
3504
|
+
readonly spelling: "unique";
|
|
3505
|
+
readonly target: "unique";
|
|
3506
|
+
readonly effects: readonly [{
|
|
3507
|
+
readonly kind: "decides";
|
|
3508
|
+
readonly per: "clause";
|
|
3509
|
+
readonly signature: {
|
|
3510
|
+
readonly fixed: "subject_unique";
|
|
3511
|
+
};
|
|
3512
|
+
}];
|
|
3513
|
+
}, {
|
|
3514
|
+
readonly cardinality: "many";
|
|
3515
|
+
readonly scope: "action";
|
|
3516
|
+
readonly spelling: "transitions refs";
|
|
3517
|
+
readonly target: "transitionsRefs";
|
|
3518
|
+
readonly effects: readonly [{
|
|
3519
|
+
readonly kind: "decides";
|
|
3520
|
+
readonly per: "element";
|
|
3521
|
+
readonly signature: {
|
|
3522
|
+
readonly fixed: "referenced_transition";
|
|
3523
|
+
};
|
|
3524
|
+
}];
|
|
3525
|
+
}, {
|
|
2604
3526
|
readonly cardinality: "one";
|
|
2605
3527
|
readonly literalKeys: true;
|
|
2606
3528
|
readonly scope: "instrument";
|
|
@@ -2617,6 +3539,23 @@ export declare const udlClauseVocabulary: readonly [{
|
|
|
2617
3539
|
readonly scope: "action";
|
|
2618
3540
|
readonly spelling: "calls";
|
|
2619
3541
|
readonly target: "calls";
|
|
3542
|
+
}, {
|
|
3543
|
+
readonly cardinality: "one";
|
|
3544
|
+
readonly scope: "action";
|
|
3545
|
+
readonly spelling: "requires input";
|
|
3546
|
+
readonly target: "requiresInput";
|
|
3547
|
+
readonly literalKeys: true;
|
|
3548
|
+
}, {
|
|
3549
|
+
readonly cardinality: "one";
|
|
3550
|
+
readonly scope: "action";
|
|
3551
|
+
readonly spelling: "engine owned";
|
|
3552
|
+
readonly target: "engineOwned";
|
|
3553
|
+
}, {
|
|
3554
|
+
readonly cardinality: "one";
|
|
3555
|
+
readonly scope: "action";
|
|
3556
|
+
readonly spelling: "capture engine";
|
|
3557
|
+
readonly target: "captureEngine";
|
|
3558
|
+
readonly literalKeys: true;
|
|
2620
3559
|
}, {
|
|
2621
3560
|
readonly cardinality: "one";
|
|
2622
3561
|
readonly scope: "action";
|
|
@@ -2939,11 +3878,6 @@ export declare const udlClauseVocabulary: readonly [{
|
|
|
2939
3878
|
readonly scope: "instrument";
|
|
2940
3879
|
readonly spelling: "id prefix";
|
|
2941
3880
|
readonly target: "idPrefix";
|
|
2942
|
-
}, {
|
|
2943
|
-
readonly cardinality: "many";
|
|
2944
|
-
readonly scope: "instrument";
|
|
2945
|
-
readonly spelling: "journeys";
|
|
2946
|
-
readonly target: "journeys";
|
|
2947
3881
|
}, {
|
|
2948
3882
|
readonly cardinality: "many";
|
|
2949
3883
|
readonly scope: "instrument";
|
|
@@ -2969,6 +3903,11 @@ export declare const udlClauseVocabulary: readonly [{
|
|
|
2969
3903
|
readonly scope: "instrument";
|
|
2970
3904
|
readonly spelling: "surface visibility";
|
|
2971
3905
|
readonly target: "surfaceVisibility";
|
|
3906
|
+
}, {
|
|
3907
|
+
readonly cardinality: "one";
|
|
3908
|
+
readonly scope: "instrument";
|
|
3909
|
+
readonly spelling: "template binding";
|
|
3910
|
+
readonly target: "templateBinding";
|
|
2972
3911
|
}, {
|
|
2973
3912
|
readonly cardinality: "one";
|
|
2974
3913
|
readonly scope: "instrument";
|
|
@@ -2984,6 +3923,12 @@ export declare const udlClauseVocabulary: readonly [{
|
|
|
2984
3923
|
readonly scope: "instrument";
|
|
2985
3924
|
readonly spelling: "update";
|
|
2986
3925
|
readonly target: "update";
|
|
3926
|
+
}, {
|
|
3927
|
+
readonly cardinality: "one";
|
|
3928
|
+
readonly effects: readonly [];
|
|
3929
|
+
readonly scope: "action";
|
|
3930
|
+
readonly spelling: "request authority";
|
|
3931
|
+
readonly target: "requestAuthority";
|
|
2987
3932
|
}];
|
|
2988
3933
|
export declare const udlDocumentSchema: z.ZodObject<{
|
|
2989
3934
|
dials: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2994,6 +3939,60 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
2994
3939
|
title: z.ZodString;
|
|
2995
3940
|
}, z.core.$strict>>>;
|
|
2996
3941
|
instruments: z.ZodArray<z.ZodObject<{
|
|
3942
|
+
templateBinding: z.ZodOptional<z.ZodObject<{
|
|
3943
|
+
id: z.ZodString;
|
|
3944
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3945
|
+
}, z.core.$strict>>;
|
|
3946
|
+
allocation: z.ZodOptional<z.ZodObject<{
|
|
3947
|
+
sliceInstrumentId: z.ZodString;
|
|
3948
|
+
sliceRefField: z.ZodString;
|
|
3949
|
+
sliceStatuses: z.ZodArray<z.ZodString>;
|
|
3950
|
+
dueField: z.ZodString;
|
|
3951
|
+
positionField: z.ZodString;
|
|
3952
|
+
earningRuleField: z.ZodString;
|
|
3953
|
+
buckets: z.ZodArray<z.ZodObject<{
|
|
3954
|
+
key: z.ZodEnum<{
|
|
3955
|
+
cost: "cost";
|
|
3956
|
+
fine: "fine";
|
|
3957
|
+
principal: "principal";
|
|
3958
|
+
profit: "profit";
|
|
3959
|
+
}>;
|
|
3960
|
+
source: z.ZodUnion<readonly [z.ZodObject<{
|
|
3961
|
+
from: z.ZodLiteral<"slice">;
|
|
3962
|
+
amountField: z.ZodString;
|
|
3963
|
+
destinationField: z.ZodString;
|
|
3964
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3965
|
+
from: z.ZodLiteral<"children">;
|
|
3966
|
+
instrumentId: z.ZodString;
|
|
3967
|
+
refField: z.ZodString;
|
|
3968
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
3969
|
+
amountField: z.ZodString;
|
|
3970
|
+
destinationField: z.ZodString;
|
|
3971
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3972
|
+
from: z.ZodLiteral<"children">;
|
|
3973
|
+
template: z.ZodString;
|
|
3974
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3975
|
+
refField: z.ZodString;
|
|
3976
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
3977
|
+
amountField: z.ZodString;
|
|
3978
|
+
destinationField: z.ZodString;
|
|
3979
|
+
}, z.core.$strict>]>;
|
|
3980
|
+
}, z.core.$strict>>;
|
|
3981
|
+
}, z.core.$strict>>;
|
|
3982
|
+
contributions: z.ZodOptional<z.ZodObject<{
|
|
3983
|
+
field: z.ZodString;
|
|
3984
|
+
amountKey: z.ZodString;
|
|
3985
|
+
accountKey: z.ZodString;
|
|
3986
|
+
totalField: z.ZodString;
|
|
3987
|
+
}, z.core.$strict>>;
|
|
3988
|
+
dateOrder: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3989
|
+
beforeField: z.ZodString;
|
|
3990
|
+
afterField: z.ZodString;
|
|
3991
|
+
operator: z.ZodEnum<{
|
|
3992
|
+
"<": "<";
|
|
3993
|
+
"<=": "<=";
|
|
3994
|
+
}>;
|
|
3995
|
+
}, z.core.$strict>>>;
|
|
2997
3996
|
actionLibrary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2998
3997
|
actionOrder: z.ZodArray<z.ZodString>;
|
|
2999
3998
|
actions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -3106,10 +4105,15 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
3106
4105
|
derivedAmounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3107
4106
|
field: z.ZodString;
|
|
3108
4107
|
rounding: z.ZodLiteral<"floor">;
|
|
3109
|
-
rule: z.ZodObject<{
|
|
3110
|
-
bps: z.ZodNumber
|
|
4108
|
+
rule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4109
|
+
bps: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
4110
|
+
field: z.ZodString;
|
|
4111
|
+
}, z.core.$strict>]>;
|
|
3111
4112
|
kind: z.ZodLiteral<"percentage_of">;
|
|
3112
|
-
}, z.core.$strict
|
|
4113
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4114
|
+
kind: z.ZodLiteral<"minimum">;
|
|
4115
|
+
capField: z.ZodString;
|
|
4116
|
+
}, z.core.$strict>], "kind">;
|
|
3113
4117
|
sourceField: z.ZodString;
|
|
3114
4118
|
}, z.core.$strict>>>;
|
|
3115
4119
|
feeRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3154,17 +4158,6 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
3154
4158
|
to: z.ZodString;
|
|
3155
4159
|
}, z.core.$strict>>;
|
|
3156
4160
|
}, z.core.$strict>;
|
|
3157
|
-
journeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3158
|
-
id: z.ZodString;
|
|
3159
|
-
label: z.ZodString;
|
|
3160
|
-
steps: z.ZodArray<z.ZodObject<{
|
|
3161
|
-
bind: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3162
|
-
example: z.ZodString;
|
|
3163
|
-
id: z.ZodOptional<z.ZodString>;
|
|
3164
|
-
operation: z.ZodString;
|
|
3165
|
-
}, z.core.$strict>>;
|
|
3166
|
-
summary: z.ZodString;
|
|
3167
|
-
}, z.core.$strict>>>;
|
|
3168
4161
|
nav: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3169
4162
|
parties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3170
4163
|
partitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3208,6 +4201,109 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
3208
4201
|
states: z.ZodArray<z.ZodString>;
|
|
3209
4202
|
}, z.core.$strict>>;
|
|
3210
4203
|
actions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4204
|
+
requestAuthority: z.ZodOptional<z.ZodObject<{
|
|
4205
|
+
instrumentField: z.ZodString;
|
|
4206
|
+
instanceField: z.ZodString;
|
|
4207
|
+
actionField: z.ZodString;
|
|
4208
|
+
inputField: z.ZodString;
|
|
4209
|
+
digestField: z.ZodString;
|
|
4210
|
+
roleField: z.ZodString;
|
|
4211
|
+
party: z.ZodString;
|
|
4212
|
+
expiresField: z.ZodString;
|
|
4213
|
+
}, z.core.$strict>>;
|
|
4214
|
+
funding: z.ZodOptional<z.ZodObject<{
|
|
4215
|
+
obligationField: z.ZodString;
|
|
4216
|
+
ticketInstrumentId: z.ZodString;
|
|
4217
|
+
ticketRefField: z.ZodString;
|
|
4218
|
+
ticketAmountField: z.ZodString;
|
|
4219
|
+
ticketInvestorField: z.ZodString;
|
|
4220
|
+
ticketAccountField: z.ZodString;
|
|
4221
|
+
ticketStatus: z.ZodString;
|
|
4222
|
+
collectAction: z.ZodString;
|
|
4223
|
+
principalField: z.ZodString;
|
|
4224
|
+
sourceAccountPath: z.ZodString;
|
|
4225
|
+
destinationAccountField: z.ZodString;
|
|
4226
|
+
terms: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4227
|
+
capture: z.ZodString;
|
|
4228
|
+
}, z.core.$strict>>;
|
|
4229
|
+
receiptDistribution: z.ZodOptional<z.ZodObject<{
|
|
4230
|
+
roundField: z.ZodString;
|
|
4231
|
+
snapshotRef: z.ZodString;
|
|
4232
|
+
receiptField: z.ZodString;
|
|
4233
|
+
receiptPath: z.ZodString;
|
|
4234
|
+
mode: z.ZodEnum<{
|
|
4235
|
+
cash: "cash";
|
|
4236
|
+
loss: "loss";
|
|
4237
|
+
}>;
|
|
4238
|
+
feeBps: z.ZodNumber;
|
|
4239
|
+
vatBps: z.ZodNumber;
|
|
4240
|
+
feeAccountField: z.ZodString;
|
|
4241
|
+
taxAccountField: z.ZodString;
|
|
4242
|
+
residualAccountField: z.ZodString;
|
|
4243
|
+
capture: z.ZodString;
|
|
4244
|
+
}, z.core.$strict>>;
|
|
4245
|
+
requiresAllocation: z.ZodOptional<z.ZodObject<{
|
|
4246
|
+
refField: z.ZodOptional<z.ZodString>;
|
|
4247
|
+
slice: z.ZodUnion<readonly [z.ZodLiteral<"self">, z.ZodObject<{
|
|
4248
|
+
field: z.ZodString;
|
|
4249
|
+
}, z.core.$strict>]>;
|
|
4250
|
+
buckets: z.ZodArray<z.ZodEnum<{
|
|
4251
|
+
cost: "cost";
|
|
4252
|
+
fine: "fine";
|
|
4253
|
+
principal: "principal";
|
|
4254
|
+
profit: "profit";
|
|
4255
|
+
}>>;
|
|
4256
|
+
check: z.ZodEnum<{
|
|
4257
|
+
outstanding: "outstanding";
|
|
4258
|
+
settled: "settled";
|
|
4259
|
+
}>;
|
|
4260
|
+
}, z.core.$strict>>;
|
|
4261
|
+
unique: z.ZodOptional<z.ZodObject<{
|
|
4262
|
+
namespace: z.ZodString;
|
|
4263
|
+
byFields: z.ZodArray<z.ZodString>;
|
|
4264
|
+
}, z.core.$strict>>;
|
|
4265
|
+
requiresInput: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4266
|
+
engineOwned: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4267
|
+
captureEngine: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
4268
|
+
operationId: "operationId";
|
|
4269
|
+
}>>>;
|
|
4270
|
+
allocate: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
4271
|
+
refField: z.ZodOptional<z.ZodString>;
|
|
4272
|
+
mode: z.ZodLiteral<"refund">;
|
|
4273
|
+
action: z.ZodOptional<z.ZodString>;
|
|
4274
|
+
assessmentField: z.ZodOptional<z.ZodString>;
|
|
4275
|
+
capture: z.ZodString;
|
|
4276
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4277
|
+
refField: z.ZodString;
|
|
4278
|
+
mode: z.ZodLiteral<"payment">;
|
|
4279
|
+
assessment: z.ZodOptional<z.ZodLiteral<"self">>;
|
|
4280
|
+
amountField: z.ZodOptional<z.ZodString>;
|
|
4281
|
+
sourceAccountField: z.ZodString;
|
|
4282
|
+
paymentIdentityField: z.ZodString;
|
|
4283
|
+
capture: z.ZodString;
|
|
4284
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4285
|
+
refField: z.ZodOptional<z.ZodString>;
|
|
4286
|
+
mode: z.ZodLiteral<"payoff">;
|
|
4287
|
+
amountField: z.ZodOptional<z.ZodString>;
|
|
4288
|
+
sourceAccountField: z.ZodString;
|
|
4289
|
+
paymentIdentityField: z.ZodString;
|
|
4290
|
+
capture: z.ZodString;
|
|
4291
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4292
|
+
refField: z.ZodOptional<z.ZodString>;
|
|
4293
|
+
mode: z.ZodLiteral<"write_off">;
|
|
4294
|
+
capture: z.ZodString;
|
|
4295
|
+
}, z.core.$strict>]>>;
|
|
4296
|
+
contributionStage: z.ZodOptional<z.ZodObject<{
|
|
4297
|
+
stage: z.ZodEnum<{
|
|
4298
|
+
fund: "fund";
|
|
4299
|
+
refund: "refund";
|
|
4300
|
+
}>;
|
|
4301
|
+
accountPath: z.ZodString;
|
|
4302
|
+
}, z.core.$strict>>;
|
|
4303
|
+
transitionsRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4304
|
+
field: z.ZodString;
|
|
4305
|
+
action: z.ZodString;
|
|
4306
|
+
}, z.core.$strict>>>;
|
|
3211
4307
|
agentDescription: z.ZodOptional<z.ZodString>;
|
|
3212
4308
|
calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3213
4309
|
action: z.ZodString;
|
|
@@ -3223,7 +4319,9 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
3223
4319
|
}, z.core.$strict>>;
|
|
3224
4320
|
deadline: z.ZodOptional<z.ZodObject<{
|
|
3225
4321
|
field: z.ZodString;
|
|
3226
|
-
offset: z.ZodOptional<z.ZodString
|
|
4322
|
+
offset: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4323
|
+
field: z.ZodString;
|
|
4324
|
+
}, z.core.$strict>]>>;
|
|
3227
4325
|
}, z.core.$strict>>;
|
|
3228
4326
|
decision: z.ZodOptional<z.ZodObject<{
|
|
3229
4327
|
capability: z.ZodEnum<{
|
|
@@ -3280,7 +4378,9 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
3280
4378
|
untilField: z.ZodOptional<z.ZodString>;
|
|
3281
4379
|
}, z.core.$strict>>;
|
|
3282
4380
|
field: z.ZodString;
|
|
3283
|
-
offset: z.ZodOptional<z.ZodString
|
|
4381
|
+
offset: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4382
|
+
field: z.ZodString;
|
|
4383
|
+
}, z.core.$strict>]>>;
|
|
3284
4384
|
whenParentStatus: z.ZodOptional<z.ZodObject<{
|
|
3285
4385
|
instrumentId: z.ZodString;
|
|
3286
4386
|
refField: z.ZodString;
|
|
@@ -3363,6 +4463,7 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
3363
4463
|
}, z.core.$strict>>;
|
|
3364
4464
|
port: z.ZodOptional<z.ZodObject<{
|
|
3365
4465
|
allowedParties: z.ZodArray<z.ZodString>;
|
|
4466
|
+
capture: z.ZodOptional<z.ZodString>;
|
|
3366
4467
|
}, z.core.$strict>>;
|
|
3367
4468
|
quote: z.ZodOptional<z.ZodObject<{
|
|
3368
4469
|
anchorField: z.ZodOptional<z.ZodString>;
|
|
@@ -3440,8 +4541,16 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
3440
4541
|
skip_steps: "skip_steps";
|
|
3441
4542
|
}>;
|
|
3442
4543
|
totalPath: z.ZodString;
|
|
4544
|
+
subtractPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3443
4545
|
}, z.core.$strict>>;
|
|
3444
4546
|
requiresAggregate: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4547
|
+
anchorField: z.ZodOptional<z.ZodString>;
|
|
4548
|
+
dueBefore: z.ZodOptional<z.ZodObject<{
|
|
4549
|
+
field: z.ZodString;
|
|
4550
|
+
offset: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4551
|
+
field: z.ZodString;
|
|
4552
|
+
}, z.core.$strict>]>>;
|
|
4553
|
+
}, z.core.$strict>>;
|
|
3445
4554
|
check: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3446
4555
|
amountField: z.ZodString;
|
|
3447
4556
|
kind: z.ZodLiteral<"sum_at_least">;
|
|
@@ -3461,6 +4570,23 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
3461
4570
|
}, z.core.$strict>, z.ZodObject<{
|
|
3462
4571
|
kind: z.ZodLiteral<"count_at_least">;
|
|
3463
4572
|
targetField: z.ZodString;
|
|
4573
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4574
|
+
kind: z.ZodLiteral<"count_exactly">;
|
|
4575
|
+
value: z.ZodNumber;
|
|
4576
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4577
|
+
kind: z.ZodLiteral<"ordered">;
|
|
4578
|
+
field: z.ZodString;
|
|
4579
|
+
positionField: z.ZodString;
|
|
4580
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4581
|
+
kind: z.ZodLiteral<"schedule">;
|
|
4582
|
+
positionField: z.ZodString;
|
|
4583
|
+
dateField: z.ZodString;
|
|
4584
|
+
datesField: z.ZodString;
|
|
4585
|
+
amounts: z.ZodArray<z.ZodObject<{
|
|
4586
|
+
amountField: z.ZodString;
|
|
4587
|
+
totalField: z.ZodString;
|
|
4588
|
+
}, z.core.$strict>>;
|
|
4589
|
+
remainder: z.ZodLiteral<"first">;
|
|
3464
4590
|
}, z.core.$strict>, z.ZodObject<{
|
|
3465
4591
|
kind: z.ZodLiteral<"all_in">;
|
|
3466
4592
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3480,6 +4606,11 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
3480
4606
|
path: z.ZodString;
|
|
3481
4607
|
}, z.core.$strict>>;
|
|
3482
4608
|
requiresExposure: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4609
|
+
groupField: z.ZodOptional<z.ZodString>;
|
|
4610
|
+
minimumField: z.ZodOptional<z.ZodString>;
|
|
4611
|
+
measure: z.ZodOptional<z.ZodObject<{
|
|
4612
|
+
allocation: z.ZodString;
|
|
4613
|
+
}, z.core.$strict>>;
|
|
3483
4614
|
amountField: z.ZodString;
|
|
3484
4615
|
anchorField: z.ZodString;
|
|
3485
4616
|
capField: z.ZodString;
|
|
@@ -3488,6 +4619,16 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
3488
4619
|
statuses: z.ZodArray<z.ZodString>;
|
|
3489
4620
|
}, z.core.$strict>>>;
|
|
3490
4621
|
requiresRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4622
|
+
attests: z.ZodOptional<z.ZodObject<{
|
|
4623
|
+
forAction: z.ZodOptional<z.ZodString>;
|
|
4624
|
+
action: z.ZodString;
|
|
4625
|
+
digest: z.ZodString;
|
|
4626
|
+
role: z.ZodString;
|
|
4627
|
+
expiresAt: z.ZodString;
|
|
4628
|
+
instrument: z.ZodString;
|
|
4629
|
+
party: z.ZodString;
|
|
4630
|
+
consume: z.ZodString;
|
|
4631
|
+
}, z.core.$strict>>;
|
|
3491
4632
|
bind: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3492
4633
|
dateComparison: z.ZodOptional<z.ZodObject<{
|
|
3493
4634
|
localPath: z.ZodString;
|
|
@@ -3500,11 +4641,18 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
3500
4641
|
}>;
|
|
3501
4642
|
referencedPath: z.ZodString;
|
|
3502
4643
|
}, z.core.$strict>>;
|
|
4644
|
+
dueBefore: z.ZodOptional<z.ZodObject<{
|
|
4645
|
+
field: z.ZodString;
|
|
4646
|
+
offset: z.ZodString;
|
|
4647
|
+
}, z.core.$strict>>;
|
|
3503
4648
|
field: z.ZodString;
|
|
3504
4649
|
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3505
4650
|
optional: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3506
4651
|
statuses: z.ZodArray<z.ZodString>;
|
|
3507
|
-
unique: z.ZodOptional<z.ZodLiteral<true
|
|
4652
|
+
unique: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<true>, z.ZodObject<{
|
|
4653
|
+
namespace: z.ZodString;
|
|
4654
|
+
byFields: z.ZodArray<z.ZodString>;
|
|
4655
|
+
}, z.core.$strict>]>>;
|
|
3508
4656
|
}, z.core.$strict>>>;
|
|
3509
4657
|
sandboxFailurePoint: z.ZodOptional<z.ZodEnum<{
|
|
3510
4658
|
funding: "funding";
|
|
@@ -3572,6 +4720,9 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
3572
4720
|
udl: z.ZodLiteral<1>;
|
|
3573
4721
|
version: z.ZodNumber;
|
|
3574
4722
|
}, z.core.$strict>;
|
|
4723
|
+
export type UdlAllocation = z.infer<typeof udlAllocationSchema>;
|
|
4724
|
+
export type UdlAllocate = z.infer<typeof udlAllocateSchema>;
|
|
4725
|
+
export type UdlContributions = z.infer<typeof udlContributionsSchema>;
|
|
3575
4726
|
export type UdlAggregate = z.infer<typeof udlAggregateSchema>;
|
|
3576
4727
|
export type UdlAggregateCondition = z.infer<typeof udlAggregateConditionSchema>;
|
|
3577
4728
|
export type UdlBinding = z.infer<typeof udlBindingSchema>;
|
|
@@ -3591,8 +4742,6 @@ export type UdlLifecycle = z.infer<typeof udlLifecycleSchema>;
|
|
|
3591
4742
|
export type UdlLifecycleTransition = z.infer<typeof udlLifecycleTransitionSchema>;
|
|
3592
4743
|
export type UdlInstrument = z.infer<typeof udlInstrumentSchema>;
|
|
3593
4744
|
export type UdlInstrumentSubject = z.infer<typeof udlInstrumentSubjectSchema>;
|
|
3594
|
-
export type UdlJourney = z.infer<typeof udlJourneySchema>;
|
|
3595
|
-
export type UdlJourneyStep = z.infer<typeof udlJourneyStepSchema>;
|
|
3596
4745
|
export type UdlMove = z.infer<typeof udlMoveSchema>;
|
|
3597
4746
|
export type UdlPayout = z.infer<typeof udlPayoutSchema>;
|
|
3598
4747
|
export type UdlQuote = z.infer<typeof udlQuoteSchema>;
|