@hyperscale0/udl 3.1.0 → 4.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.
Files changed (53) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +1 -1
  3. package/dist/diagnostics.d.ts +1 -1
  4. package/dist/diagnostics.d.ts.map +1 -1
  5. package/dist/diagnostics.js +13 -1
  6. package/dist/diagnostics.js.map +1 -1
  7. package/dist/evolution.d.ts.map +1 -1
  8. package/dist/evolution.js +5 -0
  9. package/dist/evolution.js.map +1 -1
  10. package/dist/finance.js +2 -1
  11. package/dist/finance.js.map +1 -1
  12. package/dist/index.d.ts +4 -1
  13. package/dist/index.d.ts.map +1 -1
  14. package/dist/index.js +4 -1
  15. package/dist/index.js.map +1 -1
  16. package/dist/instrument-references.d.ts.map +1 -1
  17. package/dist/instrument-references.js +21 -1
  18. package/dist/instrument-references.js.map +1 -1
  19. package/dist/object-contract.d.ts +157 -0
  20. package/dist/object-contract.d.ts.map +1 -0
  21. package/dist/object-contract.js +306 -0
  22. package/dist/object-contract.js.map +1 -0
  23. package/dist/reporting-validation.d.ts +8 -0
  24. package/dist/reporting-validation.d.ts.map +1 -0
  25. package/dist/reporting-validation.js +245 -0
  26. package/dist/reporting-validation.js.map +1 -0
  27. package/dist/reporting.d.ts +478 -0
  28. package/dist/reporting.d.ts.map +1 -0
  29. package/dist/reporting.js +170 -0
  30. package/dist/reporting.js.map +1 -0
  31. package/dist/schema.d.ts +2933 -24
  32. package/dist/schema.d.ts.map +1 -1
  33. package/dist/schema.js +163 -23
  34. package/dist/schema.js.map +1 -1
  35. package/dist/validation.d.ts +5 -2
  36. package/dist/validation.d.ts.map +1 -1
  37. package/dist/validation.js +495 -124
  38. package/dist/validation.js.map +1 -1
  39. package/docs/README.md +87 -9
  40. package/package.json +4 -4
  41. package/spec/README.md +87 -9
  42. package/spec/{darb.udl.json → cars.udl.json} +7 -7
  43. package/spec/udl.schema.json +2969 -4558
  44. package/src/diagnostics.ts +33 -1
  45. package/src/evolution.ts +8 -0
  46. package/src/finance.ts +1 -1
  47. package/src/index.ts +9 -0
  48. package/src/instrument-references.ts +25 -1
  49. package/src/object-contract.ts +498 -0
  50. package/src/reporting-validation.ts +381 -0
  51. package/src/reporting.ts +179 -0
  52. package/src/schema.ts +219 -23
  53. package/src/validation.ts +765 -136
package/dist/schema.d.ts CHANGED
@@ -1,5 +1,11 @@
1
1
  import * as z from "zod";
2
- export declare const UDL_FORMAT_VERSION: 3;
2
+ export declare const UDL_FORMAT_VERSION: 4;
3
+ /** Counts the root and every nested invocation, including selected and ranged children. */
4
+ export declare const MAX_ACTION_EXPANSION = 4096;
5
+ export declare const udlPartyNameSchema: z.ZodString;
6
+ export declare const udlObjectIdSchema: z.ZodString;
7
+ export declare const udlExternalIdSchema: z.ZodString;
8
+ export declare const udlObjectRevisionSchema: z.ZodNumber;
3
9
  /** Currency belongs to the document. Accounts and amounts cannot override it. */
4
10
  export declare const udlPartySchema: z.ZodObject<{
5
11
  kind: z.ZodEnum<{
@@ -9,10 +15,16 @@ export declare const udlPartySchema: z.ZodObject<{
9
15
  }>;
10
16
  role: z.ZodOptional<z.ZodString>;
11
17
  }, z.core.$strict>;
18
+ export declare const udlFamilySchema: z.ZodObject<{
19
+ module: z.ZodString;
20
+ exportPath: z.ZodString;
21
+ revision: z.ZodNumber;
22
+ }, z.core.$strict>;
12
23
  export declare const udlFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
13
24
  name: z.ZodString;
14
25
  optional: z.ZodOptional<z.ZodLiteral<true>>;
15
26
  description: z.ZodOptional<z.ZodString>;
27
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
16
28
  type: z.ZodLiteral<"money">;
17
29
  value: z.ZodOptional<z.ZodString>;
18
30
  minimum: z.ZodOptional<z.ZodString>;
@@ -21,6 +33,7 @@ export declare const udlFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
21
33
  name: z.ZodString;
22
34
  optional: z.ZodOptional<z.ZodLiteral<true>>;
23
35
  description: z.ZodOptional<z.ZodString>;
36
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
24
37
  type: z.ZodLiteral<"account">;
25
38
  owner: z.ZodString;
26
39
  key: z.ZodOptional<z.ZodString>;
@@ -29,36 +42,51 @@ export declare const udlFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
29
42
  claim: "claim";
30
43
  }>>;
31
44
  contra: z.ZodOptional<z.ZodLiteral<true>>;
32
- external: z.ZodOptional<z.ZodLiteral<true>>;
33
45
  }, z.core.$strict>, z.ZodObject<{
34
46
  name: z.ZodString;
35
47
  optional: z.ZodOptional<z.ZodLiteral<true>>;
36
48
  description: z.ZodOptional<z.ZodString>;
49
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
37
50
  type: z.ZodLiteral<"ref">;
51
+ targetKind: z.ZodEnum<{
52
+ instrument: "instrument";
53
+ object: "object";
54
+ }>;
55
+ targetFamily: z.ZodOptional<z.ZodObject<{
56
+ module: z.ZodString;
57
+ exportPath: z.ZodString;
58
+ revision: z.ZodNumber;
59
+ }, z.core.$strict>>;
38
60
  target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
39
61
  }, z.core.$strict>, z.ZodObject<{
40
62
  name: z.ZodString;
41
63
  optional: z.ZodOptional<z.ZodLiteral<true>>;
42
64
  description: z.ZodOptional<z.ZodString>;
65
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
43
66
  type: z.ZodLiteral<"date">;
44
67
  value: z.ZodOptional<z.ZodISODateTime>;
45
68
  }, z.core.$strict>, z.ZodObject<{
46
69
  name: z.ZodString;
47
70
  optional: z.ZodOptional<z.ZodLiteral<true>>;
48
71
  description: z.ZodOptional<z.ZodString>;
72
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
49
73
  type: z.ZodLiteral<"duration">;
50
74
  value: z.ZodOptional<z.ZodNumber>;
51
75
  }, z.core.$strict>, z.ZodObject<{
52
76
  name: z.ZodString;
53
77
  optional: z.ZodOptional<z.ZodLiteral<true>>;
54
78
  description: z.ZodOptional<z.ZodString>;
79
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
55
80
  type: z.ZodLiteral<"text">;
56
81
  value: z.ZodOptional<z.ZodString>;
82
+ minLength: z.ZodOptional<z.ZodNumber>;
57
83
  maxLength: z.ZodOptional<z.ZodNumber>;
84
+ pattern: z.ZodOptional<z.ZodString>;
58
85
  }, z.core.$strict>, z.ZodObject<{
59
86
  name: z.ZodString;
60
87
  optional: z.ZodOptional<z.ZodLiteral<true>>;
61
88
  description: z.ZodOptional<z.ZodString>;
89
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
62
90
  type: z.ZodLiteral<"integer">;
63
91
  value: z.ZodOptional<z.ZodNumber>;
64
92
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -67,36 +95,748 @@ export declare const udlFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
67
95
  name: z.ZodString;
68
96
  optional: z.ZodOptional<z.ZodLiteral<true>>;
69
97
  description: z.ZodOptional<z.ZodString>;
98
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
70
99
  type: z.ZodLiteral<"percent">;
71
100
  value: z.ZodOptional<z.ZodNumber>;
72
101
  }, z.core.$strict>, z.ZodObject<{
73
102
  name: z.ZodString;
74
103
  optional: z.ZodOptional<z.ZodLiteral<true>>;
75
104
  description: z.ZodOptional<z.ZodString>;
105
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
76
106
  type: z.ZodLiteral<"boolean">;
77
107
  value: z.ZodOptional<z.ZodBoolean>;
78
108
  }, z.core.$strict>, z.ZodObject<{
79
109
  name: z.ZodString;
80
110
  optional: z.ZodOptional<z.ZodLiteral<true>>;
81
111
  description: z.ZodOptional<z.ZodString>;
112
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
82
113
  type: z.ZodLiteral<"enum">;
83
114
  values: z.ZodArray<z.ZodString>;
84
115
  value: z.ZodOptional<z.ZodString>;
85
116
  }, z.core.$strict>, z.ZodObject<{
86
117
  name: z.ZodString;
87
- optional: z.ZodOptional<z.ZodLiteral<true>>;
88
- description: z.ZodOptional<z.ZodString>;
89
- type: z.ZodLiteral<"list">;
90
- item: z.ZodEnum<{
91
- date: "date";
92
- integer: "integer";
93
- money: "money";
94
- ref: "ref";
95
- text: "text";
96
- }>;
97
- target: z.ZodOptional<z.ZodString>;
98
- maxItems: z.ZodNumber;
99
- }, z.core.$strict>], "type">;
118
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
119
+ description: z.ZodOptional<z.ZodString>;
120
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
121
+ type: z.ZodLiteral<"list">;
122
+ item: z.ZodEnum<{
123
+ date: "date";
124
+ integer: "integer";
125
+ money: "money";
126
+ ref: "ref";
127
+ text: "text";
128
+ }>;
129
+ targetKind: z.ZodOptional<z.ZodEnum<{
130
+ instrument: "instrument";
131
+ object: "object";
132
+ }>>;
133
+ targetFamily: z.ZodOptional<z.ZodObject<{
134
+ module: z.ZodString;
135
+ exportPath: z.ZodString;
136
+ revision: z.ZodNumber;
137
+ }, z.core.$strict>>;
138
+ target: z.ZodOptional<z.ZodString>;
139
+ maxItems: z.ZodNumber;
140
+ }, z.core.$strict>], "type">;
141
+ export declare const udlObjectFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
142
+ name: z.ZodString;
143
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
144
+ description: z.ZodOptional<z.ZodString>;
145
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
146
+ type: z.ZodLiteral<"money">;
147
+ value: z.ZodOptional<z.ZodString>;
148
+ minimum: z.ZodOptional<z.ZodString>;
149
+ maximum: z.ZodOptional<z.ZodString>;
150
+ }, z.core.$strict>, z.ZodObject<{
151
+ name: z.ZodString;
152
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
153
+ description: z.ZodOptional<z.ZodString>;
154
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
155
+ type: z.ZodLiteral<"ref">;
156
+ targetKind: z.ZodEnum<{
157
+ instrument: "instrument";
158
+ object: "object";
159
+ }>;
160
+ targetFamily: z.ZodOptional<z.ZodObject<{
161
+ module: z.ZodString;
162
+ exportPath: z.ZodString;
163
+ revision: z.ZodNumber;
164
+ }, z.core.$strict>>;
165
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
166
+ }, z.core.$strict>, z.ZodObject<{
167
+ name: z.ZodString;
168
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
169
+ description: z.ZodOptional<z.ZodString>;
170
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
171
+ type: z.ZodLiteral<"date">;
172
+ value: z.ZodOptional<z.ZodISODateTime>;
173
+ }, z.core.$strict>, z.ZodObject<{
174
+ name: z.ZodString;
175
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
176
+ description: z.ZodOptional<z.ZodString>;
177
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
178
+ type: z.ZodLiteral<"duration">;
179
+ value: z.ZodOptional<z.ZodNumber>;
180
+ }, z.core.$strict>, z.ZodObject<{
181
+ name: z.ZodString;
182
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
183
+ description: z.ZodOptional<z.ZodString>;
184
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
185
+ type: z.ZodLiteral<"text">;
186
+ value: z.ZodOptional<z.ZodString>;
187
+ minLength: z.ZodOptional<z.ZodNumber>;
188
+ maxLength: z.ZodOptional<z.ZodNumber>;
189
+ pattern: z.ZodOptional<z.ZodString>;
190
+ }, z.core.$strict>, z.ZodObject<{
191
+ name: z.ZodString;
192
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
193
+ description: z.ZodOptional<z.ZodString>;
194
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
195
+ type: z.ZodLiteral<"integer">;
196
+ value: z.ZodOptional<z.ZodNumber>;
197
+ minimum: z.ZodOptional<z.ZodNumber>;
198
+ maximum: z.ZodOptional<z.ZodNumber>;
199
+ }, z.core.$strict>, z.ZodObject<{
200
+ name: z.ZodString;
201
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
202
+ description: z.ZodOptional<z.ZodString>;
203
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
204
+ type: z.ZodLiteral<"percent">;
205
+ value: z.ZodOptional<z.ZodNumber>;
206
+ }, z.core.$strict>, z.ZodObject<{
207
+ name: z.ZodString;
208
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
209
+ description: z.ZodOptional<z.ZodString>;
210
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
211
+ type: z.ZodLiteral<"boolean">;
212
+ value: z.ZodOptional<z.ZodBoolean>;
213
+ }, z.core.$strict>, z.ZodObject<{
214
+ name: z.ZodString;
215
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
216
+ description: z.ZodOptional<z.ZodString>;
217
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
218
+ type: z.ZodLiteral<"enum">;
219
+ values: z.ZodArray<z.ZodString>;
220
+ value: z.ZodOptional<z.ZodString>;
221
+ }, z.core.$strict>, z.ZodObject<{
222
+ name: z.ZodString;
223
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
224
+ description: z.ZodOptional<z.ZodString>;
225
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
226
+ type: z.ZodLiteral<"list">;
227
+ item: z.ZodEnum<{
228
+ date: "date";
229
+ integer: "integer";
230
+ money: "money";
231
+ ref: "ref";
232
+ text: "text";
233
+ }>;
234
+ targetKind: z.ZodOptional<z.ZodEnum<{
235
+ instrument: "instrument";
236
+ object: "object";
237
+ }>>;
238
+ targetFamily: z.ZodOptional<z.ZodObject<{
239
+ module: z.ZodString;
240
+ exportPath: z.ZodString;
241
+ revision: z.ZodNumber;
242
+ }, z.core.$strict>>;
243
+ target: z.ZodOptional<z.ZodString>;
244
+ maxItems: z.ZodNumber;
245
+ }, z.core.$strict>], "type">;
246
+ export declare const udlSubjectRequirementSchema: z.ZodObject<{
247
+ field: z.ZodDiscriminatedUnion<[z.ZodObject<{
248
+ name: z.ZodString;
249
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
250
+ description: z.ZodOptional<z.ZodString>;
251
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
252
+ type: z.ZodLiteral<"money">;
253
+ value: z.ZodOptional<z.ZodString>;
254
+ minimum: z.ZodOptional<z.ZodString>;
255
+ maximum: z.ZodOptional<z.ZodString>;
256
+ }, z.core.$strict>, z.ZodObject<{
257
+ name: z.ZodString;
258
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
259
+ description: z.ZodOptional<z.ZodString>;
260
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
261
+ type: z.ZodLiteral<"ref">;
262
+ targetKind: z.ZodEnum<{
263
+ instrument: "instrument";
264
+ object: "object";
265
+ }>;
266
+ targetFamily: z.ZodOptional<z.ZodObject<{
267
+ module: z.ZodString;
268
+ exportPath: z.ZodString;
269
+ revision: z.ZodNumber;
270
+ }, z.core.$strict>>;
271
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
272
+ }, z.core.$strict>, z.ZodObject<{
273
+ name: z.ZodString;
274
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
275
+ description: z.ZodOptional<z.ZodString>;
276
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
277
+ type: z.ZodLiteral<"date">;
278
+ value: z.ZodOptional<z.ZodISODateTime>;
279
+ }, z.core.$strict>, z.ZodObject<{
280
+ name: z.ZodString;
281
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
282
+ description: z.ZodOptional<z.ZodString>;
283
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
284
+ type: z.ZodLiteral<"duration">;
285
+ value: z.ZodOptional<z.ZodNumber>;
286
+ }, z.core.$strict>, z.ZodObject<{
287
+ name: z.ZodString;
288
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
289
+ description: z.ZodOptional<z.ZodString>;
290
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
291
+ type: z.ZodLiteral<"text">;
292
+ value: z.ZodOptional<z.ZodString>;
293
+ minLength: z.ZodOptional<z.ZodNumber>;
294
+ maxLength: z.ZodOptional<z.ZodNumber>;
295
+ pattern: z.ZodOptional<z.ZodString>;
296
+ }, z.core.$strict>, z.ZodObject<{
297
+ name: z.ZodString;
298
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
299
+ description: z.ZodOptional<z.ZodString>;
300
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
301
+ type: z.ZodLiteral<"integer">;
302
+ value: z.ZodOptional<z.ZodNumber>;
303
+ minimum: z.ZodOptional<z.ZodNumber>;
304
+ maximum: z.ZodOptional<z.ZodNumber>;
305
+ }, z.core.$strict>, z.ZodObject<{
306
+ name: z.ZodString;
307
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
308
+ description: z.ZodOptional<z.ZodString>;
309
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
310
+ type: z.ZodLiteral<"percent">;
311
+ value: z.ZodOptional<z.ZodNumber>;
312
+ }, z.core.$strict>, z.ZodObject<{
313
+ name: z.ZodString;
314
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
315
+ description: z.ZodOptional<z.ZodString>;
316
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
317
+ type: z.ZodLiteral<"boolean">;
318
+ value: z.ZodOptional<z.ZodBoolean>;
319
+ }, z.core.$strict>, z.ZodObject<{
320
+ name: z.ZodString;
321
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
322
+ description: z.ZodOptional<z.ZodString>;
323
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
324
+ type: z.ZodLiteral<"enum">;
325
+ values: z.ZodArray<z.ZodString>;
326
+ value: z.ZodOptional<z.ZodString>;
327
+ }, z.core.$strict>, z.ZodObject<{
328
+ name: z.ZodString;
329
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
330
+ description: z.ZodOptional<z.ZodString>;
331
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
332
+ type: z.ZodLiteral<"list">;
333
+ item: z.ZodEnum<{
334
+ date: "date";
335
+ integer: "integer";
336
+ money: "money";
337
+ ref: "ref";
338
+ text: "text";
339
+ }>;
340
+ targetKind: z.ZodOptional<z.ZodEnum<{
341
+ instrument: "instrument";
342
+ object: "object";
343
+ }>>;
344
+ targetFamily: z.ZodOptional<z.ZodObject<{
345
+ module: z.ZodString;
346
+ exportPath: z.ZodString;
347
+ revision: z.ZodNumber;
348
+ }, z.core.$strict>>;
349
+ target: z.ZodOptional<z.ZodString>;
350
+ maxItems: z.ZodNumber;
351
+ }, z.core.$strict>], "type">;
352
+ objectField: z.ZodOptional<z.ZodString>;
353
+ }, z.core.$strict>;
354
+ export declare const adapterSubjectSnapshotSchema: z.ZodObject<{
355
+ provider: z.ZodString;
356
+ capability: z.ZodString;
357
+ operation: z.ZodString;
358
+ declarationDigest: z.ZodString;
359
+ requirements: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
360
+ name: z.ZodString;
361
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
362
+ description: z.ZodOptional<z.ZodString>;
363
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
364
+ type: z.ZodLiteral<"money">;
365
+ value: z.ZodOptional<z.ZodString>;
366
+ minimum: z.ZodOptional<z.ZodString>;
367
+ maximum: z.ZodOptional<z.ZodString>;
368
+ }, z.core.$strict>, z.ZodObject<{
369
+ name: z.ZodString;
370
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
371
+ description: z.ZodOptional<z.ZodString>;
372
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
373
+ type: z.ZodLiteral<"ref">;
374
+ targetKind: z.ZodEnum<{
375
+ instrument: "instrument";
376
+ object: "object";
377
+ }>;
378
+ targetFamily: z.ZodOptional<z.ZodObject<{
379
+ module: z.ZodString;
380
+ exportPath: z.ZodString;
381
+ revision: z.ZodNumber;
382
+ }, z.core.$strict>>;
383
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
384
+ }, z.core.$strict>, z.ZodObject<{
385
+ name: z.ZodString;
386
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
387
+ description: z.ZodOptional<z.ZodString>;
388
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
389
+ type: z.ZodLiteral<"date">;
390
+ value: z.ZodOptional<z.ZodISODateTime>;
391
+ }, z.core.$strict>, z.ZodObject<{
392
+ name: z.ZodString;
393
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
394
+ description: z.ZodOptional<z.ZodString>;
395
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
396
+ type: z.ZodLiteral<"duration">;
397
+ value: z.ZodOptional<z.ZodNumber>;
398
+ }, z.core.$strict>, z.ZodObject<{
399
+ name: z.ZodString;
400
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
401
+ description: z.ZodOptional<z.ZodString>;
402
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
403
+ type: z.ZodLiteral<"text">;
404
+ value: z.ZodOptional<z.ZodString>;
405
+ minLength: z.ZodOptional<z.ZodNumber>;
406
+ maxLength: z.ZodOptional<z.ZodNumber>;
407
+ pattern: z.ZodOptional<z.ZodString>;
408
+ }, z.core.$strict>, z.ZodObject<{
409
+ name: z.ZodString;
410
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
411
+ description: z.ZodOptional<z.ZodString>;
412
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
413
+ type: z.ZodLiteral<"integer">;
414
+ value: z.ZodOptional<z.ZodNumber>;
415
+ minimum: z.ZodOptional<z.ZodNumber>;
416
+ maximum: z.ZodOptional<z.ZodNumber>;
417
+ }, z.core.$strict>, z.ZodObject<{
418
+ name: z.ZodString;
419
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
420
+ description: z.ZodOptional<z.ZodString>;
421
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
422
+ type: z.ZodLiteral<"percent">;
423
+ value: z.ZodOptional<z.ZodNumber>;
424
+ }, z.core.$strict>, z.ZodObject<{
425
+ name: z.ZodString;
426
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
427
+ description: z.ZodOptional<z.ZodString>;
428
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
429
+ type: z.ZodLiteral<"boolean">;
430
+ value: z.ZodOptional<z.ZodBoolean>;
431
+ }, z.core.$strict>, z.ZodObject<{
432
+ name: z.ZodString;
433
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
434
+ description: z.ZodOptional<z.ZodString>;
435
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
436
+ type: z.ZodLiteral<"enum">;
437
+ values: z.ZodArray<z.ZodString>;
438
+ value: z.ZodOptional<z.ZodString>;
439
+ }, z.core.$strict>, z.ZodObject<{
440
+ name: z.ZodString;
441
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
442
+ description: z.ZodOptional<z.ZodString>;
443
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
444
+ type: z.ZodLiteral<"list">;
445
+ item: z.ZodEnum<{
446
+ date: "date";
447
+ integer: "integer";
448
+ money: "money";
449
+ ref: "ref";
450
+ text: "text";
451
+ }>;
452
+ targetKind: z.ZodOptional<z.ZodEnum<{
453
+ instrument: "instrument";
454
+ object: "object";
455
+ }>>;
456
+ targetFamily: z.ZodOptional<z.ZodObject<{
457
+ module: z.ZodString;
458
+ exportPath: z.ZodString;
459
+ revision: z.ZodNumber;
460
+ }, z.core.$strict>>;
461
+ target: z.ZodOptional<z.ZodString>;
462
+ maxItems: z.ZodNumber;
463
+ }, z.core.$strict>], "type">>;
464
+ }, z.core.$strict>;
465
+ export declare const udlActionSubjectSchema: z.ZodObject<{
466
+ requirements: z.ZodArray<z.ZodObject<{
467
+ field: z.ZodDiscriminatedUnion<[z.ZodObject<{
468
+ name: z.ZodString;
469
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
470
+ description: z.ZodOptional<z.ZodString>;
471
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
472
+ type: z.ZodLiteral<"money">;
473
+ value: z.ZodOptional<z.ZodString>;
474
+ minimum: z.ZodOptional<z.ZodString>;
475
+ maximum: z.ZodOptional<z.ZodString>;
476
+ }, z.core.$strict>, z.ZodObject<{
477
+ name: z.ZodString;
478
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
479
+ description: z.ZodOptional<z.ZodString>;
480
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
481
+ type: z.ZodLiteral<"ref">;
482
+ targetKind: z.ZodEnum<{
483
+ instrument: "instrument";
484
+ object: "object";
485
+ }>;
486
+ targetFamily: z.ZodOptional<z.ZodObject<{
487
+ module: z.ZodString;
488
+ exportPath: z.ZodString;
489
+ revision: z.ZodNumber;
490
+ }, z.core.$strict>>;
491
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
492
+ }, z.core.$strict>, z.ZodObject<{
493
+ name: z.ZodString;
494
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
495
+ description: z.ZodOptional<z.ZodString>;
496
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
497
+ type: z.ZodLiteral<"date">;
498
+ value: z.ZodOptional<z.ZodISODateTime>;
499
+ }, z.core.$strict>, z.ZodObject<{
500
+ name: z.ZodString;
501
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
502
+ description: z.ZodOptional<z.ZodString>;
503
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
504
+ type: z.ZodLiteral<"duration">;
505
+ value: z.ZodOptional<z.ZodNumber>;
506
+ }, z.core.$strict>, z.ZodObject<{
507
+ name: z.ZodString;
508
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
509
+ description: z.ZodOptional<z.ZodString>;
510
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
511
+ type: z.ZodLiteral<"text">;
512
+ value: z.ZodOptional<z.ZodString>;
513
+ minLength: z.ZodOptional<z.ZodNumber>;
514
+ maxLength: z.ZodOptional<z.ZodNumber>;
515
+ pattern: z.ZodOptional<z.ZodString>;
516
+ }, z.core.$strict>, z.ZodObject<{
517
+ name: z.ZodString;
518
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
519
+ description: z.ZodOptional<z.ZodString>;
520
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
521
+ type: z.ZodLiteral<"integer">;
522
+ value: z.ZodOptional<z.ZodNumber>;
523
+ minimum: z.ZodOptional<z.ZodNumber>;
524
+ maximum: z.ZodOptional<z.ZodNumber>;
525
+ }, z.core.$strict>, z.ZodObject<{
526
+ name: z.ZodString;
527
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
528
+ description: z.ZodOptional<z.ZodString>;
529
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
530
+ type: z.ZodLiteral<"percent">;
531
+ value: z.ZodOptional<z.ZodNumber>;
532
+ }, z.core.$strict>, z.ZodObject<{
533
+ name: z.ZodString;
534
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
535
+ description: z.ZodOptional<z.ZodString>;
536
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
537
+ type: z.ZodLiteral<"boolean">;
538
+ value: z.ZodOptional<z.ZodBoolean>;
539
+ }, z.core.$strict>, z.ZodObject<{
540
+ name: z.ZodString;
541
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
542
+ description: z.ZodOptional<z.ZodString>;
543
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
544
+ type: z.ZodLiteral<"enum">;
545
+ values: z.ZodArray<z.ZodString>;
546
+ value: z.ZodOptional<z.ZodString>;
547
+ }, z.core.$strict>, z.ZodObject<{
548
+ name: z.ZodString;
549
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
550
+ description: z.ZodOptional<z.ZodString>;
551
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
552
+ type: z.ZodLiteral<"list">;
553
+ item: z.ZodEnum<{
554
+ date: "date";
555
+ integer: "integer";
556
+ money: "money";
557
+ ref: "ref";
558
+ text: "text";
559
+ }>;
560
+ targetKind: z.ZodOptional<z.ZodEnum<{
561
+ instrument: "instrument";
562
+ object: "object";
563
+ }>>;
564
+ targetFamily: z.ZodOptional<z.ZodObject<{
565
+ module: z.ZodString;
566
+ exportPath: z.ZodString;
567
+ revision: z.ZodNumber;
568
+ }, z.core.$strict>>;
569
+ target: z.ZodOptional<z.ZodString>;
570
+ maxItems: z.ZodNumber;
571
+ }, z.core.$strict>], "type">;
572
+ objectField: z.ZodOptional<z.ZodString>;
573
+ }, z.core.$strict>>;
574
+ adapters: z.ZodArray<z.ZodObject<{
575
+ binding: z.ZodString;
576
+ snapshot: z.ZodNullable<z.ZodObject<{
577
+ provider: z.ZodString;
578
+ capability: z.ZodString;
579
+ operation: z.ZodString;
580
+ declarationDigest: z.ZodString;
581
+ requirements: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
582
+ name: z.ZodString;
583
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
584
+ description: z.ZodOptional<z.ZodString>;
585
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
586
+ type: z.ZodLiteral<"money">;
587
+ value: z.ZodOptional<z.ZodString>;
588
+ minimum: z.ZodOptional<z.ZodString>;
589
+ maximum: z.ZodOptional<z.ZodString>;
590
+ }, z.core.$strict>, z.ZodObject<{
591
+ name: z.ZodString;
592
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
593
+ description: z.ZodOptional<z.ZodString>;
594
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
595
+ type: z.ZodLiteral<"ref">;
596
+ targetKind: z.ZodEnum<{
597
+ instrument: "instrument";
598
+ object: "object";
599
+ }>;
600
+ targetFamily: z.ZodOptional<z.ZodObject<{
601
+ module: z.ZodString;
602
+ exportPath: z.ZodString;
603
+ revision: z.ZodNumber;
604
+ }, z.core.$strict>>;
605
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
606
+ }, z.core.$strict>, z.ZodObject<{
607
+ name: z.ZodString;
608
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
609
+ description: z.ZodOptional<z.ZodString>;
610
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
611
+ type: z.ZodLiteral<"date">;
612
+ value: z.ZodOptional<z.ZodISODateTime>;
613
+ }, z.core.$strict>, z.ZodObject<{
614
+ name: z.ZodString;
615
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
616
+ description: z.ZodOptional<z.ZodString>;
617
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
618
+ type: z.ZodLiteral<"duration">;
619
+ value: z.ZodOptional<z.ZodNumber>;
620
+ }, z.core.$strict>, z.ZodObject<{
621
+ name: z.ZodString;
622
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
623
+ description: z.ZodOptional<z.ZodString>;
624
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
625
+ type: z.ZodLiteral<"text">;
626
+ value: z.ZodOptional<z.ZodString>;
627
+ minLength: z.ZodOptional<z.ZodNumber>;
628
+ maxLength: z.ZodOptional<z.ZodNumber>;
629
+ pattern: z.ZodOptional<z.ZodString>;
630
+ }, z.core.$strict>, z.ZodObject<{
631
+ name: z.ZodString;
632
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
633
+ description: z.ZodOptional<z.ZodString>;
634
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
635
+ type: z.ZodLiteral<"integer">;
636
+ value: z.ZodOptional<z.ZodNumber>;
637
+ minimum: z.ZodOptional<z.ZodNumber>;
638
+ maximum: z.ZodOptional<z.ZodNumber>;
639
+ }, z.core.$strict>, z.ZodObject<{
640
+ name: z.ZodString;
641
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
642
+ description: z.ZodOptional<z.ZodString>;
643
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
644
+ type: z.ZodLiteral<"percent">;
645
+ value: z.ZodOptional<z.ZodNumber>;
646
+ }, z.core.$strict>, z.ZodObject<{
647
+ name: z.ZodString;
648
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
649
+ description: z.ZodOptional<z.ZodString>;
650
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
651
+ type: z.ZodLiteral<"boolean">;
652
+ value: z.ZodOptional<z.ZodBoolean>;
653
+ }, z.core.$strict>, z.ZodObject<{
654
+ name: z.ZodString;
655
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
656
+ description: z.ZodOptional<z.ZodString>;
657
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
658
+ type: z.ZodLiteral<"enum">;
659
+ values: z.ZodArray<z.ZodString>;
660
+ value: z.ZodOptional<z.ZodString>;
661
+ }, z.core.$strict>, z.ZodObject<{
662
+ name: z.ZodString;
663
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
664
+ description: z.ZodOptional<z.ZodString>;
665
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
666
+ type: z.ZodLiteral<"list">;
667
+ item: z.ZodEnum<{
668
+ date: "date";
669
+ integer: "integer";
670
+ money: "money";
671
+ ref: "ref";
672
+ text: "text";
673
+ }>;
674
+ targetKind: z.ZodOptional<z.ZodEnum<{
675
+ instrument: "instrument";
676
+ object: "object";
677
+ }>>;
678
+ targetFamily: z.ZodOptional<z.ZodObject<{
679
+ module: z.ZodString;
680
+ exportPath: z.ZodString;
681
+ revision: z.ZodNumber;
682
+ }, z.core.$strict>>;
683
+ target: z.ZodOptional<z.ZodString>;
684
+ maxItems: z.ZodNumber;
685
+ }, z.core.$strict>], "type">>;
686
+ }, z.core.$strict>>;
687
+ renames: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
688
+ }, z.core.$strict>>;
689
+ }, z.core.$strict>;
690
+ export declare const subjectPartyRoles: readonly ["owner", "actor", "operator"];
691
+ export declare const attachmentPartyBindingSchema: z.ZodUnion<readonly [z.ZodObject<{
692
+ role: z.ZodEnum<{
693
+ actor: "actor";
694
+ operator: "operator";
695
+ owner: "owner";
696
+ }>;
697
+ }, z.core.$strict>, z.ZodObject<{
698
+ party: z.ZodString;
699
+ }, z.core.$strict>]>;
700
+ export type AttachmentPartyBinding = z.infer<typeof attachmentPartyBindingSchema>;
701
+ export declare const udlObjectAttachmentSchema: z.ZodObject<{
702
+ name: z.ZodString;
703
+ instrument: z.ZodString;
704
+ parties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
705
+ role: z.ZodEnum<{
706
+ actor: "actor";
707
+ operator: "operator";
708
+ owner: "owner";
709
+ }>;
710
+ }, z.core.$strict>, z.ZodObject<{
711
+ party: z.ZodString;
712
+ }, z.core.$strict>]>>;
713
+ }, z.core.$strict>;
714
+ export type SubjectPartyRole = (typeof subjectPartyRoles)[number];
715
+ export type UdlObjectAttachment = z.infer<typeof udlObjectAttachmentSchema>;
716
+ export declare const udlObjectKindSchema: z.ZodObject<{
717
+ id: z.ZodString;
718
+ title: z.ZodString;
719
+ authoredFields: z.ZodArray<z.ZodString>;
720
+ attachments: z.ZodArray<z.ZodObject<{
721
+ name: z.ZodString;
722
+ instrument: z.ZodString;
723
+ parties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
724
+ role: z.ZodEnum<{
725
+ actor: "actor";
726
+ operator: "operator";
727
+ owner: "owner";
728
+ }>;
729
+ }, z.core.$strict>, z.ZodObject<{
730
+ party: z.ZodString;
731
+ }, z.core.$strict>]>>;
732
+ }, z.core.$strict>>;
733
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
734
+ name: z.ZodString;
735
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
736
+ description: z.ZodOptional<z.ZodString>;
737
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
738
+ type: z.ZodLiteral<"money">;
739
+ value: z.ZodOptional<z.ZodString>;
740
+ minimum: z.ZodOptional<z.ZodString>;
741
+ maximum: z.ZodOptional<z.ZodString>;
742
+ }, z.core.$strict>, z.ZodObject<{
743
+ name: z.ZodString;
744
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
745
+ description: z.ZodOptional<z.ZodString>;
746
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
747
+ type: z.ZodLiteral<"ref">;
748
+ targetKind: z.ZodEnum<{
749
+ instrument: "instrument";
750
+ object: "object";
751
+ }>;
752
+ targetFamily: z.ZodOptional<z.ZodObject<{
753
+ module: z.ZodString;
754
+ exportPath: z.ZodString;
755
+ revision: z.ZodNumber;
756
+ }, z.core.$strict>>;
757
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
758
+ }, z.core.$strict>, z.ZodObject<{
759
+ name: z.ZodString;
760
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
761
+ description: z.ZodOptional<z.ZodString>;
762
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
763
+ type: z.ZodLiteral<"date">;
764
+ value: z.ZodOptional<z.ZodISODateTime>;
765
+ }, z.core.$strict>, z.ZodObject<{
766
+ name: z.ZodString;
767
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
768
+ description: z.ZodOptional<z.ZodString>;
769
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
770
+ type: z.ZodLiteral<"duration">;
771
+ value: z.ZodOptional<z.ZodNumber>;
772
+ }, z.core.$strict>, z.ZodObject<{
773
+ name: z.ZodString;
774
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
775
+ description: z.ZodOptional<z.ZodString>;
776
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
777
+ type: z.ZodLiteral<"text">;
778
+ value: z.ZodOptional<z.ZodString>;
779
+ minLength: z.ZodOptional<z.ZodNumber>;
780
+ maxLength: z.ZodOptional<z.ZodNumber>;
781
+ pattern: z.ZodOptional<z.ZodString>;
782
+ }, z.core.$strict>, z.ZodObject<{
783
+ name: z.ZodString;
784
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
785
+ description: z.ZodOptional<z.ZodString>;
786
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
787
+ type: z.ZodLiteral<"integer">;
788
+ value: z.ZodOptional<z.ZodNumber>;
789
+ minimum: z.ZodOptional<z.ZodNumber>;
790
+ maximum: z.ZodOptional<z.ZodNumber>;
791
+ }, z.core.$strict>, z.ZodObject<{
792
+ name: z.ZodString;
793
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
794
+ description: z.ZodOptional<z.ZodString>;
795
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
796
+ type: z.ZodLiteral<"percent">;
797
+ value: z.ZodOptional<z.ZodNumber>;
798
+ }, z.core.$strict>, z.ZodObject<{
799
+ name: z.ZodString;
800
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
801
+ description: z.ZodOptional<z.ZodString>;
802
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
803
+ type: z.ZodLiteral<"boolean">;
804
+ value: z.ZodOptional<z.ZodBoolean>;
805
+ }, z.core.$strict>, z.ZodObject<{
806
+ name: z.ZodString;
807
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
808
+ description: z.ZodOptional<z.ZodString>;
809
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
810
+ type: z.ZodLiteral<"enum">;
811
+ values: z.ZodArray<z.ZodString>;
812
+ value: z.ZodOptional<z.ZodString>;
813
+ }, z.core.$strict>, z.ZodObject<{
814
+ name: z.ZodString;
815
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
816
+ description: z.ZodOptional<z.ZodString>;
817
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
818
+ type: z.ZodLiteral<"list">;
819
+ item: z.ZodEnum<{
820
+ date: "date";
821
+ integer: "integer";
822
+ money: "money";
823
+ ref: "ref";
824
+ text: "text";
825
+ }>;
826
+ targetKind: z.ZodOptional<z.ZodEnum<{
827
+ instrument: "instrument";
828
+ object: "object";
829
+ }>>;
830
+ targetFamily: z.ZodOptional<z.ZodObject<{
831
+ module: z.ZodString;
832
+ exportPath: z.ZodString;
833
+ revision: z.ZodNumber;
834
+ }, z.core.$strict>>;
835
+ target: z.ZodOptional<z.ZodString>;
836
+ maxItems: z.ZodNumber;
837
+ }, z.core.$strict>], "type">>;
838
+ columns: z.ZodArray<z.ZodString>;
839
+ }, z.core.$strict>;
100
840
  /** Values are constants or resolved typed paths, never executable strings. */
101
841
  export declare const udlValueSchema: z.ZodUnion<readonly [z.ZodObject<{
102
842
  literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
@@ -104,6 +844,11 @@ export declare const udlValueSchema: z.ZodUnion<readonly [z.ZodObject<{
104
844
  field: z.ZodString;
105
845
  }, z.core.$strict>]>;
106
846
  declare const selection: z.ZodObject<{
847
+ family: z.ZodOptional<z.ZodObject<{
848
+ module: z.ZodString;
849
+ exportPath: z.ZodString;
850
+ revision: z.ZodNumber;
851
+ }, z.core.$strict>>;
107
852
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
108
853
  reference: z.ZodString;
109
854
  anchor: z.ZodString;
@@ -134,6 +879,11 @@ export declare const udlCalculationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
134
879
  target: z.ZodString;
135
880
  op: z.ZodLiteral<"aggregate">;
136
881
  selection: z.ZodObject<{
882
+ family: z.ZodOptional<z.ZodObject<{
883
+ module: z.ZodString;
884
+ exportPath: z.ZodString;
885
+ revision: z.ZodNumber;
886
+ }, z.core.$strict>>;
137
887
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
138
888
  reference: z.ZodString;
139
889
  anchor: z.ZodString;
@@ -297,6 +1047,11 @@ export declare const udlRequirementSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
297
1047
  }, z.core.$strict>, z.ZodObject<{
298
1048
  kind: z.ZodLiteral<"aggregate">;
299
1049
  selection: z.ZodObject<{
1050
+ family: z.ZodOptional<z.ZodObject<{
1051
+ module: z.ZodString;
1052
+ exportPath: z.ZodString;
1053
+ revision: z.ZodNumber;
1054
+ }, z.core.$strict>>;
300
1055
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
301
1056
  reference: z.ZodString;
302
1057
  anchor: z.ZodString;
@@ -337,8 +1092,11 @@ export declare const udlRequirementSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
337
1092
  approved: "approved";
338
1093
  declined: "declined";
339
1094
  }>;
1095
+ differentFromInitiator: z.ZodOptional<z.ZodLiteral<true>>;
1096
+ protectedRequest: z.ZodDefault<z.ZodString>;
340
1097
  }, z.core.$strict>, z.ZodObject<{
341
1098
  kind: z.ZodLiteral<"evidence">;
1099
+ instruction: z.ZodOptional<z.ZodString>;
342
1100
  subject: z.ZodString;
343
1101
  family: z.ZodString;
344
1102
  check: z.ZodString;
@@ -365,6 +1123,9 @@ export declare const udlMoveSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
365
1123
  }, z.core.$strict>, z.ZodObject<{
366
1124
  key: z.ZodString;
367
1125
  operation: z.ZodLiteral<"internal_transfer.reserve">;
1126
+ boundary: z.ZodOptional<z.ZodObject<{
1127
+ adapter: z.ZodString;
1128
+ }, z.core.$strict>>;
368
1129
  amount: z.ZodUnion<readonly [z.ZodObject<{
369
1130
  literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
370
1131
  }, z.core.$strict>, z.ZodObject<{
@@ -387,16 +1148,257 @@ export declare const udlMoveSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
387
1148
  export declare const udlActionSchema: z.ZodObject<{
388
1149
  summary: z.ZodString;
389
1150
  publicAction: z.ZodOptional<z.ZodString>;
1151
+ expansionLimit: z.ZodOptional<z.ZodLiteral<8192>>;
1152
+ humanApproval: z.ZodOptional<z.ZodLiteral<"distinct_member">>;
1153
+ reminder: z.ZodOptional<z.ZodObject<{
1154
+ installment: z.ZodString;
1155
+ recipient: z.ZodString;
1156
+ dueAt: z.ZodString;
1157
+ channel: z.ZodLiteral<"email">;
1158
+ template: z.ZodLiteral<"payment_reminder">;
1159
+ beforeDays: z.ZodNumber;
1160
+ overdueDays: z.ZodNumber;
1161
+ maxPerDay: z.ZodNumber;
1162
+ startHour: z.ZodNumber;
1163
+ endHour: z.ZodNumber;
1164
+ timezone: z.ZodString;
1165
+ }, z.core.$strict>>;
390
1166
  event: z.ZodString;
391
1167
  actor: z.ZodUnion<readonly [z.ZodLiteral<"caller">, z.ZodLiteral<"clock">, z.ZodObject<{
392
1168
  party: z.ZodString;
393
1169
  }, z.core.$strict>, z.ZodObject<{
394
- parent: z.ZodString;
1170
+ parent: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
395
1171
  }, z.core.$strict>]>;
1172
+ subject: z.ZodOptional<z.ZodObject<{
1173
+ requirements: z.ZodArray<z.ZodObject<{
1174
+ field: z.ZodDiscriminatedUnion<[z.ZodObject<{
1175
+ name: z.ZodString;
1176
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
1177
+ description: z.ZodOptional<z.ZodString>;
1178
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1179
+ type: z.ZodLiteral<"money">;
1180
+ value: z.ZodOptional<z.ZodString>;
1181
+ minimum: z.ZodOptional<z.ZodString>;
1182
+ maximum: z.ZodOptional<z.ZodString>;
1183
+ }, z.core.$strict>, z.ZodObject<{
1184
+ name: z.ZodString;
1185
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
1186
+ description: z.ZodOptional<z.ZodString>;
1187
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1188
+ type: z.ZodLiteral<"ref">;
1189
+ targetKind: z.ZodEnum<{
1190
+ instrument: "instrument";
1191
+ object: "object";
1192
+ }>;
1193
+ targetFamily: z.ZodOptional<z.ZodObject<{
1194
+ module: z.ZodString;
1195
+ exportPath: z.ZodString;
1196
+ revision: z.ZodNumber;
1197
+ }, z.core.$strict>>;
1198
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
1199
+ }, z.core.$strict>, z.ZodObject<{
1200
+ name: z.ZodString;
1201
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
1202
+ description: z.ZodOptional<z.ZodString>;
1203
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1204
+ type: z.ZodLiteral<"date">;
1205
+ value: z.ZodOptional<z.ZodISODateTime>;
1206
+ }, z.core.$strict>, z.ZodObject<{
1207
+ name: z.ZodString;
1208
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
1209
+ description: z.ZodOptional<z.ZodString>;
1210
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1211
+ type: z.ZodLiteral<"duration">;
1212
+ value: z.ZodOptional<z.ZodNumber>;
1213
+ }, z.core.$strict>, z.ZodObject<{
1214
+ name: z.ZodString;
1215
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
1216
+ description: z.ZodOptional<z.ZodString>;
1217
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1218
+ type: z.ZodLiteral<"text">;
1219
+ value: z.ZodOptional<z.ZodString>;
1220
+ minLength: z.ZodOptional<z.ZodNumber>;
1221
+ maxLength: z.ZodOptional<z.ZodNumber>;
1222
+ pattern: z.ZodOptional<z.ZodString>;
1223
+ }, z.core.$strict>, z.ZodObject<{
1224
+ name: z.ZodString;
1225
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
1226
+ description: z.ZodOptional<z.ZodString>;
1227
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1228
+ type: z.ZodLiteral<"integer">;
1229
+ value: z.ZodOptional<z.ZodNumber>;
1230
+ minimum: z.ZodOptional<z.ZodNumber>;
1231
+ maximum: z.ZodOptional<z.ZodNumber>;
1232
+ }, z.core.$strict>, z.ZodObject<{
1233
+ name: z.ZodString;
1234
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
1235
+ description: z.ZodOptional<z.ZodString>;
1236
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1237
+ type: z.ZodLiteral<"percent">;
1238
+ value: z.ZodOptional<z.ZodNumber>;
1239
+ }, z.core.$strict>, z.ZodObject<{
1240
+ name: z.ZodString;
1241
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
1242
+ description: z.ZodOptional<z.ZodString>;
1243
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1244
+ type: z.ZodLiteral<"boolean">;
1245
+ value: z.ZodOptional<z.ZodBoolean>;
1246
+ }, z.core.$strict>, z.ZodObject<{
1247
+ name: z.ZodString;
1248
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
1249
+ description: z.ZodOptional<z.ZodString>;
1250
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1251
+ type: z.ZodLiteral<"enum">;
1252
+ values: z.ZodArray<z.ZodString>;
1253
+ value: z.ZodOptional<z.ZodString>;
1254
+ }, z.core.$strict>, z.ZodObject<{
1255
+ name: z.ZodString;
1256
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
1257
+ description: z.ZodOptional<z.ZodString>;
1258
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1259
+ type: z.ZodLiteral<"list">;
1260
+ item: z.ZodEnum<{
1261
+ date: "date";
1262
+ integer: "integer";
1263
+ money: "money";
1264
+ ref: "ref";
1265
+ text: "text";
1266
+ }>;
1267
+ targetKind: z.ZodOptional<z.ZodEnum<{
1268
+ instrument: "instrument";
1269
+ object: "object";
1270
+ }>>;
1271
+ targetFamily: z.ZodOptional<z.ZodObject<{
1272
+ module: z.ZodString;
1273
+ exportPath: z.ZodString;
1274
+ revision: z.ZodNumber;
1275
+ }, z.core.$strict>>;
1276
+ target: z.ZodOptional<z.ZodString>;
1277
+ maxItems: z.ZodNumber;
1278
+ }, z.core.$strict>], "type">;
1279
+ objectField: z.ZodOptional<z.ZodString>;
1280
+ }, z.core.$strict>>;
1281
+ adapters: z.ZodArray<z.ZodObject<{
1282
+ binding: z.ZodString;
1283
+ snapshot: z.ZodNullable<z.ZodObject<{
1284
+ provider: z.ZodString;
1285
+ capability: z.ZodString;
1286
+ operation: z.ZodString;
1287
+ declarationDigest: z.ZodString;
1288
+ requirements: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1289
+ name: z.ZodString;
1290
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
1291
+ description: z.ZodOptional<z.ZodString>;
1292
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1293
+ type: z.ZodLiteral<"money">;
1294
+ value: z.ZodOptional<z.ZodString>;
1295
+ minimum: z.ZodOptional<z.ZodString>;
1296
+ maximum: z.ZodOptional<z.ZodString>;
1297
+ }, z.core.$strict>, z.ZodObject<{
1298
+ name: z.ZodString;
1299
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
1300
+ description: z.ZodOptional<z.ZodString>;
1301
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1302
+ type: z.ZodLiteral<"ref">;
1303
+ targetKind: z.ZodEnum<{
1304
+ instrument: "instrument";
1305
+ object: "object";
1306
+ }>;
1307
+ targetFamily: z.ZodOptional<z.ZodObject<{
1308
+ module: z.ZodString;
1309
+ exportPath: z.ZodString;
1310
+ revision: z.ZodNumber;
1311
+ }, z.core.$strict>>;
1312
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
1313
+ }, z.core.$strict>, z.ZodObject<{
1314
+ name: z.ZodString;
1315
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
1316
+ description: z.ZodOptional<z.ZodString>;
1317
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1318
+ type: z.ZodLiteral<"date">;
1319
+ value: z.ZodOptional<z.ZodISODateTime>;
1320
+ }, z.core.$strict>, z.ZodObject<{
1321
+ name: z.ZodString;
1322
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
1323
+ description: z.ZodOptional<z.ZodString>;
1324
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1325
+ type: z.ZodLiteral<"duration">;
1326
+ value: z.ZodOptional<z.ZodNumber>;
1327
+ }, z.core.$strict>, z.ZodObject<{
1328
+ name: z.ZodString;
1329
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
1330
+ description: z.ZodOptional<z.ZodString>;
1331
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1332
+ type: z.ZodLiteral<"text">;
1333
+ value: z.ZodOptional<z.ZodString>;
1334
+ minLength: z.ZodOptional<z.ZodNumber>;
1335
+ maxLength: z.ZodOptional<z.ZodNumber>;
1336
+ pattern: z.ZodOptional<z.ZodString>;
1337
+ }, z.core.$strict>, z.ZodObject<{
1338
+ name: z.ZodString;
1339
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
1340
+ description: z.ZodOptional<z.ZodString>;
1341
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1342
+ type: z.ZodLiteral<"integer">;
1343
+ value: z.ZodOptional<z.ZodNumber>;
1344
+ minimum: z.ZodOptional<z.ZodNumber>;
1345
+ maximum: z.ZodOptional<z.ZodNumber>;
1346
+ }, z.core.$strict>, z.ZodObject<{
1347
+ name: z.ZodString;
1348
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
1349
+ description: z.ZodOptional<z.ZodString>;
1350
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1351
+ type: z.ZodLiteral<"percent">;
1352
+ value: z.ZodOptional<z.ZodNumber>;
1353
+ }, z.core.$strict>, z.ZodObject<{
1354
+ name: z.ZodString;
1355
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
1356
+ description: z.ZodOptional<z.ZodString>;
1357
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1358
+ type: z.ZodLiteral<"boolean">;
1359
+ value: z.ZodOptional<z.ZodBoolean>;
1360
+ }, z.core.$strict>, z.ZodObject<{
1361
+ name: z.ZodString;
1362
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
1363
+ description: z.ZodOptional<z.ZodString>;
1364
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1365
+ type: z.ZodLiteral<"enum">;
1366
+ values: z.ZodArray<z.ZodString>;
1367
+ value: z.ZodOptional<z.ZodString>;
1368
+ }, z.core.$strict>, z.ZodObject<{
1369
+ name: z.ZodString;
1370
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
1371
+ description: z.ZodOptional<z.ZodString>;
1372
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1373
+ type: z.ZodLiteral<"list">;
1374
+ item: z.ZodEnum<{
1375
+ date: "date";
1376
+ integer: "integer";
1377
+ money: "money";
1378
+ ref: "ref";
1379
+ text: "text";
1380
+ }>;
1381
+ targetKind: z.ZodOptional<z.ZodEnum<{
1382
+ instrument: "instrument";
1383
+ object: "object";
1384
+ }>>;
1385
+ targetFamily: z.ZodOptional<z.ZodObject<{
1386
+ module: z.ZodString;
1387
+ exportPath: z.ZodString;
1388
+ revision: z.ZodNumber;
1389
+ }, z.core.$strict>>;
1390
+ target: z.ZodOptional<z.ZodString>;
1391
+ maxItems: z.ZodNumber;
1392
+ }, z.core.$strict>], "type">>;
1393
+ }, z.core.$strict>>;
1394
+ renames: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1395
+ }, z.core.$strict>>;
1396
+ }, z.core.$strict>>;
396
1397
  input: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
397
1398
  name: z.ZodString;
398
1399
  optional: z.ZodOptional<z.ZodLiteral<true>>;
399
1400
  description: z.ZodOptional<z.ZodString>;
1401
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
400
1402
  type: z.ZodLiteral<"money">;
401
1403
  value: z.ZodOptional<z.ZodString>;
402
1404
  minimum: z.ZodOptional<z.ZodString>;
@@ -405,6 +1407,7 @@ export declare const udlActionSchema: z.ZodObject<{
405
1407
  name: z.ZodString;
406
1408
  optional: z.ZodOptional<z.ZodLiteral<true>>;
407
1409
  description: z.ZodOptional<z.ZodString>;
1410
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
408
1411
  type: z.ZodLiteral<"account">;
409
1412
  owner: z.ZodString;
410
1413
  key: z.ZodOptional<z.ZodString>;
@@ -413,36 +1416,51 @@ export declare const udlActionSchema: z.ZodObject<{
413
1416
  claim: "claim";
414
1417
  }>>;
415
1418
  contra: z.ZodOptional<z.ZodLiteral<true>>;
416
- external: z.ZodOptional<z.ZodLiteral<true>>;
417
1419
  }, z.core.$strict>, z.ZodObject<{
418
1420
  name: z.ZodString;
419
1421
  optional: z.ZodOptional<z.ZodLiteral<true>>;
420
1422
  description: z.ZodOptional<z.ZodString>;
1423
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
421
1424
  type: z.ZodLiteral<"ref">;
1425
+ targetKind: z.ZodEnum<{
1426
+ instrument: "instrument";
1427
+ object: "object";
1428
+ }>;
1429
+ targetFamily: z.ZodOptional<z.ZodObject<{
1430
+ module: z.ZodString;
1431
+ exportPath: z.ZodString;
1432
+ revision: z.ZodNumber;
1433
+ }, z.core.$strict>>;
422
1434
  target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
423
1435
  }, z.core.$strict>, z.ZodObject<{
424
1436
  name: z.ZodString;
425
1437
  optional: z.ZodOptional<z.ZodLiteral<true>>;
426
1438
  description: z.ZodOptional<z.ZodString>;
1439
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
427
1440
  type: z.ZodLiteral<"date">;
428
1441
  value: z.ZodOptional<z.ZodISODateTime>;
429
1442
  }, z.core.$strict>, z.ZodObject<{
430
1443
  name: z.ZodString;
431
1444
  optional: z.ZodOptional<z.ZodLiteral<true>>;
432
1445
  description: z.ZodOptional<z.ZodString>;
1446
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
433
1447
  type: z.ZodLiteral<"duration">;
434
1448
  value: z.ZodOptional<z.ZodNumber>;
435
1449
  }, z.core.$strict>, z.ZodObject<{
436
1450
  name: z.ZodString;
437
1451
  optional: z.ZodOptional<z.ZodLiteral<true>>;
438
1452
  description: z.ZodOptional<z.ZodString>;
1453
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
439
1454
  type: z.ZodLiteral<"text">;
440
1455
  value: z.ZodOptional<z.ZodString>;
1456
+ minLength: z.ZodOptional<z.ZodNumber>;
441
1457
  maxLength: z.ZodOptional<z.ZodNumber>;
1458
+ pattern: z.ZodOptional<z.ZodString>;
442
1459
  }, z.core.$strict>, z.ZodObject<{
443
1460
  name: z.ZodString;
444
1461
  optional: z.ZodOptional<z.ZodLiteral<true>>;
445
1462
  description: z.ZodOptional<z.ZodString>;
1463
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
446
1464
  type: z.ZodLiteral<"integer">;
447
1465
  value: z.ZodOptional<z.ZodNumber>;
448
1466
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -451,18 +1469,21 @@ export declare const udlActionSchema: z.ZodObject<{
451
1469
  name: z.ZodString;
452
1470
  optional: z.ZodOptional<z.ZodLiteral<true>>;
453
1471
  description: z.ZodOptional<z.ZodString>;
1472
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
454
1473
  type: z.ZodLiteral<"percent">;
455
1474
  value: z.ZodOptional<z.ZodNumber>;
456
1475
  }, z.core.$strict>, z.ZodObject<{
457
1476
  name: z.ZodString;
458
1477
  optional: z.ZodOptional<z.ZodLiteral<true>>;
459
1478
  description: z.ZodOptional<z.ZodString>;
1479
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
460
1480
  type: z.ZodLiteral<"boolean">;
461
1481
  value: z.ZodOptional<z.ZodBoolean>;
462
1482
  }, z.core.$strict>, z.ZodObject<{
463
1483
  name: z.ZodString;
464
1484
  optional: z.ZodOptional<z.ZodLiteral<true>>;
465
1485
  description: z.ZodOptional<z.ZodString>;
1486
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
466
1487
  type: z.ZodLiteral<"enum">;
467
1488
  values: z.ZodArray<z.ZodString>;
468
1489
  value: z.ZodOptional<z.ZodString>;
@@ -470,6 +1491,7 @@ export declare const udlActionSchema: z.ZodObject<{
470
1491
  name: z.ZodString;
471
1492
  optional: z.ZodOptional<z.ZodLiteral<true>>;
472
1493
  description: z.ZodOptional<z.ZodString>;
1494
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
473
1495
  type: z.ZodLiteral<"list">;
474
1496
  item: z.ZodEnum<{
475
1497
  date: "date";
@@ -478,6 +1500,15 @@ export declare const udlActionSchema: z.ZodObject<{
478
1500
  ref: "ref";
479
1501
  text: "text";
480
1502
  }>;
1503
+ targetKind: z.ZodOptional<z.ZodEnum<{
1504
+ instrument: "instrument";
1505
+ object: "object";
1506
+ }>>;
1507
+ targetFamily: z.ZodOptional<z.ZodObject<{
1508
+ module: z.ZodString;
1509
+ exportPath: z.ZodString;
1510
+ revision: z.ZodNumber;
1511
+ }, z.core.$strict>>;
481
1512
  target: z.ZodOptional<z.ZodString>;
482
1513
  maxItems: z.ZodNumber;
483
1514
  }, z.core.$strict>], "type">>;
@@ -518,6 +1549,11 @@ export declare const udlActionSchema: z.ZodObject<{
518
1549
  }, z.core.$strict>, z.ZodObject<{
519
1550
  kind: z.ZodLiteral<"aggregate">;
520
1551
  selection: z.ZodObject<{
1552
+ family: z.ZodOptional<z.ZodObject<{
1553
+ module: z.ZodString;
1554
+ exportPath: z.ZodString;
1555
+ revision: z.ZodNumber;
1556
+ }, z.core.$strict>>;
521
1557
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
522
1558
  reference: z.ZodString;
523
1559
  anchor: z.ZodString;
@@ -558,8 +1594,11 @@ export declare const udlActionSchema: z.ZodObject<{
558
1594
  approved: "approved";
559
1595
  declined: "declined";
560
1596
  }>;
1597
+ differentFromInitiator: z.ZodOptional<z.ZodLiteral<true>>;
1598
+ protectedRequest: z.ZodDefault<z.ZodString>;
561
1599
  }, z.core.$strict>, z.ZodObject<{
562
1600
  kind: z.ZodLiteral<"evidence">;
1601
+ instruction: z.ZodOptional<z.ZodString>;
563
1602
  subject: z.ZodString;
564
1603
  family: z.ZodString;
565
1604
  check: z.ZodString;
@@ -569,10 +1608,28 @@ export declare const udlActionSchema: z.ZodObject<{
569
1608
  due: z.ZodOptional<z.ZodObject<{
570
1609
  at: z.ZodString;
571
1610
  offset: z.ZodOptional<z.ZodNumber>;
1611
+ localDay: z.ZodOptional<z.ZodObject<{
1612
+ days: z.ZodNumber;
1613
+ direction: z.ZodEnum<{
1614
+ after: "after";
1615
+ before: "before";
1616
+ }>;
1617
+ hour: z.ZodNumber;
1618
+ timezone: z.ZodString;
1619
+ }, z.core.$strict>>;
572
1620
  }, z.core.$strict>>;
573
1621
  deadline: z.ZodOptional<z.ZodObject<{
574
1622
  at: z.ZodString;
575
1623
  offset: z.ZodOptional<z.ZodNumber>;
1624
+ localDay: z.ZodOptional<z.ZodObject<{
1625
+ days: z.ZodNumber;
1626
+ direction: z.ZodEnum<{
1627
+ after: "after";
1628
+ before: "before";
1629
+ }>;
1630
+ hour: z.ZodNumber;
1631
+ timezone: z.ZodString;
1632
+ }, z.core.$strict>>;
576
1633
  }, z.core.$strict>>;
577
1634
  set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
578
1635
  literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
@@ -592,6 +1649,11 @@ export declare const udlActionSchema: z.ZodObject<{
592
1649
  target: z.ZodString;
593
1650
  op: z.ZodLiteral<"aggregate">;
594
1651
  selection: z.ZodObject<{
1652
+ family: z.ZodOptional<z.ZodObject<{
1653
+ module: z.ZodString;
1654
+ exportPath: z.ZodString;
1655
+ revision: z.ZodNumber;
1656
+ }, z.core.$strict>>;
595
1657
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
596
1658
  reference: z.ZodString;
597
1659
  anchor: z.ZodString;
@@ -732,6 +1794,9 @@ export declare const udlActionSchema: z.ZodObject<{
732
1794
  }, z.core.$strict>, z.ZodObject<{
733
1795
  key: z.ZodString;
734
1796
  operation: z.ZodLiteral<"internal_transfer.reserve">;
1797
+ boundary: z.ZodOptional<z.ZodObject<{
1798
+ adapter: z.ZodString;
1799
+ }, z.core.$strict>>;
735
1800
  amount: z.ZodUnion<readonly [z.ZodObject<{
736
1801
  literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
737
1802
  }, z.core.$strict>, z.ZodObject<{
@@ -759,6 +1824,36 @@ export declare const udlActionSchema: z.ZodObject<{
759
1824
  }, z.core.$strict>, z.ZodObject<{
760
1825
  field: z.ZodString;
761
1826
  }, z.core.$strict>]>>;
1827
+ guard: z.ZodOptional<z.ZodObject<{
1828
+ kind: z.ZodLiteral<"compare">;
1829
+ left: z.ZodUnion<readonly [z.ZodObject<{
1830
+ literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
1831
+ }, z.core.$strict>, z.ZodObject<{
1832
+ field: z.ZodString;
1833
+ }, z.core.$strict>]>;
1834
+ operator: z.ZodEnum<{
1835
+ "!=": "!=";
1836
+ "<": "<";
1837
+ "<=": "<=";
1838
+ "==": "==";
1839
+ ">": ">";
1840
+ ">=": ">=";
1841
+ }>;
1842
+ right: z.ZodUnion<readonly [z.ZodObject<{
1843
+ literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
1844
+ }, z.core.$strict>, z.ZodObject<{
1845
+ field: z.ZodString;
1846
+ }, z.core.$strict>]>;
1847
+ }, z.core.$strict>>;
1848
+ range: z.ZodOptional<z.ZodObject<{
1849
+ count: z.ZodUnion<readonly [z.ZodObject<{
1850
+ literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
1851
+ }, z.core.$strict>, z.ZodObject<{
1852
+ field: z.ZodString;
1853
+ }, z.core.$strict>]>;
1854
+ maximum: z.ZodNumber;
1855
+ bind: z.ZodString;
1856
+ }, z.core.$strict>>;
762
1857
  }, z.core.$strict>, z.ZodObject<{
763
1858
  reference: z.ZodString;
764
1859
  action: z.ZodString;
@@ -767,8 +1862,34 @@ export declare const udlActionSchema: z.ZodObject<{
767
1862
  }, z.core.$strict>, z.ZodObject<{
768
1863
  field: z.ZodString;
769
1864
  }, z.core.$strict>]>>;
1865
+ guard: z.ZodOptional<z.ZodObject<{
1866
+ kind: z.ZodLiteral<"compare">;
1867
+ left: z.ZodUnion<readonly [z.ZodObject<{
1868
+ literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
1869
+ }, z.core.$strict>, z.ZodObject<{
1870
+ field: z.ZodString;
1871
+ }, z.core.$strict>]>;
1872
+ operator: z.ZodEnum<{
1873
+ "!=": "!=";
1874
+ "<": "<";
1875
+ "<=": "<=";
1876
+ "==": "==";
1877
+ ">": ">";
1878
+ ">=": ">=";
1879
+ }>;
1880
+ right: z.ZodUnion<readonly [z.ZodObject<{
1881
+ literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
1882
+ }, z.core.$strict>, z.ZodObject<{
1883
+ field: z.ZodString;
1884
+ }, z.core.$strict>]>;
1885
+ }, z.core.$strict>>;
770
1886
  }, z.core.$strict>, z.ZodObject<{
771
1887
  selection: z.ZodObject<{
1888
+ family: z.ZodOptional<z.ZodObject<{
1889
+ module: z.ZodString;
1890
+ exportPath: z.ZodString;
1891
+ revision: z.ZodNumber;
1892
+ }, z.core.$strict>>;
772
1893
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
773
1894
  reference: z.ZodString;
774
1895
  anchor: z.ZodString;
@@ -791,8 +1912,30 @@ export declare const udlActionSchema: z.ZodObject<{
791
1912
  }, z.core.$strict>, z.ZodObject<{
792
1913
  field: z.ZodString;
793
1914
  }, z.core.$strict>]>>;
1915
+ guard: z.ZodOptional<z.ZodObject<{
1916
+ kind: z.ZodLiteral<"compare">;
1917
+ left: z.ZodUnion<readonly [z.ZodObject<{
1918
+ literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
1919
+ }, z.core.$strict>, z.ZodObject<{
1920
+ field: z.ZodString;
1921
+ }, z.core.$strict>]>;
1922
+ operator: z.ZodEnum<{
1923
+ "!=": "!=";
1924
+ "<": "<";
1925
+ "<=": "<=";
1926
+ "==": "==";
1927
+ ">": ">";
1928
+ ">=": ">=";
1929
+ }>;
1930
+ right: z.ZodUnion<readonly [z.ZodObject<{
1931
+ literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
1932
+ }, z.core.$strict>, z.ZodObject<{
1933
+ field: z.ZodString;
1934
+ }, z.core.$strict>]>;
1935
+ }, z.core.$strict>>;
794
1936
  }, z.core.$strict>]>>>;
795
1937
  approval: z.ZodOptional<z.ZodObject<{
1938
+ protectedRequest: z.ZodDefault<z.ZodString>;
796
1939
  target: z.ZodString;
797
1940
  action: z.ZodString;
798
1941
  party: z.ZodString;
@@ -817,13 +1960,406 @@ export declare const udlLifecycleSchema: z.ZodObject<{
817
1960
  }, z.core.$strict>>;
818
1961
  }, z.core.$strict>;
819
1962
  export declare const udlInstrumentSchema: z.ZodObject<{
1963
+ reports: z.ZodOptional<z.ZodArray<z.ZodObject<{
1964
+ identity: z.ZodObject<{
1965
+ id: z.ZodString;
1966
+ version: z.ZodNumber;
1967
+ description: z.ZodString;
1968
+ }, z.core.$strict>;
1969
+ scope: z.ZodObject<{
1970
+ kind: z.ZodEnum<{
1971
+ company: "company";
1972
+ product: "product";
1973
+ }>;
1974
+ classification: z.ZodEnum<{
1975
+ internal: "internal";
1976
+ personal: "personal";
1977
+ restricted: "restricted";
1978
+ }>;
1979
+ currency: z.ZodString;
1980
+ }, z.core.$strict>;
1981
+ datasets: z.ZodArray<z.ZodObject<{
1982
+ id: z.ZodString;
1983
+ source: z.ZodEnum<{
1984
+ account: "account";
1985
+ identity: "identity";
1986
+ instrument: "instrument";
1987
+ operation: "operation";
1988
+ }>;
1989
+ instruments: z.ZodArray<z.ZodString>;
1990
+ rowKey: z.ZodString;
1991
+ columns: z.ZodArray<z.ZodObject<{
1992
+ name: z.ZodString;
1993
+ field: z.ZodString;
1994
+ type: z.ZodDiscriminatedUnion<[z.ZodObject<{
1995
+ kind: z.ZodLiteral<"money">;
1996
+ currency: z.ZodString;
1997
+ }, z.core.$strict>, z.ZodObject<{
1998
+ kind: z.ZodEnum<{
1999
+ boolean: "boolean";
2000
+ date: "date";
2001
+ integer: "integer";
2002
+ text: "text";
2003
+ }>;
2004
+ }, z.core.$strict>], "kind">;
2005
+ required: z.ZodBoolean;
2006
+ }, z.core.$strict>>;
2007
+ expressions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2008
+ id: z.ZodString;
2009
+ op: z.ZodLiteral<"field">;
2010
+ path: z.ZodString;
2011
+ }, z.core.$strict>, z.ZodObject<{
2012
+ id: z.ZodString;
2013
+ op: z.ZodLiteral<"literal">;
2014
+ type: z.ZodDiscriminatedUnion<[z.ZodObject<{
2015
+ kind: z.ZodLiteral<"money">;
2016
+ currency: z.ZodString;
2017
+ }, z.core.$strict>, z.ZodObject<{
2018
+ kind: z.ZodEnum<{
2019
+ boolean: "boolean";
2020
+ date: "date";
2021
+ integer: "integer";
2022
+ text: "text";
2023
+ }>;
2024
+ }, z.core.$strict>], "kind">;
2025
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
2026
+ }, z.core.$strict>, z.ZodObject<{
2027
+ id: z.ZodString;
2028
+ op: z.ZodLiteral<"parameter">;
2029
+ name: z.ZodEnum<{
2030
+ observationAt: "observationAt";
2031
+ periodEnd: "periodEnd";
2032
+ periodStart: "periodStart";
2033
+ }>;
2034
+ }, z.core.$strict>, z.ZodObject<{
2035
+ id: z.ZodString;
2036
+ op: z.ZodEnum<{
2037
+ and: "and";
2038
+ atMost: "atMost";
2039
+ daysBetween: "daysBetween";
2040
+ equal: "equal";
2041
+ less: "less";
2042
+ maximum: "maximum";
2043
+ minimum: "minimum";
2044
+ or: "or";
2045
+ subtract: "subtract";
2046
+ sum: "sum";
2047
+ }>;
2048
+ left: z.ZodString;
2049
+ right: z.ZodString;
2050
+ }, z.core.$strict>, z.ZodObject<{
2051
+ id: z.ZodString;
2052
+ op: z.ZodLiteral<"not">;
2053
+ value: z.ZodString;
2054
+ }, z.core.$strict>, z.ZodObject<{
2055
+ id: z.ZodString;
2056
+ op: z.ZodLiteral<"choose">;
2057
+ condition: z.ZodString;
2058
+ yes: z.ZodString;
2059
+ no: z.ZodString;
2060
+ }, z.core.$strict>, z.ZodObject<{
2061
+ id: z.ZodString;
2062
+ op: z.ZodLiteral<"bucket">;
2063
+ value: z.ZodString;
2064
+ unit: z.ZodEnum<{
2065
+ month: "month";
2066
+ quarter: "quarter";
2067
+ }>;
2068
+ }, z.core.$strict>, z.ZodObject<{
2069
+ id: z.ZodString;
2070
+ op: z.ZodLiteral<"ratio">;
2071
+ numerator: z.ZodString;
2072
+ denominator: z.ZodString;
2073
+ scale: z.ZodNumber;
2074
+ rounding: z.ZodEnum<{
2075
+ floor: "floor";
2076
+ halfUp: "halfUp";
2077
+ }>;
2078
+ zero: z.ZodEnum<{
2079
+ null: "null";
2080
+ refuse: "refuse";
2081
+ }>;
2082
+ }, z.core.$strict>], "op">>;
2083
+ selection: z.ZodOptional<z.ZodString>;
2084
+ }, z.core.$strict>>;
2085
+ time: z.ZodObject<{
2086
+ timezone: z.ZodLiteral<"Asia/Riyadh">;
2087
+ boundary: z.ZodLiteral<"startInclusiveEndExclusive">;
2088
+ observation: z.ZodLiteral<"periodEnd">;
2089
+ history: z.ZodLiteral<"retainedOnly">;
2090
+ }, z.core.$strict>;
2091
+ selection: z.ZodObject<{
2092
+ dataset: z.ZodString;
2093
+ predicate: z.ZodOptional<z.ZodString>;
2094
+ }, z.core.$strict>;
2095
+ calculation: z.ZodObject<{
2096
+ joins: z.ZodArray<z.ZodObject<{
2097
+ dataset: z.ZodString;
2098
+ local: z.ZodString;
2099
+ foreign: z.ZodString;
2100
+ cardinality: z.ZodEnum<{
2101
+ many: "many";
2102
+ one: "one";
2103
+ }>;
2104
+ missing: z.ZodEnum<{
2105
+ allow: "allow";
2106
+ refuse: "refuse";
2107
+ }>;
2108
+ aggregates: z.ZodArray<z.ZodObject<{
2109
+ name: z.ZodString;
2110
+ op: z.ZodEnum<{
2111
+ average: "average";
2112
+ count: "count";
2113
+ maximum: "maximum";
2114
+ minimum: "minimum";
2115
+ sum: "sum";
2116
+ }>;
2117
+ rounding: z.ZodOptional<z.ZodEnum<{
2118
+ floor: "floor";
2119
+ halfUp: "halfUp";
2120
+ }>>;
2121
+ value: z.ZodOptional<z.ZodString>;
2122
+ }, z.core.$strict>>;
2123
+ }, z.core.$strict>>;
2124
+ expressions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2125
+ id: z.ZodString;
2126
+ op: z.ZodLiteral<"field">;
2127
+ path: z.ZodString;
2128
+ }, z.core.$strict>, z.ZodObject<{
2129
+ id: z.ZodString;
2130
+ op: z.ZodLiteral<"literal">;
2131
+ type: z.ZodDiscriminatedUnion<[z.ZodObject<{
2132
+ kind: z.ZodLiteral<"money">;
2133
+ currency: z.ZodString;
2134
+ }, z.core.$strict>, z.ZodObject<{
2135
+ kind: z.ZodEnum<{
2136
+ boolean: "boolean";
2137
+ date: "date";
2138
+ integer: "integer";
2139
+ text: "text";
2140
+ }>;
2141
+ }, z.core.$strict>], "kind">;
2142
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
2143
+ }, z.core.$strict>, z.ZodObject<{
2144
+ id: z.ZodString;
2145
+ op: z.ZodLiteral<"parameter">;
2146
+ name: z.ZodEnum<{
2147
+ observationAt: "observationAt";
2148
+ periodEnd: "periodEnd";
2149
+ periodStart: "periodStart";
2150
+ }>;
2151
+ }, z.core.$strict>, z.ZodObject<{
2152
+ id: z.ZodString;
2153
+ op: z.ZodEnum<{
2154
+ and: "and";
2155
+ atMost: "atMost";
2156
+ daysBetween: "daysBetween";
2157
+ equal: "equal";
2158
+ less: "less";
2159
+ maximum: "maximum";
2160
+ minimum: "minimum";
2161
+ or: "or";
2162
+ subtract: "subtract";
2163
+ sum: "sum";
2164
+ }>;
2165
+ left: z.ZodString;
2166
+ right: z.ZodString;
2167
+ }, z.core.$strict>, z.ZodObject<{
2168
+ id: z.ZodString;
2169
+ op: z.ZodLiteral<"not">;
2170
+ value: z.ZodString;
2171
+ }, z.core.$strict>, z.ZodObject<{
2172
+ id: z.ZodString;
2173
+ op: z.ZodLiteral<"choose">;
2174
+ condition: z.ZodString;
2175
+ yes: z.ZodString;
2176
+ no: z.ZodString;
2177
+ }, z.core.$strict>, z.ZodObject<{
2178
+ id: z.ZodString;
2179
+ op: z.ZodLiteral<"bucket">;
2180
+ value: z.ZodString;
2181
+ unit: z.ZodEnum<{
2182
+ month: "month";
2183
+ quarter: "quarter";
2184
+ }>;
2185
+ }, z.core.$strict>, z.ZodObject<{
2186
+ id: z.ZodString;
2187
+ op: z.ZodLiteral<"ratio">;
2188
+ numerator: z.ZodString;
2189
+ denominator: z.ZodString;
2190
+ scale: z.ZodNumber;
2191
+ rounding: z.ZodEnum<{
2192
+ floor: "floor";
2193
+ halfUp: "halfUp";
2194
+ }>;
2195
+ zero: z.ZodEnum<{
2196
+ null: "null";
2197
+ refuse: "refuse";
2198
+ }>;
2199
+ }, z.core.$strict>], "op">>;
2200
+ groupBy: z.ZodArray<z.ZodString>;
2201
+ aggregates: z.ZodArray<z.ZodObject<{
2202
+ name: z.ZodString;
2203
+ op: z.ZodEnum<{
2204
+ average: "average";
2205
+ count: "count";
2206
+ maximum: "maximum";
2207
+ minimum: "minimum";
2208
+ sum: "sum";
2209
+ }>;
2210
+ rounding: z.ZodOptional<z.ZodEnum<{
2211
+ floor: "floor";
2212
+ halfUp: "halfUp";
2213
+ }>>;
2214
+ value: z.ZodOptional<z.ZodString>;
2215
+ }, z.core.$strict>>;
2216
+ resultExpressions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2217
+ id: z.ZodString;
2218
+ op: z.ZodLiteral<"field">;
2219
+ path: z.ZodString;
2220
+ }, z.core.$strict>, z.ZodObject<{
2221
+ id: z.ZodString;
2222
+ op: z.ZodLiteral<"literal">;
2223
+ type: z.ZodDiscriminatedUnion<[z.ZodObject<{
2224
+ kind: z.ZodLiteral<"money">;
2225
+ currency: z.ZodString;
2226
+ }, z.core.$strict>, z.ZodObject<{
2227
+ kind: z.ZodEnum<{
2228
+ boolean: "boolean";
2229
+ date: "date";
2230
+ integer: "integer";
2231
+ text: "text";
2232
+ }>;
2233
+ }, z.core.$strict>], "kind">;
2234
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
2235
+ }, z.core.$strict>, z.ZodObject<{
2236
+ id: z.ZodString;
2237
+ op: z.ZodLiteral<"parameter">;
2238
+ name: z.ZodEnum<{
2239
+ observationAt: "observationAt";
2240
+ periodEnd: "periodEnd";
2241
+ periodStart: "periodStart";
2242
+ }>;
2243
+ }, z.core.$strict>, z.ZodObject<{
2244
+ id: z.ZodString;
2245
+ op: z.ZodEnum<{
2246
+ and: "and";
2247
+ atMost: "atMost";
2248
+ daysBetween: "daysBetween";
2249
+ equal: "equal";
2250
+ less: "less";
2251
+ maximum: "maximum";
2252
+ minimum: "minimum";
2253
+ or: "or";
2254
+ subtract: "subtract";
2255
+ sum: "sum";
2256
+ }>;
2257
+ left: z.ZodString;
2258
+ right: z.ZodString;
2259
+ }, z.core.$strict>, z.ZodObject<{
2260
+ id: z.ZodString;
2261
+ op: z.ZodLiteral<"not">;
2262
+ value: z.ZodString;
2263
+ }, z.core.$strict>, z.ZodObject<{
2264
+ id: z.ZodString;
2265
+ op: z.ZodLiteral<"choose">;
2266
+ condition: z.ZodString;
2267
+ yes: z.ZodString;
2268
+ no: z.ZodString;
2269
+ }, z.core.$strict>, z.ZodObject<{
2270
+ id: z.ZodString;
2271
+ op: z.ZodLiteral<"bucket">;
2272
+ value: z.ZodString;
2273
+ unit: z.ZodEnum<{
2274
+ month: "month";
2275
+ quarter: "quarter";
2276
+ }>;
2277
+ }, z.core.$strict>, z.ZodObject<{
2278
+ id: z.ZodString;
2279
+ op: z.ZodLiteral<"ratio">;
2280
+ numerator: z.ZodString;
2281
+ denominator: z.ZodString;
2282
+ scale: z.ZodNumber;
2283
+ rounding: z.ZodEnum<{
2284
+ floor: "floor";
2285
+ halfUp: "halfUp";
2286
+ }>;
2287
+ zero: z.ZodEnum<{
2288
+ null: "null";
2289
+ refuse: "refuse";
2290
+ }>;
2291
+ }, z.core.$strict>], "op">>;
2292
+ }, z.core.$strict>;
2293
+ validation: z.ZodObject<{
2294
+ empty: z.ZodEnum<{
2295
+ noEligibleFacilities: "noEligibleFacilities";
2296
+ refuse: "refuse";
2297
+ }>;
2298
+ required: z.ZodArray<z.ZodString>;
2299
+ rowReconcile: z.ZodArray<z.ZodObject<{
2300
+ left: z.ZodString;
2301
+ right: z.ZodString;
2302
+ }, z.core.$strict>>;
2303
+ reconcile: z.ZodArray<z.ZodObject<{
2304
+ left: z.ZodString;
2305
+ right: z.ZodString;
2306
+ }, z.core.$strict>>;
2307
+ unavailableFacts: z.ZodArray<z.ZodString>;
2308
+ lockTimeoutMs: z.ZodNumber;
2309
+ captureTimeoutMs: z.ZodNumber;
2310
+ maxRows: z.ZodNumber;
2311
+ maxJoinRows: z.ZodNumber;
2312
+ maxBytes: z.ZodNumber;
2313
+ }, z.core.$strict>;
2314
+ output: z.ZodObject<{
2315
+ profile: z.ZodLiteral<"internal.v1">;
2316
+ formats: z.ZodArray<z.ZodEnum<{
2317
+ csv: "csv";
2318
+ json: "json";
2319
+ }>>;
2320
+ columns: z.ZodArray<z.ZodObject<{
2321
+ name: z.ZodString;
2322
+ label: z.ZodString;
2323
+ type: z.ZodDiscriminatedUnion<[z.ZodObject<{
2324
+ kind: z.ZodLiteral<"money">;
2325
+ currency: z.ZodString;
2326
+ }, z.core.$strict>, z.ZodObject<{
2327
+ kind: z.ZodEnum<{
2328
+ boolean: "boolean";
2329
+ date: "date";
2330
+ integer: "integer";
2331
+ text: "text";
2332
+ }>;
2333
+ }, z.core.$strict>], "kind">;
2334
+ }, z.core.$strict>>;
2335
+ sort: z.ZodArray<z.ZodString>;
2336
+ }, z.core.$strict>;
2337
+ authority: z.ZodObject<{
2338
+ request: z.ZodArray<z.ZodString>;
2339
+ read: z.ZodArray<z.ZodString>;
2340
+ release: z.ZodArray<z.ZodString>;
2341
+ independentApproval: z.ZodLiteral<true>;
2342
+ retention: z.ZodObject<{
2343
+ policy: z.ZodString;
2344
+ years: z.ZodNumber;
2345
+ }, z.core.$strict>;
2346
+ }, z.core.$strict>;
2347
+ }, z.core.$strict>>>;
2348
+ revisioned: z.ZodOptional<z.ZodLiteral<true>>;
2349
+ family: z.ZodOptional<z.ZodObject<{
2350
+ module: z.ZodString;
2351
+ exportPath: z.ZodString;
2352
+ revision: z.ZodNumber;
2353
+ }, z.core.$strict>>;
820
2354
  id: z.ZodString;
2355
+ subject: z.ZodOptional<z.ZodString>;
821
2356
  title: z.ZodString;
822
2357
  summary: z.ZodString;
823
2358
  fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
824
2359
  name: z.ZodString;
825
2360
  optional: z.ZodOptional<z.ZodLiteral<true>>;
826
2361
  description: z.ZodOptional<z.ZodString>;
2362
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
827
2363
  type: z.ZodLiteral<"money">;
828
2364
  value: z.ZodOptional<z.ZodString>;
829
2365
  minimum: z.ZodOptional<z.ZodString>;
@@ -832,6 +2368,7 @@ export declare const udlInstrumentSchema: z.ZodObject<{
832
2368
  name: z.ZodString;
833
2369
  optional: z.ZodOptional<z.ZodLiteral<true>>;
834
2370
  description: z.ZodOptional<z.ZodString>;
2371
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
835
2372
  type: z.ZodLiteral<"account">;
836
2373
  owner: z.ZodString;
837
2374
  key: z.ZodOptional<z.ZodString>;
@@ -840,36 +2377,51 @@ export declare const udlInstrumentSchema: z.ZodObject<{
840
2377
  claim: "claim";
841
2378
  }>>;
842
2379
  contra: z.ZodOptional<z.ZodLiteral<true>>;
843
- external: z.ZodOptional<z.ZodLiteral<true>>;
844
2380
  }, z.core.$strict>, z.ZodObject<{
845
2381
  name: z.ZodString;
846
2382
  optional: z.ZodOptional<z.ZodLiteral<true>>;
847
2383
  description: z.ZodOptional<z.ZodString>;
2384
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
848
2385
  type: z.ZodLiteral<"ref">;
2386
+ targetKind: z.ZodEnum<{
2387
+ instrument: "instrument";
2388
+ object: "object";
2389
+ }>;
2390
+ targetFamily: z.ZodOptional<z.ZodObject<{
2391
+ module: z.ZodString;
2392
+ exportPath: z.ZodString;
2393
+ revision: z.ZodNumber;
2394
+ }, z.core.$strict>>;
849
2395
  target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
850
2396
  }, z.core.$strict>, z.ZodObject<{
851
2397
  name: z.ZodString;
852
2398
  optional: z.ZodOptional<z.ZodLiteral<true>>;
853
2399
  description: z.ZodOptional<z.ZodString>;
2400
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
854
2401
  type: z.ZodLiteral<"date">;
855
2402
  value: z.ZodOptional<z.ZodISODateTime>;
856
2403
  }, z.core.$strict>, z.ZodObject<{
857
2404
  name: z.ZodString;
858
2405
  optional: z.ZodOptional<z.ZodLiteral<true>>;
859
2406
  description: z.ZodOptional<z.ZodString>;
2407
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
860
2408
  type: z.ZodLiteral<"duration">;
861
2409
  value: z.ZodOptional<z.ZodNumber>;
862
2410
  }, z.core.$strict>, z.ZodObject<{
863
2411
  name: z.ZodString;
864
2412
  optional: z.ZodOptional<z.ZodLiteral<true>>;
865
2413
  description: z.ZodOptional<z.ZodString>;
2414
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
866
2415
  type: z.ZodLiteral<"text">;
867
2416
  value: z.ZodOptional<z.ZodString>;
2417
+ minLength: z.ZodOptional<z.ZodNumber>;
868
2418
  maxLength: z.ZodOptional<z.ZodNumber>;
2419
+ pattern: z.ZodOptional<z.ZodString>;
869
2420
  }, z.core.$strict>, z.ZodObject<{
870
2421
  name: z.ZodString;
871
2422
  optional: z.ZodOptional<z.ZodLiteral<true>>;
872
2423
  description: z.ZodOptional<z.ZodString>;
2424
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
873
2425
  type: z.ZodLiteral<"integer">;
874
2426
  value: z.ZodOptional<z.ZodNumber>;
875
2427
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -878,18 +2430,21 @@ export declare const udlInstrumentSchema: z.ZodObject<{
878
2430
  name: z.ZodString;
879
2431
  optional: z.ZodOptional<z.ZodLiteral<true>>;
880
2432
  description: z.ZodOptional<z.ZodString>;
2433
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
881
2434
  type: z.ZodLiteral<"percent">;
882
2435
  value: z.ZodOptional<z.ZodNumber>;
883
2436
  }, z.core.$strict>, z.ZodObject<{
884
2437
  name: z.ZodString;
885
2438
  optional: z.ZodOptional<z.ZodLiteral<true>>;
886
2439
  description: z.ZodOptional<z.ZodString>;
2440
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
887
2441
  type: z.ZodLiteral<"boolean">;
888
2442
  value: z.ZodOptional<z.ZodBoolean>;
889
2443
  }, z.core.$strict>, z.ZodObject<{
890
2444
  name: z.ZodString;
891
2445
  optional: z.ZodOptional<z.ZodLiteral<true>>;
892
2446
  description: z.ZodOptional<z.ZodString>;
2447
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
893
2448
  type: z.ZodLiteral<"enum">;
894
2449
  values: z.ZodArray<z.ZodString>;
895
2450
  value: z.ZodOptional<z.ZodString>;
@@ -897,6 +2452,7 @@ export declare const udlInstrumentSchema: z.ZodObject<{
897
2452
  name: z.ZodString;
898
2453
  optional: z.ZodOptional<z.ZodLiteral<true>>;
899
2454
  description: z.ZodOptional<z.ZodString>;
2455
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
900
2456
  type: z.ZodLiteral<"list">;
901
2457
  item: z.ZodEnum<{
902
2458
  date: "date";
@@ -905,6 +2461,15 @@ export declare const udlInstrumentSchema: z.ZodObject<{
905
2461
  ref: "ref";
906
2462
  text: "text";
907
2463
  }>;
2464
+ targetKind: z.ZodOptional<z.ZodEnum<{
2465
+ instrument: "instrument";
2466
+ object: "object";
2467
+ }>>;
2468
+ targetFamily: z.ZodOptional<z.ZodObject<{
2469
+ module: z.ZodString;
2470
+ exportPath: z.ZodString;
2471
+ revision: z.ZodNumber;
2472
+ }, z.core.$strict>>;
908
2473
  target: z.ZodOptional<z.ZodString>;
909
2474
  maxItems: z.ZodNumber;
910
2475
  }, z.core.$strict>], "type">>;
@@ -921,6 +2486,11 @@ export declare const udlInstrumentSchema: z.ZodObject<{
921
2486
  target: z.ZodString;
922
2487
  op: z.ZodLiteral<"aggregate">;
923
2488
  selection: z.ZodObject<{
2489
+ family: z.ZodOptional<z.ZodObject<{
2490
+ module: z.ZodString;
2491
+ exportPath: z.ZodString;
2492
+ revision: z.ZodNumber;
2493
+ }, z.core.$strict>>;
924
2494
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
925
2495
  reference: z.ZodString;
926
2496
  anchor: z.ZodString;
@@ -1058,16 +2628,257 @@ export declare const udlInstrumentSchema: z.ZodObject<{
1058
2628
  actions: z.ZodRecord<z.ZodString, z.ZodObject<{
1059
2629
  summary: z.ZodString;
1060
2630
  publicAction: z.ZodOptional<z.ZodString>;
2631
+ expansionLimit: z.ZodOptional<z.ZodLiteral<8192>>;
2632
+ humanApproval: z.ZodOptional<z.ZodLiteral<"distinct_member">>;
2633
+ reminder: z.ZodOptional<z.ZodObject<{
2634
+ installment: z.ZodString;
2635
+ recipient: z.ZodString;
2636
+ dueAt: z.ZodString;
2637
+ channel: z.ZodLiteral<"email">;
2638
+ template: z.ZodLiteral<"payment_reminder">;
2639
+ beforeDays: z.ZodNumber;
2640
+ overdueDays: z.ZodNumber;
2641
+ maxPerDay: z.ZodNumber;
2642
+ startHour: z.ZodNumber;
2643
+ endHour: z.ZodNumber;
2644
+ timezone: z.ZodString;
2645
+ }, z.core.$strict>>;
1061
2646
  event: z.ZodString;
1062
2647
  actor: z.ZodUnion<readonly [z.ZodLiteral<"caller">, z.ZodLiteral<"clock">, z.ZodObject<{
1063
2648
  party: z.ZodString;
1064
2649
  }, z.core.$strict>, z.ZodObject<{
1065
- parent: z.ZodString;
2650
+ parent: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
1066
2651
  }, z.core.$strict>]>;
2652
+ subject: z.ZodOptional<z.ZodObject<{
2653
+ requirements: z.ZodArray<z.ZodObject<{
2654
+ field: z.ZodDiscriminatedUnion<[z.ZodObject<{
2655
+ name: z.ZodString;
2656
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
2657
+ description: z.ZodOptional<z.ZodString>;
2658
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
2659
+ type: z.ZodLiteral<"money">;
2660
+ value: z.ZodOptional<z.ZodString>;
2661
+ minimum: z.ZodOptional<z.ZodString>;
2662
+ maximum: z.ZodOptional<z.ZodString>;
2663
+ }, z.core.$strict>, z.ZodObject<{
2664
+ name: z.ZodString;
2665
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
2666
+ description: z.ZodOptional<z.ZodString>;
2667
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
2668
+ type: z.ZodLiteral<"ref">;
2669
+ targetKind: z.ZodEnum<{
2670
+ instrument: "instrument";
2671
+ object: "object";
2672
+ }>;
2673
+ targetFamily: z.ZodOptional<z.ZodObject<{
2674
+ module: z.ZodString;
2675
+ exportPath: z.ZodString;
2676
+ revision: z.ZodNumber;
2677
+ }, z.core.$strict>>;
2678
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
2679
+ }, z.core.$strict>, z.ZodObject<{
2680
+ name: z.ZodString;
2681
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
2682
+ description: z.ZodOptional<z.ZodString>;
2683
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
2684
+ type: z.ZodLiteral<"date">;
2685
+ value: z.ZodOptional<z.ZodISODateTime>;
2686
+ }, z.core.$strict>, z.ZodObject<{
2687
+ name: z.ZodString;
2688
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
2689
+ description: z.ZodOptional<z.ZodString>;
2690
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
2691
+ type: z.ZodLiteral<"duration">;
2692
+ value: z.ZodOptional<z.ZodNumber>;
2693
+ }, z.core.$strict>, z.ZodObject<{
2694
+ name: z.ZodString;
2695
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
2696
+ description: z.ZodOptional<z.ZodString>;
2697
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
2698
+ type: z.ZodLiteral<"text">;
2699
+ value: z.ZodOptional<z.ZodString>;
2700
+ minLength: z.ZodOptional<z.ZodNumber>;
2701
+ maxLength: z.ZodOptional<z.ZodNumber>;
2702
+ pattern: z.ZodOptional<z.ZodString>;
2703
+ }, z.core.$strict>, z.ZodObject<{
2704
+ name: z.ZodString;
2705
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
2706
+ description: z.ZodOptional<z.ZodString>;
2707
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
2708
+ type: z.ZodLiteral<"integer">;
2709
+ value: z.ZodOptional<z.ZodNumber>;
2710
+ minimum: z.ZodOptional<z.ZodNumber>;
2711
+ maximum: z.ZodOptional<z.ZodNumber>;
2712
+ }, z.core.$strict>, z.ZodObject<{
2713
+ name: z.ZodString;
2714
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
2715
+ description: z.ZodOptional<z.ZodString>;
2716
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
2717
+ type: z.ZodLiteral<"percent">;
2718
+ value: z.ZodOptional<z.ZodNumber>;
2719
+ }, z.core.$strict>, z.ZodObject<{
2720
+ name: z.ZodString;
2721
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
2722
+ description: z.ZodOptional<z.ZodString>;
2723
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
2724
+ type: z.ZodLiteral<"boolean">;
2725
+ value: z.ZodOptional<z.ZodBoolean>;
2726
+ }, z.core.$strict>, z.ZodObject<{
2727
+ name: z.ZodString;
2728
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
2729
+ description: z.ZodOptional<z.ZodString>;
2730
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
2731
+ type: z.ZodLiteral<"enum">;
2732
+ values: z.ZodArray<z.ZodString>;
2733
+ value: z.ZodOptional<z.ZodString>;
2734
+ }, z.core.$strict>, z.ZodObject<{
2735
+ name: z.ZodString;
2736
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
2737
+ description: z.ZodOptional<z.ZodString>;
2738
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
2739
+ type: z.ZodLiteral<"list">;
2740
+ item: z.ZodEnum<{
2741
+ date: "date";
2742
+ integer: "integer";
2743
+ money: "money";
2744
+ ref: "ref";
2745
+ text: "text";
2746
+ }>;
2747
+ targetKind: z.ZodOptional<z.ZodEnum<{
2748
+ instrument: "instrument";
2749
+ object: "object";
2750
+ }>>;
2751
+ targetFamily: z.ZodOptional<z.ZodObject<{
2752
+ module: z.ZodString;
2753
+ exportPath: z.ZodString;
2754
+ revision: z.ZodNumber;
2755
+ }, z.core.$strict>>;
2756
+ target: z.ZodOptional<z.ZodString>;
2757
+ maxItems: z.ZodNumber;
2758
+ }, z.core.$strict>], "type">;
2759
+ objectField: z.ZodOptional<z.ZodString>;
2760
+ }, z.core.$strict>>;
2761
+ adapters: z.ZodArray<z.ZodObject<{
2762
+ binding: z.ZodString;
2763
+ snapshot: z.ZodNullable<z.ZodObject<{
2764
+ provider: z.ZodString;
2765
+ capability: z.ZodString;
2766
+ operation: z.ZodString;
2767
+ declarationDigest: z.ZodString;
2768
+ requirements: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2769
+ name: z.ZodString;
2770
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
2771
+ description: z.ZodOptional<z.ZodString>;
2772
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
2773
+ type: z.ZodLiteral<"money">;
2774
+ value: z.ZodOptional<z.ZodString>;
2775
+ minimum: z.ZodOptional<z.ZodString>;
2776
+ maximum: z.ZodOptional<z.ZodString>;
2777
+ }, z.core.$strict>, z.ZodObject<{
2778
+ name: z.ZodString;
2779
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
2780
+ description: z.ZodOptional<z.ZodString>;
2781
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
2782
+ type: z.ZodLiteral<"ref">;
2783
+ targetKind: z.ZodEnum<{
2784
+ instrument: "instrument";
2785
+ object: "object";
2786
+ }>;
2787
+ targetFamily: z.ZodOptional<z.ZodObject<{
2788
+ module: z.ZodString;
2789
+ exportPath: z.ZodString;
2790
+ revision: z.ZodNumber;
2791
+ }, z.core.$strict>>;
2792
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
2793
+ }, z.core.$strict>, z.ZodObject<{
2794
+ name: z.ZodString;
2795
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
2796
+ description: z.ZodOptional<z.ZodString>;
2797
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
2798
+ type: z.ZodLiteral<"date">;
2799
+ value: z.ZodOptional<z.ZodISODateTime>;
2800
+ }, z.core.$strict>, z.ZodObject<{
2801
+ name: z.ZodString;
2802
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
2803
+ description: z.ZodOptional<z.ZodString>;
2804
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
2805
+ type: z.ZodLiteral<"duration">;
2806
+ value: z.ZodOptional<z.ZodNumber>;
2807
+ }, z.core.$strict>, z.ZodObject<{
2808
+ name: z.ZodString;
2809
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
2810
+ description: z.ZodOptional<z.ZodString>;
2811
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
2812
+ type: z.ZodLiteral<"text">;
2813
+ value: z.ZodOptional<z.ZodString>;
2814
+ minLength: z.ZodOptional<z.ZodNumber>;
2815
+ maxLength: z.ZodOptional<z.ZodNumber>;
2816
+ pattern: z.ZodOptional<z.ZodString>;
2817
+ }, z.core.$strict>, z.ZodObject<{
2818
+ name: z.ZodString;
2819
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
2820
+ description: z.ZodOptional<z.ZodString>;
2821
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
2822
+ type: z.ZodLiteral<"integer">;
2823
+ value: z.ZodOptional<z.ZodNumber>;
2824
+ minimum: z.ZodOptional<z.ZodNumber>;
2825
+ maximum: z.ZodOptional<z.ZodNumber>;
2826
+ }, z.core.$strict>, z.ZodObject<{
2827
+ name: z.ZodString;
2828
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
2829
+ description: z.ZodOptional<z.ZodString>;
2830
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
2831
+ type: z.ZodLiteral<"percent">;
2832
+ value: z.ZodOptional<z.ZodNumber>;
2833
+ }, z.core.$strict>, z.ZodObject<{
2834
+ name: z.ZodString;
2835
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
2836
+ description: z.ZodOptional<z.ZodString>;
2837
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
2838
+ type: z.ZodLiteral<"boolean">;
2839
+ value: z.ZodOptional<z.ZodBoolean>;
2840
+ }, z.core.$strict>, z.ZodObject<{
2841
+ name: z.ZodString;
2842
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
2843
+ description: z.ZodOptional<z.ZodString>;
2844
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
2845
+ type: z.ZodLiteral<"enum">;
2846
+ values: z.ZodArray<z.ZodString>;
2847
+ value: z.ZodOptional<z.ZodString>;
2848
+ }, z.core.$strict>, z.ZodObject<{
2849
+ name: z.ZodString;
2850
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
2851
+ description: z.ZodOptional<z.ZodString>;
2852
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
2853
+ type: z.ZodLiteral<"list">;
2854
+ item: z.ZodEnum<{
2855
+ date: "date";
2856
+ integer: "integer";
2857
+ money: "money";
2858
+ ref: "ref";
2859
+ text: "text";
2860
+ }>;
2861
+ targetKind: z.ZodOptional<z.ZodEnum<{
2862
+ instrument: "instrument";
2863
+ object: "object";
2864
+ }>>;
2865
+ targetFamily: z.ZodOptional<z.ZodObject<{
2866
+ module: z.ZodString;
2867
+ exportPath: z.ZodString;
2868
+ revision: z.ZodNumber;
2869
+ }, z.core.$strict>>;
2870
+ target: z.ZodOptional<z.ZodString>;
2871
+ maxItems: z.ZodNumber;
2872
+ }, z.core.$strict>], "type">>;
2873
+ }, z.core.$strict>>;
2874
+ renames: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2875
+ }, z.core.$strict>>;
2876
+ }, z.core.$strict>>;
1067
2877
  input: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1068
2878
  name: z.ZodString;
1069
2879
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1070
2880
  description: z.ZodOptional<z.ZodString>;
2881
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1071
2882
  type: z.ZodLiteral<"money">;
1072
2883
  value: z.ZodOptional<z.ZodString>;
1073
2884
  minimum: z.ZodOptional<z.ZodString>;
@@ -1076,6 +2887,7 @@ export declare const udlInstrumentSchema: z.ZodObject<{
1076
2887
  name: z.ZodString;
1077
2888
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1078
2889
  description: z.ZodOptional<z.ZodString>;
2890
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1079
2891
  type: z.ZodLiteral<"account">;
1080
2892
  owner: z.ZodString;
1081
2893
  key: z.ZodOptional<z.ZodString>;
@@ -1084,36 +2896,51 @@ export declare const udlInstrumentSchema: z.ZodObject<{
1084
2896
  claim: "claim";
1085
2897
  }>>;
1086
2898
  contra: z.ZodOptional<z.ZodLiteral<true>>;
1087
- external: z.ZodOptional<z.ZodLiteral<true>>;
1088
2899
  }, z.core.$strict>, z.ZodObject<{
1089
2900
  name: z.ZodString;
1090
2901
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1091
2902
  description: z.ZodOptional<z.ZodString>;
2903
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1092
2904
  type: z.ZodLiteral<"ref">;
2905
+ targetKind: z.ZodEnum<{
2906
+ instrument: "instrument";
2907
+ object: "object";
2908
+ }>;
2909
+ targetFamily: z.ZodOptional<z.ZodObject<{
2910
+ module: z.ZodString;
2911
+ exportPath: z.ZodString;
2912
+ revision: z.ZodNumber;
2913
+ }, z.core.$strict>>;
1093
2914
  target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
1094
2915
  }, z.core.$strict>, z.ZodObject<{
1095
2916
  name: z.ZodString;
1096
2917
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1097
2918
  description: z.ZodOptional<z.ZodString>;
2919
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1098
2920
  type: z.ZodLiteral<"date">;
1099
2921
  value: z.ZodOptional<z.ZodISODateTime>;
1100
2922
  }, z.core.$strict>, z.ZodObject<{
1101
2923
  name: z.ZodString;
1102
2924
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1103
2925
  description: z.ZodOptional<z.ZodString>;
2926
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1104
2927
  type: z.ZodLiteral<"duration">;
1105
2928
  value: z.ZodOptional<z.ZodNumber>;
1106
2929
  }, z.core.$strict>, z.ZodObject<{
1107
2930
  name: z.ZodString;
1108
2931
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1109
2932
  description: z.ZodOptional<z.ZodString>;
2933
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1110
2934
  type: z.ZodLiteral<"text">;
1111
2935
  value: z.ZodOptional<z.ZodString>;
2936
+ minLength: z.ZodOptional<z.ZodNumber>;
1112
2937
  maxLength: z.ZodOptional<z.ZodNumber>;
2938
+ pattern: z.ZodOptional<z.ZodString>;
1113
2939
  }, z.core.$strict>, z.ZodObject<{
1114
2940
  name: z.ZodString;
1115
2941
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1116
2942
  description: z.ZodOptional<z.ZodString>;
2943
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1117
2944
  type: z.ZodLiteral<"integer">;
1118
2945
  value: z.ZodOptional<z.ZodNumber>;
1119
2946
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -1122,18 +2949,21 @@ export declare const udlInstrumentSchema: z.ZodObject<{
1122
2949
  name: z.ZodString;
1123
2950
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1124
2951
  description: z.ZodOptional<z.ZodString>;
2952
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1125
2953
  type: z.ZodLiteral<"percent">;
1126
2954
  value: z.ZodOptional<z.ZodNumber>;
1127
2955
  }, z.core.$strict>, z.ZodObject<{
1128
2956
  name: z.ZodString;
1129
2957
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1130
2958
  description: z.ZodOptional<z.ZodString>;
2959
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1131
2960
  type: z.ZodLiteral<"boolean">;
1132
2961
  value: z.ZodOptional<z.ZodBoolean>;
1133
2962
  }, z.core.$strict>, z.ZodObject<{
1134
2963
  name: z.ZodString;
1135
2964
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1136
2965
  description: z.ZodOptional<z.ZodString>;
2966
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1137
2967
  type: z.ZodLiteral<"enum">;
1138
2968
  values: z.ZodArray<z.ZodString>;
1139
2969
  value: z.ZodOptional<z.ZodString>;
@@ -1141,6 +2971,7 @@ export declare const udlInstrumentSchema: z.ZodObject<{
1141
2971
  name: z.ZodString;
1142
2972
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1143
2973
  description: z.ZodOptional<z.ZodString>;
2974
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1144
2975
  type: z.ZodLiteral<"list">;
1145
2976
  item: z.ZodEnum<{
1146
2977
  date: "date";
@@ -1149,6 +2980,15 @@ export declare const udlInstrumentSchema: z.ZodObject<{
1149
2980
  ref: "ref";
1150
2981
  text: "text";
1151
2982
  }>;
2983
+ targetKind: z.ZodOptional<z.ZodEnum<{
2984
+ instrument: "instrument";
2985
+ object: "object";
2986
+ }>>;
2987
+ targetFamily: z.ZodOptional<z.ZodObject<{
2988
+ module: z.ZodString;
2989
+ exportPath: z.ZodString;
2990
+ revision: z.ZodNumber;
2991
+ }, z.core.$strict>>;
1152
2992
  target: z.ZodOptional<z.ZodString>;
1153
2993
  maxItems: z.ZodNumber;
1154
2994
  }, z.core.$strict>], "type">>;
@@ -1189,6 +3029,11 @@ export declare const udlInstrumentSchema: z.ZodObject<{
1189
3029
  }, z.core.$strict>, z.ZodObject<{
1190
3030
  kind: z.ZodLiteral<"aggregate">;
1191
3031
  selection: z.ZodObject<{
3032
+ family: z.ZodOptional<z.ZodObject<{
3033
+ module: z.ZodString;
3034
+ exportPath: z.ZodString;
3035
+ revision: z.ZodNumber;
3036
+ }, z.core.$strict>>;
1192
3037
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
1193
3038
  reference: z.ZodString;
1194
3039
  anchor: z.ZodString;
@@ -1229,8 +3074,11 @@ export declare const udlInstrumentSchema: z.ZodObject<{
1229
3074
  approved: "approved";
1230
3075
  declined: "declined";
1231
3076
  }>;
3077
+ differentFromInitiator: z.ZodOptional<z.ZodLiteral<true>>;
3078
+ protectedRequest: z.ZodDefault<z.ZodString>;
1232
3079
  }, z.core.$strict>, z.ZodObject<{
1233
3080
  kind: z.ZodLiteral<"evidence">;
3081
+ instruction: z.ZodOptional<z.ZodString>;
1234
3082
  subject: z.ZodString;
1235
3083
  family: z.ZodString;
1236
3084
  check: z.ZodString;
@@ -1240,10 +3088,28 @@ export declare const udlInstrumentSchema: z.ZodObject<{
1240
3088
  due: z.ZodOptional<z.ZodObject<{
1241
3089
  at: z.ZodString;
1242
3090
  offset: z.ZodOptional<z.ZodNumber>;
3091
+ localDay: z.ZodOptional<z.ZodObject<{
3092
+ days: z.ZodNumber;
3093
+ direction: z.ZodEnum<{
3094
+ after: "after";
3095
+ before: "before";
3096
+ }>;
3097
+ hour: z.ZodNumber;
3098
+ timezone: z.ZodString;
3099
+ }, z.core.$strict>>;
1243
3100
  }, z.core.$strict>>;
1244
3101
  deadline: z.ZodOptional<z.ZodObject<{
1245
3102
  at: z.ZodString;
1246
3103
  offset: z.ZodOptional<z.ZodNumber>;
3104
+ localDay: z.ZodOptional<z.ZodObject<{
3105
+ days: z.ZodNumber;
3106
+ direction: z.ZodEnum<{
3107
+ after: "after";
3108
+ before: "before";
3109
+ }>;
3110
+ hour: z.ZodNumber;
3111
+ timezone: z.ZodString;
3112
+ }, z.core.$strict>>;
1247
3113
  }, z.core.$strict>>;
1248
3114
  set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1249
3115
  literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
@@ -1263,6 +3129,11 @@ export declare const udlInstrumentSchema: z.ZodObject<{
1263
3129
  target: z.ZodString;
1264
3130
  op: z.ZodLiteral<"aggregate">;
1265
3131
  selection: z.ZodObject<{
3132
+ family: z.ZodOptional<z.ZodObject<{
3133
+ module: z.ZodString;
3134
+ exportPath: z.ZodString;
3135
+ revision: z.ZodNumber;
3136
+ }, z.core.$strict>>;
1266
3137
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
1267
3138
  reference: z.ZodString;
1268
3139
  anchor: z.ZodString;
@@ -1403,6 +3274,9 @@ export declare const udlInstrumentSchema: z.ZodObject<{
1403
3274
  }, z.core.$strict>, z.ZodObject<{
1404
3275
  key: z.ZodString;
1405
3276
  operation: z.ZodLiteral<"internal_transfer.reserve">;
3277
+ boundary: z.ZodOptional<z.ZodObject<{
3278
+ adapter: z.ZodString;
3279
+ }, z.core.$strict>>;
1406
3280
  amount: z.ZodUnion<readonly [z.ZodObject<{
1407
3281
  literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
1408
3282
  }, z.core.$strict>, z.ZodObject<{
@@ -1430,6 +3304,36 @@ export declare const udlInstrumentSchema: z.ZodObject<{
1430
3304
  }, z.core.$strict>, z.ZodObject<{
1431
3305
  field: z.ZodString;
1432
3306
  }, z.core.$strict>]>>;
3307
+ guard: z.ZodOptional<z.ZodObject<{
3308
+ kind: z.ZodLiteral<"compare">;
3309
+ left: z.ZodUnion<readonly [z.ZodObject<{
3310
+ literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
3311
+ }, z.core.$strict>, z.ZodObject<{
3312
+ field: z.ZodString;
3313
+ }, z.core.$strict>]>;
3314
+ operator: z.ZodEnum<{
3315
+ "!=": "!=";
3316
+ "<": "<";
3317
+ "<=": "<=";
3318
+ "==": "==";
3319
+ ">": ">";
3320
+ ">=": ">=";
3321
+ }>;
3322
+ right: z.ZodUnion<readonly [z.ZodObject<{
3323
+ literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
3324
+ }, z.core.$strict>, z.ZodObject<{
3325
+ field: z.ZodString;
3326
+ }, z.core.$strict>]>;
3327
+ }, z.core.$strict>>;
3328
+ range: z.ZodOptional<z.ZodObject<{
3329
+ count: z.ZodUnion<readonly [z.ZodObject<{
3330
+ literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
3331
+ }, z.core.$strict>, z.ZodObject<{
3332
+ field: z.ZodString;
3333
+ }, z.core.$strict>]>;
3334
+ maximum: z.ZodNumber;
3335
+ bind: z.ZodString;
3336
+ }, z.core.$strict>>;
1433
3337
  }, z.core.$strict>, z.ZodObject<{
1434
3338
  reference: z.ZodString;
1435
3339
  action: z.ZodString;
@@ -1438,8 +3342,34 @@ export declare const udlInstrumentSchema: z.ZodObject<{
1438
3342
  }, z.core.$strict>, z.ZodObject<{
1439
3343
  field: z.ZodString;
1440
3344
  }, z.core.$strict>]>>;
3345
+ guard: z.ZodOptional<z.ZodObject<{
3346
+ kind: z.ZodLiteral<"compare">;
3347
+ left: z.ZodUnion<readonly [z.ZodObject<{
3348
+ literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
3349
+ }, z.core.$strict>, z.ZodObject<{
3350
+ field: z.ZodString;
3351
+ }, z.core.$strict>]>;
3352
+ operator: z.ZodEnum<{
3353
+ "!=": "!=";
3354
+ "<": "<";
3355
+ "<=": "<=";
3356
+ "==": "==";
3357
+ ">": ">";
3358
+ ">=": ">=";
3359
+ }>;
3360
+ right: z.ZodUnion<readonly [z.ZodObject<{
3361
+ literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
3362
+ }, z.core.$strict>, z.ZodObject<{
3363
+ field: z.ZodString;
3364
+ }, z.core.$strict>]>;
3365
+ }, z.core.$strict>>;
1441
3366
  }, z.core.$strict>, z.ZodObject<{
1442
3367
  selection: z.ZodObject<{
3368
+ family: z.ZodOptional<z.ZodObject<{
3369
+ module: z.ZodString;
3370
+ exportPath: z.ZodString;
3371
+ revision: z.ZodNumber;
3372
+ }, z.core.$strict>>;
1443
3373
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
1444
3374
  reference: z.ZodString;
1445
3375
  anchor: z.ZodString;
@@ -1462,8 +3392,30 @@ export declare const udlInstrumentSchema: z.ZodObject<{
1462
3392
  }, z.core.$strict>, z.ZodObject<{
1463
3393
  field: z.ZodString;
1464
3394
  }, z.core.$strict>]>>;
3395
+ guard: z.ZodOptional<z.ZodObject<{
3396
+ kind: z.ZodLiteral<"compare">;
3397
+ left: z.ZodUnion<readonly [z.ZodObject<{
3398
+ literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
3399
+ }, z.core.$strict>, z.ZodObject<{
3400
+ field: z.ZodString;
3401
+ }, z.core.$strict>]>;
3402
+ operator: z.ZodEnum<{
3403
+ "!=": "!=";
3404
+ "<": "<";
3405
+ "<=": "<=";
3406
+ "==": "==";
3407
+ ">": ">";
3408
+ ">=": ">=";
3409
+ }>;
3410
+ right: z.ZodUnion<readonly [z.ZodObject<{
3411
+ literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
3412
+ }, z.core.$strict>, z.ZodObject<{
3413
+ field: z.ZodString;
3414
+ }, z.core.$strict>]>;
3415
+ }, z.core.$strict>>;
1465
3416
  }, z.core.$strict>]>>>;
1466
3417
  approval: z.ZodOptional<z.ZodObject<{
3418
+ protectedRequest: z.ZodDefault<z.ZodString>;
1467
3419
  target: z.ZodString;
1468
3420
  action: z.ZodString;
1469
3421
  party: z.ZodString;
@@ -1517,6 +3469,11 @@ export declare const udlInstrumentSchema: z.ZodObject<{
1517
3469
  }, z.core.$strict>, z.ZodObject<{
1518
3470
  kind: z.ZodLiteral<"aggregate">;
1519
3471
  selection: z.ZodObject<{
3472
+ family: z.ZodOptional<z.ZodObject<{
3473
+ module: z.ZodString;
3474
+ exportPath: z.ZodString;
3475
+ revision: z.ZodNumber;
3476
+ }, z.core.$strict>>;
1520
3477
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
1521
3478
  reference: z.ZodString;
1522
3479
  anchor: z.ZodString;
@@ -1557,8 +3514,11 @@ export declare const udlInstrumentSchema: z.ZodObject<{
1557
3514
  approved: "approved";
1558
3515
  declined: "declined";
1559
3516
  }>;
3517
+ differentFromInitiator: z.ZodOptional<z.ZodLiteral<true>>;
3518
+ protectedRequest: z.ZodDefault<z.ZodString>;
1560
3519
  }, z.core.$strict>, z.ZodObject<{
1561
3520
  kind: z.ZodLiteral<"evidence">;
3521
+ instruction: z.ZodOptional<z.ZodString>;
1562
3522
  subject: z.ZodString;
1563
3523
  family: z.ZodString;
1564
3524
  check: z.ZodString;
@@ -1571,7 +3531,7 @@ export declare const udlInstrumentSchema: z.ZodObject<{
1571
3531
  }, z.core.$strict>>>;
1572
3532
  }, z.core.$strict>;
1573
3533
  export declare const udlDocumentSchema: z.ZodObject<{
1574
- udl: z.ZodLiteral<3>;
3534
+ udl: z.ZodLiteral<4>;
1575
3535
  version: z.ZodNumber;
1576
3536
  product: z.ZodString;
1577
3537
  title: z.ZodString;
@@ -1584,14 +3544,531 @@ export declare const udlDocumentSchema: z.ZodObject<{
1584
3544
  }>;
1585
3545
  role: z.ZodOptional<z.ZodString>;
1586
3546
  }, z.core.$strict>>;
3547
+ objects: z.ZodArray<z.ZodObject<{
3548
+ id: z.ZodString;
3549
+ title: z.ZodString;
3550
+ authoredFields: z.ZodArray<z.ZodString>;
3551
+ attachments: z.ZodArray<z.ZodObject<{
3552
+ name: z.ZodString;
3553
+ instrument: z.ZodString;
3554
+ parties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3555
+ role: z.ZodEnum<{
3556
+ actor: "actor";
3557
+ operator: "operator";
3558
+ owner: "owner";
3559
+ }>;
3560
+ }, z.core.$strict>, z.ZodObject<{
3561
+ party: z.ZodString;
3562
+ }, z.core.$strict>]>>;
3563
+ }, z.core.$strict>>;
3564
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3565
+ name: z.ZodString;
3566
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
3567
+ description: z.ZodOptional<z.ZodString>;
3568
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
3569
+ type: z.ZodLiteral<"money">;
3570
+ value: z.ZodOptional<z.ZodString>;
3571
+ minimum: z.ZodOptional<z.ZodString>;
3572
+ maximum: z.ZodOptional<z.ZodString>;
3573
+ }, z.core.$strict>, z.ZodObject<{
3574
+ name: z.ZodString;
3575
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
3576
+ description: z.ZodOptional<z.ZodString>;
3577
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
3578
+ type: z.ZodLiteral<"ref">;
3579
+ targetKind: z.ZodEnum<{
3580
+ instrument: "instrument";
3581
+ object: "object";
3582
+ }>;
3583
+ targetFamily: z.ZodOptional<z.ZodObject<{
3584
+ module: z.ZodString;
3585
+ exportPath: z.ZodString;
3586
+ revision: z.ZodNumber;
3587
+ }, z.core.$strict>>;
3588
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
3589
+ }, z.core.$strict>, z.ZodObject<{
3590
+ name: z.ZodString;
3591
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
3592
+ description: z.ZodOptional<z.ZodString>;
3593
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
3594
+ type: z.ZodLiteral<"date">;
3595
+ value: z.ZodOptional<z.ZodISODateTime>;
3596
+ }, z.core.$strict>, z.ZodObject<{
3597
+ name: z.ZodString;
3598
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
3599
+ description: z.ZodOptional<z.ZodString>;
3600
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
3601
+ type: z.ZodLiteral<"duration">;
3602
+ value: z.ZodOptional<z.ZodNumber>;
3603
+ }, z.core.$strict>, z.ZodObject<{
3604
+ name: z.ZodString;
3605
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
3606
+ description: z.ZodOptional<z.ZodString>;
3607
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
3608
+ type: z.ZodLiteral<"text">;
3609
+ value: z.ZodOptional<z.ZodString>;
3610
+ minLength: z.ZodOptional<z.ZodNumber>;
3611
+ maxLength: z.ZodOptional<z.ZodNumber>;
3612
+ pattern: z.ZodOptional<z.ZodString>;
3613
+ }, z.core.$strict>, z.ZodObject<{
3614
+ name: z.ZodString;
3615
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
3616
+ description: z.ZodOptional<z.ZodString>;
3617
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
3618
+ type: z.ZodLiteral<"integer">;
3619
+ value: z.ZodOptional<z.ZodNumber>;
3620
+ minimum: z.ZodOptional<z.ZodNumber>;
3621
+ maximum: z.ZodOptional<z.ZodNumber>;
3622
+ }, z.core.$strict>, z.ZodObject<{
3623
+ name: z.ZodString;
3624
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
3625
+ description: z.ZodOptional<z.ZodString>;
3626
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
3627
+ type: z.ZodLiteral<"percent">;
3628
+ value: z.ZodOptional<z.ZodNumber>;
3629
+ }, z.core.$strict>, z.ZodObject<{
3630
+ name: z.ZodString;
3631
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
3632
+ description: z.ZodOptional<z.ZodString>;
3633
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
3634
+ type: z.ZodLiteral<"boolean">;
3635
+ value: z.ZodOptional<z.ZodBoolean>;
3636
+ }, z.core.$strict>, z.ZodObject<{
3637
+ name: z.ZodString;
3638
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
3639
+ description: z.ZodOptional<z.ZodString>;
3640
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
3641
+ type: z.ZodLiteral<"enum">;
3642
+ values: z.ZodArray<z.ZodString>;
3643
+ value: z.ZodOptional<z.ZodString>;
3644
+ }, z.core.$strict>, z.ZodObject<{
3645
+ name: z.ZodString;
3646
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
3647
+ description: z.ZodOptional<z.ZodString>;
3648
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
3649
+ type: z.ZodLiteral<"list">;
3650
+ item: z.ZodEnum<{
3651
+ date: "date";
3652
+ integer: "integer";
3653
+ money: "money";
3654
+ ref: "ref";
3655
+ text: "text";
3656
+ }>;
3657
+ targetKind: z.ZodOptional<z.ZodEnum<{
3658
+ instrument: "instrument";
3659
+ object: "object";
3660
+ }>>;
3661
+ targetFamily: z.ZodOptional<z.ZodObject<{
3662
+ module: z.ZodString;
3663
+ exportPath: z.ZodString;
3664
+ revision: z.ZodNumber;
3665
+ }, z.core.$strict>>;
3666
+ target: z.ZodOptional<z.ZodString>;
3667
+ maxItems: z.ZodNumber;
3668
+ }, z.core.$strict>], "type">>;
3669
+ columns: z.ZodArray<z.ZodString>;
3670
+ }, z.core.$strict>>;
1587
3671
  instruments: z.ZodArray<z.ZodObject<{
3672
+ reports: z.ZodOptional<z.ZodArray<z.ZodObject<{
3673
+ identity: z.ZodObject<{
3674
+ id: z.ZodString;
3675
+ version: z.ZodNumber;
3676
+ description: z.ZodString;
3677
+ }, z.core.$strict>;
3678
+ scope: z.ZodObject<{
3679
+ kind: z.ZodEnum<{
3680
+ company: "company";
3681
+ product: "product";
3682
+ }>;
3683
+ classification: z.ZodEnum<{
3684
+ internal: "internal";
3685
+ personal: "personal";
3686
+ restricted: "restricted";
3687
+ }>;
3688
+ currency: z.ZodString;
3689
+ }, z.core.$strict>;
3690
+ datasets: z.ZodArray<z.ZodObject<{
3691
+ id: z.ZodString;
3692
+ source: z.ZodEnum<{
3693
+ account: "account";
3694
+ identity: "identity";
3695
+ instrument: "instrument";
3696
+ operation: "operation";
3697
+ }>;
3698
+ instruments: z.ZodArray<z.ZodString>;
3699
+ rowKey: z.ZodString;
3700
+ columns: z.ZodArray<z.ZodObject<{
3701
+ name: z.ZodString;
3702
+ field: z.ZodString;
3703
+ type: z.ZodDiscriminatedUnion<[z.ZodObject<{
3704
+ kind: z.ZodLiteral<"money">;
3705
+ currency: z.ZodString;
3706
+ }, z.core.$strict>, z.ZodObject<{
3707
+ kind: z.ZodEnum<{
3708
+ boolean: "boolean";
3709
+ date: "date";
3710
+ integer: "integer";
3711
+ text: "text";
3712
+ }>;
3713
+ }, z.core.$strict>], "kind">;
3714
+ required: z.ZodBoolean;
3715
+ }, z.core.$strict>>;
3716
+ expressions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3717
+ id: z.ZodString;
3718
+ op: z.ZodLiteral<"field">;
3719
+ path: z.ZodString;
3720
+ }, z.core.$strict>, z.ZodObject<{
3721
+ id: z.ZodString;
3722
+ op: z.ZodLiteral<"literal">;
3723
+ type: z.ZodDiscriminatedUnion<[z.ZodObject<{
3724
+ kind: z.ZodLiteral<"money">;
3725
+ currency: z.ZodString;
3726
+ }, z.core.$strict>, z.ZodObject<{
3727
+ kind: z.ZodEnum<{
3728
+ boolean: "boolean";
3729
+ date: "date";
3730
+ integer: "integer";
3731
+ text: "text";
3732
+ }>;
3733
+ }, z.core.$strict>], "kind">;
3734
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
3735
+ }, z.core.$strict>, z.ZodObject<{
3736
+ id: z.ZodString;
3737
+ op: z.ZodLiteral<"parameter">;
3738
+ name: z.ZodEnum<{
3739
+ observationAt: "observationAt";
3740
+ periodEnd: "periodEnd";
3741
+ periodStart: "periodStart";
3742
+ }>;
3743
+ }, z.core.$strict>, z.ZodObject<{
3744
+ id: z.ZodString;
3745
+ op: z.ZodEnum<{
3746
+ and: "and";
3747
+ atMost: "atMost";
3748
+ daysBetween: "daysBetween";
3749
+ equal: "equal";
3750
+ less: "less";
3751
+ maximum: "maximum";
3752
+ minimum: "minimum";
3753
+ or: "or";
3754
+ subtract: "subtract";
3755
+ sum: "sum";
3756
+ }>;
3757
+ left: z.ZodString;
3758
+ right: z.ZodString;
3759
+ }, z.core.$strict>, z.ZodObject<{
3760
+ id: z.ZodString;
3761
+ op: z.ZodLiteral<"not">;
3762
+ value: z.ZodString;
3763
+ }, z.core.$strict>, z.ZodObject<{
3764
+ id: z.ZodString;
3765
+ op: z.ZodLiteral<"choose">;
3766
+ condition: z.ZodString;
3767
+ yes: z.ZodString;
3768
+ no: z.ZodString;
3769
+ }, z.core.$strict>, z.ZodObject<{
3770
+ id: z.ZodString;
3771
+ op: z.ZodLiteral<"bucket">;
3772
+ value: z.ZodString;
3773
+ unit: z.ZodEnum<{
3774
+ month: "month";
3775
+ quarter: "quarter";
3776
+ }>;
3777
+ }, z.core.$strict>, z.ZodObject<{
3778
+ id: z.ZodString;
3779
+ op: z.ZodLiteral<"ratio">;
3780
+ numerator: z.ZodString;
3781
+ denominator: z.ZodString;
3782
+ scale: z.ZodNumber;
3783
+ rounding: z.ZodEnum<{
3784
+ floor: "floor";
3785
+ halfUp: "halfUp";
3786
+ }>;
3787
+ zero: z.ZodEnum<{
3788
+ null: "null";
3789
+ refuse: "refuse";
3790
+ }>;
3791
+ }, z.core.$strict>], "op">>;
3792
+ selection: z.ZodOptional<z.ZodString>;
3793
+ }, z.core.$strict>>;
3794
+ time: z.ZodObject<{
3795
+ timezone: z.ZodLiteral<"Asia/Riyadh">;
3796
+ boundary: z.ZodLiteral<"startInclusiveEndExclusive">;
3797
+ observation: z.ZodLiteral<"periodEnd">;
3798
+ history: z.ZodLiteral<"retainedOnly">;
3799
+ }, z.core.$strict>;
3800
+ selection: z.ZodObject<{
3801
+ dataset: z.ZodString;
3802
+ predicate: z.ZodOptional<z.ZodString>;
3803
+ }, z.core.$strict>;
3804
+ calculation: z.ZodObject<{
3805
+ joins: z.ZodArray<z.ZodObject<{
3806
+ dataset: z.ZodString;
3807
+ local: z.ZodString;
3808
+ foreign: z.ZodString;
3809
+ cardinality: z.ZodEnum<{
3810
+ many: "many";
3811
+ one: "one";
3812
+ }>;
3813
+ missing: z.ZodEnum<{
3814
+ allow: "allow";
3815
+ refuse: "refuse";
3816
+ }>;
3817
+ aggregates: z.ZodArray<z.ZodObject<{
3818
+ name: z.ZodString;
3819
+ op: z.ZodEnum<{
3820
+ average: "average";
3821
+ count: "count";
3822
+ maximum: "maximum";
3823
+ minimum: "minimum";
3824
+ sum: "sum";
3825
+ }>;
3826
+ rounding: z.ZodOptional<z.ZodEnum<{
3827
+ floor: "floor";
3828
+ halfUp: "halfUp";
3829
+ }>>;
3830
+ value: z.ZodOptional<z.ZodString>;
3831
+ }, z.core.$strict>>;
3832
+ }, z.core.$strict>>;
3833
+ expressions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3834
+ id: z.ZodString;
3835
+ op: z.ZodLiteral<"field">;
3836
+ path: z.ZodString;
3837
+ }, z.core.$strict>, z.ZodObject<{
3838
+ id: z.ZodString;
3839
+ op: z.ZodLiteral<"literal">;
3840
+ type: z.ZodDiscriminatedUnion<[z.ZodObject<{
3841
+ kind: z.ZodLiteral<"money">;
3842
+ currency: z.ZodString;
3843
+ }, z.core.$strict>, z.ZodObject<{
3844
+ kind: z.ZodEnum<{
3845
+ boolean: "boolean";
3846
+ date: "date";
3847
+ integer: "integer";
3848
+ text: "text";
3849
+ }>;
3850
+ }, z.core.$strict>], "kind">;
3851
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
3852
+ }, z.core.$strict>, z.ZodObject<{
3853
+ id: z.ZodString;
3854
+ op: z.ZodLiteral<"parameter">;
3855
+ name: z.ZodEnum<{
3856
+ observationAt: "observationAt";
3857
+ periodEnd: "periodEnd";
3858
+ periodStart: "periodStart";
3859
+ }>;
3860
+ }, z.core.$strict>, z.ZodObject<{
3861
+ id: z.ZodString;
3862
+ op: z.ZodEnum<{
3863
+ and: "and";
3864
+ atMost: "atMost";
3865
+ daysBetween: "daysBetween";
3866
+ equal: "equal";
3867
+ less: "less";
3868
+ maximum: "maximum";
3869
+ minimum: "minimum";
3870
+ or: "or";
3871
+ subtract: "subtract";
3872
+ sum: "sum";
3873
+ }>;
3874
+ left: z.ZodString;
3875
+ right: z.ZodString;
3876
+ }, z.core.$strict>, z.ZodObject<{
3877
+ id: z.ZodString;
3878
+ op: z.ZodLiteral<"not">;
3879
+ value: z.ZodString;
3880
+ }, z.core.$strict>, z.ZodObject<{
3881
+ id: z.ZodString;
3882
+ op: z.ZodLiteral<"choose">;
3883
+ condition: z.ZodString;
3884
+ yes: z.ZodString;
3885
+ no: z.ZodString;
3886
+ }, z.core.$strict>, z.ZodObject<{
3887
+ id: z.ZodString;
3888
+ op: z.ZodLiteral<"bucket">;
3889
+ value: z.ZodString;
3890
+ unit: z.ZodEnum<{
3891
+ month: "month";
3892
+ quarter: "quarter";
3893
+ }>;
3894
+ }, z.core.$strict>, z.ZodObject<{
3895
+ id: z.ZodString;
3896
+ op: z.ZodLiteral<"ratio">;
3897
+ numerator: z.ZodString;
3898
+ denominator: z.ZodString;
3899
+ scale: z.ZodNumber;
3900
+ rounding: z.ZodEnum<{
3901
+ floor: "floor";
3902
+ halfUp: "halfUp";
3903
+ }>;
3904
+ zero: z.ZodEnum<{
3905
+ null: "null";
3906
+ refuse: "refuse";
3907
+ }>;
3908
+ }, z.core.$strict>], "op">>;
3909
+ groupBy: z.ZodArray<z.ZodString>;
3910
+ aggregates: z.ZodArray<z.ZodObject<{
3911
+ name: z.ZodString;
3912
+ op: z.ZodEnum<{
3913
+ average: "average";
3914
+ count: "count";
3915
+ maximum: "maximum";
3916
+ minimum: "minimum";
3917
+ sum: "sum";
3918
+ }>;
3919
+ rounding: z.ZodOptional<z.ZodEnum<{
3920
+ floor: "floor";
3921
+ halfUp: "halfUp";
3922
+ }>>;
3923
+ value: z.ZodOptional<z.ZodString>;
3924
+ }, z.core.$strict>>;
3925
+ resultExpressions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3926
+ id: z.ZodString;
3927
+ op: z.ZodLiteral<"field">;
3928
+ path: z.ZodString;
3929
+ }, z.core.$strict>, z.ZodObject<{
3930
+ id: z.ZodString;
3931
+ op: z.ZodLiteral<"literal">;
3932
+ type: z.ZodDiscriminatedUnion<[z.ZodObject<{
3933
+ kind: z.ZodLiteral<"money">;
3934
+ currency: z.ZodString;
3935
+ }, z.core.$strict>, z.ZodObject<{
3936
+ kind: z.ZodEnum<{
3937
+ boolean: "boolean";
3938
+ date: "date";
3939
+ integer: "integer";
3940
+ text: "text";
3941
+ }>;
3942
+ }, z.core.$strict>], "kind">;
3943
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
3944
+ }, z.core.$strict>, z.ZodObject<{
3945
+ id: z.ZodString;
3946
+ op: z.ZodLiteral<"parameter">;
3947
+ name: z.ZodEnum<{
3948
+ observationAt: "observationAt";
3949
+ periodEnd: "periodEnd";
3950
+ periodStart: "periodStart";
3951
+ }>;
3952
+ }, z.core.$strict>, z.ZodObject<{
3953
+ id: z.ZodString;
3954
+ op: z.ZodEnum<{
3955
+ and: "and";
3956
+ atMost: "atMost";
3957
+ daysBetween: "daysBetween";
3958
+ equal: "equal";
3959
+ less: "less";
3960
+ maximum: "maximum";
3961
+ minimum: "minimum";
3962
+ or: "or";
3963
+ subtract: "subtract";
3964
+ sum: "sum";
3965
+ }>;
3966
+ left: z.ZodString;
3967
+ right: z.ZodString;
3968
+ }, z.core.$strict>, z.ZodObject<{
3969
+ id: z.ZodString;
3970
+ op: z.ZodLiteral<"not">;
3971
+ value: z.ZodString;
3972
+ }, z.core.$strict>, z.ZodObject<{
3973
+ id: z.ZodString;
3974
+ op: z.ZodLiteral<"choose">;
3975
+ condition: z.ZodString;
3976
+ yes: z.ZodString;
3977
+ no: z.ZodString;
3978
+ }, z.core.$strict>, z.ZodObject<{
3979
+ id: z.ZodString;
3980
+ op: z.ZodLiteral<"bucket">;
3981
+ value: z.ZodString;
3982
+ unit: z.ZodEnum<{
3983
+ month: "month";
3984
+ quarter: "quarter";
3985
+ }>;
3986
+ }, z.core.$strict>, z.ZodObject<{
3987
+ id: z.ZodString;
3988
+ op: z.ZodLiteral<"ratio">;
3989
+ numerator: z.ZodString;
3990
+ denominator: z.ZodString;
3991
+ scale: z.ZodNumber;
3992
+ rounding: z.ZodEnum<{
3993
+ floor: "floor";
3994
+ halfUp: "halfUp";
3995
+ }>;
3996
+ zero: z.ZodEnum<{
3997
+ null: "null";
3998
+ refuse: "refuse";
3999
+ }>;
4000
+ }, z.core.$strict>], "op">>;
4001
+ }, z.core.$strict>;
4002
+ validation: z.ZodObject<{
4003
+ empty: z.ZodEnum<{
4004
+ noEligibleFacilities: "noEligibleFacilities";
4005
+ refuse: "refuse";
4006
+ }>;
4007
+ required: z.ZodArray<z.ZodString>;
4008
+ rowReconcile: z.ZodArray<z.ZodObject<{
4009
+ left: z.ZodString;
4010
+ right: z.ZodString;
4011
+ }, z.core.$strict>>;
4012
+ reconcile: z.ZodArray<z.ZodObject<{
4013
+ left: z.ZodString;
4014
+ right: z.ZodString;
4015
+ }, z.core.$strict>>;
4016
+ unavailableFacts: z.ZodArray<z.ZodString>;
4017
+ lockTimeoutMs: z.ZodNumber;
4018
+ captureTimeoutMs: z.ZodNumber;
4019
+ maxRows: z.ZodNumber;
4020
+ maxJoinRows: z.ZodNumber;
4021
+ maxBytes: z.ZodNumber;
4022
+ }, z.core.$strict>;
4023
+ output: z.ZodObject<{
4024
+ profile: z.ZodLiteral<"internal.v1">;
4025
+ formats: z.ZodArray<z.ZodEnum<{
4026
+ csv: "csv";
4027
+ json: "json";
4028
+ }>>;
4029
+ columns: z.ZodArray<z.ZodObject<{
4030
+ name: z.ZodString;
4031
+ label: z.ZodString;
4032
+ type: z.ZodDiscriminatedUnion<[z.ZodObject<{
4033
+ kind: z.ZodLiteral<"money">;
4034
+ currency: z.ZodString;
4035
+ }, z.core.$strict>, z.ZodObject<{
4036
+ kind: z.ZodEnum<{
4037
+ boolean: "boolean";
4038
+ date: "date";
4039
+ integer: "integer";
4040
+ text: "text";
4041
+ }>;
4042
+ }, z.core.$strict>], "kind">;
4043
+ }, z.core.$strict>>;
4044
+ sort: z.ZodArray<z.ZodString>;
4045
+ }, z.core.$strict>;
4046
+ authority: z.ZodObject<{
4047
+ request: z.ZodArray<z.ZodString>;
4048
+ read: z.ZodArray<z.ZodString>;
4049
+ release: z.ZodArray<z.ZodString>;
4050
+ independentApproval: z.ZodLiteral<true>;
4051
+ retention: z.ZodObject<{
4052
+ policy: z.ZodString;
4053
+ years: z.ZodNumber;
4054
+ }, z.core.$strict>;
4055
+ }, z.core.$strict>;
4056
+ }, z.core.$strict>>>;
4057
+ revisioned: z.ZodOptional<z.ZodLiteral<true>>;
4058
+ family: z.ZodOptional<z.ZodObject<{
4059
+ module: z.ZodString;
4060
+ exportPath: z.ZodString;
4061
+ revision: z.ZodNumber;
4062
+ }, z.core.$strict>>;
1588
4063
  id: z.ZodString;
4064
+ subject: z.ZodOptional<z.ZodString>;
1589
4065
  title: z.ZodString;
1590
4066
  summary: z.ZodString;
1591
4067
  fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1592
4068
  name: z.ZodString;
1593
4069
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1594
4070
  description: z.ZodOptional<z.ZodString>;
4071
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1595
4072
  type: z.ZodLiteral<"money">;
1596
4073
  value: z.ZodOptional<z.ZodString>;
1597
4074
  minimum: z.ZodOptional<z.ZodString>;
@@ -1600,6 +4077,7 @@ export declare const udlDocumentSchema: z.ZodObject<{
1600
4077
  name: z.ZodString;
1601
4078
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1602
4079
  description: z.ZodOptional<z.ZodString>;
4080
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1603
4081
  type: z.ZodLiteral<"account">;
1604
4082
  owner: z.ZodString;
1605
4083
  key: z.ZodOptional<z.ZodString>;
@@ -1608,36 +4086,51 @@ export declare const udlDocumentSchema: z.ZodObject<{
1608
4086
  claim: "claim";
1609
4087
  }>>;
1610
4088
  contra: z.ZodOptional<z.ZodLiteral<true>>;
1611
- external: z.ZodOptional<z.ZodLiteral<true>>;
1612
4089
  }, z.core.$strict>, z.ZodObject<{
1613
4090
  name: z.ZodString;
1614
4091
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1615
4092
  description: z.ZodOptional<z.ZodString>;
4093
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1616
4094
  type: z.ZodLiteral<"ref">;
4095
+ targetKind: z.ZodEnum<{
4096
+ instrument: "instrument";
4097
+ object: "object";
4098
+ }>;
4099
+ targetFamily: z.ZodOptional<z.ZodObject<{
4100
+ module: z.ZodString;
4101
+ exportPath: z.ZodString;
4102
+ revision: z.ZodNumber;
4103
+ }, z.core.$strict>>;
1617
4104
  target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
1618
4105
  }, z.core.$strict>, z.ZodObject<{
1619
4106
  name: z.ZodString;
1620
4107
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1621
4108
  description: z.ZodOptional<z.ZodString>;
4109
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1622
4110
  type: z.ZodLiteral<"date">;
1623
4111
  value: z.ZodOptional<z.ZodISODateTime>;
1624
4112
  }, z.core.$strict>, z.ZodObject<{
1625
4113
  name: z.ZodString;
1626
4114
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1627
4115
  description: z.ZodOptional<z.ZodString>;
4116
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1628
4117
  type: z.ZodLiteral<"duration">;
1629
4118
  value: z.ZodOptional<z.ZodNumber>;
1630
4119
  }, z.core.$strict>, z.ZodObject<{
1631
4120
  name: z.ZodString;
1632
4121
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1633
4122
  description: z.ZodOptional<z.ZodString>;
4123
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1634
4124
  type: z.ZodLiteral<"text">;
1635
4125
  value: z.ZodOptional<z.ZodString>;
4126
+ minLength: z.ZodOptional<z.ZodNumber>;
1636
4127
  maxLength: z.ZodOptional<z.ZodNumber>;
4128
+ pattern: z.ZodOptional<z.ZodString>;
1637
4129
  }, z.core.$strict>, z.ZodObject<{
1638
4130
  name: z.ZodString;
1639
4131
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1640
4132
  description: z.ZodOptional<z.ZodString>;
4133
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1641
4134
  type: z.ZodLiteral<"integer">;
1642
4135
  value: z.ZodOptional<z.ZodNumber>;
1643
4136
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -1646,18 +4139,21 @@ export declare const udlDocumentSchema: z.ZodObject<{
1646
4139
  name: z.ZodString;
1647
4140
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1648
4141
  description: z.ZodOptional<z.ZodString>;
4142
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1649
4143
  type: z.ZodLiteral<"percent">;
1650
4144
  value: z.ZodOptional<z.ZodNumber>;
1651
4145
  }, z.core.$strict>, z.ZodObject<{
1652
4146
  name: z.ZodString;
1653
4147
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1654
4148
  description: z.ZodOptional<z.ZodString>;
4149
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1655
4150
  type: z.ZodLiteral<"boolean">;
1656
4151
  value: z.ZodOptional<z.ZodBoolean>;
1657
4152
  }, z.core.$strict>, z.ZodObject<{
1658
4153
  name: z.ZodString;
1659
4154
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1660
4155
  description: z.ZodOptional<z.ZodString>;
4156
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1661
4157
  type: z.ZodLiteral<"enum">;
1662
4158
  values: z.ZodArray<z.ZodString>;
1663
4159
  value: z.ZodOptional<z.ZodString>;
@@ -1665,6 +4161,7 @@ export declare const udlDocumentSchema: z.ZodObject<{
1665
4161
  name: z.ZodString;
1666
4162
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1667
4163
  description: z.ZodOptional<z.ZodString>;
4164
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1668
4165
  type: z.ZodLiteral<"list">;
1669
4166
  item: z.ZodEnum<{
1670
4167
  date: "date";
@@ -1673,6 +4170,15 @@ export declare const udlDocumentSchema: z.ZodObject<{
1673
4170
  ref: "ref";
1674
4171
  text: "text";
1675
4172
  }>;
4173
+ targetKind: z.ZodOptional<z.ZodEnum<{
4174
+ instrument: "instrument";
4175
+ object: "object";
4176
+ }>>;
4177
+ targetFamily: z.ZodOptional<z.ZodObject<{
4178
+ module: z.ZodString;
4179
+ exportPath: z.ZodString;
4180
+ revision: z.ZodNumber;
4181
+ }, z.core.$strict>>;
1676
4182
  target: z.ZodOptional<z.ZodString>;
1677
4183
  maxItems: z.ZodNumber;
1678
4184
  }, z.core.$strict>], "type">>;
@@ -1689,6 +4195,11 @@ export declare const udlDocumentSchema: z.ZodObject<{
1689
4195
  target: z.ZodString;
1690
4196
  op: z.ZodLiteral<"aggregate">;
1691
4197
  selection: z.ZodObject<{
4198
+ family: z.ZodOptional<z.ZodObject<{
4199
+ module: z.ZodString;
4200
+ exportPath: z.ZodString;
4201
+ revision: z.ZodNumber;
4202
+ }, z.core.$strict>>;
1692
4203
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
1693
4204
  reference: z.ZodString;
1694
4205
  anchor: z.ZodString;
@@ -1826,16 +4337,257 @@ export declare const udlDocumentSchema: z.ZodObject<{
1826
4337
  actions: z.ZodRecord<z.ZodString, z.ZodObject<{
1827
4338
  summary: z.ZodString;
1828
4339
  publicAction: z.ZodOptional<z.ZodString>;
4340
+ expansionLimit: z.ZodOptional<z.ZodLiteral<8192>>;
4341
+ humanApproval: z.ZodOptional<z.ZodLiteral<"distinct_member">>;
4342
+ reminder: z.ZodOptional<z.ZodObject<{
4343
+ installment: z.ZodString;
4344
+ recipient: z.ZodString;
4345
+ dueAt: z.ZodString;
4346
+ channel: z.ZodLiteral<"email">;
4347
+ template: z.ZodLiteral<"payment_reminder">;
4348
+ beforeDays: z.ZodNumber;
4349
+ overdueDays: z.ZodNumber;
4350
+ maxPerDay: z.ZodNumber;
4351
+ startHour: z.ZodNumber;
4352
+ endHour: z.ZodNumber;
4353
+ timezone: z.ZodString;
4354
+ }, z.core.$strict>>;
1829
4355
  event: z.ZodString;
1830
4356
  actor: z.ZodUnion<readonly [z.ZodLiteral<"caller">, z.ZodLiteral<"clock">, z.ZodObject<{
1831
4357
  party: z.ZodString;
1832
4358
  }, z.core.$strict>, z.ZodObject<{
1833
- parent: z.ZodString;
4359
+ parent: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
1834
4360
  }, z.core.$strict>]>;
4361
+ subject: z.ZodOptional<z.ZodObject<{
4362
+ requirements: z.ZodArray<z.ZodObject<{
4363
+ field: z.ZodDiscriminatedUnion<[z.ZodObject<{
4364
+ name: z.ZodString;
4365
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
4366
+ description: z.ZodOptional<z.ZodString>;
4367
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
4368
+ type: z.ZodLiteral<"money">;
4369
+ value: z.ZodOptional<z.ZodString>;
4370
+ minimum: z.ZodOptional<z.ZodString>;
4371
+ maximum: z.ZodOptional<z.ZodString>;
4372
+ }, z.core.$strict>, z.ZodObject<{
4373
+ name: z.ZodString;
4374
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
4375
+ description: z.ZodOptional<z.ZodString>;
4376
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
4377
+ type: z.ZodLiteral<"ref">;
4378
+ targetKind: z.ZodEnum<{
4379
+ instrument: "instrument";
4380
+ object: "object";
4381
+ }>;
4382
+ targetFamily: z.ZodOptional<z.ZodObject<{
4383
+ module: z.ZodString;
4384
+ exportPath: z.ZodString;
4385
+ revision: z.ZodNumber;
4386
+ }, z.core.$strict>>;
4387
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
4388
+ }, z.core.$strict>, z.ZodObject<{
4389
+ name: z.ZodString;
4390
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
4391
+ description: z.ZodOptional<z.ZodString>;
4392
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
4393
+ type: z.ZodLiteral<"date">;
4394
+ value: z.ZodOptional<z.ZodISODateTime>;
4395
+ }, z.core.$strict>, z.ZodObject<{
4396
+ name: z.ZodString;
4397
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
4398
+ description: z.ZodOptional<z.ZodString>;
4399
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
4400
+ type: z.ZodLiteral<"duration">;
4401
+ value: z.ZodOptional<z.ZodNumber>;
4402
+ }, z.core.$strict>, z.ZodObject<{
4403
+ name: z.ZodString;
4404
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
4405
+ description: z.ZodOptional<z.ZodString>;
4406
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
4407
+ type: z.ZodLiteral<"text">;
4408
+ value: z.ZodOptional<z.ZodString>;
4409
+ minLength: z.ZodOptional<z.ZodNumber>;
4410
+ maxLength: z.ZodOptional<z.ZodNumber>;
4411
+ pattern: z.ZodOptional<z.ZodString>;
4412
+ }, z.core.$strict>, z.ZodObject<{
4413
+ name: z.ZodString;
4414
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
4415
+ description: z.ZodOptional<z.ZodString>;
4416
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
4417
+ type: z.ZodLiteral<"integer">;
4418
+ value: z.ZodOptional<z.ZodNumber>;
4419
+ minimum: z.ZodOptional<z.ZodNumber>;
4420
+ maximum: z.ZodOptional<z.ZodNumber>;
4421
+ }, z.core.$strict>, z.ZodObject<{
4422
+ name: z.ZodString;
4423
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
4424
+ description: z.ZodOptional<z.ZodString>;
4425
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
4426
+ type: z.ZodLiteral<"percent">;
4427
+ value: z.ZodOptional<z.ZodNumber>;
4428
+ }, z.core.$strict>, z.ZodObject<{
4429
+ name: z.ZodString;
4430
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
4431
+ description: z.ZodOptional<z.ZodString>;
4432
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
4433
+ type: z.ZodLiteral<"boolean">;
4434
+ value: z.ZodOptional<z.ZodBoolean>;
4435
+ }, z.core.$strict>, z.ZodObject<{
4436
+ name: z.ZodString;
4437
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
4438
+ description: z.ZodOptional<z.ZodString>;
4439
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
4440
+ type: z.ZodLiteral<"enum">;
4441
+ values: z.ZodArray<z.ZodString>;
4442
+ value: z.ZodOptional<z.ZodString>;
4443
+ }, z.core.$strict>, z.ZodObject<{
4444
+ name: z.ZodString;
4445
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
4446
+ description: z.ZodOptional<z.ZodString>;
4447
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
4448
+ type: z.ZodLiteral<"list">;
4449
+ item: z.ZodEnum<{
4450
+ date: "date";
4451
+ integer: "integer";
4452
+ money: "money";
4453
+ ref: "ref";
4454
+ text: "text";
4455
+ }>;
4456
+ targetKind: z.ZodOptional<z.ZodEnum<{
4457
+ instrument: "instrument";
4458
+ object: "object";
4459
+ }>>;
4460
+ targetFamily: z.ZodOptional<z.ZodObject<{
4461
+ module: z.ZodString;
4462
+ exportPath: z.ZodString;
4463
+ revision: z.ZodNumber;
4464
+ }, z.core.$strict>>;
4465
+ target: z.ZodOptional<z.ZodString>;
4466
+ maxItems: z.ZodNumber;
4467
+ }, z.core.$strict>], "type">;
4468
+ objectField: z.ZodOptional<z.ZodString>;
4469
+ }, z.core.$strict>>;
4470
+ adapters: z.ZodArray<z.ZodObject<{
4471
+ binding: z.ZodString;
4472
+ snapshot: z.ZodNullable<z.ZodObject<{
4473
+ provider: z.ZodString;
4474
+ capability: z.ZodString;
4475
+ operation: z.ZodString;
4476
+ declarationDigest: z.ZodString;
4477
+ requirements: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4478
+ name: z.ZodString;
4479
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
4480
+ description: z.ZodOptional<z.ZodString>;
4481
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
4482
+ type: z.ZodLiteral<"money">;
4483
+ value: z.ZodOptional<z.ZodString>;
4484
+ minimum: z.ZodOptional<z.ZodString>;
4485
+ maximum: z.ZodOptional<z.ZodString>;
4486
+ }, z.core.$strict>, z.ZodObject<{
4487
+ name: z.ZodString;
4488
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
4489
+ description: z.ZodOptional<z.ZodString>;
4490
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
4491
+ type: z.ZodLiteral<"ref">;
4492
+ targetKind: z.ZodEnum<{
4493
+ instrument: "instrument";
4494
+ object: "object";
4495
+ }>;
4496
+ targetFamily: z.ZodOptional<z.ZodObject<{
4497
+ module: z.ZodString;
4498
+ exportPath: z.ZodString;
4499
+ revision: z.ZodNumber;
4500
+ }, z.core.$strict>>;
4501
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
4502
+ }, z.core.$strict>, z.ZodObject<{
4503
+ name: z.ZodString;
4504
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
4505
+ description: z.ZodOptional<z.ZodString>;
4506
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
4507
+ type: z.ZodLiteral<"date">;
4508
+ value: z.ZodOptional<z.ZodISODateTime>;
4509
+ }, z.core.$strict>, z.ZodObject<{
4510
+ name: z.ZodString;
4511
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
4512
+ description: z.ZodOptional<z.ZodString>;
4513
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
4514
+ type: z.ZodLiteral<"duration">;
4515
+ value: z.ZodOptional<z.ZodNumber>;
4516
+ }, z.core.$strict>, z.ZodObject<{
4517
+ name: z.ZodString;
4518
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
4519
+ description: z.ZodOptional<z.ZodString>;
4520
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
4521
+ type: z.ZodLiteral<"text">;
4522
+ value: z.ZodOptional<z.ZodString>;
4523
+ minLength: z.ZodOptional<z.ZodNumber>;
4524
+ maxLength: z.ZodOptional<z.ZodNumber>;
4525
+ pattern: z.ZodOptional<z.ZodString>;
4526
+ }, z.core.$strict>, z.ZodObject<{
4527
+ name: z.ZodString;
4528
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
4529
+ description: z.ZodOptional<z.ZodString>;
4530
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
4531
+ type: z.ZodLiteral<"integer">;
4532
+ value: z.ZodOptional<z.ZodNumber>;
4533
+ minimum: z.ZodOptional<z.ZodNumber>;
4534
+ maximum: z.ZodOptional<z.ZodNumber>;
4535
+ }, z.core.$strict>, z.ZodObject<{
4536
+ name: z.ZodString;
4537
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
4538
+ description: z.ZodOptional<z.ZodString>;
4539
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
4540
+ type: z.ZodLiteral<"percent">;
4541
+ value: z.ZodOptional<z.ZodNumber>;
4542
+ }, z.core.$strict>, z.ZodObject<{
4543
+ name: z.ZodString;
4544
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
4545
+ description: z.ZodOptional<z.ZodString>;
4546
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
4547
+ type: z.ZodLiteral<"boolean">;
4548
+ value: z.ZodOptional<z.ZodBoolean>;
4549
+ }, z.core.$strict>, z.ZodObject<{
4550
+ name: z.ZodString;
4551
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
4552
+ description: z.ZodOptional<z.ZodString>;
4553
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
4554
+ type: z.ZodLiteral<"enum">;
4555
+ values: z.ZodArray<z.ZodString>;
4556
+ value: z.ZodOptional<z.ZodString>;
4557
+ }, z.core.$strict>, z.ZodObject<{
4558
+ name: z.ZodString;
4559
+ optional: z.ZodOptional<z.ZodLiteral<true>>;
4560
+ description: z.ZodOptional<z.ZodString>;
4561
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
4562
+ type: z.ZodLiteral<"list">;
4563
+ item: z.ZodEnum<{
4564
+ date: "date";
4565
+ integer: "integer";
4566
+ money: "money";
4567
+ ref: "ref";
4568
+ text: "text";
4569
+ }>;
4570
+ targetKind: z.ZodOptional<z.ZodEnum<{
4571
+ instrument: "instrument";
4572
+ object: "object";
4573
+ }>>;
4574
+ targetFamily: z.ZodOptional<z.ZodObject<{
4575
+ module: z.ZodString;
4576
+ exportPath: z.ZodString;
4577
+ revision: z.ZodNumber;
4578
+ }, z.core.$strict>>;
4579
+ target: z.ZodOptional<z.ZodString>;
4580
+ maxItems: z.ZodNumber;
4581
+ }, z.core.$strict>], "type">>;
4582
+ }, z.core.$strict>>;
4583
+ renames: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4584
+ }, z.core.$strict>>;
4585
+ }, z.core.$strict>>;
1835
4586
  input: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1836
4587
  name: z.ZodString;
1837
4588
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1838
4589
  description: z.ZodOptional<z.ZodString>;
4590
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1839
4591
  type: z.ZodLiteral<"money">;
1840
4592
  value: z.ZodOptional<z.ZodString>;
1841
4593
  minimum: z.ZodOptional<z.ZodString>;
@@ -1844,6 +4596,7 @@ export declare const udlDocumentSchema: z.ZodObject<{
1844
4596
  name: z.ZodString;
1845
4597
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1846
4598
  description: z.ZodOptional<z.ZodString>;
4599
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1847
4600
  type: z.ZodLiteral<"account">;
1848
4601
  owner: z.ZodString;
1849
4602
  key: z.ZodOptional<z.ZodString>;
@@ -1852,36 +4605,51 @@ export declare const udlDocumentSchema: z.ZodObject<{
1852
4605
  claim: "claim";
1853
4606
  }>>;
1854
4607
  contra: z.ZodOptional<z.ZodLiteral<true>>;
1855
- external: z.ZodOptional<z.ZodLiteral<true>>;
1856
4608
  }, z.core.$strict>, z.ZodObject<{
1857
4609
  name: z.ZodString;
1858
4610
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1859
4611
  description: z.ZodOptional<z.ZodString>;
4612
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1860
4613
  type: z.ZodLiteral<"ref">;
4614
+ targetKind: z.ZodEnum<{
4615
+ instrument: "instrument";
4616
+ object: "object";
4617
+ }>;
4618
+ targetFamily: z.ZodOptional<z.ZodObject<{
4619
+ module: z.ZodString;
4620
+ exportPath: z.ZodString;
4621
+ revision: z.ZodNumber;
4622
+ }, z.core.$strict>>;
1861
4623
  target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
1862
4624
  }, z.core.$strict>, z.ZodObject<{
1863
4625
  name: z.ZodString;
1864
4626
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1865
4627
  description: z.ZodOptional<z.ZodString>;
4628
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1866
4629
  type: z.ZodLiteral<"date">;
1867
4630
  value: z.ZodOptional<z.ZodISODateTime>;
1868
4631
  }, z.core.$strict>, z.ZodObject<{
1869
4632
  name: z.ZodString;
1870
4633
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1871
4634
  description: z.ZodOptional<z.ZodString>;
4635
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1872
4636
  type: z.ZodLiteral<"duration">;
1873
4637
  value: z.ZodOptional<z.ZodNumber>;
1874
4638
  }, z.core.$strict>, z.ZodObject<{
1875
4639
  name: z.ZodString;
1876
4640
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1877
4641
  description: z.ZodOptional<z.ZodString>;
4642
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1878
4643
  type: z.ZodLiteral<"text">;
1879
4644
  value: z.ZodOptional<z.ZodString>;
4645
+ minLength: z.ZodOptional<z.ZodNumber>;
1880
4646
  maxLength: z.ZodOptional<z.ZodNumber>;
4647
+ pattern: z.ZodOptional<z.ZodString>;
1881
4648
  }, z.core.$strict>, z.ZodObject<{
1882
4649
  name: z.ZodString;
1883
4650
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1884
4651
  description: z.ZodOptional<z.ZodString>;
4652
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1885
4653
  type: z.ZodLiteral<"integer">;
1886
4654
  value: z.ZodOptional<z.ZodNumber>;
1887
4655
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -1890,18 +4658,21 @@ export declare const udlDocumentSchema: z.ZodObject<{
1890
4658
  name: z.ZodString;
1891
4659
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1892
4660
  description: z.ZodOptional<z.ZodString>;
4661
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1893
4662
  type: z.ZodLiteral<"percent">;
1894
4663
  value: z.ZodOptional<z.ZodNumber>;
1895
4664
  }, z.core.$strict>, z.ZodObject<{
1896
4665
  name: z.ZodString;
1897
4666
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1898
4667
  description: z.ZodOptional<z.ZodString>;
4668
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1899
4669
  type: z.ZodLiteral<"boolean">;
1900
4670
  value: z.ZodOptional<z.ZodBoolean>;
1901
4671
  }, z.core.$strict>, z.ZodObject<{
1902
4672
  name: z.ZodString;
1903
4673
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1904
4674
  description: z.ZodOptional<z.ZodString>;
4675
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1905
4676
  type: z.ZodLiteral<"enum">;
1906
4677
  values: z.ZodArray<z.ZodString>;
1907
4678
  value: z.ZodOptional<z.ZodString>;
@@ -1909,6 +4680,7 @@ export declare const udlDocumentSchema: z.ZodObject<{
1909
4680
  name: z.ZodString;
1910
4681
  optional: z.ZodOptional<z.ZodLiteral<true>>;
1911
4682
  description: z.ZodOptional<z.ZodString>;
4683
+ sensitive: z.ZodOptional<z.ZodLiteral<true>>;
1912
4684
  type: z.ZodLiteral<"list">;
1913
4685
  item: z.ZodEnum<{
1914
4686
  date: "date";
@@ -1917,6 +4689,15 @@ export declare const udlDocumentSchema: z.ZodObject<{
1917
4689
  ref: "ref";
1918
4690
  text: "text";
1919
4691
  }>;
4692
+ targetKind: z.ZodOptional<z.ZodEnum<{
4693
+ instrument: "instrument";
4694
+ object: "object";
4695
+ }>>;
4696
+ targetFamily: z.ZodOptional<z.ZodObject<{
4697
+ module: z.ZodString;
4698
+ exportPath: z.ZodString;
4699
+ revision: z.ZodNumber;
4700
+ }, z.core.$strict>>;
1920
4701
  target: z.ZodOptional<z.ZodString>;
1921
4702
  maxItems: z.ZodNumber;
1922
4703
  }, z.core.$strict>], "type">>;
@@ -1957,6 +4738,11 @@ export declare const udlDocumentSchema: z.ZodObject<{
1957
4738
  }, z.core.$strict>, z.ZodObject<{
1958
4739
  kind: z.ZodLiteral<"aggregate">;
1959
4740
  selection: z.ZodObject<{
4741
+ family: z.ZodOptional<z.ZodObject<{
4742
+ module: z.ZodString;
4743
+ exportPath: z.ZodString;
4744
+ revision: z.ZodNumber;
4745
+ }, z.core.$strict>>;
1960
4746
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
1961
4747
  reference: z.ZodString;
1962
4748
  anchor: z.ZodString;
@@ -1997,8 +4783,11 @@ export declare const udlDocumentSchema: z.ZodObject<{
1997
4783
  approved: "approved";
1998
4784
  declined: "declined";
1999
4785
  }>;
4786
+ differentFromInitiator: z.ZodOptional<z.ZodLiteral<true>>;
4787
+ protectedRequest: z.ZodDefault<z.ZodString>;
2000
4788
  }, z.core.$strict>, z.ZodObject<{
2001
4789
  kind: z.ZodLiteral<"evidence">;
4790
+ instruction: z.ZodOptional<z.ZodString>;
2002
4791
  subject: z.ZodString;
2003
4792
  family: z.ZodString;
2004
4793
  check: z.ZodString;
@@ -2008,10 +4797,28 @@ export declare const udlDocumentSchema: z.ZodObject<{
2008
4797
  due: z.ZodOptional<z.ZodObject<{
2009
4798
  at: z.ZodString;
2010
4799
  offset: z.ZodOptional<z.ZodNumber>;
4800
+ localDay: z.ZodOptional<z.ZodObject<{
4801
+ days: z.ZodNumber;
4802
+ direction: z.ZodEnum<{
4803
+ after: "after";
4804
+ before: "before";
4805
+ }>;
4806
+ hour: z.ZodNumber;
4807
+ timezone: z.ZodString;
4808
+ }, z.core.$strict>>;
2011
4809
  }, z.core.$strict>>;
2012
4810
  deadline: z.ZodOptional<z.ZodObject<{
2013
4811
  at: z.ZodString;
2014
4812
  offset: z.ZodOptional<z.ZodNumber>;
4813
+ localDay: z.ZodOptional<z.ZodObject<{
4814
+ days: z.ZodNumber;
4815
+ direction: z.ZodEnum<{
4816
+ after: "after";
4817
+ before: "before";
4818
+ }>;
4819
+ hour: z.ZodNumber;
4820
+ timezone: z.ZodString;
4821
+ }, z.core.$strict>>;
2015
4822
  }, z.core.$strict>>;
2016
4823
  set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2017
4824
  literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
@@ -2031,6 +4838,11 @@ export declare const udlDocumentSchema: z.ZodObject<{
2031
4838
  target: z.ZodString;
2032
4839
  op: z.ZodLiteral<"aggregate">;
2033
4840
  selection: z.ZodObject<{
4841
+ family: z.ZodOptional<z.ZodObject<{
4842
+ module: z.ZodString;
4843
+ exportPath: z.ZodString;
4844
+ revision: z.ZodNumber;
4845
+ }, z.core.$strict>>;
2034
4846
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
2035
4847
  reference: z.ZodString;
2036
4848
  anchor: z.ZodString;
@@ -2171,6 +4983,9 @@ export declare const udlDocumentSchema: z.ZodObject<{
2171
4983
  }, z.core.$strict>, z.ZodObject<{
2172
4984
  key: z.ZodString;
2173
4985
  operation: z.ZodLiteral<"internal_transfer.reserve">;
4986
+ boundary: z.ZodOptional<z.ZodObject<{
4987
+ adapter: z.ZodString;
4988
+ }, z.core.$strict>>;
2174
4989
  amount: z.ZodUnion<readonly [z.ZodObject<{
2175
4990
  literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
2176
4991
  }, z.core.$strict>, z.ZodObject<{
@@ -2198,6 +5013,36 @@ export declare const udlDocumentSchema: z.ZodObject<{
2198
5013
  }, z.core.$strict>, z.ZodObject<{
2199
5014
  field: z.ZodString;
2200
5015
  }, z.core.$strict>]>>;
5016
+ guard: z.ZodOptional<z.ZodObject<{
5017
+ kind: z.ZodLiteral<"compare">;
5018
+ left: z.ZodUnion<readonly [z.ZodObject<{
5019
+ literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
5020
+ }, z.core.$strict>, z.ZodObject<{
5021
+ field: z.ZodString;
5022
+ }, z.core.$strict>]>;
5023
+ operator: z.ZodEnum<{
5024
+ "!=": "!=";
5025
+ "<": "<";
5026
+ "<=": "<=";
5027
+ "==": "==";
5028
+ ">": ">";
5029
+ ">=": ">=";
5030
+ }>;
5031
+ right: z.ZodUnion<readonly [z.ZodObject<{
5032
+ literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
5033
+ }, z.core.$strict>, z.ZodObject<{
5034
+ field: z.ZodString;
5035
+ }, z.core.$strict>]>;
5036
+ }, z.core.$strict>>;
5037
+ range: z.ZodOptional<z.ZodObject<{
5038
+ count: z.ZodUnion<readonly [z.ZodObject<{
5039
+ literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
5040
+ }, z.core.$strict>, z.ZodObject<{
5041
+ field: z.ZodString;
5042
+ }, z.core.$strict>]>;
5043
+ maximum: z.ZodNumber;
5044
+ bind: z.ZodString;
5045
+ }, z.core.$strict>>;
2201
5046
  }, z.core.$strict>, z.ZodObject<{
2202
5047
  reference: z.ZodString;
2203
5048
  action: z.ZodString;
@@ -2206,8 +5051,34 @@ export declare const udlDocumentSchema: z.ZodObject<{
2206
5051
  }, z.core.$strict>, z.ZodObject<{
2207
5052
  field: z.ZodString;
2208
5053
  }, z.core.$strict>]>>;
5054
+ guard: z.ZodOptional<z.ZodObject<{
5055
+ kind: z.ZodLiteral<"compare">;
5056
+ left: z.ZodUnion<readonly [z.ZodObject<{
5057
+ literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
5058
+ }, z.core.$strict>, z.ZodObject<{
5059
+ field: z.ZodString;
5060
+ }, z.core.$strict>]>;
5061
+ operator: z.ZodEnum<{
5062
+ "!=": "!=";
5063
+ "<": "<";
5064
+ "<=": "<=";
5065
+ "==": "==";
5066
+ ">": ">";
5067
+ ">=": ">=";
5068
+ }>;
5069
+ right: z.ZodUnion<readonly [z.ZodObject<{
5070
+ literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
5071
+ }, z.core.$strict>, z.ZodObject<{
5072
+ field: z.ZodString;
5073
+ }, z.core.$strict>]>;
5074
+ }, z.core.$strict>>;
2209
5075
  }, z.core.$strict>, z.ZodObject<{
2210
5076
  selection: z.ZodObject<{
5077
+ family: z.ZodOptional<z.ZodObject<{
5078
+ module: z.ZodString;
5079
+ exportPath: z.ZodString;
5080
+ revision: z.ZodNumber;
5081
+ }, z.core.$strict>>;
2211
5082
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
2212
5083
  reference: z.ZodString;
2213
5084
  anchor: z.ZodString;
@@ -2230,8 +5101,30 @@ export declare const udlDocumentSchema: z.ZodObject<{
2230
5101
  }, z.core.$strict>, z.ZodObject<{
2231
5102
  field: z.ZodString;
2232
5103
  }, z.core.$strict>]>>;
5104
+ guard: z.ZodOptional<z.ZodObject<{
5105
+ kind: z.ZodLiteral<"compare">;
5106
+ left: z.ZodUnion<readonly [z.ZodObject<{
5107
+ literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
5108
+ }, z.core.$strict>, z.ZodObject<{
5109
+ field: z.ZodString;
5110
+ }, z.core.$strict>]>;
5111
+ operator: z.ZodEnum<{
5112
+ "!=": "!=";
5113
+ "<": "<";
5114
+ "<=": "<=";
5115
+ "==": "==";
5116
+ ">": ">";
5117
+ ">=": ">=";
5118
+ }>;
5119
+ right: z.ZodUnion<readonly [z.ZodObject<{
5120
+ literal: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
5121
+ }, z.core.$strict>, z.ZodObject<{
5122
+ field: z.ZodString;
5123
+ }, z.core.$strict>]>;
5124
+ }, z.core.$strict>>;
2233
5125
  }, z.core.$strict>]>>>;
2234
5126
  approval: z.ZodOptional<z.ZodObject<{
5127
+ protectedRequest: z.ZodDefault<z.ZodString>;
2235
5128
  target: z.ZodString;
2236
5129
  action: z.ZodString;
2237
5130
  party: z.ZodString;
@@ -2285,6 +5178,11 @@ export declare const udlDocumentSchema: z.ZodObject<{
2285
5178
  }, z.core.$strict>, z.ZodObject<{
2286
5179
  kind: z.ZodLiteral<"aggregate">;
2287
5180
  selection: z.ZodObject<{
5181
+ family: z.ZodOptional<z.ZodObject<{
5182
+ module: z.ZodString;
5183
+ exportPath: z.ZodString;
5184
+ revision: z.ZodNumber;
5185
+ }, z.core.$strict>>;
2288
5186
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
2289
5187
  reference: z.ZodString;
2290
5188
  anchor: z.ZodString;
@@ -2325,8 +5223,11 @@ export declare const udlDocumentSchema: z.ZodObject<{
2325
5223
  approved: "approved";
2326
5224
  declined: "declined";
2327
5225
  }>;
5226
+ differentFromInitiator: z.ZodOptional<z.ZodLiteral<true>>;
5227
+ protectedRequest: z.ZodDefault<z.ZodString>;
2328
5228
  }, z.core.$strict>, z.ZodObject<{
2329
5229
  kind: z.ZodLiteral<"evidence">;
5230
+ instruction: z.ZodOptional<z.ZodString>;
2330
5231
  subject: z.ZodString;
2331
5232
  family: z.ZodString;
2332
5233
  check: z.ZodString;
@@ -2339,6 +5240,7 @@ export declare const udlDocumentSchema: z.ZodObject<{
2339
5240
  }, z.core.$strict>>>;
2340
5241
  }, z.core.$strict>>;
2341
5242
  }, z.core.$strict>;
5243
+ export type UdlFamily = z.infer<typeof udlFamilySchema>;
2342
5244
  export type UdlDocument = z.infer<typeof udlDocumentSchema>;
2343
5245
  export type UdlInstrument = z.infer<typeof udlInstrumentSchema>;
2344
5246
  export type UdlField = z.infer<typeof udlFieldSchema>;
@@ -2351,5 +5253,12 @@ export type UdlMove = z.infer<typeof udlMoveSchema>;
2351
5253
  export type UdlLifecycle = z.infer<typeof udlLifecycleSchema>;
2352
5254
  export type UdlKernelOperation = z.infer<typeof udlKernelOperationSchema>;
2353
5255
  export type UdlSelection = z.infer<typeof selection>;
5256
+ export type UdlObjectField = z.infer<typeof udlObjectFieldSchema>;
5257
+ export type UdlObjectKind = z.infer<typeof udlObjectKindSchema>;
5258
+ export type UdlActionSubject = z.infer<typeof udlActionSubjectSchema>;
5259
+ export type UdlSubjectRequirement = z.infer<typeof udlSubjectRequirementSchema>;
5260
+ export type UdlAdapterSubjectSnapshot = z.infer<typeof adapterSubjectSnapshotSchema>;
5261
+ /** Names and display text may differ; executable constraints must match. */
5262
+ export declare function sameObjectField(left: UdlObjectField, right: UdlObjectField): boolean;
2354
5263
  export {};
2355
5264
  //# sourceMappingURL=schema.d.ts.map