@wowok/agent-mcp 2.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/README.md +56 -0
  2. package/dist/index.d.ts +15800 -0
  3. package/dist/index.js +1479 -0
  4. package/dist/schema/call/allocation.d.ts +1430 -0
  5. package/dist/schema/call/allocation.js +24 -0
  6. package/dist/schema/call/arbitration.d.ts +1974 -0
  7. package/dist/schema/call/arbitration.js +92 -0
  8. package/dist/schema/call/base.d.ts +7325 -0
  9. package/dist/schema/call/base.js +138 -0
  10. package/dist/schema/call/contact.d.ts +970 -0
  11. package/dist/schema/call/contact.js +37 -0
  12. package/dist/schema/call/demand.d.ts +1265 -0
  13. package/dist/schema/call/demand.js +47 -0
  14. package/dist/schema/call/guard.d.ts +951 -0
  15. package/dist/schema/call/guard.js +58 -0
  16. package/dist/schema/call/handler.d.ts +38 -0
  17. package/dist/schema/call/handler.js +171 -0
  18. package/dist/schema/call/index.d.ts +18 -0
  19. package/dist/schema/call/index.js +18 -0
  20. package/dist/schema/call/machine.d.ts +3974 -0
  21. package/dist/schema/call/machine.js +152 -0
  22. package/dist/schema/call/order.d.ts +974 -0
  23. package/dist/schema/call/order.js +34 -0
  24. package/dist/schema/call/payment.d.ts +404 -0
  25. package/dist/schema/call/payment.js +17 -0
  26. package/dist/schema/call/permission.d.ts +3017 -0
  27. package/dist/schema/call/permission.js +105 -0
  28. package/dist/schema/call/personal.d.ts +1472 -0
  29. package/dist/schema/call/personal.js +68 -0
  30. package/dist/schema/call/progress.d.ts +725 -0
  31. package/dist/schema/call/progress.js +26 -0
  32. package/dist/schema/call/proof.d.ts +320 -0
  33. package/dist/schema/call/proof.js +27 -0
  34. package/dist/schema/call/repository.d.ts +2358 -0
  35. package/dist/schema/call/repository.js +76 -0
  36. package/dist/schema/call/reward.d.ts +1232 -0
  37. package/dist/schema/call/reward.js +30 -0
  38. package/dist/schema/call/service.d.ts +3494 -0
  39. package/dist/schema/call/service.js +82 -0
  40. package/dist/schema/call/treasury.d.ts +2345 -0
  41. package/dist/schema/call/treasury.js +71 -0
  42. package/dist/schema/common/index.d.ts +843 -0
  43. package/dist/schema/common/index.js +347 -0
  44. package/dist/schema/index.d.ts +7 -0
  45. package/dist/schema/index.js +7 -0
  46. package/dist/schema/local/index.d.ts +17522 -0
  47. package/dist/schema/local/index.js +855 -0
  48. package/dist/schema/local/wip.d.ts +784 -0
  49. package/dist/schema/local/wip.js +187 -0
  50. package/dist/schema/messenger/index.d.ts +4655 -0
  51. package/dist/schema/messenger/index.js +446 -0
  52. package/dist/schema/query/index.d.ts +73445 -0
  53. package/dist/schema/query/index.js +1324 -0
  54. package/dist/schema/utils/guard-parser.d.ts +20 -0
  55. package/dist/schema/utils/guard-parser.js +401 -0
  56. package/dist/schema/utils/guard-query-utils.d.ts +5 -0
  57. package/dist/schema/utils/guard-query-utils.js +22 -0
  58. package/dist/schema/utils/node-parser.d.ts +45 -0
  59. package/dist/schema/utils/node-parser.js +353 -0
  60. package/dist/schema/utils/permission-index-utils.d.ts +2 -0
  61. package/dist/schema/utils/permission-index-utils.js +7 -0
  62. package/package.json +48 -0
@@ -0,0 +1,3017 @@
1
+ import { z } from "zod";
2
+ export declare const RemarkSetSchema: z.ZodObject<{
3
+ op: z.ZodLiteral<"set">;
4
+ index: z.ZodEffects<z.ZodNumber, number, number>;
5
+ remark: z.ZodEffects<z.ZodString, string, string>;
6
+ }, "strict", z.ZodTypeAny, {
7
+ op: "set";
8
+ index: number;
9
+ remark: string;
10
+ }, {
11
+ op: "set";
12
+ index: number;
13
+ remark: string;
14
+ }>;
15
+ export declare const RemarkRemoveSchema: z.ZodObject<{
16
+ op: z.ZodLiteral<"remove">;
17
+ index: z.ZodEffects<z.ZodNumber, number, number>;
18
+ }, "strict", z.ZodTypeAny, {
19
+ op: "remove";
20
+ index: number;
21
+ }, {
22
+ op: "remove";
23
+ index: number;
24
+ }>;
25
+ export declare const RemarkClearSchema: z.ZodObject<{
26
+ op: z.ZodLiteral<"clear">;
27
+ }, "strict", z.ZodTypeAny, {
28
+ op: "clear";
29
+ }, {
30
+ op: "clear";
31
+ }>;
32
+ export declare const RemarkSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
33
+ op: z.ZodLiteral<"set">;
34
+ index: z.ZodEffects<z.ZodNumber, number, number>;
35
+ remark: z.ZodEffects<z.ZodString, string, string>;
36
+ }, "strict", z.ZodTypeAny, {
37
+ op: "set";
38
+ index: number;
39
+ remark: string;
40
+ }, {
41
+ op: "set";
42
+ index: number;
43
+ remark: string;
44
+ }>, z.ZodObject<{
45
+ op: z.ZodLiteral<"remove">;
46
+ index: z.ZodEffects<z.ZodNumber, number, number>;
47
+ }, "strict", z.ZodTypeAny, {
48
+ op: "remove";
49
+ index: number;
50
+ }, {
51
+ op: "remove";
52
+ index: number;
53
+ }>, z.ZodObject<{
54
+ op: z.ZodLiteral<"clear">;
55
+ }, "strict", z.ZodTypeAny, {
56
+ op: "clear";
57
+ }, {
58
+ op: "clear";
59
+ }>]>;
60
+ export declare const TablePermByIndexSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
61
+ op: z.ZodLiteral<"add perm by index">;
62
+ index: z.ZodEffects<z.ZodNumber, number, number>;
63
+ entity: z.ZodObject<{
64
+ entities: z.ZodArray<z.ZodObject<{
65
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
66
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
67
+ }, "strict", z.ZodTypeAny, {
68
+ name_or_address?: string | undefined;
69
+ local_mark_first?: boolean | undefined;
70
+ }, {
71
+ name_or_address?: string | undefined;
72
+ local_mark_first?: boolean | undefined;
73
+ }>, "many">;
74
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
75
+ }, "strict", z.ZodTypeAny, {
76
+ entities: {
77
+ name_or_address?: string | undefined;
78
+ local_mark_first?: boolean | undefined;
79
+ }[];
80
+ check_all_founded?: boolean | undefined;
81
+ }, {
82
+ entities: {
83
+ name_or_address?: string | undefined;
84
+ local_mark_first?: boolean | undefined;
85
+ }[];
86
+ check_all_founded?: boolean | undefined;
87
+ }>;
88
+ }, "strict", z.ZodTypeAny, {
89
+ op: "add perm by index";
90
+ entity: {
91
+ entities: {
92
+ name_or_address?: string | undefined;
93
+ local_mark_first?: boolean | undefined;
94
+ }[];
95
+ check_all_founded?: boolean | undefined;
96
+ };
97
+ index: number;
98
+ }, {
99
+ op: "add perm by index";
100
+ entity: {
101
+ entities: {
102
+ name_or_address?: string | undefined;
103
+ local_mark_first?: boolean | undefined;
104
+ }[];
105
+ check_all_founded?: boolean | undefined;
106
+ };
107
+ index: number;
108
+ }>, z.ZodObject<{
109
+ op: z.ZodLiteral<"set perm by index">;
110
+ index: z.ZodEffects<z.ZodNumber, number, number>;
111
+ entity: z.ZodObject<{
112
+ entities: z.ZodArray<z.ZodObject<{
113
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
114
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
115
+ }, "strict", z.ZodTypeAny, {
116
+ name_or_address?: string | undefined;
117
+ local_mark_first?: boolean | undefined;
118
+ }, {
119
+ name_or_address?: string | undefined;
120
+ local_mark_first?: boolean | undefined;
121
+ }>, "many">;
122
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
123
+ }, "strict", z.ZodTypeAny, {
124
+ entities: {
125
+ name_or_address?: string | undefined;
126
+ local_mark_first?: boolean | undefined;
127
+ }[];
128
+ check_all_founded?: boolean | undefined;
129
+ }, {
130
+ entities: {
131
+ name_or_address?: string | undefined;
132
+ local_mark_first?: boolean | undefined;
133
+ }[];
134
+ check_all_founded?: boolean | undefined;
135
+ }>;
136
+ }, "strict", z.ZodTypeAny, {
137
+ op: "set perm by index";
138
+ entity: {
139
+ entities: {
140
+ name_or_address?: string | undefined;
141
+ local_mark_first?: boolean | undefined;
142
+ }[];
143
+ check_all_founded?: boolean | undefined;
144
+ };
145
+ index: number;
146
+ }, {
147
+ op: "set perm by index";
148
+ entity: {
149
+ entities: {
150
+ name_or_address?: string | undefined;
151
+ local_mark_first?: boolean | undefined;
152
+ }[];
153
+ check_all_founded?: boolean | undefined;
154
+ };
155
+ index: number;
156
+ }>, z.ZodObject<{
157
+ op: z.ZodLiteral<"remove perm by index">;
158
+ index: z.ZodEffects<z.ZodNumber, number, number>;
159
+ entity: z.ZodObject<{
160
+ entities: z.ZodArray<z.ZodObject<{
161
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
162
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
163
+ }, "strict", z.ZodTypeAny, {
164
+ name_or_address?: string | undefined;
165
+ local_mark_first?: boolean | undefined;
166
+ }, {
167
+ name_or_address?: string | undefined;
168
+ local_mark_first?: boolean | undefined;
169
+ }>, "many">;
170
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
171
+ }, "strict", z.ZodTypeAny, {
172
+ entities: {
173
+ name_or_address?: string | undefined;
174
+ local_mark_first?: boolean | undefined;
175
+ }[];
176
+ check_all_founded?: boolean | undefined;
177
+ }, {
178
+ entities: {
179
+ name_or_address?: string | undefined;
180
+ local_mark_first?: boolean | undefined;
181
+ }[];
182
+ check_all_founded?: boolean | undefined;
183
+ }>;
184
+ }, "strict", z.ZodTypeAny, {
185
+ op: "remove perm by index";
186
+ entity: {
187
+ entities: {
188
+ name_or_address?: string | undefined;
189
+ local_mark_first?: boolean | undefined;
190
+ }[];
191
+ check_all_founded?: boolean | undefined;
192
+ };
193
+ index: number;
194
+ }, {
195
+ op: "remove perm by index";
196
+ entity: {
197
+ entities: {
198
+ name_or_address?: string | undefined;
199
+ local_mark_first?: boolean | undefined;
200
+ }[];
201
+ check_all_founded?: boolean | undefined;
202
+ };
203
+ index: number;
204
+ }>]>;
205
+ export declare const TablePermByEntitySchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
206
+ op: z.ZodLiteral<"add perm by entity">;
207
+ entity: z.ZodObject<{
208
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
209
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
210
+ }, "strict", z.ZodTypeAny, {
211
+ name_or_address?: string | undefined;
212
+ local_mark_first?: boolean | undefined;
213
+ }, {
214
+ name_or_address?: string | undefined;
215
+ local_mark_first?: boolean | undefined;
216
+ }>;
217
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
218
+ }, "strict", z.ZodTypeAny, {
219
+ op: "add perm by entity";
220
+ entity: {
221
+ name_or_address?: string | undefined;
222
+ local_mark_first?: boolean | undefined;
223
+ };
224
+ index: number[];
225
+ }, {
226
+ op: "add perm by entity";
227
+ entity: {
228
+ name_or_address?: string | undefined;
229
+ local_mark_first?: boolean | undefined;
230
+ };
231
+ index: number[];
232
+ }>, z.ZodObject<{
233
+ op: z.ZodLiteral<"set perm by entity">;
234
+ entity: z.ZodObject<{
235
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
236
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
237
+ }, "strict", z.ZodTypeAny, {
238
+ name_or_address?: string | undefined;
239
+ local_mark_first?: boolean | undefined;
240
+ }, {
241
+ name_or_address?: string | undefined;
242
+ local_mark_first?: boolean | undefined;
243
+ }>;
244
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
245
+ }, "strict", z.ZodTypeAny, {
246
+ op: "set perm by entity";
247
+ entity: {
248
+ name_or_address?: string | undefined;
249
+ local_mark_first?: boolean | undefined;
250
+ };
251
+ index: number[];
252
+ }, {
253
+ op: "set perm by entity";
254
+ entity: {
255
+ name_or_address?: string | undefined;
256
+ local_mark_first?: boolean | undefined;
257
+ };
258
+ index: number[];
259
+ }>, z.ZodObject<{
260
+ op: z.ZodLiteral<"remove perm by entity">;
261
+ entity: z.ZodObject<{
262
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
263
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
264
+ }, "strict", z.ZodTypeAny, {
265
+ name_or_address?: string | undefined;
266
+ local_mark_first?: boolean | undefined;
267
+ }, {
268
+ name_or_address?: string | undefined;
269
+ local_mark_first?: boolean | undefined;
270
+ }>;
271
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
272
+ }, "strict", z.ZodTypeAny, {
273
+ op: "remove perm by entity";
274
+ entity: {
275
+ name_or_address?: string | undefined;
276
+ local_mark_first?: boolean | undefined;
277
+ };
278
+ index: number[];
279
+ }, {
280
+ op: "remove perm by entity";
281
+ entity: {
282
+ name_or_address?: string | undefined;
283
+ local_mark_first?: boolean | undefined;
284
+ };
285
+ index: number[];
286
+ }>]>;
287
+ export declare const TableSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
288
+ op: z.ZodLiteral<"add perm by index">;
289
+ index: z.ZodEffects<z.ZodNumber, number, number>;
290
+ entity: z.ZodObject<{
291
+ entities: z.ZodArray<z.ZodObject<{
292
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
293
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
294
+ }, "strict", z.ZodTypeAny, {
295
+ name_or_address?: string | undefined;
296
+ local_mark_first?: boolean | undefined;
297
+ }, {
298
+ name_or_address?: string | undefined;
299
+ local_mark_first?: boolean | undefined;
300
+ }>, "many">;
301
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
302
+ }, "strict", z.ZodTypeAny, {
303
+ entities: {
304
+ name_or_address?: string | undefined;
305
+ local_mark_first?: boolean | undefined;
306
+ }[];
307
+ check_all_founded?: boolean | undefined;
308
+ }, {
309
+ entities: {
310
+ name_or_address?: string | undefined;
311
+ local_mark_first?: boolean | undefined;
312
+ }[];
313
+ check_all_founded?: boolean | undefined;
314
+ }>;
315
+ }, "strict", z.ZodTypeAny, {
316
+ op: "add perm by index";
317
+ entity: {
318
+ entities: {
319
+ name_or_address?: string | undefined;
320
+ local_mark_first?: boolean | undefined;
321
+ }[];
322
+ check_all_founded?: boolean | undefined;
323
+ };
324
+ index: number;
325
+ }, {
326
+ op: "add perm by index";
327
+ entity: {
328
+ entities: {
329
+ name_or_address?: string | undefined;
330
+ local_mark_first?: boolean | undefined;
331
+ }[];
332
+ check_all_founded?: boolean | undefined;
333
+ };
334
+ index: number;
335
+ }>, z.ZodObject<{
336
+ op: z.ZodLiteral<"set perm by index">;
337
+ index: z.ZodEffects<z.ZodNumber, number, number>;
338
+ entity: z.ZodObject<{
339
+ entities: z.ZodArray<z.ZodObject<{
340
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
341
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
342
+ }, "strict", z.ZodTypeAny, {
343
+ name_or_address?: string | undefined;
344
+ local_mark_first?: boolean | undefined;
345
+ }, {
346
+ name_or_address?: string | undefined;
347
+ local_mark_first?: boolean | undefined;
348
+ }>, "many">;
349
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
350
+ }, "strict", z.ZodTypeAny, {
351
+ entities: {
352
+ name_or_address?: string | undefined;
353
+ local_mark_first?: boolean | undefined;
354
+ }[];
355
+ check_all_founded?: boolean | undefined;
356
+ }, {
357
+ entities: {
358
+ name_or_address?: string | undefined;
359
+ local_mark_first?: boolean | undefined;
360
+ }[];
361
+ check_all_founded?: boolean | undefined;
362
+ }>;
363
+ }, "strict", z.ZodTypeAny, {
364
+ op: "set perm by index";
365
+ entity: {
366
+ entities: {
367
+ name_or_address?: string | undefined;
368
+ local_mark_first?: boolean | undefined;
369
+ }[];
370
+ check_all_founded?: boolean | undefined;
371
+ };
372
+ index: number;
373
+ }, {
374
+ op: "set perm by index";
375
+ entity: {
376
+ entities: {
377
+ name_or_address?: string | undefined;
378
+ local_mark_first?: boolean | undefined;
379
+ }[];
380
+ check_all_founded?: boolean | undefined;
381
+ };
382
+ index: number;
383
+ }>, z.ZodObject<{
384
+ op: z.ZodLiteral<"remove perm by index">;
385
+ index: z.ZodEffects<z.ZodNumber, number, number>;
386
+ entity: z.ZodObject<{
387
+ entities: z.ZodArray<z.ZodObject<{
388
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
389
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
390
+ }, "strict", z.ZodTypeAny, {
391
+ name_or_address?: string | undefined;
392
+ local_mark_first?: boolean | undefined;
393
+ }, {
394
+ name_or_address?: string | undefined;
395
+ local_mark_first?: boolean | undefined;
396
+ }>, "many">;
397
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
398
+ }, "strict", z.ZodTypeAny, {
399
+ entities: {
400
+ name_or_address?: string | undefined;
401
+ local_mark_first?: boolean | undefined;
402
+ }[];
403
+ check_all_founded?: boolean | undefined;
404
+ }, {
405
+ entities: {
406
+ name_or_address?: string | undefined;
407
+ local_mark_first?: boolean | undefined;
408
+ }[];
409
+ check_all_founded?: boolean | undefined;
410
+ }>;
411
+ }, "strict", z.ZodTypeAny, {
412
+ op: "remove perm by index";
413
+ entity: {
414
+ entities: {
415
+ name_or_address?: string | undefined;
416
+ local_mark_first?: boolean | undefined;
417
+ }[];
418
+ check_all_founded?: boolean | undefined;
419
+ };
420
+ index: number;
421
+ }, {
422
+ op: "remove perm by index";
423
+ entity: {
424
+ entities: {
425
+ name_or_address?: string | undefined;
426
+ local_mark_first?: boolean | undefined;
427
+ }[];
428
+ check_all_founded?: boolean | undefined;
429
+ };
430
+ index: number;
431
+ }>, z.ZodObject<{
432
+ op: z.ZodLiteral<"add perm by entity">;
433
+ entity: z.ZodObject<{
434
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
435
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
436
+ }, "strict", z.ZodTypeAny, {
437
+ name_or_address?: string | undefined;
438
+ local_mark_first?: boolean | undefined;
439
+ }, {
440
+ name_or_address?: string | undefined;
441
+ local_mark_first?: boolean | undefined;
442
+ }>;
443
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
444
+ }, "strict", z.ZodTypeAny, {
445
+ op: "add perm by entity";
446
+ entity: {
447
+ name_or_address?: string | undefined;
448
+ local_mark_first?: boolean | undefined;
449
+ };
450
+ index: number[];
451
+ }, {
452
+ op: "add perm by entity";
453
+ entity: {
454
+ name_or_address?: string | undefined;
455
+ local_mark_first?: boolean | undefined;
456
+ };
457
+ index: number[];
458
+ }>, z.ZodObject<{
459
+ op: z.ZodLiteral<"set perm by entity">;
460
+ entity: z.ZodObject<{
461
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
462
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
463
+ }, "strict", z.ZodTypeAny, {
464
+ name_or_address?: string | undefined;
465
+ local_mark_first?: boolean | undefined;
466
+ }, {
467
+ name_or_address?: string | undefined;
468
+ local_mark_first?: boolean | undefined;
469
+ }>;
470
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
471
+ }, "strict", z.ZodTypeAny, {
472
+ op: "set perm by entity";
473
+ entity: {
474
+ name_or_address?: string | undefined;
475
+ local_mark_first?: boolean | undefined;
476
+ };
477
+ index: number[];
478
+ }, {
479
+ op: "set perm by entity";
480
+ entity: {
481
+ name_or_address?: string | undefined;
482
+ local_mark_first?: boolean | undefined;
483
+ };
484
+ index: number[];
485
+ }>, z.ZodObject<{
486
+ op: z.ZodLiteral<"remove perm by entity">;
487
+ entity: z.ZodObject<{
488
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
489
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
490
+ }, "strict", z.ZodTypeAny, {
491
+ name_or_address?: string | undefined;
492
+ local_mark_first?: boolean | undefined;
493
+ }, {
494
+ name_or_address?: string | undefined;
495
+ local_mark_first?: boolean | undefined;
496
+ }>;
497
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
498
+ }, "strict", z.ZodTypeAny, {
499
+ op: "remove perm by entity";
500
+ entity: {
501
+ name_or_address?: string | undefined;
502
+ local_mark_first?: boolean | undefined;
503
+ };
504
+ index: number[];
505
+ }, {
506
+ op: "remove perm by entity";
507
+ entity: {
508
+ name_or_address?: string | undefined;
509
+ local_mark_first?: boolean | undefined;
510
+ };
511
+ index: number[];
512
+ }>]>;
513
+ export declare const EntitySwapReplaceCopySchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
514
+ op: z.ZodLiteral<"swap">;
515
+ entity1: z.ZodObject<{
516
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
517
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
518
+ }, "strict", z.ZodTypeAny, {
519
+ name_or_address?: string | undefined;
520
+ local_mark_first?: boolean | undefined;
521
+ }, {
522
+ name_or_address?: string | undefined;
523
+ local_mark_first?: boolean | undefined;
524
+ }>;
525
+ entity2: z.ZodObject<{
526
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
527
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
528
+ }, "strict", z.ZodTypeAny, {
529
+ name_or_address?: string | undefined;
530
+ local_mark_first?: boolean | undefined;
531
+ }, {
532
+ name_or_address?: string | undefined;
533
+ local_mark_first?: boolean | undefined;
534
+ }>;
535
+ }, "strict", z.ZodTypeAny, {
536
+ op: "swap";
537
+ entity1: {
538
+ name_or_address?: string | undefined;
539
+ local_mark_first?: boolean | undefined;
540
+ };
541
+ entity2: {
542
+ name_or_address?: string | undefined;
543
+ local_mark_first?: boolean | undefined;
544
+ };
545
+ }, {
546
+ op: "swap";
547
+ entity1: {
548
+ name_or_address?: string | undefined;
549
+ local_mark_first?: boolean | undefined;
550
+ };
551
+ entity2: {
552
+ name_or_address?: string | undefined;
553
+ local_mark_first?: boolean | undefined;
554
+ };
555
+ }>, z.ZodObject<{
556
+ op: z.ZodLiteral<"replace">;
557
+ entity1: z.ZodObject<{
558
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
559
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
560
+ }, "strict", z.ZodTypeAny, {
561
+ name_or_address?: string | undefined;
562
+ local_mark_first?: boolean | undefined;
563
+ }, {
564
+ name_or_address?: string | undefined;
565
+ local_mark_first?: boolean | undefined;
566
+ }>;
567
+ entity2: z.ZodObject<{
568
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
569
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
570
+ }, "strict", z.ZodTypeAny, {
571
+ name_or_address?: string | undefined;
572
+ local_mark_first?: boolean | undefined;
573
+ }, {
574
+ name_or_address?: string | undefined;
575
+ local_mark_first?: boolean | undefined;
576
+ }>;
577
+ }, "strict", z.ZodTypeAny, {
578
+ op: "replace";
579
+ entity1: {
580
+ name_or_address?: string | undefined;
581
+ local_mark_first?: boolean | undefined;
582
+ };
583
+ entity2: {
584
+ name_or_address?: string | undefined;
585
+ local_mark_first?: boolean | undefined;
586
+ };
587
+ }, {
588
+ op: "replace";
589
+ entity1: {
590
+ name_or_address?: string | undefined;
591
+ local_mark_first?: boolean | undefined;
592
+ };
593
+ entity2: {
594
+ name_or_address?: string | undefined;
595
+ local_mark_first?: boolean | undefined;
596
+ };
597
+ }>, z.ZodObject<{
598
+ op: z.ZodLiteral<"copy">;
599
+ entity1: z.ZodObject<{
600
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
601
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
602
+ }, "strict", z.ZodTypeAny, {
603
+ name_or_address?: string | undefined;
604
+ local_mark_first?: boolean | undefined;
605
+ }, {
606
+ name_or_address?: string | undefined;
607
+ local_mark_first?: boolean | undefined;
608
+ }>;
609
+ entity2: z.ZodObject<{
610
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
611
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
612
+ }, "strict", z.ZodTypeAny, {
613
+ name_or_address?: string | undefined;
614
+ local_mark_first?: boolean | undefined;
615
+ }, {
616
+ name_or_address?: string | undefined;
617
+ local_mark_first?: boolean | undefined;
618
+ }>;
619
+ }, "strict", z.ZodTypeAny, {
620
+ op: "copy";
621
+ entity1: {
622
+ name_or_address?: string | undefined;
623
+ local_mark_first?: boolean | undefined;
624
+ };
625
+ entity2: {
626
+ name_or_address?: string | undefined;
627
+ local_mark_first?: boolean | undefined;
628
+ };
629
+ }, {
630
+ op: "copy";
631
+ entity1: {
632
+ name_or_address?: string | undefined;
633
+ local_mark_first?: boolean | undefined;
634
+ };
635
+ entity2: {
636
+ name_or_address?: string | undefined;
637
+ local_mark_first?: boolean | undefined;
638
+ };
639
+ }>]>;
640
+ export declare const EntityDelSchema: z.ZodObject<{
641
+ op: z.ZodLiteral<"del">;
642
+ entity: z.ZodObject<{
643
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
644
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
645
+ }, "strict", z.ZodTypeAny, {
646
+ name_or_address?: string | undefined;
647
+ local_mark_first?: boolean | undefined;
648
+ }, {
649
+ name_or_address?: string | undefined;
650
+ local_mark_first?: boolean | undefined;
651
+ }>;
652
+ }, "strict", z.ZodTypeAny, {
653
+ op: "del";
654
+ entity: {
655
+ name_or_address?: string | undefined;
656
+ local_mark_first?: boolean | undefined;
657
+ };
658
+ }, {
659
+ op: "del";
660
+ entity: {
661
+ name_or_address?: string | undefined;
662
+ local_mark_first?: boolean | undefined;
663
+ };
664
+ }>;
665
+ export declare const EntitySchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
666
+ op: z.ZodLiteral<"swap">;
667
+ entity1: z.ZodObject<{
668
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
669
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
670
+ }, "strict", z.ZodTypeAny, {
671
+ name_or_address?: string | undefined;
672
+ local_mark_first?: boolean | undefined;
673
+ }, {
674
+ name_or_address?: string | undefined;
675
+ local_mark_first?: boolean | undefined;
676
+ }>;
677
+ entity2: z.ZodObject<{
678
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
679
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
680
+ }, "strict", z.ZodTypeAny, {
681
+ name_or_address?: string | undefined;
682
+ local_mark_first?: boolean | undefined;
683
+ }, {
684
+ name_or_address?: string | undefined;
685
+ local_mark_first?: boolean | undefined;
686
+ }>;
687
+ }, "strict", z.ZodTypeAny, {
688
+ op: "swap";
689
+ entity1: {
690
+ name_or_address?: string | undefined;
691
+ local_mark_first?: boolean | undefined;
692
+ };
693
+ entity2: {
694
+ name_or_address?: string | undefined;
695
+ local_mark_first?: boolean | undefined;
696
+ };
697
+ }, {
698
+ op: "swap";
699
+ entity1: {
700
+ name_or_address?: string | undefined;
701
+ local_mark_first?: boolean | undefined;
702
+ };
703
+ entity2: {
704
+ name_or_address?: string | undefined;
705
+ local_mark_first?: boolean | undefined;
706
+ };
707
+ }>, z.ZodObject<{
708
+ op: z.ZodLiteral<"replace">;
709
+ entity1: z.ZodObject<{
710
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
711
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
712
+ }, "strict", z.ZodTypeAny, {
713
+ name_or_address?: string | undefined;
714
+ local_mark_first?: boolean | undefined;
715
+ }, {
716
+ name_or_address?: string | undefined;
717
+ local_mark_first?: boolean | undefined;
718
+ }>;
719
+ entity2: z.ZodObject<{
720
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
721
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
722
+ }, "strict", z.ZodTypeAny, {
723
+ name_or_address?: string | undefined;
724
+ local_mark_first?: boolean | undefined;
725
+ }, {
726
+ name_or_address?: string | undefined;
727
+ local_mark_first?: boolean | undefined;
728
+ }>;
729
+ }, "strict", z.ZodTypeAny, {
730
+ op: "replace";
731
+ entity1: {
732
+ name_or_address?: string | undefined;
733
+ local_mark_first?: boolean | undefined;
734
+ };
735
+ entity2: {
736
+ name_or_address?: string | undefined;
737
+ local_mark_first?: boolean | undefined;
738
+ };
739
+ }, {
740
+ op: "replace";
741
+ entity1: {
742
+ name_or_address?: string | undefined;
743
+ local_mark_first?: boolean | undefined;
744
+ };
745
+ entity2: {
746
+ name_or_address?: string | undefined;
747
+ local_mark_first?: boolean | undefined;
748
+ };
749
+ }>, z.ZodObject<{
750
+ op: z.ZodLiteral<"copy">;
751
+ entity1: z.ZodObject<{
752
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
753
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
754
+ }, "strict", z.ZodTypeAny, {
755
+ name_or_address?: string | undefined;
756
+ local_mark_first?: boolean | undefined;
757
+ }, {
758
+ name_or_address?: string | undefined;
759
+ local_mark_first?: boolean | undefined;
760
+ }>;
761
+ entity2: z.ZodObject<{
762
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
763
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
764
+ }, "strict", z.ZodTypeAny, {
765
+ name_or_address?: string | undefined;
766
+ local_mark_first?: boolean | undefined;
767
+ }, {
768
+ name_or_address?: string | undefined;
769
+ local_mark_first?: boolean | undefined;
770
+ }>;
771
+ }, "strict", z.ZodTypeAny, {
772
+ op: "copy";
773
+ entity1: {
774
+ name_or_address?: string | undefined;
775
+ local_mark_first?: boolean | undefined;
776
+ };
777
+ entity2: {
778
+ name_or_address?: string | undefined;
779
+ local_mark_first?: boolean | undefined;
780
+ };
781
+ }, {
782
+ op: "copy";
783
+ entity1: {
784
+ name_or_address?: string | undefined;
785
+ local_mark_first?: boolean | undefined;
786
+ };
787
+ entity2: {
788
+ name_or_address?: string | undefined;
789
+ local_mark_first?: boolean | undefined;
790
+ };
791
+ }>, z.ZodObject<{
792
+ op: z.ZodLiteral<"del">;
793
+ entity: z.ZodObject<{
794
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
795
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
796
+ }, "strict", z.ZodTypeAny, {
797
+ name_or_address?: string | undefined;
798
+ local_mark_first?: boolean | undefined;
799
+ }, {
800
+ name_or_address?: string | undefined;
801
+ local_mark_first?: boolean | undefined;
802
+ }>;
803
+ }, "strict", z.ZodTypeAny, {
804
+ op: "del";
805
+ entity: {
806
+ name_or_address?: string | undefined;
807
+ local_mark_first?: boolean | undefined;
808
+ };
809
+ }, {
810
+ op: "del";
811
+ entity: {
812
+ name_or_address?: string | undefined;
813
+ local_mark_first?: boolean | undefined;
814
+ };
815
+ }>]>;
816
+ export declare const AdminSchema: z.ZodObject<{
817
+ op: z.ZodEnum<["add", "remove", "set"]>;
818
+ addresses: z.ZodObject<{
819
+ entities: z.ZodArray<z.ZodObject<{
820
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
821
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
822
+ }, "strict", z.ZodTypeAny, {
823
+ name_or_address?: string | undefined;
824
+ local_mark_first?: boolean | undefined;
825
+ }, {
826
+ name_or_address?: string | undefined;
827
+ local_mark_first?: boolean | undefined;
828
+ }>, "many">;
829
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
830
+ }, "strict", z.ZodTypeAny, {
831
+ entities: {
832
+ name_or_address?: string | undefined;
833
+ local_mark_first?: boolean | undefined;
834
+ }[];
835
+ check_all_founded?: boolean | undefined;
836
+ }, {
837
+ entities: {
838
+ name_or_address?: string | undefined;
839
+ local_mark_first?: boolean | undefined;
840
+ }[];
841
+ check_all_founded?: boolean | undefined;
842
+ }>;
843
+ }, "strict", z.ZodTypeAny, {
844
+ op: "set" | "add" | "remove";
845
+ addresses: {
846
+ entities: {
847
+ name_or_address?: string | undefined;
848
+ local_mark_first?: boolean | undefined;
849
+ }[];
850
+ check_all_founded?: boolean | undefined;
851
+ };
852
+ }, {
853
+ op: "set" | "add" | "remove";
854
+ addresses: {
855
+ entities: {
856
+ name_or_address?: string | undefined;
857
+ local_mark_first?: boolean | undefined;
858
+ }[];
859
+ check_all_founded?: boolean | undefined;
860
+ };
861
+ }>;
862
+ export declare const CallPermission_DataSchema: z.ZodObject<{
863
+ object: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
864
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
865
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
866
+ onChain: z.ZodOptional<z.ZodBoolean>;
867
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
868
+ }, "strict", z.ZodTypeAny, {
869
+ name?: string | undefined;
870
+ replaceExistName?: boolean | undefined;
871
+ tags?: string[] | undefined;
872
+ onChain?: boolean | undefined;
873
+ }, {
874
+ name?: string | undefined;
875
+ replaceExistName?: boolean | undefined;
876
+ tags?: string[] | undefined;
877
+ onChain?: boolean | undefined;
878
+ }>]>>;
879
+ description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
880
+ remark: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
881
+ op: z.ZodLiteral<"set">;
882
+ index: z.ZodEffects<z.ZodNumber, number, number>;
883
+ remark: z.ZodEffects<z.ZodString, string, string>;
884
+ }, "strict", z.ZodTypeAny, {
885
+ op: "set";
886
+ index: number;
887
+ remark: string;
888
+ }, {
889
+ op: "set";
890
+ index: number;
891
+ remark: string;
892
+ }>, z.ZodObject<{
893
+ op: z.ZodLiteral<"remove">;
894
+ index: z.ZodEffects<z.ZodNumber, number, number>;
895
+ }, "strict", z.ZodTypeAny, {
896
+ op: "remove";
897
+ index: number;
898
+ }, {
899
+ op: "remove";
900
+ index: number;
901
+ }>, z.ZodObject<{
902
+ op: z.ZodLiteral<"clear">;
903
+ }, "strict", z.ZodTypeAny, {
904
+ op: "clear";
905
+ }, {
906
+ op: "clear";
907
+ }>]>>;
908
+ table: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
909
+ op: z.ZodLiteral<"add perm by index">;
910
+ index: z.ZodEffects<z.ZodNumber, number, number>;
911
+ entity: z.ZodObject<{
912
+ entities: z.ZodArray<z.ZodObject<{
913
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
914
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
915
+ }, "strict", z.ZodTypeAny, {
916
+ name_or_address?: string | undefined;
917
+ local_mark_first?: boolean | undefined;
918
+ }, {
919
+ name_or_address?: string | undefined;
920
+ local_mark_first?: boolean | undefined;
921
+ }>, "many">;
922
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
923
+ }, "strict", z.ZodTypeAny, {
924
+ entities: {
925
+ name_or_address?: string | undefined;
926
+ local_mark_first?: boolean | undefined;
927
+ }[];
928
+ check_all_founded?: boolean | undefined;
929
+ }, {
930
+ entities: {
931
+ name_or_address?: string | undefined;
932
+ local_mark_first?: boolean | undefined;
933
+ }[];
934
+ check_all_founded?: boolean | undefined;
935
+ }>;
936
+ }, "strict", z.ZodTypeAny, {
937
+ op: "add perm by index";
938
+ entity: {
939
+ entities: {
940
+ name_or_address?: string | undefined;
941
+ local_mark_first?: boolean | undefined;
942
+ }[];
943
+ check_all_founded?: boolean | undefined;
944
+ };
945
+ index: number;
946
+ }, {
947
+ op: "add perm by index";
948
+ entity: {
949
+ entities: {
950
+ name_or_address?: string | undefined;
951
+ local_mark_first?: boolean | undefined;
952
+ }[];
953
+ check_all_founded?: boolean | undefined;
954
+ };
955
+ index: number;
956
+ }>, z.ZodObject<{
957
+ op: z.ZodLiteral<"set perm by index">;
958
+ index: z.ZodEffects<z.ZodNumber, number, number>;
959
+ entity: z.ZodObject<{
960
+ entities: z.ZodArray<z.ZodObject<{
961
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
962
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
963
+ }, "strict", z.ZodTypeAny, {
964
+ name_or_address?: string | undefined;
965
+ local_mark_first?: boolean | undefined;
966
+ }, {
967
+ name_or_address?: string | undefined;
968
+ local_mark_first?: boolean | undefined;
969
+ }>, "many">;
970
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
971
+ }, "strict", z.ZodTypeAny, {
972
+ entities: {
973
+ name_or_address?: string | undefined;
974
+ local_mark_first?: boolean | undefined;
975
+ }[];
976
+ check_all_founded?: boolean | undefined;
977
+ }, {
978
+ entities: {
979
+ name_or_address?: string | undefined;
980
+ local_mark_first?: boolean | undefined;
981
+ }[];
982
+ check_all_founded?: boolean | undefined;
983
+ }>;
984
+ }, "strict", z.ZodTypeAny, {
985
+ op: "set perm by index";
986
+ entity: {
987
+ entities: {
988
+ name_or_address?: string | undefined;
989
+ local_mark_first?: boolean | undefined;
990
+ }[];
991
+ check_all_founded?: boolean | undefined;
992
+ };
993
+ index: number;
994
+ }, {
995
+ op: "set perm by index";
996
+ entity: {
997
+ entities: {
998
+ name_or_address?: string | undefined;
999
+ local_mark_first?: boolean | undefined;
1000
+ }[];
1001
+ check_all_founded?: boolean | undefined;
1002
+ };
1003
+ index: number;
1004
+ }>, z.ZodObject<{
1005
+ op: z.ZodLiteral<"remove perm by index">;
1006
+ index: z.ZodEffects<z.ZodNumber, number, number>;
1007
+ entity: z.ZodObject<{
1008
+ entities: z.ZodArray<z.ZodObject<{
1009
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1010
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1011
+ }, "strict", z.ZodTypeAny, {
1012
+ name_or_address?: string | undefined;
1013
+ local_mark_first?: boolean | undefined;
1014
+ }, {
1015
+ name_or_address?: string | undefined;
1016
+ local_mark_first?: boolean | undefined;
1017
+ }>, "many">;
1018
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
1019
+ }, "strict", z.ZodTypeAny, {
1020
+ entities: {
1021
+ name_or_address?: string | undefined;
1022
+ local_mark_first?: boolean | undefined;
1023
+ }[];
1024
+ check_all_founded?: boolean | undefined;
1025
+ }, {
1026
+ entities: {
1027
+ name_or_address?: string | undefined;
1028
+ local_mark_first?: boolean | undefined;
1029
+ }[];
1030
+ check_all_founded?: boolean | undefined;
1031
+ }>;
1032
+ }, "strict", z.ZodTypeAny, {
1033
+ op: "remove perm by index";
1034
+ entity: {
1035
+ entities: {
1036
+ name_or_address?: string | undefined;
1037
+ local_mark_first?: boolean | undefined;
1038
+ }[];
1039
+ check_all_founded?: boolean | undefined;
1040
+ };
1041
+ index: number;
1042
+ }, {
1043
+ op: "remove perm by index";
1044
+ entity: {
1045
+ entities: {
1046
+ name_or_address?: string | undefined;
1047
+ local_mark_first?: boolean | undefined;
1048
+ }[];
1049
+ check_all_founded?: boolean | undefined;
1050
+ };
1051
+ index: number;
1052
+ }>, z.ZodObject<{
1053
+ op: z.ZodLiteral<"add perm by entity">;
1054
+ entity: z.ZodObject<{
1055
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1056
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1057
+ }, "strict", z.ZodTypeAny, {
1058
+ name_or_address?: string | undefined;
1059
+ local_mark_first?: boolean | undefined;
1060
+ }, {
1061
+ name_or_address?: string | undefined;
1062
+ local_mark_first?: boolean | undefined;
1063
+ }>;
1064
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
1065
+ }, "strict", z.ZodTypeAny, {
1066
+ op: "add perm by entity";
1067
+ entity: {
1068
+ name_or_address?: string | undefined;
1069
+ local_mark_first?: boolean | undefined;
1070
+ };
1071
+ index: number[];
1072
+ }, {
1073
+ op: "add perm by entity";
1074
+ entity: {
1075
+ name_or_address?: string | undefined;
1076
+ local_mark_first?: boolean | undefined;
1077
+ };
1078
+ index: number[];
1079
+ }>, z.ZodObject<{
1080
+ op: z.ZodLiteral<"set perm by entity">;
1081
+ entity: z.ZodObject<{
1082
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1083
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1084
+ }, "strict", z.ZodTypeAny, {
1085
+ name_or_address?: string | undefined;
1086
+ local_mark_first?: boolean | undefined;
1087
+ }, {
1088
+ name_or_address?: string | undefined;
1089
+ local_mark_first?: boolean | undefined;
1090
+ }>;
1091
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
1092
+ }, "strict", z.ZodTypeAny, {
1093
+ op: "set perm by entity";
1094
+ entity: {
1095
+ name_or_address?: string | undefined;
1096
+ local_mark_first?: boolean | undefined;
1097
+ };
1098
+ index: number[];
1099
+ }, {
1100
+ op: "set perm by entity";
1101
+ entity: {
1102
+ name_or_address?: string | undefined;
1103
+ local_mark_first?: boolean | undefined;
1104
+ };
1105
+ index: number[];
1106
+ }>, z.ZodObject<{
1107
+ op: z.ZodLiteral<"remove perm by entity">;
1108
+ entity: z.ZodObject<{
1109
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1110
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1111
+ }, "strict", z.ZodTypeAny, {
1112
+ name_or_address?: string | undefined;
1113
+ local_mark_first?: boolean | undefined;
1114
+ }, {
1115
+ name_or_address?: string | undefined;
1116
+ local_mark_first?: boolean | undefined;
1117
+ }>;
1118
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
1119
+ }, "strict", z.ZodTypeAny, {
1120
+ op: "remove perm by entity";
1121
+ entity: {
1122
+ name_or_address?: string | undefined;
1123
+ local_mark_first?: boolean | undefined;
1124
+ };
1125
+ index: number[];
1126
+ }, {
1127
+ op: "remove perm by entity";
1128
+ entity: {
1129
+ name_or_address?: string | undefined;
1130
+ local_mark_first?: boolean | undefined;
1131
+ };
1132
+ index: number[];
1133
+ }>]>>;
1134
+ entity: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
1135
+ op: z.ZodLiteral<"swap">;
1136
+ entity1: z.ZodObject<{
1137
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1138
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1139
+ }, "strict", z.ZodTypeAny, {
1140
+ name_or_address?: string | undefined;
1141
+ local_mark_first?: boolean | undefined;
1142
+ }, {
1143
+ name_or_address?: string | undefined;
1144
+ local_mark_first?: boolean | undefined;
1145
+ }>;
1146
+ entity2: z.ZodObject<{
1147
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1148
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1149
+ }, "strict", z.ZodTypeAny, {
1150
+ name_or_address?: string | undefined;
1151
+ local_mark_first?: boolean | undefined;
1152
+ }, {
1153
+ name_or_address?: string | undefined;
1154
+ local_mark_first?: boolean | undefined;
1155
+ }>;
1156
+ }, "strict", z.ZodTypeAny, {
1157
+ op: "swap";
1158
+ entity1: {
1159
+ name_or_address?: string | undefined;
1160
+ local_mark_first?: boolean | undefined;
1161
+ };
1162
+ entity2: {
1163
+ name_or_address?: string | undefined;
1164
+ local_mark_first?: boolean | undefined;
1165
+ };
1166
+ }, {
1167
+ op: "swap";
1168
+ entity1: {
1169
+ name_or_address?: string | undefined;
1170
+ local_mark_first?: boolean | undefined;
1171
+ };
1172
+ entity2: {
1173
+ name_or_address?: string | undefined;
1174
+ local_mark_first?: boolean | undefined;
1175
+ };
1176
+ }>, z.ZodObject<{
1177
+ op: z.ZodLiteral<"replace">;
1178
+ entity1: z.ZodObject<{
1179
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1180
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1181
+ }, "strict", z.ZodTypeAny, {
1182
+ name_or_address?: string | undefined;
1183
+ local_mark_first?: boolean | undefined;
1184
+ }, {
1185
+ name_or_address?: string | undefined;
1186
+ local_mark_first?: boolean | undefined;
1187
+ }>;
1188
+ entity2: z.ZodObject<{
1189
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1190
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1191
+ }, "strict", z.ZodTypeAny, {
1192
+ name_or_address?: string | undefined;
1193
+ local_mark_first?: boolean | undefined;
1194
+ }, {
1195
+ name_or_address?: string | undefined;
1196
+ local_mark_first?: boolean | undefined;
1197
+ }>;
1198
+ }, "strict", z.ZodTypeAny, {
1199
+ op: "replace";
1200
+ entity1: {
1201
+ name_or_address?: string | undefined;
1202
+ local_mark_first?: boolean | undefined;
1203
+ };
1204
+ entity2: {
1205
+ name_or_address?: string | undefined;
1206
+ local_mark_first?: boolean | undefined;
1207
+ };
1208
+ }, {
1209
+ op: "replace";
1210
+ entity1: {
1211
+ name_or_address?: string | undefined;
1212
+ local_mark_first?: boolean | undefined;
1213
+ };
1214
+ entity2: {
1215
+ name_or_address?: string | undefined;
1216
+ local_mark_first?: boolean | undefined;
1217
+ };
1218
+ }>, z.ZodObject<{
1219
+ op: z.ZodLiteral<"copy">;
1220
+ entity1: z.ZodObject<{
1221
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1222
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1223
+ }, "strict", z.ZodTypeAny, {
1224
+ name_or_address?: string | undefined;
1225
+ local_mark_first?: boolean | undefined;
1226
+ }, {
1227
+ name_or_address?: string | undefined;
1228
+ local_mark_first?: boolean | undefined;
1229
+ }>;
1230
+ entity2: z.ZodObject<{
1231
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1232
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1233
+ }, "strict", z.ZodTypeAny, {
1234
+ name_or_address?: string | undefined;
1235
+ local_mark_first?: boolean | undefined;
1236
+ }, {
1237
+ name_or_address?: string | undefined;
1238
+ local_mark_first?: boolean | undefined;
1239
+ }>;
1240
+ }, "strict", z.ZodTypeAny, {
1241
+ op: "copy";
1242
+ entity1: {
1243
+ name_or_address?: string | undefined;
1244
+ local_mark_first?: boolean | undefined;
1245
+ };
1246
+ entity2: {
1247
+ name_or_address?: string | undefined;
1248
+ local_mark_first?: boolean | undefined;
1249
+ };
1250
+ }, {
1251
+ op: "copy";
1252
+ entity1: {
1253
+ name_or_address?: string | undefined;
1254
+ local_mark_first?: boolean | undefined;
1255
+ };
1256
+ entity2: {
1257
+ name_or_address?: string | undefined;
1258
+ local_mark_first?: boolean | undefined;
1259
+ };
1260
+ }>, z.ZodObject<{
1261
+ op: z.ZodLiteral<"del">;
1262
+ entity: z.ZodObject<{
1263
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1264
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1265
+ }, "strict", z.ZodTypeAny, {
1266
+ name_or_address?: string | undefined;
1267
+ local_mark_first?: boolean | undefined;
1268
+ }, {
1269
+ name_or_address?: string | undefined;
1270
+ local_mark_first?: boolean | undefined;
1271
+ }>;
1272
+ }, "strict", z.ZodTypeAny, {
1273
+ op: "del";
1274
+ entity: {
1275
+ name_or_address?: string | undefined;
1276
+ local_mark_first?: boolean | undefined;
1277
+ };
1278
+ }, {
1279
+ op: "del";
1280
+ entity: {
1281
+ name_or_address?: string | undefined;
1282
+ local_mark_first?: boolean | undefined;
1283
+ };
1284
+ }>]>>;
1285
+ admin: z.ZodOptional<z.ZodObject<{
1286
+ op: z.ZodEnum<["add", "remove", "set"]>;
1287
+ addresses: z.ZodObject<{
1288
+ entities: z.ZodArray<z.ZodObject<{
1289
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1290
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1291
+ }, "strict", z.ZodTypeAny, {
1292
+ name_or_address?: string | undefined;
1293
+ local_mark_first?: boolean | undefined;
1294
+ }, {
1295
+ name_or_address?: string | undefined;
1296
+ local_mark_first?: boolean | undefined;
1297
+ }>, "many">;
1298
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
1299
+ }, "strict", z.ZodTypeAny, {
1300
+ entities: {
1301
+ name_or_address?: string | undefined;
1302
+ local_mark_first?: boolean | undefined;
1303
+ }[];
1304
+ check_all_founded?: boolean | undefined;
1305
+ }, {
1306
+ entities: {
1307
+ name_or_address?: string | undefined;
1308
+ local_mark_first?: boolean | undefined;
1309
+ }[];
1310
+ check_all_founded?: boolean | undefined;
1311
+ }>;
1312
+ }, "strict", z.ZodTypeAny, {
1313
+ op: "set" | "add" | "remove";
1314
+ addresses: {
1315
+ entities: {
1316
+ name_or_address?: string | undefined;
1317
+ local_mark_first?: boolean | undefined;
1318
+ }[];
1319
+ check_all_founded?: boolean | undefined;
1320
+ };
1321
+ }, {
1322
+ op: "set" | "add" | "remove";
1323
+ addresses: {
1324
+ entities: {
1325
+ name_or_address?: string | undefined;
1326
+ local_mark_first?: boolean | undefined;
1327
+ }[];
1328
+ check_all_founded?: boolean | undefined;
1329
+ };
1330
+ }>>;
1331
+ apply: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
1332
+ builder: z.ZodOptional<z.ZodObject<{
1333
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1334
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1335
+ }, "strict", z.ZodTypeAny, {
1336
+ name_or_address?: string | undefined;
1337
+ local_mark_first?: boolean | undefined;
1338
+ }, {
1339
+ name_or_address?: string | undefined;
1340
+ local_mark_first?: boolean | undefined;
1341
+ }>>;
1342
+ owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
1343
+ id: z.ZodString;
1344
+ type: z.ZodString;
1345
+ content_raw: z.ZodOptional<z.ZodAny>;
1346
+ }, "strict", z.ZodTypeAny, {
1347
+ type: string;
1348
+ id: string;
1349
+ content_raw?: any;
1350
+ }, {
1351
+ type: string;
1352
+ id: string;
1353
+ content_raw?: any;
1354
+ }>, "many">, z.ZodObject<{
1355
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1356
+ token_type: z.ZodEffects<z.ZodString, string, string>;
1357
+ received: z.ZodArray<z.ZodObject<{
1358
+ id: z.ZodString;
1359
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1360
+ payment: z.ZodString;
1361
+ }, "strict", z.ZodTypeAny, {
1362
+ id: string;
1363
+ balance: string | number;
1364
+ payment: string;
1365
+ }, {
1366
+ id: string;
1367
+ balance: string | number;
1368
+ payment: string;
1369
+ }>, "many">;
1370
+ }, "strict", z.ZodTypeAny, {
1371
+ received: {
1372
+ id: string;
1373
+ balance: string | number;
1374
+ payment: string;
1375
+ }[];
1376
+ balance: string | number;
1377
+ token_type: string;
1378
+ }, {
1379
+ received: {
1380
+ id: string;
1381
+ balance: string | number;
1382
+ payment: string;
1383
+ }[];
1384
+ balance: string | number;
1385
+ token_type: string;
1386
+ }>, z.ZodLiteral<"recently">]>>;
1387
+ um: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
1388
+ }, "strict", z.ZodTypeAny, {
1389
+ object?: string | {
1390
+ name?: string | undefined;
1391
+ replaceExistName?: boolean | undefined;
1392
+ tags?: string[] | undefined;
1393
+ onChain?: boolean | undefined;
1394
+ } | undefined;
1395
+ description?: string | undefined;
1396
+ owner_receive?: {
1397
+ received: {
1398
+ id: string;
1399
+ balance: string | number;
1400
+ payment: string;
1401
+ }[];
1402
+ balance: string | number;
1403
+ token_type: string;
1404
+ } | "recently" | {
1405
+ type: string;
1406
+ id: string;
1407
+ content_raw?: any;
1408
+ }[] | undefined;
1409
+ entity?: {
1410
+ op: "swap";
1411
+ entity1: {
1412
+ name_or_address?: string | undefined;
1413
+ local_mark_first?: boolean | undefined;
1414
+ };
1415
+ entity2: {
1416
+ name_or_address?: string | undefined;
1417
+ local_mark_first?: boolean | undefined;
1418
+ };
1419
+ } | {
1420
+ op: "replace";
1421
+ entity1: {
1422
+ name_or_address?: string | undefined;
1423
+ local_mark_first?: boolean | undefined;
1424
+ };
1425
+ entity2: {
1426
+ name_or_address?: string | undefined;
1427
+ local_mark_first?: boolean | undefined;
1428
+ };
1429
+ } | {
1430
+ op: "copy";
1431
+ entity1: {
1432
+ name_or_address?: string | undefined;
1433
+ local_mark_first?: boolean | undefined;
1434
+ };
1435
+ entity2: {
1436
+ name_or_address?: string | undefined;
1437
+ local_mark_first?: boolean | undefined;
1438
+ };
1439
+ } | {
1440
+ op: "del";
1441
+ entity: {
1442
+ name_or_address?: string | undefined;
1443
+ local_mark_first?: boolean | undefined;
1444
+ };
1445
+ } | undefined;
1446
+ um?: string | null | undefined;
1447
+ builder?: {
1448
+ name_or_address?: string | undefined;
1449
+ local_mark_first?: boolean | undefined;
1450
+ } | undefined;
1451
+ admin?: {
1452
+ op: "set" | "add" | "remove";
1453
+ addresses: {
1454
+ entities: {
1455
+ name_or_address?: string | undefined;
1456
+ local_mark_first?: boolean | undefined;
1457
+ }[];
1458
+ check_all_founded?: boolean | undefined;
1459
+ };
1460
+ } | undefined;
1461
+ remark?: {
1462
+ op: "set";
1463
+ index: number;
1464
+ remark: string;
1465
+ } | {
1466
+ op: "remove";
1467
+ index: number;
1468
+ } | {
1469
+ op: "clear";
1470
+ } | undefined;
1471
+ table?: {
1472
+ op: "add perm by index";
1473
+ entity: {
1474
+ entities: {
1475
+ name_or_address?: string | undefined;
1476
+ local_mark_first?: boolean | undefined;
1477
+ }[];
1478
+ check_all_founded?: boolean | undefined;
1479
+ };
1480
+ index: number;
1481
+ } | {
1482
+ op: "set perm by index";
1483
+ entity: {
1484
+ entities: {
1485
+ name_or_address?: string | undefined;
1486
+ local_mark_first?: boolean | undefined;
1487
+ }[];
1488
+ check_all_founded?: boolean | undefined;
1489
+ };
1490
+ index: number;
1491
+ } | {
1492
+ op: "remove perm by index";
1493
+ entity: {
1494
+ entities: {
1495
+ name_or_address?: string | undefined;
1496
+ local_mark_first?: boolean | undefined;
1497
+ }[];
1498
+ check_all_founded?: boolean | undefined;
1499
+ };
1500
+ index: number;
1501
+ } | {
1502
+ op: "add perm by entity";
1503
+ entity: {
1504
+ name_or_address?: string | undefined;
1505
+ local_mark_first?: boolean | undefined;
1506
+ };
1507
+ index: number[];
1508
+ } | {
1509
+ op: "set perm by entity";
1510
+ entity: {
1511
+ name_or_address?: string | undefined;
1512
+ local_mark_first?: boolean | undefined;
1513
+ };
1514
+ index: number[];
1515
+ } | {
1516
+ op: "remove perm by entity";
1517
+ entity: {
1518
+ name_or_address?: string | undefined;
1519
+ local_mark_first?: boolean | undefined;
1520
+ };
1521
+ index: number[];
1522
+ } | undefined;
1523
+ apply?: string[] | undefined;
1524
+ }, {
1525
+ object?: string | {
1526
+ name?: string | undefined;
1527
+ replaceExistName?: boolean | undefined;
1528
+ tags?: string[] | undefined;
1529
+ onChain?: boolean | undefined;
1530
+ } | undefined;
1531
+ description?: string | undefined;
1532
+ owner_receive?: {
1533
+ received: {
1534
+ id: string;
1535
+ balance: string | number;
1536
+ payment: string;
1537
+ }[];
1538
+ balance: string | number;
1539
+ token_type: string;
1540
+ } | "recently" | {
1541
+ type: string;
1542
+ id: string;
1543
+ content_raw?: any;
1544
+ }[] | undefined;
1545
+ entity?: {
1546
+ op: "swap";
1547
+ entity1: {
1548
+ name_or_address?: string | undefined;
1549
+ local_mark_first?: boolean | undefined;
1550
+ };
1551
+ entity2: {
1552
+ name_or_address?: string | undefined;
1553
+ local_mark_first?: boolean | undefined;
1554
+ };
1555
+ } | {
1556
+ op: "replace";
1557
+ entity1: {
1558
+ name_or_address?: string | undefined;
1559
+ local_mark_first?: boolean | undefined;
1560
+ };
1561
+ entity2: {
1562
+ name_or_address?: string | undefined;
1563
+ local_mark_first?: boolean | undefined;
1564
+ };
1565
+ } | {
1566
+ op: "copy";
1567
+ entity1: {
1568
+ name_or_address?: string | undefined;
1569
+ local_mark_first?: boolean | undefined;
1570
+ };
1571
+ entity2: {
1572
+ name_or_address?: string | undefined;
1573
+ local_mark_first?: boolean | undefined;
1574
+ };
1575
+ } | {
1576
+ op: "del";
1577
+ entity: {
1578
+ name_or_address?: string | undefined;
1579
+ local_mark_first?: boolean | undefined;
1580
+ };
1581
+ } | undefined;
1582
+ um?: string | null | undefined;
1583
+ builder?: {
1584
+ name_or_address?: string | undefined;
1585
+ local_mark_first?: boolean | undefined;
1586
+ } | undefined;
1587
+ admin?: {
1588
+ op: "set" | "add" | "remove";
1589
+ addresses: {
1590
+ entities: {
1591
+ name_or_address?: string | undefined;
1592
+ local_mark_first?: boolean | undefined;
1593
+ }[];
1594
+ check_all_founded?: boolean | undefined;
1595
+ };
1596
+ } | undefined;
1597
+ remark?: {
1598
+ op: "set";
1599
+ index: number;
1600
+ remark: string;
1601
+ } | {
1602
+ op: "remove";
1603
+ index: number;
1604
+ } | {
1605
+ op: "clear";
1606
+ } | undefined;
1607
+ table?: {
1608
+ op: "add perm by index";
1609
+ entity: {
1610
+ entities: {
1611
+ name_or_address?: string | undefined;
1612
+ local_mark_first?: boolean | undefined;
1613
+ }[];
1614
+ check_all_founded?: boolean | undefined;
1615
+ };
1616
+ index: number;
1617
+ } | {
1618
+ op: "set perm by index";
1619
+ entity: {
1620
+ entities: {
1621
+ name_or_address?: string | undefined;
1622
+ local_mark_first?: boolean | undefined;
1623
+ }[];
1624
+ check_all_founded?: boolean | undefined;
1625
+ };
1626
+ index: number;
1627
+ } | {
1628
+ op: "remove perm by index";
1629
+ entity: {
1630
+ entities: {
1631
+ name_or_address?: string | undefined;
1632
+ local_mark_first?: boolean | undefined;
1633
+ }[];
1634
+ check_all_founded?: boolean | undefined;
1635
+ };
1636
+ index: number;
1637
+ } | {
1638
+ op: "add perm by entity";
1639
+ entity: {
1640
+ name_or_address?: string | undefined;
1641
+ local_mark_first?: boolean | undefined;
1642
+ };
1643
+ index: number[];
1644
+ } | {
1645
+ op: "set perm by entity";
1646
+ entity: {
1647
+ name_or_address?: string | undefined;
1648
+ local_mark_first?: boolean | undefined;
1649
+ };
1650
+ index: number[];
1651
+ } | {
1652
+ op: "remove perm by entity";
1653
+ entity: {
1654
+ name_or_address?: string | undefined;
1655
+ local_mark_first?: boolean | undefined;
1656
+ };
1657
+ index: number[];
1658
+ } | undefined;
1659
+ apply?: string[] | undefined;
1660
+ }>;
1661
+ export declare const CallPermission_InputSchema: z.ZodObject<{
1662
+ data: z.ZodObject<{
1663
+ object: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
1664
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1665
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1666
+ onChain: z.ZodOptional<z.ZodBoolean>;
1667
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
1668
+ }, "strict", z.ZodTypeAny, {
1669
+ name?: string | undefined;
1670
+ replaceExistName?: boolean | undefined;
1671
+ tags?: string[] | undefined;
1672
+ onChain?: boolean | undefined;
1673
+ }, {
1674
+ name?: string | undefined;
1675
+ replaceExistName?: boolean | undefined;
1676
+ tags?: string[] | undefined;
1677
+ onChain?: boolean | undefined;
1678
+ }>]>>;
1679
+ description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1680
+ remark: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
1681
+ op: z.ZodLiteral<"set">;
1682
+ index: z.ZodEffects<z.ZodNumber, number, number>;
1683
+ remark: z.ZodEffects<z.ZodString, string, string>;
1684
+ }, "strict", z.ZodTypeAny, {
1685
+ op: "set";
1686
+ index: number;
1687
+ remark: string;
1688
+ }, {
1689
+ op: "set";
1690
+ index: number;
1691
+ remark: string;
1692
+ }>, z.ZodObject<{
1693
+ op: z.ZodLiteral<"remove">;
1694
+ index: z.ZodEffects<z.ZodNumber, number, number>;
1695
+ }, "strict", z.ZodTypeAny, {
1696
+ op: "remove";
1697
+ index: number;
1698
+ }, {
1699
+ op: "remove";
1700
+ index: number;
1701
+ }>, z.ZodObject<{
1702
+ op: z.ZodLiteral<"clear">;
1703
+ }, "strict", z.ZodTypeAny, {
1704
+ op: "clear";
1705
+ }, {
1706
+ op: "clear";
1707
+ }>]>>;
1708
+ table: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
1709
+ op: z.ZodLiteral<"add perm by index">;
1710
+ index: z.ZodEffects<z.ZodNumber, number, number>;
1711
+ entity: z.ZodObject<{
1712
+ entities: z.ZodArray<z.ZodObject<{
1713
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1714
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1715
+ }, "strict", z.ZodTypeAny, {
1716
+ name_or_address?: string | undefined;
1717
+ local_mark_first?: boolean | undefined;
1718
+ }, {
1719
+ name_or_address?: string | undefined;
1720
+ local_mark_first?: boolean | undefined;
1721
+ }>, "many">;
1722
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
1723
+ }, "strict", z.ZodTypeAny, {
1724
+ entities: {
1725
+ name_or_address?: string | undefined;
1726
+ local_mark_first?: boolean | undefined;
1727
+ }[];
1728
+ check_all_founded?: boolean | undefined;
1729
+ }, {
1730
+ entities: {
1731
+ name_or_address?: string | undefined;
1732
+ local_mark_first?: boolean | undefined;
1733
+ }[];
1734
+ check_all_founded?: boolean | undefined;
1735
+ }>;
1736
+ }, "strict", z.ZodTypeAny, {
1737
+ op: "add perm by index";
1738
+ entity: {
1739
+ entities: {
1740
+ name_or_address?: string | undefined;
1741
+ local_mark_first?: boolean | undefined;
1742
+ }[];
1743
+ check_all_founded?: boolean | undefined;
1744
+ };
1745
+ index: number;
1746
+ }, {
1747
+ op: "add perm by index";
1748
+ entity: {
1749
+ entities: {
1750
+ name_or_address?: string | undefined;
1751
+ local_mark_first?: boolean | undefined;
1752
+ }[];
1753
+ check_all_founded?: boolean | undefined;
1754
+ };
1755
+ index: number;
1756
+ }>, z.ZodObject<{
1757
+ op: z.ZodLiteral<"set perm by index">;
1758
+ index: z.ZodEffects<z.ZodNumber, number, number>;
1759
+ entity: z.ZodObject<{
1760
+ entities: z.ZodArray<z.ZodObject<{
1761
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1762
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1763
+ }, "strict", z.ZodTypeAny, {
1764
+ name_or_address?: string | undefined;
1765
+ local_mark_first?: boolean | undefined;
1766
+ }, {
1767
+ name_or_address?: string | undefined;
1768
+ local_mark_first?: boolean | undefined;
1769
+ }>, "many">;
1770
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
1771
+ }, "strict", z.ZodTypeAny, {
1772
+ entities: {
1773
+ name_or_address?: string | undefined;
1774
+ local_mark_first?: boolean | undefined;
1775
+ }[];
1776
+ check_all_founded?: boolean | undefined;
1777
+ }, {
1778
+ entities: {
1779
+ name_or_address?: string | undefined;
1780
+ local_mark_first?: boolean | undefined;
1781
+ }[];
1782
+ check_all_founded?: boolean | undefined;
1783
+ }>;
1784
+ }, "strict", z.ZodTypeAny, {
1785
+ op: "set perm by index";
1786
+ entity: {
1787
+ entities: {
1788
+ name_or_address?: string | undefined;
1789
+ local_mark_first?: boolean | undefined;
1790
+ }[];
1791
+ check_all_founded?: boolean | undefined;
1792
+ };
1793
+ index: number;
1794
+ }, {
1795
+ op: "set perm by index";
1796
+ entity: {
1797
+ entities: {
1798
+ name_or_address?: string | undefined;
1799
+ local_mark_first?: boolean | undefined;
1800
+ }[];
1801
+ check_all_founded?: boolean | undefined;
1802
+ };
1803
+ index: number;
1804
+ }>, z.ZodObject<{
1805
+ op: z.ZodLiteral<"remove perm by index">;
1806
+ index: z.ZodEffects<z.ZodNumber, number, number>;
1807
+ entity: z.ZodObject<{
1808
+ entities: z.ZodArray<z.ZodObject<{
1809
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1810
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1811
+ }, "strict", z.ZodTypeAny, {
1812
+ name_or_address?: string | undefined;
1813
+ local_mark_first?: boolean | undefined;
1814
+ }, {
1815
+ name_or_address?: string | undefined;
1816
+ local_mark_first?: boolean | undefined;
1817
+ }>, "many">;
1818
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
1819
+ }, "strict", z.ZodTypeAny, {
1820
+ entities: {
1821
+ name_or_address?: string | undefined;
1822
+ local_mark_first?: boolean | undefined;
1823
+ }[];
1824
+ check_all_founded?: boolean | undefined;
1825
+ }, {
1826
+ entities: {
1827
+ name_or_address?: string | undefined;
1828
+ local_mark_first?: boolean | undefined;
1829
+ }[];
1830
+ check_all_founded?: boolean | undefined;
1831
+ }>;
1832
+ }, "strict", z.ZodTypeAny, {
1833
+ op: "remove perm by index";
1834
+ entity: {
1835
+ entities: {
1836
+ name_or_address?: string | undefined;
1837
+ local_mark_first?: boolean | undefined;
1838
+ }[];
1839
+ check_all_founded?: boolean | undefined;
1840
+ };
1841
+ index: number;
1842
+ }, {
1843
+ op: "remove perm by index";
1844
+ entity: {
1845
+ entities: {
1846
+ name_or_address?: string | undefined;
1847
+ local_mark_first?: boolean | undefined;
1848
+ }[];
1849
+ check_all_founded?: boolean | undefined;
1850
+ };
1851
+ index: number;
1852
+ }>, z.ZodObject<{
1853
+ op: z.ZodLiteral<"add perm by entity">;
1854
+ entity: z.ZodObject<{
1855
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1856
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1857
+ }, "strict", z.ZodTypeAny, {
1858
+ name_or_address?: string | undefined;
1859
+ local_mark_first?: boolean | undefined;
1860
+ }, {
1861
+ name_or_address?: string | undefined;
1862
+ local_mark_first?: boolean | undefined;
1863
+ }>;
1864
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
1865
+ }, "strict", z.ZodTypeAny, {
1866
+ op: "add perm by entity";
1867
+ entity: {
1868
+ name_or_address?: string | undefined;
1869
+ local_mark_first?: boolean | undefined;
1870
+ };
1871
+ index: number[];
1872
+ }, {
1873
+ op: "add perm by entity";
1874
+ entity: {
1875
+ name_or_address?: string | undefined;
1876
+ local_mark_first?: boolean | undefined;
1877
+ };
1878
+ index: number[];
1879
+ }>, z.ZodObject<{
1880
+ op: z.ZodLiteral<"set perm by entity">;
1881
+ entity: z.ZodObject<{
1882
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1883
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1884
+ }, "strict", z.ZodTypeAny, {
1885
+ name_or_address?: string | undefined;
1886
+ local_mark_first?: boolean | undefined;
1887
+ }, {
1888
+ name_or_address?: string | undefined;
1889
+ local_mark_first?: boolean | undefined;
1890
+ }>;
1891
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
1892
+ }, "strict", z.ZodTypeAny, {
1893
+ op: "set perm by entity";
1894
+ entity: {
1895
+ name_or_address?: string | undefined;
1896
+ local_mark_first?: boolean | undefined;
1897
+ };
1898
+ index: number[];
1899
+ }, {
1900
+ op: "set perm by entity";
1901
+ entity: {
1902
+ name_or_address?: string | undefined;
1903
+ local_mark_first?: boolean | undefined;
1904
+ };
1905
+ index: number[];
1906
+ }>, z.ZodObject<{
1907
+ op: z.ZodLiteral<"remove perm by entity">;
1908
+ entity: z.ZodObject<{
1909
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1910
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1911
+ }, "strict", z.ZodTypeAny, {
1912
+ name_or_address?: string | undefined;
1913
+ local_mark_first?: boolean | undefined;
1914
+ }, {
1915
+ name_or_address?: string | undefined;
1916
+ local_mark_first?: boolean | undefined;
1917
+ }>;
1918
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
1919
+ }, "strict", z.ZodTypeAny, {
1920
+ op: "remove perm by entity";
1921
+ entity: {
1922
+ name_or_address?: string | undefined;
1923
+ local_mark_first?: boolean | undefined;
1924
+ };
1925
+ index: number[];
1926
+ }, {
1927
+ op: "remove perm by entity";
1928
+ entity: {
1929
+ name_or_address?: string | undefined;
1930
+ local_mark_first?: boolean | undefined;
1931
+ };
1932
+ index: number[];
1933
+ }>]>>;
1934
+ entity: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
1935
+ op: z.ZodLiteral<"swap">;
1936
+ entity1: z.ZodObject<{
1937
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1938
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1939
+ }, "strict", z.ZodTypeAny, {
1940
+ name_or_address?: string | undefined;
1941
+ local_mark_first?: boolean | undefined;
1942
+ }, {
1943
+ name_or_address?: string | undefined;
1944
+ local_mark_first?: boolean | undefined;
1945
+ }>;
1946
+ entity2: z.ZodObject<{
1947
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1948
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1949
+ }, "strict", z.ZodTypeAny, {
1950
+ name_or_address?: string | undefined;
1951
+ local_mark_first?: boolean | undefined;
1952
+ }, {
1953
+ name_or_address?: string | undefined;
1954
+ local_mark_first?: boolean | undefined;
1955
+ }>;
1956
+ }, "strict", z.ZodTypeAny, {
1957
+ op: "swap";
1958
+ entity1: {
1959
+ name_or_address?: string | undefined;
1960
+ local_mark_first?: boolean | undefined;
1961
+ };
1962
+ entity2: {
1963
+ name_or_address?: string | undefined;
1964
+ local_mark_first?: boolean | undefined;
1965
+ };
1966
+ }, {
1967
+ op: "swap";
1968
+ entity1: {
1969
+ name_or_address?: string | undefined;
1970
+ local_mark_first?: boolean | undefined;
1971
+ };
1972
+ entity2: {
1973
+ name_or_address?: string | undefined;
1974
+ local_mark_first?: boolean | undefined;
1975
+ };
1976
+ }>, z.ZodObject<{
1977
+ op: z.ZodLiteral<"replace">;
1978
+ entity1: z.ZodObject<{
1979
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1980
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1981
+ }, "strict", z.ZodTypeAny, {
1982
+ name_or_address?: string | undefined;
1983
+ local_mark_first?: boolean | undefined;
1984
+ }, {
1985
+ name_or_address?: string | undefined;
1986
+ local_mark_first?: boolean | undefined;
1987
+ }>;
1988
+ entity2: z.ZodObject<{
1989
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1990
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1991
+ }, "strict", z.ZodTypeAny, {
1992
+ name_or_address?: string | undefined;
1993
+ local_mark_first?: boolean | undefined;
1994
+ }, {
1995
+ name_or_address?: string | undefined;
1996
+ local_mark_first?: boolean | undefined;
1997
+ }>;
1998
+ }, "strict", z.ZodTypeAny, {
1999
+ op: "replace";
2000
+ entity1: {
2001
+ name_or_address?: string | undefined;
2002
+ local_mark_first?: boolean | undefined;
2003
+ };
2004
+ entity2: {
2005
+ name_or_address?: string | undefined;
2006
+ local_mark_first?: boolean | undefined;
2007
+ };
2008
+ }, {
2009
+ op: "replace";
2010
+ entity1: {
2011
+ name_or_address?: string | undefined;
2012
+ local_mark_first?: boolean | undefined;
2013
+ };
2014
+ entity2: {
2015
+ name_or_address?: string | undefined;
2016
+ local_mark_first?: boolean | undefined;
2017
+ };
2018
+ }>, z.ZodObject<{
2019
+ op: z.ZodLiteral<"copy">;
2020
+ entity1: z.ZodObject<{
2021
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2022
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
2023
+ }, "strict", z.ZodTypeAny, {
2024
+ name_or_address?: string | undefined;
2025
+ local_mark_first?: boolean | undefined;
2026
+ }, {
2027
+ name_or_address?: string | undefined;
2028
+ local_mark_first?: boolean | undefined;
2029
+ }>;
2030
+ entity2: z.ZodObject<{
2031
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2032
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
2033
+ }, "strict", z.ZodTypeAny, {
2034
+ name_or_address?: string | undefined;
2035
+ local_mark_first?: boolean | undefined;
2036
+ }, {
2037
+ name_or_address?: string | undefined;
2038
+ local_mark_first?: boolean | undefined;
2039
+ }>;
2040
+ }, "strict", z.ZodTypeAny, {
2041
+ op: "copy";
2042
+ entity1: {
2043
+ name_or_address?: string | undefined;
2044
+ local_mark_first?: boolean | undefined;
2045
+ };
2046
+ entity2: {
2047
+ name_or_address?: string | undefined;
2048
+ local_mark_first?: boolean | undefined;
2049
+ };
2050
+ }, {
2051
+ op: "copy";
2052
+ entity1: {
2053
+ name_or_address?: string | undefined;
2054
+ local_mark_first?: boolean | undefined;
2055
+ };
2056
+ entity2: {
2057
+ name_or_address?: string | undefined;
2058
+ local_mark_first?: boolean | undefined;
2059
+ };
2060
+ }>, z.ZodObject<{
2061
+ op: z.ZodLiteral<"del">;
2062
+ entity: z.ZodObject<{
2063
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2064
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
2065
+ }, "strict", z.ZodTypeAny, {
2066
+ name_or_address?: string | undefined;
2067
+ local_mark_first?: boolean | undefined;
2068
+ }, {
2069
+ name_or_address?: string | undefined;
2070
+ local_mark_first?: boolean | undefined;
2071
+ }>;
2072
+ }, "strict", z.ZodTypeAny, {
2073
+ op: "del";
2074
+ entity: {
2075
+ name_or_address?: string | undefined;
2076
+ local_mark_first?: boolean | undefined;
2077
+ };
2078
+ }, {
2079
+ op: "del";
2080
+ entity: {
2081
+ name_or_address?: string | undefined;
2082
+ local_mark_first?: boolean | undefined;
2083
+ };
2084
+ }>]>>;
2085
+ admin: z.ZodOptional<z.ZodObject<{
2086
+ op: z.ZodEnum<["add", "remove", "set"]>;
2087
+ addresses: z.ZodObject<{
2088
+ entities: z.ZodArray<z.ZodObject<{
2089
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2090
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
2091
+ }, "strict", z.ZodTypeAny, {
2092
+ name_or_address?: string | undefined;
2093
+ local_mark_first?: boolean | undefined;
2094
+ }, {
2095
+ name_or_address?: string | undefined;
2096
+ local_mark_first?: boolean | undefined;
2097
+ }>, "many">;
2098
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
2099
+ }, "strict", z.ZodTypeAny, {
2100
+ entities: {
2101
+ name_or_address?: string | undefined;
2102
+ local_mark_first?: boolean | undefined;
2103
+ }[];
2104
+ check_all_founded?: boolean | undefined;
2105
+ }, {
2106
+ entities: {
2107
+ name_or_address?: string | undefined;
2108
+ local_mark_first?: boolean | undefined;
2109
+ }[];
2110
+ check_all_founded?: boolean | undefined;
2111
+ }>;
2112
+ }, "strict", z.ZodTypeAny, {
2113
+ op: "set" | "add" | "remove";
2114
+ addresses: {
2115
+ entities: {
2116
+ name_or_address?: string | undefined;
2117
+ local_mark_first?: boolean | undefined;
2118
+ }[];
2119
+ check_all_founded?: boolean | undefined;
2120
+ };
2121
+ }, {
2122
+ op: "set" | "add" | "remove";
2123
+ addresses: {
2124
+ entities: {
2125
+ name_or_address?: string | undefined;
2126
+ local_mark_first?: boolean | undefined;
2127
+ }[];
2128
+ check_all_founded?: boolean | undefined;
2129
+ };
2130
+ }>>;
2131
+ apply: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
2132
+ builder: z.ZodOptional<z.ZodObject<{
2133
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2134
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
2135
+ }, "strict", z.ZodTypeAny, {
2136
+ name_or_address?: string | undefined;
2137
+ local_mark_first?: boolean | undefined;
2138
+ }, {
2139
+ name_or_address?: string | undefined;
2140
+ local_mark_first?: boolean | undefined;
2141
+ }>>;
2142
+ owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
2143
+ id: z.ZodString;
2144
+ type: z.ZodString;
2145
+ content_raw: z.ZodOptional<z.ZodAny>;
2146
+ }, "strict", z.ZodTypeAny, {
2147
+ type: string;
2148
+ id: string;
2149
+ content_raw?: any;
2150
+ }, {
2151
+ type: string;
2152
+ id: string;
2153
+ content_raw?: any;
2154
+ }>, "many">, z.ZodObject<{
2155
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2156
+ token_type: z.ZodEffects<z.ZodString, string, string>;
2157
+ received: z.ZodArray<z.ZodObject<{
2158
+ id: z.ZodString;
2159
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2160
+ payment: z.ZodString;
2161
+ }, "strict", z.ZodTypeAny, {
2162
+ id: string;
2163
+ balance: string | number;
2164
+ payment: string;
2165
+ }, {
2166
+ id: string;
2167
+ balance: string | number;
2168
+ payment: string;
2169
+ }>, "many">;
2170
+ }, "strict", z.ZodTypeAny, {
2171
+ received: {
2172
+ id: string;
2173
+ balance: string | number;
2174
+ payment: string;
2175
+ }[];
2176
+ balance: string | number;
2177
+ token_type: string;
2178
+ }, {
2179
+ received: {
2180
+ id: string;
2181
+ balance: string | number;
2182
+ payment: string;
2183
+ }[];
2184
+ balance: string | number;
2185
+ token_type: string;
2186
+ }>, z.ZodLiteral<"recently">]>>;
2187
+ um: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
2188
+ }, "strict", z.ZodTypeAny, {
2189
+ object?: string | {
2190
+ name?: string | undefined;
2191
+ replaceExistName?: boolean | undefined;
2192
+ tags?: string[] | undefined;
2193
+ onChain?: boolean | undefined;
2194
+ } | undefined;
2195
+ description?: string | undefined;
2196
+ owner_receive?: {
2197
+ received: {
2198
+ id: string;
2199
+ balance: string | number;
2200
+ payment: string;
2201
+ }[];
2202
+ balance: string | number;
2203
+ token_type: string;
2204
+ } | "recently" | {
2205
+ type: string;
2206
+ id: string;
2207
+ content_raw?: any;
2208
+ }[] | undefined;
2209
+ entity?: {
2210
+ op: "swap";
2211
+ entity1: {
2212
+ name_or_address?: string | undefined;
2213
+ local_mark_first?: boolean | undefined;
2214
+ };
2215
+ entity2: {
2216
+ name_or_address?: string | undefined;
2217
+ local_mark_first?: boolean | undefined;
2218
+ };
2219
+ } | {
2220
+ op: "replace";
2221
+ entity1: {
2222
+ name_or_address?: string | undefined;
2223
+ local_mark_first?: boolean | undefined;
2224
+ };
2225
+ entity2: {
2226
+ name_or_address?: string | undefined;
2227
+ local_mark_first?: boolean | undefined;
2228
+ };
2229
+ } | {
2230
+ op: "copy";
2231
+ entity1: {
2232
+ name_or_address?: string | undefined;
2233
+ local_mark_first?: boolean | undefined;
2234
+ };
2235
+ entity2: {
2236
+ name_or_address?: string | undefined;
2237
+ local_mark_first?: boolean | undefined;
2238
+ };
2239
+ } | {
2240
+ op: "del";
2241
+ entity: {
2242
+ name_or_address?: string | undefined;
2243
+ local_mark_first?: boolean | undefined;
2244
+ };
2245
+ } | undefined;
2246
+ um?: string | null | undefined;
2247
+ builder?: {
2248
+ name_or_address?: string | undefined;
2249
+ local_mark_first?: boolean | undefined;
2250
+ } | undefined;
2251
+ admin?: {
2252
+ op: "set" | "add" | "remove";
2253
+ addresses: {
2254
+ entities: {
2255
+ name_or_address?: string | undefined;
2256
+ local_mark_first?: boolean | undefined;
2257
+ }[];
2258
+ check_all_founded?: boolean | undefined;
2259
+ };
2260
+ } | undefined;
2261
+ remark?: {
2262
+ op: "set";
2263
+ index: number;
2264
+ remark: string;
2265
+ } | {
2266
+ op: "remove";
2267
+ index: number;
2268
+ } | {
2269
+ op: "clear";
2270
+ } | undefined;
2271
+ table?: {
2272
+ op: "add perm by index";
2273
+ entity: {
2274
+ entities: {
2275
+ name_or_address?: string | undefined;
2276
+ local_mark_first?: boolean | undefined;
2277
+ }[];
2278
+ check_all_founded?: boolean | undefined;
2279
+ };
2280
+ index: number;
2281
+ } | {
2282
+ op: "set perm by index";
2283
+ entity: {
2284
+ entities: {
2285
+ name_or_address?: string | undefined;
2286
+ local_mark_first?: boolean | undefined;
2287
+ }[];
2288
+ check_all_founded?: boolean | undefined;
2289
+ };
2290
+ index: number;
2291
+ } | {
2292
+ op: "remove perm by index";
2293
+ entity: {
2294
+ entities: {
2295
+ name_or_address?: string | undefined;
2296
+ local_mark_first?: boolean | undefined;
2297
+ }[];
2298
+ check_all_founded?: boolean | undefined;
2299
+ };
2300
+ index: number;
2301
+ } | {
2302
+ op: "add perm by entity";
2303
+ entity: {
2304
+ name_or_address?: string | undefined;
2305
+ local_mark_first?: boolean | undefined;
2306
+ };
2307
+ index: number[];
2308
+ } | {
2309
+ op: "set perm by entity";
2310
+ entity: {
2311
+ name_or_address?: string | undefined;
2312
+ local_mark_first?: boolean | undefined;
2313
+ };
2314
+ index: number[];
2315
+ } | {
2316
+ op: "remove perm by entity";
2317
+ entity: {
2318
+ name_or_address?: string | undefined;
2319
+ local_mark_first?: boolean | undefined;
2320
+ };
2321
+ index: number[];
2322
+ } | undefined;
2323
+ apply?: string[] | undefined;
2324
+ }, {
2325
+ object?: string | {
2326
+ name?: string | undefined;
2327
+ replaceExistName?: boolean | undefined;
2328
+ tags?: string[] | undefined;
2329
+ onChain?: boolean | undefined;
2330
+ } | undefined;
2331
+ description?: string | undefined;
2332
+ owner_receive?: {
2333
+ received: {
2334
+ id: string;
2335
+ balance: string | number;
2336
+ payment: string;
2337
+ }[];
2338
+ balance: string | number;
2339
+ token_type: string;
2340
+ } | "recently" | {
2341
+ type: string;
2342
+ id: string;
2343
+ content_raw?: any;
2344
+ }[] | undefined;
2345
+ entity?: {
2346
+ op: "swap";
2347
+ entity1: {
2348
+ name_or_address?: string | undefined;
2349
+ local_mark_first?: boolean | undefined;
2350
+ };
2351
+ entity2: {
2352
+ name_or_address?: string | undefined;
2353
+ local_mark_first?: boolean | undefined;
2354
+ };
2355
+ } | {
2356
+ op: "replace";
2357
+ entity1: {
2358
+ name_or_address?: string | undefined;
2359
+ local_mark_first?: boolean | undefined;
2360
+ };
2361
+ entity2: {
2362
+ name_or_address?: string | undefined;
2363
+ local_mark_first?: boolean | undefined;
2364
+ };
2365
+ } | {
2366
+ op: "copy";
2367
+ entity1: {
2368
+ name_or_address?: string | undefined;
2369
+ local_mark_first?: boolean | undefined;
2370
+ };
2371
+ entity2: {
2372
+ name_or_address?: string | undefined;
2373
+ local_mark_first?: boolean | undefined;
2374
+ };
2375
+ } | {
2376
+ op: "del";
2377
+ entity: {
2378
+ name_or_address?: string | undefined;
2379
+ local_mark_first?: boolean | undefined;
2380
+ };
2381
+ } | undefined;
2382
+ um?: string | null | undefined;
2383
+ builder?: {
2384
+ name_or_address?: string | undefined;
2385
+ local_mark_first?: boolean | undefined;
2386
+ } | undefined;
2387
+ admin?: {
2388
+ op: "set" | "add" | "remove";
2389
+ addresses: {
2390
+ entities: {
2391
+ name_or_address?: string | undefined;
2392
+ local_mark_first?: boolean | undefined;
2393
+ }[];
2394
+ check_all_founded?: boolean | undefined;
2395
+ };
2396
+ } | undefined;
2397
+ remark?: {
2398
+ op: "set";
2399
+ index: number;
2400
+ remark: string;
2401
+ } | {
2402
+ op: "remove";
2403
+ index: number;
2404
+ } | {
2405
+ op: "clear";
2406
+ } | undefined;
2407
+ table?: {
2408
+ op: "add perm by index";
2409
+ entity: {
2410
+ entities: {
2411
+ name_or_address?: string | undefined;
2412
+ local_mark_first?: boolean | undefined;
2413
+ }[];
2414
+ check_all_founded?: boolean | undefined;
2415
+ };
2416
+ index: number;
2417
+ } | {
2418
+ op: "set perm by index";
2419
+ entity: {
2420
+ entities: {
2421
+ name_or_address?: string | undefined;
2422
+ local_mark_first?: boolean | undefined;
2423
+ }[];
2424
+ check_all_founded?: boolean | undefined;
2425
+ };
2426
+ index: number;
2427
+ } | {
2428
+ op: "remove perm by index";
2429
+ entity: {
2430
+ entities: {
2431
+ name_or_address?: string | undefined;
2432
+ local_mark_first?: boolean | undefined;
2433
+ }[];
2434
+ check_all_founded?: boolean | undefined;
2435
+ };
2436
+ index: number;
2437
+ } | {
2438
+ op: "add perm by entity";
2439
+ entity: {
2440
+ name_or_address?: string | undefined;
2441
+ local_mark_first?: boolean | undefined;
2442
+ };
2443
+ index: number[];
2444
+ } | {
2445
+ op: "set perm by entity";
2446
+ entity: {
2447
+ name_or_address?: string | undefined;
2448
+ local_mark_first?: boolean | undefined;
2449
+ };
2450
+ index: number[];
2451
+ } | {
2452
+ op: "remove perm by entity";
2453
+ entity: {
2454
+ name_or_address?: string | undefined;
2455
+ local_mark_first?: boolean | undefined;
2456
+ };
2457
+ index: number[];
2458
+ } | undefined;
2459
+ apply?: string[] | undefined;
2460
+ }>;
2461
+ env: z.ZodOptional<z.ZodObject<{
2462
+ account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
2463
+ permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2464
+ no_cache: z.ZodOptional<z.ZodBoolean>;
2465
+ network: z.ZodOptional<z.ZodEnum<[import("wowok").ENTRYPOINT.Localnet, import("wowok").ENTRYPOINT.Testnet]>>;
2466
+ referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2467
+ }, "strict", z.ZodTypeAny, {
2468
+ account: string;
2469
+ no_cache?: boolean | undefined;
2470
+ network?: import("wowok").ENTRYPOINT | undefined;
2471
+ permission_guard?: string[] | undefined;
2472
+ referrer?: string | undefined;
2473
+ }, {
2474
+ no_cache?: boolean | undefined;
2475
+ network?: import("wowok").ENTRYPOINT | undefined;
2476
+ account?: string | undefined;
2477
+ permission_guard?: string[] | undefined;
2478
+ referrer?: string | undefined;
2479
+ }>>;
2480
+ submission: z.ZodOptional<z.ZodObject<{
2481
+ type: z.ZodLiteral<"submission">;
2482
+ guard: z.ZodArray<z.ZodObject<{
2483
+ object: z.ZodEffects<z.ZodString, string, string>;
2484
+ impack: z.ZodBoolean;
2485
+ }, "strict", z.ZodTypeAny, {
2486
+ object: string;
2487
+ impack: boolean;
2488
+ }, {
2489
+ object: string;
2490
+ impack: boolean;
2491
+ }>, "many">;
2492
+ submission: z.ZodArray<z.ZodObject<{
2493
+ guard: z.ZodEffects<z.ZodString, string, string>;
2494
+ submission: z.ZodArray<z.ZodObject<{
2495
+ identifier: z.ZodNumber;
2496
+ b_submission: z.ZodBoolean;
2497
+ value_type: z.ZodUnion<[z.ZodLiteral<import("wowok").ValueType.Bool>, z.ZodLiteral<import("wowok").ValueType.Address>, z.ZodLiteral<import("wowok").ValueType.String>, z.ZodLiteral<import("wowok").ValueType.U8>, z.ZodLiteral<import("wowok").ValueType.U16>, z.ZodLiteral<import("wowok").ValueType.U32>, z.ZodLiteral<import("wowok").ValueType.U64>, z.ZodLiteral<import("wowok").ValueType.U128>, z.ZodLiteral<import("wowok").ValueType.U256>, z.ZodLiteral<import("wowok").ValueType.VecBool>, z.ZodLiteral<import("wowok").ValueType.VecAddress>, z.ZodLiteral<import("wowok").ValueType.VecString>, z.ZodLiteral<import("wowok").ValueType.VecU8>, z.ZodLiteral<import("wowok").ValueType.VecU16>, z.ZodLiteral<import("wowok").ValueType.VecU32>, z.ZodLiteral<import("wowok").ValueType.VecU64>, z.ZodLiteral<import("wowok").ValueType.VecU128>, z.ZodLiteral<import("wowok").ValueType.VecU256>, z.ZodLiteral<import("wowok").ValueType.VecVecU8>, z.ZodLiteral<"Bool">, z.ZodLiteral<"Address">, z.ZodLiteral<"String">, z.ZodLiteral<"U8">, z.ZodLiteral<"U16">, z.ZodLiteral<"U32">, z.ZodLiteral<"U64">, z.ZodLiteral<"U128">, z.ZodLiteral<"U256">, z.ZodLiteral<"VecBool">, z.ZodLiteral<"VecAddress">, z.ZodLiteral<"VecString">, z.ZodLiteral<"VecU8">, z.ZodLiteral<"VecU16">, z.ZodLiteral<"VecU32">, z.ZodLiteral<"VecU64">, z.ZodLiteral<"VecU128">, z.ZodLiteral<"VecU256">, z.ZodLiteral<"VecVecU8">, z.ZodLiteral<"bool">, z.ZodLiteral<"address">, z.ZodLiteral<"string">, z.ZodLiteral<"u8">, z.ZodLiteral<"u16">, z.ZodLiteral<"u32">, z.ZodLiteral<"u64">, z.ZodLiteral<"u128">, z.ZodLiteral<"u256">, z.ZodLiteral<"vecbool">, z.ZodLiteral<"vecaddress">, z.ZodLiteral<"vecstring">, z.ZodLiteral<"vecu8">, z.ZodLiteral<"vecu16">, z.ZodLiteral<"vecu32">, z.ZodLiteral<"vecu64">, z.ZodLiteral<"vecu128">, z.ZodLiteral<"vecu256">, z.ZodLiteral<"vecvecu8">]>;
2498
+ value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
2499
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2500
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
2501
+ }, "strict", z.ZodTypeAny, {
2502
+ name_or_address?: string | undefined;
2503
+ local_mark_first?: boolean | undefined;
2504
+ }, {
2505
+ name_or_address?: string | undefined;
2506
+ local_mark_first?: boolean | undefined;
2507
+ }>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean, "many">, z.ZodUnion<[z.ZodObject<{
2508
+ entities: z.ZodArray<z.ZodObject<{
2509
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2510
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
2511
+ }, "strict", z.ZodTypeAny, {
2512
+ name_or_address?: string | undefined;
2513
+ local_mark_first?: boolean | undefined;
2514
+ }, {
2515
+ name_or_address?: string | undefined;
2516
+ local_mark_first?: boolean | undefined;
2517
+ }>, "many">;
2518
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
2519
+ }, "strict", z.ZodTypeAny, {
2520
+ entities: {
2521
+ name_or_address?: string | undefined;
2522
+ local_mark_first?: boolean | undefined;
2523
+ }[];
2524
+ check_all_founded?: boolean | undefined;
2525
+ }, {
2526
+ entities: {
2527
+ name_or_address?: string | undefined;
2528
+ local_mark_first?: boolean | undefined;
2529
+ }[];
2530
+ check_all_founded?: boolean | undefined;
2531
+ }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>>;
2532
+ name: z.ZodDefault<z.ZodString>;
2533
+ } & {
2534
+ object_type: z.ZodOptional<z.ZodEnum<[import("wowok").ObjectType.Permission, import("wowok").ObjectType.Repository, import("wowok").ObjectType.Arb, import("wowok").ObjectType.Arbitration, import("wowok").ObjectType.Service, import("wowok").ObjectType.Machine, import("wowok").ObjectType.Order, import("wowok").ObjectType.Progress, import("wowok").ObjectType.Payment, import("wowok").ObjectType.Treasury, import("wowok").ObjectType.Guard, import("wowok").ObjectType.Demand, import("wowok").ObjectType.Passport, import("wowok").ObjectType.Allocation, import("wowok").ObjectType.Resource, import("wowok").ObjectType.Reward, import("wowok").ObjectType.Discount, import("wowok").ObjectType.EntityRegistrar, import("wowok").ObjectType.EntityLinker, import("wowok").ObjectType.Proof, import("wowok").ObjectType.WReceivedObject, import("wowok").ObjectType.Contact, import("wowok").ObjectType.TableItem_ProgressHistory, import("wowok").ObjectType.TableItem_PermissionPerm, import("wowok").ObjectType.TableItem_DemandPresenter, import("wowok").ObjectType.TableItem_MachineNode, import("wowok").ObjectType.TableItem_TreasuryHistory, import("wowok").ObjectType.TableItem_RepositoryData, import("wowok").ObjectType.TableItem_RewardRecord, import("wowok").ObjectType.TableItem_EntityLinker, import("wowok").ObjectType.TableItem_AddressMark, import("wowok").ObjectType.TableItem_EntityRegistrar]>>;
2535
+ }, "strict", z.ZodTypeAny, {
2536
+ identifier: number;
2537
+ b_submission: boolean;
2538
+ value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("wowok").ValueType.Bool | import("wowok").ValueType.Address | import("wowok").ValueType.String | import("wowok").ValueType.U8 | import("wowok").ValueType.U16 | import("wowok").ValueType.U32 | import("wowok").ValueType.U64 | import("wowok").ValueType.U128 | import("wowok").ValueType.U256 | import("wowok").ValueType.VecBool | import("wowok").ValueType.VecAddress | import("wowok").ValueType.VecString | import("wowok").ValueType.VecU8 | import("wowok").ValueType.VecU16 | import("wowok").ValueType.VecU32 | import("wowok").ValueType.VecU64 | import("wowok").ValueType.VecU128 | import("wowok").ValueType.VecU256 | import("wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
2539
+ name: string;
2540
+ value?: string | number | boolean | {
2541
+ name_or_address?: string | undefined;
2542
+ local_mark_first?: boolean | undefined;
2543
+ } | {
2544
+ entities: {
2545
+ name_or_address?: string | undefined;
2546
+ local_mark_first?: boolean | undefined;
2547
+ }[];
2548
+ check_all_founded?: boolean | undefined;
2549
+ } | string[] | boolean[] | number[] | number[][] | undefined;
2550
+ object_type?: import("wowok").ObjectType | undefined;
2551
+ }, {
2552
+ identifier: number;
2553
+ b_submission: boolean;
2554
+ value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("wowok").ValueType.Bool | import("wowok").ValueType.Address | import("wowok").ValueType.String | import("wowok").ValueType.U8 | import("wowok").ValueType.U16 | import("wowok").ValueType.U32 | import("wowok").ValueType.U64 | import("wowok").ValueType.U128 | import("wowok").ValueType.U256 | import("wowok").ValueType.VecBool | import("wowok").ValueType.VecAddress | import("wowok").ValueType.VecString | import("wowok").ValueType.VecU8 | import("wowok").ValueType.VecU16 | import("wowok").ValueType.VecU32 | import("wowok").ValueType.VecU64 | import("wowok").ValueType.VecU128 | import("wowok").ValueType.VecU256 | import("wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
2555
+ value?: string | number | boolean | {
2556
+ name_or_address?: string | undefined;
2557
+ local_mark_first?: boolean | undefined;
2558
+ } | {
2559
+ entities: {
2560
+ name_or_address?: string | undefined;
2561
+ local_mark_first?: boolean | undefined;
2562
+ }[];
2563
+ check_all_founded?: boolean | undefined;
2564
+ } | string[] | boolean[] | number[] | number[][] | undefined;
2565
+ name?: string | undefined;
2566
+ object_type?: import("wowok").ObjectType | undefined;
2567
+ }>, "many">;
2568
+ }, "strict", z.ZodTypeAny, {
2569
+ guard: string;
2570
+ submission: {
2571
+ identifier: number;
2572
+ b_submission: boolean;
2573
+ value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("wowok").ValueType.Bool | import("wowok").ValueType.Address | import("wowok").ValueType.String | import("wowok").ValueType.U8 | import("wowok").ValueType.U16 | import("wowok").ValueType.U32 | import("wowok").ValueType.U64 | import("wowok").ValueType.U128 | import("wowok").ValueType.U256 | import("wowok").ValueType.VecBool | import("wowok").ValueType.VecAddress | import("wowok").ValueType.VecString | import("wowok").ValueType.VecU8 | import("wowok").ValueType.VecU16 | import("wowok").ValueType.VecU32 | import("wowok").ValueType.VecU64 | import("wowok").ValueType.VecU128 | import("wowok").ValueType.VecU256 | import("wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
2574
+ name: string;
2575
+ value?: string | number | boolean | {
2576
+ name_or_address?: string | undefined;
2577
+ local_mark_first?: boolean | undefined;
2578
+ } | {
2579
+ entities: {
2580
+ name_or_address?: string | undefined;
2581
+ local_mark_first?: boolean | undefined;
2582
+ }[];
2583
+ check_all_founded?: boolean | undefined;
2584
+ } | string[] | boolean[] | number[] | number[][] | undefined;
2585
+ object_type?: import("wowok").ObjectType | undefined;
2586
+ }[];
2587
+ }, {
2588
+ guard: string;
2589
+ submission: {
2590
+ identifier: number;
2591
+ b_submission: boolean;
2592
+ value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("wowok").ValueType.Bool | import("wowok").ValueType.Address | import("wowok").ValueType.String | import("wowok").ValueType.U8 | import("wowok").ValueType.U16 | import("wowok").ValueType.U32 | import("wowok").ValueType.U64 | import("wowok").ValueType.U128 | import("wowok").ValueType.U256 | import("wowok").ValueType.VecBool | import("wowok").ValueType.VecAddress | import("wowok").ValueType.VecString | import("wowok").ValueType.VecU8 | import("wowok").ValueType.VecU16 | import("wowok").ValueType.VecU32 | import("wowok").ValueType.VecU64 | import("wowok").ValueType.VecU128 | import("wowok").ValueType.VecU256 | import("wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
2593
+ value?: string | number | boolean | {
2594
+ name_or_address?: string | undefined;
2595
+ local_mark_first?: boolean | undefined;
2596
+ } | {
2597
+ entities: {
2598
+ name_or_address?: string | undefined;
2599
+ local_mark_first?: boolean | undefined;
2600
+ }[];
2601
+ check_all_founded?: boolean | undefined;
2602
+ } | string[] | boolean[] | number[] | number[][] | undefined;
2603
+ name?: string | undefined;
2604
+ object_type?: import("wowok").ObjectType | undefined;
2605
+ }[];
2606
+ }>, "many">;
2607
+ }, "strict", z.ZodTypeAny, {
2608
+ type: "submission";
2609
+ guard: {
2610
+ object: string;
2611
+ impack: boolean;
2612
+ }[];
2613
+ submission: {
2614
+ guard: string;
2615
+ submission: {
2616
+ identifier: number;
2617
+ b_submission: boolean;
2618
+ value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("wowok").ValueType.Bool | import("wowok").ValueType.Address | import("wowok").ValueType.String | import("wowok").ValueType.U8 | import("wowok").ValueType.U16 | import("wowok").ValueType.U32 | import("wowok").ValueType.U64 | import("wowok").ValueType.U128 | import("wowok").ValueType.U256 | import("wowok").ValueType.VecBool | import("wowok").ValueType.VecAddress | import("wowok").ValueType.VecString | import("wowok").ValueType.VecU8 | import("wowok").ValueType.VecU16 | import("wowok").ValueType.VecU32 | import("wowok").ValueType.VecU64 | import("wowok").ValueType.VecU128 | import("wowok").ValueType.VecU256 | import("wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
2619
+ name: string;
2620
+ value?: string | number | boolean | {
2621
+ name_or_address?: string | undefined;
2622
+ local_mark_first?: boolean | undefined;
2623
+ } | {
2624
+ entities: {
2625
+ name_or_address?: string | undefined;
2626
+ local_mark_first?: boolean | undefined;
2627
+ }[];
2628
+ check_all_founded?: boolean | undefined;
2629
+ } | string[] | boolean[] | number[] | number[][] | undefined;
2630
+ object_type?: import("wowok").ObjectType | undefined;
2631
+ }[];
2632
+ }[];
2633
+ }, {
2634
+ type: "submission";
2635
+ guard: {
2636
+ object: string;
2637
+ impack: boolean;
2638
+ }[];
2639
+ submission: {
2640
+ guard: string;
2641
+ submission: {
2642
+ identifier: number;
2643
+ b_submission: boolean;
2644
+ value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("wowok").ValueType.Bool | import("wowok").ValueType.Address | import("wowok").ValueType.String | import("wowok").ValueType.U8 | import("wowok").ValueType.U16 | import("wowok").ValueType.U32 | import("wowok").ValueType.U64 | import("wowok").ValueType.U128 | import("wowok").ValueType.U256 | import("wowok").ValueType.VecBool | import("wowok").ValueType.VecAddress | import("wowok").ValueType.VecString | import("wowok").ValueType.VecU8 | import("wowok").ValueType.VecU16 | import("wowok").ValueType.VecU32 | import("wowok").ValueType.VecU64 | import("wowok").ValueType.VecU128 | import("wowok").ValueType.VecU256 | import("wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
2645
+ value?: string | number | boolean | {
2646
+ name_or_address?: string | undefined;
2647
+ local_mark_first?: boolean | undefined;
2648
+ } | {
2649
+ entities: {
2650
+ name_or_address?: string | undefined;
2651
+ local_mark_first?: boolean | undefined;
2652
+ }[];
2653
+ check_all_founded?: boolean | undefined;
2654
+ } | string[] | boolean[] | number[] | number[][] | undefined;
2655
+ name?: string | undefined;
2656
+ object_type?: import("wowok").ObjectType | undefined;
2657
+ }[];
2658
+ }[];
2659
+ }>>;
2660
+ }, "strict", z.ZodTypeAny, {
2661
+ data: {
2662
+ object?: string | {
2663
+ name?: string | undefined;
2664
+ replaceExistName?: boolean | undefined;
2665
+ tags?: string[] | undefined;
2666
+ onChain?: boolean | undefined;
2667
+ } | undefined;
2668
+ description?: string | undefined;
2669
+ owner_receive?: {
2670
+ received: {
2671
+ id: string;
2672
+ balance: string | number;
2673
+ payment: string;
2674
+ }[];
2675
+ balance: string | number;
2676
+ token_type: string;
2677
+ } | "recently" | {
2678
+ type: string;
2679
+ id: string;
2680
+ content_raw?: any;
2681
+ }[] | undefined;
2682
+ entity?: {
2683
+ op: "swap";
2684
+ entity1: {
2685
+ name_or_address?: string | undefined;
2686
+ local_mark_first?: boolean | undefined;
2687
+ };
2688
+ entity2: {
2689
+ name_or_address?: string | undefined;
2690
+ local_mark_first?: boolean | undefined;
2691
+ };
2692
+ } | {
2693
+ op: "replace";
2694
+ entity1: {
2695
+ name_or_address?: string | undefined;
2696
+ local_mark_first?: boolean | undefined;
2697
+ };
2698
+ entity2: {
2699
+ name_or_address?: string | undefined;
2700
+ local_mark_first?: boolean | undefined;
2701
+ };
2702
+ } | {
2703
+ op: "copy";
2704
+ entity1: {
2705
+ name_or_address?: string | undefined;
2706
+ local_mark_first?: boolean | undefined;
2707
+ };
2708
+ entity2: {
2709
+ name_or_address?: string | undefined;
2710
+ local_mark_first?: boolean | undefined;
2711
+ };
2712
+ } | {
2713
+ op: "del";
2714
+ entity: {
2715
+ name_or_address?: string | undefined;
2716
+ local_mark_first?: boolean | undefined;
2717
+ };
2718
+ } | undefined;
2719
+ um?: string | null | undefined;
2720
+ builder?: {
2721
+ name_or_address?: string | undefined;
2722
+ local_mark_first?: boolean | undefined;
2723
+ } | undefined;
2724
+ admin?: {
2725
+ op: "set" | "add" | "remove";
2726
+ addresses: {
2727
+ entities: {
2728
+ name_or_address?: string | undefined;
2729
+ local_mark_first?: boolean | undefined;
2730
+ }[];
2731
+ check_all_founded?: boolean | undefined;
2732
+ };
2733
+ } | undefined;
2734
+ remark?: {
2735
+ op: "set";
2736
+ index: number;
2737
+ remark: string;
2738
+ } | {
2739
+ op: "remove";
2740
+ index: number;
2741
+ } | {
2742
+ op: "clear";
2743
+ } | undefined;
2744
+ table?: {
2745
+ op: "add perm by index";
2746
+ entity: {
2747
+ entities: {
2748
+ name_or_address?: string | undefined;
2749
+ local_mark_first?: boolean | undefined;
2750
+ }[];
2751
+ check_all_founded?: boolean | undefined;
2752
+ };
2753
+ index: number;
2754
+ } | {
2755
+ op: "set perm by index";
2756
+ entity: {
2757
+ entities: {
2758
+ name_or_address?: string | undefined;
2759
+ local_mark_first?: boolean | undefined;
2760
+ }[];
2761
+ check_all_founded?: boolean | undefined;
2762
+ };
2763
+ index: number;
2764
+ } | {
2765
+ op: "remove perm by index";
2766
+ entity: {
2767
+ entities: {
2768
+ name_or_address?: string | undefined;
2769
+ local_mark_first?: boolean | undefined;
2770
+ }[];
2771
+ check_all_founded?: boolean | undefined;
2772
+ };
2773
+ index: number;
2774
+ } | {
2775
+ op: "add perm by entity";
2776
+ entity: {
2777
+ name_or_address?: string | undefined;
2778
+ local_mark_first?: boolean | undefined;
2779
+ };
2780
+ index: number[];
2781
+ } | {
2782
+ op: "set perm by entity";
2783
+ entity: {
2784
+ name_or_address?: string | undefined;
2785
+ local_mark_first?: boolean | undefined;
2786
+ };
2787
+ index: number[];
2788
+ } | {
2789
+ op: "remove perm by entity";
2790
+ entity: {
2791
+ name_or_address?: string | undefined;
2792
+ local_mark_first?: boolean | undefined;
2793
+ };
2794
+ index: number[];
2795
+ } | undefined;
2796
+ apply?: string[] | undefined;
2797
+ };
2798
+ submission?: {
2799
+ type: "submission";
2800
+ guard: {
2801
+ object: string;
2802
+ impack: boolean;
2803
+ }[];
2804
+ submission: {
2805
+ guard: string;
2806
+ submission: {
2807
+ identifier: number;
2808
+ b_submission: boolean;
2809
+ value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("wowok").ValueType.Bool | import("wowok").ValueType.Address | import("wowok").ValueType.String | import("wowok").ValueType.U8 | import("wowok").ValueType.U16 | import("wowok").ValueType.U32 | import("wowok").ValueType.U64 | import("wowok").ValueType.U128 | import("wowok").ValueType.U256 | import("wowok").ValueType.VecBool | import("wowok").ValueType.VecAddress | import("wowok").ValueType.VecString | import("wowok").ValueType.VecU8 | import("wowok").ValueType.VecU16 | import("wowok").ValueType.VecU32 | import("wowok").ValueType.VecU64 | import("wowok").ValueType.VecU128 | import("wowok").ValueType.VecU256 | import("wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
2810
+ name: string;
2811
+ value?: string | number | boolean | {
2812
+ name_or_address?: string | undefined;
2813
+ local_mark_first?: boolean | undefined;
2814
+ } | {
2815
+ entities: {
2816
+ name_or_address?: string | undefined;
2817
+ local_mark_first?: boolean | undefined;
2818
+ }[];
2819
+ check_all_founded?: boolean | undefined;
2820
+ } | string[] | boolean[] | number[] | number[][] | undefined;
2821
+ object_type?: import("wowok").ObjectType | undefined;
2822
+ }[];
2823
+ }[];
2824
+ } | undefined;
2825
+ env?: {
2826
+ account: string;
2827
+ no_cache?: boolean | undefined;
2828
+ network?: import("wowok").ENTRYPOINT | undefined;
2829
+ permission_guard?: string[] | undefined;
2830
+ referrer?: string | undefined;
2831
+ } | undefined;
2832
+ }, {
2833
+ data: {
2834
+ object?: string | {
2835
+ name?: string | undefined;
2836
+ replaceExistName?: boolean | undefined;
2837
+ tags?: string[] | undefined;
2838
+ onChain?: boolean | undefined;
2839
+ } | undefined;
2840
+ description?: string | undefined;
2841
+ owner_receive?: {
2842
+ received: {
2843
+ id: string;
2844
+ balance: string | number;
2845
+ payment: string;
2846
+ }[];
2847
+ balance: string | number;
2848
+ token_type: string;
2849
+ } | "recently" | {
2850
+ type: string;
2851
+ id: string;
2852
+ content_raw?: any;
2853
+ }[] | undefined;
2854
+ entity?: {
2855
+ op: "swap";
2856
+ entity1: {
2857
+ name_or_address?: string | undefined;
2858
+ local_mark_first?: boolean | undefined;
2859
+ };
2860
+ entity2: {
2861
+ name_or_address?: string | undefined;
2862
+ local_mark_first?: boolean | undefined;
2863
+ };
2864
+ } | {
2865
+ op: "replace";
2866
+ entity1: {
2867
+ name_or_address?: string | undefined;
2868
+ local_mark_first?: boolean | undefined;
2869
+ };
2870
+ entity2: {
2871
+ name_or_address?: string | undefined;
2872
+ local_mark_first?: boolean | undefined;
2873
+ };
2874
+ } | {
2875
+ op: "copy";
2876
+ entity1: {
2877
+ name_or_address?: string | undefined;
2878
+ local_mark_first?: boolean | undefined;
2879
+ };
2880
+ entity2: {
2881
+ name_or_address?: string | undefined;
2882
+ local_mark_first?: boolean | undefined;
2883
+ };
2884
+ } | {
2885
+ op: "del";
2886
+ entity: {
2887
+ name_or_address?: string | undefined;
2888
+ local_mark_first?: boolean | undefined;
2889
+ };
2890
+ } | undefined;
2891
+ um?: string | null | undefined;
2892
+ builder?: {
2893
+ name_or_address?: string | undefined;
2894
+ local_mark_first?: boolean | undefined;
2895
+ } | undefined;
2896
+ admin?: {
2897
+ op: "set" | "add" | "remove";
2898
+ addresses: {
2899
+ entities: {
2900
+ name_or_address?: string | undefined;
2901
+ local_mark_first?: boolean | undefined;
2902
+ }[];
2903
+ check_all_founded?: boolean | undefined;
2904
+ };
2905
+ } | undefined;
2906
+ remark?: {
2907
+ op: "set";
2908
+ index: number;
2909
+ remark: string;
2910
+ } | {
2911
+ op: "remove";
2912
+ index: number;
2913
+ } | {
2914
+ op: "clear";
2915
+ } | undefined;
2916
+ table?: {
2917
+ op: "add perm by index";
2918
+ entity: {
2919
+ entities: {
2920
+ name_or_address?: string | undefined;
2921
+ local_mark_first?: boolean | undefined;
2922
+ }[];
2923
+ check_all_founded?: boolean | undefined;
2924
+ };
2925
+ index: number;
2926
+ } | {
2927
+ op: "set perm by index";
2928
+ entity: {
2929
+ entities: {
2930
+ name_or_address?: string | undefined;
2931
+ local_mark_first?: boolean | undefined;
2932
+ }[];
2933
+ check_all_founded?: boolean | undefined;
2934
+ };
2935
+ index: number;
2936
+ } | {
2937
+ op: "remove perm by index";
2938
+ entity: {
2939
+ entities: {
2940
+ name_or_address?: string | undefined;
2941
+ local_mark_first?: boolean | undefined;
2942
+ }[];
2943
+ check_all_founded?: boolean | undefined;
2944
+ };
2945
+ index: number;
2946
+ } | {
2947
+ op: "add perm by entity";
2948
+ entity: {
2949
+ name_or_address?: string | undefined;
2950
+ local_mark_first?: boolean | undefined;
2951
+ };
2952
+ index: number[];
2953
+ } | {
2954
+ op: "set perm by entity";
2955
+ entity: {
2956
+ name_or_address?: string | undefined;
2957
+ local_mark_first?: boolean | undefined;
2958
+ };
2959
+ index: number[];
2960
+ } | {
2961
+ op: "remove perm by entity";
2962
+ entity: {
2963
+ name_or_address?: string | undefined;
2964
+ local_mark_first?: boolean | undefined;
2965
+ };
2966
+ index: number[];
2967
+ } | undefined;
2968
+ apply?: string[] | undefined;
2969
+ };
2970
+ submission?: {
2971
+ type: "submission";
2972
+ guard: {
2973
+ object: string;
2974
+ impack: boolean;
2975
+ }[];
2976
+ submission: {
2977
+ guard: string;
2978
+ submission: {
2979
+ identifier: number;
2980
+ b_submission: boolean;
2981
+ value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("wowok").ValueType.Bool | import("wowok").ValueType.Address | import("wowok").ValueType.String | import("wowok").ValueType.U8 | import("wowok").ValueType.U16 | import("wowok").ValueType.U32 | import("wowok").ValueType.U64 | import("wowok").ValueType.U128 | import("wowok").ValueType.U256 | import("wowok").ValueType.VecBool | import("wowok").ValueType.VecAddress | import("wowok").ValueType.VecString | import("wowok").ValueType.VecU8 | import("wowok").ValueType.VecU16 | import("wowok").ValueType.VecU32 | import("wowok").ValueType.VecU64 | import("wowok").ValueType.VecU128 | import("wowok").ValueType.VecU256 | import("wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
2982
+ value?: string | number | boolean | {
2983
+ name_or_address?: string | undefined;
2984
+ local_mark_first?: boolean | undefined;
2985
+ } | {
2986
+ entities: {
2987
+ name_or_address?: string | undefined;
2988
+ local_mark_first?: boolean | undefined;
2989
+ }[];
2990
+ check_all_founded?: boolean | undefined;
2991
+ } | string[] | boolean[] | number[] | number[][] | undefined;
2992
+ name?: string | undefined;
2993
+ object_type?: import("wowok").ObjectType | undefined;
2994
+ }[];
2995
+ }[];
2996
+ } | undefined;
2997
+ env?: {
2998
+ no_cache?: boolean | undefined;
2999
+ network?: import("wowok").ENTRYPOINT | undefined;
3000
+ account?: string | undefined;
3001
+ permission_guard?: string[] | undefined;
3002
+ referrer?: string | undefined;
3003
+ } | undefined;
3004
+ }>;
3005
+ export type RemarkSet = z.infer<typeof RemarkSetSchema>;
3006
+ export type RemarkRemove = z.infer<typeof RemarkRemoveSchema>;
3007
+ export type RemarkClear = z.infer<typeof RemarkClearSchema>;
3008
+ export type Remark = z.infer<typeof RemarkSchema>;
3009
+ export type TablePermByIndex = z.infer<typeof TablePermByIndexSchema>;
3010
+ export type TablePermByEntity = z.infer<typeof TablePermByEntitySchema>;
3011
+ export type Table = z.infer<typeof TableSchema>;
3012
+ export type EntitySwapReplaceCopy = z.infer<typeof EntitySwapReplaceCopySchema>;
3013
+ export type EntityDel = z.infer<typeof EntityDelSchema>;
3014
+ export type Entity = z.infer<typeof EntitySchema>;
3015
+ export type Admin = z.infer<typeof AdminSchema>;
3016
+ export type CallPermission_Data = z.infer<typeof CallPermission_DataSchema>;
3017
+ export type CallPermission_Input = z.infer<typeof CallPermission_InputSchema>;