@hyperscale0/udl 1.0.0-beta.1 → 1.0.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 +78 -25
- package/README.md +37 -99
- package/conformance/README.md +44 -41
- package/conformance/evolution/action-contract.expected.json +10 -0
- package/conformance/evolution/action-contract.live.udl +44 -0
- package/conformance/evolution/action-contract.next.udl +45 -0
- package/conformance/evolution/product-identity.expected.json +10 -0
- package/conformance/evolution/product-identity.live.udl +55 -0
- package/conformance/evolution/product-identity.next.udl +55 -0
- package/conformance/evolution/version-required.expected.json +10 -0
- package/conformance/evolution/version-required.live.udl +55 -0
- package/conformance/evolution/version-required.next.udl +58 -0
- package/conformance/invalid/action-without-transition.expected.json +10 -0
- package/conformance/invalid/{verb-without-transition.udl → action-without-transition.udl} +7 -2
- package/conformance/invalid/agent-description-too-long.expected.json +10 -0
- package/conformance/invalid/agent-description-too-long.udl +57 -0
- package/conformance/invalid/blank-title.expected.json +1 -1
- package/conformance/invalid/blank-title.udl +6 -2
- package/conformance/invalid/composition-dial-duplicate-key.expected.json +10 -0
- package/conformance/invalid/composition-dial-duplicate-key.udl +73 -0
- package/conformance/invalid/depth-budget.expected.json +1 -1
- package/conformance/invalid/duplicate-subject.expected.json +10 -0
- package/conformance/invalid/duplicate-subject.udl +230 -0
- package/conformance/invalid/forged-effects.expected.json +10 -0
- package/conformance/invalid/forged-effects.udl +76 -0
- package/conformance/invalid/format-version.expected.json +1 -1
- package/conformance/invalid/format-version.udl +6 -2
- package/conformance/invalid/instrument-id-not-snake-case.expected.json +10 -0
- package/conformance/invalid/{noun-id-not-snake-case.udl → instrument-id-not-snake-case.udl} +6 -2
- package/conformance/invalid/invalid-aggregate-gate-shape.expected.json +10 -0
- package/conformance/invalid/invalid-aggregate-gate-shape.udl +1819 -0
- package/conformance/invalid/invalid-check-duration.expected.json +10 -0
- package/conformance/invalid/invalid-check-duration.udl +219 -0
- package/conformance/invalid/invalid-dial-anchor.expected.json +10 -0
- package/conformance/invalid/invalid-dial-anchor.udl +219 -0
- package/conformance/invalid/invalid-exception-parent-ref.expected.json +10 -0
- package/conformance/invalid/invalid-exception-parent-ref.udl +2487 -0
- package/conformance/invalid/invalid-exposure-shape.expected.json +10 -0
- package/conformance/invalid/invalid-exposure-shape.udl +1819 -0
- package/conformance/invalid/invalid-remainder.expected.json +10 -0
- package/conformance/invalid/invalid-remainder.udl +220 -0
- package/conformance/invalid/invalid-schema-keyword.expected.json +10 -0
- package/conformance/invalid/invalid-schema-keyword.udl +220 -0
- package/conformance/invalid/invalid-utf8.expected.json +1 -1
- package/conformance/invalid/malformed-json.expected.json +1 -1
- package/conformance/invalid/missing-create-action.expected.json +10 -0
- package/conformance/invalid/{missing-create-verb.udl → missing-create-action.udl} +5 -2
- package/conformance/invalid/missing-exception-amount-field.expected.json +10 -0
- package/conformance/invalid/missing-exception-amount-field.udl +2487 -0
- package/conformance/invalid/missing-exception-contract.expected.json +14 -0
- package/conformance/invalid/missing-exception-contract.udl +2523 -0
- package/conformance/invalid/missing-exception-reason-field.expected.json +10 -0
- package/conformance/invalid/missing-exception-reason-field.udl +2487 -0
- package/conformance/invalid/not-an-object.expected.json +1 -1
- package/conformance/invalid/payout-reconcile-not-a-bank-debit.expected.json +10 -0
- package/conformance/invalid/payout-reconcile-not-a-bank-debit.udl +259 -0
- package/conformance/invalid/quote-freeze-set-incomplete.expected.json +10 -0
- package/conformance/invalid/quote-freeze-set-incomplete.udl +261 -0
- package/conformance/invalid/quote-named-reference-gate.expected.json +10 -0
- package/conformance/invalid/quote-named-reference-gate.udl +50 -0
- package/conformance/invalid/reconcile-named-reference-gate.expected.json +10 -0
- package/conformance/invalid/reconcile-named-reference-gate.udl +50 -0
- package/conformance/invalid/unknown-key.expected.json +1 -1
- package/conformance/invalid/unknown-key.udl +6 -2
- package/conformance/invalid/unknown-reference-gate-field.expected.json +10 -0
- package/conformance/invalid/unknown-reference-gate-field.udl +1819 -0
- package/conformance/invalid/unknown-required-field.expected.json +10 -0
- package/conformance/invalid/unknown-required-field.udl +220 -0
- package/conformance/invalid/unreachable-state.expected.json +2 -2
- package/conformance/invalid/unreachable-state.udl +6 -2
- package/conformance/invalid/wrong-exception-amount-field.expected.json +10 -0
- package/conformance/invalid/wrong-exception-amount-field.udl +2487 -0
- package/conformance/invalid/wrong-exception-reason-field.expected.json +10 -0
- package/conformance/invalid/wrong-exception-reason-field.udl +2487 -0
- package/conformance/valid/agent-description.expected.json +6 -0
- package/conformance/valid/agent-description.udl +66 -0
- package/conformance/valid/cards.expected.json +1 -0
- package/conformance/valid/cards.udl +843 -356
- package/conformance/valid/commerce-escrow.expected.json +1 -0
- package/conformance/valid/commerce-escrow.udl +792 -291
- package/conformance/valid/compiled-crowdfunding.expected.json +6 -0
- package/conformance/valid/compiled-crowdfunding.udl +1843 -0
- package/conformance/valid/compiled-watch-club.expected.json +6 -0
- package/conformance/valid/compiled-watch-club.udl +2486 -0
- package/conformance/valid/complete-contract.expected.json +6 -0
- package/conformance/valid/complete-contract.udl +218 -0
- package/conformance/valid/effect-signatures.expected.json +6 -0
- package/conformance/valid/effect-signatures.udl +75 -0
- package/conformance/valid/hand-edited.expected.json +1 -0
- package/conformance/valid/hand-edited.udl +1 -1
- package/conformance/valid/insured-car-marketplace.expected.json +1 -0
- package/conformance/valid/insured-car-marketplace.udl +534 -315
- package/conformance/valid/insured-travel.expected.json +2 -1
- package/conformance/valid/insured-travel.udl +1489 -641
- package/conformance/valid/minimal.expected.json +1 -0
- package/conformance/valid/minimal.udl +18 -14
- package/conformance/valid/protection.expected.json +1 -0
- package/conformance/valid/protection.udl +719 -304
- package/conformance/valid/string-escaping.expected.json +6 -0
- package/conformance/valid/string-escaping.udl +54 -0
- package/dist/canonical.d.ts +2 -0
- package/dist/canonical.d.ts.map +1 -1
- package/dist/canonical.js +7 -0
- package/dist/canonical.js.map +1 -1
- package/dist/check-profiles.d.ts +57 -0
- package/dist/check-profiles.d.ts.map +1 -0
- package/dist/check-profiles.js +62 -0
- package/dist/check-profiles.js.map +1 -0
- package/dist/cli.js +48 -4
- package/dist/cli.js.map +1 -1
- package/dist/diagnostics.d.ts +168 -0
- package/dist/diagnostics.d.ts.map +1 -0
- package/dist/diagnostics.js +164 -0
- package/dist/diagnostics.js.map +1 -0
- package/dist/effects.d.ts +41 -0
- package/dist/effects.d.ts.map +1 -0
- package/dist/effects.js +110 -0
- package/dist/effects.js.map +1 -0
- package/dist/evolution.d.ts +51 -18
- package/dist/evolution.d.ts.map +1 -1
- package/dist/evolution.js +244 -102
- package/dist/evolution.js.map +1 -1
- package/dist/finance.d.ts +17 -13
- package/dist/finance.d.ts.map +1 -1
- package/dist/finance.js +165 -109
- package/dist/finance.js.map +1 -1
- package/dist/index.d.ts +12 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/dist/limits.d.ts +2 -2
- package/dist/limits.d.ts.map +1 -1
- package/dist/limits.js +4 -3
- package/dist/limits.js.map +1 -1
- package/dist/parser.d.ts.map +1 -1
- package/dist/parser.js +6 -16
- package/dist/parser.js.map +1 -1
- package/dist/schema.d.ts +2059 -135
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +759 -73
- package/dist/schema.js.map +1 -1
- package/dist/validation.d.ts +22 -9
- package/dist/validation.d.ts.map +1 -1
- package/dist/validation.js +1463 -457
- package/dist/validation.js.map +1 -1
- package/docs/README.md +14 -0
- package/docs/guide/01-a-document.md +37 -0
- package/docs/guide/02-money-steps.md +23 -0
- package/docs/guide/03-laws.md +18 -0
- package/docs/guide/04-fees-and-remainder.md +15 -0
- package/docs/guide/05-checks-updates-dials.md +7 -0
- package/docs/guide/06-effects.md +11 -0
- package/docs/guide/07-evolution.md +11 -0
- package/docs/guide/08-implementing.md +13 -0
- package/docs/llms-full.txt +1241 -0
- package/docs/llms.txt +14 -0
- package/docs/reference/canonical.md +16 -0
- package/docs/reference/clauses.md +986 -0
- package/docs/reference/cli.md +22 -0
- package/docs/reference/diagnostics.md +32 -0
- package/package.json +6 -2
- package/skills/udl/SKILL.md +28 -0
- package/spec/README.md +82 -51
- package/spec/udl.schema.json +1191 -119
- package/src/canonical.ts +11 -0
- package/src/check-profiles.ts +80 -0
- package/src/cli.ts +49 -3
- package/src/diagnostics.ts +221 -0
- package/src/effects.ts +163 -0
- package/src/evolution.ts +375 -125
- package/src/finance.ts +255 -160
- package/src/index.ts +50 -14
- package/src/limits.ts +4 -3
- package/src/parser.ts +15 -18
- package/src/schema.ts +855 -81
- package/src/validation.ts +2666 -560
- package/conformance/invalid/missing-create-verb.expected.json +0 -10
- package/conformance/invalid/noun-id-not-snake-case.expected.json +0 -10
- package/conformance/invalid/verb-without-transition.expected.json +0 -10
package/dist/schema.d.ts
CHANGED
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import type { UdlEffectKind } from "./effects.js";
|
|
2
3
|
export declare const UDL_FORMAT_VERSION: 1;
|
|
3
|
-
export declare const
|
|
4
|
+
export declare const udlPublicActionSchema: z.ZodString;
|
|
5
|
+
export declare const udlInstrumentActionIdSchema: z.ZodString;
|
|
6
|
+
export declare const udlProviderFamilyIdSchema: z.ZodEnum<{
|
|
7
|
+
national_identity: "national_identity";
|
|
8
|
+
identity_verification: "identity_verification";
|
|
9
|
+
credit_bureau: "credit_bureau";
|
|
10
|
+
sanctions_screening: "sanctions_screening";
|
|
11
|
+
enforcement_instrument: "enforcement_instrument";
|
|
12
|
+
accounts_ledger_first_party: "accounts_ledger_first_party";
|
|
13
|
+
credit_servicing: "credit_servicing";
|
|
14
|
+
collections_agency: "collections_agency";
|
|
15
|
+
settlement_ingestion: "settlement_ingestion";
|
|
16
|
+
payouts: "payouts";
|
|
17
|
+
banking_or_card_issuing: "banking_or_card_issuing";
|
|
18
|
+
insurance_carrier: "insurance_carrier";
|
|
19
|
+
insurance_claims_adjuster: "insurance_claims_adjuster";
|
|
20
|
+
air_carrier: "air_carrier";
|
|
21
|
+
lodging_supplier: "lodging_supplier";
|
|
22
|
+
email_or_notification: "email_or_notification";
|
|
23
|
+
}>;
|
|
4
24
|
declare const udlDeclaredValuePolicySchema: z.ZodEnum<{
|
|
5
25
|
optional: "optional";
|
|
6
26
|
required: "required";
|
|
@@ -17,9 +37,15 @@ declare const udlSubjectSchema: z.ZodObject<{
|
|
|
17
37
|
title: z.ZodString;
|
|
18
38
|
version: z.ZodNumber;
|
|
19
39
|
}, z.core.$strict>;
|
|
20
|
-
declare const
|
|
40
|
+
declare const udlInstrumentSubjectSchema: z.ZodObject<{
|
|
41
|
+
extensible: z.ZodOptional<z.ZodBoolean>;
|
|
21
42
|
kinds: z.ZodArray<z.ZodString>;
|
|
22
43
|
}, z.core.$strict>;
|
|
44
|
+
declare const udlExampleSchema: z.ZodObject<{
|
|
45
|
+
input: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
46
|
+
name: z.ZodString;
|
|
47
|
+
output: z.ZodOptional<z.ZodJSONSchema>;
|
|
48
|
+
}, z.core.$strict>;
|
|
23
49
|
declare const udlLifecycleTransitionSchema: z.ZodObject<{
|
|
24
50
|
from: z.ZodArray<z.ZodString>;
|
|
25
51
|
to: z.ZodString;
|
|
@@ -51,11 +77,11 @@ declare const udlBindingSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
51
77
|
path: z.ZodString;
|
|
52
78
|
}, z.core.$strict>], "from">;
|
|
53
79
|
export declare const udlKernelOperationSchema: z.ZodEnum<{
|
|
80
|
+
"internal_transfer.reserve": "internal_transfer.reserve";
|
|
54
81
|
"account.escrow.provision": "account.escrow.provision";
|
|
55
82
|
"account.freeze": "account.freeze";
|
|
56
83
|
"account.unfreeze": "account.unfreeze";
|
|
57
84
|
"internal_transfer.create": "internal_transfer.create";
|
|
58
|
-
"internal_transfer.reserve": "internal_transfer.reserve";
|
|
59
85
|
"internal_transfer.post": "internal_transfer.post";
|
|
60
86
|
"internal_transfer.void": "internal_transfer.void";
|
|
61
87
|
}>;
|
|
@@ -91,8 +117,8 @@ declare const udlMoveSchema: z.ZodObject<{
|
|
|
91
117
|
capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
92
118
|
key: z.ZodString;
|
|
93
119
|
operation: z.ZodEnum<{
|
|
94
|
-
"internal_transfer.create": "internal_transfer.create";
|
|
95
120
|
"internal_transfer.reserve": "internal_transfer.reserve";
|
|
121
|
+
"internal_transfer.create": "internal_transfer.create";
|
|
96
122
|
"internal_transfer.post": "internal_transfer.post";
|
|
97
123
|
"internal_transfer.void": "internal_transfer.void";
|
|
98
124
|
}>;
|
|
@@ -100,44 +126,92 @@ declare const udlMoveSchema: z.ZodObject<{
|
|
|
100
126
|
declare const udlDueSchema: z.ZodObject<{
|
|
101
127
|
every: z.ZodOptional<z.ZodObject<{
|
|
102
128
|
countField: z.ZodOptional<z.ZodString>;
|
|
129
|
+
delinquency: z.ZodOptional<z.ZodLiteral<"parent_policy">>;
|
|
130
|
+
drainAction: z.ZodOptional<z.ZodString>;
|
|
103
131
|
period: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
104
132
|
calendar: z.ZodEnum<{
|
|
105
133
|
gregorian: "gregorian";
|
|
106
134
|
hijri: "hijri";
|
|
107
135
|
}>;
|
|
136
|
+
monthEnd: z.ZodLiteral<"clamp_to_last_day">;
|
|
108
137
|
months: z.ZodNumber;
|
|
109
138
|
}, z.core.$strict>]>;
|
|
139
|
+
liability: z.ZodOptional<z.ZodLiteral<"one_open">>;
|
|
140
|
+
untilAction: z.ZodOptional<z.ZodString>;
|
|
110
141
|
untilField: z.ZodOptional<z.ZodString>;
|
|
111
142
|
}, z.core.$strict>>;
|
|
112
143
|
field: z.ZodString;
|
|
113
144
|
offset: z.ZodOptional<z.ZodString>;
|
|
114
145
|
whenParentStatus: z.ZodOptional<z.ZodObject<{
|
|
115
|
-
|
|
146
|
+
instrumentId: z.ZodString;
|
|
116
147
|
refField: z.ZodString;
|
|
117
148
|
statuses: z.ZodArray<z.ZodString>;
|
|
118
149
|
}, z.core.$strict>>;
|
|
119
150
|
}, z.core.$strict>;
|
|
120
|
-
declare const
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
151
|
+
declare const udlQuoteSchema: z.ZodObject<{
|
|
152
|
+
anchorField: z.ZodOptional<z.ZodString>;
|
|
153
|
+
baseField: z.ZodString;
|
|
154
|
+
chargeRef: z.ZodString;
|
|
155
|
+
charges: z.ZodArray<z.ZodObject<{
|
|
124
156
|
bps: z.ZodNumber;
|
|
125
157
|
withinOffset: z.ZodOptional<z.ZodString>;
|
|
126
158
|
}, z.core.$strict>>;
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
159
|
+
expires: z.ZodUnion<readonly [z.ZodObject<{
|
|
160
|
+
field: z.ZodString;
|
|
161
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
162
|
+
offset: z.ZodString;
|
|
163
|
+
}, z.core.$strict>]>;
|
|
164
|
+
fixes: z.ZodArray<z.ZodString>;
|
|
165
|
+
netDestinationField: z.ZodString;
|
|
166
|
+
netRef: z.ZodString;
|
|
130
167
|
}, z.core.$strict>;
|
|
168
|
+
/**
|
|
169
|
+
* Where a quoting action stamps the instant its offer stops being committable.
|
|
170
|
+
* Derived from the author's net ref rather than a fixed name, so two offers on
|
|
171
|
+
* one instrument never share the slot.
|
|
172
|
+
*/
|
|
173
|
+
export declare function quoteExpiresAtRefKey(quote: {
|
|
174
|
+
readonly netRef: string;
|
|
175
|
+
}): string;
|
|
176
|
+
/**
|
|
177
|
+
* Where a quoting action stamps the fingerprint of the field values it froze.
|
|
178
|
+
* The committing action recomputes it against the live fields, which is how an
|
|
179
|
+
* offer priced on one set of terms refuses to pay out against another.
|
|
180
|
+
*/
|
|
181
|
+
export declare function quoteFrozenRefKey(quote: {
|
|
182
|
+
readonly netRef: string;
|
|
183
|
+
}): string;
|
|
184
|
+
/**
|
|
185
|
+
* Every ref key one quote seeds: the charge and the net the author named, plus
|
|
186
|
+
* the two the machinery derives to hold the offer itself. One derivation, read
|
|
187
|
+
* by the validator, the compiler, and the runtime alike.
|
|
188
|
+
*/
|
|
189
|
+
export declare function quoteSeededRefKeys(quote: {
|
|
190
|
+
readonly chargeRef: string;
|
|
191
|
+
readonly netRef: string;
|
|
192
|
+
}): readonly string[];
|
|
131
193
|
declare const udlDecisionSchema: z.ZodObject<{
|
|
132
|
-
capability: z.
|
|
194
|
+
capability: z.ZodEnum<{
|
|
195
|
+
national_identity: "national_identity";
|
|
196
|
+
identity_verification: "identity_verification";
|
|
197
|
+
credit_bureau: "credit_bureau";
|
|
198
|
+
sanctions_screening: "sanctions_screening";
|
|
199
|
+
enforcement_instrument: "enforcement_instrument";
|
|
200
|
+
accounts_ledger_first_party: "accounts_ledger_first_party";
|
|
201
|
+
credit_servicing: "credit_servicing";
|
|
202
|
+
collections_agency: "collections_agency";
|
|
203
|
+
settlement_ingestion: "settlement_ingestion";
|
|
204
|
+
payouts: "payouts";
|
|
205
|
+
banking_or_card_issuing: "banking_or_card_issuing";
|
|
206
|
+
insurance_carrier: "insurance_carrier";
|
|
207
|
+
insurance_claims_adjuster: "insurance_claims_adjuster";
|
|
208
|
+
air_carrier: "air_carrier";
|
|
209
|
+
lodging_supplier: "lodging_supplier";
|
|
210
|
+
email_or_notification: "email_or_notification";
|
|
211
|
+
}>;
|
|
133
212
|
deadlineMs: z.ZodNumber;
|
|
134
213
|
onTimeout: z.ZodLiteral<"decline">;
|
|
135
214
|
}, z.core.$strict>;
|
|
136
|
-
declare const udlExampleSchema: z.ZodObject<{
|
|
137
|
-
input: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
138
|
-
name: z.ZodString;
|
|
139
|
-
output: z.ZodOptional<z.ZodJSONSchema>;
|
|
140
|
-
}, z.core.$strict>;
|
|
141
215
|
declare const udlAggregateConditionSchema: z.ZodObject<{
|
|
142
216
|
check: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
143
217
|
amountField: z.ZodString;
|
|
@@ -164,7 +238,7 @@ declare const udlAggregateConditionSchema: z.ZodObject<{
|
|
|
164
238
|
field: z.ZodString;
|
|
165
239
|
kind: z.ZodLiteral<"count_equals_field">;
|
|
166
240
|
}, z.core.$strict>], "kind">;
|
|
167
|
-
|
|
241
|
+
instrumentId: z.ZodOptional<z.ZodString>;
|
|
168
242
|
over: z.ZodEnum<{
|
|
169
243
|
children: "children";
|
|
170
244
|
siblings: "siblings";
|
|
@@ -181,18 +255,199 @@ declare const udlPayoutSchema: z.ZodObject<{
|
|
|
181
255
|
sourceAccountField: z.ZodString;
|
|
182
256
|
speed: z.ZodLiteral<"standard">;
|
|
183
257
|
}, z.core.$strict>;
|
|
184
|
-
|
|
258
|
+
/**
|
|
259
|
+
* One expectation an action asserts about money it cannot see yet: how much,
|
|
260
|
+
* in which currency, which way, and against whose provider-side row. Evidence
|
|
261
|
+
* that lands later either matches under the declared law or the expectation
|
|
262
|
+
* breaks: past the window the kernel raises the declared exception child, binds
|
|
263
|
+
* the unmatched amount and the break reason onto it, and spends the due
|
|
264
|
+
* occurrence. There is no third outcome and no silent wait.
|
|
265
|
+
*/
|
|
266
|
+
declare const udlReconcileSchema: z.ZodObject<{
|
|
267
|
+
amount: z.ZodString;
|
|
185
268
|
capture: z.ZodString;
|
|
186
|
-
|
|
269
|
+
counterpartyRef: z.ZodString;
|
|
270
|
+
currencyField: z.ZodString;
|
|
271
|
+
direction: z.ZodEnum<{
|
|
272
|
+
credit: "credit";
|
|
273
|
+
debit: "debit";
|
|
274
|
+
}>;
|
|
275
|
+
evidence: z.ZodEnum<{
|
|
276
|
+
movement: "movement";
|
|
277
|
+
provider_confirmation: "provider_confirmation";
|
|
278
|
+
statement_line: "statement_line";
|
|
279
|
+
}>;
|
|
280
|
+
exception: z.ZodObject<{
|
|
281
|
+
amountField: z.ZodString;
|
|
282
|
+
childInstrumentId: z.ZodString;
|
|
283
|
+
maxOpen: z.ZodNumber;
|
|
284
|
+
reasonField: z.ZodString;
|
|
285
|
+
refField: z.ZodString;
|
|
286
|
+
}, z.core.$strict>;
|
|
287
|
+
match: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
288
|
+
law: z.ZodLiteral<"exact">;
|
|
289
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
290
|
+
dial: z.ZodString;
|
|
291
|
+
law: z.ZodLiteral<"tolerance">;
|
|
292
|
+
minorUnits: z.ZodNumber;
|
|
293
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
294
|
+
law: z.ZodLiteral<"window">;
|
|
295
|
+
}, z.core.$strict>], "law">;
|
|
296
|
+
within: z.ZodUnion<readonly [z.ZodObject<{
|
|
297
|
+
field: z.ZodString;
|
|
298
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
299
|
+
offset: z.ZodString;
|
|
300
|
+
}, z.core.$strict>]>;
|
|
301
|
+
}, z.core.$strict>;
|
|
302
|
+
declare const udlRemainderSchema: z.ZodObject<{
|
|
303
|
+
accumulateRef: z.ZodOptional<z.ZodString>;
|
|
304
|
+
amountRef: z.ZodString;
|
|
305
|
+
collected: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
306
|
+
amountField: z.ZodString;
|
|
307
|
+
instrumentId: z.ZodString;
|
|
308
|
+
path: z.ZodOptional<z.ZodLiteral<"refs">>;
|
|
309
|
+
refField: z.ZodString;
|
|
310
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
311
|
+
}, z.core.$strict>>>;
|
|
312
|
+
inputKey: z.ZodOptional<z.ZodString>;
|
|
313
|
+
onZero: z.ZodEnum<{
|
|
314
|
+
refuse: "refuse";
|
|
315
|
+
skip_steps: "skip_steps";
|
|
316
|
+
}>;
|
|
317
|
+
totalPath: z.ZodString;
|
|
318
|
+
}, z.core.$strict>;
|
|
319
|
+
type UdlCheckRequirementShape = {
|
|
320
|
+
checkKind: string;
|
|
321
|
+
family: z.infer<typeof udlProviderFamilyIdSchema>;
|
|
322
|
+
maxAge?: string;
|
|
323
|
+
statuses: string[];
|
|
324
|
+
subjectField: string;
|
|
325
|
+
};
|
|
326
|
+
declare const udlCheckRequirementSchema: z.ZodUnion<readonly [z.ZodType<UdlCheckRequirementShape, unknown, z.core.$ZodTypeInternals<UdlCheckRequirementShape, unknown>>, z.ZodType<UdlCheckRequirementShape, unknown, z.core.$ZodTypeInternals<UdlCheckRequirementShape, unknown>>, ...z.ZodType<UdlCheckRequirementShape, unknown, z.core.$ZodTypeInternals<UdlCheckRequirementShape, unknown>>[]]>;
|
|
327
|
+
declare const udlDialSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
328
|
+
field: z.ZodString;
|
|
329
|
+
key: z.ZodString;
|
|
330
|
+
kind: z.ZodLiteral<"window">;
|
|
331
|
+
maxOffset: z.ZodOptional<z.ZodString>;
|
|
332
|
+
minOffset: z.ZodOptional<z.ZodString>;
|
|
333
|
+
summary: z.ZodString;
|
|
334
|
+
title: z.ZodString;
|
|
335
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
336
|
+
action: z.ZodString;
|
|
337
|
+
key: z.ZodString;
|
|
338
|
+
kind: z.ZodLiteral<"decision_deadline_ms">;
|
|
339
|
+
maxMs: z.ZodOptional<z.ZodNumber>;
|
|
340
|
+
minMs: z.ZodOptional<z.ZodNumber>;
|
|
341
|
+
summary: z.ZodString;
|
|
342
|
+
title: z.ZodString;
|
|
343
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
344
|
+
key: z.ZodString;
|
|
345
|
+
kind: z.ZodLiteral<"reconcile_tolerance">;
|
|
346
|
+
maxMinorUnits: z.ZodNumber;
|
|
347
|
+
summary: z.ZodString;
|
|
348
|
+
title: z.ZodString;
|
|
349
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
350
|
+
key: z.ZodString;
|
|
351
|
+
kind: z.ZodLiteral<"unwind_penalty">;
|
|
352
|
+
summary: z.ZodString;
|
|
353
|
+
title: z.ZodString;
|
|
354
|
+
}, z.core.$strict>], "kind">;
|
|
355
|
+
declare const udlCompositionDialSchema: z.ZodObject<{
|
|
356
|
+
key: z.ZodString;
|
|
357
|
+
kind: z.ZodLiteral<"confirmation_threshold">;
|
|
358
|
+
maxMinor: z.ZodOptional<z.ZodNumber>;
|
|
359
|
+
summary: z.ZodString;
|
|
360
|
+
title: z.ZodString;
|
|
361
|
+
}, z.core.$strict>;
|
|
362
|
+
declare const udlEffectsShape: {
|
|
363
|
+
decides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
364
|
+
signature: z.ZodString;
|
|
365
|
+
source: z.ZodString;
|
|
366
|
+
}, z.core.$strict>>>;
|
|
367
|
+
holds: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
368
|
+
signature: z.ZodString;
|
|
369
|
+
source: z.ZodString;
|
|
370
|
+
}, z.core.$strict>>>;
|
|
371
|
+
moves: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
372
|
+
signature: z.ZodString;
|
|
373
|
+
source: z.ZodString;
|
|
374
|
+
}, z.core.$strict>>>;
|
|
375
|
+
notifies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
376
|
+
channel: z.ZodString;
|
|
377
|
+
role: z.ZodString;
|
|
378
|
+
signature: z.ZodString;
|
|
379
|
+
source: z.ZodString;
|
|
380
|
+
}, z.core.$strict>>>;
|
|
381
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
382
|
+
signature: z.ZodString;
|
|
383
|
+
source: z.ZodString;
|
|
384
|
+
}, z.core.$strict>>>;
|
|
385
|
+
schedules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
386
|
+
signature: z.ZodString;
|
|
387
|
+
source: z.ZodString;
|
|
388
|
+
}, z.core.$strict>>>;
|
|
389
|
+
};
|
|
390
|
+
declare const udlEffectsSchema: z.ZodObject<{
|
|
391
|
+
decides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
392
|
+
signature: z.ZodString;
|
|
393
|
+
source: z.ZodString;
|
|
394
|
+
}, z.core.$strict>>>;
|
|
395
|
+
holds: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
396
|
+
signature: z.ZodString;
|
|
397
|
+
source: z.ZodString;
|
|
398
|
+
}, z.core.$strict>>>;
|
|
399
|
+
moves: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
400
|
+
signature: z.ZodString;
|
|
401
|
+
source: z.ZodString;
|
|
402
|
+
}, z.core.$strict>>>;
|
|
403
|
+
notifies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
404
|
+
channel: z.ZodString;
|
|
405
|
+
role: z.ZodString;
|
|
406
|
+
signature: z.ZodString;
|
|
407
|
+
source: z.ZodString;
|
|
408
|
+
}, z.core.$strict>>>;
|
|
409
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
410
|
+
signature: z.ZodString;
|
|
411
|
+
source: z.ZodString;
|
|
412
|
+
}, z.core.$strict>>>;
|
|
413
|
+
schedules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
414
|
+
signature: z.ZodString;
|
|
415
|
+
source: z.ZodString;
|
|
416
|
+
}, z.core.$strict>>>;
|
|
187
417
|
}, z.core.$strict>;
|
|
188
|
-
declare const
|
|
418
|
+
declare const udlActionShape: {
|
|
419
|
+
agentDescription: z.ZodOptional<z.ZodString>;
|
|
189
420
|
captureInput: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
421
|
+
/** Names the quoting action whose offer this action spends. */
|
|
422
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
423
|
+
decidedAmount: z.ZodOptional<z.ZodObject<{
|
|
424
|
+
boundField: z.ZodString;
|
|
425
|
+
field: z.ZodString;
|
|
426
|
+
remainderAction: z.ZodString;
|
|
427
|
+
}, z.core.$strict>>;
|
|
190
428
|
deadline: z.ZodOptional<z.ZodObject<{
|
|
191
429
|
field: z.ZodString;
|
|
192
430
|
offset: z.ZodOptional<z.ZodString>;
|
|
193
431
|
}, z.core.$strict>>;
|
|
194
432
|
decision: z.ZodOptional<z.ZodObject<{
|
|
195
|
-
capability: z.
|
|
433
|
+
capability: z.ZodEnum<{
|
|
434
|
+
national_identity: "national_identity";
|
|
435
|
+
identity_verification: "identity_verification";
|
|
436
|
+
credit_bureau: "credit_bureau";
|
|
437
|
+
sanctions_screening: "sanctions_screening";
|
|
438
|
+
enforcement_instrument: "enforcement_instrument";
|
|
439
|
+
accounts_ledger_first_party: "accounts_ledger_first_party";
|
|
440
|
+
credit_servicing: "credit_servicing";
|
|
441
|
+
collections_agency: "collections_agency";
|
|
442
|
+
settlement_ingestion: "settlement_ingestion";
|
|
443
|
+
payouts: "payouts";
|
|
444
|
+
banking_or_card_issuing: "banking_or_card_issuing";
|
|
445
|
+
insurance_carrier: "insurance_carrier";
|
|
446
|
+
insurance_claims_adjuster: "insurance_claims_adjuster";
|
|
447
|
+
air_carrier: "air_carrier";
|
|
448
|
+
lodging_supplier: "lodging_supplier";
|
|
449
|
+
email_or_notification: "email_or_notification";
|
|
450
|
+
}>;
|
|
196
451
|
deadlineMs: z.ZodNumber;
|
|
197
452
|
onTimeout: z.ZodLiteral<"decline">;
|
|
198
453
|
}, z.core.$strict>>;
|
|
@@ -214,24 +469,57 @@ declare const udlVerbSchema: z.ZodObject<{
|
|
|
214
469
|
due: z.ZodOptional<z.ZodObject<{
|
|
215
470
|
every: z.ZodOptional<z.ZodObject<{
|
|
216
471
|
countField: z.ZodOptional<z.ZodString>;
|
|
472
|
+
delinquency: z.ZodOptional<z.ZodLiteral<"parent_policy">>;
|
|
473
|
+
drainAction: z.ZodOptional<z.ZodString>;
|
|
217
474
|
period: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
218
475
|
calendar: z.ZodEnum<{
|
|
219
476
|
gregorian: "gregorian";
|
|
220
477
|
hijri: "hijri";
|
|
221
478
|
}>;
|
|
479
|
+
monthEnd: z.ZodLiteral<"clamp_to_last_day">;
|
|
222
480
|
months: z.ZodNumber;
|
|
223
481
|
}, z.core.$strict>]>;
|
|
482
|
+
liability: z.ZodOptional<z.ZodLiteral<"one_open">>;
|
|
483
|
+
untilAction: z.ZodOptional<z.ZodString>;
|
|
224
484
|
untilField: z.ZodOptional<z.ZodString>;
|
|
225
485
|
}, z.core.$strict>>;
|
|
226
486
|
field: z.ZodString;
|
|
227
487
|
offset: z.ZodOptional<z.ZodString>;
|
|
228
488
|
whenParentStatus: z.ZodOptional<z.ZodObject<{
|
|
229
|
-
|
|
489
|
+
instrumentId: z.ZodString;
|
|
230
490
|
refField: z.ZodString;
|
|
231
491
|
statuses: z.ZodArray<z.ZodString>;
|
|
232
492
|
}, z.core.$strict>>;
|
|
233
493
|
}, z.core.$strict>>;
|
|
234
494
|
earnable: z.ZodOptional<z.ZodBoolean>;
|
|
495
|
+
effects: z.ZodOptional<z.ZodObject<{
|
|
496
|
+
decides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
497
|
+
signature: z.ZodString;
|
|
498
|
+
source: z.ZodString;
|
|
499
|
+
}, z.core.$strict>>>;
|
|
500
|
+
holds: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
501
|
+
signature: z.ZodString;
|
|
502
|
+
source: z.ZodString;
|
|
503
|
+
}, z.core.$strict>>>;
|
|
504
|
+
moves: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
505
|
+
signature: z.ZodString;
|
|
506
|
+
source: z.ZodString;
|
|
507
|
+
}, z.core.$strict>>>;
|
|
508
|
+
notifies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
509
|
+
channel: z.ZodString;
|
|
510
|
+
role: z.ZodString;
|
|
511
|
+
signature: z.ZodString;
|
|
512
|
+
source: z.ZodString;
|
|
513
|
+
}, z.core.$strict>>>;
|
|
514
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
515
|
+
signature: z.ZodString;
|
|
516
|
+
source: z.ZodString;
|
|
517
|
+
}, z.core.$strict>>>;
|
|
518
|
+
schedules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
519
|
+
signature: z.ZodString;
|
|
520
|
+
source: z.ZodString;
|
|
521
|
+
}, z.core.$strict>>>;
|
|
522
|
+
}, z.core.$strict>>;
|
|
235
523
|
eventName: z.ZodOptional<z.ZodString>;
|
|
236
524
|
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
237
525
|
input: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
@@ -253,8 +541,8 @@ declare const udlVerbSchema: z.ZodObject<{
|
|
|
253
541
|
capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
254
542
|
key: z.ZodString;
|
|
255
543
|
operation: z.ZodEnum<{
|
|
256
|
-
"internal_transfer.create": "internal_transfer.create";
|
|
257
544
|
"internal_transfer.reserve": "internal_transfer.reserve";
|
|
545
|
+
"internal_transfer.create": "internal_transfer.create";
|
|
258
546
|
"internal_transfer.post": "internal_transfer.post";
|
|
259
547
|
"internal_transfer.void": "internal_transfer.void";
|
|
260
548
|
}>;
|
|
@@ -275,7 +563,78 @@ declare const udlVerbSchema: z.ZodObject<{
|
|
|
275
563
|
subjectHolder: "subjectHolder";
|
|
276
564
|
}>>;
|
|
277
565
|
}, z.core.$strict>>;
|
|
278
|
-
|
|
566
|
+
quote: z.ZodOptional<z.ZodObject<{
|
|
567
|
+
anchorField: z.ZodOptional<z.ZodString>;
|
|
568
|
+
baseField: z.ZodString;
|
|
569
|
+
chargeRef: z.ZodString;
|
|
570
|
+
charges: z.ZodArray<z.ZodObject<{
|
|
571
|
+
bps: z.ZodNumber;
|
|
572
|
+
withinOffset: z.ZodOptional<z.ZodString>;
|
|
573
|
+
}, z.core.$strict>>;
|
|
574
|
+
expires: z.ZodUnion<readonly [z.ZodObject<{
|
|
575
|
+
field: z.ZodString;
|
|
576
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
577
|
+
offset: z.ZodString;
|
|
578
|
+
}, z.core.$strict>]>;
|
|
579
|
+
fixes: z.ZodArray<z.ZodString>;
|
|
580
|
+
netDestinationField: z.ZodString;
|
|
581
|
+
netRef: z.ZodString;
|
|
582
|
+
}, z.core.$strict>>;
|
|
583
|
+
publicAction: z.ZodOptional<z.ZodString>;
|
|
584
|
+
principal: z.ZodOptional<z.ZodLiteral<"user_session">>;
|
|
585
|
+
reconcile: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
586
|
+
amount: z.ZodString;
|
|
587
|
+
capture: z.ZodString;
|
|
588
|
+
counterpartyRef: z.ZodString;
|
|
589
|
+
currencyField: z.ZodString;
|
|
590
|
+
direction: z.ZodEnum<{
|
|
591
|
+
credit: "credit";
|
|
592
|
+
debit: "debit";
|
|
593
|
+
}>;
|
|
594
|
+
evidence: z.ZodEnum<{
|
|
595
|
+
movement: "movement";
|
|
596
|
+
provider_confirmation: "provider_confirmation";
|
|
597
|
+
statement_line: "statement_line";
|
|
598
|
+
}>;
|
|
599
|
+
exception: z.ZodObject<{
|
|
600
|
+
amountField: z.ZodString;
|
|
601
|
+
childInstrumentId: z.ZodString;
|
|
602
|
+
maxOpen: z.ZodNumber;
|
|
603
|
+
reasonField: z.ZodString;
|
|
604
|
+
refField: z.ZodString;
|
|
605
|
+
}, z.core.$strict>;
|
|
606
|
+
match: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
607
|
+
law: z.ZodLiteral<"exact">;
|
|
608
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
609
|
+
dial: z.ZodString;
|
|
610
|
+
law: z.ZodLiteral<"tolerance">;
|
|
611
|
+
minorUnits: z.ZodNumber;
|
|
612
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
613
|
+
law: z.ZodLiteral<"window">;
|
|
614
|
+
}, z.core.$strict>], "law">;
|
|
615
|
+
within: z.ZodUnion<readonly [z.ZodObject<{
|
|
616
|
+
field: z.ZodString;
|
|
617
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
618
|
+
offset: z.ZodString;
|
|
619
|
+
}, z.core.$strict>]>;
|
|
620
|
+
}, z.core.$strict>>>;
|
|
621
|
+
remainder: z.ZodOptional<z.ZodObject<{
|
|
622
|
+
accumulateRef: z.ZodOptional<z.ZodString>;
|
|
623
|
+
amountRef: z.ZodString;
|
|
624
|
+
collected: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
625
|
+
amountField: z.ZodString;
|
|
626
|
+
instrumentId: z.ZodString;
|
|
627
|
+
path: z.ZodOptional<z.ZodLiteral<"refs">>;
|
|
628
|
+
refField: z.ZodString;
|
|
629
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
630
|
+
}, z.core.$strict>>>;
|
|
631
|
+
inputKey: z.ZodOptional<z.ZodString>;
|
|
632
|
+
onZero: z.ZodEnum<{
|
|
633
|
+
refuse: "refuse";
|
|
634
|
+
skip_steps: "skip_steps";
|
|
635
|
+
}>;
|
|
636
|
+
totalPath: z.ZodString;
|
|
637
|
+
}, z.core.$strict>>;
|
|
279
638
|
requiresAggregate: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
280
639
|
check: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
281
640
|
amountField: z.ZodString;
|
|
@@ -302,7 +661,7 @@ declare const udlVerbSchema: z.ZodObject<{
|
|
|
302
661
|
field: z.ZodString;
|
|
303
662
|
kind: z.ZodLiteral<"count_equals_field">;
|
|
304
663
|
}, z.core.$strict>], "kind">;
|
|
305
|
-
|
|
664
|
+
instrumentId: z.ZodOptional<z.ZodString>;
|
|
306
665
|
over: z.ZodEnum<{
|
|
307
666
|
children: "children";
|
|
308
667
|
siblings: "siblings";
|
|
@@ -310,6 +669,7 @@ declare const udlVerbSchema: z.ZodObject<{
|
|
|
310
669
|
refField: z.ZodString;
|
|
311
670
|
statuses: z.ZodArray<z.ZodString>;
|
|
312
671
|
}, z.core.$strict>>>;
|
|
672
|
+
requiresChecks: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodType<UdlCheckRequirementShape, unknown, z.core.$ZodTypeInternals<UdlCheckRequirementShape, unknown>>, z.ZodType<UdlCheckRequirementShape, unknown, z.core.$ZodTypeInternals<UdlCheckRequirementShape, unknown>>, ...z.ZodType<UdlCheckRequirementShape, unknown, z.core.$ZodTypeInternals<UdlCheckRequirementShape, unknown>>[]]>>>;
|
|
313
673
|
requiresDrainedAccount: z.ZodOptional<z.ZodObject<{
|
|
314
674
|
path: z.ZodString;
|
|
315
675
|
}, z.core.$strict>>;
|
|
@@ -318,7 +678,7 @@ declare const udlVerbSchema: z.ZodObject<{
|
|
|
318
678
|
anchorField: z.ZodString;
|
|
319
679
|
capField: z.ZodString;
|
|
320
680
|
capOnAnchor: z.ZodOptional<z.ZodLiteral<true>>;
|
|
321
|
-
|
|
681
|
+
childInstrumentId: z.ZodString;
|
|
322
682
|
statuses: z.ZodArray<z.ZodString>;
|
|
323
683
|
}, z.core.$strict>>>;
|
|
324
684
|
requiresRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -329,10 +689,10 @@ declare const udlVerbSchema: z.ZodObject<{
|
|
|
329
689
|
statuses: z.ZodArray<z.ZodString>;
|
|
330
690
|
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
331
691
|
}, z.core.$strict>>>;
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
}
|
|
692
|
+
sandboxFailurePoint: z.ZodOptional<z.ZodEnum<{
|
|
693
|
+
funding: "funding";
|
|
694
|
+
release: "release";
|
|
695
|
+
}>>;
|
|
336
696
|
setsAt: z.ZodOptional<z.ZodObject<{
|
|
337
697
|
field: z.ZodString;
|
|
338
698
|
marker: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -347,57 +707,839 @@ declare const udlVerbSchema: z.ZodObject<{
|
|
|
347
707
|
}>;
|
|
348
708
|
sources: z.ZodArray<z.ZodObject<{
|
|
349
709
|
amountField: z.ZodString;
|
|
350
|
-
|
|
351
|
-
refField: z.ZodString;
|
|
352
|
-
sign: z.ZodEnum<{
|
|
353
|
-
add: "add";
|
|
354
|
-
subtract: "subtract";
|
|
355
|
-
}>;
|
|
710
|
+
instrumentId: z.ZodString;
|
|
711
|
+
refField: z.ZodString;
|
|
712
|
+
sign: z.ZodEnum<{
|
|
713
|
+
add: "add";
|
|
714
|
+
subtract: "subtract";
|
|
715
|
+
}>;
|
|
716
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
717
|
+
subtotalRef: z.ZodString;
|
|
718
|
+
}, z.core.$strict>>;
|
|
719
|
+
}, z.core.$strict>>;
|
|
720
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
721
|
+
bind: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
722
|
+
from: z.ZodLiteral<"const">;
|
|
723
|
+
value: z.ZodString;
|
|
724
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
725
|
+
from: z.ZodLiteral<"instance">;
|
|
726
|
+
path: z.ZodString;
|
|
727
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
728
|
+
from: z.ZodLiteral<"input">;
|
|
729
|
+
path: z.ZodString;
|
|
730
|
+
}, z.core.$strict>], "from">>;
|
|
731
|
+
capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
732
|
+
operation: z.ZodEnum<{
|
|
733
|
+
"account.escrow.provision": "account.escrow.provision";
|
|
734
|
+
"account.freeze": "account.freeze";
|
|
735
|
+
"account.unfreeze": "account.unfreeze";
|
|
736
|
+
}>;
|
|
737
|
+
}, z.core.$strict>>;
|
|
738
|
+
summary: z.ZodString;
|
|
739
|
+
updates: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
740
|
+
};
|
|
741
|
+
declare const udlActionSchema: z.ZodObject<{
|
|
742
|
+
agentDescription: z.ZodOptional<z.ZodString>;
|
|
743
|
+
captureInput: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
744
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
745
|
+
decidedAmount: z.ZodOptional<z.ZodObject<{
|
|
746
|
+
boundField: z.ZodString;
|
|
747
|
+
field: z.ZodString;
|
|
748
|
+
remainderAction: z.ZodString;
|
|
749
|
+
}, z.core.$strict>>;
|
|
750
|
+
deadline: z.ZodOptional<z.ZodObject<{
|
|
751
|
+
field: z.ZodString;
|
|
752
|
+
offset: z.ZodOptional<z.ZodString>;
|
|
753
|
+
}, z.core.$strict>>;
|
|
754
|
+
decision: z.ZodOptional<z.ZodObject<{
|
|
755
|
+
capability: z.ZodEnum<{
|
|
756
|
+
national_identity: "national_identity";
|
|
757
|
+
identity_verification: "identity_verification";
|
|
758
|
+
credit_bureau: "credit_bureau";
|
|
759
|
+
sanctions_screening: "sanctions_screening";
|
|
760
|
+
enforcement_instrument: "enforcement_instrument";
|
|
761
|
+
accounts_ledger_first_party: "accounts_ledger_first_party";
|
|
762
|
+
credit_servicing: "credit_servicing";
|
|
763
|
+
collections_agency: "collections_agency";
|
|
764
|
+
settlement_ingestion: "settlement_ingestion";
|
|
765
|
+
payouts: "payouts";
|
|
766
|
+
banking_or_card_issuing: "banking_or_card_issuing";
|
|
767
|
+
insurance_carrier: "insurance_carrier";
|
|
768
|
+
insurance_claims_adjuster: "insurance_claims_adjuster";
|
|
769
|
+
air_carrier: "air_carrier";
|
|
770
|
+
lodging_supplier: "lodging_supplier";
|
|
771
|
+
email_or_notification: "email_or_notification";
|
|
772
|
+
}>;
|
|
773
|
+
deadlineMs: z.ZodNumber;
|
|
774
|
+
onTimeout: z.ZodLiteral<"decline">;
|
|
775
|
+
}, z.core.$strict>>;
|
|
776
|
+
distribute: z.ZodOptional<z.ZodObject<{
|
|
777
|
+
amountRef: z.ZodString;
|
|
778
|
+
onZero: z.ZodEnum<{
|
|
779
|
+
refuse: "refuse";
|
|
780
|
+
skip_steps: "skip_steps";
|
|
781
|
+
}>;
|
|
782
|
+
pool: z.ZodObject<{
|
|
783
|
+
from: z.ZodLiteral<"parent">;
|
|
784
|
+
path: z.ZodString;
|
|
785
|
+
}, z.core.$strict>;
|
|
786
|
+
refField: z.ZodString;
|
|
787
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
788
|
+
weightField: z.ZodString;
|
|
789
|
+
}, z.core.$strict>>;
|
|
790
|
+
description: z.ZodOptional<z.ZodString>;
|
|
791
|
+
due: z.ZodOptional<z.ZodObject<{
|
|
792
|
+
every: z.ZodOptional<z.ZodObject<{
|
|
793
|
+
countField: z.ZodOptional<z.ZodString>;
|
|
794
|
+
delinquency: z.ZodOptional<z.ZodLiteral<"parent_policy">>;
|
|
795
|
+
drainAction: z.ZodOptional<z.ZodString>;
|
|
796
|
+
period: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
797
|
+
calendar: z.ZodEnum<{
|
|
798
|
+
gregorian: "gregorian";
|
|
799
|
+
hijri: "hijri";
|
|
800
|
+
}>;
|
|
801
|
+
monthEnd: z.ZodLiteral<"clamp_to_last_day">;
|
|
802
|
+
months: z.ZodNumber;
|
|
803
|
+
}, z.core.$strict>]>;
|
|
804
|
+
liability: z.ZodOptional<z.ZodLiteral<"one_open">>;
|
|
805
|
+
untilAction: z.ZodOptional<z.ZodString>;
|
|
806
|
+
untilField: z.ZodOptional<z.ZodString>;
|
|
807
|
+
}, z.core.$strict>>;
|
|
808
|
+
field: z.ZodString;
|
|
809
|
+
offset: z.ZodOptional<z.ZodString>;
|
|
810
|
+
whenParentStatus: z.ZodOptional<z.ZodObject<{
|
|
811
|
+
instrumentId: z.ZodString;
|
|
812
|
+
refField: z.ZodString;
|
|
813
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
814
|
+
}, z.core.$strict>>;
|
|
815
|
+
}, z.core.$strict>>;
|
|
816
|
+
earnable: z.ZodOptional<z.ZodBoolean>;
|
|
817
|
+
effects: z.ZodOptional<z.ZodObject<{
|
|
818
|
+
decides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
819
|
+
signature: z.ZodString;
|
|
820
|
+
source: z.ZodString;
|
|
821
|
+
}, z.core.$strict>>>;
|
|
822
|
+
holds: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
823
|
+
signature: z.ZodString;
|
|
824
|
+
source: z.ZodString;
|
|
825
|
+
}, z.core.$strict>>>;
|
|
826
|
+
moves: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
827
|
+
signature: z.ZodString;
|
|
828
|
+
source: z.ZodString;
|
|
829
|
+
}, z.core.$strict>>>;
|
|
830
|
+
notifies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
831
|
+
channel: z.ZodString;
|
|
832
|
+
role: z.ZodString;
|
|
833
|
+
signature: z.ZodString;
|
|
834
|
+
source: z.ZodString;
|
|
835
|
+
}, z.core.$strict>>>;
|
|
836
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
837
|
+
signature: z.ZodString;
|
|
838
|
+
source: z.ZodString;
|
|
839
|
+
}, z.core.$strict>>>;
|
|
840
|
+
schedules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
841
|
+
signature: z.ZodString;
|
|
842
|
+
source: z.ZodString;
|
|
843
|
+
}, z.core.$strict>>>;
|
|
844
|
+
}, z.core.$strict>>;
|
|
845
|
+
eventName: z.ZodOptional<z.ZodString>;
|
|
846
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
847
|
+
input: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
848
|
+
name: z.ZodString;
|
|
849
|
+
output: z.ZodOptional<z.ZodJSONSchema>;
|
|
850
|
+
}, z.core.$strict>>>;
|
|
851
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
852
|
+
moves: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
853
|
+
bind: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
854
|
+
from: z.ZodLiteral<"const">;
|
|
855
|
+
value: z.ZodString;
|
|
856
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
857
|
+
from: z.ZodLiteral<"instance">;
|
|
858
|
+
path: z.ZodString;
|
|
859
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
860
|
+
from: z.ZodLiteral<"input">;
|
|
861
|
+
path: z.ZodString;
|
|
862
|
+
}, z.core.$strict>], "from">>;
|
|
863
|
+
capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
864
|
+
key: z.ZodString;
|
|
865
|
+
operation: z.ZodEnum<{
|
|
866
|
+
"internal_transfer.reserve": "internal_transfer.reserve";
|
|
867
|
+
"internal_transfer.create": "internal_transfer.create";
|
|
868
|
+
"internal_transfer.post": "internal_transfer.post";
|
|
869
|
+
"internal_transfer.void": "internal_transfer.void";
|
|
870
|
+
}>;
|
|
871
|
+
}, z.core.$strict>>>;
|
|
872
|
+
payout: z.ZodOptional<z.ZodObject<{
|
|
873
|
+
amount: z.ZodString;
|
|
874
|
+
beneficiaryField: z.ZodString;
|
|
875
|
+
beneficiaryPartyField: z.ZodString;
|
|
876
|
+
capture: z.ZodString;
|
|
877
|
+
currencyField: z.ZodString;
|
|
878
|
+
sourceAccountField: z.ZodString;
|
|
879
|
+
speed: z.ZodLiteral<"standard">;
|
|
880
|
+
}, z.core.$strict>>;
|
|
881
|
+
port: z.ZodOptional<z.ZodObject<{
|
|
882
|
+
allowedParties: z.ZodArray<z.ZodEnum<{
|
|
883
|
+
payer: "payer";
|
|
884
|
+
beneficiary: "beneficiary";
|
|
885
|
+
subjectHolder: "subjectHolder";
|
|
886
|
+
}>>;
|
|
887
|
+
}, z.core.$strict>>;
|
|
888
|
+
quote: z.ZodOptional<z.ZodObject<{
|
|
889
|
+
anchorField: z.ZodOptional<z.ZodString>;
|
|
890
|
+
baseField: z.ZodString;
|
|
891
|
+
chargeRef: z.ZodString;
|
|
892
|
+
charges: z.ZodArray<z.ZodObject<{
|
|
893
|
+
bps: z.ZodNumber;
|
|
894
|
+
withinOffset: z.ZodOptional<z.ZodString>;
|
|
895
|
+
}, z.core.$strict>>;
|
|
896
|
+
expires: z.ZodUnion<readonly [z.ZodObject<{
|
|
897
|
+
field: z.ZodString;
|
|
898
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
899
|
+
offset: z.ZodString;
|
|
900
|
+
}, z.core.$strict>]>;
|
|
901
|
+
fixes: z.ZodArray<z.ZodString>;
|
|
902
|
+
netDestinationField: z.ZodString;
|
|
903
|
+
netRef: z.ZodString;
|
|
904
|
+
}, z.core.$strict>>;
|
|
905
|
+
publicAction: z.ZodOptional<z.ZodString>;
|
|
906
|
+
principal: z.ZodOptional<z.ZodLiteral<"user_session">>;
|
|
907
|
+
reconcile: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
908
|
+
amount: z.ZodString;
|
|
909
|
+
capture: z.ZodString;
|
|
910
|
+
counterpartyRef: z.ZodString;
|
|
911
|
+
currencyField: z.ZodString;
|
|
912
|
+
direction: z.ZodEnum<{
|
|
913
|
+
credit: "credit";
|
|
914
|
+
debit: "debit";
|
|
915
|
+
}>;
|
|
916
|
+
evidence: z.ZodEnum<{
|
|
917
|
+
movement: "movement";
|
|
918
|
+
provider_confirmation: "provider_confirmation";
|
|
919
|
+
statement_line: "statement_line";
|
|
920
|
+
}>;
|
|
921
|
+
exception: z.ZodObject<{
|
|
922
|
+
amountField: z.ZodString;
|
|
923
|
+
childInstrumentId: z.ZodString;
|
|
924
|
+
maxOpen: z.ZodNumber;
|
|
925
|
+
reasonField: z.ZodString;
|
|
926
|
+
refField: z.ZodString;
|
|
927
|
+
}, z.core.$strict>;
|
|
928
|
+
match: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
929
|
+
law: z.ZodLiteral<"exact">;
|
|
930
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
931
|
+
dial: z.ZodString;
|
|
932
|
+
law: z.ZodLiteral<"tolerance">;
|
|
933
|
+
minorUnits: z.ZodNumber;
|
|
934
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
935
|
+
law: z.ZodLiteral<"window">;
|
|
936
|
+
}, z.core.$strict>], "law">;
|
|
937
|
+
within: z.ZodUnion<readonly [z.ZodObject<{
|
|
938
|
+
field: z.ZodString;
|
|
939
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
940
|
+
offset: z.ZodString;
|
|
941
|
+
}, z.core.$strict>]>;
|
|
942
|
+
}, z.core.$strict>>>;
|
|
943
|
+
remainder: z.ZodOptional<z.ZodObject<{
|
|
944
|
+
accumulateRef: z.ZodOptional<z.ZodString>;
|
|
945
|
+
amountRef: z.ZodString;
|
|
946
|
+
collected: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
947
|
+
amountField: z.ZodString;
|
|
948
|
+
instrumentId: z.ZodString;
|
|
949
|
+
path: z.ZodOptional<z.ZodLiteral<"refs">>;
|
|
950
|
+
refField: z.ZodString;
|
|
951
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
952
|
+
}, z.core.$strict>>>;
|
|
953
|
+
inputKey: z.ZodOptional<z.ZodString>;
|
|
954
|
+
onZero: z.ZodEnum<{
|
|
955
|
+
refuse: "refuse";
|
|
956
|
+
skip_steps: "skip_steps";
|
|
957
|
+
}>;
|
|
958
|
+
totalPath: z.ZodString;
|
|
959
|
+
}, z.core.$strict>>;
|
|
960
|
+
requiresAggregate: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
961
|
+
check: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
962
|
+
amountField: z.ZodString;
|
|
963
|
+
kind: z.ZodLiteral<"sum_at_least">;
|
|
964
|
+
targetField: z.ZodString;
|
|
965
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
966
|
+
amountField: z.ZodString;
|
|
967
|
+
kind: z.ZodLiteral<"sum_below">;
|
|
968
|
+
targetField: z.ZodString;
|
|
969
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
970
|
+
amountField: z.ZodString;
|
|
971
|
+
kind: z.ZodLiteral<"sum_exactly">;
|
|
972
|
+
targetField: z.ZodString;
|
|
973
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
974
|
+
amountField: z.ZodString;
|
|
975
|
+
anchorRef: z.ZodString;
|
|
976
|
+
kind: z.ZodLiteral<"sum_within_anchor_ref">;
|
|
977
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
978
|
+
kind: z.ZodLiteral<"count_at_least">;
|
|
979
|
+
targetField: z.ZodString;
|
|
980
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
981
|
+
kind: z.ZodLiteral<"all_in">;
|
|
982
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
983
|
+
field: z.ZodString;
|
|
984
|
+
kind: z.ZodLiteral<"count_equals_field">;
|
|
985
|
+
}, z.core.$strict>], "kind">;
|
|
986
|
+
instrumentId: z.ZodOptional<z.ZodString>;
|
|
987
|
+
over: z.ZodEnum<{
|
|
988
|
+
children: "children";
|
|
989
|
+
siblings: "siblings";
|
|
990
|
+
}>;
|
|
991
|
+
refField: z.ZodString;
|
|
992
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
993
|
+
}, z.core.$strict>>>;
|
|
994
|
+
requiresChecks: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodType<UdlCheckRequirementShape, unknown, z.core.$ZodTypeInternals<UdlCheckRequirementShape, unknown>>, z.ZodType<UdlCheckRequirementShape, unknown, z.core.$ZodTypeInternals<UdlCheckRequirementShape, unknown>>, ...z.ZodType<UdlCheckRequirementShape, unknown, z.core.$ZodTypeInternals<UdlCheckRequirementShape, unknown>>[]]>>>;
|
|
995
|
+
requiresDrainedAccount: z.ZodOptional<z.ZodObject<{
|
|
996
|
+
path: z.ZodString;
|
|
997
|
+
}, z.core.$strict>>;
|
|
998
|
+
requiresExposure: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
999
|
+
amountField: z.ZodString;
|
|
1000
|
+
anchorField: z.ZodString;
|
|
1001
|
+
capField: z.ZodString;
|
|
1002
|
+
capOnAnchor: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1003
|
+
childInstrumentId: z.ZodString;
|
|
1004
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
1005
|
+
}, z.core.$strict>>>;
|
|
1006
|
+
requiresRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1007
|
+
bind: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1008
|
+
field: z.ZodString;
|
|
1009
|
+
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1010
|
+
optional: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1011
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
1012
|
+
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1013
|
+
}, z.core.$strict>>>;
|
|
1014
|
+
sandboxFailurePoint: z.ZodOptional<z.ZodEnum<{
|
|
1015
|
+
funding: "funding";
|
|
1016
|
+
release: "release";
|
|
1017
|
+
}>>;
|
|
1018
|
+
setsAt: z.ZodOptional<z.ZodObject<{
|
|
1019
|
+
field: z.ZodString;
|
|
1020
|
+
marker: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1021
|
+
offset: z.ZodString;
|
|
1022
|
+
}, z.core.$strict>>;
|
|
1023
|
+
signedSum: z.ZodOptional<z.ZodObject<{
|
|
1024
|
+
amountRef: z.ZodString;
|
|
1025
|
+
onNegative: z.ZodLiteral<"refuse">;
|
|
1026
|
+
onZero: z.ZodEnum<{
|
|
1027
|
+
refuse: "refuse";
|
|
1028
|
+
skip_steps: "skip_steps";
|
|
1029
|
+
}>;
|
|
1030
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
1031
|
+
amountField: z.ZodString;
|
|
1032
|
+
instrumentId: z.ZodString;
|
|
1033
|
+
refField: z.ZodString;
|
|
1034
|
+
sign: z.ZodEnum<{
|
|
1035
|
+
add: "add";
|
|
1036
|
+
subtract: "subtract";
|
|
1037
|
+
}>;
|
|
1038
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
1039
|
+
subtotalRef: z.ZodString;
|
|
1040
|
+
}, z.core.$strict>>;
|
|
1041
|
+
}, z.core.$strict>>;
|
|
1042
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
1043
|
+
bind: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1044
|
+
from: z.ZodLiteral<"const">;
|
|
1045
|
+
value: z.ZodString;
|
|
1046
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1047
|
+
from: z.ZodLiteral<"instance">;
|
|
1048
|
+
path: z.ZodString;
|
|
1049
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1050
|
+
from: z.ZodLiteral<"input">;
|
|
1051
|
+
path: z.ZodString;
|
|
1052
|
+
}, z.core.$strict>], "from">>;
|
|
1053
|
+
capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1054
|
+
operation: z.ZodEnum<{
|
|
1055
|
+
"account.escrow.provision": "account.escrow.provision";
|
|
1056
|
+
"account.freeze": "account.freeze";
|
|
1057
|
+
"account.unfreeze": "account.unfreeze";
|
|
1058
|
+
}>;
|
|
1059
|
+
}, z.core.$strict>>;
|
|
1060
|
+
summary: z.ZodString;
|
|
1061
|
+
updates: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1062
|
+
}, z.core.$strict>;
|
|
1063
|
+
declare const udlAggregateSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1064
|
+
childField: z.ZodString;
|
|
1065
|
+
childInstrumentId: z.ZodString;
|
|
1066
|
+
childRefField: z.ZodString;
|
|
1067
|
+
childStatuses: z.ZodArray<z.ZodString>;
|
|
1068
|
+
parentField: z.ZodString;
|
|
1069
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1070
|
+
count: z.ZodLiteral<true>;
|
|
1071
|
+
window: z.ZodOptional<z.ZodObject<{
|
|
1072
|
+
field: z.ZodString;
|
|
1073
|
+
days: z.ZodNumber;
|
|
1074
|
+
}, z.core.$strict>>;
|
|
1075
|
+
childInstrumentId: z.ZodString;
|
|
1076
|
+
childRefField: z.ZodString;
|
|
1077
|
+
childStatuses: z.ZodArray<z.ZodString>;
|
|
1078
|
+
parentField: z.ZodString;
|
|
1079
|
+
}, z.core.$strict>]>;
|
|
1080
|
+
declare const udlInstrumentShape: {
|
|
1081
|
+
actionOrder: z.ZodArray<z.ZodString>;
|
|
1082
|
+
agentDescription: z.ZodOptional<z.ZodString>;
|
|
1083
|
+
aggregateInvariants: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1084
|
+
childField: z.ZodString;
|
|
1085
|
+
childInstrumentId: z.ZodString;
|
|
1086
|
+
childRefField: z.ZodString;
|
|
1087
|
+
childStatuses: z.ZodArray<z.ZodString>;
|
|
1088
|
+
parentField: z.ZodString;
|
|
1089
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1090
|
+
count: z.ZodLiteral<true>;
|
|
1091
|
+
window: z.ZodOptional<z.ZodObject<{
|
|
1092
|
+
field: z.ZodString;
|
|
1093
|
+
days: z.ZodNumber;
|
|
1094
|
+
}, z.core.$strict>>;
|
|
1095
|
+
childInstrumentId: z.ZodString;
|
|
1096
|
+
childRefField: z.ZodString;
|
|
1097
|
+
childStatuses: z.ZodArray<z.ZodString>;
|
|
1098
|
+
parentField: z.ZodString;
|
|
1099
|
+
}, z.core.$strict>]>>>;
|
|
1100
|
+
callerParkedStates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1101
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1102
|
+
dials: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1103
|
+
field: z.ZodString;
|
|
1104
|
+
key: z.ZodString;
|
|
1105
|
+
kind: z.ZodLiteral<"window">;
|
|
1106
|
+
maxOffset: z.ZodOptional<z.ZodString>;
|
|
1107
|
+
minOffset: z.ZodOptional<z.ZodString>;
|
|
1108
|
+
summary: z.ZodString;
|
|
1109
|
+
title: z.ZodString;
|
|
1110
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1111
|
+
action: z.ZodString;
|
|
1112
|
+
key: z.ZodString;
|
|
1113
|
+
kind: z.ZodLiteral<"decision_deadline_ms">;
|
|
1114
|
+
maxMs: z.ZodOptional<z.ZodNumber>;
|
|
1115
|
+
minMs: z.ZodOptional<z.ZodNumber>;
|
|
1116
|
+
summary: z.ZodString;
|
|
1117
|
+
title: z.ZodString;
|
|
1118
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1119
|
+
key: z.ZodString;
|
|
1120
|
+
kind: z.ZodLiteral<"reconcile_tolerance">;
|
|
1121
|
+
maxMinorUnits: z.ZodNumber;
|
|
1122
|
+
summary: z.ZodString;
|
|
1123
|
+
title: z.ZodString;
|
|
1124
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1125
|
+
key: z.ZodString;
|
|
1126
|
+
kind: z.ZodLiteral<"unwind_penalty">;
|
|
1127
|
+
summary: z.ZodString;
|
|
1128
|
+
title: z.ZodString;
|
|
1129
|
+
}, z.core.$strict>], "kind">>>;
|
|
1130
|
+
distinctParties: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1131
|
+
derivedAmounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1132
|
+
field: z.ZodString;
|
|
1133
|
+
rounding: z.ZodLiteral<"floor">;
|
|
1134
|
+
rule: z.ZodObject<{
|
|
1135
|
+
bps: z.ZodNumber;
|
|
1136
|
+
kind: z.ZodLiteral<"percentage_of">;
|
|
1137
|
+
}, z.core.$strict>;
|
|
1138
|
+
sourceField: z.ZodString;
|
|
1139
|
+
}, z.core.$strict>>>;
|
|
1140
|
+
feeRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1141
|
+
amountField: z.ZodString;
|
|
1142
|
+
baseField: z.ZodString;
|
|
1143
|
+
bearerField: z.ZodString;
|
|
1144
|
+
position: z.ZodEnum<{
|
|
1145
|
+
carved: "carved";
|
|
1146
|
+
on_top: "on_top";
|
|
1147
|
+
}>;
|
|
1148
|
+
rule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1149
|
+
bps: z.ZodNumber;
|
|
1150
|
+
kind: z.ZodLiteral<"bps">;
|
|
1151
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1152
|
+
currencyField: z.ZodString;
|
|
1153
|
+
field: z.ZodString;
|
|
1154
|
+
kind: z.ZodLiteral<"exact">;
|
|
1155
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1156
|
+
kind: z.ZodLiteral<"tiered">;
|
|
1157
|
+
tiers: z.ZodArray<z.ZodObject<{
|
|
1158
|
+
fromInclusive: z.ZodString;
|
|
1159
|
+
rule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1160
|
+
bps: z.ZodNumber;
|
|
1161
|
+
kind: z.ZodLiteral<"bps">;
|
|
1162
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1163
|
+
currencyField: z.ZodString;
|
|
1164
|
+
field: z.ZodString;
|
|
1165
|
+
kind: z.ZodLiteral<"exact">;
|
|
1166
|
+
}, z.core.$strict>], "kind">;
|
|
1167
|
+
toExclusive: z.ZodOptional<z.ZodString>;
|
|
1168
|
+
}, z.core.$strict>>;
|
|
1169
|
+
}, z.core.$strict>], "kind">;
|
|
1170
|
+
}, z.core.$strict>>>;
|
|
1171
|
+
fields: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1172
|
+
id: z.ZodString;
|
|
1173
|
+
idPrefix: z.ZodString;
|
|
1174
|
+
lifecycle: z.ZodObject<{
|
|
1175
|
+
initial: z.ZodString;
|
|
1176
|
+
states: z.ZodArray<z.ZodString>;
|
|
1177
|
+
transitions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1178
|
+
from: z.ZodArray<z.ZodString>;
|
|
1179
|
+
to: z.ZodString;
|
|
1180
|
+
}, z.core.$strict>>;
|
|
1181
|
+
}, z.core.$strict>;
|
|
1182
|
+
nav: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1183
|
+
parties: z.ZodOptional<z.ZodObject<{
|
|
1184
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1185
|
+
payer: z.ZodOptional<z.ZodString>;
|
|
1186
|
+
subjectHolder: z.ZodOptional<z.ZodString>;
|
|
1187
|
+
}, z.core.$strict>>;
|
|
1188
|
+
partitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1189
|
+
pieceFields: z.ZodArray<z.ZodString>;
|
|
1190
|
+
totalField: z.ZodString;
|
|
1191
|
+
}, z.core.$strict>>>;
|
|
1192
|
+
required: z.ZodArray<z.ZodString>;
|
|
1193
|
+
subject: z.ZodOptional<z.ZodObject<{
|
|
1194
|
+
extensible: z.ZodOptional<z.ZodBoolean>;
|
|
1195
|
+
kinds: z.ZodArray<z.ZodString>;
|
|
1196
|
+
}, z.core.$strict>>;
|
|
1197
|
+
summary: z.ZodString;
|
|
1198
|
+
surfaceVisibility: z.ZodOptional<z.ZodEnum<{
|
|
1199
|
+
internal: "internal";
|
|
1200
|
+
public: "public";
|
|
1201
|
+
system: "system";
|
|
1202
|
+
}>>;
|
|
1203
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
1204
|
+
title: z.ZodString;
|
|
1205
|
+
update: z.ZodOptional<z.ZodObject<{
|
|
1206
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1207
|
+
input: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
1208
|
+
name: z.ZodString;
|
|
1209
|
+
output: z.ZodOptional<z.ZodJSONSchema>;
|
|
1210
|
+
}, z.core.$strict>>>;
|
|
1211
|
+
fields: z.ZodArray<z.ZodString>;
|
|
1212
|
+
states: z.ZodArray<z.ZodString>;
|
|
1213
|
+
}, z.core.$strict>>;
|
|
1214
|
+
actions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1215
|
+
agentDescription: z.ZodOptional<z.ZodString>;
|
|
1216
|
+
captureInput: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1217
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
1218
|
+
decidedAmount: z.ZodOptional<z.ZodObject<{
|
|
1219
|
+
boundField: z.ZodString;
|
|
1220
|
+
field: z.ZodString;
|
|
1221
|
+
remainderAction: z.ZodString;
|
|
1222
|
+
}, z.core.$strict>>;
|
|
1223
|
+
deadline: z.ZodOptional<z.ZodObject<{
|
|
1224
|
+
field: z.ZodString;
|
|
1225
|
+
offset: z.ZodOptional<z.ZodString>;
|
|
1226
|
+
}, z.core.$strict>>;
|
|
1227
|
+
decision: z.ZodOptional<z.ZodObject<{
|
|
1228
|
+
capability: z.ZodEnum<{
|
|
1229
|
+
national_identity: "national_identity";
|
|
1230
|
+
identity_verification: "identity_verification";
|
|
1231
|
+
credit_bureau: "credit_bureau";
|
|
1232
|
+
sanctions_screening: "sanctions_screening";
|
|
1233
|
+
enforcement_instrument: "enforcement_instrument";
|
|
1234
|
+
accounts_ledger_first_party: "accounts_ledger_first_party";
|
|
1235
|
+
credit_servicing: "credit_servicing";
|
|
1236
|
+
collections_agency: "collections_agency";
|
|
1237
|
+
settlement_ingestion: "settlement_ingestion";
|
|
1238
|
+
payouts: "payouts";
|
|
1239
|
+
banking_or_card_issuing: "banking_or_card_issuing";
|
|
1240
|
+
insurance_carrier: "insurance_carrier";
|
|
1241
|
+
insurance_claims_adjuster: "insurance_claims_adjuster";
|
|
1242
|
+
air_carrier: "air_carrier";
|
|
1243
|
+
lodging_supplier: "lodging_supplier";
|
|
1244
|
+
email_or_notification: "email_or_notification";
|
|
1245
|
+
}>;
|
|
1246
|
+
deadlineMs: z.ZodNumber;
|
|
1247
|
+
onTimeout: z.ZodLiteral<"decline">;
|
|
1248
|
+
}, z.core.$strict>>;
|
|
1249
|
+
distribute: z.ZodOptional<z.ZodObject<{
|
|
1250
|
+
amountRef: z.ZodString;
|
|
1251
|
+
onZero: z.ZodEnum<{
|
|
1252
|
+
refuse: "refuse";
|
|
1253
|
+
skip_steps: "skip_steps";
|
|
1254
|
+
}>;
|
|
1255
|
+
pool: z.ZodObject<{
|
|
1256
|
+
from: z.ZodLiteral<"parent">;
|
|
1257
|
+
path: z.ZodString;
|
|
1258
|
+
}, z.core.$strict>;
|
|
1259
|
+
refField: z.ZodString;
|
|
1260
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
1261
|
+
weightField: z.ZodString;
|
|
1262
|
+
}, z.core.$strict>>;
|
|
1263
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1264
|
+
due: z.ZodOptional<z.ZodObject<{
|
|
1265
|
+
every: z.ZodOptional<z.ZodObject<{
|
|
1266
|
+
countField: z.ZodOptional<z.ZodString>;
|
|
1267
|
+
delinquency: z.ZodOptional<z.ZodLiteral<"parent_policy">>;
|
|
1268
|
+
drainAction: z.ZodOptional<z.ZodString>;
|
|
1269
|
+
period: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1270
|
+
calendar: z.ZodEnum<{
|
|
1271
|
+
gregorian: "gregorian";
|
|
1272
|
+
hijri: "hijri";
|
|
1273
|
+
}>;
|
|
1274
|
+
monthEnd: z.ZodLiteral<"clamp_to_last_day">;
|
|
1275
|
+
months: z.ZodNumber;
|
|
1276
|
+
}, z.core.$strict>]>;
|
|
1277
|
+
liability: z.ZodOptional<z.ZodLiteral<"one_open">>;
|
|
1278
|
+
untilAction: z.ZodOptional<z.ZodString>;
|
|
1279
|
+
untilField: z.ZodOptional<z.ZodString>;
|
|
1280
|
+
}, z.core.$strict>>;
|
|
1281
|
+
field: z.ZodString;
|
|
1282
|
+
offset: z.ZodOptional<z.ZodString>;
|
|
1283
|
+
whenParentStatus: z.ZodOptional<z.ZodObject<{
|
|
1284
|
+
instrumentId: z.ZodString;
|
|
1285
|
+
refField: z.ZodString;
|
|
1286
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
1287
|
+
}, z.core.$strict>>;
|
|
1288
|
+
}, z.core.$strict>>;
|
|
1289
|
+
earnable: z.ZodOptional<z.ZodBoolean>;
|
|
1290
|
+
effects: z.ZodOptional<z.ZodObject<{
|
|
1291
|
+
decides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1292
|
+
signature: z.ZodString;
|
|
1293
|
+
source: z.ZodString;
|
|
1294
|
+
}, z.core.$strict>>>;
|
|
1295
|
+
holds: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1296
|
+
signature: z.ZodString;
|
|
1297
|
+
source: z.ZodString;
|
|
1298
|
+
}, z.core.$strict>>>;
|
|
1299
|
+
moves: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1300
|
+
signature: z.ZodString;
|
|
1301
|
+
source: z.ZodString;
|
|
1302
|
+
}, z.core.$strict>>>;
|
|
1303
|
+
notifies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1304
|
+
channel: z.ZodString;
|
|
1305
|
+
role: z.ZodString;
|
|
1306
|
+
signature: z.ZodString;
|
|
1307
|
+
source: z.ZodString;
|
|
1308
|
+
}, z.core.$strict>>>;
|
|
1309
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1310
|
+
signature: z.ZodString;
|
|
1311
|
+
source: z.ZodString;
|
|
1312
|
+
}, z.core.$strict>>>;
|
|
1313
|
+
schedules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1314
|
+
signature: z.ZodString;
|
|
1315
|
+
source: z.ZodString;
|
|
1316
|
+
}, z.core.$strict>>>;
|
|
1317
|
+
}, z.core.$strict>>;
|
|
1318
|
+
eventName: z.ZodOptional<z.ZodString>;
|
|
1319
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1320
|
+
input: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
1321
|
+
name: z.ZodString;
|
|
1322
|
+
output: z.ZodOptional<z.ZodJSONSchema>;
|
|
1323
|
+
}, z.core.$strict>>>;
|
|
1324
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1325
|
+
moves: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1326
|
+
bind: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1327
|
+
from: z.ZodLiteral<"const">;
|
|
1328
|
+
value: z.ZodString;
|
|
1329
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1330
|
+
from: z.ZodLiteral<"instance">;
|
|
1331
|
+
path: z.ZodString;
|
|
1332
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1333
|
+
from: z.ZodLiteral<"input">;
|
|
1334
|
+
path: z.ZodString;
|
|
1335
|
+
}, z.core.$strict>], "from">>;
|
|
1336
|
+
capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1337
|
+
key: z.ZodString;
|
|
1338
|
+
operation: z.ZodEnum<{
|
|
1339
|
+
"internal_transfer.reserve": "internal_transfer.reserve";
|
|
1340
|
+
"internal_transfer.create": "internal_transfer.create";
|
|
1341
|
+
"internal_transfer.post": "internal_transfer.post";
|
|
1342
|
+
"internal_transfer.void": "internal_transfer.void";
|
|
1343
|
+
}>;
|
|
1344
|
+
}, z.core.$strict>>>;
|
|
1345
|
+
payout: z.ZodOptional<z.ZodObject<{
|
|
1346
|
+
amount: z.ZodString;
|
|
1347
|
+
beneficiaryField: z.ZodString;
|
|
1348
|
+
beneficiaryPartyField: z.ZodString;
|
|
1349
|
+
capture: z.ZodString;
|
|
1350
|
+
currencyField: z.ZodString;
|
|
1351
|
+
sourceAccountField: z.ZodString;
|
|
1352
|
+
speed: z.ZodLiteral<"standard">;
|
|
1353
|
+
}, z.core.$strict>>;
|
|
1354
|
+
port: z.ZodOptional<z.ZodObject<{
|
|
1355
|
+
allowedParties: z.ZodArray<z.ZodEnum<{
|
|
1356
|
+
payer: "payer";
|
|
1357
|
+
beneficiary: "beneficiary";
|
|
1358
|
+
subjectHolder: "subjectHolder";
|
|
1359
|
+
}>>;
|
|
1360
|
+
}, z.core.$strict>>;
|
|
1361
|
+
quote: z.ZodOptional<z.ZodObject<{
|
|
1362
|
+
anchorField: z.ZodOptional<z.ZodString>;
|
|
1363
|
+
baseField: z.ZodString;
|
|
1364
|
+
chargeRef: z.ZodString;
|
|
1365
|
+
charges: z.ZodArray<z.ZodObject<{
|
|
1366
|
+
bps: z.ZodNumber;
|
|
1367
|
+
withinOffset: z.ZodOptional<z.ZodString>;
|
|
1368
|
+
}, z.core.$strict>>;
|
|
1369
|
+
expires: z.ZodUnion<readonly [z.ZodObject<{
|
|
1370
|
+
field: z.ZodString;
|
|
1371
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1372
|
+
offset: z.ZodString;
|
|
1373
|
+
}, z.core.$strict>]>;
|
|
1374
|
+
fixes: z.ZodArray<z.ZodString>;
|
|
1375
|
+
netDestinationField: z.ZodString;
|
|
1376
|
+
netRef: z.ZodString;
|
|
1377
|
+
}, z.core.$strict>>;
|
|
1378
|
+
publicAction: z.ZodOptional<z.ZodString>;
|
|
1379
|
+
principal: z.ZodOptional<z.ZodLiteral<"user_session">>;
|
|
1380
|
+
reconcile: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1381
|
+
amount: z.ZodString;
|
|
1382
|
+
capture: z.ZodString;
|
|
1383
|
+
counterpartyRef: z.ZodString;
|
|
1384
|
+
currencyField: z.ZodString;
|
|
1385
|
+
direction: z.ZodEnum<{
|
|
1386
|
+
credit: "credit";
|
|
1387
|
+
debit: "debit";
|
|
1388
|
+
}>;
|
|
1389
|
+
evidence: z.ZodEnum<{
|
|
1390
|
+
movement: "movement";
|
|
1391
|
+
provider_confirmation: "provider_confirmation";
|
|
1392
|
+
statement_line: "statement_line";
|
|
1393
|
+
}>;
|
|
1394
|
+
exception: z.ZodObject<{
|
|
1395
|
+
amountField: z.ZodString;
|
|
1396
|
+
childInstrumentId: z.ZodString;
|
|
1397
|
+
maxOpen: z.ZodNumber;
|
|
1398
|
+
reasonField: z.ZodString;
|
|
1399
|
+
refField: z.ZodString;
|
|
1400
|
+
}, z.core.$strict>;
|
|
1401
|
+
match: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1402
|
+
law: z.ZodLiteral<"exact">;
|
|
1403
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1404
|
+
dial: z.ZodString;
|
|
1405
|
+
law: z.ZodLiteral<"tolerance">;
|
|
1406
|
+
minorUnits: z.ZodNumber;
|
|
1407
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1408
|
+
law: z.ZodLiteral<"window">;
|
|
1409
|
+
}, z.core.$strict>], "law">;
|
|
1410
|
+
within: z.ZodUnion<readonly [z.ZodObject<{
|
|
1411
|
+
field: z.ZodString;
|
|
1412
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1413
|
+
offset: z.ZodString;
|
|
1414
|
+
}, z.core.$strict>]>;
|
|
1415
|
+
}, z.core.$strict>>>;
|
|
1416
|
+
remainder: z.ZodOptional<z.ZodObject<{
|
|
1417
|
+
accumulateRef: z.ZodOptional<z.ZodString>;
|
|
1418
|
+
amountRef: z.ZodString;
|
|
1419
|
+
collected: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1420
|
+
amountField: z.ZodString;
|
|
1421
|
+
instrumentId: z.ZodString;
|
|
1422
|
+
path: z.ZodOptional<z.ZodLiteral<"refs">>;
|
|
1423
|
+
refField: z.ZodString;
|
|
1424
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
1425
|
+
}, z.core.$strict>>>;
|
|
1426
|
+
inputKey: z.ZodOptional<z.ZodString>;
|
|
1427
|
+
onZero: z.ZodEnum<{
|
|
1428
|
+
refuse: "refuse";
|
|
1429
|
+
skip_steps: "skip_steps";
|
|
1430
|
+
}>;
|
|
1431
|
+
totalPath: z.ZodString;
|
|
1432
|
+
}, z.core.$strict>>;
|
|
1433
|
+
requiresAggregate: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1434
|
+
check: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1435
|
+
amountField: z.ZodString;
|
|
1436
|
+
kind: z.ZodLiteral<"sum_at_least">;
|
|
1437
|
+
targetField: z.ZodString;
|
|
1438
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1439
|
+
amountField: z.ZodString;
|
|
1440
|
+
kind: z.ZodLiteral<"sum_below">;
|
|
1441
|
+
targetField: z.ZodString;
|
|
1442
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1443
|
+
amountField: z.ZodString;
|
|
1444
|
+
kind: z.ZodLiteral<"sum_exactly">;
|
|
1445
|
+
targetField: z.ZodString;
|
|
1446
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1447
|
+
amountField: z.ZodString;
|
|
1448
|
+
anchorRef: z.ZodString;
|
|
1449
|
+
kind: z.ZodLiteral<"sum_within_anchor_ref">;
|
|
1450
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1451
|
+
kind: z.ZodLiteral<"count_at_least">;
|
|
1452
|
+
targetField: z.ZodString;
|
|
1453
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1454
|
+
kind: z.ZodLiteral<"all_in">;
|
|
1455
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1456
|
+
field: z.ZodString;
|
|
1457
|
+
kind: z.ZodLiteral<"count_equals_field">;
|
|
1458
|
+
}, z.core.$strict>], "kind">;
|
|
1459
|
+
instrumentId: z.ZodOptional<z.ZodString>;
|
|
1460
|
+
over: z.ZodEnum<{
|
|
1461
|
+
children: "children";
|
|
1462
|
+
siblings: "siblings";
|
|
1463
|
+
}>;
|
|
1464
|
+
refField: z.ZodString;
|
|
1465
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
1466
|
+
}, z.core.$strict>>>;
|
|
1467
|
+
requiresChecks: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodType<UdlCheckRequirementShape, unknown, z.core.$ZodTypeInternals<UdlCheckRequirementShape, unknown>>, z.ZodType<UdlCheckRequirementShape, unknown, z.core.$ZodTypeInternals<UdlCheckRequirementShape, unknown>>, ...z.ZodType<UdlCheckRequirementShape, unknown, z.core.$ZodTypeInternals<UdlCheckRequirementShape, unknown>>[]]>>>;
|
|
1468
|
+
requiresDrainedAccount: z.ZodOptional<z.ZodObject<{
|
|
1469
|
+
path: z.ZodString;
|
|
1470
|
+
}, z.core.$strict>>;
|
|
1471
|
+
requiresExposure: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1472
|
+
amountField: z.ZodString;
|
|
1473
|
+
anchorField: z.ZodString;
|
|
1474
|
+
capField: z.ZodString;
|
|
1475
|
+
capOnAnchor: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1476
|
+
childInstrumentId: z.ZodString;
|
|
356
1477
|
statuses: z.ZodArray<z.ZodString>;
|
|
357
|
-
|
|
1478
|
+
}, z.core.$strict>>>;
|
|
1479
|
+
requiresRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1480
|
+
bind: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1481
|
+
field: z.ZodString;
|
|
1482
|
+
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1483
|
+
optional: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1484
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
1485
|
+
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1486
|
+
}, z.core.$strict>>>;
|
|
1487
|
+
sandboxFailurePoint: z.ZodOptional<z.ZodEnum<{
|
|
1488
|
+
funding: "funding";
|
|
1489
|
+
release: "release";
|
|
1490
|
+
}>>;
|
|
1491
|
+
setsAt: z.ZodOptional<z.ZodObject<{
|
|
1492
|
+
field: z.ZodString;
|
|
1493
|
+
marker: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1494
|
+
offset: z.ZodString;
|
|
358
1495
|
}, z.core.$strict>>;
|
|
1496
|
+
signedSum: z.ZodOptional<z.ZodObject<{
|
|
1497
|
+
amountRef: z.ZodString;
|
|
1498
|
+
onNegative: z.ZodLiteral<"refuse">;
|
|
1499
|
+
onZero: z.ZodEnum<{
|
|
1500
|
+
refuse: "refuse";
|
|
1501
|
+
skip_steps: "skip_steps";
|
|
1502
|
+
}>;
|
|
1503
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
1504
|
+
amountField: z.ZodString;
|
|
1505
|
+
instrumentId: z.ZodString;
|
|
1506
|
+
refField: z.ZodString;
|
|
1507
|
+
sign: z.ZodEnum<{
|
|
1508
|
+
add: "add";
|
|
1509
|
+
subtract: "subtract";
|
|
1510
|
+
}>;
|
|
1511
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
1512
|
+
subtotalRef: z.ZodString;
|
|
1513
|
+
}, z.core.$strict>>;
|
|
1514
|
+
}, z.core.$strict>>;
|
|
1515
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
1516
|
+
bind: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1517
|
+
from: z.ZodLiteral<"const">;
|
|
1518
|
+
value: z.ZodString;
|
|
1519
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1520
|
+
from: z.ZodLiteral<"instance">;
|
|
1521
|
+
path: z.ZodString;
|
|
1522
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1523
|
+
from: z.ZodLiteral<"input">;
|
|
1524
|
+
path: z.ZodString;
|
|
1525
|
+
}, z.core.$strict>], "from">>;
|
|
1526
|
+
capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1527
|
+
operation: z.ZodEnum<{
|
|
1528
|
+
"account.escrow.provision": "account.escrow.provision";
|
|
1529
|
+
"account.freeze": "account.freeze";
|
|
1530
|
+
"account.unfreeze": "account.unfreeze";
|
|
1531
|
+
}>;
|
|
1532
|
+
}, z.core.$strict>>;
|
|
1533
|
+
summary: z.ZodString;
|
|
1534
|
+
updates: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
359
1535
|
}, z.core.$strict>>;
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
365
|
-
from: z.ZodLiteral<"instance">;
|
|
366
|
-
path: z.ZodString;
|
|
367
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
368
|
-
from: z.ZodLiteral<"input">;
|
|
369
|
-
path: z.ZodString;
|
|
370
|
-
}, z.core.$strict>], "from">>;
|
|
371
|
-
capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
372
|
-
operation: z.ZodEnum<{
|
|
373
|
-
"account.escrow.provision": "account.escrow.provision";
|
|
374
|
-
"account.freeze": "account.freeze";
|
|
375
|
-
"account.unfreeze": "account.unfreeze";
|
|
376
|
-
}>;
|
|
377
|
-
}, z.core.$strict>>;
|
|
378
|
-
summary: z.ZodString;
|
|
379
|
-
}, z.core.$strict>;
|
|
380
|
-
declare const udlAggregateSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
381
|
-
childField: z.ZodString;
|
|
382
|
-
childNounId: z.ZodString;
|
|
383
|
-
childRefField: z.ZodString;
|
|
384
|
-
childStatuses: z.ZodArray<z.ZodString>;
|
|
385
|
-
parentField: z.ZodString;
|
|
386
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
387
|
-
count: z.ZodLiteral<true>;
|
|
388
|
-
window: z.ZodOptional<z.ZodObject<{
|
|
389
|
-
field: z.ZodString;
|
|
390
|
-
days: z.ZodNumber;
|
|
391
|
-
}, z.core.$strict>>;
|
|
392
|
-
childNounId: z.ZodString;
|
|
393
|
-
childRefField: z.ZodString;
|
|
394
|
-
childStatuses: z.ZodArray<z.ZodString>;
|
|
395
|
-
parentField: z.ZodString;
|
|
396
|
-
}, z.core.$strict>]>;
|
|
397
|
-
declare const udlNounSchema: z.ZodObject<{
|
|
1536
|
+
};
|
|
1537
|
+
declare const udlInstrumentSchema: z.ZodObject<{
|
|
1538
|
+
actionOrder: z.ZodArray<z.ZodString>;
|
|
1539
|
+
agentDescription: z.ZodOptional<z.ZodString>;
|
|
398
1540
|
aggregateInvariants: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
399
1541
|
childField: z.ZodString;
|
|
400
|
-
|
|
1542
|
+
childInstrumentId: z.ZodString;
|
|
401
1543
|
childRefField: z.ZodString;
|
|
402
1544
|
childStatuses: z.ZodArray<z.ZodString>;
|
|
403
1545
|
parentField: z.ZodString;
|
|
@@ -407,13 +1549,41 @@ declare const udlNounSchema: z.ZodObject<{
|
|
|
407
1549
|
field: z.ZodString;
|
|
408
1550
|
days: z.ZodNumber;
|
|
409
1551
|
}, z.core.$strict>>;
|
|
410
|
-
|
|
1552
|
+
childInstrumentId: z.ZodString;
|
|
411
1553
|
childRefField: z.ZodString;
|
|
412
1554
|
childStatuses: z.ZodArray<z.ZodString>;
|
|
413
1555
|
parentField: z.ZodString;
|
|
414
1556
|
}, z.core.$strict>]>>>;
|
|
415
|
-
|
|
1557
|
+
callerParkedStates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
416
1558
|
description: z.ZodOptional<z.ZodString>;
|
|
1559
|
+
dials: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1560
|
+
field: z.ZodString;
|
|
1561
|
+
key: z.ZodString;
|
|
1562
|
+
kind: z.ZodLiteral<"window">;
|
|
1563
|
+
maxOffset: z.ZodOptional<z.ZodString>;
|
|
1564
|
+
minOffset: z.ZodOptional<z.ZodString>;
|
|
1565
|
+
summary: z.ZodString;
|
|
1566
|
+
title: z.ZodString;
|
|
1567
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1568
|
+
action: z.ZodString;
|
|
1569
|
+
key: z.ZodString;
|
|
1570
|
+
kind: z.ZodLiteral<"decision_deadline_ms">;
|
|
1571
|
+
maxMs: z.ZodOptional<z.ZodNumber>;
|
|
1572
|
+
minMs: z.ZodOptional<z.ZodNumber>;
|
|
1573
|
+
summary: z.ZodString;
|
|
1574
|
+
title: z.ZodString;
|
|
1575
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1576
|
+
key: z.ZodString;
|
|
1577
|
+
kind: z.ZodLiteral<"reconcile_tolerance">;
|
|
1578
|
+
maxMinorUnits: z.ZodNumber;
|
|
1579
|
+
summary: z.ZodString;
|
|
1580
|
+
title: z.ZodString;
|
|
1581
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1582
|
+
key: z.ZodString;
|
|
1583
|
+
kind: z.ZodLiteral<"unwind_penalty">;
|
|
1584
|
+
summary: z.ZodString;
|
|
1585
|
+
title: z.ZodString;
|
|
1586
|
+
}, z.core.$strict>], "kind">>>;
|
|
417
1587
|
distinctParties: z.ZodOptional<z.ZodLiteral<true>>;
|
|
418
1588
|
derivedAmounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
419
1589
|
field: z.ZodString;
|
|
@@ -424,6 +1594,37 @@ declare const udlNounSchema: z.ZodObject<{
|
|
|
424
1594
|
}, z.core.$strict>;
|
|
425
1595
|
sourceField: z.ZodString;
|
|
426
1596
|
}, z.core.$strict>>>;
|
|
1597
|
+
feeRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1598
|
+
amountField: z.ZodString;
|
|
1599
|
+
baseField: z.ZodString;
|
|
1600
|
+
bearerField: z.ZodString;
|
|
1601
|
+
position: z.ZodEnum<{
|
|
1602
|
+
carved: "carved";
|
|
1603
|
+
on_top: "on_top";
|
|
1604
|
+
}>;
|
|
1605
|
+
rule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1606
|
+
bps: z.ZodNumber;
|
|
1607
|
+
kind: z.ZodLiteral<"bps">;
|
|
1608
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1609
|
+
currencyField: z.ZodString;
|
|
1610
|
+
field: z.ZodString;
|
|
1611
|
+
kind: z.ZodLiteral<"exact">;
|
|
1612
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1613
|
+
kind: z.ZodLiteral<"tiered">;
|
|
1614
|
+
tiers: z.ZodArray<z.ZodObject<{
|
|
1615
|
+
fromInclusive: z.ZodString;
|
|
1616
|
+
rule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1617
|
+
bps: z.ZodNumber;
|
|
1618
|
+
kind: z.ZodLiteral<"bps">;
|
|
1619
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1620
|
+
currencyField: z.ZodString;
|
|
1621
|
+
field: z.ZodString;
|
|
1622
|
+
kind: z.ZodLiteral<"exact">;
|
|
1623
|
+
}, z.core.$strict>], "kind">;
|
|
1624
|
+
toExclusive: z.ZodOptional<z.ZodString>;
|
|
1625
|
+
}, z.core.$strict>>;
|
|
1626
|
+
}, z.core.$strict>], "kind">;
|
|
1627
|
+
}, z.core.$strict>>>;
|
|
427
1628
|
fields: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
428
1629
|
id: z.ZodString;
|
|
429
1630
|
idPrefix: z.ZodString;
|
|
@@ -435,6 +1636,7 @@ declare const udlNounSchema: z.ZodObject<{
|
|
|
435
1636
|
to: z.ZodString;
|
|
436
1637
|
}, z.core.$strict>>;
|
|
437
1638
|
}, z.core.$strict>;
|
|
1639
|
+
nav: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
438
1640
|
parties: z.ZodOptional<z.ZodObject<{
|
|
439
1641
|
beneficiary: z.ZodOptional<z.ZodString>;
|
|
440
1642
|
payer: z.ZodOptional<z.ZodString>;
|
|
@@ -446,33 +1648,58 @@ declare const udlNounSchema: z.ZodObject<{
|
|
|
446
1648
|
}, z.core.$strict>>>;
|
|
447
1649
|
required: z.ZodArray<z.ZodString>;
|
|
448
1650
|
subject: z.ZodOptional<z.ZodObject<{
|
|
1651
|
+
extensible: z.ZodOptional<z.ZodBoolean>;
|
|
449
1652
|
kinds: z.ZodArray<z.ZodString>;
|
|
450
1653
|
}, z.core.$strict>>;
|
|
451
1654
|
summary: z.ZodString;
|
|
1655
|
+
surfaceVisibility: z.ZodOptional<z.ZodEnum<{
|
|
1656
|
+
internal: "internal";
|
|
1657
|
+
public: "public";
|
|
1658
|
+
system: "system";
|
|
1659
|
+
}>>;
|
|
1660
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
452
1661
|
title: z.ZodString;
|
|
453
|
-
unwind: z.ZodOptional<z.ZodObject<{
|
|
454
|
-
beforeField: z.ZodOptional<z.ZodString>;
|
|
455
|
-
confirm: z.ZodString;
|
|
456
|
-
penalty: z.ZodArray<z.ZodObject<{
|
|
457
|
-
bps: z.ZodNumber;
|
|
458
|
-
withinOffset: z.ZodOptional<z.ZodString>;
|
|
459
|
-
}, z.core.$strict>>;
|
|
460
|
-
quote: z.ZodString;
|
|
461
|
-
refundableField: z.ZodString;
|
|
462
|
-
refundDestinationField: z.ZodString;
|
|
463
|
-
}, z.core.$strict>>;
|
|
464
1662
|
update: z.ZodOptional<z.ZodObject<{
|
|
1663
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1664
|
+
input: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
1665
|
+
name: z.ZodString;
|
|
1666
|
+
output: z.ZodOptional<z.ZodJSONSchema>;
|
|
1667
|
+
}, z.core.$strict>>>;
|
|
465
1668
|
fields: z.ZodArray<z.ZodString>;
|
|
466
1669
|
states: z.ZodArray<z.ZodString>;
|
|
467
1670
|
}, z.core.$strict>>;
|
|
468
|
-
|
|
1671
|
+
actions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1672
|
+
agentDescription: z.ZodOptional<z.ZodString>;
|
|
469
1673
|
captureInput: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1674
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
1675
|
+
decidedAmount: z.ZodOptional<z.ZodObject<{
|
|
1676
|
+
boundField: z.ZodString;
|
|
1677
|
+
field: z.ZodString;
|
|
1678
|
+
remainderAction: z.ZodString;
|
|
1679
|
+
}, z.core.$strict>>;
|
|
470
1680
|
deadline: z.ZodOptional<z.ZodObject<{
|
|
471
1681
|
field: z.ZodString;
|
|
472
1682
|
offset: z.ZodOptional<z.ZodString>;
|
|
473
1683
|
}, z.core.$strict>>;
|
|
474
1684
|
decision: z.ZodOptional<z.ZodObject<{
|
|
475
|
-
capability: z.
|
|
1685
|
+
capability: z.ZodEnum<{
|
|
1686
|
+
national_identity: "national_identity";
|
|
1687
|
+
identity_verification: "identity_verification";
|
|
1688
|
+
credit_bureau: "credit_bureau";
|
|
1689
|
+
sanctions_screening: "sanctions_screening";
|
|
1690
|
+
enforcement_instrument: "enforcement_instrument";
|
|
1691
|
+
accounts_ledger_first_party: "accounts_ledger_first_party";
|
|
1692
|
+
credit_servicing: "credit_servicing";
|
|
1693
|
+
collections_agency: "collections_agency";
|
|
1694
|
+
settlement_ingestion: "settlement_ingestion";
|
|
1695
|
+
payouts: "payouts";
|
|
1696
|
+
banking_or_card_issuing: "banking_or_card_issuing";
|
|
1697
|
+
insurance_carrier: "insurance_carrier";
|
|
1698
|
+
insurance_claims_adjuster: "insurance_claims_adjuster";
|
|
1699
|
+
air_carrier: "air_carrier";
|
|
1700
|
+
lodging_supplier: "lodging_supplier";
|
|
1701
|
+
email_or_notification: "email_or_notification";
|
|
1702
|
+
}>;
|
|
476
1703
|
deadlineMs: z.ZodNumber;
|
|
477
1704
|
onTimeout: z.ZodLiteral<"decline">;
|
|
478
1705
|
}, z.core.$strict>>;
|
|
@@ -494,24 +1721,57 @@ declare const udlNounSchema: z.ZodObject<{
|
|
|
494
1721
|
due: z.ZodOptional<z.ZodObject<{
|
|
495
1722
|
every: z.ZodOptional<z.ZodObject<{
|
|
496
1723
|
countField: z.ZodOptional<z.ZodString>;
|
|
1724
|
+
delinquency: z.ZodOptional<z.ZodLiteral<"parent_policy">>;
|
|
1725
|
+
drainAction: z.ZodOptional<z.ZodString>;
|
|
497
1726
|
period: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
498
1727
|
calendar: z.ZodEnum<{
|
|
499
1728
|
gregorian: "gregorian";
|
|
500
1729
|
hijri: "hijri";
|
|
501
1730
|
}>;
|
|
1731
|
+
monthEnd: z.ZodLiteral<"clamp_to_last_day">;
|
|
502
1732
|
months: z.ZodNumber;
|
|
503
1733
|
}, z.core.$strict>]>;
|
|
1734
|
+
liability: z.ZodOptional<z.ZodLiteral<"one_open">>;
|
|
1735
|
+
untilAction: z.ZodOptional<z.ZodString>;
|
|
504
1736
|
untilField: z.ZodOptional<z.ZodString>;
|
|
505
1737
|
}, z.core.$strict>>;
|
|
506
1738
|
field: z.ZodString;
|
|
507
1739
|
offset: z.ZodOptional<z.ZodString>;
|
|
508
1740
|
whenParentStatus: z.ZodOptional<z.ZodObject<{
|
|
509
|
-
|
|
1741
|
+
instrumentId: z.ZodString;
|
|
510
1742
|
refField: z.ZodString;
|
|
511
1743
|
statuses: z.ZodArray<z.ZodString>;
|
|
512
1744
|
}, z.core.$strict>>;
|
|
513
1745
|
}, z.core.$strict>>;
|
|
514
1746
|
earnable: z.ZodOptional<z.ZodBoolean>;
|
|
1747
|
+
effects: z.ZodOptional<z.ZodObject<{
|
|
1748
|
+
decides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1749
|
+
signature: z.ZodString;
|
|
1750
|
+
source: z.ZodString;
|
|
1751
|
+
}, z.core.$strict>>>;
|
|
1752
|
+
holds: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1753
|
+
signature: z.ZodString;
|
|
1754
|
+
source: z.ZodString;
|
|
1755
|
+
}, z.core.$strict>>>;
|
|
1756
|
+
moves: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1757
|
+
signature: z.ZodString;
|
|
1758
|
+
source: z.ZodString;
|
|
1759
|
+
}, z.core.$strict>>>;
|
|
1760
|
+
notifies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1761
|
+
channel: z.ZodString;
|
|
1762
|
+
role: z.ZodString;
|
|
1763
|
+
signature: z.ZodString;
|
|
1764
|
+
source: z.ZodString;
|
|
1765
|
+
}, z.core.$strict>>>;
|
|
1766
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1767
|
+
signature: z.ZodString;
|
|
1768
|
+
source: z.ZodString;
|
|
1769
|
+
}, z.core.$strict>>>;
|
|
1770
|
+
schedules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1771
|
+
signature: z.ZodString;
|
|
1772
|
+
source: z.ZodString;
|
|
1773
|
+
}, z.core.$strict>>>;
|
|
1774
|
+
}, z.core.$strict>>;
|
|
515
1775
|
eventName: z.ZodOptional<z.ZodString>;
|
|
516
1776
|
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
517
1777
|
input: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
@@ -533,8 +1793,8 @@ declare const udlNounSchema: z.ZodObject<{
|
|
|
533
1793
|
capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
534
1794
|
key: z.ZodString;
|
|
535
1795
|
operation: z.ZodEnum<{
|
|
536
|
-
"internal_transfer.create": "internal_transfer.create";
|
|
537
1796
|
"internal_transfer.reserve": "internal_transfer.reserve";
|
|
1797
|
+
"internal_transfer.create": "internal_transfer.create";
|
|
538
1798
|
"internal_transfer.post": "internal_transfer.post";
|
|
539
1799
|
"internal_transfer.void": "internal_transfer.void";
|
|
540
1800
|
}>;
|
|
@@ -555,7 +1815,78 @@ declare const udlNounSchema: z.ZodObject<{
|
|
|
555
1815
|
subjectHolder: "subjectHolder";
|
|
556
1816
|
}>>;
|
|
557
1817
|
}, z.core.$strict>>;
|
|
558
|
-
|
|
1818
|
+
quote: z.ZodOptional<z.ZodObject<{
|
|
1819
|
+
anchorField: z.ZodOptional<z.ZodString>;
|
|
1820
|
+
baseField: z.ZodString;
|
|
1821
|
+
chargeRef: z.ZodString;
|
|
1822
|
+
charges: z.ZodArray<z.ZodObject<{
|
|
1823
|
+
bps: z.ZodNumber;
|
|
1824
|
+
withinOffset: z.ZodOptional<z.ZodString>;
|
|
1825
|
+
}, z.core.$strict>>;
|
|
1826
|
+
expires: z.ZodUnion<readonly [z.ZodObject<{
|
|
1827
|
+
field: z.ZodString;
|
|
1828
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1829
|
+
offset: z.ZodString;
|
|
1830
|
+
}, z.core.$strict>]>;
|
|
1831
|
+
fixes: z.ZodArray<z.ZodString>;
|
|
1832
|
+
netDestinationField: z.ZodString;
|
|
1833
|
+
netRef: z.ZodString;
|
|
1834
|
+
}, z.core.$strict>>;
|
|
1835
|
+
publicAction: z.ZodOptional<z.ZodString>;
|
|
1836
|
+
principal: z.ZodOptional<z.ZodLiteral<"user_session">>;
|
|
1837
|
+
reconcile: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1838
|
+
amount: z.ZodString;
|
|
1839
|
+
capture: z.ZodString;
|
|
1840
|
+
counterpartyRef: z.ZodString;
|
|
1841
|
+
currencyField: z.ZodString;
|
|
1842
|
+
direction: z.ZodEnum<{
|
|
1843
|
+
credit: "credit";
|
|
1844
|
+
debit: "debit";
|
|
1845
|
+
}>;
|
|
1846
|
+
evidence: z.ZodEnum<{
|
|
1847
|
+
movement: "movement";
|
|
1848
|
+
provider_confirmation: "provider_confirmation";
|
|
1849
|
+
statement_line: "statement_line";
|
|
1850
|
+
}>;
|
|
1851
|
+
exception: z.ZodObject<{
|
|
1852
|
+
amountField: z.ZodString;
|
|
1853
|
+
childInstrumentId: z.ZodString;
|
|
1854
|
+
maxOpen: z.ZodNumber;
|
|
1855
|
+
reasonField: z.ZodString;
|
|
1856
|
+
refField: z.ZodString;
|
|
1857
|
+
}, z.core.$strict>;
|
|
1858
|
+
match: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1859
|
+
law: z.ZodLiteral<"exact">;
|
|
1860
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1861
|
+
dial: z.ZodString;
|
|
1862
|
+
law: z.ZodLiteral<"tolerance">;
|
|
1863
|
+
minorUnits: z.ZodNumber;
|
|
1864
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1865
|
+
law: z.ZodLiteral<"window">;
|
|
1866
|
+
}, z.core.$strict>], "law">;
|
|
1867
|
+
within: z.ZodUnion<readonly [z.ZodObject<{
|
|
1868
|
+
field: z.ZodString;
|
|
1869
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1870
|
+
offset: z.ZodString;
|
|
1871
|
+
}, z.core.$strict>]>;
|
|
1872
|
+
}, z.core.$strict>>>;
|
|
1873
|
+
remainder: z.ZodOptional<z.ZodObject<{
|
|
1874
|
+
accumulateRef: z.ZodOptional<z.ZodString>;
|
|
1875
|
+
amountRef: z.ZodString;
|
|
1876
|
+
collected: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1877
|
+
amountField: z.ZodString;
|
|
1878
|
+
instrumentId: z.ZodString;
|
|
1879
|
+
path: z.ZodOptional<z.ZodLiteral<"refs">>;
|
|
1880
|
+
refField: z.ZodString;
|
|
1881
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
1882
|
+
}, z.core.$strict>>>;
|
|
1883
|
+
inputKey: z.ZodOptional<z.ZodString>;
|
|
1884
|
+
onZero: z.ZodEnum<{
|
|
1885
|
+
refuse: "refuse";
|
|
1886
|
+
skip_steps: "skip_steps";
|
|
1887
|
+
}>;
|
|
1888
|
+
totalPath: z.ZodString;
|
|
1889
|
+
}, z.core.$strict>>;
|
|
559
1890
|
requiresAggregate: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
560
1891
|
check: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
561
1892
|
amountField: z.ZodString;
|
|
@@ -582,7 +1913,7 @@ declare const udlNounSchema: z.ZodObject<{
|
|
|
582
1913
|
field: z.ZodString;
|
|
583
1914
|
kind: z.ZodLiteral<"count_equals_field">;
|
|
584
1915
|
}, z.core.$strict>], "kind">;
|
|
585
|
-
|
|
1916
|
+
instrumentId: z.ZodOptional<z.ZodString>;
|
|
586
1917
|
over: z.ZodEnum<{
|
|
587
1918
|
children: "children";
|
|
588
1919
|
siblings: "siblings";
|
|
@@ -590,6 +1921,7 @@ declare const udlNounSchema: z.ZodObject<{
|
|
|
590
1921
|
refField: z.ZodString;
|
|
591
1922
|
statuses: z.ZodArray<z.ZodString>;
|
|
592
1923
|
}, z.core.$strict>>>;
|
|
1924
|
+
requiresChecks: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodType<UdlCheckRequirementShape, unknown, z.core.$ZodTypeInternals<UdlCheckRequirementShape, unknown>>, z.ZodType<UdlCheckRequirementShape, unknown, z.core.$ZodTypeInternals<UdlCheckRequirementShape, unknown>>, ...z.ZodType<UdlCheckRequirementShape, unknown, z.core.$ZodTypeInternals<UdlCheckRequirementShape, unknown>>[]]>>>;
|
|
593
1925
|
requiresDrainedAccount: z.ZodOptional<z.ZodObject<{
|
|
594
1926
|
path: z.ZodString;
|
|
595
1927
|
}, z.core.$strict>>;
|
|
@@ -598,7 +1930,7 @@ declare const udlNounSchema: z.ZodObject<{
|
|
|
598
1930
|
anchorField: z.ZodString;
|
|
599
1931
|
capField: z.ZodString;
|
|
600
1932
|
capOnAnchor: z.ZodOptional<z.ZodLiteral<true>>;
|
|
601
|
-
|
|
1933
|
+
childInstrumentId: z.ZodString;
|
|
602
1934
|
statuses: z.ZodArray<z.ZodString>;
|
|
603
1935
|
}, z.core.$strict>>>;
|
|
604
1936
|
requiresRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -609,10 +1941,10 @@ declare const udlNounSchema: z.ZodObject<{
|
|
|
609
1941
|
statuses: z.ZodArray<z.ZodString>;
|
|
610
1942
|
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
611
1943
|
}, z.core.$strict>>>;
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
}
|
|
1944
|
+
sandboxFailurePoint: z.ZodOptional<z.ZodEnum<{
|
|
1945
|
+
funding: "funding";
|
|
1946
|
+
release: "release";
|
|
1947
|
+
}>>;
|
|
616
1948
|
setsAt: z.ZodOptional<z.ZodObject<{
|
|
617
1949
|
field: z.ZodString;
|
|
618
1950
|
marker: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -627,7 +1959,7 @@ declare const udlNounSchema: z.ZodObject<{
|
|
|
627
1959
|
}>;
|
|
628
1960
|
sources: z.ZodArray<z.ZodObject<{
|
|
629
1961
|
amountField: z.ZodString;
|
|
630
|
-
|
|
1962
|
+
instrumentId: z.ZodString;
|
|
631
1963
|
refField: z.ZodString;
|
|
632
1964
|
sign: z.ZodEnum<{
|
|
633
1965
|
add: "add";
|
|
@@ -656,13 +1988,408 @@ declare const udlNounSchema: z.ZodObject<{
|
|
|
656
1988
|
}>;
|
|
657
1989
|
}, z.core.$strict>>;
|
|
658
1990
|
summary: z.ZodString;
|
|
1991
|
+
updates: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
659
1992
|
}, z.core.$strict>>;
|
|
660
1993
|
}, z.core.$strict>;
|
|
1994
|
+
type UdlActionClauseTarget = keyof typeof udlActionShape;
|
|
1995
|
+
type UdlInstrumentClauseTarget = keyof typeof udlInstrumentShape;
|
|
1996
|
+
type UdlActionNestedClauseTarget = `effects.${keyof typeof udlEffectsShape}`;
|
|
1997
|
+
export type UdlClauseCardinality = "one" | "many";
|
|
1998
|
+
export interface UdlClauseEffect {
|
|
1999
|
+
readonly kind: UdlEffectKind;
|
|
2000
|
+
readonly per: "clause" | "element";
|
|
2001
|
+
readonly signature: {
|
|
2002
|
+
readonly fixed: string;
|
|
2003
|
+
} | {
|
|
2004
|
+
readonly fromField: string;
|
|
2005
|
+
} | {
|
|
2006
|
+
readonly movementClass: true;
|
|
2007
|
+
};
|
|
2008
|
+
}
|
|
2009
|
+
interface UdlClauseVocabularyMetadata {
|
|
2010
|
+
readonly cardinality?: UdlClauseCardinality;
|
|
2011
|
+
readonly effects?: readonly UdlClauseEffect[];
|
|
2012
|
+
readonly linearOutputs?: readonly string[];
|
|
2013
|
+
readonly linearSink?: true;
|
|
2014
|
+
readonly spelling: string;
|
|
2015
|
+
}
|
|
2016
|
+
export type UdlClauseVocabularyEntry = UdlClauseVocabularyMetadata & ({
|
|
2017
|
+
readonly scope: "action";
|
|
2018
|
+
readonly target: UdlActionClauseTarget | UdlActionNestedClauseTarget;
|
|
2019
|
+
} | {
|
|
2020
|
+
readonly scope: "instrument";
|
|
2021
|
+
readonly target: UdlInstrumentClauseTarget;
|
|
2022
|
+
});
|
|
2023
|
+
export declare const udlClauseVocabulary: readonly [{
|
|
2024
|
+
readonly cardinality: "one";
|
|
2025
|
+
readonly scope: "action";
|
|
2026
|
+
readonly spelling: "agent description";
|
|
2027
|
+
readonly target: "agentDescription";
|
|
2028
|
+
}, {
|
|
2029
|
+
readonly cardinality: "one";
|
|
2030
|
+
readonly scope: "action";
|
|
2031
|
+
readonly spelling: "capture input";
|
|
2032
|
+
readonly target: "captureInput";
|
|
2033
|
+
}, {
|
|
2034
|
+
readonly cardinality: "one";
|
|
2035
|
+
readonly effects: readonly [];
|
|
2036
|
+
readonly scope: "action";
|
|
2037
|
+
readonly spelling: "commit";
|
|
2038
|
+
readonly target: "commit";
|
|
2039
|
+
}, {
|
|
2040
|
+
readonly cardinality: "one";
|
|
2041
|
+
readonly effects: readonly [{
|
|
2042
|
+
readonly kind: "holds";
|
|
2043
|
+
readonly per: "clause";
|
|
2044
|
+
readonly signature: {
|
|
2045
|
+
readonly fixed: "quote";
|
|
2046
|
+
};
|
|
2047
|
+
}, {
|
|
2048
|
+
readonly kind: "schedules";
|
|
2049
|
+
readonly per: "clause";
|
|
2050
|
+
readonly signature: {
|
|
2051
|
+
readonly fixed: "expiry";
|
|
2052
|
+
};
|
|
2053
|
+
}];
|
|
2054
|
+
readonly linearOutputs: readonly ["netRef"];
|
|
2055
|
+
readonly scope: "action";
|
|
2056
|
+
readonly spelling: "quote";
|
|
2057
|
+
readonly target: "quote";
|
|
2058
|
+
}, {
|
|
2059
|
+
readonly cardinality: "one";
|
|
2060
|
+
readonly linearOutputs: readonly ["field"];
|
|
2061
|
+
readonly scope: "action";
|
|
2062
|
+
readonly spelling: "decided amount";
|
|
2063
|
+
readonly target: "decidedAmount";
|
|
2064
|
+
}, {
|
|
2065
|
+
readonly cardinality: "one";
|
|
2066
|
+
readonly effects: readonly [{
|
|
2067
|
+
readonly kind: "schedules";
|
|
2068
|
+
readonly per: "clause";
|
|
2069
|
+
readonly signature: {
|
|
2070
|
+
readonly fixed: "deadline";
|
|
2071
|
+
};
|
|
2072
|
+
}];
|
|
2073
|
+
readonly scope: "action";
|
|
2074
|
+
readonly spelling: "deadline";
|
|
2075
|
+
readonly target: "deadline";
|
|
2076
|
+
}, {
|
|
2077
|
+
readonly cardinality: "one";
|
|
2078
|
+
readonly effects: readonly [{
|
|
2079
|
+
readonly kind: "decides";
|
|
2080
|
+
readonly per: "clause";
|
|
2081
|
+
readonly signature: {
|
|
2082
|
+
readonly fromField: "capability";
|
|
2083
|
+
};
|
|
2084
|
+
}];
|
|
2085
|
+
readonly scope: "action";
|
|
2086
|
+
readonly spelling: "decision";
|
|
2087
|
+
readonly target: "decision";
|
|
2088
|
+
}, {
|
|
2089
|
+
readonly cardinality: "one";
|
|
2090
|
+
readonly linearOutputs: readonly ["amountRef"];
|
|
2091
|
+
readonly scope: "action";
|
|
2092
|
+
readonly spelling: "computes distribute";
|
|
2093
|
+
readonly target: "distribute";
|
|
2094
|
+
}, {
|
|
2095
|
+
readonly cardinality: "one";
|
|
2096
|
+
readonly scope: "action";
|
|
2097
|
+
readonly spelling: "description";
|
|
2098
|
+
readonly target: "description";
|
|
2099
|
+
}, {
|
|
2100
|
+
readonly cardinality: "one";
|
|
2101
|
+
readonly effects: readonly [{
|
|
2102
|
+
readonly kind: "schedules";
|
|
2103
|
+
readonly per: "clause";
|
|
2104
|
+
readonly signature: {
|
|
2105
|
+
readonly fixed: "due";
|
|
2106
|
+
};
|
|
2107
|
+
}];
|
|
2108
|
+
readonly scope: "action";
|
|
2109
|
+
readonly spelling: "due";
|
|
2110
|
+
readonly target: "due";
|
|
2111
|
+
}, {
|
|
2112
|
+
readonly cardinality: "one";
|
|
2113
|
+
readonly scope: "action";
|
|
2114
|
+
readonly spelling: "earnable";
|
|
2115
|
+
readonly target: "earnable";
|
|
2116
|
+
}, {
|
|
2117
|
+
readonly cardinality: "one";
|
|
2118
|
+
readonly scope: "action";
|
|
2119
|
+
readonly spelling: "event name";
|
|
2120
|
+
readonly target: "eventName";
|
|
2121
|
+
}, {
|
|
2122
|
+
readonly cardinality: "many";
|
|
2123
|
+
readonly scope: "action";
|
|
2124
|
+
readonly spelling: "examples";
|
|
2125
|
+
readonly target: "examples";
|
|
2126
|
+
}, {
|
|
2127
|
+
readonly cardinality: "one";
|
|
2128
|
+
readonly scope: "action";
|
|
2129
|
+
readonly spelling: "input";
|
|
2130
|
+
readonly target: "input";
|
|
2131
|
+
}, {
|
|
2132
|
+
readonly cardinality: "many";
|
|
2133
|
+
readonly effects: readonly [{
|
|
2134
|
+
readonly kind: "moves";
|
|
2135
|
+
readonly per: "element";
|
|
2136
|
+
readonly signature: {
|
|
2137
|
+
readonly movementClass: true;
|
|
2138
|
+
};
|
|
2139
|
+
}, {
|
|
2140
|
+
readonly kind: "holds";
|
|
2141
|
+
readonly per: "element";
|
|
2142
|
+
readonly signature: {
|
|
2143
|
+
readonly fixed: "reserve";
|
|
2144
|
+
};
|
|
2145
|
+
}];
|
|
2146
|
+
readonly linearSink: true;
|
|
2147
|
+
readonly scope: "action";
|
|
2148
|
+
readonly spelling: "moves";
|
|
2149
|
+
readonly target: "moves";
|
|
2150
|
+
}, {
|
|
2151
|
+
readonly cardinality: "one";
|
|
2152
|
+
readonly effects: readonly [{
|
|
2153
|
+
readonly kind: "moves";
|
|
2154
|
+
readonly per: "clause";
|
|
2155
|
+
readonly signature: {
|
|
2156
|
+
readonly fixed: "payout.external";
|
|
2157
|
+
};
|
|
2158
|
+
}];
|
|
2159
|
+
readonly linearSink: true;
|
|
2160
|
+
readonly scope: "action";
|
|
2161
|
+
readonly spelling: "payout";
|
|
2162
|
+
readonly target: "payout";
|
|
2163
|
+
}, {
|
|
2164
|
+
readonly cardinality: "one";
|
|
2165
|
+
readonly effects: readonly [{
|
|
2166
|
+
readonly kind: "decides";
|
|
2167
|
+
readonly per: "clause";
|
|
2168
|
+
readonly signature: {
|
|
2169
|
+
readonly fixed: "tenant_port";
|
|
2170
|
+
};
|
|
2171
|
+
}];
|
|
2172
|
+
readonly scope: "action";
|
|
2173
|
+
readonly spelling: "port";
|
|
2174
|
+
readonly target: "port";
|
|
2175
|
+
}, {
|
|
2176
|
+
readonly cardinality: "one";
|
|
2177
|
+
readonly scope: "action";
|
|
2178
|
+
readonly spelling: "principal";
|
|
2179
|
+
readonly target: "principal";
|
|
2180
|
+
}, {
|
|
2181
|
+
readonly cardinality: "one";
|
|
2182
|
+
readonly scope: "action";
|
|
2183
|
+
readonly spelling: "public action";
|
|
2184
|
+
readonly target: "publicAction";
|
|
2185
|
+
}, {
|
|
2186
|
+
readonly cardinality: "many";
|
|
2187
|
+
readonly effects: readonly [{
|
|
2188
|
+
readonly kind: "reads";
|
|
2189
|
+
readonly per: "element";
|
|
2190
|
+
readonly signature: {
|
|
2191
|
+
readonly fixed: "reconcile";
|
|
2192
|
+
};
|
|
2193
|
+
}];
|
|
2194
|
+
readonly scope: "action";
|
|
2195
|
+
readonly spelling: "reconcile";
|
|
2196
|
+
readonly target: "reconcile";
|
|
2197
|
+
}, {
|
|
2198
|
+
readonly cardinality: "one";
|
|
2199
|
+
readonly linearOutputs: readonly ["amountRef"];
|
|
2200
|
+
readonly scope: "action";
|
|
2201
|
+
readonly spelling: "computes remainder";
|
|
2202
|
+
readonly target: "remainder";
|
|
2203
|
+
}, {
|
|
2204
|
+
readonly cardinality: "many";
|
|
2205
|
+
readonly effects: readonly [{
|
|
2206
|
+
readonly kind: "reads";
|
|
2207
|
+
readonly per: "clause";
|
|
2208
|
+
readonly signature: {
|
|
2209
|
+
readonly fixed: "requires_aggregate";
|
|
2210
|
+
};
|
|
2211
|
+
}];
|
|
2212
|
+
readonly scope: "action";
|
|
2213
|
+
readonly spelling: "requires aggregate";
|
|
2214
|
+
readonly target: "requiresAggregate";
|
|
2215
|
+
}, {
|
|
2216
|
+
readonly cardinality: "many";
|
|
2217
|
+
readonly effects: readonly [{
|
|
2218
|
+
readonly kind: "reads";
|
|
2219
|
+
readonly per: "clause";
|
|
2220
|
+
readonly signature: {
|
|
2221
|
+
readonly fixed: "requires_checks";
|
|
2222
|
+
};
|
|
2223
|
+
}];
|
|
2224
|
+
readonly scope: "action";
|
|
2225
|
+
readonly spelling: "requires checks";
|
|
2226
|
+
readonly target: "requiresChecks";
|
|
2227
|
+
}, {
|
|
2228
|
+
readonly cardinality: "one";
|
|
2229
|
+
readonly scope: "action";
|
|
2230
|
+
readonly spelling: "requires drained";
|
|
2231
|
+
readonly target: "requiresDrainedAccount";
|
|
2232
|
+
}, {
|
|
2233
|
+
readonly cardinality: "many";
|
|
2234
|
+
readonly scope: "action";
|
|
2235
|
+
readonly spelling: "requires exposure";
|
|
2236
|
+
readonly target: "requiresExposure";
|
|
2237
|
+
}, {
|
|
2238
|
+
readonly cardinality: "many";
|
|
2239
|
+
readonly effects: readonly [{
|
|
2240
|
+
readonly kind: "reads";
|
|
2241
|
+
readonly per: "clause";
|
|
2242
|
+
readonly signature: {
|
|
2243
|
+
readonly fixed: "requires_refs";
|
|
2244
|
+
};
|
|
2245
|
+
}];
|
|
2246
|
+
readonly scope: "action";
|
|
2247
|
+
readonly spelling: "requires refs";
|
|
2248
|
+
readonly target: "requiresRefs";
|
|
2249
|
+
}, {
|
|
2250
|
+
readonly cardinality: "one";
|
|
2251
|
+
readonly scope: "action";
|
|
2252
|
+
readonly spelling: "sandbox failure point";
|
|
2253
|
+
readonly target: "sandboxFailurePoint";
|
|
2254
|
+
}, {
|
|
2255
|
+
readonly cardinality: "one";
|
|
2256
|
+
readonly scope: "action";
|
|
2257
|
+
readonly spelling: "sets at";
|
|
2258
|
+
readonly target: "setsAt";
|
|
2259
|
+
}, {
|
|
2260
|
+
readonly cardinality: "one";
|
|
2261
|
+
readonly linearOutputs: readonly ["amountRef"];
|
|
2262
|
+
readonly scope: "action";
|
|
2263
|
+
readonly spelling: "computes signed_sum";
|
|
2264
|
+
readonly target: "signedSum";
|
|
2265
|
+
}, {
|
|
2266
|
+
readonly cardinality: "many";
|
|
2267
|
+
readonly linearSink: true;
|
|
2268
|
+
readonly scope: "action";
|
|
2269
|
+
readonly spelling: "steps";
|
|
2270
|
+
readonly target: "steps";
|
|
2271
|
+
}, {
|
|
2272
|
+
readonly cardinality: "one";
|
|
2273
|
+
readonly scope: "action";
|
|
2274
|
+
readonly spelling: "summary";
|
|
2275
|
+
readonly target: "summary";
|
|
2276
|
+
}, {
|
|
2277
|
+
readonly cardinality: "many";
|
|
2278
|
+
readonly scope: "action";
|
|
2279
|
+
readonly spelling: "updates";
|
|
2280
|
+
readonly target: "updates";
|
|
2281
|
+
}, {
|
|
2282
|
+
readonly cardinality: "many";
|
|
2283
|
+
readonly effects: readonly [{
|
|
2284
|
+
readonly kind: "notifies";
|
|
2285
|
+
readonly per: "element";
|
|
2286
|
+
readonly signature: {
|
|
2287
|
+
readonly fromField: "channel";
|
|
2288
|
+
};
|
|
2289
|
+
}];
|
|
2290
|
+
readonly scope: "action";
|
|
2291
|
+
readonly spelling: "notify";
|
|
2292
|
+
readonly target: "effects.notifies";
|
|
2293
|
+
}, {
|
|
2294
|
+
readonly cardinality: "one";
|
|
2295
|
+
readonly scope: "instrument";
|
|
2296
|
+
readonly spelling: "agent description";
|
|
2297
|
+
readonly target: "agentDescription";
|
|
2298
|
+
}, {
|
|
2299
|
+
readonly cardinality: "many";
|
|
2300
|
+
readonly scope: "instrument";
|
|
2301
|
+
readonly spelling: "aggregate invariants";
|
|
2302
|
+
readonly target: "aggregateInvariants";
|
|
2303
|
+
}, {
|
|
2304
|
+
readonly cardinality: "one";
|
|
2305
|
+
readonly scope: "instrument";
|
|
2306
|
+
readonly spelling: "caller parked states";
|
|
2307
|
+
readonly target: "callerParkedStates";
|
|
2308
|
+
}, {
|
|
2309
|
+
readonly cardinality: "one";
|
|
2310
|
+
readonly scope: "instrument";
|
|
2311
|
+
readonly spelling: "description";
|
|
2312
|
+
readonly target: "description";
|
|
2313
|
+
}, {
|
|
2314
|
+
readonly cardinality: "many";
|
|
2315
|
+
readonly scope: "instrument";
|
|
2316
|
+
readonly spelling: "dials";
|
|
2317
|
+
readonly target: "dials";
|
|
2318
|
+
}, {
|
|
2319
|
+
readonly cardinality: "one";
|
|
2320
|
+
readonly scope: "instrument";
|
|
2321
|
+
readonly spelling: "distinct parties";
|
|
2322
|
+
readonly target: "distinctParties";
|
|
2323
|
+
}, {
|
|
2324
|
+
readonly cardinality: "many";
|
|
2325
|
+
readonly scope: "instrument";
|
|
2326
|
+
readonly spelling: "computes derived";
|
|
2327
|
+
readonly target: "derivedAmounts";
|
|
2328
|
+
}, {
|
|
2329
|
+
readonly cardinality: "many";
|
|
2330
|
+
readonly scope: "instrument";
|
|
2331
|
+
readonly spelling: "computes fees";
|
|
2332
|
+
readonly target: "feeRules";
|
|
2333
|
+
}, {
|
|
2334
|
+
readonly cardinality: "one";
|
|
2335
|
+
readonly scope: "instrument";
|
|
2336
|
+
readonly spelling: "id prefix";
|
|
2337
|
+
readonly target: "idPrefix";
|
|
2338
|
+
}, {
|
|
2339
|
+
readonly cardinality: "many";
|
|
2340
|
+
readonly scope: "instrument";
|
|
2341
|
+
readonly spelling: "nav";
|
|
2342
|
+
readonly target: "nav";
|
|
2343
|
+
}, {
|
|
2344
|
+
readonly cardinality: "many";
|
|
2345
|
+
readonly scope: "instrument";
|
|
2346
|
+
readonly spelling: "partitions";
|
|
2347
|
+
readonly target: "partitions";
|
|
2348
|
+
}, {
|
|
2349
|
+
readonly cardinality: "one";
|
|
2350
|
+
readonly scope: "instrument";
|
|
2351
|
+
readonly spelling: "subject";
|
|
2352
|
+
readonly target: "subject";
|
|
2353
|
+
}, {
|
|
2354
|
+
readonly cardinality: "one";
|
|
2355
|
+
readonly scope: "instrument";
|
|
2356
|
+
readonly spelling: "summary";
|
|
2357
|
+
readonly target: "summary";
|
|
2358
|
+
}, {
|
|
2359
|
+
readonly cardinality: "one";
|
|
2360
|
+
readonly scope: "instrument";
|
|
2361
|
+
readonly spelling: "surface visibility";
|
|
2362
|
+
readonly target: "surfaceVisibility";
|
|
2363
|
+
}, {
|
|
2364
|
+
readonly cardinality: "one";
|
|
2365
|
+
readonly scope: "instrument";
|
|
2366
|
+
readonly spelling: "template id";
|
|
2367
|
+
readonly target: "templateId";
|
|
2368
|
+
}, {
|
|
2369
|
+
readonly cardinality: "one";
|
|
2370
|
+
readonly scope: "instrument";
|
|
2371
|
+
readonly spelling: "title";
|
|
2372
|
+
readonly target: "title";
|
|
2373
|
+
}, {
|
|
2374
|
+
readonly cardinality: "one";
|
|
2375
|
+
readonly scope: "instrument";
|
|
2376
|
+
readonly spelling: "update";
|
|
2377
|
+
readonly target: "update";
|
|
2378
|
+
}];
|
|
661
2379
|
export declare const udlDocumentSchema: z.ZodObject<{
|
|
662
|
-
|
|
2380
|
+
dials: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2381
|
+
key: z.ZodString;
|
|
2382
|
+
kind: z.ZodLiteral<"confirmation_threshold">;
|
|
2383
|
+
maxMinor: z.ZodOptional<z.ZodNumber>;
|
|
2384
|
+
summary: z.ZodString;
|
|
2385
|
+
title: z.ZodString;
|
|
2386
|
+
}, z.core.$strict>>>;
|
|
2387
|
+
instruments: z.ZodArray<z.ZodObject<{
|
|
2388
|
+
actionOrder: z.ZodArray<z.ZodString>;
|
|
2389
|
+
agentDescription: z.ZodOptional<z.ZodString>;
|
|
663
2390
|
aggregateInvariants: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
664
2391
|
childField: z.ZodString;
|
|
665
|
-
|
|
2392
|
+
childInstrumentId: z.ZodString;
|
|
666
2393
|
childRefField: z.ZodString;
|
|
667
2394
|
childStatuses: z.ZodArray<z.ZodString>;
|
|
668
2395
|
parentField: z.ZodString;
|
|
@@ -672,13 +2399,41 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
672
2399
|
field: z.ZodString;
|
|
673
2400
|
days: z.ZodNumber;
|
|
674
2401
|
}, z.core.$strict>>;
|
|
675
|
-
|
|
2402
|
+
childInstrumentId: z.ZodString;
|
|
676
2403
|
childRefField: z.ZodString;
|
|
677
2404
|
childStatuses: z.ZodArray<z.ZodString>;
|
|
678
2405
|
parentField: z.ZodString;
|
|
679
2406
|
}, z.core.$strict>]>>>;
|
|
680
|
-
|
|
2407
|
+
callerParkedStates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
681
2408
|
description: z.ZodOptional<z.ZodString>;
|
|
2409
|
+
dials: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2410
|
+
field: z.ZodString;
|
|
2411
|
+
key: z.ZodString;
|
|
2412
|
+
kind: z.ZodLiteral<"window">;
|
|
2413
|
+
maxOffset: z.ZodOptional<z.ZodString>;
|
|
2414
|
+
minOffset: z.ZodOptional<z.ZodString>;
|
|
2415
|
+
summary: z.ZodString;
|
|
2416
|
+
title: z.ZodString;
|
|
2417
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2418
|
+
action: z.ZodString;
|
|
2419
|
+
key: z.ZodString;
|
|
2420
|
+
kind: z.ZodLiteral<"decision_deadline_ms">;
|
|
2421
|
+
maxMs: z.ZodOptional<z.ZodNumber>;
|
|
2422
|
+
minMs: z.ZodOptional<z.ZodNumber>;
|
|
2423
|
+
summary: z.ZodString;
|
|
2424
|
+
title: z.ZodString;
|
|
2425
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2426
|
+
key: z.ZodString;
|
|
2427
|
+
kind: z.ZodLiteral<"reconcile_tolerance">;
|
|
2428
|
+
maxMinorUnits: z.ZodNumber;
|
|
2429
|
+
summary: z.ZodString;
|
|
2430
|
+
title: z.ZodString;
|
|
2431
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2432
|
+
key: z.ZodString;
|
|
2433
|
+
kind: z.ZodLiteral<"unwind_penalty">;
|
|
2434
|
+
summary: z.ZodString;
|
|
2435
|
+
title: z.ZodString;
|
|
2436
|
+
}, z.core.$strict>], "kind">>>;
|
|
682
2437
|
distinctParties: z.ZodOptional<z.ZodLiteral<true>>;
|
|
683
2438
|
derivedAmounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
684
2439
|
field: z.ZodString;
|
|
@@ -689,6 +2444,37 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
689
2444
|
}, z.core.$strict>;
|
|
690
2445
|
sourceField: z.ZodString;
|
|
691
2446
|
}, z.core.$strict>>>;
|
|
2447
|
+
feeRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2448
|
+
amountField: z.ZodString;
|
|
2449
|
+
baseField: z.ZodString;
|
|
2450
|
+
bearerField: z.ZodString;
|
|
2451
|
+
position: z.ZodEnum<{
|
|
2452
|
+
carved: "carved";
|
|
2453
|
+
on_top: "on_top";
|
|
2454
|
+
}>;
|
|
2455
|
+
rule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2456
|
+
bps: z.ZodNumber;
|
|
2457
|
+
kind: z.ZodLiteral<"bps">;
|
|
2458
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2459
|
+
currencyField: z.ZodString;
|
|
2460
|
+
field: z.ZodString;
|
|
2461
|
+
kind: z.ZodLiteral<"exact">;
|
|
2462
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2463
|
+
kind: z.ZodLiteral<"tiered">;
|
|
2464
|
+
tiers: z.ZodArray<z.ZodObject<{
|
|
2465
|
+
fromInclusive: z.ZodString;
|
|
2466
|
+
rule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2467
|
+
bps: z.ZodNumber;
|
|
2468
|
+
kind: z.ZodLiteral<"bps">;
|
|
2469
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2470
|
+
currencyField: z.ZodString;
|
|
2471
|
+
field: z.ZodString;
|
|
2472
|
+
kind: z.ZodLiteral<"exact">;
|
|
2473
|
+
}, z.core.$strict>], "kind">;
|
|
2474
|
+
toExclusive: z.ZodOptional<z.ZodString>;
|
|
2475
|
+
}, z.core.$strict>>;
|
|
2476
|
+
}, z.core.$strict>], "kind">;
|
|
2477
|
+
}, z.core.$strict>>>;
|
|
692
2478
|
fields: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
693
2479
|
id: z.ZodString;
|
|
694
2480
|
idPrefix: z.ZodString;
|
|
@@ -700,6 +2486,7 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
700
2486
|
to: z.ZodString;
|
|
701
2487
|
}, z.core.$strict>>;
|
|
702
2488
|
}, z.core.$strict>;
|
|
2489
|
+
nav: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
703
2490
|
parties: z.ZodOptional<z.ZodObject<{
|
|
704
2491
|
beneficiary: z.ZodOptional<z.ZodString>;
|
|
705
2492
|
payer: z.ZodOptional<z.ZodString>;
|
|
@@ -711,33 +2498,58 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
711
2498
|
}, z.core.$strict>>>;
|
|
712
2499
|
required: z.ZodArray<z.ZodString>;
|
|
713
2500
|
subject: z.ZodOptional<z.ZodObject<{
|
|
2501
|
+
extensible: z.ZodOptional<z.ZodBoolean>;
|
|
714
2502
|
kinds: z.ZodArray<z.ZodString>;
|
|
715
2503
|
}, z.core.$strict>>;
|
|
716
2504
|
summary: z.ZodString;
|
|
2505
|
+
surfaceVisibility: z.ZodOptional<z.ZodEnum<{
|
|
2506
|
+
internal: "internal";
|
|
2507
|
+
public: "public";
|
|
2508
|
+
system: "system";
|
|
2509
|
+
}>>;
|
|
2510
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
717
2511
|
title: z.ZodString;
|
|
718
|
-
unwind: z.ZodOptional<z.ZodObject<{
|
|
719
|
-
beforeField: z.ZodOptional<z.ZodString>;
|
|
720
|
-
confirm: z.ZodString;
|
|
721
|
-
penalty: z.ZodArray<z.ZodObject<{
|
|
722
|
-
bps: z.ZodNumber;
|
|
723
|
-
withinOffset: z.ZodOptional<z.ZodString>;
|
|
724
|
-
}, z.core.$strict>>;
|
|
725
|
-
quote: z.ZodString;
|
|
726
|
-
refundableField: z.ZodString;
|
|
727
|
-
refundDestinationField: z.ZodString;
|
|
728
|
-
}, z.core.$strict>>;
|
|
729
2512
|
update: z.ZodOptional<z.ZodObject<{
|
|
2513
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2514
|
+
input: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
2515
|
+
name: z.ZodString;
|
|
2516
|
+
output: z.ZodOptional<z.ZodJSONSchema>;
|
|
2517
|
+
}, z.core.$strict>>>;
|
|
730
2518
|
fields: z.ZodArray<z.ZodString>;
|
|
731
2519
|
states: z.ZodArray<z.ZodString>;
|
|
732
2520
|
}, z.core.$strict>>;
|
|
733
|
-
|
|
2521
|
+
actions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2522
|
+
agentDescription: z.ZodOptional<z.ZodString>;
|
|
734
2523
|
captureInput: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2524
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
2525
|
+
decidedAmount: z.ZodOptional<z.ZodObject<{
|
|
2526
|
+
boundField: z.ZodString;
|
|
2527
|
+
field: z.ZodString;
|
|
2528
|
+
remainderAction: z.ZodString;
|
|
2529
|
+
}, z.core.$strict>>;
|
|
735
2530
|
deadline: z.ZodOptional<z.ZodObject<{
|
|
736
2531
|
field: z.ZodString;
|
|
737
2532
|
offset: z.ZodOptional<z.ZodString>;
|
|
738
2533
|
}, z.core.$strict>>;
|
|
739
2534
|
decision: z.ZodOptional<z.ZodObject<{
|
|
740
|
-
capability: z.
|
|
2535
|
+
capability: z.ZodEnum<{
|
|
2536
|
+
national_identity: "national_identity";
|
|
2537
|
+
identity_verification: "identity_verification";
|
|
2538
|
+
credit_bureau: "credit_bureau";
|
|
2539
|
+
sanctions_screening: "sanctions_screening";
|
|
2540
|
+
enforcement_instrument: "enforcement_instrument";
|
|
2541
|
+
accounts_ledger_first_party: "accounts_ledger_first_party";
|
|
2542
|
+
credit_servicing: "credit_servicing";
|
|
2543
|
+
collections_agency: "collections_agency";
|
|
2544
|
+
settlement_ingestion: "settlement_ingestion";
|
|
2545
|
+
payouts: "payouts";
|
|
2546
|
+
banking_or_card_issuing: "banking_or_card_issuing";
|
|
2547
|
+
insurance_carrier: "insurance_carrier";
|
|
2548
|
+
insurance_claims_adjuster: "insurance_claims_adjuster";
|
|
2549
|
+
air_carrier: "air_carrier";
|
|
2550
|
+
lodging_supplier: "lodging_supplier";
|
|
2551
|
+
email_or_notification: "email_or_notification";
|
|
2552
|
+
}>;
|
|
741
2553
|
deadlineMs: z.ZodNumber;
|
|
742
2554
|
onTimeout: z.ZodLiteral<"decline">;
|
|
743
2555
|
}, z.core.$strict>>;
|
|
@@ -759,24 +2571,57 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
759
2571
|
due: z.ZodOptional<z.ZodObject<{
|
|
760
2572
|
every: z.ZodOptional<z.ZodObject<{
|
|
761
2573
|
countField: z.ZodOptional<z.ZodString>;
|
|
2574
|
+
delinquency: z.ZodOptional<z.ZodLiteral<"parent_policy">>;
|
|
2575
|
+
drainAction: z.ZodOptional<z.ZodString>;
|
|
762
2576
|
period: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
763
2577
|
calendar: z.ZodEnum<{
|
|
764
2578
|
gregorian: "gregorian";
|
|
765
2579
|
hijri: "hijri";
|
|
766
2580
|
}>;
|
|
2581
|
+
monthEnd: z.ZodLiteral<"clamp_to_last_day">;
|
|
767
2582
|
months: z.ZodNumber;
|
|
768
2583
|
}, z.core.$strict>]>;
|
|
2584
|
+
liability: z.ZodOptional<z.ZodLiteral<"one_open">>;
|
|
2585
|
+
untilAction: z.ZodOptional<z.ZodString>;
|
|
769
2586
|
untilField: z.ZodOptional<z.ZodString>;
|
|
770
2587
|
}, z.core.$strict>>;
|
|
771
2588
|
field: z.ZodString;
|
|
772
2589
|
offset: z.ZodOptional<z.ZodString>;
|
|
773
2590
|
whenParentStatus: z.ZodOptional<z.ZodObject<{
|
|
774
|
-
|
|
2591
|
+
instrumentId: z.ZodString;
|
|
775
2592
|
refField: z.ZodString;
|
|
776
2593
|
statuses: z.ZodArray<z.ZodString>;
|
|
777
2594
|
}, z.core.$strict>>;
|
|
778
2595
|
}, z.core.$strict>>;
|
|
779
2596
|
earnable: z.ZodOptional<z.ZodBoolean>;
|
|
2597
|
+
effects: z.ZodOptional<z.ZodObject<{
|
|
2598
|
+
decides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2599
|
+
signature: z.ZodString;
|
|
2600
|
+
source: z.ZodString;
|
|
2601
|
+
}, z.core.$strict>>>;
|
|
2602
|
+
holds: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2603
|
+
signature: z.ZodString;
|
|
2604
|
+
source: z.ZodString;
|
|
2605
|
+
}, z.core.$strict>>>;
|
|
2606
|
+
moves: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2607
|
+
signature: z.ZodString;
|
|
2608
|
+
source: z.ZodString;
|
|
2609
|
+
}, z.core.$strict>>>;
|
|
2610
|
+
notifies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2611
|
+
channel: z.ZodString;
|
|
2612
|
+
role: z.ZodString;
|
|
2613
|
+
signature: z.ZodString;
|
|
2614
|
+
source: z.ZodString;
|
|
2615
|
+
}, z.core.$strict>>>;
|
|
2616
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2617
|
+
signature: z.ZodString;
|
|
2618
|
+
source: z.ZodString;
|
|
2619
|
+
}, z.core.$strict>>>;
|
|
2620
|
+
schedules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2621
|
+
signature: z.ZodString;
|
|
2622
|
+
source: z.ZodString;
|
|
2623
|
+
}, z.core.$strict>>>;
|
|
2624
|
+
}, z.core.$strict>>;
|
|
780
2625
|
eventName: z.ZodOptional<z.ZodString>;
|
|
781
2626
|
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
782
2627
|
input: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
@@ -798,8 +2643,8 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
798
2643
|
capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
799
2644
|
key: z.ZodString;
|
|
800
2645
|
operation: z.ZodEnum<{
|
|
801
|
-
"internal_transfer.create": "internal_transfer.create";
|
|
802
2646
|
"internal_transfer.reserve": "internal_transfer.reserve";
|
|
2647
|
+
"internal_transfer.create": "internal_transfer.create";
|
|
803
2648
|
"internal_transfer.post": "internal_transfer.post";
|
|
804
2649
|
"internal_transfer.void": "internal_transfer.void";
|
|
805
2650
|
}>;
|
|
@@ -820,7 +2665,78 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
820
2665
|
subjectHolder: "subjectHolder";
|
|
821
2666
|
}>>;
|
|
822
2667
|
}, z.core.$strict>>;
|
|
823
|
-
|
|
2668
|
+
quote: z.ZodOptional<z.ZodObject<{
|
|
2669
|
+
anchorField: z.ZodOptional<z.ZodString>;
|
|
2670
|
+
baseField: z.ZodString;
|
|
2671
|
+
chargeRef: z.ZodString;
|
|
2672
|
+
charges: z.ZodArray<z.ZodObject<{
|
|
2673
|
+
bps: z.ZodNumber;
|
|
2674
|
+
withinOffset: z.ZodOptional<z.ZodString>;
|
|
2675
|
+
}, z.core.$strict>>;
|
|
2676
|
+
expires: z.ZodUnion<readonly [z.ZodObject<{
|
|
2677
|
+
field: z.ZodString;
|
|
2678
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2679
|
+
offset: z.ZodString;
|
|
2680
|
+
}, z.core.$strict>]>;
|
|
2681
|
+
fixes: z.ZodArray<z.ZodString>;
|
|
2682
|
+
netDestinationField: z.ZodString;
|
|
2683
|
+
netRef: z.ZodString;
|
|
2684
|
+
}, z.core.$strict>>;
|
|
2685
|
+
publicAction: z.ZodOptional<z.ZodString>;
|
|
2686
|
+
principal: z.ZodOptional<z.ZodLiteral<"user_session">>;
|
|
2687
|
+
reconcile: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2688
|
+
amount: z.ZodString;
|
|
2689
|
+
capture: z.ZodString;
|
|
2690
|
+
counterpartyRef: z.ZodString;
|
|
2691
|
+
currencyField: z.ZodString;
|
|
2692
|
+
direction: z.ZodEnum<{
|
|
2693
|
+
credit: "credit";
|
|
2694
|
+
debit: "debit";
|
|
2695
|
+
}>;
|
|
2696
|
+
evidence: z.ZodEnum<{
|
|
2697
|
+
movement: "movement";
|
|
2698
|
+
provider_confirmation: "provider_confirmation";
|
|
2699
|
+
statement_line: "statement_line";
|
|
2700
|
+
}>;
|
|
2701
|
+
exception: z.ZodObject<{
|
|
2702
|
+
amountField: z.ZodString;
|
|
2703
|
+
childInstrumentId: z.ZodString;
|
|
2704
|
+
maxOpen: z.ZodNumber;
|
|
2705
|
+
reasonField: z.ZodString;
|
|
2706
|
+
refField: z.ZodString;
|
|
2707
|
+
}, z.core.$strict>;
|
|
2708
|
+
match: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2709
|
+
law: z.ZodLiteral<"exact">;
|
|
2710
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2711
|
+
dial: z.ZodString;
|
|
2712
|
+
law: z.ZodLiteral<"tolerance">;
|
|
2713
|
+
minorUnits: z.ZodNumber;
|
|
2714
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2715
|
+
law: z.ZodLiteral<"window">;
|
|
2716
|
+
}, z.core.$strict>], "law">;
|
|
2717
|
+
within: z.ZodUnion<readonly [z.ZodObject<{
|
|
2718
|
+
field: z.ZodString;
|
|
2719
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2720
|
+
offset: z.ZodString;
|
|
2721
|
+
}, z.core.$strict>]>;
|
|
2722
|
+
}, z.core.$strict>>>;
|
|
2723
|
+
remainder: z.ZodOptional<z.ZodObject<{
|
|
2724
|
+
accumulateRef: z.ZodOptional<z.ZodString>;
|
|
2725
|
+
amountRef: z.ZodString;
|
|
2726
|
+
collected: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2727
|
+
amountField: z.ZodString;
|
|
2728
|
+
instrumentId: z.ZodString;
|
|
2729
|
+
path: z.ZodOptional<z.ZodLiteral<"refs">>;
|
|
2730
|
+
refField: z.ZodString;
|
|
2731
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
2732
|
+
}, z.core.$strict>>>;
|
|
2733
|
+
inputKey: z.ZodOptional<z.ZodString>;
|
|
2734
|
+
onZero: z.ZodEnum<{
|
|
2735
|
+
refuse: "refuse";
|
|
2736
|
+
skip_steps: "skip_steps";
|
|
2737
|
+
}>;
|
|
2738
|
+
totalPath: z.ZodString;
|
|
2739
|
+
}, z.core.$strict>>;
|
|
824
2740
|
requiresAggregate: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
825
2741
|
check: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
826
2742
|
amountField: z.ZodString;
|
|
@@ -847,7 +2763,7 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
847
2763
|
field: z.ZodString;
|
|
848
2764
|
kind: z.ZodLiteral<"count_equals_field">;
|
|
849
2765
|
}, z.core.$strict>], "kind">;
|
|
850
|
-
|
|
2766
|
+
instrumentId: z.ZodOptional<z.ZodString>;
|
|
851
2767
|
over: z.ZodEnum<{
|
|
852
2768
|
children: "children";
|
|
853
2769
|
siblings: "siblings";
|
|
@@ -855,6 +2771,7 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
855
2771
|
refField: z.ZodString;
|
|
856
2772
|
statuses: z.ZodArray<z.ZodString>;
|
|
857
2773
|
}, z.core.$strict>>>;
|
|
2774
|
+
requiresChecks: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodType<UdlCheckRequirementShape, unknown, z.core.$ZodTypeInternals<UdlCheckRequirementShape, unknown>>, z.ZodType<UdlCheckRequirementShape, unknown, z.core.$ZodTypeInternals<UdlCheckRequirementShape, unknown>>, ...z.ZodType<UdlCheckRequirementShape, unknown, z.core.$ZodTypeInternals<UdlCheckRequirementShape, unknown>>[]]>>>;
|
|
858
2775
|
requiresDrainedAccount: z.ZodOptional<z.ZodObject<{
|
|
859
2776
|
path: z.ZodString;
|
|
860
2777
|
}, z.core.$strict>>;
|
|
@@ -863,7 +2780,7 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
863
2780
|
anchorField: z.ZodString;
|
|
864
2781
|
capField: z.ZodString;
|
|
865
2782
|
capOnAnchor: z.ZodOptional<z.ZodLiteral<true>>;
|
|
866
|
-
|
|
2783
|
+
childInstrumentId: z.ZodString;
|
|
867
2784
|
statuses: z.ZodArray<z.ZodString>;
|
|
868
2785
|
}, z.core.$strict>>>;
|
|
869
2786
|
requiresRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -874,10 +2791,10 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
874
2791
|
statuses: z.ZodArray<z.ZodString>;
|
|
875
2792
|
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
876
2793
|
}, z.core.$strict>>>;
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
}
|
|
2794
|
+
sandboxFailurePoint: z.ZodOptional<z.ZodEnum<{
|
|
2795
|
+
funding: "funding";
|
|
2796
|
+
release: "release";
|
|
2797
|
+
}>>;
|
|
881
2798
|
setsAt: z.ZodOptional<z.ZodObject<{
|
|
882
2799
|
field: z.ZodString;
|
|
883
2800
|
marker: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -892,7 +2809,7 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
892
2809
|
}>;
|
|
893
2810
|
sources: z.ZodArray<z.ZodObject<{
|
|
894
2811
|
amountField: z.ZodString;
|
|
895
|
-
|
|
2812
|
+
instrumentId: z.ZodString;
|
|
896
2813
|
refField: z.ZodString;
|
|
897
2814
|
sign: z.ZodEnum<{
|
|
898
2815
|
add: "add";
|
|
@@ -921,6 +2838,7 @@ export declare const udlDocumentSchema: z.ZodObject<{
|
|
|
921
2838
|
}>;
|
|
922
2839
|
}, z.core.$strict>>;
|
|
923
2840
|
summary: z.ZodString;
|
|
2841
|
+
updates: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
924
2842
|
}, z.core.$strict>>;
|
|
925
2843
|
}, z.core.$strict>>;
|
|
926
2844
|
product: z.ZodString;
|
|
@@ -944,21 +2862,27 @@ export type UdlAggregateCondition = z.infer<typeof udlAggregateConditionSchema>;
|
|
|
944
2862
|
export type UdlBinding = z.infer<typeof udlBindingSchema>;
|
|
945
2863
|
export type UdlDeclaredValuePolicy = z.infer<typeof udlDeclaredValuePolicySchema>;
|
|
946
2864
|
export type UdlDecision = z.infer<typeof udlDecisionSchema>;
|
|
2865
|
+
export type UdlCompositionDial = z.infer<typeof udlCompositionDialSchema>;
|
|
2866
|
+
export type UdlDial = z.infer<typeof udlDialSchema>;
|
|
947
2867
|
export type UdlDocument = z.infer<typeof udlDocumentSchema>;
|
|
948
2868
|
export type UdlDue = z.infer<typeof udlDueSchema>;
|
|
2869
|
+
export type UdlEffects = z.infer<typeof udlEffectsSchema>;
|
|
949
2870
|
export type UdlExample = z.infer<typeof udlExampleSchema>;
|
|
950
2871
|
export type UdlGate = z.infer<typeof udlGateSchema>;
|
|
951
2872
|
export type UdlKernelOperation = z.infer<typeof udlKernelOperationSchema>;
|
|
952
2873
|
export type UdlLifecycle = z.infer<typeof udlLifecycleSchema>;
|
|
953
2874
|
export type UdlLifecycleTransition = z.infer<typeof udlLifecycleTransitionSchema>;
|
|
954
|
-
export type
|
|
955
|
-
export type
|
|
2875
|
+
export type UdlInstrument = z.infer<typeof udlInstrumentSchema>;
|
|
2876
|
+
export type UdlInstrumentSubject = z.infer<typeof udlInstrumentSubjectSchema>;
|
|
956
2877
|
export type UdlMove = z.infer<typeof udlMoveSchema>;
|
|
957
2878
|
export type UdlPayout = z.infer<typeof udlPayoutSchema>;
|
|
958
|
-
export type
|
|
2879
|
+
export type UdlQuote = z.infer<typeof udlQuoteSchema>;
|
|
2880
|
+
export type UdlProviderFamilyId = z.infer<typeof udlProviderFamilyIdSchema>;
|
|
2881
|
+
export type UdlCheckRequirement = z.infer<typeof udlCheckRequirementSchema>;
|
|
2882
|
+
export type UdlReconcile = z.infer<typeof udlReconcileSchema>;
|
|
2883
|
+
export type UdlRemainder = z.infer<typeof udlRemainderSchema>;
|
|
959
2884
|
export type UdlStep = z.infer<typeof udlStepSchema>;
|
|
960
2885
|
export type UdlSubject = z.infer<typeof udlSubjectSchema>;
|
|
961
|
-
export type
|
|
962
|
-
export type UdlVerb = z.infer<typeof udlVerbSchema>;
|
|
2886
|
+
export type UdlAction = z.infer<typeof udlActionSchema>;
|
|
963
2887
|
export {};
|
|
964
2888
|
//# sourceMappingURL=schema.d.ts.map
|