wowok_agent 2.1.9 → 2.1.18

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.
@@ -1,17 +1,2995 @@
1
1
  import { z } from "zod";
2
- export declare const RemarkSetSchema: any;
3
- export declare const RemarkRemoveSchema: any;
4
- export declare const RemarkClearSchema: any;
5
- export declare const RemarkSchema: any;
6
- export declare const TablePermByIndexSchema: any;
7
- export declare const TablePermByEntitySchema: any;
8
- export declare const TableSchema: any;
9
- export declare const EntitySwapReplaceCopySchema: any;
10
- export declare const EntityDelSchema: any;
11
- export declare const EntitySchema: any;
12
- export declare const AdminSchema: any;
13
- export declare const CallPermission_DataSchema: any;
14
- export declare const CallPermission_InputSchema: any;
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
+ }, "strict", z.ZodTypeAny, {
1346
+ type: string;
1347
+ id: string;
1348
+ }, {
1349
+ type: string;
1350
+ id: string;
1351
+ }>, "many">, z.ZodObject<{
1352
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1353
+ token_type: z.ZodEffects<z.ZodString, string, string>;
1354
+ received: z.ZodArray<z.ZodObject<{
1355
+ id: z.ZodString;
1356
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1357
+ payment: z.ZodString;
1358
+ }, "strict", z.ZodTypeAny, {
1359
+ id: string;
1360
+ balance: string | number;
1361
+ payment: string;
1362
+ }, {
1363
+ id: string;
1364
+ balance: string | number;
1365
+ payment: string;
1366
+ }>, "many">;
1367
+ }, "strict", z.ZodTypeAny, {
1368
+ received: {
1369
+ id: string;
1370
+ balance: string | number;
1371
+ payment: string;
1372
+ }[];
1373
+ balance: string | number;
1374
+ token_type: string;
1375
+ }, {
1376
+ received: {
1377
+ id: string;
1378
+ balance: string | number;
1379
+ payment: string;
1380
+ }[];
1381
+ balance: string | number;
1382
+ token_type: string;
1383
+ }>, z.ZodLiteral<"recently">]>>;
1384
+ um: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
1385
+ }, "strict", z.ZodTypeAny, {
1386
+ object?: string | {
1387
+ name?: string | undefined;
1388
+ replaceExistName?: boolean | undefined;
1389
+ tags?: string[] | undefined;
1390
+ onChain?: boolean | undefined;
1391
+ } | undefined;
1392
+ description?: string | undefined;
1393
+ owner_receive?: {
1394
+ received: {
1395
+ id: string;
1396
+ balance: string | number;
1397
+ payment: string;
1398
+ }[];
1399
+ balance: string | number;
1400
+ token_type: string;
1401
+ } | "recently" | {
1402
+ type: string;
1403
+ id: string;
1404
+ }[] | undefined;
1405
+ entity?: {
1406
+ op: "swap";
1407
+ entity1: {
1408
+ name_or_address?: string | undefined;
1409
+ local_mark_first?: boolean | undefined;
1410
+ };
1411
+ entity2: {
1412
+ name_or_address?: string | undefined;
1413
+ local_mark_first?: boolean | undefined;
1414
+ };
1415
+ } | {
1416
+ op: "replace";
1417
+ entity1: {
1418
+ name_or_address?: string | undefined;
1419
+ local_mark_first?: boolean | undefined;
1420
+ };
1421
+ entity2: {
1422
+ name_or_address?: string | undefined;
1423
+ local_mark_first?: boolean | undefined;
1424
+ };
1425
+ } | {
1426
+ op: "copy";
1427
+ entity1: {
1428
+ name_or_address?: string | undefined;
1429
+ local_mark_first?: boolean | undefined;
1430
+ };
1431
+ entity2: {
1432
+ name_or_address?: string | undefined;
1433
+ local_mark_first?: boolean | undefined;
1434
+ };
1435
+ } | {
1436
+ op: "del";
1437
+ entity: {
1438
+ name_or_address?: string | undefined;
1439
+ local_mark_first?: boolean | undefined;
1440
+ };
1441
+ } | undefined;
1442
+ um?: string | null | undefined;
1443
+ builder?: {
1444
+ name_or_address?: string | undefined;
1445
+ local_mark_first?: boolean | undefined;
1446
+ } | undefined;
1447
+ admin?: {
1448
+ op: "set" | "add" | "remove";
1449
+ addresses: {
1450
+ entities: {
1451
+ name_or_address?: string | undefined;
1452
+ local_mark_first?: boolean | undefined;
1453
+ }[];
1454
+ check_all_founded?: boolean | undefined;
1455
+ };
1456
+ } | undefined;
1457
+ remark?: {
1458
+ op: "set";
1459
+ index: number;
1460
+ remark: string;
1461
+ } | {
1462
+ op: "remove";
1463
+ index: number;
1464
+ } | {
1465
+ op: "clear";
1466
+ } | undefined;
1467
+ table?: {
1468
+ op: "add perm by index";
1469
+ entity: {
1470
+ entities: {
1471
+ name_or_address?: string | undefined;
1472
+ local_mark_first?: boolean | undefined;
1473
+ }[];
1474
+ check_all_founded?: boolean | undefined;
1475
+ };
1476
+ index: number;
1477
+ } | {
1478
+ op: "set perm by index";
1479
+ entity: {
1480
+ entities: {
1481
+ name_or_address?: string | undefined;
1482
+ local_mark_first?: boolean | undefined;
1483
+ }[];
1484
+ check_all_founded?: boolean | undefined;
1485
+ };
1486
+ index: number;
1487
+ } | {
1488
+ op: "remove perm by index";
1489
+ entity: {
1490
+ entities: {
1491
+ name_or_address?: string | undefined;
1492
+ local_mark_first?: boolean | undefined;
1493
+ }[];
1494
+ check_all_founded?: boolean | undefined;
1495
+ };
1496
+ index: number;
1497
+ } | {
1498
+ op: "add perm by entity";
1499
+ entity: {
1500
+ name_or_address?: string | undefined;
1501
+ local_mark_first?: boolean | undefined;
1502
+ };
1503
+ index: number[];
1504
+ } | {
1505
+ op: "set perm by entity";
1506
+ entity: {
1507
+ name_or_address?: string | undefined;
1508
+ local_mark_first?: boolean | undefined;
1509
+ };
1510
+ index: number[];
1511
+ } | {
1512
+ op: "remove perm by entity";
1513
+ entity: {
1514
+ name_or_address?: string | undefined;
1515
+ local_mark_first?: boolean | undefined;
1516
+ };
1517
+ index: number[];
1518
+ } | undefined;
1519
+ apply?: string[] | undefined;
1520
+ }, {
1521
+ object?: string | {
1522
+ name?: string | undefined;
1523
+ replaceExistName?: boolean | undefined;
1524
+ tags?: string[] | undefined;
1525
+ onChain?: boolean | undefined;
1526
+ } | undefined;
1527
+ description?: string | undefined;
1528
+ owner_receive?: {
1529
+ received: {
1530
+ id: string;
1531
+ balance: string | number;
1532
+ payment: string;
1533
+ }[];
1534
+ balance: string | number;
1535
+ token_type: string;
1536
+ } | "recently" | {
1537
+ type: string;
1538
+ id: string;
1539
+ }[] | undefined;
1540
+ entity?: {
1541
+ op: "swap";
1542
+ entity1: {
1543
+ name_or_address?: string | undefined;
1544
+ local_mark_first?: boolean | undefined;
1545
+ };
1546
+ entity2: {
1547
+ name_or_address?: string | undefined;
1548
+ local_mark_first?: boolean | undefined;
1549
+ };
1550
+ } | {
1551
+ op: "replace";
1552
+ entity1: {
1553
+ name_or_address?: string | undefined;
1554
+ local_mark_first?: boolean | undefined;
1555
+ };
1556
+ entity2: {
1557
+ name_or_address?: string | undefined;
1558
+ local_mark_first?: boolean | undefined;
1559
+ };
1560
+ } | {
1561
+ op: "copy";
1562
+ entity1: {
1563
+ name_or_address?: string | undefined;
1564
+ local_mark_first?: boolean | undefined;
1565
+ };
1566
+ entity2: {
1567
+ name_or_address?: string | undefined;
1568
+ local_mark_first?: boolean | undefined;
1569
+ };
1570
+ } | {
1571
+ op: "del";
1572
+ entity: {
1573
+ name_or_address?: string | undefined;
1574
+ local_mark_first?: boolean | undefined;
1575
+ };
1576
+ } | undefined;
1577
+ um?: string | null | undefined;
1578
+ builder?: {
1579
+ name_or_address?: string | undefined;
1580
+ local_mark_first?: boolean | undefined;
1581
+ } | undefined;
1582
+ admin?: {
1583
+ op: "set" | "add" | "remove";
1584
+ addresses: {
1585
+ entities: {
1586
+ name_or_address?: string | undefined;
1587
+ local_mark_first?: boolean | undefined;
1588
+ }[];
1589
+ check_all_founded?: boolean | undefined;
1590
+ };
1591
+ } | undefined;
1592
+ remark?: {
1593
+ op: "set";
1594
+ index: number;
1595
+ remark: string;
1596
+ } | {
1597
+ op: "remove";
1598
+ index: number;
1599
+ } | {
1600
+ op: "clear";
1601
+ } | undefined;
1602
+ table?: {
1603
+ op: "add perm by index";
1604
+ entity: {
1605
+ entities: {
1606
+ name_or_address?: string | undefined;
1607
+ local_mark_first?: boolean | undefined;
1608
+ }[];
1609
+ check_all_founded?: boolean | undefined;
1610
+ };
1611
+ index: number;
1612
+ } | {
1613
+ op: "set perm by index";
1614
+ entity: {
1615
+ entities: {
1616
+ name_or_address?: string | undefined;
1617
+ local_mark_first?: boolean | undefined;
1618
+ }[];
1619
+ check_all_founded?: boolean | undefined;
1620
+ };
1621
+ index: number;
1622
+ } | {
1623
+ op: "remove perm by index";
1624
+ entity: {
1625
+ entities: {
1626
+ name_or_address?: string | undefined;
1627
+ local_mark_first?: boolean | undefined;
1628
+ }[];
1629
+ check_all_founded?: boolean | undefined;
1630
+ };
1631
+ index: number;
1632
+ } | {
1633
+ op: "add perm by entity";
1634
+ entity: {
1635
+ name_or_address?: string | undefined;
1636
+ local_mark_first?: boolean | undefined;
1637
+ };
1638
+ index: number[];
1639
+ } | {
1640
+ op: "set perm by entity";
1641
+ entity: {
1642
+ name_or_address?: string | undefined;
1643
+ local_mark_first?: boolean | undefined;
1644
+ };
1645
+ index: number[];
1646
+ } | {
1647
+ op: "remove perm by entity";
1648
+ entity: {
1649
+ name_or_address?: string | undefined;
1650
+ local_mark_first?: boolean | undefined;
1651
+ };
1652
+ index: number[];
1653
+ } | undefined;
1654
+ apply?: string[] | undefined;
1655
+ }>;
1656
+ export declare const CallPermission_InputSchema: z.ZodObject<{
1657
+ data: z.ZodObject<{
1658
+ object: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
1659
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1660
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1661
+ onChain: z.ZodOptional<z.ZodBoolean>;
1662
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
1663
+ }, "strict", z.ZodTypeAny, {
1664
+ name?: string | undefined;
1665
+ replaceExistName?: boolean | undefined;
1666
+ tags?: string[] | undefined;
1667
+ onChain?: boolean | undefined;
1668
+ }, {
1669
+ name?: string | undefined;
1670
+ replaceExistName?: boolean | undefined;
1671
+ tags?: string[] | undefined;
1672
+ onChain?: boolean | undefined;
1673
+ }>]>>;
1674
+ description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1675
+ remark: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
1676
+ op: z.ZodLiteral<"set">;
1677
+ index: z.ZodEffects<z.ZodNumber, number, number>;
1678
+ remark: z.ZodEffects<z.ZodString, string, string>;
1679
+ }, "strict", z.ZodTypeAny, {
1680
+ op: "set";
1681
+ index: number;
1682
+ remark: string;
1683
+ }, {
1684
+ op: "set";
1685
+ index: number;
1686
+ remark: string;
1687
+ }>, z.ZodObject<{
1688
+ op: z.ZodLiteral<"remove">;
1689
+ index: z.ZodEffects<z.ZodNumber, number, number>;
1690
+ }, "strict", z.ZodTypeAny, {
1691
+ op: "remove";
1692
+ index: number;
1693
+ }, {
1694
+ op: "remove";
1695
+ index: number;
1696
+ }>, z.ZodObject<{
1697
+ op: z.ZodLiteral<"clear">;
1698
+ }, "strict", z.ZodTypeAny, {
1699
+ op: "clear";
1700
+ }, {
1701
+ op: "clear";
1702
+ }>]>>;
1703
+ table: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
1704
+ op: z.ZodLiteral<"add perm by index">;
1705
+ index: z.ZodEffects<z.ZodNumber, number, number>;
1706
+ entity: z.ZodObject<{
1707
+ entities: z.ZodArray<z.ZodObject<{
1708
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1709
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1710
+ }, "strict", z.ZodTypeAny, {
1711
+ name_or_address?: string | undefined;
1712
+ local_mark_first?: boolean | undefined;
1713
+ }, {
1714
+ name_or_address?: string | undefined;
1715
+ local_mark_first?: boolean | undefined;
1716
+ }>, "many">;
1717
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
1718
+ }, "strict", z.ZodTypeAny, {
1719
+ entities: {
1720
+ name_or_address?: string | undefined;
1721
+ local_mark_first?: boolean | undefined;
1722
+ }[];
1723
+ check_all_founded?: boolean | undefined;
1724
+ }, {
1725
+ entities: {
1726
+ name_or_address?: string | undefined;
1727
+ local_mark_first?: boolean | undefined;
1728
+ }[];
1729
+ check_all_founded?: boolean | undefined;
1730
+ }>;
1731
+ }, "strict", z.ZodTypeAny, {
1732
+ op: "add perm by index";
1733
+ entity: {
1734
+ entities: {
1735
+ name_or_address?: string | undefined;
1736
+ local_mark_first?: boolean | undefined;
1737
+ }[];
1738
+ check_all_founded?: boolean | undefined;
1739
+ };
1740
+ index: number;
1741
+ }, {
1742
+ op: "add perm by index";
1743
+ entity: {
1744
+ entities: {
1745
+ name_or_address?: string | undefined;
1746
+ local_mark_first?: boolean | undefined;
1747
+ }[];
1748
+ check_all_founded?: boolean | undefined;
1749
+ };
1750
+ index: number;
1751
+ }>, z.ZodObject<{
1752
+ op: z.ZodLiteral<"set perm by index">;
1753
+ index: z.ZodEffects<z.ZodNumber, number, number>;
1754
+ entity: z.ZodObject<{
1755
+ entities: z.ZodArray<z.ZodObject<{
1756
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1757
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1758
+ }, "strict", z.ZodTypeAny, {
1759
+ name_or_address?: string | undefined;
1760
+ local_mark_first?: boolean | undefined;
1761
+ }, {
1762
+ name_or_address?: string | undefined;
1763
+ local_mark_first?: boolean | undefined;
1764
+ }>, "many">;
1765
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
1766
+ }, "strict", z.ZodTypeAny, {
1767
+ entities: {
1768
+ name_or_address?: string | undefined;
1769
+ local_mark_first?: boolean | undefined;
1770
+ }[];
1771
+ check_all_founded?: boolean | undefined;
1772
+ }, {
1773
+ entities: {
1774
+ name_or_address?: string | undefined;
1775
+ local_mark_first?: boolean | undefined;
1776
+ }[];
1777
+ check_all_founded?: boolean | undefined;
1778
+ }>;
1779
+ }, "strict", z.ZodTypeAny, {
1780
+ op: "set perm by index";
1781
+ entity: {
1782
+ entities: {
1783
+ name_or_address?: string | undefined;
1784
+ local_mark_first?: boolean | undefined;
1785
+ }[];
1786
+ check_all_founded?: boolean | undefined;
1787
+ };
1788
+ index: number;
1789
+ }, {
1790
+ op: "set perm by index";
1791
+ entity: {
1792
+ entities: {
1793
+ name_or_address?: string | undefined;
1794
+ local_mark_first?: boolean | undefined;
1795
+ }[];
1796
+ check_all_founded?: boolean | undefined;
1797
+ };
1798
+ index: number;
1799
+ }>, z.ZodObject<{
1800
+ op: z.ZodLiteral<"remove perm by index">;
1801
+ index: z.ZodEffects<z.ZodNumber, number, number>;
1802
+ entity: z.ZodObject<{
1803
+ entities: z.ZodArray<z.ZodObject<{
1804
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1805
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1806
+ }, "strict", z.ZodTypeAny, {
1807
+ name_or_address?: string | undefined;
1808
+ local_mark_first?: boolean | undefined;
1809
+ }, {
1810
+ name_or_address?: string | undefined;
1811
+ local_mark_first?: boolean | undefined;
1812
+ }>, "many">;
1813
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
1814
+ }, "strict", z.ZodTypeAny, {
1815
+ entities: {
1816
+ name_or_address?: string | undefined;
1817
+ local_mark_first?: boolean | undefined;
1818
+ }[];
1819
+ check_all_founded?: boolean | undefined;
1820
+ }, {
1821
+ entities: {
1822
+ name_or_address?: string | undefined;
1823
+ local_mark_first?: boolean | undefined;
1824
+ }[];
1825
+ check_all_founded?: boolean | undefined;
1826
+ }>;
1827
+ }, "strict", z.ZodTypeAny, {
1828
+ op: "remove perm by index";
1829
+ entity: {
1830
+ entities: {
1831
+ name_or_address?: string | undefined;
1832
+ local_mark_first?: boolean | undefined;
1833
+ }[];
1834
+ check_all_founded?: boolean | undefined;
1835
+ };
1836
+ index: number;
1837
+ }, {
1838
+ op: "remove perm by index";
1839
+ entity: {
1840
+ entities: {
1841
+ name_or_address?: string | undefined;
1842
+ local_mark_first?: boolean | undefined;
1843
+ }[];
1844
+ check_all_founded?: boolean | undefined;
1845
+ };
1846
+ index: number;
1847
+ }>, z.ZodObject<{
1848
+ op: z.ZodLiteral<"add perm by entity">;
1849
+ entity: z.ZodObject<{
1850
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1851
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1852
+ }, "strict", z.ZodTypeAny, {
1853
+ name_or_address?: string | undefined;
1854
+ local_mark_first?: boolean | undefined;
1855
+ }, {
1856
+ name_or_address?: string | undefined;
1857
+ local_mark_first?: boolean | undefined;
1858
+ }>;
1859
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
1860
+ }, "strict", z.ZodTypeAny, {
1861
+ op: "add perm by entity";
1862
+ entity: {
1863
+ name_or_address?: string | undefined;
1864
+ local_mark_first?: boolean | undefined;
1865
+ };
1866
+ index: number[];
1867
+ }, {
1868
+ op: "add perm by entity";
1869
+ entity: {
1870
+ name_or_address?: string | undefined;
1871
+ local_mark_first?: boolean | undefined;
1872
+ };
1873
+ index: number[];
1874
+ }>, z.ZodObject<{
1875
+ op: z.ZodLiteral<"set perm by entity">;
1876
+ entity: z.ZodObject<{
1877
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1878
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1879
+ }, "strict", z.ZodTypeAny, {
1880
+ name_or_address?: string | undefined;
1881
+ local_mark_first?: boolean | undefined;
1882
+ }, {
1883
+ name_or_address?: string | undefined;
1884
+ local_mark_first?: boolean | undefined;
1885
+ }>;
1886
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
1887
+ }, "strict", z.ZodTypeAny, {
1888
+ op: "set perm by entity";
1889
+ entity: {
1890
+ name_or_address?: string | undefined;
1891
+ local_mark_first?: boolean | undefined;
1892
+ };
1893
+ index: number[];
1894
+ }, {
1895
+ op: "set perm by entity";
1896
+ entity: {
1897
+ name_or_address?: string | undefined;
1898
+ local_mark_first?: boolean | undefined;
1899
+ };
1900
+ index: number[];
1901
+ }>, z.ZodObject<{
1902
+ op: z.ZodLiteral<"remove perm by entity">;
1903
+ entity: z.ZodObject<{
1904
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1905
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1906
+ }, "strict", z.ZodTypeAny, {
1907
+ name_or_address?: string | undefined;
1908
+ local_mark_first?: boolean | undefined;
1909
+ }, {
1910
+ name_or_address?: string | undefined;
1911
+ local_mark_first?: boolean | undefined;
1912
+ }>;
1913
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
1914
+ }, "strict", z.ZodTypeAny, {
1915
+ op: "remove perm by entity";
1916
+ entity: {
1917
+ name_or_address?: string | undefined;
1918
+ local_mark_first?: boolean | undefined;
1919
+ };
1920
+ index: number[];
1921
+ }, {
1922
+ op: "remove perm by entity";
1923
+ entity: {
1924
+ name_or_address?: string | undefined;
1925
+ local_mark_first?: boolean | undefined;
1926
+ };
1927
+ index: number[];
1928
+ }>]>>;
1929
+ entity: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
1930
+ op: z.ZodLiteral<"swap">;
1931
+ entity1: z.ZodObject<{
1932
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1933
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1934
+ }, "strict", z.ZodTypeAny, {
1935
+ name_or_address?: string | undefined;
1936
+ local_mark_first?: boolean | undefined;
1937
+ }, {
1938
+ name_or_address?: string | undefined;
1939
+ local_mark_first?: boolean | undefined;
1940
+ }>;
1941
+ entity2: z.ZodObject<{
1942
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1943
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1944
+ }, "strict", z.ZodTypeAny, {
1945
+ name_or_address?: string | undefined;
1946
+ local_mark_first?: boolean | undefined;
1947
+ }, {
1948
+ name_or_address?: string | undefined;
1949
+ local_mark_first?: boolean | undefined;
1950
+ }>;
1951
+ }, "strict", z.ZodTypeAny, {
1952
+ op: "swap";
1953
+ entity1: {
1954
+ name_or_address?: string | undefined;
1955
+ local_mark_first?: boolean | undefined;
1956
+ };
1957
+ entity2: {
1958
+ name_or_address?: string | undefined;
1959
+ local_mark_first?: boolean | undefined;
1960
+ };
1961
+ }, {
1962
+ op: "swap";
1963
+ entity1: {
1964
+ name_or_address?: string | undefined;
1965
+ local_mark_first?: boolean | undefined;
1966
+ };
1967
+ entity2: {
1968
+ name_or_address?: string | undefined;
1969
+ local_mark_first?: boolean | undefined;
1970
+ };
1971
+ }>, z.ZodObject<{
1972
+ op: z.ZodLiteral<"replace">;
1973
+ entity1: z.ZodObject<{
1974
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1975
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1976
+ }, "strict", z.ZodTypeAny, {
1977
+ name_or_address?: string | undefined;
1978
+ local_mark_first?: boolean | undefined;
1979
+ }, {
1980
+ name_or_address?: string | undefined;
1981
+ local_mark_first?: boolean | undefined;
1982
+ }>;
1983
+ entity2: z.ZodObject<{
1984
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1985
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1986
+ }, "strict", z.ZodTypeAny, {
1987
+ name_or_address?: string | undefined;
1988
+ local_mark_first?: boolean | undefined;
1989
+ }, {
1990
+ name_or_address?: string | undefined;
1991
+ local_mark_first?: boolean | undefined;
1992
+ }>;
1993
+ }, "strict", z.ZodTypeAny, {
1994
+ op: "replace";
1995
+ entity1: {
1996
+ name_or_address?: string | undefined;
1997
+ local_mark_first?: boolean | undefined;
1998
+ };
1999
+ entity2: {
2000
+ name_or_address?: string | undefined;
2001
+ local_mark_first?: boolean | undefined;
2002
+ };
2003
+ }, {
2004
+ op: "replace";
2005
+ entity1: {
2006
+ name_or_address?: string | undefined;
2007
+ local_mark_first?: boolean | undefined;
2008
+ };
2009
+ entity2: {
2010
+ name_or_address?: string | undefined;
2011
+ local_mark_first?: boolean | undefined;
2012
+ };
2013
+ }>, z.ZodObject<{
2014
+ op: z.ZodLiteral<"copy">;
2015
+ entity1: z.ZodObject<{
2016
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2017
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
2018
+ }, "strict", z.ZodTypeAny, {
2019
+ name_or_address?: string | undefined;
2020
+ local_mark_first?: boolean | undefined;
2021
+ }, {
2022
+ name_or_address?: string | undefined;
2023
+ local_mark_first?: boolean | undefined;
2024
+ }>;
2025
+ entity2: z.ZodObject<{
2026
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2027
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
2028
+ }, "strict", z.ZodTypeAny, {
2029
+ name_or_address?: string | undefined;
2030
+ local_mark_first?: boolean | undefined;
2031
+ }, {
2032
+ name_or_address?: string | undefined;
2033
+ local_mark_first?: boolean | undefined;
2034
+ }>;
2035
+ }, "strict", z.ZodTypeAny, {
2036
+ op: "copy";
2037
+ entity1: {
2038
+ name_or_address?: string | undefined;
2039
+ local_mark_first?: boolean | undefined;
2040
+ };
2041
+ entity2: {
2042
+ name_or_address?: string | undefined;
2043
+ local_mark_first?: boolean | undefined;
2044
+ };
2045
+ }, {
2046
+ op: "copy";
2047
+ entity1: {
2048
+ name_or_address?: string | undefined;
2049
+ local_mark_first?: boolean | undefined;
2050
+ };
2051
+ entity2: {
2052
+ name_or_address?: string | undefined;
2053
+ local_mark_first?: boolean | undefined;
2054
+ };
2055
+ }>, z.ZodObject<{
2056
+ op: z.ZodLiteral<"del">;
2057
+ entity: z.ZodObject<{
2058
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2059
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
2060
+ }, "strict", z.ZodTypeAny, {
2061
+ name_or_address?: string | undefined;
2062
+ local_mark_first?: boolean | undefined;
2063
+ }, {
2064
+ name_or_address?: string | undefined;
2065
+ local_mark_first?: boolean | undefined;
2066
+ }>;
2067
+ }, "strict", z.ZodTypeAny, {
2068
+ op: "del";
2069
+ entity: {
2070
+ name_or_address?: string | undefined;
2071
+ local_mark_first?: boolean | undefined;
2072
+ };
2073
+ }, {
2074
+ op: "del";
2075
+ entity: {
2076
+ name_or_address?: string | undefined;
2077
+ local_mark_first?: boolean | undefined;
2078
+ };
2079
+ }>]>>;
2080
+ admin: z.ZodOptional<z.ZodObject<{
2081
+ op: z.ZodEnum<["add", "remove", "set"]>;
2082
+ addresses: z.ZodObject<{
2083
+ entities: z.ZodArray<z.ZodObject<{
2084
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2085
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
2086
+ }, "strict", z.ZodTypeAny, {
2087
+ name_or_address?: string | undefined;
2088
+ local_mark_first?: boolean | undefined;
2089
+ }, {
2090
+ name_or_address?: string | undefined;
2091
+ local_mark_first?: boolean | undefined;
2092
+ }>, "many">;
2093
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
2094
+ }, "strict", z.ZodTypeAny, {
2095
+ entities: {
2096
+ name_or_address?: string | undefined;
2097
+ local_mark_first?: boolean | undefined;
2098
+ }[];
2099
+ check_all_founded?: boolean | undefined;
2100
+ }, {
2101
+ entities: {
2102
+ name_or_address?: string | undefined;
2103
+ local_mark_first?: boolean | undefined;
2104
+ }[];
2105
+ check_all_founded?: boolean | undefined;
2106
+ }>;
2107
+ }, "strict", z.ZodTypeAny, {
2108
+ op: "set" | "add" | "remove";
2109
+ addresses: {
2110
+ entities: {
2111
+ name_or_address?: string | undefined;
2112
+ local_mark_first?: boolean | undefined;
2113
+ }[];
2114
+ check_all_founded?: boolean | undefined;
2115
+ };
2116
+ }, {
2117
+ op: "set" | "add" | "remove";
2118
+ addresses: {
2119
+ entities: {
2120
+ name_or_address?: string | undefined;
2121
+ local_mark_first?: boolean | undefined;
2122
+ }[];
2123
+ check_all_founded?: boolean | undefined;
2124
+ };
2125
+ }>>;
2126
+ apply: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
2127
+ builder: z.ZodOptional<z.ZodObject<{
2128
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2129
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
2130
+ }, "strict", z.ZodTypeAny, {
2131
+ name_or_address?: string | undefined;
2132
+ local_mark_first?: boolean | undefined;
2133
+ }, {
2134
+ name_or_address?: string | undefined;
2135
+ local_mark_first?: boolean | undefined;
2136
+ }>>;
2137
+ owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
2138
+ id: z.ZodString;
2139
+ type: z.ZodString;
2140
+ }, "strict", z.ZodTypeAny, {
2141
+ type: string;
2142
+ id: string;
2143
+ }, {
2144
+ type: string;
2145
+ id: string;
2146
+ }>, "many">, z.ZodObject<{
2147
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2148
+ token_type: z.ZodEffects<z.ZodString, string, string>;
2149
+ received: z.ZodArray<z.ZodObject<{
2150
+ id: z.ZodString;
2151
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2152
+ payment: z.ZodString;
2153
+ }, "strict", z.ZodTypeAny, {
2154
+ id: string;
2155
+ balance: string | number;
2156
+ payment: string;
2157
+ }, {
2158
+ id: string;
2159
+ balance: string | number;
2160
+ payment: string;
2161
+ }>, "many">;
2162
+ }, "strict", z.ZodTypeAny, {
2163
+ received: {
2164
+ id: string;
2165
+ balance: string | number;
2166
+ payment: string;
2167
+ }[];
2168
+ balance: string | number;
2169
+ token_type: string;
2170
+ }, {
2171
+ received: {
2172
+ id: string;
2173
+ balance: string | number;
2174
+ payment: string;
2175
+ }[];
2176
+ balance: string | number;
2177
+ token_type: string;
2178
+ }>, z.ZodLiteral<"recently">]>>;
2179
+ um: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
2180
+ }, "strict", z.ZodTypeAny, {
2181
+ object?: string | {
2182
+ name?: string | undefined;
2183
+ replaceExistName?: boolean | undefined;
2184
+ tags?: string[] | undefined;
2185
+ onChain?: boolean | undefined;
2186
+ } | undefined;
2187
+ description?: string | undefined;
2188
+ owner_receive?: {
2189
+ received: {
2190
+ id: string;
2191
+ balance: string | number;
2192
+ payment: string;
2193
+ }[];
2194
+ balance: string | number;
2195
+ token_type: string;
2196
+ } | "recently" | {
2197
+ type: string;
2198
+ id: string;
2199
+ }[] | undefined;
2200
+ entity?: {
2201
+ op: "swap";
2202
+ entity1: {
2203
+ name_or_address?: string | undefined;
2204
+ local_mark_first?: boolean | undefined;
2205
+ };
2206
+ entity2: {
2207
+ name_or_address?: string | undefined;
2208
+ local_mark_first?: boolean | undefined;
2209
+ };
2210
+ } | {
2211
+ op: "replace";
2212
+ entity1: {
2213
+ name_or_address?: string | undefined;
2214
+ local_mark_first?: boolean | undefined;
2215
+ };
2216
+ entity2: {
2217
+ name_or_address?: string | undefined;
2218
+ local_mark_first?: boolean | undefined;
2219
+ };
2220
+ } | {
2221
+ op: "copy";
2222
+ entity1: {
2223
+ name_or_address?: string | undefined;
2224
+ local_mark_first?: boolean | undefined;
2225
+ };
2226
+ entity2: {
2227
+ name_or_address?: string | undefined;
2228
+ local_mark_first?: boolean | undefined;
2229
+ };
2230
+ } | {
2231
+ op: "del";
2232
+ entity: {
2233
+ name_or_address?: string | undefined;
2234
+ local_mark_first?: boolean | undefined;
2235
+ };
2236
+ } | undefined;
2237
+ um?: string | null | undefined;
2238
+ builder?: {
2239
+ name_or_address?: string | undefined;
2240
+ local_mark_first?: boolean | undefined;
2241
+ } | undefined;
2242
+ admin?: {
2243
+ op: "set" | "add" | "remove";
2244
+ addresses: {
2245
+ entities: {
2246
+ name_or_address?: string | undefined;
2247
+ local_mark_first?: boolean | undefined;
2248
+ }[];
2249
+ check_all_founded?: boolean | undefined;
2250
+ };
2251
+ } | undefined;
2252
+ remark?: {
2253
+ op: "set";
2254
+ index: number;
2255
+ remark: string;
2256
+ } | {
2257
+ op: "remove";
2258
+ index: number;
2259
+ } | {
2260
+ op: "clear";
2261
+ } | undefined;
2262
+ table?: {
2263
+ op: "add perm by index";
2264
+ entity: {
2265
+ entities: {
2266
+ name_or_address?: string | undefined;
2267
+ local_mark_first?: boolean | undefined;
2268
+ }[];
2269
+ check_all_founded?: boolean | undefined;
2270
+ };
2271
+ index: number;
2272
+ } | {
2273
+ op: "set perm by index";
2274
+ entity: {
2275
+ entities: {
2276
+ name_or_address?: string | undefined;
2277
+ local_mark_first?: boolean | undefined;
2278
+ }[];
2279
+ check_all_founded?: boolean | undefined;
2280
+ };
2281
+ index: number;
2282
+ } | {
2283
+ op: "remove perm by index";
2284
+ entity: {
2285
+ entities: {
2286
+ name_or_address?: string | undefined;
2287
+ local_mark_first?: boolean | undefined;
2288
+ }[];
2289
+ check_all_founded?: boolean | undefined;
2290
+ };
2291
+ index: number;
2292
+ } | {
2293
+ op: "add perm by entity";
2294
+ entity: {
2295
+ name_or_address?: string | undefined;
2296
+ local_mark_first?: boolean | undefined;
2297
+ };
2298
+ index: number[];
2299
+ } | {
2300
+ op: "set perm by entity";
2301
+ entity: {
2302
+ name_or_address?: string | undefined;
2303
+ local_mark_first?: boolean | undefined;
2304
+ };
2305
+ index: number[];
2306
+ } | {
2307
+ op: "remove perm by entity";
2308
+ entity: {
2309
+ name_or_address?: string | undefined;
2310
+ local_mark_first?: boolean | undefined;
2311
+ };
2312
+ index: number[];
2313
+ } | undefined;
2314
+ apply?: string[] | undefined;
2315
+ }, {
2316
+ object?: string | {
2317
+ name?: string | undefined;
2318
+ replaceExistName?: boolean | undefined;
2319
+ tags?: string[] | undefined;
2320
+ onChain?: boolean | undefined;
2321
+ } | undefined;
2322
+ description?: string | undefined;
2323
+ owner_receive?: {
2324
+ received: {
2325
+ id: string;
2326
+ balance: string | number;
2327
+ payment: string;
2328
+ }[];
2329
+ balance: string | number;
2330
+ token_type: string;
2331
+ } | "recently" | {
2332
+ type: string;
2333
+ id: string;
2334
+ }[] | undefined;
2335
+ entity?: {
2336
+ op: "swap";
2337
+ entity1: {
2338
+ name_or_address?: string | undefined;
2339
+ local_mark_first?: boolean | undefined;
2340
+ };
2341
+ entity2: {
2342
+ name_or_address?: string | undefined;
2343
+ local_mark_first?: boolean | undefined;
2344
+ };
2345
+ } | {
2346
+ op: "replace";
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: "copy";
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: "del";
2367
+ entity: {
2368
+ name_or_address?: string | undefined;
2369
+ local_mark_first?: boolean | undefined;
2370
+ };
2371
+ } | undefined;
2372
+ um?: string | null | undefined;
2373
+ builder?: {
2374
+ name_or_address?: string | undefined;
2375
+ local_mark_first?: boolean | undefined;
2376
+ } | undefined;
2377
+ admin?: {
2378
+ op: "set" | "add" | "remove";
2379
+ addresses: {
2380
+ entities: {
2381
+ name_or_address?: string | undefined;
2382
+ local_mark_first?: boolean | undefined;
2383
+ }[];
2384
+ check_all_founded?: boolean | undefined;
2385
+ };
2386
+ } | undefined;
2387
+ remark?: {
2388
+ op: "set";
2389
+ index: number;
2390
+ remark: string;
2391
+ } | {
2392
+ op: "remove";
2393
+ index: number;
2394
+ } | {
2395
+ op: "clear";
2396
+ } | undefined;
2397
+ table?: {
2398
+ op: "add perm by index";
2399
+ entity: {
2400
+ entities: {
2401
+ name_or_address?: string | undefined;
2402
+ local_mark_first?: boolean | undefined;
2403
+ }[];
2404
+ check_all_founded?: boolean | undefined;
2405
+ };
2406
+ index: number;
2407
+ } | {
2408
+ op: "set 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: "remove 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: "add perm by entity";
2429
+ entity: {
2430
+ name_or_address?: string | undefined;
2431
+ local_mark_first?: boolean | undefined;
2432
+ };
2433
+ index: number[];
2434
+ } | {
2435
+ op: "set perm by entity";
2436
+ entity: {
2437
+ name_or_address?: string | undefined;
2438
+ local_mark_first?: boolean | undefined;
2439
+ };
2440
+ index: number[];
2441
+ } | {
2442
+ op: "remove perm by entity";
2443
+ entity: {
2444
+ name_or_address?: string | undefined;
2445
+ local_mark_first?: boolean | undefined;
2446
+ };
2447
+ index: number[];
2448
+ } | undefined;
2449
+ apply?: string[] | undefined;
2450
+ }>;
2451
+ env: z.ZodOptional<z.ZodObject<{
2452
+ account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
2453
+ permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2454
+ no_cache: z.ZodOptional<z.ZodBoolean>;
2455
+ network: z.ZodOptional<z.ZodEnum<[import("wowok").ENTRYPOINT.Localnet, import("wowok").ENTRYPOINT.Testnet]>>;
2456
+ referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2457
+ }, "strict", z.ZodTypeAny, {
2458
+ account: string;
2459
+ no_cache?: boolean | undefined;
2460
+ network?: import("wowok").ENTRYPOINT | undefined;
2461
+ permission_guard?: string[] | undefined;
2462
+ referrer?: string | undefined;
2463
+ }, {
2464
+ no_cache?: boolean | undefined;
2465
+ network?: import("wowok").ENTRYPOINT | undefined;
2466
+ account?: string | undefined;
2467
+ permission_guard?: string[] | undefined;
2468
+ referrer?: string | undefined;
2469
+ }>>;
2470
+ submission: z.ZodOptional<z.ZodObject<{
2471
+ type: z.ZodLiteral<"submission">;
2472
+ guard: z.ZodArray<z.ZodObject<{
2473
+ object: z.ZodEffects<z.ZodString, string, string>;
2474
+ impack: z.ZodBoolean;
2475
+ }, "strict", z.ZodTypeAny, {
2476
+ object: string;
2477
+ impack: boolean;
2478
+ }, {
2479
+ object: string;
2480
+ impack: boolean;
2481
+ }>, "many">;
2482
+ submission: z.ZodArray<z.ZodObject<{
2483
+ guard: z.ZodEffects<z.ZodString, string, string>;
2484
+ submission: z.ZodArray<z.ZodObject<{
2485
+ identifier: z.ZodNumber;
2486
+ b_submission: z.ZodBoolean;
2487
+ 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">]>;
2488
+ value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
2489
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2490
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
2491
+ }, "strict", z.ZodTypeAny, {
2492
+ name_or_address?: string | undefined;
2493
+ local_mark_first?: boolean | undefined;
2494
+ }, {
2495
+ name_or_address?: string | undefined;
2496
+ local_mark_first?: boolean | undefined;
2497
+ }>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean, "many">, z.ZodUnion<[z.ZodObject<{
2498
+ entities: z.ZodArray<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
+ }>, "many">;
2508
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
2509
+ }, "strict", z.ZodTypeAny, {
2510
+ entities: {
2511
+ name_or_address?: string | undefined;
2512
+ local_mark_first?: boolean | undefined;
2513
+ }[];
2514
+ check_all_founded?: boolean | undefined;
2515
+ }, {
2516
+ entities: {
2517
+ name_or_address?: string | undefined;
2518
+ local_mark_first?: boolean | undefined;
2519
+ }[];
2520
+ check_all_founded?: boolean | undefined;
2521
+ }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>>;
2522
+ name: z.ZodDefault<z.ZodString>;
2523
+ } & {
2524
+ 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]>>;
2525
+ }, "strict", z.ZodTypeAny, {
2526
+ identifier: number;
2527
+ b_submission: boolean;
2528
+ 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";
2529
+ name: string;
2530
+ value?: string | number | boolean | {
2531
+ name_or_address?: string | undefined;
2532
+ local_mark_first?: boolean | undefined;
2533
+ } | {
2534
+ entities: {
2535
+ name_or_address?: string | undefined;
2536
+ local_mark_first?: boolean | undefined;
2537
+ }[];
2538
+ check_all_founded?: boolean | undefined;
2539
+ } | boolean[] | string[] | number[] | number[][] | undefined;
2540
+ object_type?: import("wowok").ObjectType | undefined;
2541
+ }, {
2542
+ identifier: number;
2543
+ b_submission: boolean;
2544
+ 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";
2545
+ value?: string | number | boolean | {
2546
+ name_or_address?: string | undefined;
2547
+ local_mark_first?: boolean | undefined;
2548
+ } | {
2549
+ entities: {
2550
+ name_or_address?: string | undefined;
2551
+ local_mark_first?: boolean | undefined;
2552
+ }[];
2553
+ check_all_founded?: boolean | undefined;
2554
+ } | boolean[] | string[] | number[] | number[][] | undefined;
2555
+ name?: string | undefined;
2556
+ object_type?: import("wowok").ObjectType | undefined;
2557
+ }>, "many">;
2558
+ }, "strict", z.ZodTypeAny, {
2559
+ guard: string;
2560
+ submission: {
2561
+ identifier: number;
2562
+ b_submission: boolean;
2563
+ 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";
2564
+ name: string;
2565
+ value?: string | number | boolean | {
2566
+ name_or_address?: string | undefined;
2567
+ local_mark_first?: boolean | undefined;
2568
+ } | {
2569
+ entities: {
2570
+ name_or_address?: string | undefined;
2571
+ local_mark_first?: boolean | undefined;
2572
+ }[];
2573
+ check_all_founded?: boolean | undefined;
2574
+ } | boolean[] | string[] | number[] | number[][] | undefined;
2575
+ object_type?: import("wowok").ObjectType | undefined;
2576
+ }[];
2577
+ }, {
2578
+ guard: string;
2579
+ submission: {
2580
+ identifier: number;
2581
+ b_submission: boolean;
2582
+ 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";
2583
+ value?: string | number | boolean | {
2584
+ name_or_address?: string | undefined;
2585
+ local_mark_first?: boolean | undefined;
2586
+ } | {
2587
+ entities: {
2588
+ name_or_address?: string | undefined;
2589
+ local_mark_first?: boolean | undefined;
2590
+ }[];
2591
+ check_all_founded?: boolean | undefined;
2592
+ } | boolean[] | string[] | number[] | number[][] | undefined;
2593
+ name?: string | undefined;
2594
+ object_type?: import("wowok").ObjectType | undefined;
2595
+ }[];
2596
+ }>, "many">;
2597
+ }, "strict", z.ZodTypeAny, {
2598
+ type: "submission";
2599
+ guard: {
2600
+ object: string;
2601
+ impack: boolean;
2602
+ }[];
2603
+ submission: {
2604
+ guard: string;
2605
+ submission: {
2606
+ identifier: number;
2607
+ b_submission: boolean;
2608
+ 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";
2609
+ name: string;
2610
+ value?: string | number | boolean | {
2611
+ name_or_address?: string | undefined;
2612
+ local_mark_first?: boolean | undefined;
2613
+ } | {
2614
+ entities: {
2615
+ name_or_address?: string | undefined;
2616
+ local_mark_first?: boolean | undefined;
2617
+ }[];
2618
+ check_all_founded?: boolean | undefined;
2619
+ } | boolean[] | string[] | number[] | number[][] | undefined;
2620
+ object_type?: import("wowok").ObjectType | undefined;
2621
+ }[];
2622
+ }[];
2623
+ }, {
2624
+ type: "submission";
2625
+ guard: {
2626
+ object: string;
2627
+ impack: boolean;
2628
+ }[];
2629
+ submission: {
2630
+ guard: string;
2631
+ submission: {
2632
+ identifier: number;
2633
+ b_submission: boolean;
2634
+ 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";
2635
+ value?: string | number | boolean | {
2636
+ name_or_address?: string | undefined;
2637
+ local_mark_first?: boolean | undefined;
2638
+ } | {
2639
+ entities: {
2640
+ name_or_address?: string | undefined;
2641
+ local_mark_first?: boolean | undefined;
2642
+ }[];
2643
+ check_all_founded?: boolean | undefined;
2644
+ } | boolean[] | string[] | number[] | number[][] | undefined;
2645
+ name?: string | undefined;
2646
+ object_type?: import("wowok").ObjectType | undefined;
2647
+ }[];
2648
+ }[];
2649
+ }>>;
2650
+ }, "strict", z.ZodTypeAny, {
2651
+ data: {
2652
+ object?: string | {
2653
+ name?: string | undefined;
2654
+ replaceExistName?: boolean | undefined;
2655
+ tags?: string[] | undefined;
2656
+ onChain?: boolean | undefined;
2657
+ } | undefined;
2658
+ description?: string | undefined;
2659
+ owner_receive?: {
2660
+ received: {
2661
+ id: string;
2662
+ balance: string | number;
2663
+ payment: string;
2664
+ }[];
2665
+ balance: string | number;
2666
+ token_type: string;
2667
+ } | "recently" | {
2668
+ type: string;
2669
+ id: string;
2670
+ }[] | undefined;
2671
+ entity?: {
2672
+ op: "swap";
2673
+ entity1: {
2674
+ name_or_address?: string | undefined;
2675
+ local_mark_first?: boolean | undefined;
2676
+ };
2677
+ entity2: {
2678
+ name_or_address?: string | undefined;
2679
+ local_mark_first?: boolean | undefined;
2680
+ };
2681
+ } | {
2682
+ op: "replace";
2683
+ entity1: {
2684
+ name_or_address?: string | undefined;
2685
+ local_mark_first?: boolean | undefined;
2686
+ };
2687
+ entity2: {
2688
+ name_or_address?: string | undefined;
2689
+ local_mark_first?: boolean | undefined;
2690
+ };
2691
+ } | {
2692
+ op: "copy";
2693
+ entity1: {
2694
+ name_or_address?: string | undefined;
2695
+ local_mark_first?: boolean | undefined;
2696
+ };
2697
+ entity2: {
2698
+ name_or_address?: string | undefined;
2699
+ local_mark_first?: boolean | undefined;
2700
+ };
2701
+ } | {
2702
+ op: "del";
2703
+ entity: {
2704
+ name_or_address?: string | undefined;
2705
+ local_mark_first?: boolean | undefined;
2706
+ };
2707
+ } | undefined;
2708
+ um?: string | null | undefined;
2709
+ builder?: {
2710
+ name_or_address?: string | undefined;
2711
+ local_mark_first?: boolean | undefined;
2712
+ } | undefined;
2713
+ admin?: {
2714
+ op: "set" | "add" | "remove";
2715
+ addresses: {
2716
+ entities: {
2717
+ name_or_address?: string | undefined;
2718
+ local_mark_first?: boolean | undefined;
2719
+ }[];
2720
+ check_all_founded?: boolean | undefined;
2721
+ };
2722
+ } | undefined;
2723
+ remark?: {
2724
+ op: "set";
2725
+ index: number;
2726
+ remark: string;
2727
+ } | {
2728
+ op: "remove";
2729
+ index: number;
2730
+ } | {
2731
+ op: "clear";
2732
+ } | undefined;
2733
+ table?: {
2734
+ op: "add perm by index";
2735
+ entity: {
2736
+ entities: {
2737
+ name_or_address?: string | undefined;
2738
+ local_mark_first?: boolean | undefined;
2739
+ }[];
2740
+ check_all_founded?: boolean | undefined;
2741
+ };
2742
+ index: number;
2743
+ } | {
2744
+ op: "set perm by index";
2745
+ entity: {
2746
+ entities: {
2747
+ name_or_address?: string | undefined;
2748
+ local_mark_first?: boolean | undefined;
2749
+ }[];
2750
+ check_all_founded?: boolean | undefined;
2751
+ };
2752
+ index: number;
2753
+ } | {
2754
+ op: "remove perm by index";
2755
+ entity: {
2756
+ entities: {
2757
+ name_or_address?: string | undefined;
2758
+ local_mark_first?: boolean | undefined;
2759
+ }[];
2760
+ check_all_founded?: boolean | undefined;
2761
+ };
2762
+ index: number;
2763
+ } | {
2764
+ op: "add perm by entity";
2765
+ entity: {
2766
+ name_or_address?: string | undefined;
2767
+ local_mark_first?: boolean | undefined;
2768
+ };
2769
+ index: number[];
2770
+ } | {
2771
+ op: "set perm by entity";
2772
+ entity: {
2773
+ name_or_address?: string | undefined;
2774
+ local_mark_first?: boolean | undefined;
2775
+ };
2776
+ index: number[];
2777
+ } | {
2778
+ op: "remove perm by entity";
2779
+ entity: {
2780
+ name_or_address?: string | undefined;
2781
+ local_mark_first?: boolean | undefined;
2782
+ };
2783
+ index: number[];
2784
+ } | undefined;
2785
+ apply?: string[] | undefined;
2786
+ };
2787
+ submission?: {
2788
+ type: "submission";
2789
+ guard: {
2790
+ object: string;
2791
+ impack: boolean;
2792
+ }[];
2793
+ submission: {
2794
+ guard: string;
2795
+ submission: {
2796
+ identifier: number;
2797
+ b_submission: boolean;
2798
+ 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";
2799
+ name: string;
2800
+ value?: string | number | boolean | {
2801
+ name_or_address?: string | undefined;
2802
+ local_mark_first?: boolean | undefined;
2803
+ } | {
2804
+ entities: {
2805
+ name_or_address?: string | undefined;
2806
+ local_mark_first?: boolean | undefined;
2807
+ }[];
2808
+ check_all_founded?: boolean | undefined;
2809
+ } | boolean[] | string[] | number[] | number[][] | undefined;
2810
+ object_type?: import("wowok").ObjectType | undefined;
2811
+ }[];
2812
+ }[];
2813
+ } | undefined;
2814
+ env?: {
2815
+ account: string;
2816
+ no_cache?: boolean | undefined;
2817
+ network?: import("wowok").ENTRYPOINT | undefined;
2818
+ permission_guard?: string[] | undefined;
2819
+ referrer?: string | undefined;
2820
+ } | undefined;
2821
+ }, {
2822
+ data: {
2823
+ object?: string | {
2824
+ name?: string | undefined;
2825
+ replaceExistName?: boolean | undefined;
2826
+ tags?: string[] | undefined;
2827
+ onChain?: boolean | undefined;
2828
+ } | undefined;
2829
+ description?: string | undefined;
2830
+ owner_receive?: {
2831
+ received: {
2832
+ id: string;
2833
+ balance: string | number;
2834
+ payment: string;
2835
+ }[];
2836
+ balance: string | number;
2837
+ token_type: string;
2838
+ } | "recently" | {
2839
+ type: string;
2840
+ id: string;
2841
+ }[] | undefined;
2842
+ entity?: {
2843
+ op: "swap";
2844
+ entity1: {
2845
+ name_or_address?: string | undefined;
2846
+ local_mark_first?: boolean | undefined;
2847
+ };
2848
+ entity2: {
2849
+ name_or_address?: string | undefined;
2850
+ local_mark_first?: boolean | undefined;
2851
+ };
2852
+ } | {
2853
+ op: "replace";
2854
+ entity1: {
2855
+ name_or_address?: string | undefined;
2856
+ local_mark_first?: boolean | undefined;
2857
+ };
2858
+ entity2: {
2859
+ name_or_address?: string | undefined;
2860
+ local_mark_first?: boolean | undefined;
2861
+ };
2862
+ } | {
2863
+ op: "copy";
2864
+ entity1: {
2865
+ name_or_address?: string | undefined;
2866
+ local_mark_first?: boolean | undefined;
2867
+ };
2868
+ entity2: {
2869
+ name_or_address?: string | undefined;
2870
+ local_mark_first?: boolean | undefined;
2871
+ };
2872
+ } | {
2873
+ op: "del";
2874
+ entity: {
2875
+ name_or_address?: string | undefined;
2876
+ local_mark_first?: boolean | undefined;
2877
+ };
2878
+ } | undefined;
2879
+ um?: string | null | undefined;
2880
+ builder?: {
2881
+ name_or_address?: string | undefined;
2882
+ local_mark_first?: boolean | undefined;
2883
+ } | undefined;
2884
+ admin?: {
2885
+ op: "set" | "add" | "remove";
2886
+ addresses: {
2887
+ entities: {
2888
+ name_or_address?: string | undefined;
2889
+ local_mark_first?: boolean | undefined;
2890
+ }[];
2891
+ check_all_founded?: boolean | undefined;
2892
+ };
2893
+ } | undefined;
2894
+ remark?: {
2895
+ op: "set";
2896
+ index: number;
2897
+ remark: string;
2898
+ } | {
2899
+ op: "remove";
2900
+ index: number;
2901
+ } | {
2902
+ op: "clear";
2903
+ } | undefined;
2904
+ table?: {
2905
+ op: "add perm by index";
2906
+ entity: {
2907
+ entities: {
2908
+ name_or_address?: string | undefined;
2909
+ local_mark_first?: boolean | undefined;
2910
+ }[];
2911
+ check_all_founded?: boolean | undefined;
2912
+ };
2913
+ index: number;
2914
+ } | {
2915
+ op: "set perm by index";
2916
+ entity: {
2917
+ entities: {
2918
+ name_or_address?: string | undefined;
2919
+ local_mark_first?: boolean | undefined;
2920
+ }[];
2921
+ check_all_founded?: boolean | undefined;
2922
+ };
2923
+ index: number;
2924
+ } | {
2925
+ op: "remove perm by index";
2926
+ entity: {
2927
+ entities: {
2928
+ name_or_address?: string | undefined;
2929
+ local_mark_first?: boolean | undefined;
2930
+ }[];
2931
+ check_all_founded?: boolean | undefined;
2932
+ };
2933
+ index: number;
2934
+ } | {
2935
+ op: "add perm by entity";
2936
+ entity: {
2937
+ name_or_address?: string | undefined;
2938
+ local_mark_first?: boolean | undefined;
2939
+ };
2940
+ index: number[];
2941
+ } | {
2942
+ op: "set perm by entity";
2943
+ entity: {
2944
+ name_or_address?: string | undefined;
2945
+ local_mark_first?: boolean | undefined;
2946
+ };
2947
+ index: number[];
2948
+ } | {
2949
+ op: "remove perm by entity";
2950
+ entity: {
2951
+ name_or_address?: string | undefined;
2952
+ local_mark_first?: boolean | undefined;
2953
+ };
2954
+ index: number[];
2955
+ } | undefined;
2956
+ apply?: string[] | undefined;
2957
+ };
2958
+ submission?: {
2959
+ type: "submission";
2960
+ guard: {
2961
+ object: string;
2962
+ impack: boolean;
2963
+ }[];
2964
+ submission: {
2965
+ guard: string;
2966
+ submission: {
2967
+ identifier: number;
2968
+ b_submission: boolean;
2969
+ 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";
2970
+ value?: string | number | boolean | {
2971
+ name_or_address?: string | undefined;
2972
+ local_mark_first?: boolean | undefined;
2973
+ } | {
2974
+ entities: {
2975
+ name_or_address?: string | undefined;
2976
+ local_mark_first?: boolean | undefined;
2977
+ }[];
2978
+ check_all_founded?: boolean | undefined;
2979
+ } | boolean[] | string[] | number[] | number[][] | undefined;
2980
+ name?: string | undefined;
2981
+ object_type?: import("wowok").ObjectType | undefined;
2982
+ }[];
2983
+ }[];
2984
+ } | undefined;
2985
+ env?: {
2986
+ no_cache?: boolean | undefined;
2987
+ network?: import("wowok").ENTRYPOINT | undefined;
2988
+ account?: string | undefined;
2989
+ permission_guard?: string[] | undefined;
2990
+ referrer?: string | undefined;
2991
+ } | undefined;
2992
+ }>;
15
2993
  export type RemarkSet = z.infer<typeof RemarkSetSchema>;
16
2994
  export type RemarkRemove = z.infer<typeof RemarkRemoveSchema>;
17
2995
  export type RemarkClear = z.infer<typeof RemarkClearSchema>;