@wowok/agent-mcp 2.2.8

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 (62) hide show
  1. package/README.md +56 -0
  2. package/dist/index.d.ts +15800 -0
  3. package/dist/index.js +1479 -0
  4. package/dist/schema/call/allocation.d.ts +1430 -0
  5. package/dist/schema/call/allocation.js +24 -0
  6. package/dist/schema/call/arbitration.d.ts +1974 -0
  7. package/dist/schema/call/arbitration.js +92 -0
  8. package/dist/schema/call/base.d.ts +7325 -0
  9. package/dist/schema/call/base.js +138 -0
  10. package/dist/schema/call/contact.d.ts +970 -0
  11. package/dist/schema/call/contact.js +37 -0
  12. package/dist/schema/call/demand.d.ts +1265 -0
  13. package/dist/schema/call/demand.js +47 -0
  14. package/dist/schema/call/guard.d.ts +951 -0
  15. package/dist/schema/call/guard.js +58 -0
  16. package/dist/schema/call/handler.d.ts +38 -0
  17. package/dist/schema/call/handler.js +171 -0
  18. package/dist/schema/call/index.d.ts +18 -0
  19. package/dist/schema/call/index.js +18 -0
  20. package/dist/schema/call/machine.d.ts +3974 -0
  21. package/dist/schema/call/machine.js +152 -0
  22. package/dist/schema/call/order.d.ts +974 -0
  23. package/dist/schema/call/order.js +34 -0
  24. package/dist/schema/call/payment.d.ts +404 -0
  25. package/dist/schema/call/payment.js +17 -0
  26. package/dist/schema/call/permission.d.ts +3017 -0
  27. package/dist/schema/call/permission.js +105 -0
  28. package/dist/schema/call/personal.d.ts +1472 -0
  29. package/dist/schema/call/personal.js +68 -0
  30. package/dist/schema/call/progress.d.ts +725 -0
  31. package/dist/schema/call/progress.js +26 -0
  32. package/dist/schema/call/proof.d.ts +320 -0
  33. package/dist/schema/call/proof.js +27 -0
  34. package/dist/schema/call/repository.d.ts +2358 -0
  35. package/dist/schema/call/repository.js +76 -0
  36. package/dist/schema/call/reward.d.ts +1232 -0
  37. package/dist/schema/call/reward.js +30 -0
  38. package/dist/schema/call/service.d.ts +3494 -0
  39. package/dist/schema/call/service.js +82 -0
  40. package/dist/schema/call/treasury.d.ts +2345 -0
  41. package/dist/schema/call/treasury.js +71 -0
  42. package/dist/schema/common/index.d.ts +843 -0
  43. package/dist/schema/common/index.js +347 -0
  44. package/dist/schema/index.d.ts +7 -0
  45. package/dist/schema/index.js +7 -0
  46. package/dist/schema/local/index.d.ts +17522 -0
  47. package/dist/schema/local/index.js +855 -0
  48. package/dist/schema/local/wip.d.ts +784 -0
  49. package/dist/schema/local/wip.js +187 -0
  50. package/dist/schema/messenger/index.d.ts +4655 -0
  51. package/dist/schema/messenger/index.js +446 -0
  52. package/dist/schema/query/index.d.ts +73445 -0
  53. package/dist/schema/query/index.js +1324 -0
  54. package/dist/schema/utils/guard-parser.d.ts +20 -0
  55. package/dist/schema/utils/guard-parser.js +401 -0
  56. package/dist/schema/utils/guard-query-utils.d.ts +5 -0
  57. package/dist/schema/utils/guard-query-utils.js +22 -0
  58. package/dist/schema/utils/node-parser.d.ts +45 -0
  59. package/dist/schema/utils/node-parser.js +353 -0
  60. package/dist/schema/utils/permission-index-utils.d.ts +2 -0
  61. package/dist/schema/utils/permission-index-utils.js +7 -0
  62. package/package.json +48 -0
@@ -0,0 +1,3974 @@
1
+ import { z } from 'zod';
2
+ export declare const ProgressNamedOperatorSchema: z.ZodObject<{
3
+ op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">, z.ZodLiteral<"remove">]>;
4
+ name: z.ZodEffects<z.ZodString, string, string>;
5
+ operators: z.ZodObject<{
6
+ entities: z.ZodArray<z.ZodObject<{
7
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
8
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
9
+ }, "strict", z.ZodTypeAny, {
10
+ name_or_address?: string | undefined;
11
+ local_mark_first?: boolean | undefined;
12
+ }, {
13
+ name_or_address?: string | undefined;
14
+ local_mark_first?: boolean | undefined;
15
+ }>, "many">;
16
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
17
+ }, "strict", z.ZodTypeAny, {
18
+ entities: {
19
+ name_or_address?: string | undefined;
20
+ local_mark_first?: boolean | undefined;
21
+ }[];
22
+ check_all_founded?: boolean | undefined;
23
+ }, {
24
+ entities: {
25
+ name_or_address?: string | undefined;
26
+ local_mark_first?: boolean | undefined;
27
+ }[];
28
+ check_all_founded?: boolean | undefined;
29
+ }>;
30
+ }, "strict", z.ZodTypeAny, {
31
+ name: string;
32
+ op: "set" | "add" | "remove";
33
+ operators: {
34
+ entities: {
35
+ name_or_address?: string | undefined;
36
+ local_mark_first?: boolean | undefined;
37
+ }[];
38
+ check_all_founded?: boolean | undefined;
39
+ };
40
+ }, {
41
+ name: string;
42
+ op: "set" | "add" | "remove";
43
+ operators: {
44
+ entities: {
45
+ name_or_address?: string | undefined;
46
+ local_mark_first?: boolean | undefined;
47
+ }[];
48
+ check_all_founded?: boolean | undefined;
49
+ };
50
+ }>;
51
+ export declare const ProgressNewSchema: z.ZodObject<{
52
+ task: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
53
+ repository: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
54
+ op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
55
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
56
+ }, "strict", z.ZodTypeAny, {
57
+ op: "set" | "add";
58
+ objects: string[];
59
+ }, {
60
+ op: "set" | "add";
61
+ objects: string[];
62
+ }>, z.ZodObject<{
63
+ op: z.ZodLiteral<"remove">;
64
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
65
+ }, "strict", z.ZodTypeAny, {
66
+ op: "remove";
67
+ objects: string[];
68
+ }, {
69
+ op: "remove";
70
+ objects: string[];
71
+ }>, z.ZodObject<{
72
+ op: z.ZodLiteral<"clear">;
73
+ }, "strict", z.ZodTypeAny, {
74
+ op: "clear";
75
+ }, {
76
+ op: "clear";
77
+ }>]>>;
78
+ progress_namedOperator: z.ZodOptional<z.ZodObject<{
79
+ op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">, z.ZodLiteral<"remove">]>;
80
+ name: z.ZodEffects<z.ZodString, string, string>;
81
+ operators: z.ZodObject<{
82
+ entities: z.ZodArray<z.ZodObject<{
83
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
84
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
85
+ }, "strict", z.ZodTypeAny, {
86
+ name_or_address?: string | undefined;
87
+ local_mark_first?: boolean | undefined;
88
+ }, {
89
+ name_or_address?: string | undefined;
90
+ local_mark_first?: boolean | undefined;
91
+ }>, "many">;
92
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
93
+ }, "strict", z.ZodTypeAny, {
94
+ entities: {
95
+ name_or_address?: string | undefined;
96
+ local_mark_first?: boolean | undefined;
97
+ }[];
98
+ check_all_founded?: boolean | undefined;
99
+ }, {
100
+ entities: {
101
+ name_or_address?: string | undefined;
102
+ local_mark_first?: boolean | undefined;
103
+ }[];
104
+ check_all_founded?: boolean | undefined;
105
+ }>;
106
+ }, "strict", z.ZodTypeAny, {
107
+ name: string;
108
+ op: "set" | "add" | "remove";
109
+ operators: {
110
+ entities: {
111
+ name_or_address?: string | undefined;
112
+ local_mark_first?: boolean | undefined;
113
+ }[];
114
+ check_all_founded?: boolean | undefined;
115
+ };
116
+ }, {
117
+ name: string;
118
+ op: "set" | "add" | "remove";
119
+ operators: {
120
+ entities: {
121
+ name_or_address?: string | undefined;
122
+ local_mark_first?: boolean | undefined;
123
+ }[];
124
+ check_all_founded?: boolean | undefined;
125
+ };
126
+ }>>;
127
+ namedNew: z.ZodOptional<z.ZodObject<{
128
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
129
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
130
+ onChain: z.ZodOptional<z.ZodBoolean>;
131
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
132
+ }, "strict", z.ZodTypeAny, {
133
+ name?: string | undefined;
134
+ replaceExistName?: boolean | undefined;
135
+ tags?: string[] | undefined;
136
+ onChain?: boolean | undefined;
137
+ }, {
138
+ name?: string | undefined;
139
+ replaceExistName?: boolean | undefined;
140
+ tags?: string[] | undefined;
141
+ onChain?: boolean | undefined;
142
+ }>>;
143
+ }, "strict", z.ZodTypeAny, {
144
+ task?: string | null | undefined;
145
+ namedNew?: {
146
+ name?: string | undefined;
147
+ replaceExistName?: boolean | undefined;
148
+ tags?: string[] | undefined;
149
+ onChain?: boolean | undefined;
150
+ } | undefined;
151
+ repository?: {
152
+ op: "set" | "add";
153
+ objects: string[];
154
+ } | {
155
+ op: "remove";
156
+ objects: string[];
157
+ } | {
158
+ op: "clear";
159
+ } | undefined;
160
+ progress_namedOperator?: {
161
+ name: string;
162
+ op: "set" | "add" | "remove";
163
+ operators: {
164
+ entities: {
165
+ name_or_address?: string | undefined;
166
+ local_mark_first?: boolean | undefined;
167
+ }[];
168
+ check_all_founded?: boolean | undefined;
169
+ };
170
+ } | undefined;
171
+ }, {
172
+ task?: string | null | undefined;
173
+ namedNew?: {
174
+ name?: string | undefined;
175
+ replaceExistName?: boolean | undefined;
176
+ tags?: string[] | undefined;
177
+ onChain?: boolean | undefined;
178
+ } | undefined;
179
+ repository?: {
180
+ op: "set" | "add";
181
+ objects: string[];
182
+ } | {
183
+ op: "remove";
184
+ objects: string[];
185
+ } | {
186
+ op: "clear";
187
+ } | undefined;
188
+ progress_namedOperator?: {
189
+ name: string;
190
+ op: "set" | "add" | "remove";
191
+ operators: {
192
+ entities: {
193
+ name_or_address?: string | undefined;
194
+ local_mark_first?: boolean | undefined;
195
+ }[];
196
+ check_all_founded?: boolean | undefined;
197
+ };
198
+ } | undefined;
199
+ }>;
200
+ export declare const NodeAddForwardDataSchema: z.ZodObject<{
201
+ prior_node_name: z.ZodEffects<z.ZodString, string, string>;
202
+ node_name: z.ZodEffects<z.ZodString, string, string>;
203
+ forward: z.ZodArray<z.ZodObject<{
204
+ name: z.ZodEffects<z.ZodString, string, string>;
205
+ namedOperator: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
206
+ permissionIndex: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodNumber, number, number>, z.ZodNull]>>;
207
+ weight: z.ZodNumber;
208
+ }, "strict", z.ZodTypeAny, {
209
+ name: string;
210
+ weight: number;
211
+ namedOperator?: string | null | undefined;
212
+ permissionIndex?: number | null | undefined;
213
+ }, {
214
+ name: string;
215
+ weight: number;
216
+ namedOperator?: string | null | undefined;
217
+ permissionIndex?: number | null | undefined;
218
+ }>, "many">;
219
+ threshold: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
220
+ }, "strict", z.ZodTypeAny, {
221
+ forward: {
222
+ name: string;
223
+ weight: number;
224
+ namedOperator?: string | null | undefined;
225
+ permissionIndex?: number | null | undefined;
226
+ }[];
227
+ prior_node_name: string;
228
+ node_name: string;
229
+ threshold?: number | null | undefined;
230
+ }, {
231
+ forward: {
232
+ name: string;
233
+ weight: number;
234
+ namedOperator?: string | null | undefined;
235
+ permissionIndex?: number | null | undefined;
236
+ }[];
237
+ prior_node_name: string;
238
+ node_name: string;
239
+ threshold?: number | null | undefined;
240
+ }>;
241
+ export declare const NodeRemoveForwardDataSchema: z.ZodObject<{
242
+ prior_node_name: z.ZodEffects<z.ZodString, string, string>;
243
+ node_name: z.ZodEffects<z.ZodString, string, string>;
244
+ forward_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
245
+ }, "strict", z.ZodTypeAny, {
246
+ prior_node_name: string;
247
+ node_name: string;
248
+ forward_name: string[];
249
+ }, {
250
+ prior_node_name: string;
251
+ node_name: string;
252
+ forward_name: string[];
253
+ }>;
254
+ export declare const NodeRemovePriorNodeDataSchema: z.ZodObject<{
255
+ prior_node_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
256
+ node_name: z.ZodEffects<z.ZodString, string, string>;
257
+ }, "strict", z.ZodTypeAny, {
258
+ prior_node_name: string[];
259
+ node_name: string;
260
+ }, {
261
+ prior_node_name: string[];
262
+ node_name: string;
263
+ }>;
264
+ export declare const NodeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
265
+ op: z.ZodLiteral<"add">;
266
+ nodes: z.ZodArray<z.ZodObject<{
267
+ name: z.ZodString;
268
+ pairs: z.ZodArray<z.ZodObject<{
269
+ prev_node: z.ZodString;
270
+ threshold: z.ZodNumber;
271
+ forwards: z.ZodArray<z.ZodObject<{
272
+ name: z.ZodString;
273
+ namedOperator: z.ZodOptional<z.ZodString>;
274
+ permissionIndex: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
275
+ weight: z.ZodNumber;
276
+ guard: z.ZodOptional<z.ZodObject<{
277
+ guard: z.ZodString;
278
+ retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
279
+ }, "strict", z.ZodTypeAny, {
280
+ guard: string;
281
+ retained_submission?: number[] | undefined;
282
+ }, {
283
+ guard: string;
284
+ retained_submission?: number[] | undefined;
285
+ }>>;
286
+ }, "strict", z.ZodTypeAny, {
287
+ name: string;
288
+ weight: number;
289
+ guard?: {
290
+ guard: string;
291
+ retained_submission?: number[] | undefined;
292
+ } | undefined;
293
+ namedOperator?: string | undefined;
294
+ permissionIndex?: number | undefined;
295
+ }, {
296
+ name: string;
297
+ weight: number;
298
+ guard?: {
299
+ guard: string;
300
+ retained_submission?: number[] | undefined;
301
+ } | undefined;
302
+ namedOperator?: string | undefined;
303
+ permissionIndex?: number | undefined;
304
+ }>, "many">;
305
+ }, "strict", z.ZodTypeAny, {
306
+ forwards: {
307
+ name: string;
308
+ weight: number;
309
+ guard?: {
310
+ guard: string;
311
+ retained_submission?: number[] | undefined;
312
+ } | undefined;
313
+ namedOperator?: string | undefined;
314
+ permissionIndex?: number | undefined;
315
+ }[];
316
+ threshold: number;
317
+ prev_node: string;
318
+ }, {
319
+ forwards: {
320
+ name: string;
321
+ weight: number;
322
+ guard?: {
323
+ guard: string;
324
+ retained_submission?: number[] | undefined;
325
+ } | undefined;
326
+ namedOperator?: string | undefined;
327
+ permissionIndex?: number | undefined;
328
+ }[];
329
+ threshold: number;
330
+ prev_node: string;
331
+ }>, "many">;
332
+ }, "strict", z.ZodTypeAny, {
333
+ name: string;
334
+ pairs: {
335
+ forwards: {
336
+ name: string;
337
+ weight: number;
338
+ guard?: {
339
+ guard: string;
340
+ retained_submission?: number[] | undefined;
341
+ } | undefined;
342
+ namedOperator?: string | undefined;
343
+ permissionIndex?: number | undefined;
344
+ }[];
345
+ threshold: number;
346
+ prev_node: string;
347
+ }[];
348
+ }, {
349
+ name: string;
350
+ pairs: {
351
+ forwards: {
352
+ name: string;
353
+ weight: number;
354
+ guard?: {
355
+ guard: string;
356
+ retained_submission?: number[] | undefined;
357
+ } | undefined;
358
+ namedOperator?: string | undefined;
359
+ permissionIndex?: number | undefined;
360
+ }[];
361
+ threshold: number;
362
+ prev_node: string;
363
+ }[];
364
+ }>, "many">;
365
+ bReplace: z.ZodOptional<z.ZodBoolean>;
366
+ }, "strict", z.ZodTypeAny, {
367
+ op: "add";
368
+ nodes: {
369
+ name: string;
370
+ pairs: {
371
+ forwards: {
372
+ name: string;
373
+ weight: number;
374
+ guard?: {
375
+ guard: string;
376
+ retained_submission?: number[] | undefined;
377
+ } | undefined;
378
+ namedOperator?: string | undefined;
379
+ permissionIndex?: number | undefined;
380
+ }[];
381
+ threshold: number;
382
+ prev_node: string;
383
+ }[];
384
+ }[];
385
+ bReplace?: boolean | undefined;
386
+ }, {
387
+ op: "add";
388
+ nodes: {
389
+ name: string;
390
+ pairs: {
391
+ forwards: {
392
+ name: string;
393
+ weight: number;
394
+ guard?: {
395
+ guard: string;
396
+ retained_submission?: number[] | undefined;
397
+ } | undefined;
398
+ namedOperator?: string | undefined;
399
+ permissionIndex?: number | undefined;
400
+ }[];
401
+ threshold: number;
402
+ prev_node: string;
403
+ }[];
404
+ }[];
405
+ bReplace?: boolean | undefined;
406
+ }>, z.ZodObject<{
407
+ op: z.ZodLiteral<"set">;
408
+ nodes: z.ZodArray<z.ZodObject<{
409
+ name: z.ZodString;
410
+ pairs: z.ZodArray<z.ZodObject<{
411
+ prev_node: z.ZodString;
412
+ threshold: z.ZodNumber;
413
+ forwards: z.ZodArray<z.ZodObject<{
414
+ name: z.ZodString;
415
+ namedOperator: z.ZodOptional<z.ZodString>;
416
+ permissionIndex: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
417
+ weight: z.ZodNumber;
418
+ guard: z.ZodOptional<z.ZodObject<{
419
+ guard: z.ZodString;
420
+ retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
421
+ }, "strict", z.ZodTypeAny, {
422
+ guard: string;
423
+ retained_submission?: number[] | undefined;
424
+ }, {
425
+ guard: string;
426
+ retained_submission?: number[] | undefined;
427
+ }>>;
428
+ }, "strict", z.ZodTypeAny, {
429
+ name: string;
430
+ weight: number;
431
+ guard?: {
432
+ guard: string;
433
+ retained_submission?: number[] | undefined;
434
+ } | undefined;
435
+ namedOperator?: string | undefined;
436
+ permissionIndex?: number | undefined;
437
+ }, {
438
+ name: string;
439
+ weight: number;
440
+ guard?: {
441
+ guard: string;
442
+ retained_submission?: number[] | undefined;
443
+ } | undefined;
444
+ namedOperator?: string | undefined;
445
+ permissionIndex?: number | undefined;
446
+ }>, "many">;
447
+ }, "strict", z.ZodTypeAny, {
448
+ forwards: {
449
+ name: string;
450
+ weight: number;
451
+ guard?: {
452
+ guard: string;
453
+ retained_submission?: number[] | undefined;
454
+ } | undefined;
455
+ namedOperator?: string | undefined;
456
+ permissionIndex?: number | undefined;
457
+ }[];
458
+ threshold: number;
459
+ prev_node: string;
460
+ }, {
461
+ forwards: {
462
+ name: string;
463
+ weight: number;
464
+ guard?: {
465
+ guard: string;
466
+ retained_submission?: number[] | undefined;
467
+ } | undefined;
468
+ namedOperator?: string | undefined;
469
+ permissionIndex?: number | undefined;
470
+ }[];
471
+ threshold: number;
472
+ prev_node: string;
473
+ }>, "many">;
474
+ }, "strict", z.ZodTypeAny, {
475
+ name: string;
476
+ pairs: {
477
+ forwards: {
478
+ name: string;
479
+ weight: number;
480
+ guard?: {
481
+ guard: string;
482
+ retained_submission?: number[] | undefined;
483
+ } | undefined;
484
+ namedOperator?: string | undefined;
485
+ permissionIndex?: number | undefined;
486
+ }[];
487
+ threshold: number;
488
+ prev_node: string;
489
+ }[];
490
+ }, {
491
+ name: string;
492
+ pairs: {
493
+ forwards: {
494
+ name: string;
495
+ weight: number;
496
+ guard?: {
497
+ guard: string;
498
+ retained_submission?: number[] | undefined;
499
+ } | undefined;
500
+ namedOperator?: string | undefined;
501
+ permissionIndex?: number | undefined;
502
+ }[];
503
+ threshold: number;
504
+ prev_node: string;
505
+ }[];
506
+ }>, "many">;
507
+ bReplace: z.ZodOptional<z.ZodBoolean>;
508
+ }, "strict", z.ZodTypeAny, {
509
+ op: "set";
510
+ nodes: {
511
+ name: string;
512
+ pairs: {
513
+ forwards: {
514
+ name: string;
515
+ weight: number;
516
+ guard?: {
517
+ guard: string;
518
+ retained_submission?: number[] | undefined;
519
+ } | undefined;
520
+ namedOperator?: string | undefined;
521
+ permissionIndex?: number | undefined;
522
+ }[];
523
+ threshold: number;
524
+ prev_node: string;
525
+ }[];
526
+ }[];
527
+ bReplace?: boolean | undefined;
528
+ }, {
529
+ op: "set";
530
+ nodes: {
531
+ name: string;
532
+ pairs: {
533
+ forwards: {
534
+ name: string;
535
+ weight: number;
536
+ guard?: {
537
+ guard: string;
538
+ retained_submission?: number[] | undefined;
539
+ } | undefined;
540
+ namedOperator?: string | undefined;
541
+ permissionIndex?: number | undefined;
542
+ }[];
543
+ threshold: number;
544
+ prev_node: string;
545
+ }[];
546
+ }[];
547
+ bReplace?: boolean | undefined;
548
+ }>, z.ZodObject<{
549
+ op: z.ZodLiteral<"remove">;
550
+ nodes: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
551
+ }, "strict", z.ZodTypeAny, {
552
+ op: "remove";
553
+ nodes: string[];
554
+ }, {
555
+ op: "remove";
556
+ nodes: string[];
557
+ }>, z.ZodObject<{
558
+ op: z.ZodLiteral<"clear">;
559
+ }, "strict", z.ZodTypeAny, {
560
+ op: "clear";
561
+ }, {
562
+ op: "clear";
563
+ }>, z.ZodObject<{
564
+ op: z.ZodLiteral<"exchange">;
565
+ node_one: z.ZodEffects<z.ZodString, string, string>;
566
+ node_other: z.ZodEffects<z.ZodString, string, string>;
567
+ }, "strict", z.ZodTypeAny, {
568
+ op: "exchange";
569
+ node_one: string;
570
+ node_other: string;
571
+ }, {
572
+ op: "exchange";
573
+ node_one: string;
574
+ node_other: string;
575
+ }>, z.ZodObject<{
576
+ op: z.ZodLiteral<"rename">;
577
+ node_name_old: z.ZodEffects<z.ZodString, string, string>;
578
+ node_name_new: z.ZodEffects<z.ZodString, string, string>;
579
+ }, "strict", z.ZodTypeAny, {
580
+ op: "rename";
581
+ node_name_old: string;
582
+ node_name_new: string;
583
+ }, {
584
+ op: "rename";
585
+ node_name_old: string;
586
+ node_name_new: string;
587
+ }>, z.ZodObject<{
588
+ op: z.ZodLiteral<"remove prior node">;
589
+ pairs: z.ZodArray<z.ZodObject<{
590
+ prior_node_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
591
+ node_name: z.ZodEffects<z.ZodString, string, string>;
592
+ }, "strict", z.ZodTypeAny, {
593
+ prior_node_name: string[];
594
+ node_name: string;
595
+ }, {
596
+ prior_node_name: string[];
597
+ node_name: string;
598
+ }>, "many">;
599
+ }, "strict", z.ZodTypeAny, {
600
+ op: "remove prior node";
601
+ pairs: {
602
+ prior_node_name: string[];
603
+ node_name: string;
604
+ }[];
605
+ }, {
606
+ op: "remove prior node";
607
+ pairs: {
608
+ prior_node_name: string[];
609
+ node_name: string;
610
+ }[];
611
+ }>, z.ZodObject<{
612
+ op: z.ZodLiteral<"add forward">;
613
+ data: z.ZodArray<z.ZodObject<{
614
+ prior_node_name: z.ZodEffects<z.ZodString, string, string>;
615
+ node_name: z.ZodEffects<z.ZodString, string, string>;
616
+ forward: z.ZodArray<z.ZodObject<{
617
+ name: z.ZodEffects<z.ZodString, string, string>;
618
+ namedOperator: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
619
+ permissionIndex: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodNumber, number, number>, z.ZodNull]>>;
620
+ weight: z.ZodNumber;
621
+ }, "strict", z.ZodTypeAny, {
622
+ name: string;
623
+ weight: number;
624
+ namedOperator?: string | null | undefined;
625
+ permissionIndex?: number | null | undefined;
626
+ }, {
627
+ name: string;
628
+ weight: number;
629
+ namedOperator?: string | null | undefined;
630
+ permissionIndex?: number | null | undefined;
631
+ }>, "many">;
632
+ threshold: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
633
+ }, "strict", z.ZodTypeAny, {
634
+ forward: {
635
+ name: string;
636
+ weight: number;
637
+ namedOperator?: string | null | undefined;
638
+ permissionIndex?: number | null | undefined;
639
+ }[];
640
+ prior_node_name: string;
641
+ node_name: string;
642
+ threshold?: number | null | undefined;
643
+ }, {
644
+ forward: {
645
+ name: string;
646
+ weight: number;
647
+ namedOperator?: string | null | undefined;
648
+ permissionIndex?: number | null | undefined;
649
+ }[];
650
+ prior_node_name: string;
651
+ node_name: string;
652
+ threshold?: number | null | undefined;
653
+ }>, "many">;
654
+ }, "strict", z.ZodTypeAny, {
655
+ data: {
656
+ forward: {
657
+ name: string;
658
+ weight: number;
659
+ namedOperator?: string | null | undefined;
660
+ permissionIndex?: number | null | undefined;
661
+ }[];
662
+ prior_node_name: string;
663
+ node_name: string;
664
+ threshold?: number | null | undefined;
665
+ }[];
666
+ op: "add forward";
667
+ }, {
668
+ data: {
669
+ forward: {
670
+ name: string;
671
+ weight: number;
672
+ namedOperator?: string | null | undefined;
673
+ permissionIndex?: number | null | undefined;
674
+ }[];
675
+ prior_node_name: string;
676
+ node_name: string;
677
+ threshold?: number | null | undefined;
678
+ }[];
679
+ op: "add forward";
680
+ }>, z.ZodObject<{
681
+ op: z.ZodLiteral<"remove forward">;
682
+ data: z.ZodArray<z.ZodObject<{
683
+ prior_node_name: z.ZodEffects<z.ZodString, string, string>;
684
+ node_name: z.ZodEffects<z.ZodString, string, string>;
685
+ forward_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
686
+ }, "strict", z.ZodTypeAny, {
687
+ prior_node_name: string;
688
+ node_name: string;
689
+ forward_name: string[];
690
+ }, {
691
+ prior_node_name: string;
692
+ node_name: string;
693
+ forward_name: string[];
694
+ }>, "many">;
695
+ }, "strict", z.ZodTypeAny, {
696
+ data: {
697
+ prior_node_name: string;
698
+ node_name: string;
699
+ forward_name: string[];
700
+ }[];
701
+ op: "remove forward";
702
+ }, {
703
+ data: {
704
+ prior_node_name: string;
705
+ node_name: string;
706
+ forward_name: string[];
707
+ }[];
708
+ op: "remove forward";
709
+ }>]>;
710
+ export declare const NodeJsonOrMarkdownFileSchema: z.ZodObject<{
711
+ json_or_markdown_file: z.ZodString;
712
+ }, "strict", z.ZodTypeAny, {
713
+ json_or_markdown_file: string;
714
+ }, {
715
+ json_or_markdown_file: string;
716
+ }>;
717
+ export declare const NodeFieldSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
718
+ op: z.ZodLiteral<"add">;
719
+ nodes: z.ZodArray<z.ZodObject<{
720
+ name: z.ZodString;
721
+ pairs: z.ZodArray<z.ZodObject<{
722
+ prev_node: z.ZodString;
723
+ threshold: z.ZodNumber;
724
+ forwards: z.ZodArray<z.ZodObject<{
725
+ name: z.ZodString;
726
+ namedOperator: z.ZodOptional<z.ZodString>;
727
+ permissionIndex: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
728
+ weight: z.ZodNumber;
729
+ guard: z.ZodOptional<z.ZodObject<{
730
+ guard: z.ZodString;
731
+ retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
732
+ }, "strict", z.ZodTypeAny, {
733
+ guard: string;
734
+ retained_submission?: number[] | undefined;
735
+ }, {
736
+ guard: string;
737
+ retained_submission?: number[] | undefined;
738
+ }>>;
739
+ }, "strict", z.ZodTypeAny, {
740
+ name: string;
741
+ weight: number;
742
+ guard?: {
743
+ guard: string;
744
+ retained_submission?: number[] | undefined;
745
+ } | undefined;
746
+ namedOperator?: string | undefined;
747
+ permissionIndex?: number | undefined;
748
+ }, {
749
+ name: string;
750
+ weight: number;
751
+ guard?: {
752
+ guard: string;
753
+ retained_submission?: number[] | undefined;
754
+ } | undefined;
755
+ namedOperator?: string | undefined;
756
+ permissionIndex?: number | undefined;
757
+ }>, "many">;
758
+ }, "strict", z.ZodTypeAny, {
759
+ forwards: {
760
+ name: string;
761
+ weight: number;
762
+ guard?: {
763
+ guard: string;
764
+ retained_submission?: number[] | undefined;
765
+ } | undefined;
766
+ namedOperator?: string | undefined;
767
+ permissionIndex?: number | undefined;
768
+ }[];
769
+ threshold: number;
770
+ prev_node: string;
771
+ }, {
772
+ forwards: {
773
+ name: string;
774
+ weight: number;
775
+ guard?: {
776
+ guard: string;
777
+ retained_submission?: number[] | undefined;
778
+ } | undefined;
779
+ namedOperator?: string | undefined;
780
+ permissionIndex?: number | undefined;
781
+ }[];
782
+ threshold: number;
783
+ prev_node: string;
784
+ }>, "many">;
785
+ }, "strict", z.ZodTypeAny, {
786
+ name: string;
787
+ pairs: {
788
+ forwards: {
789
+ name: string;
790
+ weight: number;
791
+ guard?: {
792
+ guard: string;
793
+ retained_submission?: number[] | undefined;
794
+ } | undefined;
795
+ namedOperator?: string | undefined;
796
+ permissionIndex?: number | undefined;
797
+ }[];
798
+ threshold: number;
799
+ prev_node: string;
800
+ }[];
801
+ }, {
802
+ name: string;
803
+ pairs: {
804
+ forwards: {
805
+ name: string;
806
+ weight: number;
807
+ guard?: {
808
+ guard: string;
809
+ retained_submission?: number[] | undefined;
810
+ } | undefined;
811
+ namedOperator?: string | undefined;
812
+ permissionIndex?: number | undefined;
813
+ }[];
814
+ threshold: number;
815
+ prev_node: string;
816
+ }[];
817
+ }>, "many">;
818
+ bReplace: z.ZodOptional<z.ZodBoolean>;
819
+ }, "strict", z.ZodTypeAny, {
820
+ op: "add";
821
+ nodes: {
822
+ name: string;
823
+ pairs: {
824
+ forwards: {
825
+ name: string;
826
+ weight: number;
827
+ guard?: {
828
+ guard: string;
829
+ retained_submission?: number[] | undefined;
830
+ } | undefined;
831
+ namedOperator?: string | undefined;
832
+ permissionIndex?: number | undefined;
833
+ }[];
834
+ threshold: number;
835
+ prev_node: string;
836
+ }[];
837
+ }[];
838
+ bReplace?: boolean | undefined;
839
+ }, {
840
+ op: "add";
841
+ nodes: {
842
+ name: string;
843
+ pairs: {
844
+ forwards: {
845
+ name: string;
846
+ weight: number;
847
+ guard?: {
848
+ guard: string;
849
+ retained_submission?: number[] | undefined;
850
+ } | undefined;
851
+ namedOperator?: string | undefined;
852
+ permissionIndex?: number | undefined;
853
+ }[];
854
+ threshold: number;
855
+ prev_node: string;
856
+ }[];
857
+ }[];
858
+ bReplace?: boolean | undefined;
859
+ }>, z.ZodObject<{
860
+ op: z.ZodLiteral<"set">;
861
+ nodes: z.ZodArray<z.ZodObject<{
862
+ name: z.ZodString;
863
+ pairs: z.ZodArray<z.ZodObject<{
864
+ prev_node: z.ZodString;
865
+ threshold: z.ZodNumber;
866
+ forwards: z.ZodArray<z.ZodObject<{
867
+ name: z.ZodString;
868
+ namedOperator: z.ZodOptional<z.ZodString>;
869
+ permissionIndex: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
870
+ weight: z.ZodNumber;
871
+ guard: z.ZodOptional<z.ZodObject<{
872
+ guard: z.ZodString;
873
+ retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
874
+ }, "strict", z.ZodTypeAny, {
875
+ guard: string;
876
+ retained_submission?: number[] | undefined;
877
+ }, {
878
+ guard: string;
879
+ retained_submission?: number[] | undefined;
880
+ }>>;
881
+ }, "strict", z.ZodTypeAny, {
882
+ name: string;
883
+ weight: number;
884
+ guard?: {
885
+ guard: string;
886
+ retained_submission?: number[] | undefined;
887
+ } | undefined;
888
+ namedOperator?: string | undefined;
889
+ permissionIndex?: number | undefined;
890
+ }, {
891
+ name: string;
892
+ weight: number;
893
+ guard?: {
894
+ guard: string;
895
+ retained_submission?: number[] | undefined;
896
+ } | undefined;
897
+ namedOperator?: string | undefined;
898
+ permissionIndex?: number | undefined;
899
+ }>, "many">;
900
+ }, "strict", z.ZodTypeAny, {
901
+ forwards: {
902
+ name: string;
903
+ weight: number;
904
+ guard?: {
905
+ guard: string;
906
+ retained_submission?: number[] | undefined;
907
+ } | undefined;
908
+ namedOperator?: string | undefined;
909
+ permissionIndex?: number | undefined;
910
+ }[];
911
+ threshold: number;
912
+ prev_node: string;
913
+ }, {
914
+ forwards: {
915
+ name: string;
916
+ weight: number;
917
+ guard?: {
918
+ guard: string;
919
+ retained_submission?: number[] | undefined;
920
+ } | undefined;
921
+ namedOperator?: string | undefined;
922
+ permissionIndex?: number | undefined;
923
+ }[];
924
+ threshold: number;
925
+ prev_node: string;
926
+ }>, "many">;
927
+ }, "strict", z.ZodTypeAny, {
928
+ name: string;
929
+ pairs: {
930
+ forwards: {
931
+ name: string;
932
+ weight: number;
933
+ guard?: {
934
+ guard: string;
935
+ retained_submission?: number[] | undefined;
936
+ } | undefined;
937
+ namedOperator?: string | undefined;
938
+ permissionIndex?: number | undefined;
939
+ }[];
940
+ threshold: number;
941
+ prev_node: string;
942
+ }[];
943
+ }, {
944
+ name: string;
945
+ pairs: {
946
+ forwards: {
947
+ name: string;
948
+ weight: number;
949
+ guard?: {
950
+ guard: string;
951
+ retained_submission?: number[] | undefined;
952
+ } | undefined;
953
+ namedOperator?: string | undefined;
954
+ permissionIndex?: number | undefined;
955
+ }[];
956
+ threshold: number;
957
+ prev_node: string;
958
+ }[];
959
+ }>, "many">;
960
+ bReplace: z.ZodOptional<z.ZodBoolean>;
961
+ }, "strict", z.ZodTypeAny, {
962
+ op: "set";
963
+ nodes: {
964
+ name: string;
965
+ pairs: {
966
+ forwards: {
967
+ name: string;
968
+ weight: number;
969
+ guard?: {
970
+ guard: string;
971
+ retained_submission?: number[] | undefined;
972
+ } | undefined;
973
+ namedOperator?: string | undefined;
974
+ permissionIndex?: number | undefined;
975
+ }[];
976
+ threshold: number;
977
+ prev_node: string;
978
+ }[];
979
+ }[];
980
+ bReplace?: boolean | undefined;
981
+ }, {
982
+ op: "set";
983
+ nodes: {
984
+ name: string;
985
+ pairs: {
986
+ forwards: {
987
+ name: string;
988
+ weight: number;
989
+ guard?: {
990
+ guard: string;
991
+ retained_submission?: number[] | undefined;
992
+ } | undefined;
993
+ namedOperator?: string | undefined;
994
+ permissionIndex?: number | undefined;
995
+ }[];
996
+ threshold: number;
997
+ prev_node: string;
998
+ }[];
999
+ }[];
1000
+ bReplace?: boolean | undefined;
1001
+ }>, z.ZodObject<{
1002
+ op: z.ZodLiteral<"remove">;
1003
+ nodes: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1004
+ }, "strict", z.ZodTypeAny, {
1005
+ op: "remove";
1006
+ nodes: string[];
1007
+ }, {
1008
+ op: "remove";
1009
+ nodes: string[];
1010
+ }>, z.ZodObject<{
1011
+ op: z.ZodLiteral<"clear">;
1012
+ }, "strict", z.ZodTypeAny, {
1013
+ op: "clear";
1014
+ }, {
1015
+ op: "clear";
1016
+ }>, z.ZodObject<{
1017
+ op: z.ZodLiteral<"exchange">;
1018
+ node_one: z.ZodEffects<z.ZodString, string, string>;
1019
+ node_other: z.ZodEffects<z.ZodString, string, string>;
1020
+ }, "strict", z.ZodTypeAny, {
1021
+ op: "exchange";
1022
+ node_one: string;
1023
+ node_other: string;
1024
+ }, {
1025
+ op: "exchange";
1026
+ node_one: string;
1027
+ node_other: string;
1028
+ }>, z.ZodObject<{
1029
+ op: z.ZodLiteral<"rename">;
1030
+ node_name_old: z.ZodEffects<z.ZodString, string, string>;
1031
+ node_name_new: z.ZodEffects<z.ZodString, string, string>;
1032
+ }, "strict", z.ZodTypeAny, {
1033
+ op: "rename";
1034
+ node_name_old: string;
1035
+ node_name_new: string;
1036
+ }, {
1037
+ op: "rename";
1038
+ node_name_old: string;
1039
+ node_name_new: string;
1040
+ }>, z.ZodObject<{
1041
+ op: z.ZodLiteral<"remove prior node">;
1042
+ pairs: z.ZodArray<z.ZodObject<{
1043
+ prior_node_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1044
+ node_name: z.ZodEffects<z.ZodString, string, string>;
1045
+ }, "strict", z.ZodTypeAny, {
1046
+ prior_node_name: string[];
1047
+ node_name: string;
1048
+ }, {
1049
+ prior_node_name: string[];
1050
+ node_name: string;
1051
+ }>, "many">;
1052
+ }, "strict", z.ZodTypeAny, {
1053
+ op: "remove prior node";
1054
+ pairs: {
1055
+ prior_node_name: string[];
1056
+ node_name: string;
1057
+ }[];
1058
+ }, {
1059
+ op: "remove prior node";
1060
+ pairs: {
1061
+ prior_node_name: string[];
1062
+ node_name: string;
1063
+ }[];
1064
+ }>, z.ZodObject<{
1065
+ op: z.ZodLiteral<"add forward">;
1066
+ data: z.ZodArray<z.ZodObject<{
1067
+ prior_node_name: z.ZodEffects<z.ZodString, string, string>;
1068
+ node_name: z.ZodEffects<z.ZodString, string, string>;
1069
+ forward: z.ZodArray<z.ZodObject<{
1070
+ name: z.ZodEffects<z.ZodString, string, string>;
1071
+ namedOperator: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
1072
+ permissionIndex: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodNumber, number, number>, z.ZodNull]>>;
1073
+ weight: z.ZodNumber;
1074
+ }, "strict", z.ZodTypeAny, {
1075
+ name: string;
1076
+ weight: number;
1077
+ namedOperator?: string | null | undefined;
1078
+ permissionIndex?: number | null | undefined;
1079
+ }, {
1080
+ name: string;
1081
+ weight: number;
1082
+ namedOperator?: string | null | undefined;
1083
+ permissionIndex?: number | null | undefined;
1084
+ }>, "many">;
1085
+ threshold: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
1086
+ }, "strict", z.ZodTypeAny, {
1087
+ forward: {
1088
+ name: string;
1089
+ weight: number;
1090
+ namedOperator?: string | null | undefined;
1091
+ permissionIndex?: number | null | undefined;
1092
+ }[];
1093
+ prior_node_name: string;
1094
+ node_name: string;
1095
+ threshold?: number | null | undefined;
1096
+ }, {
1097
+ forward: {
1098
+ name: string;
1099
+ weight: number;
1100
+ namedOperator?: string | null | undefined;
1101
+ permissionIndex?: number | null | undefined;
1102
+ }[];
1103
+ prior_node_name: string;
1104
+ node_name: string;
1105
+ threshold?: number | null | undefined;
1106
+ }>, "many">;
1107
+ }, "strict", z.ZodTypeAny, {
1108
+ data: {
1109
+ forward: {
1110
+ name: string;
1111
+ weight: number;
1112
+ namedOperator?: string | null | undefined;
1113
+ permissionIndex?: number | null | undefined;
1114
+ }[];
1115
+ prior_node_name: string;
1116
+ node_name: string;
1117
+ threshold?: number | null | undefined;
1118
+ }[];
1119
+ op: "add forward";
1120
+ }, {
1121
+ data: {
1122
+ forward: {
1123
+ name: string;
1124
+ weight: number;
1125
+ namedOperator?: string | null | undefined;
1126
+ permissionIndex?: number | null | undefined;
1127
+ }[];
1128
+ prior_node_name: string;
1129
+ node_name: string;
1130
+ threshold?: number | null | undefined;
1131
+ }[];
1132
+ op: "add forward";
1133
+ }>, z.ZodObject<{
1134
+ op: z.ZodLiteral<"remove forward">;
1135
+ data: z.ZodArray<z.ZodObject<{
1136
+ prior_node_name: z.ZodEffects<z.ZodString, string, string>;
1137
+ node_name: z.ZodEffects<z.ZodString, string, string>;
1138
+ forward_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1139
+ }, "strict", z.ZodTypeAny, {
1140
+ prior_node_name: string;
1141
+ node_name: string;
1142
+ forward_name: string[];
1143
+ }, {
1144
+ prior_node_name: string;
1145
+ node_name: string;
1146
+ forward_name: string[];
1147
+ }>, "many">;
1148
+ }, "strict", z.ZodTypeAny, {
1149
+ data: {
1150
+ prior_node_name: string;
1151
+ node_name: string;
1152
+ forward_name: string[];
1153
+ }[];
1154
+ op: "remove forward";
1155
+ }, {
1156
+ data: {
1157
+ prior_node_name: string;
1158
+ node_name: string;
1159
+ forward_name: string[];
1160
+ }[];
1161
+ op: "remove forward";
1162
+ }>]>, z.ZodObject<{
1163
+ json_or_markdown_file: z.ZodString;
1164
+ }, "strict", z.ZodTypeAny, {
1165
+ json_or_markdown_file: string;
1166
+ }, {
1167
+ json_or_markdown_file: string;
1168
+ }>]>;
1169
+ export declare const CallMachine_DataSchema: z.ZodObject<{
1170
+ object: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
1171
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1172
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1173
+ onChain: z.ZodOptional<z.ZodBoolean>;
1174
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
1175
+ } & {
1176
+ permission: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
1177
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1178
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1179
+ onChain: z.ZodOptional<z.ZodBoolean>;
1180
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
1181
+ } & {
1182
+ description: z.ZodOptional<z.ZodString>;
1183
+ }, "strict", z.ZodTypeAny, {
1184
+ name?: string | undefined;
1185
+ description?: string | undefined;
1186
+ replaceExistName?: boolean | undefined;
1187
+ tags?: string[] | undefined;
1188
+ onChain?: boolean | undefined;
1189
+ }, {
1190
+ name?: string | undefined;
1191
+ description?: string | undefined;
1192
+ replaceExistName?: boolean | undefined;
1193
+ tags?: string[] | undefined;
1194
+ onChain?: boolean | undefined;
1195
+ }>]>>;
1196
+ }, "strict", z.ZodTypeAny, {
1197
+ name?: string | undefined;
1198
+ replaceExistName?: boolean | undefined;
1199
+ tags?: string[] | undefined;
1200
+ onChain?: boolean | undefined;
1201
+ permission?: string | {
1202
+ name?: string | undefined;
1203
+ description?: string | undefined;
1204
+ replaceExistName?: boolean | undefined;
1205
+ tags?: string[] | undefined;
1206
+ onChain?: boolean | undefined;
1207
+ } | undefined;
1208
+ }, {
1209
+ name?: string | undefined;
1210
+ replaceExistName?: boolean | undefined;
1211
+ tags?: string[] | undefined;
1212
+ onChain?: boolean | undefined;
1213
+ permission?: string | {
1214
+ name?: string | undefined;
1215
+ description?: string | undefined;
1216
+ replaceExistName?: boolean | undefined;
1217
+ tags?: string[] | undefined;
1218
+ onChain?: boolean | undefined;
1219
+ } | undefined;
1220
+ }>]>;
1221
+ progress_new: z.ZodOptional<z.ZodObject<{
1222
+ task: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
1223
+ repository: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1224
+ op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
1225
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1226
+ }, "strict", z.ZodTypeAny, {
1227
+ op: "set" | "add";
1228
+ objects: string[];
1229
+ }, {
1230
+ op: "set" | "add";
1231
+ objects: string[];
1232
+ }>, z.ZodObject<{
1233
+ op: z.ZodLiteral<"remove">;
1234
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1235
+ }, "strict", z.ZodTypeAny, {
1236
+ op: "remove";
1237
+ objects: string[];
1238
+ }, {
1239
+ op: "remove";
1240
+ objects: string[];
1241
+ }>, z.ZodObject<{
1242
+ op: z.ZodLiteral<"clear">;
1243
+ }, "strict", z.ZodTypeAny, {
1244
+ op: "clear";
1245
+ }, {
1246
+ op: "clear";
1247
+ }>]>>;
1248
+ progress_namedOperator: z.ZodOptional<z.ZodObject<{
1249
+ op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">, z.ZodLiteral<"remove">]>;
1250
+ name: z.ZodEffects<z.ZodString, string, string>;
1251
+ operators: z.ZodObject<{
1252
+ entities: z.ZodArray<z.ZodObject<{
1253
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1254
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1255
+ }, "strict", z.ZodTypeAny, {
1256
+ name_or_address?: string | undefined;
1257
+ local_mark_first?: boolean | undefined;
1258
+ }, {
1259
+ name_or_address?: string | undefined;
1260
+ local_mark_first?: boolean | undefined;
1261
+ }>, "many">;
1262
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
1263
+ }, "strict", z.ZodTypeAny, {
1264
+ entities: {
1265
+ name_or_address?: string | undefined;
1266
+ local_mark_first?: boolean | undefined;
1267
+ }[];
1268
+ check_all_founded?: boolean | undefined;
1269
+ }, {
1270
+ entities: {
1271
+ name_or_address?: string | undefined;
1272
+ local_mark_first?: boolean | undefined;
1273
+ }[];
1274
+ check_all_founded?: boolean | undefined;
1275
+ }>;
1276
+ }, "strict", z.ZodTypeAny, {
1277
+ name: string;
1278
+ op: "set" | "add" | "remove";
1279
+ operators: {
1280
+ entities: {
1281
+ name_or_address?: string | undefined;
1282
+ local_mark_first?: boolean | undefined;
1283
+ }[];
1284
+ check_all_founded?: boolean | undefined;
1285
+ };
1286
+ }, {
1287
+ name: string;
1288
+ op: "set" | "add" | "remove";
1289
+ operators: {
1290
+ entities: {
1291
+ name_or_address?: string | undefined;
1292
+ local_mark_first?: boolean | undefined;
1293
+ }[];
1294
+ check_all_founded?: boolean | undefined;
1295
+ };
1296
+ }>>;
1297
+ namedNew: z.ZodOptional<z.ZodObject<{
1298
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1299
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1300
+ onChain: z.ZodOptional<z.ZodBoolean>;
1301
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
1302
+ }, "strict", z.ZodTypeAny, {
1303
+ name?: string | undefined;
1304
+ replaceExistName?: boolean | undefined;
1305
+ tags?: string[] | undefined;
1306
+ onChain?: boolean | undefined;
1307
+ }, {
1308
+ name?: string | undefined;
1309
+ replaceExistName?: boolean | undefined;
1310
+ tags?: string[] | undefined;
1311
+ onChain?: boolean | undefined;
1312
+ }>>;
1313
+ }, "strict", z.ZodTypeAny, {
1314
+ task?: string | null | undefined;
1315
+ namedNew?: {
1316
+ name?: string | undefined;
1317
+ replaceExistName?: boolean | undefined;
1318
+ tags?: string[] | undefined;
1319
+ onChain?: boolean | undefined;
1320
+ } | undefined;
1321
+ repository?: {
1322
+ op: "set" | "add";
1323
+ objects: string[];
1324
+ } | {
1325
+ op: "remove";
1326
+ objects: string[];
1327
+ } | {
1328
+ op: "clear";
1329
+ } | undefined;
1330
+ progress_namedOperator?: {
1331
+ name: string;
1332
+ op: "set" | "add" | "remove";
1333
+ operators: {
1334
+ entities: {
1335
+ name_or_address?: string | undefined;
1336
+ local_mark_first?: boolean | undefined;
1337
+ }[];
1338
+ check_all_founded?: boolean | undefined;
1339
+ };
1340
+ } | undefined;
1341
+ }, {
1342
+ task?: string | null | undefined;
1343
+ namedNew?: {
1344
+ name?: string | undefined;
1345
+ replaceExistName?: boolean | undefined;
1346
+ tags?: string[] | undefined;
1347
+ onChain?: boolean | undefined;
1348
+ } | undefined;
1349
+ repository?: {
1350
+ op: "set" | "add";
1351
+ objects: string[];
1352
+ } | {
1353
+ op: "remove";
1354
+ objects: string[];
1355
+ } | {
1356
+ op: "clear";
1357
+ } | undefined;
1358
+ progress_namedOperator?: {
1359
+ name: string;
1360
+ op: "set" | "add" | "remove";
1361
+ operators: {
1362
+ entities: {
1363
+ name_or_address?: string | undefined;
1364
+ local_mark_first?: boolean | undefined;
1365
+ }[];
1366
+ check_all_founded?: boolean | undefined;
1367
+ };
1368
+ } | undefined;
1369
+ }>>;
1370
+ description: z.ZodOptional<z.ZodString>;
1371
+ repository: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1372
+ op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
1373
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1374
+ }, "strict", z.ZodTypeAny, {
1375
+ op: "set" | "add";
1376
+ objects: string[];
1377
+ }, {
1378
+ op: "set" | "add";
1379
+ objects: string[];
1380
+ }>, z.ZodObject<{
1381
+ op: z.ZodLiteral<"remove">;
1382
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1383
+ }, "strict", z.ZodTypeAny, {
1384
+ op: "remove";
1385
+ objects: string[];
1386
+ }, {
1387
+ op: "remove";
1388
+ objects: string[];
1389
+ }>, z.ZodObject<{
1390
+ op: z.ZodLiteral<"clear">;
1391
+ }, "strict", z.ZodTypeAny, {
1392
+ op: "clear";
1393
+ }, {
1394
+ op: "clear";
1395
+ }>]>>;
1396
+ node: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
1397
+ op: z.ZodLiteral<"add">;
1398
+ nodes: z.ZodArray<z.ZodObject<{
1399
+ name: z.ZodString;
1400
+ pairs: z.ZodArray<z.ZodObject<{
1401
+ prev_node: z.ZodString;
1402
+ threshold: z.ZodNumber;
1403
+ forwards: z.ZodArray<z.ZodObject<{
1404
+ name: z.ZodString;
1405
+ namedOperator: z.ZodOptional<z.ZodString>;
1406
+ permissionIndex: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
1407
+ weight: z.ZodNumber;
1408
+ guard: z.ZodOptional<z.ZodObject<{
1409
+ guard: z.ZodString;
1410
+ retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1411
+ }, "strict", z.ZodTypeAny, {
1412
+ guard: string;
1413
+ retained_submission?: number[] | undefined;
1414
+ }, {
1415
+ guard: string;
1416
+ retained_submission?: number[] | undefined;
1417
+ }>>;
1418
+ }, "strict", z.ZodTypeAny, {
1419
+ name: string;
1420
+ weight: number;
1421
+ guard?: {
1422
+ guard: string;
1423
+ retained_submission?: number[] | undefined;
1424
+ } | undefined;
1425
+ namedOperator?: string | undefined;
1426
+ permissionIndex?: number | undefined;
1427
+ }, {
1428
+ name: string;
1429
+ weight: number;
1430
+ guard?: {
1431
+ guard: string;
1432
+ retained_submission?: number[] | undefined;
1433
+ } | undefined;
1434
+ namedOperator?: string | undefined;
1435
+ permissionIndex?: number | undefined;
1436
+ }>, "many">;
1437
+ }, "strict", z.ZodTypeAny, {
1438
+ forwards: {
1439
+ name: string;
1440
+ weight: number;
1441
+ guard?: {
1442
+ guard: string;
1443
+ retained_submission?: number[] | undefined;
1444
+ } | undefined;
1445
+ namedOperator?: string | undefined;
1446
+ permissionIndex?: number | undefined;
1447
+ }[];
1448
+ threshold: number;
1449
+ prev_node: string;
1450
+ }, {
1451
+ forwards: {
1452
+ name: string;
1453
+ weight: number;
1454
+ guard?: {
1455
+ guard: string;
1456
+ retained_submission?: number[] | undefined;
1457
+ } | undefined;
1458
+ namedOperator?: string | undefined;
1459
+ permissionIndex?: number | undefined;
1460
+ }[];
1461
+ threshold: number;
1462
+ prev_node: string;
1463
+ }>, "many">;
1464
+ }, "strict", z.ZodTypeAny, {
1465
+ name: string;
1466
+ pairs: {
1467
+ forwards: {
1468
+ name: string;
1469
+ weight: number;
1470
+ guard?: {
1471
+ guard: string;
1472
+ retained_submission?: number[] | undefined;
1473
+ } | undefined;
1474
+ namedOperator?: string | undefined;
1475
+ permissionIndex?: number | undefined;
1476
+ }[];
1477
+ threshold: number;
1478
+ prev_node: string;
1479
+ }[];
1480
+ }, {
1481
+ name: string;
1482
+ pairs: {
1483
+ forwards: {
1484
+ name: string;
1485
+ weight: number;
1486
+ guard?: {
1487
+ guard: string;
1488
+ retained_submission?: number[] | undefined;
1489
+ } | undefined;
1490
+ namedOperator?: string | undefined;
1491
+ permissionIndex?: number | undefined;
1492
+ }[];
1493
+ threshold: number;
1494
+ prev_node: string;
1495
+ }[];
1496
+ }>, "many">;
1497
+ bReplace: z.ZodOptional<z.ZodBoolean>;
1498
+ }, "strict", z.ZodTypeAny, {
1499
+ op: "add";
1500
+ nodes: {
1501
+ name: string;
1502
+ pairs: {
1503
+ forwards: {
1504
+ name: string;
1505
+ weight: number;
1506
+ guard?: {
1507
+ guard: string;
1508
+ retained_submission?: number[] | undefined;
1509
+ } | undefined;
1510
+ namedOperator?: string | undefined;
1511
+ permissionIndex?: number | undefined;
1512
+ }[];
1513
+ threshold: number;
1514
+ prev_node: string;
1515
+ }[];
1516
+ }[];
1517
+ bReplace?: boolean | undefined;
1518
+ }, {
1519
+ op: "add";
1520
+ nodes: {
1521
+ name: string;
1522
+ pairs: {
1523
+ forwards: {
1524
+ name: string;
1525
+ weight: number;
1526
+ guard?: {
1527
+ guard: string;
1528
+ retained_submission?: number[] | undefined;
1529
+ } | undefined;
1530
+ namedOperator?: string | undefined;
1531
+ permissionIndex?: number | undefined;
1532
+ }[];
1533
+ threshold: number;
1534
+ prev_node: string;
1535
+ }[];
1536
+ }[];
1537
+ bReplace?: boolean | undefined;
1538
+ }>, z.ZodObject<{
1539
+ op: z.ZodLiteral<"set">;
1540
+ nodes: z.ZodArray<z.ZodObject<{
1541
+ name: z.ZodString;
1542
+ pairs: z.ZodArray<z.ZodObject<{
1543
+ prev_node: z.ZodString;
1544
+ threshold: z.ZodNumber;
1545
+ forwards: z.ZodArray<z.ZodObject<{
1546
+ name: z.ZodString;
1547
+ namedOperator: z.ZodOptional<z.ZodString>;
1548
+ permissionIndex: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
1549
+ weight: z.ZodNumber;
1550
+ guard: z.ZodOptional<z.ZodObject<{
1551
+ guard: z.ZodString;
1552
+ retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1553
+ }, "strict", z.ZodTypeAny, {
1554
+ guard: string;
1555
+ retained_submission?: number[] | undefined;
1556
+ }, {
1557
+ guard: string;
1558
+ retained_submission?: number[] | undefined;
1559
+ }>>;
1560
+ }, "strict", z.ZodTypeAny, {
1561
+ name: string;
1562
+ weight: number;
1563
+ guard?: {
1564
+ guard: string;
1565
+ retained_submission?: number[] | undefined;
1566
+ } | undefined;
1567
+ namedOperator?: string | undefined;
1568
+ permissionIndex?: number | undefined;
1569
+ }, {
1570
+ name: string;
1571
+ weight: number;
1572
+ guard?: {
1573
+ guard: string;
1574
+ retained_submission?: number[] | undefined;
1575
+ } | undefined;
1576
+ namedOperator?: string | undefined;
1577
+ permissionIndex?: number | undefined;
1578
+ }>, "many">;
1579
+ }, "strict", z.ZodTypeAny, {
1580
+ forwards: {
1581
+ name: string;
1582
+ weight: number;
1583
+ guard?: {
1584
+ guard: string;
1585
+ retained_submission?: number[] | undefined;
1586
+ } | undefined;
1587
+ namedOperator?: string | undefined;
1588
+ permissionIndex?: number | undefined;
1589
+ }[];
1590
+ threshold: number;
1591
+ prev_node: string;
1592
+ }, {
1593
+ forwards: {
1594
+ name: string;
1595
+ weight: number;
1596
+ guard?: {
1597
+ guard: string;
1598
+ retained_submission?: number[] | undefined;
1599
+ } | undefined;
1600
+ namedOperator?: string | undefined;
1601
+ permissionIndex?: number | undefined;
1602
+ }[];
1603
+ threshold: number;
1604
+ prev_node: string;
1605
+ }>, "many">;
1606
+ }, "strict", z.ZodTypeAny, {
1607
+ name: string;
1608
+ pairs: {
1609
+ forwards: {
1610
+ name: string;
1611
+ weight: number;
1612
+ guard?: {
1613
+ guard: string;
1614
+ retained_submission?: number[] | undefined;
1615
+ } | undefined;
1616
+ namedOperator?: string | undefined;
1617
+ permissionIndex?: number | undefined;
1618
+ }[];
1619
+ threshold: number;
1620
+ prev_node: string;
1621
+ }[];
1622
+ }, {
1623
+ name: string;
1624
+ pairs: {
1625
+ forwards: {
1626
+ name: string;
1627
+ weight: number;
1628
+ guard?: {
1629
+ guard: string;
1630
+ retained_submission?: number[] | undefined;
1631
+ } | undefined;
1632
+ namedOperator?: string | undefined;
1633
+ permissionIndex?: number | undefined;
1634
+ }[];
1635
+ threshold: number;
1636
+ prev_node: string;
1637
+ }[];
1638
+ }>, "many">;
1639
+ bReplace: z.ZodOptional<z.ZodBoolean>;
1640
+ }, "strict", z.ZodTypeAny, {
1641
+ op: "set";
1642
+ nodes: {
1643
+ name: string;
1644
+ pairs: {
1645
+ forwards: {
1646
+ name: string;
1647
+ weight: number;
1648
+ guard?: {
1649
+ guard: string;
1650
+ retained_submission?: number[] | undefined;
1651
+ } | undefined;
1652
+ namedOperator?: string | undefined;
1653
+ permissionIndex?: number | undefined;
1654
+ }[];
1655
+ threshold: number;
1656
+ prev_node: string;
1657
+ }[];
1658
+ }[];
1659
+ bReplace?: boolean | undefined;
1660
+ }, {
1661
+ op: "set";
1662
+ nodes: {
1663
+ name: string;
1664
+ pairs: {
1665
+ forwards: {
1666
+ name: string;
1667
+ weight: number;
1668
+ guard?: {
1669
+ guard: string;
1670
+ retained_submission?: number[] | undefined;
1671
+ } | undefined;
1672
+ namedOperator?: string | undefined;
1673
+ permissionIndex?: number | undefined;
1674
+ }[];
1675
+ threshold: number;
1676
+ prev_node: string;
1677
+ }[];
1678
+ }[];
1679
+ bReplace?: boolean | undefined;
1680
+ }>, z.ZodObject<{
1681
+ op: z.ZodLiteral<"remove">;
1682
+ nodes: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1683
+ }, "strict", z.ZodTypeAny, {
1684
+ op: "remove";
1685
+ nodes: string[];
1686
+ }, {
1687
+ op: "remove";
1688
+ nodes: string[];
1689
+ }>, z.ZodObject<{
1690
+ op: z.ZodLiteral<"clear">;
1691
+ }, "strict", z.ZodTypeAny, {
1692
+ op: "clear";
1693
+ }, {
1694
+ op: "clear";
1695
+ }>, z.ZodObject<{
1696
+ op: z.ZodLiteral<"exchange">;
1697
+ node_one: z.ZodEffects<z.ZodString, string, string>;
1698
+ node_other: z.ZodEffects<z.ZodString, string, string>;
1699
+ }, "strict", z.ZodTypeAny, {
1700
+ op: "exchange";
1701
+ node_one: string;
1702
+ node_other: string;
1703
+ }, {
1704
+ op: "exchange";
1705
+ node_one: string;
1706
+ node_other: string;
1707
+ }>, z.ZodObject<{
1708
+ op: z.ZodLiteral<"rename">;
1709
+ node_name_old: z.ZodEffects<z.ZodString, string, string>;
1710
+ node_name_new: z.ZodEffects<z.ZodString, string, string>;
1711
+ }, "strict", z.ZodTypeAny, {
1712
+ op: "rename";
1713
+ node_name_old: string;
1714
+ node_name_new: string;
1715
+ }, {
1716
+ op: "rename";
1717
+ node_name_old: string;
1718
+ node_name_new: string;
1719
+ }>, z.ZodObject<{
1720
+ op: z.ZodLiteral<"remove prior node">;
1721
+ pairs: z.ZodArray<z.ZodObject<{
1722
+ prior_node_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1723
+ node_name: z.ZodEffects<z.ZodString, string, string>;
1724
+ }, "strict", z.ZodTypeAny, {
1725
+ prior_node_name: string[];
1726
+ node_name: string;
1727
+ }, {
1728
+ prior_node_name: string[];
1729
+ node_name: string;
1730
+ }>, "many">;
1731
+ }, "strict", z.ZodTypeAny, {
1732
+ op: "remove prior node";
1733
+ pairs: {
1734
+ prior_node_name: string[];
1735
+ node_name: string;
1736
+ }[];
1737
+ }, {
1738
+ op: "remove prior node";
1739
+ pairs: {
1740
+ prior_node_name: string[];
1741
+ node_name: string;
1742
+ }[];
1743
+ }>, z.ZodObject<{
1744
+ op: z.ZodLiteral<"add forward">;
1745
+ data: z.ZodArray<z.ZodObject<{
1746
+ prior_node_name: z.ZodEffects<z.ZodString, string, string>;
1747
+ node_name: z.ZodEffects<z.ZodString, string, string>;
1748
+ forward: z.ZodArray<z.ZodObject<{
1749
+ name: z.ZodEffects<z.ZodString, string, string>;
1750
+ namedOperator: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
1751
+ permissionIndex: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodNumber, number, number>, z.ZodNull]>>;
1752
+ weight: z.ZodNumber;
1753
+ }, "strict", z.ZodTypeAny, {
1754
+ name: string;
1755
+ weight: number;
1756
+ namedOperator?: string | null | undefined;
1757
+ permissionIndex?: number | null | undefined;
1758
+ }, {
1759
+ name: string;
1760
+ weight: number;
1761
+ namedOperator?: string | null | undefined;
1762
+ permissionIndex?: number | null | undefined;
1763
+ }>, "many">;
1764
+ threshold: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
1765
+ }, "strict", z.ZodTypeAny, {
1766
+ forward: {
1767
+ name: string;
1768
+ weight: number;
1769
+ namedOperator?: string | null | undefined;
1770
+ permissionIndex?: number | null | undefined;
1771
+ }[];
1772
+ prior_node_name: string;
1773
+ node_name: string;
1774
+ threshold?: number | null | undefined;
1775
+ }, {
1776
+ forward: {
1777
+ name: string;
1778
+ weight: number;
1779
+ namedOperator?: string | null | undefined;
1780
+ permissionIndex?: number | null | undefined;
1781
+ }[];
1782
+ prior_node_name: string;
1783
+ node_name: string;
1784
+ threshold?: number | null | undefined;
1785
+ }>, "many">;
1786
+ }, "strict", z.ZodTypeAny, {
1787
+ data: {
1788
+ forward: {
1789
+ name: string;
1790
+ weight: number;
1791
+ namedOperator?: string | null | undefined;
1792
+ permissionIndex?: number | null | undefined;
1793
+ }[];
1794
+ prior_node_name: string;
1795
+ node_name: string;
1796
+ threshold?: number | null | undefined;
1797
+ }[];
1798
+ op: "add forward";
1799
+ }, {
1800
+ data: {
1801
+ forward: {
1802
+ name: string;
1803
+ weight: number;
1804
+ namedOperator?: string | null | undefined;
1805
+ permissionIndex?: number | null | undefined;
1806
+ }[];
1807
+ prior_node_name: string;
1808
+ node_name: string;
1809
+ threshold?: number | null | undefined;
1810
+ }[];
1811
+ op: "add forward";
1812
+ }>, z.ZodObject<{
1813
+ op: z.ZodLiteral<"remove forward">;
1814
+ data: z.ZodArray<z.ZodObject<{
1815
+ prior_node_name: z.ZodEffects<z.ZodString, string, string>;
1816
+ node_name: z.ZodEffects<z.ZodString, string, string>;
1817
+ forward_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1818
+ }, "strict", z.ZodTypeAny, {
1819
+ prior_node_name: string;
1820
+ node_name: string;
1821
+ forward_name: string[];
1822
+ }, {
1823
+ prior_node_name: string;
1824
+ node_name: string;
1825
+ forward_name: string[];
1826
+ }>, "many">;
1827
+ }, "strict", z.ZodTypeAny, {
1828
+ data: {
1829
+ prior_node_name: string;
1830
+ node_name: string;
1831
+ forward_name: string[];
1832
+ }[];
1833
+ op: "remove forward";
1834
+ }, {
1835
+ data: {
1836
+ prior_node_name: string;
1837
+ node_name: string;
1838
+ forward_name: string[];
1839
+ }[];
1840
+ op: "remove forward";
1841
+ }>]>, z.ZodObject<{
1842
+ json_or_markdown_file: z.ZodString;
1843
+ }, "strict", z.ZodTypeAny, {
1844
+ json_or_markdown_file: string;
1845
+ }, {
1846
+ json_or_markdown_file: string;
1847
+ }>]>>;
1848
+ pause: z.ZodOptional<z.ZodBoolean>;
1849
+ publish: z.ZodOptional<z.ZodBoolean>;
1850
+ owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
1851
+ id: z.ZodString;
1852
+ type: z.ZodString;
1853
+ content_raw: z.ZodOptional<z.ZodAny>;
1854
+ }, "strict", z.ZodTypeAny, {
1855
+ type: string;
1856
+ id: string;
1857
+ content_raw?: any;
1858
+ }, {
1859
+ type: string;
1860
+ id: string;
1861
+ content_raw?: any;
1862
+ }>, "many">, z.ZodObject<{
1863
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1864
+ token_type: z.ZodEffects<z.ZodString, string, string>;
1865
+ received: z.ZodArray<z.ZodObject<{
1866
+ id: z.ZodString;
1867
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1868
+ payment: z.ZodString;
1869
+ }, "strict", z.ZodTypeAny, {
1870
+ id: string;
1871
+ balance: string | number;
1872
+ payment: string;
1873
+ }, {
1874
+ id: string;
1875
+ balance: string | number;
1876
+ payment: string;
1877
+ }>, "many">;
1878
+ }, "strict", z.ZodTypeAny, {
1879
+ received: {
1880
+ id: string;
1881
+ balance: string | number;
1882
+ payment: string;
1883
+ }[];
1884
+ balance: string | number;
1885
+ token_type: string;
1886
+ }, {
1887
+ received: {
1888
+ id: string;
1889
+ balance: string | number;
1890
+ payment: string;
1891
+ }[];
1892
+ balance: string | number;
1893
+ token_type: string;
1894
+ }>, z.ZodLiteral<"recently">]>>;
1895
+ um: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1896
+ }, "strict", z.ZodTypeAny, {
1897
+ object: string | {
1898
+ name?: string | undefined;
1899
+ replaceExistName?: boolean | undefined;
1900
+ tags?: string[] | undefined;
1901
+ onChain?: boolean | undefined;
1902
+ permission?: string | {
1903
+ name?: string | undefined;
1904
+ description?: string | undefined;
1905
+ replaceExistName?: boolean | undefined;
1906
+ tags?: string[] | undefined;
1907
+ onChain?: boolean | undefined;
1908
+ } | undefined;
1909
+ };
1910
+ description?: string | undefined;
1911
+ owner_receive?: {
1912
+ received: {
1913
+ id: string;
1914
+ balance: string | number;
1915
+ payment: string;
1916
+ }[];
1917
+ balance: string | number;
1918
+ token_type: string;
1919
+ } | "recently" | {
1920
+ type: string;
1921
+ id: string;
1922
+ content_raw?: any;
1923
+ }[] | undefined;
1924
+ um?: string | null | undefined;
1925
+ node?: {
1926
+ op: "add";
1927
+ nodes: {
1928
+ name: string;
1929
+ pairs: {
1930
+ forwards: {
1931
+ name: string;
1932
+ weight: number;
1933
+ guard?: {
1934
+ guard: string;
1935
+ retained_submission?: number[] | undefined;
1936
+ } | undefined;
1937
+ namedOperator?: string | undefined;
1938
+ permissionIndex?: number | undefined;
1939
+ }[];
1940
+ threshold: number;
1941
+ prev_node: string;
1942
+ }[];
1943
+ }[];
1944
+ bReplace?: boolean | undefined;
1945
+ } | {
1946
+ op: "set";
1947
+ nodes: {
1948
+ name: string;
1949
+ pairs: {
1950
+ forwards: {
1951
+ name: string;
1952
+ weight: number;
1953
+ guard?: {
1954
+ guard: string;
1955
+ retained_submission?: number[] | undefined;
1956
+ } | undefined;
1957
+ namedOperator?: string | undefined;
1958
+ permissionIndex?: number | undefined;
1959
+ }[];
1960
+ threshold: number;
1961
+ prev_node: string;
1962
+ }[];
1963
+ }[];
1964
+ bReplace?: boolean | undefined;
1965
+ } | {
1966
+ op: "remove";
1967
+ nodes: string[];
1968
+ } | {
1969
+ op: "clear";
1970
+ } | {
1971
+ op: "exchange";
1972
+ node_one: string;
1973
+ node_other: string;
1974
+ } | {
1975
+ op: "rename";
1976
+ node_name_old: string;
1977
+ node_name_new: string;
1978
+ } | {
1979
+ op: "remove prior node";
1980
+ pairs: {
1981
+ prior_node_name: string[];
1982
+ node_name: string;
1983
+ }[];
1984
+ } | {
1985
+ data: {
1986
+ forward: {
1987
+ name: string;
1988
+ weight: number;
1989
+ namedOperator?: string | null | undefined;
1990
+ permissionIndex?: number | null | undefined;
1991
+ }[];
1992
+ prior_node_name: string;
1993
+ node_name: string;
1994
+ threshold?: number | null | undefined;
1995
+ }[];
1996
+ op: "add forward";
1997
+ } | {
1998
+ data: {
1999
+ prior_node_name: string;
2000
+ node_name: string;
2001
+ forward_name: string[];
2002
+ }[];
2003
+ op: "remove forward";
2004
+ } | {
2005
+ json_or_markdown_file: string;
2006
+ } | undefined;
2007
+ repository?: {
2008
+ op: "set" | "add";
2009
+ objects: string[];
2010
+ } | {
2011
+ op: "remove";
2012
+ objects: string[];
2013
+ } | {
2014
+ op: "clear";
2015
+ } | undefined;
2016
+ progress_new?: {
2017
+ task?: string | null | undefined;
2018
+ namedNew?: {
2019
+ name?: string | undefined;
2020
+ replaceExistName?: boolean | undefined;
2021
+ tags?: string[] | undefined;
2022
+ onChain?: boolean | undefined;
2023
+ } | undefined;
2024
+ repository?: {
2025
+ op: "set" | "add";
2026
+ objects: string[];
2027
+ } | {
2028
+ op: "remove";
2029
+ objects: string[];
2030
+ } | {
2031
+ op: "clear";
2032
+ } | undefined;
2033
+ progress_namedOperator?: {
2034
+ name: string;
2035
+ op: "set" | "add" | "remove";
2036
+ operators: {
2037
+ entities: {
2038
+ name_or_address?: string | undefined;
2039
+ local_mark_first?: boolean | undefined;
2040
+ }[];
2041
+ check_all_founded?: boolean | undefined;
2042
+ };
2043
+ } | undefined;
2044
+ } | undefined;
2045
+ pause?: boolean | undefined;
2046
+ publish?: boolean | undefined;
2047
+ }, {
2048
+ object: string | {
2049
+ name?: string | undefined;
2050
+ replaceExistName?: boolean | undefined;
2051
+ tags?: string[] | undefined;
2052
+ onChain?: boolean | undefined;
2053
+ permission?: string | {
2054
+ name?: string | undefined;
2055
+ description?: string | undefined;
2056
+ replaceExistName?: boolean | undefined;
2057
+ tags?: string[] | undefined;
2058
+ onChain?: boolean | undefined;
2059
+ } | undefined;
2060
+ };
2061
+ description?: string | undefined;
2062
+ owner_receive?: {
2063
+ received: {
2064
+ id: string;
2065
+ balance: string | number;
2066
+ payment: string;
2067
+ }[];
2068
+ balance: string | number;
2069
+ token_type: string;
2070
+ } | "recently" | {
2071
+ type: string;
2072
+ id: string;
2073
+ content_raw?: any;
2074
+ }[] | undefined;
2075
+ um?: string | null | undefined;
2076
+ node?: {
2077
+ op: "add";
2078
+ nodes: {
2079
+ name: string;
2080
+ pairs: {
2081
+ forwards: {
2082
+ name: string;
2083
+ weight: number;
2084
+ guard?: {
2085
+ guard: string;
2086
+ retained_submission?: number[] | undefined;
2087
+ } | undefined;
2088
+ namedOperator?: string | undefined;
2089
+ permissionIndex?: number | undefined;
2090
+ }[];
2091
+ threshold: number;
2092
+ prev_node: string;
2093
+ }[];
2094
+ }[];
2095
+ bReplace?: boolean | undefined;
2096
+ } | {
2097
+ op: "set";
2098
+ nodes: {
2099
+ name: string;
2100
+ pairs: {
2101
+ forwards: {
2102
+ name: string;
2103
+ weight: number;
2104
+ guard?: {
2105
+ guard: string;
2106
+ retained_submission?: number[] | undefined;
2107
+ } | undefined;
2108
+ namedOperator?: string | undefined;
2109
+ permissionIndex?: number | undefined;
2110
+ }[];
2111
+ threshold: number;
2112
+ prev_node: string;
2113
+ }[];
2114
+ }[];
2115
+ bReplace?: boolean | undefined;
2116
+ } | {
2117
+ op: "remove";
2118
+ nodes: string[];
2119
+ } | {
2120
+ op: "clear";
2121
+ } | {
2122
+ op: "exchange";
2123
+ node_one: string;
2124
+ node_other: string;
2125
+ } | {
2126
+ op: "rename";
2127
+ node_name_old: string;
2128
+ node_name_new: string;
2129
+ } | {
2130
+ op: "remove prior node";
2131
+ pairs: {
2132
+ prior_node_name: string[];
2133
+ node_name: string;
2134
+ }[];
2135
+ } | {
2136
+ data: {
2137
+ forward: {
2138
+ name: string;
2139
+ weight: number;
2140
+ namedOperator?: string | null | undefined;
2141
+ permissionIndex?: number | null | undefined;
2142
+ }[];
2143
+ prior_node_name: string;
2144
+ node_name: string;
2145
+ threshold?: number | null | undefined;
2146
+ }[];
2147
+ op: "add forward";
2148
+ } | {
2149
+ data: {
2150
+ prior_node_name: string;
2151
+ node_name: string;
2152
+ forward_name: string[];
2153
+ }[];
2154
+ op: "remove forward";
2155
+ } | {
2156
+ json_or_markdown_file: string;
2157
+ } | undefined;
2158
+ repository?: {
2159
+ op: "set" | "add";
2160
+ objects: string[];
2161
+ } | {
2162
+ op: "remove";
2163
+ objects: string[];
2164
+ } | {
2165
+ op: "clear";
2166
+ } | undefined;
2167
+ progress_new?: {
2168
+ task?: string | null | undefined;
2169
+ namedNew?: {
2170
+ name?: string | undefined;
2171
+ replaceExistName?: boolean | undefined;
2172
+ tags?: string[] | undefined;
2173
+ onChain?: boolean | undefined;
2174
+ } | undefined;
2175
+ repository?: {
2176
+ op: "set" | "add";
2177
+ objects: string[];
2178
+ } | {
2179
+ op: "remove";
2180
+ objects: string[];
2181
+ } | {
2182
+ op: "clear";
2183
+ } | undefined;
2184
+ progress_namedOperator?: {
2185
+ name: string;
2186
+ op: "set" | "add" | "remove";
2187
+ operators: {
2188
+ entities: {
2189
+ name_or_address?: string | undefined;
2190
+ local_mark_first?: boolean | undefined;
2191
+ }[];
2192
+ check_all_founded?: boolean | undefined;
2193
+ };
2194
+ } | undefined;
2195
+ } | undefined;
2196
+ pause?: boolean | undefined;
2197
+ publish?: boolean | undefined;
2198
+ }>;
2199
+ export declare const CallMachine_InputSchema: z.ZodObject<{
2200
+ data: z.ZodObject<{
2201
+ object: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
2202
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2203
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2204
+ onChain: z.ZodOptional<z.ZodBoolean>;
2205
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
2206
+ } & {
2207
+ permission: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
2208
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2209
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2210
+ onChain: z.ZodOptional<z.ZodBoolean>;
2211
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
2212
+ } & {
2213
+ description: z.ZodOptional<z.ZodString>;
2214
+ }, "strict", z.ZodTypeAny, {
2215
+ name?: string | undefined;
2216
+ description?: string | undefined;
2217
+ replaceExistName?: boolean | undefined;
2218
+ tags?: string[] | undefined;
2219
+ onChain?: boolean | undefined;
2220
+ }, {
2221
+ name?: string | undefined;
2222
+ description?: string | undefined;
2223
+ replaceExistName?: boolean | undefined;
2224
+ tags?: string[] | undefined;
2225
+ onChain?: boolean | undefined;
2226
+ }>]>>;
2227
+ }, "strict", z.ZodTypeAny, {
2228
+ name?: string | undefined;
2229
+ replaceExistName?: boolean | undefined;
2230
+ tags?: string[] | undefined;
2231
+ onChain?: boolean | undefined;
2232
+ permission?: string | {
2233
+ name?: string | undefined;
2234
+ description?: string | undefined;
2235
+ replaceExistName?: boolean | undefined;
2236
+ tags?: string[] | undefined;
2237
+ onChain?: boolean | undefined;
2238
+ } | undefined;
2239
+ }, {
2240
+ name?: string | undefined;
2241
+ replaceExistName?: boolean | undefined;
2242
+ tags?: string[] | undefined;
2243
+ onChain?: boolean | undefined;
2244
+ permission?: string | {
2245
+ name?: string | undefined;
2246
+ description?: string | undefined;
2247
+ replaceExistName?: boolean | undefined;
2248
+ tags?: string[] | undefined;
2249
+ onChain?: boolean | undefined;
2250
+ } | undefined;
2251
+ }>]>;
2252
+ progress_new: z.ZodOptional<z.ZodObject<{
2253
+ task: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
2254
+ repository: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2255
+ op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
2256
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2257
+ }, "strict", z.ZodTypeAny, {
2258
+ op: "set" | "add";
2259
+ objects: string[];
2260
+ }, {
2261
+ op: "set" | "add";
2262
+ objects: string[];
2263
+ }>, z.ZodObject<{
2264
+ op: z.ZodLiteral<"remove">;
2265
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2266
+ }, "strict", z.ZodTypeAny, {
2267
+ op: "remove";
2268
+ objects: string[];
2269
+ }, {
2270
+ op: "remove";
2271
+ objects: string[];
2272
+ }>, z.ZodObject<{
2273
+ op: z.ZodLiteral<"clear">;
2274
+ }, "strict", z.ZodTypeAny, {
2275
+ op: "clear";
2276
+ }, {
2277
+ op: "clear";
2278
+ }>]>>;
2279
+ progress_namedOperator: z.ZodOptional<z.ZodObject<{
2280
+ op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">, z.ZodLiteral<"remove">]>;
2281
+ name: z.ZodEffects<z.ZodString, string, string>;
2282
+ operators: z.ZodObject<{
2283
+ entities: z.ZodArray<z.ZodObject<{
2284
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2285
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
2286
+ }, "strict", z.ZodTypeAny, {
2287
+ name_or_address?: string | undefined;
2288
+ local_mark_first?: boolean | undefined;
2289
+ }, {
2290
+ name_or_address?: string | undefined;
2291
+ local_mark_first?: boolean | undefined;
2292
+ }>, "many">;
2293
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
2294
+ }, "strict", z.ZodTypeAny, {
2295
+ entities: {
2296
+ name_or_address?: string | undefined;
2297
+ local_mark_first?: boolean | undefined;
2298
+ }[];
2299
+ check_all_founded?: boolean | undefined;
2300
+ }, {
2301
+ entities: {
2302
+ name_or_address?: string | undefined;
2303
+ local_mark_first?: boolean | undefined;
2304
+ }[];
2305
+ check_all_founded?: boolean | undefined;
2306
+ }>;
2307
+ }, "strict", z.ZodTypeAny, {
2308
+ name: string;
2309
+ op: "set" | "add" | "remove";
2310
+ operators: {
2311
+ entities: {
2312
+ name_or_address?: string | undefined;
2313
+ local_mark_first?: boolean | undefined;
2314
+ }[];
2315
+ check_all_founded?: boolean | undefined;
2316
+ };
2317
+ }, {
2318
+ name: string;
2319
+ op: "set" | "add" | "remove";
2320
+ operators: {
2321
+ entities: {
2322
+ name_or_address?: string | undefined;
2323
+ local_mark_first?: boolean | undefined;
2324
+ }[];
2325
+ check_all_founded?: boolean | undefined;
2326
+ };
2327
+ }>>;
2328
+ namedNew: z.ZodOptional<z.ZodObject<{
2329
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2330
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2331
+ onChain: z.ZodOptional<z.ZodBoolean>;
2332
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
2333
+ }, "strict", z.ZodTypeAny, {
2334
+ name?: string | undefined;
2335
+ replaceExistName?: boolean | undefined;
2336
+ tags?: string[] | undefined;
2337
+ onChain?: boolean | undefined;
2338
+ }, {
2339
+ name?: string | undefined;
2340
+ replaceExistName?: boolean | undefined;
2341
+ tags?: string[] | undefined;
2342
+ onChain?: boolean | undefined;
2343
+ }>>;
2344
+ }, "strict", z.ZodTypeAny, {
2345
+ task?: string | null | undefined;
2346
+ namedNew?: {
2347
+ name?: string | undefined;
2348
+ replaceExistName?: boolean | undefined;
2349
+ tags?: string[] | undefined;
2350
+ onChain?: boolean | undefined;
2351
+ } | undefined;
2352
+ repository?: {
2353
+ op: "set" | "add";
2354
+ objects: string[];
2355
+ } | {
2356
+ op: "remove";
2357
+ objects: string[];
2358
+ } | {
2359
+ op: "clear";
2360
+ } | undefined;
2361
+ progress_namedOperator?: {
2362
+ name: string;
2363
+ op: "set" | "add" | "remove";
2364
+ operators: {
2365
+ entities: {
2366
+ name_or_address?: string | undefined;
2367
+ local_mark_first?: boolean | undefined;
2368
+ }[];
2369
+ check_all_founded?: boolean | undefined;
2370
+ };
2371
+ } | undefined;
2372
+ }, {
2373
+ task?: string | null | undefined;
2374
+ namedNew?: {
2375
+ name?: string | undefined;
2376
+ replaceExistName?: boolean | undefined;
2377
+ tags?: string[] | undefined;
2378
+ onChain?: boolean | undefined;
2379
+ } | undefined;
2380
+ repository?: {
2381
+ op: "set" | "add";
2382
+ objects: string[];
2383
+ } | {
2384
+ op: "remove";
2385
+ objects: string[];
2386
+ } | {
2387
+ op: "clear";
2388
+ } | undefined;
2389
+ progress_namedOperator?: {
2390
+ name: string;
2391
+ op: "set" | "add" | "remove";
2392
+ operators: {
2393
+ entities: {
2394
+ name_or_address?: string | undefined;
2395
+ local_mark_first?: boolean | undefined;
2396
+ }[];
2397
+ check_all_founded?: boolean | undefined;
2398
+ };
2399
+ } | undefined;
2400
+ }>>;
2401
+ description: z.ZodOptional<z.ZodString>;
2402
+ repository: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2403
+ op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
2404
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2405
+ }, "strict", z.ZodTypeAny, {
2406
+ op: "set" | "add";
2407
+ objects: string[];
2408
+ }, {
2409
+ op: "set" | "add";
2410
+ objects: string[];
2411
+ }>, z.ZodObject<{
2412
+ op: z.ZodLiteral<"remove">;
2413
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2414
+ }, "strict", z.ZodTypeAny, {
2415
+ op: "remove";
2416
+ objects: string[];
2417
+ }, {
2418
+ op: "remove";
2419
+ objects: string[];
2420
+ }>, z.ZodObject<{
2421
+ op: z.ZodLiteral<"clear">;
2422
+ }, "strict", z.ZodTypeAny, {
2423
+ op: "clear";
2424
+ }, {
2425
+ op: "clear";
2426
+ }>]>>;
2427
+ node: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
2428
+ op: z.ZodLiteral<"add">;
2429
+ nodes: z.ZodArray<z.ZodObject<{
2430
+ name: z.ZodString;
2431
+ pairs: z.ZodArray<z.ZodObject<{
2432
+ prev_node: z.ZodString;
2433
+ threshold: z.ZodNumber;
2434
+ forwards: z.ZodArray<z.ZodObject<{
2435
+ name: z.ZodString;
2436
+ namedOperator: z.ZodOptional<z.ZodString>;
2437
+ permissionIndex: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
2438
+ weight: z.ZodNumber;
2439
+ guard: z.ZodOptional<z.ZodObject<{
2440
+ guard: z.ZodString;
2441
+ retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
2442
+ }, "strict", z.ZodTypeAny, {
2443
+ guard: string;
2444
+ retained_submission?: number[] | undefined;
2445
+ }, {
2446
+ guard: string;
2447
+ retained_submission?: number[] | undefined;
2448
+ }>>;
2449
+ }, "strict", z.ZodTypeAny, {
2450
+ name: string;
2451
+ weight: number;
2452
+ guard?: {
2453
+ guard: string;
2454
+ retained_submission?: number[] | undefined;
2455
+ } | undefined;
2456
+ namedOperator?: string | undefined;
2457
+ permissionIndex?: number | undefined;
2458
+ }, {
2459
+ name: string;
2460
+ weight: number;
2461
+ guard?: {
2462
+ guard: string;
2463
+ retained_submission?: number[] | undefined;
2464
+ } | undefined;
2465
+ namedOperator?: string | undefined;
2466
+ permissionIndex?: number | undefined;
2467
+ }>, "many">;
2468
+ }, "strict", z.ZodTypeAny, {
2469
+ forwards: {
2470
+ name: string;
2471
+ weight: number;
2472
+ guard?: {
2473
+ guard: string;
2474
+ retained_submission?: number[] | undefined;
2475
+ } | undefined;
2476
+ namedOperator?: string | undefined;
2477
+ permissionIndex?: number | undefined;
2478
+ }[];
2479
+ threshold: number;
2480
+ prev_node: string;
2481
+ }, {
2482
+ forwards: {
2483
+ name: string;
2484
+ weight: number;
2485
+ guard?: {
2486
+ guard: string;
2487
+ retained_submission?: number[] | undefined;
2488
+ } | undefined;
2489
+ namedOperator?: string | undefined;
2490
+ permissionIndex?: number | undefined;
2491
+ }[];
2492
+ threshold: number;
2493
+ prev_node: string;
2494
+ }>, "many">;
2495
+ }, "strict", z.ZodTypeAny, {
2496
+ name: string;
2497
+ pairs: {
2498
+ forwards: {
2499
+ name: string;
2500
+ weight: number;
2501
+ guard?: {
2502
+ guard: string;
2503
+ retained_submission?: number[] | undefined;
2504
+ } | undefined;
2505
+ namedOperator?: string | undefined;
2506
+ permissionIndex?: number | undefined;
2507
+ }[];
2508
+ threshold: number;
2509
+ prev_node: string;
2510
+ }[];
2511
+ }, {
2512
+ name: string;
2513
+ pairs: {
2514
+ forwards: {
2515
+ name: string;
2516
+ weight: number;
2517
+ guard?: {
2518
+ guard: string;
2519
+ retained_submission?: number[] | undefined;
2520
+ } | undefined;
2521
+ namedOperator?: string | undefined;
2522
+ permissionIndex?: number | undefined;
2523
+ }[];
2524
+ threshold: number;
2525
+ prev_node: string;
2526
+ }[];
2527
+ }>, "many">;
2528
+ bReplace: z.ZodOptional<z.ZodBoolean>;
2529
+ }, "strict", z.ZodTypeAny, {
2530
+ op: "add";
2531
+ nodes: {
2532
+ name: string;
2533
+ pairs: {
2534
+ forwards: {
2535
+ name: string;
2536
+ weight: number;
2537
+ guard?: {
2538
+ guard: string;
2539
+ retained_submission?: number[] | undefined;
2540
+ } | undefined;
2541
+ namedOperator?: string | undefined;
2542
+ permissionIndex?: number | undefined;
2543
+ }[];
2544
+ threshold: number;
2545
+ prev_node: string;
2546
+ }[];
2547
+ }[];
2548
+ bReplace?: boolean | undefined;
2549
+ }, {
2550
+ op: "add";
2551
+ nodes: {
2552
+ name: string;
2553
+ pairs: {
2554
+ forwards: {
2555
+ name: string;
2556
+ weight: number;
2557
+ guard?: {
2558
+ guard: string;
2559
+ retained_submission?: number[] | undefined;
2560
+ } | undefined;
2561
+ namedOperator?: string | undefined;
2562
+ permissionIndex?: number | undefined;
2563
+ }[];
2564
+ threshold: number;
2565
+ prev_node: string;
2566
+ }[];
2567
+ }[];
2568
+ bReplace?: boolean | undefined;
2569
+ }>, z.ZodObject<{
2570
+ op: z.ZodLiteral<"set">;
2571
+ nodes: z.ZodArray<z.ZodObject<{
2572
+ name: z.ZodString;
2573
+ pairs: z.ZodArray<z.ZodObject<{
2574
+ prev_node: z.ZodString;
2575
+ threshold: z.ZodNumber;
2576
+ forwards: z.ZodArray<z.ZodObject<{
2577
+ name: z.ZodString;
2578
+ namedOperator: z.ZodOptional<z.ZodString>;
2579
+ permissionIndex: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
2580
+ weight: z.ZodNumber;
2581
+ guard: z.ZodOptional<z.ZodObject<{
2582
+ guard: z.ZodString;
2583
+ retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
2584
+ }, "strict", z.ZodTypeAny, {
2585
+ guard: string;
2586
+ retained_submission?: number[] | undefined;
2587
+ }, {
2588
+ guard: string;
2589
+ retained_submission?: number[] | undefined;
2590
+ }>>;
2591
+ }, "strict", z.ZodTypeAny, {
2592
+ name: string;
2593
+ weight: number;
2594
+ guard?: {
2595
+ guard: string;
2596
+ retained_submission?: number[] | undefined;
2597
+ } | undefined;
2598
+ namedOperator?: string | undefined;
2599
+ permissionIndex?: number | undefined;
2600
+ }, {
2601
+ name: string;
2602
+ weight: number;
2603
+ guard?: {
2604
+ guard: string;
2605
+ retained_submission?: number[] | undefined;
2606
+ } | undefined;
2607
+ namedOperator?: string | undefined;
2608
+ permissionIndex?: number | undefined;
2609
+ }>, "many">;
2610
+ }, "strict", z.ZodTypeAny, {
2611
+ forwards: {
2612
+ name: string;
2613
+ weight: number;
2614
+ guard?: {
2615
+ guard: string;
2616
+ retained_submission?: number[] | undefined;
2617
+ } | undefined;
2618
+ namedOperator?: string | undefined;
2619
+ permissionIndex?: number | undefined;
2620
+ }[];
2621
+ threshold: number;
2622
+ prev_node: string;
2623
+ }, {
2624
+ forwards: {
2625
+ name: string;
2626
+ weight: number;
2627
+ guard?: {
2628
+ guard: string;
2629
+ retained_submission?: number[] | undefined;
2630
+ } | undefined;
2631
+ namedOperator?: string | undefined;
2632
+ permissionIndex?: number | undefined;
2633
+ }[];
2634
+ threshold: number;
2635
+ prev_node: string;
2636
+ }>, "many">;
2637
+ }, "strict", z.ZodTypeAny, {
2638
+ name: string;
2639
+ pairs: {
2640
+ forwards: {
2641
+ name: string;
2642
+ weight: number;
2643
+ guard?: {
2644
+ guard: string;
2645
+ retained_submission?: number[] | undefined;
2646
+ } | undefined;
2647
+ namedOperator?: string | undefined;
2648
+ permissionIndex?: number | undefined;
2649
+ }[];
2650
+ threshold: number;
2651
+ prev_node: string;
2652
+ }[];
2653
+ }, {
2654
+ name: string;
2655
+ pairs: {
2656
+ forwards: {
2657
+ name: string;
2658
+ weight: number;
2659
+ guard?: {
2660
+ guard: string;
2661
+ retained_submission?: number[] | undefined;
2662
+ } | undefined;
2663
+ namedOperator?: string | undefined;
2664
+ permissionIndex?: number | undefined;
2665
+ }[];
2666
+ threshold: number;
2667
+ prev_node: string;
2668
+ }[];
2669
+ }>, "many">;
2670
+ bReplace: z.ZodOptional<z.ZodBoolean>;
2671
+ }, "strict", z.ZodTypeAny, {
2672
+ op: "set";
2673
+ nodes: {
2674
+ name: string;
2675
+ pairs: {
2676
+ forwards: {
2677
+ name: string;
2678
+ weight: number;
2679
+ guard?: {
2680
+ guard: string;
2681
+ retained_submission?: number[] | undefined;
2682
+ } | undefined;
2683
+ namedOperator?: string | undefined;
2684
+ permissionIndex?: number | undefined;
2685
+ }[];
2686
+ threshold: number;
2687
+ prev_node: string;
2688
+ }[];
2689
+ }[];
2690
+ bReplace?: boolean | undefined;
2691
+ }, {
2692
+ op: "set";
2693
+ nodes: {
2694
+ name: string;
2695
+ pairs: {
2696
+ forwards: {
2697
+ name: string;
2698
+ weight: number;
2699
+ guard?: {
2700
+ guard: string;
2701
+ retained_submission?: number[] | undefined;
2702
+ } | undefined;
2703
+ namedOperator?: string | undefined;
2704
+ permissionIndex?: number | undefined;
2705
+ }[];
2706
+ threshold: number;
2707
+ prev_node: string;
2708
+ }[];
2709
+ }[];
2710
+ bReplace?: boolean | undefined;
2711
+ }>, z.ZodObject<{
2712
+ op: z.ZodLiteral<"remove">;
2713
+ nodes: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2714
+ }, "strict", z.ZodTypeAny, {
2715
+ op: "remove";
2716
+ nodes: string[];
2717
+ }, {
2718
+ op: "remove";
2719
+ nodes: string[];
2720
+ }>, z.ZodObject<{
2721
+ op: z.ZodLiteral<"clear">;
2722
+ }, "strict", z.ZodTypeAny, {
2723
+ op: "clear";
2724
+ }, {
2725
+ op: "clear";
2726
+ }>, z.ZodObject<{
2727
+ op: z.ZodLiteral<"exchange">;
2728
+ node_one: z.ZodEffects<z.ZodString, string, string>;
2729
+ node_other: z.ZodEffects<z.ZodString, string, string>;
2730
+ }, "strict", z.ZodTypeAny, {
2731
+ op: "exchange";
2732
+ node_one: string;
2733
+ node_other: string;
2734
+ }, {
2735
+ op: "exchange";
2736
+ node_one: string;
2737
+ node_other: string;
2738
+ }>, z.ZodObject<{
2739
+ op: z.ZodLiteral<"rename">;
2740
+ node_name_old: z.ZodEffects<z.ZodString, string, string>;
2741
+ node_name_new: z.ZodEffects<z.ZodString, string, string>;
2742
+ }, "strict", z.ZodTypeAny, {
2743
+ op: "rename";
2744
+ node_name_old: string;
2745
+ node_name_new: string;
2746
+ }, {
2747
+ op: "rename";
2748
+ node_name_old: string;
2749
+ node_name_new: string;
2750
+ }>, z.ZodObject<{
2751
+ op: z.ZodLiteral<"remove prior node">;
2752
+ pairs: z.ZodArray<z.ZodObject<{
2753
+ prior_node_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2754
+ node_name: z.ZodEffects<z.ZodString, string, string>;
2755
+ }, "strict", z.ZodTypeAny, {
2756
+ prior_node_name: string[];
2757
+ node_name: string;
2758
+ }, {
2759
+ prior_node_name: string[];
2760
+ node_name: string;
2761
+ }>, "many">;
2762
+ }, "strict", z.ZodTypeAny, {
2763
+ op: "remove prior node";
2764
+ pairs: {
2765
+ prior_node_name: string[];
2766
+ node_name: string;
2767
+ }[];
2768
+ }, {
2769
+ op: "remove prior node";
2770
+ pairs: {
2771
+ prior_node_name: string[];
2772
+ node_name: string;
2773
+ }[];
2774
+ }>, z.ZodObject<{
2775
+ op: z.ZodLiteral<"add forward">;
2776
+ data: z.ZodArray<z.ZodObject<{
2777
+ prior_node_name: z.ZodEffects<z.ZodString, string, string>;
2778
+ node_name: z.ZodEffects<z.ZodString, string, string>;
2779
+ forward: z.ZodArray<z.ZodObject<{
2780
+ name: z.ZodEffects<z.ZodString, string, string>;
2781
+ namedOperator: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
2782
+ permissionIndex: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodNumber, number, number>, z.ZodNull]>>;
2783
+ weight: z.ZodNumber;
2784
+ }, "strict", z.ZodTypeAny, {
2785
+ name: string;
2786
+ weight: number;
2787
+ namedOperator?: string | null | undefined;
2788
+ permissionIndex?: number | null | undefined;
2789
+ }, {
2790
+ name: string;
2791
+ weight: number;
2792
+ namedOperator?: string | null | undefined;
2793
+ permissionIndex?: number | null | undefined;
2794
+ }>, "many">;
2795
+ threshold: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
2796
+ }, "strict", z.ZodTypeAny, {
2797
+ forward: {
2798
+ name: string;
2799
+ weight: number;
2800
+ namedOperator?: string | null | undefined;
2801
+ permissionIndex?: number | null | undefined;
2802
+ }[];
2803
+ prior_node_name: string;
2804
+ node_name: string;
2805
+ threshold?: number | null | undefined;
2806
+ }, {
2807
+ forward: {
2808
+ name: string;
2809
+ weight: number;
2810
+ namedOperator?: string | null | undefined;
2811
+ permissionIndex?: number | null | undefined;
2812
+ }[];
2813
+ prior_node_name: string;
2814
+ node_name: string;
2815
+ threshold?: number | null | undefined;
2816
+ }>, "many">;
2817
+ }, "strict", z.ZodTypeAny, {
2818
+ data: {
2819
+ forward: {
2820
+ name: string;
2821
+ weight: number;
2822
+ namedOperator?: string | null | undefined;
2823
+ permissionIndex?: number | null | undefined;
2824
+ }[];
2825
+ prior_node_name: string;
2826
+ node_name: string;
2827
+ threshold?: number | null | undefined;
2828
+ }[];
2829
+ op: "add forward";
2830
+ }, {
2831
+ data: {
2832
+ forward: {
2833
+ name: string;
2834
+ weight: number;
2835
+ namedOperator?: string | null | undefined;
2836
+ permissionIndex?: number | null | undefined;
2837
+ }[];
2838
+ prior_node_name: string;
2839
+ node_name: string;
2840
+ threshold?: number | null | undefined;
2841
+ }[];
2842
+ op: "add forward";
2843
+ }>, z.ZodObject<{
2844
+ op: z.ZodLiteral<"remove forward">;
2845
+ data: z.ZodArray<z.ZodObject<{
2846
+ prior_node_name: z.ZodEffects<z.ZodString, string, string>;
2847
+ node_name: z.ZodEffects<z.ZodString, string, string>;
2848
+ forward_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2849
+ }, "strict", z.ZodTypeAny, {
2850
+ prior_node_name: string;
2851
+ node_name: string;
2852
+ forward_name: string[];
2853
+ }, {
2854
+ prior_node_name: string;
2855
+ node_name: string;
2856
+ forward_name: string[];
2857
+ }>, "many">;
2858
+ }, "strict", z.ZodTypeAny, {
2859
+ data: {
2860
+ prior_node_name: string;
2861
+ node_name: string;
2862
+ forward_name: string[];
2863
+ }[];
2864
+ op: "remove forward";
2865
+ }, {
2866
+ data: {
2867
+ prior_node_name: string;
2868
+ node_name: string;
2869
+ forward_name: string[];
2870
+ }[];
2871
+ op: "remove forward";
2872
+ }>]>, z.ZodObject<{
2873
+ json_or_markdown_file: z.ZodString;
2874
+ }, "strict", z.ZodTypeAny, {
2875
+ json_or_markdown_file: string;
2876
+ }, {
2877
+ json_or_markdown_file: string;
2878
+ }>]>>;
2879
+ pause: z.ZodOptional<z.ZodBoolean>;
2880
+ publish: z.ZodOptional<z.ZodBoolean>;
2881
+ owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
2882
+ id: z.ZodString;
2883
+ type: z.ZodString;
2884
+ content_raw: z.ZodOptional<z.ZodAny>;
2885
+ }, "strict", z.ZodTypeAny, {
2886
+ type: string;
2887
+ id: string;
2888
+ content_raw?: any;
2889
+ }, {
2890
+ type: string;
2891
+ id: string;
2892
+ content_raw?: any;
2893
+ }>, "many">, z.ZodObject<{
2894
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2895
+ token_type: z.ZodEffects<z.ZodString, string, string>;
2896
+ received: z.ZodArray<z.ZodObject<{
2897
+ id: z.ZodString;
2898
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2899
+ payment: z.ZodString;
2900
+ }, "strict", z.ZodTypeAny, {
2901
+ id: string;
2902
+ balance: string | number;
2903
+ payment: string;
2904
+ }, {
2905
+ id: string;
2906
+ balance: string | number;
2907
+ payment: string;
2908
+ }>, "many">;
2909
+ }, "strict", z.ZodTypeAny, {
2910
+ received: {
2911
+ id: string;
2912
+ balance: string | number;
2913
+ payment: string;
2914
+ }[];
2915
+ balance: string | number;
2916
+ token_type: string;
2917
+ }, {
2918
+ received: {
2919
+ id: string;
2920
+ balance: string | number;
2921
+ payment: string;
2922
+ }[];
2923
+ balance: string | number;
2924
+ token_type: string;
2925
+ }>, z.ZodLiteral<"recently">]>>;
2926
+ um: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
2927
+ }, "strict", z.ZodTypeAny, {
2928
+ object: string | {
2929
+ name?: string | undefined;
2930
+ replaceExistName?: boolean | undefined;
2931
+ tags?: string[] | undefined;
2932
+ onChain?: boolean | undefined;
2933
+ permission?: string | {
2934
+ name?: string | undefined;
2935
+ description?: string | undefined;
2936
+ replaceExistName?: boolean | undefined;
2937
+ tags?: string[] | undefined;
2938
+ onChain?: boolean | undefined;
2939
+ } | undefined;
2940
+ };
2941
+ description?: string | undefined;
2942
+ owner_receive?: {
2943
+ received: {
2944
+ id: string;
2945
+ balance: string | number;
2946
+ payment: string;
2947
+ }[];
2948
+ balance: string | number;
2949
+ token_type: string;
2950
+ } | "recently" | {
2951
+ type: string;
2952
+ id: string;
2953
+ content_raw?: any;
2954
+ }[] | undefined;
2955
+ um?: string | null | undefined;
2956
+ node?: {
2957
+ op: "add";
2958
+ nodes: {
2959
+ name: string;
2960
+ pairs: {
2961
+ forwards: {
2962
+ name: string;
2963
+ weight: number;
2964
+ guard?: {
2965
+ guard: string;
2966
+ retained_submission?: number[] | undefined;
2967
+ } | undefined;
2968
+ namedOperator?: string | undefined;
2969
+ permissionIndex?: number | undefined;
2970
+ }[];
2971
+ threshold: number;
2972
+ prev_node: string;
2973
+ }[];
2974
+ }[];
2975
+ bReplace?: boolean | undefined;
2976
+ } | {
2977
+ op: "set";
2978
+ nodes: {
2979
+ name: string;
2980
+ pairs: {
2981
+ forwards: {
2982
+ name: string;
2983
+ weight: number;
2984
+ guard?: {
2985
+ guard: string;
2986
+ retained_submission?: number[] | undefined;
2987
+ } | undefined;
2988
+ namedOperator?: string | undefined;
2989
+ permissionIndex?: number | undefined;
2990
+ }[];
2991
+ threshold: number;
2992
+ prev_node: string;
2993
+ }[];
2994
+ }[];
2995
+ bReplace?: boolean | undefined;
2996
+ } | {
2997
+ op: "remove";
2998
+ nodes: string[];
2999
+ } | {
3000
+ op: "clear";
3001
+ } | {
3002
+ op: "exchange";
3003
+ node_one: string;
3004
+ node_other: string;
3005
+ } | {
3006
+ op: "rename";
3007
+ node_name_old: string;
3008
+ node_name_new: string;
3009
+ } | {
3010
+ op: "remove prior node";
3011
+ pairs: {
3012
+ prior_node_name: string[];
3013
+ node_name: string;
3014
+ }[];
3015
+ } | {
3016
+ data: {
3017
+ forward: {
3018
+ name: string;
3019
+ weight: number;
3020
+ namedOperator?: string | null | undefined;
3021
+ permissionIndex?: number | null | undefined;
3022
+ }[];
3023
+ prior_node_name: string;
3024
+ node_name: string;
3025
+ threshold?: number | null | undefined;
3026
+ }[];
3027
+ op: "add forward";
3028
+ } | {
3029
+ data: {
3030
+ prior_node_name: string;
3031
+ node_name: string;
3032
+ forward_name: string[];
3033
+ }[];
3034
+ op: "remove forward";
3035
+ } | {
3036
+ json_or_markdown_file: string;
3037
+ } | undefined;
3038
+ repository?: {
3039
+ op: "set" | "add";
3040
+ objects: string[];
3041
+ } | {
3042
+ op: "remove";
3043
+ objects: string[];
3044
+ } | {
3045
+ op: "clear";
3046
+ } | undefined;
3047
+ progress_new?: {
3048
+ task?: string | null | undefined;
3049
+ namedNew?: {
3050
+ name?: string | undefined;
3051
+ replaceExistName?: boolean | undefined;
3052
+ tags?: string[] | undefined;
3053
+ onChain?: boolean | undefined;
3054
+ } | undefined;
3055
+ repository?: {
3056
+ op: "set" | "add";
3057
+ objects: string[];
3058
+ } | {
3059
+ op: "remove";
3060
+ objects: string[];
3061
+ } | {
3062
+ op: "clear";
3063
+ } | undefined;
3064
+ progress_namedOperator?: {
3065
+ name: string;
3066
+ op: "set" | "add" | "remove";
3067
+ operators: {
3068
+ entities: {
3069
+ name_or_address?: string | undefined;
3070
+ local_mark_first?: boolean | undefined;
3071
+ }[];
3072
+ check_all_founded?: boolean | undefined;
3073
+ };
3074
+ } | undefined;
3075
+ } | undefined;
3076
+ pause?: boolean | undefined;
3077
+ publish?: boolean | undefined;
3078
+ }, {
3079
+ object: string | {
3080
+ name?: string | undefined;
3081
+ replaceExistName?: boolean | undefined;
3082
+ tags?: string[] | undefined;
3083
+ onChain?: boolean | undefined;
3084
+ permission?: string | {
3085
+ name?: string | undefined;
3086
+ description?: string | undefined;
3087
+ replaceExistName?: boolean | undefined;
3088
+ tags?: string[] | undefined;
3089
+ onChain?: boolean | undefined;
3090
+ } | undefined;
3091
+ };
3092
+ description?: string | undefined;
3093
+ owner_receive?: {
3094
+ received: {
3095
+ id: string;
3096
+ balance: string | number;
3097
+ payment: string;
3098
+ }[];
3099
+ balance: string | number;
3100
+ token_type: string;
3101
+ } | "recently" | {
3102
+ type: string;
3103
+ id: string;
3104
+ content_raw?: any;
3105
+ }[] | undefined;
3106
+ um?: string | null | undefined;
3107
+ node?: {
3108
+ op: "add";
3109
+ nodes: {
3110
+ name: string;
3111
+ pairs: {
3112
+ forwards: {
3113
+ name: string;
3114
+ weight: number;
3115
+ guard?: {
3116
+ guard: string;
3117
+ retained_submission?: number[] | undefined;
3118
+ } | undefined;
3119
+ namedOperator?: string | undefined;
3120
+ permissionIndex?: number | undefined;
3121
+ }[];
3122
+ threshold: number;
3123
+ prev_node: string;
3124
+ }[];
3125
+ }[];
3126
+ bReplace?: boolean | undefined;
3127
+ } | {
3128
+ op: "set";
3129
+ nodes: {
3130
+ name: string;
3131
+ pairs: {
3132
+ forwards: {
3133
+ name: string;
3134
+ weight: number;
3135
+ guard?: {
3136
+ guard: string;
3137
+ retained_submission?: number[] | undefined;
3138
+ } | undefined;
3139
+ namedOperator?: string | undefined;
3140
+ permissionIndex?: number | undefined;
3141
+ }[];
3142
+ threshold: number;
3143
+ prev_node: string;
3144
+ }[];
3145
+ }[];
3146
+ bReplace?: boolean | undefined;
3147
+ } | {
3148
+ op: "remove";
3149
+ nodes: string[];
3150
+ } | {
3151
+ op: "clear";
3152
+ } | {
3153
+ op: "exchange";
3154
+ node_one: string;
3155
+ node_other: string;
3156
+ } | {
3157
+ op: "rename";
3158
+ node_name_old: string;
3159
+ node_name_new: string;
3160
+ } | {
3161
+ op: "remove prior node";
3162
+ pairs: {
3163
+ prior_node_name: string[];
3164
+ node_name: string;
3165
+ }[];
3166
+ } | {
3167
+ data: {
3168
+ forward: {
3169
+ name: string;
3170
+ weight: number;
3171
+ namedOperator?: string | null | undefined;
3172
+ permissionIndex?: number | null | undefined;
3173
+ }[];
3174
+ prior_node_name: string;
3175
+ node_name: string;
3176
+ threshold?: number | null | undefined;
3177
+ }[];
3178
+ op: "add forward";
3179
+ } | {
3180
+ data: {
3181
+ prior_node_name: string;
3182
+ node_name: string;
3183
+ forward_name: string[];
3184
+ }[];
3185
+ op: "remove forward";
3186
+ } | {
3187
+ json_or_markdown_file: string;
3188
+ } | undefined;
3189
+ repository?: {
3190
+ op: "set" | "add";
3191
+ objects: string[];
3192
+ } | {
3193
+ op: "remove";
3194
+ objects: string[];
3195
+ } | {
3196
+ op: "clear";
3197
+ } | undefined;
3198
+ progress_new?: {
3199
+ task?: string | null | undefined;
3200
+ namedNew?: {
3201
+ name?: string | undefined;
3202
+ replaceExistName?: boolean | undefined;
3203
+ tags?: string[] | undefined;
3204
+ onChain?: boolean | undefined;
3205
+ } | undefined;
3206
+ repository?: {
3207
+ op: "set" | "add";
3208
+ objects: string[];
3209
+ } | {
3210
+ op: "remove";
3211
+ objects: string[];
3212
+ } | {
3213
+ op: "clear";
3214
+ } | undefined;
3215
+ progress_namedOperator?: {
3216
+ name: string;
3217
+ op: "set" | "add" | "remove";
3218
+ operators: {
3219
+ entities: {
3220
+ name_or_address?: string | undefined;
3221
+ local_mark_first?: boolean | undefined;
3222
+ }[];
3223
+ check_all_founded?: boolean | undefined;
3224
+ };
3225
+ } | undefined;
3226
+ } | undefined;
3227
+ pause?: boolean | undefined;
3228
+ publish?: boolean | undefined;
3229
+ }>;
3230
+ env: z.ZodOptional<z.ZodObject<{
3231
+ account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
3232
+ permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3233
+ no_cache: z.ZodOptional<z.ZodBoolean>;
3234
+ network: z.ZodOptional<z.ZodEnum<[import("wowok").ENTRYPOINT.Localnet, import("wowok").ENTRYPOINT.Testnet]>>;
3235
+ referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
3236
+ }, "strict", z.ZodTypeAny, {
3237
+ account: string;
3238
+ no_cache?: boolean | undefined;
3239
+ network?: import("wowok").ENTRYPOINT | undefined;
3240
+ permission_guard?: string[] | undefined;
3241
+ referrer?: string | undefined;
3242
+ }, {
3243
+ no_cache?: boolean | undefined;
3244
+ network?: import("wowok").ENTRYPOINT | undefined;
3245
+ account?: string | undefined;
3246
+ permission_guard?: string[] | undefined;
3247
+ referrer?: string | undefined;
3248
+ }>>;
3249
+ submission: z.ZodOptional<z.ZodObject<{
3250
+ type: z.ZodLiteral<"submission">;
3251
+ guard: z.ZodArray<z.ZodObject<{
3252
+ object: z.ZodEffects<z.ZodString, string, string>;
3253
+ impack: z.ZodBoolean;
3254
+ }, "strict", z.ZodTypeAny, {
3255
+ object: string;
3256
+ impack: boolean;
3257
+ }, {
3258
+ object: string;
3259
+ impack: boolean;
3260
+ }>, "many">;
3261
+ submission: z.ZodArray<z.ZodObject<{
3262
+ guard: z.ZodEffects<z.ZodString, string, string>;
3263
+ submission: z.ZodArray<z.ZodObject<{
3264
+ identifier: z.ZodNumber;
3265
+ b_submission: z.ZodBoolean;
3266
+ value_type: z.ZodUnion<[z.ZodLiteral<import("wowok").ValueType.Bool>, z.ZodLiteral<import("wowok").ValueType.Address>, z.ZodLiteral<import("wowok").ValueType.String>, z.ZodLiteral<import("wowok").ValueType.U8>, z.ZodLiteral<import("wowok").ValueType.U16>, z.ZodLiteral<import("wowok").ValueType.U32>, z.ZodLiteral<import("wowok").ValueType.U64>, z.ZodLiteral<import("wowok").ValueType.U128>, z.ZodLiteral<import("wowok").ValueType.U256>, z.ZodLiteral<import("wowok").ValueType.VecBool>, z.ZodLiteral<import("wowok").ValueType.VecAddress>, z.ZodLiteral<import("wowok").ValueType.VecString>, z.ZodLiteral<import("wowok").ValueType.VecU8>, z.ZodLiteral<import("wowok").ValueType.VecU16>, z.ZodLiteral<import("wowok").ValueType.VecU32>, z.ZodLiteral<import("wowok").ValueType.VecU64>, z.ZodLiteral<import("wowok").ValueType.VecU128>, z.ZodLiteral<import("wowok").ValueType.VecU256>, z.ZodLiteral<import("wowok").ValueType.VecVecU8>, z.ZodLiteral<"Bool">, z.ZodLiteral<"Address">, z.ZodLiteral<"String">, z.ZodLiteral<"U8">, z.ZodLiteral<"U16">, z.ZodLiteral<"U32">, z.ZodLiteral<"U64">, z.ZodLiteral<"U128">, z.ZodLiteral<"U256">, z.ZodLiteral<"VecBool">, z.ZodLiteral<"VecAddress">, z.ZodLiteral<"VecString">, z.ZodLiteral<"VecU8">, z.ZodLiteral<"VecU16">, z.ZodLiteral<"VecU32">, z.ZodLiteral<"VecU64">, z.ZodLiteral<"VecU128">, z.ZodLiteral<"VecU256">, z.ZodLiteral<"VecVecU8">, z.ZodLiteral<"bool">, z.ZodLiteral<"address">, z.ZodLiteral<"string">, z.ZodLiteral<"u8">, z.ZodLiteral<"u16">, z.ZodLiteral<"u32">, z.ZodLiteral<"u64">, z.ZodLiteral<"u128">, z.ZodLiteral<"u256">, z.ZodLiteral<"vecbool">, z.ZodLiteral<"vecaddress">, z.ZodLiteral<"vecstring">, z.ZodLiteral<"vecu8">, z.ZodLiteral<"vecu16">, z.ZodLiteral<"vecu32">, z.ZodLiteral<"vecu64">, z.ZodLiteral<"vecu128">, z.ZodLiteral<"vecu256">, z.ZodLiteral<"vecvecu8">]>;
3267
+ value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
3268
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
3269
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
3270
+ }, "strict", z.ZodTypeAny, {
3271
+ name_or_address?: string | undefined;
3272
+ local_mark_first?: boolean | undefined;
3273
+ }, {
3274
+ name_or_address?: string | undefined;
3275
+ local_mark_first?: boolean | undefined;
3276
+ }>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean, "many">, z.ZodUnion<[z.ZodObject<{
3277
+ entities: z.ZodArray<z.ZodObject<{
3278
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
3279
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
3280
+ }, "strict", z.ZodTypeAny, {
3281
+ name_or_address?: string | undefined;
3282
+ local_mark_first?: boolean | undefined;
3283
+ }, {
3284
+ name_or_address?: string | undefined;
3285
+ local_mark_first?: boolean | undefined;
3286
+ }>, "many">;
3287
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
3288
+ }, "strict", z.ZodTypeAny, {
3289
+ entities: {
3290
+ name_or_address?: string | undefined;
3291
+ local_mark_first?: boolean | undefined;
3292
+ }[];
3293
+ check_all_founded?: boolean | undefined;
3294
+ }, {
3295
+ entities: {
3296
+ name_or_address?: string | undefined;
3297
+ local_mark_first?: boolean | undefined;
3298
+ }[];
3299
+ check_all_founded?: boolean | undefined;
3300
+ }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>>;
3301
+ name: z.ZodDefault<z.ZodString>;
3302
+ } & {
3303
+ object_type: z.ZodOptional<z.ZodEnum<[import("wowok").ObjectType.Permission, import("wowok").ObjectType.Repository, import("wowok").ObjectType.Arb, import("wowok").ObjectType.Arbitration, import("wowok").ObjectType.Service, import("wowok").ObjectType.Machine, import("wowok").ObjectType.Order, import("wowok").ObjectType.Progress, import("wowok").ObjectType.Payment, import("wowok").ObjectType.Treasury, import("wowok").ObjectType.Guard, import("wowok").ObjectType.Demand, import("wowok").ObjectType.Passport, import("wowok").ObjectType.Allocation, import("wowok").ObjectType.Resource, import("wowok").ObjectType.Reward, import("wowok").ObjectType.Discount, import("wowok").ObjectType.EntityRegistrar, import("wowok").ObjectType.EntityLinker, import("wowok").ObjectType.Proof, import("wowok").ObjectType.WReceivedObject, import("wowok").ObjectType.Contact, import("wowok").ObjectType.TableItem_ProgressHistory, import("wowok").ObjectType.TableItem_PermissionPerm, import("wowok").ObjectType.TableItem_DemandPresenter, import("wowok").ObjectType.TableItem_MachineNode, import("wowok").ObjectType.TableItem_TreasuryHistory, import("wowok").ObjectType.TableItem_RepositoryData, import("wowok").ObjectType.TableItem_RewardRecord, import("wowok").ObjectType.TableItem_EntityLinker, import("wowok").ObjectType.TableItem_AddressMark, import("wowok").ObjectType.TableItem_EntityRegistrar]>>;
3304
+ }, "strict", z.ZodTypeAny, {
3305
+ identifier: number;
3306
+ b_submission: boolean;
3307
+ value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("wowok").ValueType.Bool | import("wowok").ValueType.Address | import("wowok").ValueType.String | import("wowok").ValueType.U8 | import("wowok").ValueType.U16 | import("wowok").ValueType.U32 | import("wowok").ValueType.U64 | import("wowok").ValueType.U128 | import("wowok").ValueType.U256 | import("wowok").ValueType.VecBool | import("wowok").ValueType.VecAddress | import("wowok").ValueType.VecString | import("wowok").ValueType.VecU8 | import("wowok").ValueType.VecU16 | import("wowok").ValueType.VecU32 | import("wowok").ValueType.VecU64 | import("wowok").ValueType.VecU128 | import("wowok").ValueType.VecU256 | import("wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
3308
+ name: string;
3309
+ value?: string | number | boolean | {
3310
+ name_or_address?: string | undefined;
3311
+ local_mark_first?: boolean | undefined;
3312
+ } | {
3313
+ entities: {
3314
+ name_or_address?: string | undefined;
3315
+ local_mark_first?: boolean | undefined;
3316
+ }[];
3317
+ check_all_founded?: boolean | undefined;
3318
+ } | string[] | boolean[] | number[] | number[][] | undefined;
3319
+ object_type?: import("wowok").ObjectType | undefined;
3320
+ }, {
3321
+ identifier: number;
3322
+ b_submission: boolean;
3323
+ value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("wowok").ValueType.Bool | import("wowok").ValueType.Address | import("wowok").ValueType.String | import("wowok").ValueType.U8 | import("wowok").ValueType.U16 | import("wowok").ValueType.U32 | import("wowok").ValueType.U64 | import("wowok").ValueType.U128 | import("wowok").ValueType.U256 | import("wowok").ValueType.VecBool | import("wowok").ValueType.VecAddress | import("wowok").ValueType.VecString | import("wowok").ValueType.VecU8 | import("wowok").ValueType.VecU16 | import("wowok").ValueType.VecU32 | import("wowok").ValueType.VecU64 | import("wowok").ValueType.VecU128 | import("wowok").ValueType.VecU256 | import("wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
3324
+ value?: string | number | boolean | {
3325
+ name_or_address?: string | undefined;
3326
+ local_mark_first?: boolean | undefined;
3327
+ } | {
3328
+ entities: {
3329
+ name_or_address?: string | undefined;
3330
+ local_mark_first?: boolean | undefined;
3331
+ }[];
3332
+ check_all_founded?: boolean | undefined;
3333
+ } | string[] | boolean[] | number[] | number[][] | undefined;
3334
+ name?: string | undefined;
3335
+ object_type?: import("wowok").ObjectType | undefined;
3336
+ }>, "many">;
3337
+ }, "strict", z.ZodTypeAny, {
3338
+ guard: string;
3339
+ submission: {
3340
+ identifier: number;
3341
+ b_submission: boolean;
3342
+ value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("wowok").ValueType.Bool | import("wowok").ValueType.Address | import("wowok").ValueType.String | import("wowok").ValueType.U8 | import("wowok").ValueType.U16 | import("wowok").ValueType.U32 | import("wowok").ValueType.U64 | import("wowok").ValueType.U128 | import("wowok").ValueType.U256 | import("wowok").ValueType.VecBool | import("wowok").ValueType.VecAddress | import("wowok").ValueType.VecString | import("wowok").ValueType.VecU8 | import("wowok").ValueType.VecU16 | import("wowok").ValueType.VecU32 | import("wowok").ValueType.VecU64 | import("wowok").ValueType.VecU128 | import("wowok").ValueType.VecU256 | import("wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
3343
+ name: string;
3344
+ value?: string | number | boolean | {
3345
+ name_or_address?: string | undefined;
3346
+ local_mark_first?: boolean | undefined;
3347
+ } | {
3348
+ entities: {
3349
+ name_or_address?: string | undefined;
3350
+ local_mark_first?: boolean | undefined;
3351
+ }[];
3352
+ check_all_founded?: boolean | undefined;
3353
+ } | string[] | boolean[] | number[] | number[][] | undefined;
3354
+ object_type?: import("wowok").ObjectType | undefined;
3355
+ }[];
3356
+ }, {
3357
+ guard: string;
3358
+ submission: {
3359
+ identifier: number;
3360
+ b_submission: boolean;
3361
+ value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("wowok").ValueType.Bool | import("wowok").ValueType.Address | import("wowok").ValueType.String | import("wowok").ValueType.U8 | import("wowok").ValueType.U16 | import("wowok").ValueType.U32 | import("wowok").ValueType.U64 | import("wowok").ValueType.U128 | import("wowok").ValueType.U256 | import("wowok").ValueType.VecBool | import("wowok").ValueType.VecAddress | import("wowok").ValueType.VecString | import("wowok").ValueType.VecU8 | import("wowok").ValueType.VecU16 | import("wowok").ValueType.VecU32 | import("wowok").ValueType.VecU64 | import("wowok").ValueType.VecU128 | import("wowok").ValueType.VecU256 | import("wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
3362
+ value?: string | number | boolean | {
3363
+ name_or_address?: string | undefined;
3364
+ local_mark_first?: boolean | undefined;
3365
+ } | {
3366
+ entities: {
3367
+ name_or_address?: string | undefined;
3368
+ local_mark_first?: boolean | undefined;
3369
+ }[];
3370
+ check_all_founded?: boolean | undefined;
3371
+ } | string[] | boolean[] | number[] | number[][] | undefined;
3372
+ name?: string | undefined;
3373
+ object_type?: import("wowok").ObjectType | undefined;
3374
+ }[];
3375
+ }>, "many">;
3376
+ }, "strict", z.ZodTypeAny, {
3377
+ type: "submission";
3378
+ guard: {
3379
+ object: string;
3380
+ impack: boolean;
3381
+ }[];
3382
+ submission: {
3383
+ guard: string;
3384
+ submission: {
3385
+ identifier: number;
3386
+ b_submission: boolean;
3387
+ value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("wowok").ValueType.Bool | import("wowok").ValueType.Address | import("wowok").ValueType.String | import("wowok").ValueType.U8 | import("wowok").ValueType.U16 | import("wowok").ValueType.U32 | import("wowok").ValueType.U64 | import("wowok").ValueType.U128 | import("wowok").ValueType.U256 | import("wowok").ValueType.VecBool | import("wowok").ValueType.VecAddress | import("wowok").ValueType.VecString | import("wowok").ValueType.VecU8 | import("wowok").ValueType.VecU16 | import("wowok").ValueType.VecU32 | import("wowok").ValueType.VecU64 | import("wowok").ValueType.VecU128 | import("wowok").ValueType.VecU256 | import("wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
3388
+ name: string;
3389
+ value?: string | number | boolean | {
3390
+ name_or_address?: string | undefined;
3391
+ local_mark_first?: boolean | undefined;
3392
+ } | {
3393
+ entities: {
3394
+ name_or_address?: string | undefined;
3395
+ local_mark_first?: boolean | undefined;
3396
+ }[];
3397
+ check_all_founded?: boolean | undefined;
3398
+ } | string[] | boolean[] | number[] | number[][] | undefined;
3399
+ object_type?: import("wowok").ObjectType | undefined;
3400
+ }[];
3401
+ }[];
3402
+ }, {
3403
+ type: "submission";
3404
+ guard: {
3405
+ object: string;
3406
+ impack: boolean;
3407
+ }[];
3408
+ submission: {
3409
+ guard: string;
3410
+ submission: {
3411
+ identifier: number;
3412
+ b_submission: boolean;
3413
+ value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("wowok").ValueType.Bool | import("wowok").ValueType.Address | import("wowok").ValueType.String | import("wowok").ValueType.U8 | import("wowok").ValueType.U16 | import("wowok").ValueType.U32 | import("wowok").ValueType.U64 | import("wowok").ValueType.U128 | import("wowok").ValueType.U256 | import("wowok").ValueType.VecBool | import("wowok").ValueType.VecAddress | import("wowok").ValueType.VecString | import("wowok").ValueType.VecU8 | import("wowok").ValueType.VecU16 | import("wowok").ValueType.VecU32 | import("wowok").ValueType.VecU64 | import("wowok").ValueType.VecU128 | import("wowok").ValueType.VecU256 | import("wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
3414
+ value?: string | number | boolean | {
3415
+ name_or_address?: string | undefined;
3416
+ local_mark_first?: boolean | undefined;
3417
+ } | {
3418
+ entities: {
3419
+ name_or_address?: string | undefined;
3420
+ local_mark_first?: boolean | undefined;
3421
+ }[];
3422
+ check_all_founded?: boolean | undefined;
3423
+ } | string[] | boolean[] | number[] | number[][] | undefined;
3424
+ name?: string | undefined;
3425
+ object_type?: import("wowok").ObjectType | undefined;
3426
+ }[];
3427
+ }[];
3428
+ }>>;
3429
+ }, "strict", z.ZodTypeAny, {
3430
+ data: {
3431
+ object: string | {
3432
+ name?: string | undefined;
3433
+ replaceExistName?: boolean | undefined;
3434
+ tags?: string[] | undefined;
3435
+ onChain?: boolean | undefined;
3436
+ permission?: string | {
3437
+ name?: string | undefined;
3438
+ description?: string | undefined;
3439
+ replaceExistName?: boolean | undefined;
3440
+ tags?: string[] | undefined;
3441
+ onChain?: boolean | undefined;
3442
+ } | undefined;
3443
+ };
3444
+ description?: string | undefined;
3445
+ owner_receive?: {
3446
+ received: {
3447
+ id: string;
3448
+ balance: string | number;
3449
+ payment: string;
3450
+ }[];
3451
+ balance: string | number;
3452
+ token_type: string;
3453
+ } | "recently" | {
3454
+ type: string;
3455
+ id: string;
3456
+ content_raw?: any;
3457
+ }[] | undefined;
3458
+ um?: string | null | undefined;
3459
+ node?: {
3460
+ op: "add";
3461
+ nodes: {
3462
+ name: string;
3463
+ pairs: {
3464
+ forwards: {
3465
+ name: string;
3466
+ weight: number;
3467
+ guard?: {
3468
+ guard: string;
3469
+ retained_submission?: number[] | undefined;
3470
+ } | undefined;
3471
+ namedOperator?: string | undefined;
3472
+ permissionIndex?: number | undefined;
3473
+ }[];
3474
+ threshold: number;
3475
+ prev_node: string;
3476
+ }[];
3477
+ }[];
3478
+ bReplace?: boolean | undefined;
3479
+ } | {
3480
+ op: "set";
3481
+ nodes: {
3482
+ name: string;
3483
+ pairs: {
3484
+ forwards: {
3485
+ name: string;
3486
+ weight: number;
3487
+ guard?: {
3488
+ guard: string;
3489
+ retained_submission?: number[] | undefined;
3490
+ } | undefined;
3491
+ namedOperator?: string | undefined;
3492
+ permissionIndex?: number | undefined;
3493
+ }[];
3494
+ threshold: number;
3495
+ prev_node: string;
3496
+ }[];
3497
+ }[];
3498
+ bReplace?: boolean | undefined;
3499
+ } | {
3500
+ op: "remove";
3501
+ nodes: string[];
3502
+ } | {
3503
+ op: "clear";
3504
+ } | {
3505
+ op: "exchange";
3506
+ node_one: string;
3507
+ node_other: string;
3508
+ } | {
3509
+ op: "rename";
3510
+ node_name_old: string;
3511
+ node_name_new: string;
3512
+ } | {
3513
+ op: "remove prior node";
3514
+ pairs: {
3515
+ prior_node_name: string[];
3516
+ node_name: string;
3517
+ }[];
3518
+ } | {
3519
+ data: {
3520
+ forward: {
3521
+ name: string;
3522
+ weight: number;
3523
+ namedOperator?: string | null | undefined;
3524
+ permissionIndex?: number | null | undefined;
3525
+ }[];
3526
+ prior_node_name: string;
3527
+ node_name: string;
3528
+ threshold?: number | null | undefined;
3529
+ }[];
3530
+ op: "add forward";
3531
+ } | {
3532
+ data: {
3533
+ prior_node_name: string;
3534
+ node_name: string;
3535
+ forward_name: string[];
3536
+ }[];
3537
+ op: "remove forward";
3538
+ } | {
3539
+ json_or_markdown_file: string;
3540
+ } | undefined;
3541
+ repository?: {
3542
+ op: "set" | "add";
3543
+ objects: string[];
3544
+ } | {
3545
+ op: "remove";
3546
+ objects: string[];
3547
+ } | {
3548
+ op: "clear";
3549
+ } | undefined;
3550
+ progress_new?: {
3551
+ task?: string | null | undefined;
3552
+ namedNew?: {
3553
+ name?: string | undefined;
3554
+ replaceExistName?: boolean | undefined;
3555
+ tags?: string[] | undefined;
3556
+ onChain?: boolean | undefined;
3557
+ } | undefined;
3558
+ repository?: {
3559
+ op: "set" | "add";
3560
+ objects: string[];
3561
+ } | {
3562
+ op: "remove";
3563
+ objects: string[];
3564
+ } | {
3565
+ op: "clear";
3566
+ } | undefined;
3567
+ progress_namedOperator?: {
3568
+ name: string;
3569
+ op: "set" | "add" | "remove";
3570
+ operators: {
3571
+ entities: {
3572
+ name_or_address?: string | undefined;
3573
+ local_mark_first?: boolean | undefined;
3574
+ }[];
3575
+ check_all_founded?: boolean | undefined;
3576
+ };
3577
+ } | undefined;
3578
+ } | undefined;
3579
+ pause?: boolean | undefined;
3580
+ publish?: boolean | undefined;
3581
+ };
3582
+ submission?: {
3583
+ type: "submission";
3584
+ guard: {
3585
+ object: string;
3586
+ impack: boolean;
3587
+ }[];
3588
+ submission: {
3589
+ guard: string;
3590
+ submission: {
3591
+ identifier: number;
3592
+ b_submission: boolean;
3593
+ value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("wowok").ValueType.Bool | import("wowok").ValueType.Address | import("wowok").ValueType.String | import("wowok").ValueType.U8 | import("wowok").ValueType.U16 | import("wowok").ValueType.U32 | import("wowok").ValueType.U64 | import("wowok").ValueType.U128 | import("wowok").ValueType.U256 | import("wowok").ValueType.VecBool | import("wowok").ValueType.VecAddress | import("wowok").ValueType.VecString | import("wowok").ValueType.VecU8 | import("wowok").ValueType.VecU16 | import("wowok").ValueType.VecU32 | import("wowok").ValueType.VecU64 | import("wowok").ValueType.VecU128 | import("wowok").ValueType.VecU256 | import("wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
3594
+ name: string;
3595
+ value?: string | number | boolean | {
3596
+ name_or_address?: string | undefined;
3597
+ local_mark_first?: boolean | undefined;
3598
+ } | {
3599
+ entities: {
3600
+ name_or_address?: string | undefined;
3601
+ local_mark_first?: boolean | undefined;
3602
+ }[];
3603
+ check_all_founded?: boolean | undefined;
3604
+ } | string[] | boolean[] | number[] | number[][] | undefined;
3605
+ object_type?: import("wowok").ObjectType | undefined;
3606
+ }[];
3607
+ }[];
3608
+ } | undefined;
3609
+ env?: {
3610
+ account: string;
3611
+ no_cache?: boolean | undefined;
3612
+ network?: import("wowok").ENTRYPOINT | undefined;
3613
+ permission_guard?: string[] | undefined;
3614
+ referrer?: string | undefined;
3615
+ } | undefined;
3616
+ }, {
3617
+ data: {
3618
+ object: string | {
3619
+ name?: string | undefined;
3620
+ replaceExistName?: boolean | undefined;
3621
+ tags?: string[] | undefined;
3622
+ onChain?: boolean | undefined;
3623
+ permission?: string | {
3624
+ name?: string | undefined;
3625
+ description?: string | undefined;
3626
+ replaceExistName?: boolean | undefined;
3627
+ tags?: string[] | undefined;
3628
+ onChain?: boolean | undefined;
3629
+ } | undefined;
3630
+ };
3631
+ description?: string | undefined;
3632
+ owner_receive?: {
3633
+ received: {
3634
+ id: string;
3635
+ balance: string | number;
3636
+ payment: string;
3637
+ }[];
3638
+ balance: string | number;
3639
+ token_type: string;
3640
+ } | "recently" | {
3641
+ type: string;
3642
+ id: string;
3643
+ content_raw?: any;
3644
+ }[] | undefined;
3645
+ um?: string | null | undefined;
3646
+ node?: {
3647
+ op: "add";
3648
+ nodes: {
3649
+ name: string;
3650
+ pairs: {
3651
+ forwards: {
3652
+ name: string;
3653
+ weight: number;
3654
+ guard?: {
3655
+ guard: string;
3656
+ retained_submission?: number[] | undefined;
3657
+ } | undefined;
3658
+ namedOperator?: string | undefined;
3659
+ permissionIndex?: number | undefined;
3660
+ }[];
3661
+ threshold: number;
3662
+ prev_node: string;
3663
+ }[];
3664
+ }[];
3665
+ bReplace?: boolean | undefined;
3666
+ } | {
3667
+ op: "set";
3668
+ nodes: {
3669
+ name: string;
3670
+ pairs: {
3671
+ forwards: {
3672
+ name: string;
3673
+ weight: number;
3674
+ guard?: {
3675
+ guard: string;
3676
+ retained_submission?: number[] | undefined;
3677
+ } | undefined;
3678
+ namedOperator?: string | undefined;
3679
+ permissionIndex?: number | undefined;
3680
+ }[];
3681
+ threshold: number;
3682
+ prev_node: string;
3683
+ }[];
3684
+ }[];
3685
+ bReplace?: boolean | undefined;
3686
+ } | {
3687
+ op: "remove";
3688
+ nodes: string[];
3689
+ } | {
3690
+ op: "clear";
3691
+ } | {
3692
+ op: "exchange";
3693
+ node_one: string;
3694
+ node_other: string;
3695
+ } | {
3696
+ op: "rename";
3697
+ node_name_old: string;
3698
+ node_name_new: string;
3699
+ } | {
3700
+ op: "remove prior node";
3701
+ pairs: {
3702
+ prior_node_name: string[];
3703
+ node_name: string;
3704
+ }[];
3705
+ } | {
3706
+ data: {
3707
+ forward: {
3708
+ name: string;
3709
+ weight: number;
3710
+ namedOperator?: string | null | undefined;
3711
+ permissionIndex?: number | null | undefined;
3712
+ }[];
3713
+ prior_node_name: string;
3714
+ node_name: string;
3715
+ threshold?: number | null | undefined;
3716
+ }[];
3717
+ op: "add forward";
3718
+ } | {
3719
+ data: {
3720
+ prior_node_name: string;
3721
+ node_name: string;
3722
+ forward_name: string[];
3723
+ }[];
3724
+ op: "remove forward";
3725
+ } | {
3726
+ json_or_markdown_file: string;
3727
+ } | undefined;
3728
+ repository?: {
3729
+ op: "set" | "add";
3730
+ objects: string[];
3731
+ } | {
3732
+ op: "remove";
3733
+ objects: string[];
3734
+ } | {
3735
+ op: "clear";
3736
+ } | undefined;
3737
+ progress_new?: {
3738
+ task?: string | null | undefined;
3739
+ namedNew?: {
3740
+ name?: string | undefined;
3741
+ replaceExistName?: boolean | undefined;
3742
+ tags?: string[] | undefined;
3743
+ onChain?: boolean | undefined;
3744
+ } | undefined;
3745
+ repository?: {
3746
+ op: "set" | "add";
3747
+ objects: string[];
3748
+ } | {
3749
+ op: "remove";
3750
+ objects: string[];
3751
+ } | {
3752
+ op: "clear";
3753
+ } | undefined;
3754
+ progress_namedOperator?: {
3755
+ name: string;
3756
+ op: "set" | "add" | "remove";
3757
+ operators: {
3758
+ entities: {
3759
+ name_or_address?: string | undefined;
3760
+ local_mark_first?: boolean | undefined;
3761
+ }[];
3762
+ check_all_founded?: boolean | undefined;
3763
+ };
3764
+ } | undefined;
3765
+ } | undefined;
3766
+ pause?: boolean | undefined;
3767
+ publish?: boolean | undefined;
3768
+ };
3769
+ submission?: {
3770
+ type: "submission";
3771
+ guard: {
3772
+ object: string;
3773
+ impack: boolean;
3774
+ }[];
3775
+ submission: {
3776
+ guard: string;
3777
+ submission: {
3778
+ identifier: number;
3779
+ b_submission: boolean;
3780
+ value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("wowok").ValueType.Bool | import("wowok").ValueType.Address | import("wowok").ValueType.String | import("wowok").ValueType.U8 | import("wowok").ValueType.U16 | import("wowok").ValueType.U32 | import("wowok").ValueType.U64 | import("wowok").ValueType.U128 | import("wowok").ValueType.U256 | import("wowok").ValueType.VecBool | import("wowok").ValueType.VecAddress | import("wowok").ValueType.VecString | import("wowok").ValueType.VecU8 | import("wowok").ValueType.VecU16 | import("wowok").ValueType.VecU32 | import("wowok").ValueType.VecU64 | import("wowok").ValueType.VecU128 | import("wowok").ValueType.VecU256 | import("wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
3781
+ value?: string | number | boolean | {
3782
+ name_or_address?: string | undefined;
3783
+ local_mark_first?: boolean | undefined;
3784
+ } | {
3785
+ entities: {
3786
+ name_or_address?: string | undefined;
3787
+ local_mark_first?: boolean | undefined;
3788
+ }[];
3789
+ check_all_founded?: boolean | undefined;
3790
+ } | string[] | boolean[] | number[] | number[][] | undefined;
3791
+ name?: string | undefined;
3792
+ object_type?: import("wowok").ObjectType | undefined;
3793
+ }[];
3794
+ }[];
3795
+ } | undefined;
3796
+ env?: {
3797
+ no_cache?: boolean | undefined;
3798
+ network?: import("wowok").ENTRYPOINT | undefined;
3799
+ account?: string | undefined;
3800
+ permission_guard?: string[] | undefined;
3801
+ referrer?: string | undefined;
3802
+ } | undefined;
3803
+ }>;
3804
+ export declare const MachineNode2File_InputSchema: z.ZodObject<{
3805
+ machine: z.ZodEffects<z.ZodString, string, string>;
3806
+ file_path: z.ZodString;
3807
+ format: z.ZodOptional<z.ZodEnum<["json", "markdown"]>>;
3808
+ env: z.ZodOptional<z.ZodObject<{
3809
+ account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
3810
+ permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3811
+ no_cache: z.ZodOptional<z.ZodBoolean>;
3812
+ network: z.ZodOptional<z.ZodEnum<[import("wowok").ENTRYPOINT.Localnet, import("wowok").ENTRYPOINT.Testnet]>>;
3813
+ referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
3814
+ }, "strict", z.ZodTypeAny, {
3815
+ account: string;
3816
+ no_cache?: boolean | undefined;
3817
+ network?: import("wowok").ENTRYPOINT | undefined;
3818
+ permission_guard?: string[] | undefined;
3819
+ referrer?: string | undefined;
3820
+ }, {
3821
+ no_cache?: boolean | undefined;
3822
+ network?: import("wowok").ENTRYPOINT | undefined;
3823
+ account?: string | undefined;
3824
+ permission_guard?: string[] | undefined;
3825
+ referrer?: string | undefined;
3826
+ }>>;
3827
+ }, "strict", z.ZodTypeAny, {
3828
+ machine: string;
3829
+ file_path: string;
3830
+ format?: "markdown" | "json" | undefined;
3831
+ env?: {
3832
+ account: string;
3833
+ no_cache?: boolean | undefined;
3834
+ network?: import("wowok").ENTRYPOINT | undefined;
3835
+ permission_guard?: string[] | undefined;
3836
+ referrer?: string | undefined;
3837
+ } | undefined;
3838
+ }, {
3839
+ machine: string;
3840
+ file_path: string;
3841
+ format?: "markdown" | "json" | undefined;
3842
+ env?: {
3843
+ no_cache?: boolean | undefined;
3844
+ network?: import("wowok").ENTRYPOINT | undefined;
3845
+ account?: string | undefined;
3846
+ permission_guard?: string[] | undefined;
3847
+ referrer?: string | undefined;
3848
+ } | undefined;
3849
+ }>;
3850
+ export declare const MachineNode2File_OutputSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3851
+ status: z.ZodLiteral<"success">;
3852
+ data: z.ZodObject<{
3853
+ file_path: z.ZodString;
3854
+ format: z.ZodEnum<["json", "markdown"]>;
3855
+ machine_object: z.ZodEffects<z.ZodString, string, string>;
3856
+ node_count: z.ZodNumber;
3857
+ }, "strict", z.ZodTypeAny, {
3858
+ format: "markdown" | "json";
3859
+ node_count: number;
3860
+ file_path: string;
3861
+ machine_object: string;
3862
+ }, {
3863
+ format: "markdown" | "json";
3864
+ node_count: number;
3865
+ file_path: string;
3866
+ machine_object: string;
3867
+ }>;
3868
+ }, "strict", z.ZodTypeAny, {
3869
+ status: "success";
3870
+ data: {
3871
+ format: "markdown" | "json";
3872
+ node_count: number;
3873
+ file_path: string;
3874
+ machine_object: string;
3875
+ };
3876
+ }, {
3877
+ status: "success";
3878
+ data: {
3879
+ format: "markdown" | "json";
3880
+ node_count: number;
3881
+ file_path: string;
3882
+ machine_object: string;
3883
+ };
3884
+ }>, z.ZodObject<{
3885
+ status: z.ZodLiteral<"error">;
3886
+ error: z.ZodString;
3887
+ }, "strict", z.ZodTypeAny, {
3888
+ status: "error";
3889
+ error: string;
3890
+ }, {
3891
+ status: "error";
3892
+ error: string;
3893
+ }>]>;
3894
+ export declare const MachineNode2File_OutputWrappedSchema: z.ZodObject<{
3895
+ result: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3896
+ status: z.ZodLiteral<"success">;
3897
+ data: z.ZodObject<{
3898
+ file_path: z.ZodString;
3899
+ format: z.ZodEnum<["json", "markdown"]>;
3900
+ machine_object: z.ZodEffects<z.ZodString, string, string>;
3901
+ node_count: z.ZodNumber;
3902
+ }, "strict", z.ZodTypeAny, {
3903
+ format: "markdown" | "json";
3904
+ node_count: number;
3905
+ file_path: string;
3906
+ machine_object: string;
3907
+ }, {
3908
+ format: "markdown" | "json";
3909
+ node_count: number;
3910
+ file_path: string;
3911
+ machine_object: string;
3912
+ }>;
3913
+ }, "strict", z.ZodTypeAny, {
3914
+ status: "success";
3915
+ data: {
3916
+ format: "markdown" | "json";
3917
+ node_count: number;
3918
+ file_path: string;
3919
+ machine_object: string;
3920
+ };
3921
+ }, {
3922
+ status: "success";
3923
+ data: {
3924
+ format: "markdown" | "json";
3925
+ node_count: number;
3926
+ file_path: string;
3927
+ machine_object: string;
3928
+ };
3929
+ }>, z.ZodObject<{
3930
+ status: z.ZodLiteral<"error">;
3931
+ error: z.ZodString;
3932
+ }, "strict", z.ZodTypeAny, {
3933
+ status: "error";
3934
+ error: string;
3935
+ }, {
3936
+ status: "error";
3937
+ error: string;
3938
+ }>]>;
3939
+ }, "strict", z.ZodTypeAny, {
3940
+ result: {
3941
+ status: "success";
3942
+ data: {
3943
+ format: "markdown" | "json";
3944
+ node_count: number;
3945
+ file_path: string;
3946
+ machine_object: string;
3947
+ };
3948
+ } | {
3949
+ status: "error";
3950
+ error: string;
3951
+ };
3952
+ }, {
3953
+ result: {
3954
+ status: "success";
3955
+ data: {
3956
+ format: "markdown" | "json";
3957
+ node_count: number;
3958
+ file_path: string;
3959
+ machine_object: string;
3960
+ };
3961
+ } | {
3962
+ status: "error";
3963
+ error: string;
3964
+ };
3965
+ }>;
3966
+ export type CallMachine_Data = z.infer<typeof CallMachine_DataSchema>;
3967
+ export type ProgressNew = z.infer<typeof ProgressNewSchema>;
3968
+ export type ProgressNamedOperator = z.infer<typeof ProgressNamedOperatorSchema>;
3969
+ export type Node = z.infer<typeof NodeSchema>;
3970
+ export type NodeJsonOrMarkdownFile = z.infer<typeof NodeJsonOrMarkdownFileSchema>;
3971
+ export type NodeField = z.infer<typeof NodeFieldSchema>;
3972
+ export type MachineNode2File_Input = z.infer<typeof MachineNode2File_InputSchema>;
3973
+ export type MachineNode2File_Output = z.infer<typeof MachineNode2File_OutputSchema>;
3974
+ export type MachineNode2File_OutputWrapped = z.infer<typeof MachineNode2File_OutputWrappedSchema>;