wowok_agent 1.6.6 → 2.1.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.

Potentially problematic release.


This version of wowok_agent might be problematic. Click here for more details.

Files changed (181) hide show
  1. package/README.md +20 -40
  2. package/dist/index.d.ts +13528 -27
  3. package/dist/index.js +1026 -27
  4. package/dist/schema/call/allocation.d.ts +1370 -0
  5. package/dist/schema/call/allocation.js +27 -0
  6. package/dist/schema/call/arbitration.d.ts +1902 -0
  7. package/dist/schema/call/arbitration.js +106 -0
  8. package/dist/schema/call/base.d.ts +6381 -0
  9. package/dist/schema/call/base.js +152 -0
  10. package/dist/schema/call/contact.d.ts +898 -0
  11. package/dist/schema/call/contact.js +41 -0
  12. package/dist/schema/call/demand.d.ts +1193 -0
  13. package/dist/schema/call/demand.js +51 -0
  14. package/dist/schema/call/guard.d.ts +819 -0
  15. package/dist/schema/call/guard.js +67 -0
  16. package/dist/schema/call/handler.d.ts +80 -0
  17. package/dist/schema/call/handler.js +177 -0
  18. package/dist/schema/call/index.d.ts +18 -0
  19. package/dist/schema/call/index.js +19 -0
  20. package/dist/schema/call/machine.d.ts +3906 -0
  21. package/dist/schema/call/machine.js +164 -0
  22. package/dist/schema/call/order.d.ts +994 -0
  23. package/dist/schema/call/order.js +39 -0
  24. package/dist/schema/call/payment.d.ts +408 -0
  25. package/dist/schema/call/payment.js +20 -0
  26. package/dist/schema/call/permission.d.ts +2945 -0
  27. package/dist/schema/call/permission.js +118 -0
  28. package/dist/schema/call/personal.d.ts +1498 -0
  29. package/dist/schema/call/personal.js +81 -0
  30. package/dist/schema/call/progress.d.ts +847 -0
  31. package/dist/schema/call/progress.js +37 -0
  32. package/dist/schema/call/proof.d.ts +328 -0
  33. package/dist/schema/call/proof.js +27 -0
  34. package/dist/schema/call/repository.d.ts +2220 -0
  35. package/dist/schema/call/repository.js +85 -0
  36. package/dist/schema/call/reward.d.ts +1178 -0
  37. package/dist/schema/call/reward.js +46 -0
  38. package/dist/schema/call/service.d.ts +3534 -0
  39. package/dist/schema/call/service.js +87 -0
  40. package/dist/schema/call/treasury.d.ts +2399 -0
  41. package/dist/schema/call/treasury.js +76 -0
  42. package/dist/schema/common/index.d.ts +623 -0
  43. package/dist/schema/common/index.js +331 -0
  44. package/dist/schema/index.d.ts +7 -0
  45. package/dist/schema/index.js +8 -0
  46. package/dist/schema/local/index.d.ts +7824 -0
  47. package/dist/schema/local/index.js +913 -0
  48. package/dist/schema/local/wip.d.ts +781 -0
  49. package/dist/schema/local/wip.js +229 -0
  50. package/dist/schema/messenger/index.d.ts +3624 -0
  51. package/dist/schema/messenger/index.js +407 -0
  52. package/dist/schema/query/index.d.ts +27176 -0
  53. package/dist/schema/query/index.js +1313 -0
  54. package/dist/schema/utils/guard-parser.d.ts +20 -0
  55. package/dist/schema/utils/guard-parser.js +410 -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 +59 -0
  59. package/dist/schema/utils/node-parser.js +382 -0
  60. package/dist/schema/utils/permission-index-utils.d.ts +2 -0
  61. package/dist/schema/utils/permission-index-utils.js +10 -0
  62. package/package.json +31 -49
  63. package/LICENSE +0 -201
  64. package/dist/call/arbitration.d.ts +0 -57
  65. package/dist/call/arbitration.d.ts.map +0 -1
  66. package/dist/call/arbitration.js +0 -245
  67. package/dist/call/arbitration.js.map +0 -1
  68. package/dist/call/base.d.ts +0 -85
  69. package/dist/call/base.d.ts.map +0 -1
  70. package/dist/call/base.js +0 -231
  71. package/dist/call/base.js.map +0 -1
  72. package/dist/call/call.d.ts +0 -95
  73. package/dist/call/call.d.ts.map +0 -1
  74. package/dist/call/call.js +0 -149
  75. package/dist/call/call.js.map +0 -1
  76. package/dist/call/demand.d.ts +0 -46
  77. package/dist/call/demand.d.ts.map +0 -1
  78. package/dist/call/demand.js +0 -201
  79. package/dist/call/demand.js.map +0 -1
  80. package/dist/call/guard.d.ts +0 -53
  81. package/dist/call/guard.d.ts.map +0 -1
  82. package/dist/call/guard.js +0 -386
  83. package/dist/call/guard.js.map +0 -1
  84. package/dist/call/machine.d.ts +0 -97
  85. package/dist/call/machine.d.ts.map +0 -1
  86. package/dist/call/machine.js +0 -342
  87. package/dist/call/machine.js.map +0 -1
  88. package/dist/call/object_permission.d.ts +0 -14
  89. package/dist/call/object_permission.d.ts.map +0 -1
  90. package/dist/call/object_permission.js +0 -59
  91. package/dist/call/object_permission.js.map +0 -1
  92. package/dist/call/permission.d.ts +0 -63
  93. package/dist/call/permission.d.ts.map +0 -1
  94. package/dist/call/permission.js +0 -137
  95. package/dist/call/permission.js.map +0 -1
  96. package/dist/call/personal.d.ts +0 -47
  97. package/dist/call/personal.d.ts.map +0 -1
  98. package/dist/call/personal.js +0 -119
  99. package/dist/call/personal.js.map +0 -1
  100. package/dist/call/repository.d.ts +0 -117
  101. package/dist/call/repository.d.ts.map +0 -1
  102. package/dist/call/repository.js +0 -408
  103. package/dist/call/repository.js.map +0 -1
  104. package/dist/call/service.d.ts +0 -115
  105. package/dist/call/service.d.ts.map +0 -1
  106. package/dist/call/service.js +0 -550
  107. package/dist/call/service.js.map +0 -1
  108. package/dist/call/treasury.d.ts +0 -46
  109. package/dist/call/treasury.d.ts.map +0 -1
  110. package/dist/call/treasury.js +0 -222
  111. package/dist/call/treasury.js.map +0 -1
  112. package/dist/common.d.ts +0 -12
  113. package/dist/common.d.ts.map +0 -1
  114. package/dist/common.js +0 -71
  115. package/dist/common.js.map +0 -1
  116. package/dist/index.d.ts.map +0 -1
  117. package/dist/index.js.map +0 -1
  118. package/dist/local/.d.ts +0 -20
  119. package/dist/local/.d.ts.map +0 -1
  120. package/dist/local/.js +0 -76
  121. package/dist/local/.js.map +0 -1
  122. package/dist/local/account.d.ts +0 -42
  123. package/dist/local/account.d.ts.map +0 -1
  124. package/dist/local/account.js +0 -335
  125. package/dist/local/account.js.map +0 -1
  126. package/dist/local/cache.d.ts +0 -32
  127. package/dist/local/cache.d.ts.map +0 -1
  128. package/dist/local/cache.js +0 -77
  129. package/dist/local/cache.js.map +0 -1
  130. package/dist/local/coin.d.ts +0 -22
  131. package/dist/local/coin.d.ts.map +0 -1
  132. package/dist/local/coin.js +0 -123
  133. package/dist/local/coin.js.map +0 -1
  134. package/dist/local/config.d.ts +0 -20
  135. package/dist/local/config.d.ts.map +0 -1
  136. package/dist/local/config.js +0 -75
  137. package/dist/local/config.js.map +0 -1
  138. package/dist/local/index.d.ts +0 -110
  139. package/dist/local/index.d.ts.map +0 -1
  140. package/dist/local/index.js +0 -122
  141. package/dist/local/index.js.map +0 -1
  142. package/dist/local/local.d.ts +0 -55
  143. package/dist/local/local.d.ts.map +0 -1
  144. package/dist/local/local.js +0 -248
  145. package/dist/local/local.js.map +0 -1
  146. package/dist/query/events.d.ts +0 -65
  147. package/dist/query/events.d.ts.map +0 -1
  148. package/dist/query/events.js +0 -75
  149. package/dist/query/events.js.map +0 -1
  150. package/dist/query/objects.d.ts +0 -346
  151. package/dist/query/objects.d.ts.map +0 -1
  152. package/dist/query/objects.js +0 -472
  153. package/dist/query/objects.js.map +0 -1
  154. package/dist/query/permission.d.ts +0 -15
  155. package/dist/query/permission.d.ts.map +0 -1
  156. package/dist/query/permission.js +0 -45
  157. package/dist/query/permission.js.map +0 -1
  158. package/dist/query/received.d.ts +0 -16
  159. package/dist/query/received.d.ts.map +0 -1
  160. package/dist/query/received.js +0 -16
  161. package/dist/query/received.js.map +0 -1
  162. package/dist/schema/call.d.ts +0 -13005
  163. package/dist/schema/call.d.ts.map +0 -1
  164. package/dist/schema/call.js +0 -997
  165. package/dist/schema/call.js.map +0 -1
  166. package/dist/schema/const.d.ts +0 -254
  167. package/dist/schema/const.d.ts.map +0 -1
  168. package/dist/schema/const.js +0 -305
  169. package/dist/schema/const.js.map +0 -1
  170. package/dist/schema/local.d.ts +0 -702
  171. package/dist/schema/local.d.ts.map +0 -1
  172. package/dist/schema/local.js +0 -150
  173. package/dist/schema/local.js.map +0 -1
  174. package/dist/schema/query.d.ts +0 -1465
  175. package/dist/schema/query.d.ts.map +0 -1
  176. package/dist/schema/query.js +0 -224
  177. package/dist/schema/query.js.map +0 -1
  178. package/dist/schema/util.d.ts +0 -71
  179. package/dist/schema/util.d.ts.map +0 -1
  180. package/dist/schema/util.js +0 -139
  181. package/dist/schema/util.js.map +0 -1
@@ -0,0 +1,3906 @@
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
+ }, "strip", z.ZodTypeAny, {
280
+ guard: string;
281
+ retained_submission?: number[] | undefined;
282
+ }, {
283
+ guard: string;
284
+ retained_submission?: number[] | undefined;
285
+ }>>;
286
+ }, "strip", 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
+ }, "strip", 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
+ }, "strip", 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
+ }, "strip", z.ZodTypeAny, {
422
+ guard: string;
423
+ retained_submission?: number[] | undefined;
424
+ }, {
425
+ guard: string;
426
+ retained_submission?: number[] | undefined;
427
+ }>>;
428
+ }, "strip", 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
+ }, "strip", 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
+ }, "strip", 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
+ }, "strip", z.ZodTypeAny, {
733
+ guard: string;
734
+ retained_submission?: number[] | undefined;
735
+ }, {
736
+ guard: string;
737
+ retained_submission?: number[] | undefined;
738
+ }>>;
739
+ }, "strip", 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
+ }, "strip", 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
+ }, "strip", 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
+ }, "strip", z.ZodTypeAny, {
875
+ guard: string;
876
+ retained_submission?: number[] | undefined;
877
+ }, {
878
+ guard: string;
879
+ retained_submission?: number[] | undefined;
880
+ }>>;
881
+ }, "strip", 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
+ }, "strip", 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
+ }, "strip", 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
+ replaceExistName?: boolean | undefined;
1186
+ tags?: string[] | undefined;
1187
+ description?: string | undefined;
1188
+ onChain?: boolean | undefined;
1189
+ }, {
1190
+ name?: string | undefined;
1191
+ replaceExistName?: boolean | undefined;
1192
+ tags?: string[] | undefined;
1193
+ description?: 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
+ replaceExistName?: boolean | undefined;
1204
+ tags?: string[] | undefined;
1205
+ description?: 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
+ replaceExistName?: boolean | undefined;
1216
+ tags?: string[] | undefined;
1217
+ description?: 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
+ }, "strip", z.ZodTypeAny, {
1412
+ guard: string;
1413
+ retained_submission?: number[] | undefined;
1414
+ }, {
1415
+ guard: string;
1416
+ retained_submission?: number[] | undefined;
1417
+ }>>;
1418
+ }, "strip", 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
+ }, "strip", 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
+ }, "strip", 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
+ }, "strip", z.ZodTypeAny, {
1554
+ guard: string;
1555
+ retained_submission?: number[] | undefined;
1556
+ }, {
1557
+ guard: string;
1558
+ retained_submission?: number[] | undefined;
1559
+ }>>;
1560
+ }, "strip", 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
+ }, "strip", 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
+ }, "strip", 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
+ }, "strict", z.ZodTypeAny, {
1854
+ type: string;
1855
+ id: string;
1856
+ }, {
1857
+ type: string;
1858
+ id: string;
1859
+ }>, "many">, z.ZodObject<{
1860
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1861
+ token_type: z.ZodEffects<z.ZodString, string, string>;
1862
+ received: z.ZodArray<z.ZodObject<{
1863
+ id: z.ZodString;
1864
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1865
+ payment: z.ZodString;
1866
+ }, "strict", z.ZodTypeAny, {
1867
+ id: string;
1868
+ balance: string | number;
1869
+ payment: string;
1870
+ }, {
1871
+ id: string;
1872
+ balance: string | number;
1873
+ payment: string;
1874
+ }>, "many">;
1875
+ }, "strict", z.ZodTypeAny, {
1876
+ received: {
1877
+ id: string;
1878
+ balance: string | number;
1879
+ payment: string;
1880
+ }[];
1881
+ balance: string | number;
1882
+ token_type: string;
1883
+ }, {
1884
+ received: {
1885
+ id: string;
1886
+ balance: string | number;
1887
+ payment: string;
1888
+ }[];
1889
+ balance: string | number;
1890
+ token_type: string;
1891
+ }>, z.ZodLiteral<"recently">]>>;
1892
+ um: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1893
+ }, "strict", z.ZodTypeAny, {
1894
+ object: string | {
1895
+ name?: string | undefined;
1896
+ replaceExistName?: boolean | undefined;
1897
+ tags?: string[] | undefined;
1898
+ onChain?: boolean | undefined;
1899
+ permission?: string | {
1900
+ name?: string | undefined;
1901
+ replaceExistName?: boolean | undefined;
1902
+ tags?: string[] | undefined;
1903
+ description?: string | undefined;
1904
+ onChain?: boolean | undefined;
1905
+ } | undefined;
1906
+ };
1907
+ description?: string | undefined;
1908
+ owner_receive?: {
1909
+ received: {
1910
+ id: string;
1911
+ balance: string | number;
1912
+ payment: string;
1913
+ }[];
1914
+ balance: string | number;
1915
+ token_type: string;
1916
+ } | "recently" | {
1917
+ type: string;
1918
+ id: string;
1919
+ }[] | undefined;
1920
+ um?: string | null | undefined;
1921
+ node?: {
1922
+ op: "add";
1923
+ nodes: {
1924
+ name: string;
1925
+ pairs: {
1926
+ forwards: {
1927
+ name: string;
1928
+ weight: number;
1929
+ guard?: {
1930
+ guard: string;
1931
+ retained_submission?: number[] | undefined;
1932
+ } | undefined;
1933
+ namedOperator?: string | undefined;
1934
+ permissionIndex?: number | undefined;
1935
+ }[];
1936
+ threshold: number;
1937
+ prev_node: string;
1938
+ }[];
1939
+ }[];
1940
+ bReplace?: boolean | undefined;
1941
+ } | {
1942
+ op: "set";
1943
+ nodes: {
1944
+ name: string;
1945
+ pairs: {
1946
+ forwards: {
1947
+ name: string;
1948
+ weight: number;
1949
+ guard?: {
1950
+ guard: string;
1951
+ retained_submission?: number[] | undefined;
1952
+ } | undefined;
1953
+ namedOperator?: string | undefined;
1954
+ permissionIndex?: number | undefined;
1955
+ }[];
1956
+ threshold: number;
1957
+ prev_node: string;
1958
+ }[];
1959
+ }[];
1960
+ bReplace?: boolean | undefined;
1961
+ } | {
1962
+ op: "remove";
1963
+ nodes: string[];
1964
+ } | {
1965
+ op: "clear";
1966
+ } | {
1967
+ op: "exchange";
1968
+ node_one: string;
1969
+ node_other: string;
1970
+ } | {
1971
+ op: "rename";
1972
+ node_name_old: string;
1973
+ node_name_new: string;
1974
+ } | {
1975
+ op: "remove prior node";
1976
+ pairs: {
1977
+ prior_node_name: string[];
1978
+ node_name: string;
1979
+ }[];
1980
+ } | {
1981
+ data: {
1982
+ forward: {
1983
+ name: string;
1984
+ weight: number;
1985
+ namedOperator?: string | null | undefined;
1986
+ permissionIndex?: number | null | undefined;
1987
+ }[];
1988
+ prior_node_name: string;
1989
+ node_name: string;
1990
+ threshold?: number | null | undefined;
1991
+ }[];
1992
+ op: "add forward";
1993
+ } | {
1994
+ data: {
1995
+ prior_node_name: string;
1996
+ node_name: string;
1997
+ forward_name: string[];
1998
+ }[];
1999
+ op: "remove forward";
2000
+ } | {
2001
+ json_or_markdown_file: string;
2002
+ } | undefined;
2003
+ repository?: {
2004
+ op: "set" | "add";
2005
+ objects: string[];
2006
+ } | {
2007
+ op: "remove";
2008
+ objects: string[];
2009
+ } | {
2010
+ op: "clear";
2011
+ } | undefined;
2012
+ progress_new?: {
2013
+ task?: string | null | undefined;
2014
+ namedNew?: {
2015
+ name?: string | undefined;
2016
+ replaceExistName?: boolean | undefined;
2017
+ tags?: string[] | undefined;
2018
+ onChain?: boolean | undefined;
2019
+ } | undefined;
2020
+ repository?: {
2021
+ op: "set" | "add";
2022
+ objects: string[];
2023
+ } | {
2024
+ op: "remove";
2025
+ objects: string[];
2026
+ } | {
2027
+ op: "clear";
2028
+ } | undefined;
2029
+ progress_namedOperator?: {
2030
+ name: string;
2031
+ op: "set" | "add" | "remove";
2032
+ operators: {
2033
+ entities: {
2034
+ name_or_address?: string | undefined;
2035
+ local_mark_first?: boolean | undefined;
2036
+ }[];
2037
+ check_all_founded?: boolean | undefined;
2038
+ };
2039
+ } | undefined;
2040
+ } | undefined;
2041
+ pause?: boolean | undefined;
2042
+ publish?: boolean | undefined;
2043
+ }, {
2044
+ object: string | {
2045
+ name?: string | undefined;
2046
+ replaceExistName?: boolean | undefined;
2047
+ tags?: string[] | undefined;
2048
+ onChain?: boolean | undefined;
2049
+ permission?: string | {
2050
+ name?: string | undefined;
2051
+ replaceExistName?: boolean | undefined;
2052
+ tags?: string[] | undefined;
2053
+ description?: string | undefined;
2054
+ onChain?: boolean | undefined;
2055
+ } | undefined;
2056
+ };
2057
+ description?: string | undefined;
2058
+ owner_receive?: {
2059
+ received: {
2060
+ id: string;
2061
+ balance: string | number;
2062
+ payment: string;
2063
+ }[];
2064
+ balance: string | number;
2065
+ token_type: string;
2066
+ } | "recently" | {
2067
+ type: string;
2068
+ id: string;
2069
+ }[] | undefined;
2070
+ um?: string | null | undefined;
2071
+ node?: {
2072
+ op: "add";
2073
+ nodes: {
2074
+ name: string;
2075
+ pairs: {
2076
+ forwards: {
2077
+ name: string;
2078
+ weight: number;
2079
+ guard?: {
2080
+ guard: string;
2081
+ retained_submission?: number[] | undefined;
2082
+ } | undefined;
2083
+ namedOperator?: string | undefined;
2084
+ permissionIndex?: number | undefined;
2085
+ }[];
2086
+ threshold: number;
2087
+ prev_node: string;
2088
+ }[];
2089
+ }[];
2090
+ bReplace?: boolean | undefined;
2091
+ } | {
2092
+ op: "set";
2093
+ nodes: {
2094
+ name: string;
2095
+ pairs: {
2096
+ forwards: {
2097
+ name: string;
2098
+ weight: number;
2099
+ guard?: {
2100
+ guard: string;
2101
+ retained_submission?: number[] | undefined;
2102
+ } | undefined;
2103
+ namedOperator?: string | undefined;
2104
+ permissionIndex?: number | undefined;
2105
+ }[];
2106
+ threshold: number;
2107
+ prev_node: string;
2108
+ }[];
2109
+ }[];
2110
+ bReplace?: boolean | undefined;
2111
+ } | {
2112
+ op: "remove";
2113
+ nodes: string[];
2114
+ } | {
2115
+ op: "clear";
2116
+ } | {
2117
+ op: "exchange";
2118
+ node_one: string;
2119
+ node_other: string;
2120
+ } | {
2121
+ op: "rename";
2122
+ node_name_old: string;
2123
+ node_name_new: string;
2124
+ } | {
2125
+ op: "remove prior node";
2126
+ pairs: {
2127
+ prior_node_name: string[];
2128
+ node_name: string;
2129
+ }[];
2130
+ } | {
2131
+ data: {
2132
+ forward: {
2133
+ name: string;
2134
+ weight: number;
2135
+ namedOperator?: string | null | undefined;
2136
+ permissionIndex?: number | null | undefined;
2137
+ }[];
2138
+ prior_node_name: string;
2139
+ node_name: string;
2140
+ threshold?: number | null | undefined;
2141
+ }[];
2142
+ op: "add forward";
2143
+ } | {
2144
+ data: {
2145
+ prior_node_name: string;
2146
+ node_name: string;
2147
+ forward_name: string[];
2148
+ }[];
2149
+ op: "remove forward";
2150
+ } | {
2151
+ json_or_markdown_file: string;
2152
+ } | undefined;
2153
+ repository?: {
2154
+ op: "set" | "add";
2155
+ objects: string[];
2156
+ } | {
2157
+ op: "remove";
2158
+ objects: string[];
2159
+ } | {
2160
+ op: "clear";
2161
+ } | undefined;
2162
+ progress_new?: {
2163
+ task?: string | null | undefined;
2164
+ namedNew?: {
2165
+ name?: string | undefined;
2166
+ replaceExistName?: boolean | undefined;
2167
+ tags?: string[] | undefined;
2168
+ onChain?: boolean | undefined;
2169
+ } | undefined;
2170
+ repository?: {
2171
+ op: "set" | "add";
2172
+ objects: string[];
2173
+ } | {
2174
+ op: "remove";
2175
+ objects: string[];
2176
+ } | {
2177
+ op: "clear";
2178
+ } | undefined;
2179
+ progress_namedOperator?: {
2180
+ name: string;
2181
+ op: "set" | "add" | "remove";
2182
+ operators: {
2183
+ entities: {
2184
+ name_or_address?: string | undefined;
2185
+ local_mark_first?: boolean | undefined;
2186
+ }[];
2187
+ check_all_founded?: boolean | undefined;
2188
+ };
2189
+ } | undefined;
2190
+ } | undefined;
2191
+ pause?: boolean | undefined;
2192
+ publish?: boolean | undefined;
2193
+ }>;
2194
+ export declare const CallMachine_InputSchema: z.ZodObject<{
2195
+ data: z.ZodObject<{
2196
+ object: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
2197
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2198
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2199
+ onChain: z.ZodOptional<z.ZodBoolean>;
2200
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
2201
+ } & {
2202
+ permission: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
2203
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2204
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2205
+ onChain: z.ZodOptional<z.ZodBoolean>;
2206
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
2207
+ } & {
2208
+ description: z.ZodOptional<z.ZodString>;
2209
+ }, "strict", z.ZodTypeAny, {
2210
+ name?: string | undefined;
2211
+ replaceExistName?: boolean | undefined;
2212
+ tags?: string[] | undefined;
2213
+ description?: string | undefined;
2214
+ onChain?: boolean | undefined;
2215
+ }, {
2216
+ name?: string | undefined;
2217
+ replaceExistName?: boolean | undefined;
2218
+ tags?: string[] | undefined;
2219
+ description?: string | undefined;
2220
+ onChain?: boolean | undefined;
2221
+ }>]>>;
2222
+ }, "strict", z.ZodTypeAny, {
2223
+ name?: string | undefined;
2224
+ replaceExistName?: boolean | undefined;
2225
+ tags?: string[] | undefined;
2226
+ onChain?: boolean | undefined;
2227
+ permission?: string | {
2228
+ name?: string | undefined;
2229
+ replaceExistName?: boolean | undefined;
2230
+ tags?: string[] | undefined;
2231
+ description?: string | undefined;
2232
+ onChain?: boolean | undefined;
2233
+ } | undefined;
2234
+ }, {
2235
+ name?: string | undefined;
2236
+ replaceExistName?: boolean | undefined;
2237
+ tags?: string[] | undefined;
2238
+ onChain?: boolean | undefined;
2239
+ permission?: string | {
2240
+ name?: string | undefined;
2241
+ replaceExistName?: boolean | undefined;
2242
+ tags?: string[] | undefined;
2243
+ description?: string | undefined;
2244
+ onChain?: boolean | undefined;
2245
+ } | undefined;
2246
+ }>]>;
2247
+ progress_new: z.ZodOptional<z.ZodObject<{
2248
+ task: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
2249
+ repository: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2250
+ op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
2251
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2252
+ }, "strict", z.ZodTypeAny, {
2253
+ op: "set" | "add";
2254
+ objects: string[];
2255
+ }, {
2256
+ op: "set" | "add";
2257
+ objects: string[];
2258
+ }>, z.ZodObject<{
2259
+ op: z.ZodLiteral<"remove">;
2260
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2261
+ }, "strict", z.ZodTypeAny, {
2262
+ op: "remove";
2263
+ objects: string[];
2264
+ }, {
2265
+ op: "remove";
2266
+ objects: string[];
2267
+ }>, z.ZodObject<{
2268
+ op: z.ZodLiteral<"clear">;
2269
+ }, "strict", z.ZodTypeAny, {
2270
+ op: "clear";
2271
+ }, {
2272
+ op: "clear";
2273
+ }>]>>;
2274
+ progress_namedOperator: z.ZodOptional<z.ZodObject<{
2275
+ op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">, z.ZodLiteral<"remove">]>;
2276
+ name: z.ZodEffects<z.ZodString, string, string>;
2277
+ operators: z.ZodObject<{
2278
+ entities: z.ZodArray<z.ZodObject<{
2279
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2280
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
2281
+ }, "strict", z.ZodTypeAny, {
2282
+ name_or_address?: string | undefined;
2283
+ local_mark_first?: boolean | undefined;
2284
+ }, {
2285
+ name_or_address?: string | undefined;
2286
+ local_mark_first?: boolean | undefined;
2287
+ }>, "many">;
2288
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
2289
+ }, "strict", z.ZodTypeAny, {
2290
+ entities: {
2291
+ name_or_address?: string | undefined;
2292
+ local_mark_first?: boolean | undefined;
2293
+ }[];
2294
+ check_all_founded?: boolean | undefined;
2295
+ }, {
2296
+ entities: {
2297
+ name_or_address?: string | undefined;
2298
+ local_mark_first?: boolean | undefined;
2299
+ }[];
2300
+ check_all_founded?: boolean | undefined;
2301
+ }>;
2302
+ }, "strict", z.ZodTypeAny, {
2303
+ name: string;
2304
+ op: "set" | "add" | "remove";
2305
+ operators: {
2306
+ entities: {
2307
+ name_or_address?: string | undefined;
2308
+ local_mark_first?: boolean | undefined;
2309
+ }[];
2310
+ check_all_founded?: boolean | undefined;
2311
+ };
2312
+ }, {
2313
+ name: string;
2314
+ op: "set" | "add" | "remove";
2315
+ operators: {
2316
+ entities: {
2317
+ name_or_address?: string | undefined;
2318
+ local_mark_first?: boolean | undefined;
2319
+ }[];
2320
+ check_all_founded?: boolean | undefined;
2321
+ };
2322
+ }>>;
2323
+ namedNew: z.ZodOptional<z.ZodObject<{
2324
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2325
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2326
+ onChain: z.ZodOptional<z.ZodBoolean>;
2327
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
2328
+ }, "strict", z.ZodTypeAny, {
2329
+ name?: string | undefined;
2330
+ replaceExistName?: boolean | undefined;
2331
+ tags?: string[] | undefined;
2332
+ onChain?: boolean | undefined;
2333
+ }, {
2334
+ name?: string | undefined;
2335
+ replaceExistName?: boolean | undefined;
2336
+ tags?: string[] | undefined;
2337
+ onChain?: boolean | undefined;
2338
+ }>>;
2339
+ }, "strict", z.ZodTypeAny, {
2340
+ task?: string | null | undefined;
2341
+ namedNew?: {
2342
+ name?: string | undefined;
2343
+ replaceExistName?: boolean | undefined;
2344
+ tags?: string[] | undefined;
2345
+ onChain?: boolean | undefined;
2346
+ } | undefined;
2347
+ repository?: {
2348
+ op: "set" | "add";
2349
+ objects: string[];
2350
+ } | {
2351
+ op: "remove";
2352
+ objects: string[];
2353
+ } | {
2354
+ op: "clear";
2355
+ } | undefined;
2356
+ progress_namedOperator?: {
2357
+ name: string;
2358
+ op: "set" | "add" | "remove";
2359
+ operators: {
2360
+ entities: {
2361
+ name_or_address?: string | undefined;
2362
+ local_mark_first?: boolean | undefined;
2363
+ }[];
2364
+ check_all_founded?: boolean | undefined;
2365
+ };
2366
+ } | undefined;
2367
+ }, {
2368
+ task?: string | null | undefined;
2369
+ namedNew?: {
2370
+ name?: string | undefined;
2371
+ replaceExistName?: boolean | undefined;
2372
+ tags?: string[] | undefined;
2373
+ onChain?: boolean | undefined;
2374
+ } | undefined;
2375
+ repository?: {
2376
+ op: "set" | "add";
2377
+ objects: string[];
2378
+ } | {
2379
+ op: "remove";
2380
+ objects: string[];
2381
+ } | {
2382
+ op: "clear";
2383
+ } | undefined;
2384
+ progress_namedOperator?: {
2385
+ name: string;
2386
+ op: "set" | "add" | "remove";
2387
+ operators: {
2388
+ entities: {
2389
+ name_or_address?: string | undefined;
2390
+ local_mark_first?: boolean | undefined;
2391
+ }[];
2392
+ check_all_founded?: boolean | undefined;
2393
+ };
2394
+ } | undefined;
2395
+ }>>;
2396
+ description: z.ZodOptional<z.ZodString>;
2397
+ repository: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2398
+ op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
2399
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2400
+ }, "strict", z.ZodTypeAny, {
2401
+ op: "set" | "add";
2402
+ objects: string[];
2403
+ }, {
2404
+ op: "set" | "add";
2405
+ objects: string[];
2406
+ }>, z.ZodObject<{
2407
+ op: z.ZodLiteral<"remove">;
2408
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2409
+ }, "strict", z.ZodTypeAny, {
2410
+ op: "remove";
2411
+ objects: string[];
2412
+ }, {
2413
+ op: "remove";
2414
+ objects: string[];
2415
+ }>, z.ZodObject<{
2416
+ op: z.ZodLiteral<"clear">;
2417
+ }, "strict", z.ZodTypeAny, {
2418
+ op: "clear";
2419
+ }, {
2420
+ op: "clear";
2421
+ }>]>>;
2422
+ node: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
2423
+ op: z.ZodLiteral<"add">;
2424
+ nodes: z.ZodArray<z.ZodObject<{
2425
+ name: z.ZodString;
2426
+ pairs: z.ZodArray<z.ZodObject<{
2427
+ prev_node: z.ZodString;
2428
+ threshold: z.ZodNumber;
2429
+ forwards: z.ZodArray<z.ZodObject<{
2430
+ name: z.ZodString;
2431
+ namedOperator: z.ZodOptional<z.ZodString>;
2432
+ permissionIndex: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
2433
+ weight: z.ZodNumber;
2434
+ guard: z.ZodOptional<z.ZodObject<{
2435
+ guard: z.ZodString;
2436
+ retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
2437
+ }, "strip", z.ZodTypeAny, {
2438
+ guard: string;
2439
+ retained_submission?: number[] | undefined;
2440
+ }, {
2441
+ guard: string;
2442
+ retained_submission?: number[] | undefined;
2443
+ }>>;
2444
+ }, "strip", z.ZodTypeAny, {
2445
+ name: string;
2446
+ weight: number;
2447
+ guard?: {
2448
+ guard: string;
2449
+ retained_submission?: number[] | undefined;
2450
+ } | undefined;
2451
+ namedOperator?: string | undefined;
2452
+ permissionIndex?: number | undefined;
2453
+ }, {
2454
+ name: string;
2455
+ weight: number;
2456
+ guard?: {
2457
+ guard: string;
2458
+ retained_submission?: number[] | undefined;
2459
+ } | undefined;
2460
+ namedOperator?: string | undefined;
2461
+ permissionIndex?: number | undefined;
2462
+ }>, "many">;
2463
+ }, "strip", z.ZodTypeAny, {
2464
+ forwards: {
2465
+ name: string;
2466
+ weight: number;
2467
+ guard?: {
2468
+ guard: string;
2469
+ retained_submission?: number[] | undefined;
2470
+ } | undefined;
2471
+ namedOperator?: string | undefined;
2472
+ permissionIndex?: number | undefined;
2473
+ }[];
2474
+ threshold: number;
2475
+ prev_node: string;
2476
+ }, {
2477
+ forwards: {
2478
+ name: string;
2479
+ weight: number;
2480
+ guard?: {
2481
+ guard: string;
2482
+ retained_submission?: number[] | undefined;
2483
+ } | undefined;
2484
+ namedOperator?: string | undefined;
2485
+ permissionIndex?: number | undefined;
2486
+ }[];
2487
+ threshold: number;
2488
+ prev_node: string;
2489
+ }>, "many">;
2490
+ }, "strip", z.ZodTypeAny, {
2491
+ name: string;
2492
+ pairs: {
2493
+ forwards: {
2494
+ name: string;
2495
+ weight: number;
2496
+ guard?: {
2497
+ guard: string;
2498
+ retained_submission?: number[] | undefined;
2499
+ } | undefined;
2500
+ namedOperator?: string | undefined;
2501
+ permissionIndex?: number | undefined;
2502
+ }[];
2503
+ threshold: number;
2504
+ prev_node: string;
2505
+ }[];
2506
+ }, {
2507
+ name: string;
2508
+ pairs: {
2509
+ forwards: {
2510
+ name: string;
2511
+ weight: number;
2512
+ guard?: {
2513
+ guard: string;
2514
+ retained_submission?: number[] | undefined;
2515
+ } | undefined;
2516
+ namedOperator?: string | undefined;
2517
+ permissionIndex?: number | undefined;
2518
+ }[];
2519
+ threshold: number;
2520
+ prev_node: string;
2521
+ }[];
2522
+ }>, "many">;
2523
+ bReplace: z.ZodOptional<z.ZodBoolean>;
2524
+ }, "strict", z.ZodTypeAny, {
2525
+ op: "add";
2526
+ nodes: {
2527
+ name: string;
2528
+ pairs: {
2529
+ forwards: {
2530
+ name: string;
2531
+ weight: number;
2532
+ guard?: {
2533
+ guard: string;
2534
+ retained_submission?: number[] | undefined;
2535
+ } | undefined;
2536
+ namedOperator?: string | undefined;
2537
+ permissionIndex?: number | undefined;
2538
+ }[];
2539
+ threshold: number;
2540
+ prev_node: string;
2541
+ }[];
2542
+ }[];
2543
+ bReplace?: boolean | undefined;
2544
+ }, {
2545
+ op: "add";
2546
+ nodes: {
2547
+ name: string;
2548
+ pairs: {
2549
+ forwards: {
2550
+ name: string;
2551
+ weight: number;
2552
+ guard?: {
2553
+ guard: string;
2554
+ retained_submission?: number[] | undefined;
2555
+ } | undefined;
2556
+ namedOperator?: string | undefined;
2557
+ permissionIndex?: number | undefined;
2558
+ }[];
2559
+ threshold: number;
2560
+ prev_node: string;
2561
+ }[];
2562
+ }[];
2563
+ bReplace?: boolean | undefined;
2564
+ }>, z.ZodObject<{
2565
+ op: z.ZodLiteral<"set">;
2566
+ nodes: z.ZodArray<z.ZodObject<{
2567
+ name: z.ZodString;
2568
+ pairs: z.ZodArray<z.ZodObject<{
2569
+ prev_node: z.ZodString;
2570
+ threshold: z.ZodNumber;
2571
+ forwards: z.ZodArray<z.ZodObject<{
2572
+ name: z.ZodString;
2573
+ namedOperator: z.ZodOptional<z.ZodString>;
2574
+ permissionIndex: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
2575
+ weight: z.ZodNumber;
2576
+ guard: z.ZodOptional<z.ZodObject<{
2577
+ guard: z.ZodString;
2578
+ retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
2579
+ }, "strip", z.ZodTypeAny, {
2580
+ guard: string;
2581
+ retained_submission?: number[] | undefined;
2582
+ }, {
2583
+ guard: string;
2584
+ retained_submission?: number[] | undefined;
2585
+ }>>;
2586
+ }, "strip", z.ZodTypeAny, {
2587
+ name: string;
2588
+ weight: number;
2589
+ guard?: {
2590
+ guard: string;
2591
+ retained_submission?: number[] | undefined;
2592
+ } | undefined;
2593
+ namedOperator?: string | undefined;
2594
+ permissionIndex?: number | undefined;
2595
+ }, {
2596
+ name: string;
2597
+ weight: number;
2598
+ guard?: {
2599
+ guard: string;
2600
+ retained_submission?: number[] | undefined;
2601
+ } | undefined;
2602
+ namedOperator?: string | undefined;
2603
+ permissionIndex?: number | undefined;
2604
+ }>, "many">;
2605
+ }, "strip", z.ZodTypeAny, {
2606
+ forwards: {
2607
+ name: string;
2608
+ weight: number;
2609
+ guard?: {
2610
+ guard: string;
2611
+ retained_submission?: number[] | undefined;
2612
+ } | undefined;
2613
+ namedOperator?: string | undefined;
2614
+ permissionIndex?: number | undefined;
2615
+ }[];
2616
+ threshold: number;
2617
+ prev_node: string;
2618
+ }, {
2619
+ forwards: {
2620
+ name: string;
2621
+ weight: number;
2622
+ guard?: {
2623
+ guard: string;
2624
+ retained_submission?: number[] | undefined;
2625
+ } | undefined;
2626
+ namedOperator?: string | undefined;
2627
+ permissionIndex?: number | undefined;
2628
+ }[];
2629
+ threshold: number;
2630
+ prev_node: string;
2631
+ }>, "many">;
2632
+ }, "strip", z.ZodTypeAny, {
2633
+ name: string;
2634
+ pairs: {
2635
+ forwards: {
2636
+ name: string;
2637
+ weight: number;
2638
+ guard?: {
2639
+ guard: string;
2640
+ retained_submission?: number[] | undefined;
2641
+ } | undefined;
2642
+ namedOperator?: string | undefined;
2643
+ permissionIndex?: number | undefined;
2644
+ }[];
2645
+ threshold: number;
2646
+ prev_node: string;
2647
+ }[];
2648
+ }, {
2649
+ name: string;
2650
+ pairs: {
2651
+ forwards: {
2652
+ name: string;
2653
+ weight: number;
2654
+ guard?: {
2655
+ guard: string;
2656
+ retained_submission?: number[] | undefined;
2657
+ } | undefined;
2658
+ namedOperator?: string | undefined;
2659
+ permissionIndex?: number | undefined;
2660
+ }[];
2661
+ threshold: number;
2662
+ prev_node: string;
2663
+ }[];
2664
+ }>, "many">;
2665
+ bReplace: z.ZodOptional<z.ZodBoolean>;
2666
+ }, "strict", z.ZodTypeAny, {
2667
+ op: "set";
2668
+ nodes: {
2669
+ name: string;
2670
+ pairs: {
2671
+ forwards: {
2672
+ name: string;
2673
+ weight: number;
2674
+ guard?: {
2675
+ guard: string;
2676
+ retained_submission?: number[] | undefined;
2677
+ } | undefined;
2678
+ namedOperator?: string | undefined;
2679
+ permissionIndex?: number | undefined;
2680
+ }[];
2681
+ threshold: number;
2682
+ prev_node: string;
2683
+ }[];
2684
+ }[];
2685
+ bReplace?: boolean | undefined;
2686
+ }, {
2687
+ op: "set";
2688
+ nodes: {
2689
+ name: string;
2690
+ pairs: {
2691
+ forwards: {
2692
+ name: string;
2693
+ weight: number;
2694
+ guard?: {
2695
+ guard: string;
2696
+ retained_submission?: number[] | undefined;
2697
+ } | undefined;
2698
+ namedOperator?: string | undefined;
2699
+ permissionIndex?: number | undefined;
2700
+ }[];
2701
+ threshold: number;
2702
+ prev_node: string;
2703
+ }[];
2704
+ }[];
2705
+ bReplace?: boolean | undefined;
2706
+ }>, z.ZodObject<{
2707
+ op: z.ZodLiteral<"remove">;
2708
+ nodes: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2709
+ }, "strict", z.ZodTypeAny, {
2710
+ op: "remove";
2711
+ nodes: string[];
2712
+ }, {
2713
+ op: "remove";
2714
+ nodes: string[];
2715
+ }>, z.ZodObject<{
2716
+ op: z.ZodLiteral<"clear">;
2717
+ }, "strict", z.ZodTypeAny, {
2718
+ op: "clear";
2719
+ }, {
2720
+ op: "clear";
2721
+ }>, z.ZodObject<{
2722
+ op: z.ZodLiteral<"exchange">;
2723
+ node_one: z.ZodEffects<z.ZodString, string, string>;
2724
+ node_other: z.ZodEffects<z.ZodString, string, string>;
2725
+ }, "strict", z.ZodTypeAny, {
2726
+ op: "exchange";
2727
+ node_one: string;
2728
+ node_other: string;
2729
+ }, {
2730
+ op: "exchange";
2731
+ node_one: string;
2732
+ node_other: string;
2733
+ }>, z.ZodObject<{
2734
+ op: z.ZodLiteral<"rename">;
2735
+ node_name_old: z.ZodEffects<z.ZodString, string, string>;
2736
+ node_name_new: z.ZodEffects<z.ZodString, string, string>;
2737
+ }, "strict", z.ZodTypeAny, {
2738
+ op: "rename";
2739
+ node_name_old: string;
2740
+ node_name_new: string;
2741
+ }, {
2742
+ op: "rename";
2743
+ node_name_old: string;
2744
+ node_name_new: string;
2745
+ }>, z.ZodObject<{
2746
+ op: z.ZodLiteral<"remove prior node">;
2747
+ pairs: z.ZodArray<z.ZodObject<{
2748
+ prior_node_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2749
+ node_name: z.ZodEffects<z.ZodString, string, string>;
2750
+ }, "strict", z.ZodTypeAny, {
2751
+ prior_node_name: string[];
2752
+ node_name: string;
2753
+ }, {
2754
+ prior_node_name: string[];
2755
+ node_name: string;
2756
+ }>, "many">;
2757
+ }, "strict", z.ZodTypeAny, {
2758
+ op: "remove prior node";
2759
+ pairs: {
2760
+ prior_node_name: string[];
2761
+ node_name: string;
2762
+ }[];
2763
+ }, {
2764
+ op: "remove prior node";
2765
+ pairs: {
2766
+ prior_node_name: string[];
2767
+ node_name: string;
2768
+ }[];
2769
+ }>, z.ZodObject<{
2770
+ op: z.ZodLiteral<"add forward">;
2771
+ data: z.ZodArray<z.ZodObject<{
2772
+ prior_node_name: z.ZodEffects<z.ZodString, string, string>;
2773
+ node_name: z.ZodEffects<z.ZodString, string, string>;
2774
+ forward: z.ZodArray<z.ZodObject<{
2775
+ name: z.ZodEffects<z.ZodString, string, string>;
2776
+ namedOperator: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
2777
+ permissionIndex: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodNumber, number, number>, z.ZodNull]>>;
2778
+ weight: z.ZodNumber;
2779
+ }, "strict", z.ZodTypeAny, {
2780
+ name: string;
2781
+ weight: number;
2782
+ namedOperator?: string | null | undefined;
2783
+ permissionIndex?: number | null | undefined;
2784
+ }, {
2785
+ name: string;
2786
+ weight: number;
2787
+ namedOperator?: string | null | undefined;
2788
+ permissionIndex?: number | null | undefined;
2789
+ }>, "many">;
2790
+ threshold: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
2791
+ }, "strict", z.ZodTypeAny, {
2792
+ forward: {
2793
+ name: string;
2794
+ weight: number;
2795
+ namedOperator?: string | null | undefined;
2796
+ permissionIndex?: number | null | undefined;
2797
+ }[];
2798
+ prior_node_name: string;
2799
+ node_name: string;
2800
+ threshold?: number | null | undefined;
2801
+ }, {
2802
+ forward: {
2803
+ name: string;
2804
+ weight: number;
2805
+ namedOperator?: string | null | undefined;
2806
+ permissionIndex?: number | null | undefined;
2807
+ }[];
2808
+ prior_node_name: string;
2809
+ node_name: string;
2810
+ threshold?: number | null | undefined;
2811
+ }>, "many">;
2812
+ }, "strict", z.ZodTypeAny, {
2813
+ data: {
2814
+ forward: {
2815
+ name: string;
2816
+ weight: number;
2817
+ namedOperator?: string | null | undefined;
2818
+ permissionIndex?: number | null | undefined;
2819
+ }[];
2820
+ prior_node_name: string;
2821
+ node_name: string;
2822
+ threshold?: number | null | undefined;
2823
+ }[];
2824
+ op: "add forward";
2825
+ }, {
2826
+ data: {
2827
+ forward: {
2828
+ name: string;
2829
+ weight: number;
2830
+ namedOperator?: string | null | undefined;
2831
+ permissionIndex?: number | null | undefined;
2832
+ }[];
2833
+ prior_node_name: string;
2834
+ node_name: string;
2835
+ threshold?: number | null | undefined;
2836
+ }[];
2837
+ op: "add forward";
2838
+ }>, z.ZodObject<{
2839
+ op: z.ZodLiteral<"remove forward">;
2840
+ data: z.ZodArray<z.ZodObject<{
2841
+ prior_node_name: z.ZodEffects<z.ZodString, string, string>;
2842
+ node_name: z.ZodEffects<z.ZodString, string, string>;
2843
+ forward_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2844
+ }, "strict", z.ZodTypeAny, {
2845
+ prior_node_name: string;
2846
+ node_name: string;
2847
+ forward_name: string[];
2848
+ }, {
2849
+ prior_node_name: string;
2850
+ node_name: string;
2851
+ forward_name: string[];
2852
+ }>, "many">;
2853
+ }, "strict", z.ZodTypeAny, {
2854
+ data: {
2855
+ prior_node_name: string;
2856
+ node_name: string;
2857
+ forward_name: string[];
2858
+ }[];
2859
+ op: "remove forward";
2860
+ }, {
2861
+ data: {
2862
+ prior_node_name: string;
2863
+ node_name: string;
2864
+ forward_name: string[];
2865
+ }[];
2866
+ op: "remove forward";
2867
+ }>]>, z.ZodObject<{
2868
+ json_or_markdown_file: z.ZodString;
2869
+ }, "strict", z.ZodTypeAny, {
2870
+ json_or_markdown_file: string;
2871
+ }, {
2872
+ json_or_markdown_file: string;
2873
+ }>]>>;
2874
+ pause: z.ZodOptional<z.ZodBoolean>;
2875
+ publish: z.ZodOptional<z.ZodBoolean>;
2876
+ owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
2877
+ id: z.ZodString;
2878
+ type: z.ZodString;
2879
+ }, "strict", z.ZodTypeAny, {
2880
+ type: string;
2881
+ id: string;
2882
+ }, {
2883
+ type: string;
2884
+ id: string;
2885
+ }>, "many">, z.ZodObject<{
2886
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2887
+ token_type: z.ZodEffects<z.ZodString, string, string>;
2888
+ received: z.ZodArray<z.ZodObject<{
2889
+ id: z.ZodString;
2890
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2891
+ payment: z.ZodString;
2892
+ }, "strict", z.ZodTypeAny, {
2893
+ id: string;
2894
+ balance: string | number;
2895
+ payment: string;
2896
+ }, {
2897
+ id: string;
2898
+ balance: string | number;
2899
+ payment: string;
2900
+ }>, "many">;
2901
+ }, "strict", z.ZodTypeAny, {
2902
+ received: {
2903
+ id: string;
2904
+ balance: string | number;
2905
+ payment: string;
2906
+ }[];
2907
+ balance: string | number;
2908
+ token_type: string;
2909
+ }, {
2910
+ received: {
2911
+ id: string;
2912
+ balance: string | number;
2913
+ payment: string;
2914
+ }[];
2915
+ balance: string | number;
2916
+ token_type: string;
2917
+ }>, z.ZodLiteral<"recently">]>>;
2918
+ um: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
2919
+ }, "strict", z.ZodTypeAny, {
2920
+ object: string | {
2921
+ name?: string | undefined;
2922
+ replaceExistName?: boolean | undefined;
2923
+ tags?: string[] | undefined;
2924
+ onChain?: boolean | undefined;
2925
+ permission?: string | {
2926
+ name?: string | undefined;
2927
+ replaceExistName?: boolean | undefined;
2928
+ tags?: string[] | undefined;
2929
+ description?: string | undefined;
2930
+ onChain?: boolean | undefined;
2931
+ } | undefined;
2932
+ };
2933
+ description?: string | undefined;
2934
+ owner_receive?: {
2935
+ received: {
2936
+ id: string;
2937
+ balance: string | number;
2938
+ payment: string;
2939
+ }[];
2940
+ balance: string | number;
2941
+ token_type: string;
2942
+ } | "recently" | {
2943
+ type: string;
2944
+ id: string;
2945
+ }[] | undefined;
2946
+ um?: string | null | undefined;
2947
+ node?: {
2948
+ op: "add";
2949
+ nodes: {
2950
+ name: string;
2951
+ pairs: {
2952
+ forwards: {
2953
+ name: string;
2954
+ weight: number;
2955
+ guard?: {
2956
+ guard: string;
2957
+ retained_submission?: number[] | undefined;
2958
+ } | undefined;
2959
+ namedOperator?: string | undefined;
2960
+ permissionIndex?: number | undefined;
2961
+ }[];
2962
+ threshold: number;
2963
+ prev_node: string;
2964
+ }[];
2965
+ }[];
2966
+ bReplace?: boolean | undefined;
2967
+ } | {
2968
+ op: "set";
2969
+ nodes: {
2970
+ name: string;
2971
+ pairs: {
2972
+ forwards: {
2973
+ name: string;
2974
+ weight: number;
2975
+ guard?: {
2976
+ guard: string;
2977
+ retained_submission?: number[] | undefined;
2978
+ } | undefined;
2979
+ namedOperator?: string | undefined;
2980
+ permissionIndex?: number | undefined;
2981
+ }[];
2982
+ threshold: number;
2983
+ prev_node: string;
2984
+ }[];
2985
+ }[];
2986
+ bReplace?: boolean | undefined;
2987
+ } | {
2988
+ op: "remove";
2989
+ nodes: string[];
2990
+ } | {
2991
+ op: "clear";
2992
+ } | {
2993
+ op: "exchange";
2994
+ node_one: string;
2995
+ node_other: string;
2996
+ } | {
2997
+ op: "rename";
2998
+ node_name_old: string;
2999
+ node_name_new: string;
3000
+ } | {
3001
+ op: "remove prior node";
3002
+ pairs: {
3003
+ prior_node_name: string[];
3004
+ node_name: string;
3005
+ }[];
3006
+ } | {
3007
+ data: {
3008
+ forward: {
3009
+ name: string;
3010
+ weight: number;
3011
+ namedOperator?: string | null | undefined;
3012
+ permissionIndex?: number | null | undefined;
3013
+ }[];
3014
+ prior_node_name: string;
3015
+ node_name: string;
3016
+ threshold?: number | null | undefined;
3017
+ }[];
3018
+ op: "add forward";
3019
+ } | {
3020
+ data: {
3021
+ prior_node_name: string;
3022
+ node_name: string;
3023
+ forward_name: string[];
3024
+ }[];
3025
+ op: "remove forward";
3026
+ } | {
3027
+ json_or_markdown_file: string;
3028
+ } | undefined;
3029
+ repository?: {
3030
+ op: "set" | "add";
3031
+ objects: string[];
3032
+ } | {
3033
+ op: "remove";
3034
+ objects: string[];
3035
+ } | {
3036
+ op: "clear";
3037
+ } | undefined;
3038
+ progress_new?: {
3039
+ task?: string | null | undefined;
3040
+ namedNew?: {
3041
+ name?: string | undefined;
3042
+ replaceExistName?: boolean | undefined;
3043
+ tags?: string[] | undefined;
3044
+ onChain?: boolean | undefined;
3045
+ } | undefined;
3046
+ repository?: {
3047
+ op: "set" | "add";
3048
+ objects: string[];
3049
+ } | {
3050
+ op: "remove";
3051
+ objects: string[];
3052
+ } | {
3053
+ op: "clear";
3054
+ } | undefined;
3055
+ progress_namedOperator?: {
3056
+ name: string;
3057
+ op: "set" | "add" | "remove";
3058
+ operators: {
3059
+ entities: {
3060
+ name_or_address?: string | undefined;
3061
+ local_mark_first?: boolean | undefined;
3062
+ }[];
3063
+ check_all_founded?: boolean | undefined;
3064
+ };
3065
+ } | undefined;
3066
+ } | undefined;
3067
+ pause?: boolean | undefined;
3068
+ publish?: boolean | undefined;
3069
+ }, {
3070
+ object: string | {
3071
+ name?: string | undefined;
3072
+ replaceExistName?: boolean | undefined;
3073
+ tags?: string[] | undefined;
3074
+ onChain?: boolean | undefined;
3075
+ permission?: string | {
3076
+ name?: string | undefined;
3077
+ replaceExistName?: boolean | undefined;
3078
+ tags?: string[] | undefined;
3079
+ description?: string | undefined;
3080
+ onChain?: boolean | undefined;
3081
+ } | undefined;
3082
+ };
3083
+ description?: string | undefined;
3084
+ owner_receive?: {
3085
+ received: {
3086
+ id: string;
3087
+ balance: string | number;
3088
+ payment: string;
3089
+ }[];
3090
+ balance: string | number;
3091
+ token_type: string;
3092
+ } | "recently" | {
3093
+ type: string;
3094
+ id: string;
3095
+ }[] | undefined;
3096
+ um?: string | null | undefined;
3097
+ node?: {
3098
+ op: "add";
3099
+ nodes: {
3100
+ name: string;
3101
+ pairs: {
3102
+ forwards: {
3103
+ name: string;
3104
+ weight: number;
3105
+ guard?: {
3106
+ guard: string;
3107
+ retained_submission?: number[] | undefined;
3108
+ } | undefined;
3109
+ namedOperator?: string | undefined;
3110
+ permissionIndex?: number | undefined;
3111
+ }[];
3112
+ threshold: number;
3113
+ prev_node: string;
3114
+ }[];
3115
+ }[];
3116
+ bReplace?: boolean | undefined;
3117
+ } | {
3118
+ op: "set";
3119
+ nodes: {
3120
+ name: string;
3121
+ pairs: {
3122
+ forwards: {
3123
+ name: string;
3124
+ weight: number;
3125
+ guard?: {
3126
+ guard: string;
3127
+ retained_submission?: number[] | undefined;
3128
+ } | undefined;
3129
+ namedOperator?: string | undefined;
3130
+ permissionIndex?: number | undefined;
3131
+ }[];
3132
+ threshold: number;
3133
+ prev_node: string;
3134
+ }[];
3135
+ }[];
3136
+ bReplace?: boolean | undefined;
3137
+ } | {
3138
+ op: "remove";
3139
+ nodes: string[];
3140
+ } | {
3141
+ op: "clear";
3142
+ } | {
3143
+ op: "exchange";
3144
+ node_one: string;
3145
+ node_other: string;
3146
+ } | {
3147
+ op: "rename";
3148
+ node_name_old: string;
3149
+ node_name_new: string;
3150
+ } | {
3151
+ op: "remove prior node";
3152
+ pairs: {
3153
+ prior_node_name: string[];
3154
+ node_name: string;
3155
+ }[];
3156
+ } | {
3157
+ data: {
3158
+ forward: {
3159
+ name: string;
3160
+ weight: number;
3161
+ namedOperator?: string | null | undefined;
3162
+ permissionIndex?: number | null | undefined;
3163
+ }[];
3164
+ prior_node_name: string;
3165
+ node_name: string;
3166
+ threshold?: number | null | undefined;
3167
+ }[];
3168
+ op: "add forward";
3169
+ } | {
3170
+ data: {
3171
+ prior_node_name: string;
3172
+ node_name: string;
3173
+ forward_name: string[];
3174
+ }[];
3175
+ op: "remove forward";
3176
+ } | {
3177
+ json_or_markdown_file: string;
3178
+ } | undefined;
3179
+ repository?: {
3180
+ op: "set" | "add";
3181
+ objects: string[];
3182
+ } | {
3183
+ op: "remove";
3184
+ objects: string[];
3185
+ } | {
3186
+ op: "clear";
3187
+ } | undefined;
3188
+ progress_new?: {
3189
+ task?: string | null | undefined;
3190
+ namedNew?: {
3191
+ name?: string | undefined;
3192
+ replaceExistName?: boolean | undefined;
3193
+ tags?: string[] | undefined;
3194
+ onChain?: boolean | undefined;
3195
+ } | undefined;
3196
+ repository?: {
3197
+ op: "set" | "add";
3198
+ objects: string[];
3199
+ } | {
3200
+ op: "remove";
3201
+ objects: string[];
3202
+ } | {
3203
+ op: "clear";
3204
+ } | undefined;
3205
+ progress_namedOperator?: {
3206
+ name: string;
3207
+ op: "set" | "add" | "remove";
3208
+ operators: {
3209
+ entities: {
3210
+ name_or_address?: string | undefined;
3211
+ local_mark_first?: boolean | undefined;
3212
+ }[];
3213
+ check_all_founded?: boolean | undefined;
3214
+ };
3215
+ } | undefined;
3216
+ } | undefined;
3217
+ pause?: boolean | undefined;
3218
+ publish?: boolean | undefined;
3219
+ }>;
3220
+ env: z.ZodOptional<z.ZodObject<{
3221
+ account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
3222
+ permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3223
+ no_cache: z.ZodOptional<z.ZodBoolean>;
3224
+ network: z.ZodOptional<z.ZodEnum<any>>;
3225
+ referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
3226
+ }, "strict", z.ZodTypeAny, {
3227
+ [x: string]: any;
3228
+ account?: unknown;
3229
+ permission_guard?: unknown;
3230
+ no_cache?: unknown;
3231
+ network?: unknown;
3232
+ referrer?: unknown;
3233
+ }, {
3234
+ [x: string]: any;
3235
+ account?: unknown;
3236
+ permission_guard?: unknown;
3237
+ no_cache?: unknown;
3238
+ network?: unknown;
3239
+ referrer?: unknown;
3240
+ }>>;
3241
+ submission: z.ZodOptional<z.ZodObject<{
3242
+ type: z.ZodLiteral<"submission">;
3243
+ guard: z.ZodArray<z.ZodObject<{
3244
+ object: z.ZodEffects<z.ZodString, string, string>;
3245
+ impack: z.ZodBoolean;
3246
+ }, "strict", z.ZodTypeAny, {
3247
+ object: string;
3248
+ impack: boolean;
3249
+ }, {
3250
+ object: string;
3251
+ impack: boolean;
3252
+ }>, "many">;
3253
+ submission: z.ZodArray<z.ZodObject<{
3254
+ guard: z.ZodEffects<z.ZodString, string, string>;
3255
+ submission: z.ZodArray<z.ZodObject<{
3256
+ identifier: z.ZodNumber;
3257
+ b_submission: z.ZodBoolean;
3258
+ value_type: z.ZodUnion<[z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, 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">]>;
3259
+ value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
3260
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
3261
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
3262
+ }, "strict", z.ZodTypeAny, {
3263
+ name_or_address?: string | undefined;
3264
+ local_mark_first?: boolean | undefined;
3265
+ }, {
3266
+ name_or_address?: string | undefined;
3267
+ local_mark_first?: boolean | undefined;
3268
+ }>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean, "many">, z.ZodUnion<[z.ZodObject<{
3269
+ entities: z.ZodArray<z.ZodObject<{
3270
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
3271
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
3272
+ }, "strict", z.ZodTypeAny, {
3273
+ name_or_address?: string | undefined;
3274
+ local_mark_first?: boolean | undefined;
3275
+ }, {
3276
+ name_or_address?: string | undefined;
3277
+ local_mark_first?: boolean | undefined;
3278
+ }>, "many">;
3279
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
3280
+ }, "strict", z.ZodTypeAny, {
3281
+ entities: {
3282
+ name_or_address?: string | undefined;
3283
+ local_mark_first?: boolean | undefined;
3284
+ }[];
3285
+ check_all_founded?: boolean | undefined;
3286
+ }, {
3287
+ entities: {
3288
+ name_or_address?: string | undefined;
3289
+ local_mark_first?: boolean | undefined;
3290
+ }[];
3291
+ check_all_founded?: boolean | undefined;
3292
+ }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>>;
3293
+ name: z.ZodDefault<z.ZodString>;
3294
+ } & {
3295
+ object_type: z.ZodOptional<z.ZodEnum<any>>;
3296
+ }, "strict", z.ZodTypeAny, {
3297
+ [x: string]: any;
3298
+ identifier?: unknown;
3299
+ b_submission?: unknown;
3300
+ value_type?: unknown;
3301
+ value?: unknown;
3302
+ name?: unknown;
3303
+ object_type?: unknown;
3304
+ }, {
3305
+ [x: string]: any;
3306
+ identifier?: unknown;
3307
+ b_submission?: unknown;
3308
+ value_type?: unknown;
3309
+ value?: unknown;
3310
+ name?: unknown;
3311
+ object_type?: unknown;
3312
+ }>, "many">;
3313
+ }, "strict", z.ZodTypeAny, {
3314
+ guard: string;
3315
+ submission: {
3316
+ [x: string]: any;
3317
+ identifier?: unknown;
3318
+ b_submission?: unknown;
3319
+ value_type?: unknown;
3320
+ value?: unknown;
3321
+ name?: unknown;
3322
+ object_type?: unknown;
3323
+ }[];
3324
+ }, {
3325
+ guard: string;
3326
+ submission: {
3327
+ [x: string]: any;
3328
+ identifier?: unknown;
3329
+ b_submission?: unknown;
3330
+ value_type?: unknown;
3331
+ value?: unknown;
3332
+ name?: unknown;
3333
+ object_type?: unknown;
3334
+ }[];
3335
+ }>, "many">;
3336
+ }, "strict", z.ZodTypeAny, {
3337
+ type: "submission";
3338
+ guard: {
3339
+ object: string;
3340
+ impack: boolean;
3341
+ }[];
3342
+ submission: {
3343
+ guard: string;
3344
+ submission: {
3345
+ [x: string]: any;
3346
+ identifier?: unknown;
3347
+ b_submission?: unknown;
3348
+ value_type?: unknown;
3349
+ value?: unknown;
3350
+ name?: unknown;
3351
+ object_type?: unknown;
3352
+ }[];
3353
+ }[];
3354
+ }, {
3355
+ type: "submission";
3356
+ guard: {
3357
+ object: string;
3358
+ impack: boolean;
3359
+ }[];
3360
+ submission: {
3361
+ guard: string;
3362
+ submission: {
3363
+ [x: string]: any;
3364
+ identifier?: unknown;
3365
+ b_submission?: unknown;
3366
+ value_type?: unknown;
3367
+ value?: unknown;
3368
+ name?: unknown;
3369
+ object_type?: unknown;
3370
+ }[];
3371
+ }[];
3372
+ }>>;
3373
+ }, "strict", z.ZodTypeAny, {
3374
+ data: {
3375
+ object: string | {
3376
+ name?: string | undefined;
3377
+ replaceExistName?: boolean | undefined;
3378
+ tags?: string[] | undefined;
3379
+ onChain?: boolean | undefined;
3380
+ permission?: string | {
3381
+ name?: string | undefined;
3382
+ replaceExistName?: boolean | undefined;
3383
+ tags?: string[] | undefined;
3384
+ description?: string | undefined;
3385
+ onChain?: boolean | undefined;
3386
+ } | undefined;
3387
+ };
3388
+ description?: string | undefined;
3389
+ owner_receive?: {
3390
+ received: {
3391
+ id: string;
3392
+ balance: string | number;
3393
+ payment: string;
3394
+ }[];
3395
+ balance: string | number;
3396
+ token_type: string;
3397
+ } | "recently" | {
3398
+ type: string;
3399
+ id: string;
3400
+ }[] | undefined;
3401
+ um?: string | null | undefined;
3402
+ node?: {
3403
+ op: "add";
3404
+ nodes: {
3405
+ name: string;
3406
+ pairs: {
3407
+ forwards: {
3408
+ name: string;
3409
+ weight: number;
3410
+ guard?: {
3411
+ guard: string;
3412
+ retained_submission?: number[] | undefined;
3413
+ } | undefined;
3414
+ namedOperator?: string | undefined;
3415
+ permissionIndex?: number | undefined;
3416
+ }[];
3417
+ threshold: number;
3418
+ prev_node: string;
3419
+ }[];
3420
+ }[];
3421
+ bReplace?: boolean | undefined;
3422
+ } | {
3423
+ op: "set";
3424
+ nodes: {
3425
+ name: string;
3426
+ pairs: {
3427
+ forwards: {
3428
+ name: string;
3429
+ weight: number;
3430
+ guard?: {
3431
+ guard: string;
3432
+ retained_submission?: number[] | undefined;
3433
+ } | undefined;
3434
+ namedOperator?: string | undefined;
3435
+ permissionIndex?: number | undefined;
3436
+ }[];
3437
+ threshold: number;
3438
+ prev_node: string;
3439
+ }[];
3440
+ }[];
3441
+ bReplace?: boolean | undefined;
3442
+ } | {
3443
+ op: "remove";
3444
+ nodes: string[];
3445
+ } | {
3446
+ op: "clear";
3447
+ } | {
3448
+ op: "exchange";
3449
+ node_one: string;
3450
+ node_other: string;
3451
+ } | {
3452
+ op: "rename";
3453
+ node_name_old: string;
3454
+ node_name_new: string;
3455
+ } | {
3456
+ op: "remove prior node";
3457
+ pairs: {
3458
+ prior_node_name: string[];
3459
+ node_name: string;
3460
+ }[];
3461
+ } | {
3462
+ data: {
3463
+ forward: {
3464
+ name: string;
3465
+ weight: number;
3466
+ namedOperator?: string | null | undefined;
3467
+ permissionIndex?: number | null | undefined;
3468
+ }[];
3469
+ prior_node_name: string;
3470
+ node_name: string;
3471
+ threshold?: number | null | undefined;
3472
+ }[];
3473
+ op: "add forward";
3474
+ } | {
3475
+ data: {
3476
+ prior_node_name: string;
3477
+ node_name: string;
3478
+ forward_name: string[];
3479
+ }[];
3480
+ op: "remove forward";
3481
+ } | {
3482
+ json_or_markdown_file: string;
3483
+ } | undefined;
3484
+ repository?: {
3485
+ op: "set" | "add";
3486
+ objects: string[];
3487
+ } | {
3488
+ op: "remove";
3489
+ objects: string[];
3490
+ } | {
3491
+ op: "clear";
3492
+ } | undefined;
3493
+ progress_new?: {
3494
+ task?: string | null | undefined;
3495
+ namedNew?: {
3496
+ name?: string | undefined;
3497
+ replaceExistName?: boolean | undefined;
3498
+ tags?: string[] | undefined;
3499
+ onChain?: boolean | undefined;
3500
+ } | undefined;
3501
+ repository?: {
3502
+ op: "set" | "add";
3503
+ objects: string[];
3504
+ } | {
3505
+ op: "remove";
3506
+ objects: string[];
3507
+ } | {
3508
+ op: "clear";
3509
+ } | undefined;
3510
+ progress_namedOperator?: {
3511
+ name: string;
3512
+ op: "set" | "add" | "remove";
3513
+ operators: {
3514
+ entities: {
3515
+ name_or_address?: string | undefined;
3516
+ local_mark_first?: boolean | undefined;
3517
+ }[];
3518
+ check_all_founded?: boolean | undefined;
3519
+ };
3520
+ } | undefined;
3521
+ } | undefined;
3522
+ pause?: boolean | undefined;
3523
+ publish?: boolean | undefined;
3524
+ };
3525
+ submission?: {
3526
+ type: "submission";
3527
+ guard: {
3528
+ object: string;
3529
+ impack: boolean;
3530
+ }[];
3531
+ submission: {
3532
+ guard: string;
3533
+ submission: {
3534
+ [x: string]: any;
3535
+ identifier?: unknown;
3536
+ b_submission?: unknown;
3537
+ value_type?: unknown;
3538
+ value?: unknown;
3539
+ name?: unknown;
3540
+ object_type?: unknown;
3541
+ }[];
3542
+ }[];
3543
+ } | undefined;
3544
+ env?: {
3545
+ [x: string]: any;
3546
+ account?: unknown;
3547
+ permission_guard?: unknown;
3548
+ no_cache?: unknown;
3549
+ network?: unknown;
3550
+ referrer?: unknown;
3551
+ } | undefined;
3552
+ }, {
3553
+ data: {
3554
+ object: string | {
3555
+ name?: string | undefined;
3556
+ replaceExistName?: boolean | undefined;
3557
+ tags?: string[] | undefined;
3558
+ onChain?: boolean | undefined;
3559
+ permission?: string | {
3560
+ name?: string | undefined;
3561
+ replaceExistName?: boolean | undefined;
3562
+ tags?: string[] | undefined;
3563
+ description?: string | undefined;
3564
+ onChain?: boolean | undefined;
3565
+ } | undefined;
3566
+ };
3567
+ description?: string | undefined;
3568
+ owner_receive?: {
3569
+ received: {
3570
+ id: string;
3571
+ balance: string | number;
3572
+ payment: string;
3573
+ }[];
3574
+ balance: string | number;
3575
+ token_type: string;
3576
+ } | "recently" | {
3577
+ type: string;
3578
+ id: string;
3579
+ }[] | undefined;
3580
+ um?: string | null | undefined;
3581
+ node?: {
3582
+ op: "add";
3583
+ nodes: {
3584
+ name: string;
3585
+ pairs: {
3586
+ forwards: {
3587
+ name: string;
3588
+ weight: number;
3589
+ guard?: {
3590
+ guard: string;
3591
+ retained_submission?: number[] | undefined;
3592
+ } | undefined;
3593
+ namedOperator?: string | undefined;
3594
+ permissionIndex?: number | undefined;
3595
+ }[];
3596
+ threshold: number;
3597
+ prev_node: string;
3598
+ }[];
3599
+ }[];
3600
+ bReplace?: boolean | undefined;
3601
+ } | {
3602
+ op: "set";
3603
+ nodes: {
3604
+ name: string;
3605
+ pairs: {
3606
+ forwards: {
3607
+ name: string;
3608
+ weight: number;
3609
+ guard?: {
3610
+ guard: string;
3611
+ retained_submission?: number[] | undefined;
3612
+ } | undefined;
3613
+ namedOperator?: string | undefined;
3614
+ permissionIndex?: number | undefined;
3615
+ }[];
3616
+ threshold: number;
3617
+ prev_node: string;
3618
+ }[];
3619
+ }[];
3620
+ bReplace?: boolean | undefined;
3621
+ } | {
3622
+ op: "remove";
3623
+ nodes: string[];
3624
+ } | {
3625
+ op: "clear";
3626
+ } | {
3627
+ op: "exchange";
3628
+ node_one: string;
3629
+ node_other: string;
3630
+ } | {
3631
+ op: "rename";
3632
+ node_name_old: string;
3633
+ node_name_new: string;
3634
+ } | {
3635
+ op: "remove prior node";
3636
+ pairs: {
3637
+ prior_node_name: string[];
3638
+ node_name: string;
3639
+ }[];
3640
+ } | {
3641
+ data: {
3642
+ forward: {
3643
+ name: string;
3644
+ weight: number;
3645
+ namedOperator?: string | null | undefined;
3646
+ permissionIndex?: number | null | undefined;
3647
+ }[];
3648
+ prior_node_name: string;
3649
+ node_name: string;
3650
+ threshold?: number | null | undefined;
3651
+ }[];
3652
+ op: "add forward";
3653
+ } | {
3654
+ data: {
3655
+ prior_node_name: string;
3656
+ node_name: string;
3657
+ forward_name: string[];
3658
+ }[];
3659
+ op: "remove forward";
3660
+ } | {
3661
+ json_or_markdown_file: string;
3662
+ } | undefined;
3663
+ repository?: {
3664
+ op: "set" | "add";
3665
+ objects: string[];
3666
+ } | {
3667
+ op: "remove";
3668
+ objects: string[];
3669
+ } | {
3670
+ op: "clear";
3671
+ } | undefined;
3672
+ progress_new?: {
3673
+ task?: string | null | undefined;
3674
+ namedNew?: {
3675
+ name?: string | undefined;
3676
+ replaceExistName?: boolean | undefined;
3677
+ tags?: string[] | undefined;
3678
+ onChain?: boolean | undefined;
3679
+ } | undefined;
3680
+ repository?: {
3681
+ op: "set" | "add";
3682
+ objects: string[];
3683
+ } | {
3684
+ op: "remove";
3685
+ objects: string[];
3686
+ } | {
3687
+ op: "clear";
3688
+ } | undefined;
3689
+ progress_namedOperator?: {
3690
+ name: string;
3691
+ op: "set" | "add" | "remove";
3692
+ operators: {
3693
+ entities: {
3694
+ name_or_address?: string | undefined;
3695
+ local_mark_first?: boolean | undefined;
3696
+ }[];
3697
+ check_all_founded?: boolean | undefined;
3698
+ };
3699
+ } | undefined;
3700
+ } | undefined;
3701
+ pause?: boolean | undefined;
3702
+ publish?: boolean | undefined;
3703
+ };
3704
+ submission?: {
3705
+ type: "submission";
3706
+ guard: {
3707
+ object: string;
3708
+ impack: boolean;
3709
+ }[];
3710
+ submission: {
3711
+ guard: string;
3712
+ submission: {
3713
+ [x: string]: any;
3714
+ identifier?: unknown;
3715
+ b_submission?: unknown;
3716
+ value_type?: unknown;
3717
+ value?: unknown;
3718
+ name?: unknown;
3719
+ object_type?: unknown;
3720
+ }[];
3721
+ }[];
3722
+ } | undefined;
3723
+ env?: {
3724
+ [x: string]: any;
3725
+ account?: unknown;
3726
+ permission_guard?: unknown;
3727
+ no_cache?: unknown;
3728
+ network?: unknown;
3729
+ referrer?: unknown;
3730
+ } | undefined;
3731
+ }>;
3732
+ export declare const MachineNode2File_InputSchema: z.ZodObject<{
3733
+ machine: z.ZodEffects<z.ZodString, string, string>;
3734
+ file_path: z.ZodString;
3735
+ format: z.ZodOptional<z.ZodEnum<["json", "markdown"]>>;
3736
+ env: z.ZodOptional<z.ZodObject<{
3737
+ account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
3738
+ permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3739
+ no_cache: z.ZodOptional<z.ZodBoolean>;
3740
+ network: z.ZodOptional<z.ZodEnum<any>>;
3741
+ referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
3742
+ }, "strict", z.ZodTypeAny, {
3743
+ [x: string]: any;
3744
+ account?: unknown;
3745
+ permission_guard?: unknown;
3746
+ no_cache?: unknown;
3747
+ network?: unknown;
3748
+ referrer?: unknown;
3749
+ }, {
3750
+ [x: string]: any;
3751
+ account?: unknown;
3752
+ permission_guard?: unknown;
3753
+ no_cache?: unknown;
3754
+ network?: unknown;
3755
+ referrer?: unknown;
3756
+ }>>;
3757
+ }, "strict", z.ZodTypeAny, {
3758
+ machine: string;
3759
+ file_path: string;
3760
+ format?: "markdown" | "json" | undefined;
3761
+ env?: {
3762
+ [x: string]: any;
3763
+ account?: unknown;
3764
+ permission_guard?: unknown;
3765
+ no_cache?: unknown;
3766
+ network?: unknown;
3767
+ referrer?: unknown;
3768
+ } | undefined;
3769
+ }, {
3770
+ machine: string;
3771
+ file_path: string;
3772
+ format?: "markdown" | "json" | undefined;
3773
+ env?: {
3774
+ [x: string]: any;
3775
+ account?: unknown;
3776
+ permission_guard?: unknown;
3777
+ no_cache?: unknown;
3778
+ network?: unknown;
3779
+ referrer?: unknown;
3780
+ } | undefined;
3781
+ }>;
3782
+ export declare const MachineNode2File_OutputSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3783
+ status: z.ZodLiteral<"success">;
3784
+ data: z.ZodObject<{
3785
+ file_path: z.ZodString;
3786
+ format: z.ZodEnum<["json", "markdown"]>;
3787
+ machine_object: z.ZodEffects<z.ZodString, string, string>;
3788
+ node_count: z.ZodNumber;
3789
+ }, "strict", z.ZodTypeAny, {
3790
+ format: "markdown" | "json";
3791
+ node_count: number;
3792
+ file_path: string;
3793
+ machine_object: string;
3794
+ }, {
3795
+ format: "markdown" | "json";
3796
+ node_count: number;
3797
+ file_path: string;
3798
+ machine_object: string;
3799
+ }>;
3800
+ }, "strict", z.ZodTypeAny, {
3801
+ status: "success";
3802
+ data: {
3803
+ format: "markdown" | "json";
3804
+ node_count: number;
3805
+ file_path: string;
3806
+ machine_object: string;
3807
+ };
3808
+ }, {
3809
+ status: "success";
3810
+ data: {
3811
+ format: "markdown" | "json";
3812
+ node_count: number;
3813
+ file_path: string;
3814
+ machine_object: string;
3815
+ };
3816
+ }>, z.ZodObject<{
3817
+ status: z.ZodLiteral<"error">;
3818
+ error: z.ZodString;
3819
+ }, "strict", z.ZodTypeAny, {
3820
+ status: "error";
3821
+ error: string;
3822
+ }, {
3823
+ status: "error";
3824
+ error: string;
3825
+ }>]>;
3826
+ export declare const MachineNode2File_OutputWrappedSchema: z.ZodObject<{
3827
+ result: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3828
+ status: z.ZodLiteral<"success">;
3829
+ data: z.ZodObject<{
3830
+ file_path: z.ZodString;
3831
+ format: z.ZodEnum<["json", "markdown"]>;
3832
+ machine_object: z.ZodEffects<z.ZodString, string, string>;
3833
+ node_count: z.ZodNumber;
3834
+ }, "strict", z.ZodTypeAny, {
3835
+ format: "markdown" | "json";
3836
+ node_count: number;
3837
+ file_path: string;
3838
+ machine_object: string;
3839
+ }, {
3840
+ format: "markdown" | "json";
3841
+ node_count: number;
3842
+ file_path: string;
3843
+ machine_object: string;
3844
+ }>;
3845
+ }, "strict", z.ZodTypeAny, {
3846
+ status: "success";
3847
+ data: {
3848
+ format: "markdown" | "json";
3849
+ node_count: number;
3850
+ file_path: string;
3851
+ machine_object: string;
3852
+ };
3853
+ }, {
3854
+ status: "success";
3855
+ data: {
3856
+ format: "markdown" | "json";
3857
+ node_count: number;
3858
+ file_path: string;
3859
+ machine_object: string;
3860
+ };
3861
+ }>, z.ZodObject<{
3862
+ status: z.ZodLiteral<"error">;
3863
+ error: z.ZodString;
3864
+ }, "strict", z.ZodTypeAny, {
3865
+ status: "error";
3866
+ error: string;
3867
+ }, {
3868
+ status: "error";
3869
+ error: string;
3870
+ }>]>;
3871
+ }, "strict", z.ZodTypeAny, {
3872
+ result: {
3873
+ status: "success";
3874
+ data: {
3875
+ format: "markdown" | "json";
3876
+ node_count: number;
3877
+ file_path: string;
3878
+ machine_object: string;
3879
+ };
3880
+ } | {
3881
+ status: "error";
3882
+ error: string;
3883
+ };
3884
+ }, {
3885
+ result: {
3886
+ status: "success";
3887
+ data: {
3888
+ format: "markdown" | "json";
3889
+ node_count: number;
3890
+ file_path: string;
3891
+ machine_object: string;
3892
+ };
3893
+ } | {
3894
+ status: "error";
3895
+ error: string;
3896
+ };
3897
+ }>;
3898
+ export type CallMachine_Data = z.infer<typeof CallMachine_DataSchema>;
3899
+ export type ProgressNew = z.infer<typeof ProgressNewSchema>;
3900
+ export type ProgressNamedOperator = z.infer<typeof ProgressNamedOperatorSchema>;
3901
+ export type Node = z.infer<typeof NodeSchema>;
3902
+ export type NodeJsonOrMarkdownFile = z.infer<typeof NodeJsonOrMarkdownFileSchema>;
3903
+ export type NodeField = z.infer<typeof NodeFieldSchema>;
3904
+ export type MachineNode2File_Input = z.infer<typeof MachineNode2File_InputSchema>;
3905
+ export type MachineNode2File_Output = z.infer<typeof MachineNode2File_OutputSchema>;
3906
+ export type MachineNode2File_OutputWrapped = z.infer<typeof MachineNode2File_OutputWrappedSchema>;