wowok_agent 1.6.6 → 2.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


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

Files changed (181) hide show
  1. package/README.md +20 -40
  2. package/dist/index.d.ts +13528 -27
  3. package/dist/index.js +1026 -27
  4. package/dist/schema/call/allocation.d.ts +1370 -0
  5. package/dist/schema/call/allocation.js +27 -0
  6. package/dist/schema/call/arbitration.d.ts +1902 -0
  7. package/dist/schema/call/arbitration.js +106 -0
  8. package/dist/schema/call/base.d.ts +6381 -0
  9. package/dist/schema/call/base.js +152 -0
  10. package/dist/schema/call/contact.d.ts +898 -0
  11. package/dist/schema/call/contact.js +41 -0
  12. package/dist/schema/call/demand.d.ts +1193 -0
  13. package/dist/schema/call/demand.js +51 -0
  14. package/dist/schema/call/guard.d.ts +819 -0
  15. package/dist/schema/call/guard.js +67 -0
  16. package/dist/schema/call/handler.d.ts +80 -0
  17. package/dist/schema/call/handler.js +177 -0
  18. package/dist/schema/call/index.d.ts +18 -0
  19. package/dist/schema/call/index.js +19 -0
  20. package/dist/schema/call/machine.d.ts +3906 -0
  21. package/dist/schema/call/machine.js +164 -0
  22. package/dist/schema/call/order.d.ts +994 -0
  23. package/dist/schema/call/order.js +39 -0
  24. package/dist/schema/call/payment.d.ts +408 -0
  25. package/dist/schema/call/payment.js +20 -0
  26. package/dist/schema/call/permission.d.ts +2945 -0
  27. package/dist/schema/call/permission.js +118 -0
  28. package/dist/schema/call/personal.d.ts +1498 -0
  29. package/dist/schema/call/personal.js +81 -0
  30. package/dist/schema/call/progress.d.ts +847 -0
  31. package/dist/schema/call/progress.js +37 -0
  32. package/dist/schema/call/proof.d.ts +328 -0
  33. package/dist/schema/call/proof.js +27 -0
  34. package/dist/schema/call/repository.d.ts +2220 -0
  35. package/dist/schema/call/repository.js +85 -0
  36. package/dist/schema/call/reward.d.ts +1178 -0
  37. package/dist/schema/call/reward.js +46 -0
  38. package/dist/schema/call/service.d.ts +3534 -0
  39. package/dist/schema/call/service.js +87 -0
  40. package/dist/schema/call/treasury.d.ts +2399 -0
  41. package/dist/schema/call/treasury.js +76 -0
  42. package/dist/schema/common/index.d.ts +623 -0
  43. package/dist/schema/common/index.js +331 -0
  44. package/dist/schema/index.d.ts +7 -0
  45. package/dist/schema/index.js +8 -0
  46. package/dist/schema/local/index.d.ts +7824 -0
  47. package/dist/schema/local/index.js +913 -0
  48. package/dist/schema/local/wip.d.ts +781 -0
  49. package/dist/schema/local/wip.js +229 -0
  50. package/dist/schema/messenger/index.d.ts +3624 -0
  51. package/dist/schema/messenger/index.js +407 -0
  52. package/dist/schema/query/index.d.ts +27176 -0
  53. package/dist/schema/query/index.js +1313 -0
  54. package/dist/schema/utils/guard-parser.d.ts +20 -0
  55. package/dist/schema/utils/guard-parser.js +410 -0
  56. package/dist/schema/utils/guard-query-utils.d.ts +5 -0
  57. package/dist/schema/utils/guard-query-utils.js +22 -0
  58. package/dist/schema/utils/node-parser.d.ts +59 -0
  59. package/dist/schema/utils/node-parser.js +382 -0
  60. package/dist/schema/utils/permission-index-utils.d.ts +2 -0
  61. package/dist/schema/utils/permission-index-utils.js +10 -0
  62. package/package.json +31 -49
  63. package/LICENSE +0 -201
  64. package/dist/call/arbitration.d.ts +0 -57
  65. package/dist/call/arbitration.d.ts.map +0 -1
  66. package/dist/call/arbitration.js +0 -245
  67. package/dist/call/arbitration.js.map +0 -1
  68. package/dist/call/base.d.ts +0 -85
  69. package/dist/call/base.d.ts.map +0 -1
  70. package/dist/call/base.js +0 -231
  71. package/dist/call/base.js.map +0 -1
  72. package/dist/call/call.d.ts +0 -95
  73. package/dist/call/call.d.ts.map +0 -1
  74. package/dist/call/call.js +0 -149
  75. package/dist/call/call.js.map +0 -1
  76. package/dist/call/demand.d.ts +0 -46
  77. package/dist/call/demand.d.ts.map +0 -1
  78. package/dist/call/demand.js +0 -201
  79. package/dist/call/demand.js.map +0 -1
  80. package/dist/call/guard.d.ts +0 -53
  81. package/dist/call/guard.d.ts.map +0 -1
  82. package/dist/call/guard.js +0 -386
  83. package/dist/call/guard.js.map +0 -1
  84. package/dist/call/machine.d.ts +0 -97
  85. package/dist/call/machine.d.ts.map +0 -1
  86. package/dist/call/machine.js +0 -342
  87. package/dist/call/machine.js.map +0 -1
  88. package/dist/call/object_permission.d.ts +0 -14
  89. package/dist/call/object_permission.d.ts.map +0 -1
  90. package/dist/call/object_permission.js +0 -59
  91. package/dist/call/object_permission.js.map +0 -1
  92. package/dist/call/permission.d.ts +0 -63
  93. package/dist/call/permission.d.ts.map +0 -1
  94. package/dist/call/permission.js +0 -137
  95. package/dist/call/permission.js.map +0 -1
  96. package/dist/call/personal.d.ts +0 -47
  97. package/dist/call/personal.d.ts.map +0 -1
  98. package/dist/call/personal.js +0 -119
  99. package/dist/call/personal.js.map +0 -1
  100. package/dist/call/repository.d.ts +0 -117
  101. package/dist/call/repository.d.ts.map +0 -1
  102. package/dist/call/repository.js +0 -408
  103. package/dist/call/repository.js.map +0 -1
  104. package/dist/call/service.d.ts +0 -115
  105. package/dist/call/service.d.ts.map +0 -1
  106. package/dist/call/service.js +0 -550
  107. package/dist/call/service.js.map +0 -1
  108. package/dist/call/treasury.d.ts +0 -46
  109. package/dist/call/treasury.d.ts.map +0 -1
  110. package/dist/call/treasury.js +0 -222
  111. package/dist/call/treasury.js.map +0 -1
  112. package/dist/common.d.ts +0 -12
  113. package/dist/common.d.ts.map +0 -1
  114. package/dist/common.js +0 -71
  115. package/dist/common.js.map +0 -1
  116. package/dist/index.d.ts.map +0 -1
  117. package/dist/index.js.map +0 -1
  118. package/dist/local/.d.ts +0 -20
  119. package/dist/local/.d.ts.map +0 -1
  120. package/dist/local/.js +0 -76
  121. package/dist/local/.js.map +0 -1
  122. package/dist/local/account.d.ts +0 -42
  123. package/dist/local/account.d.ts.map +0 -1
  124. package/dist/local/account.js +0 -335
  125. package/dist/local/account.js.map +0 -1
  126. package/dist/local/cache.d.ts +0 -32
  127. package/dist/local/cache.d.ts.map +0 -1
  128. package/dist/local/cache.js +0 -77
  129. package/dist/local/cache.js.map +0 -1
  130. package/dist/local/coin.d.ts +0 -22
  131. package/dist/local/coin.d.ts.map +0 -1
  132. package/dist/local/coin.js +0 -123
  133. package/dist/local/coin.js.map +0 -1
  134. package/dist/local/config.d.ts +0 -20
  135. package/dist/local/config.d.ts.map +0 -1
  136. package/dist/local/config.js +0 -75
  137. package/dist/local/config.js.map +0 -1
  138. package/dist/local/index.d.ts +0 -110
  139. package/dist/local/index.d.ts.map +0 -1
  140. package/dist/local/index.js +0 -122
  141. package/dist/local/index.js.map +0 -1
  142. package/dist/local/local.d.ts +0 -55
  143. package/dist/local/local.d.ts.map +0 -1
  144. package/dist/local/local.js +0 -248
  145. package/dist/local/local.js.map +0 -1
  146. package/dist/query/events.d.ts +0 -65
  147. package/dist/query/events.d.ts.map +0 -1
  148. package/dist/query/events.js +0 -75
  149. package/dist/query/events.js.map +0 -1
  150. package/dist/query/objects.d.ts +0 -346
  151. package/dist/query/objects.d.ts.map +0 -1
  152. package/dist/query/objects.js +0 -472
  153. package/dist/query/objects.js.map +0 -1
  154. package/dist/query/permission.d.ts +0 -15
  155. package/dist/query/permission.d.ts.map +0 -1
  156. package/dist/query/permission.js +0 -45
  157. package/dist/query/permission.js.map +0 -1
  158. package/dist/query/received.d.ts +0 -16
  159. package/dist/query/received.d.ts.map +0 -1
  160. package/dist/query/received.js +0 -16
  161. package/dist/query/received.js.map +0 -1
  162. package/dist/schema/call.d.ts +0 -13005
  163. package/dist/schema/call.d.ts.map +0 -1
  164. package/dist/schema/call.js +0 -997
  165. package/dist/schema/call.js.map +0 -1
  166. package/dist/schema/const.d.ts +0 -254
  167. package/dist/schema/const.d.ts.map +0 -1
  168. package/dist/schema/const.js +0 -305
  169. package/dist/schema/const.js.map +0 -1
  170. package/dist/schema/local.d.ts +0 -702
  171. package/dist/schema/local.d.ts.map +0 -1
  172. package/dist/schema/local.js +0 -150
  173. package/dist/schema/local.js.map +0 -1
  174. package/dist/schema/query.d.ts +0 -1465
  175. package/dist/schema/query.d.ts.map +0 -1
  176. package/dist/schema/query.js +0 -224
  177. package/dist/schema/query.js.map +0 -1
  178. package/dist/schema/util.d.ts +0 -71
  179. package/dist/schema/util.d.ts.map +0 -1
  180. package/dist/schema/util.js +0 -139
  181. package/dist/schema/util.js.map +0 -1
@@ -0,0 +1,2945 @@
1
+ import { z } from "zod";
2
+ export declare const RemarkSetSchema: z.ZodObject<{
3
+ op: z.ZodLiteral<"set">;
4
+ index: z.ZodEffects<z.ZodNumber, number, number>;
5
+ remark: z.ZodEffects<z.ZodString, string, string>;
6
+ }, "strict", z.ZodTypeAny, {
7
+ op: "set";
8
+ index: number;
9
+ remark: string;
10
+ }, {
11
+ op: "set";
12
+ index: number;
13
+ remark: string;
14
+ }>;
15
+ export declare const RemarkRemoveSchema: z.ZodObject<{
16
+ op: z.ZodLiteral<"remove">;
17
+ index: z.ZodEffects<z.ZodNumber, number, number>;
18
+ }, "strict", z.ZodTypeAny, {
19
+ op: "remove";
20
+ index: number;
21
+ }, {
22
+ op: "remove";
23
+ index: number;
24
+ }>;
25
+ export declare const RemarkClearSchema: z.ZodObject<{
26
+ op: z.ZodLiteral<"clear">;
27
+ }, "strict", z.ZodTypeAny, {
28
+ op: "clear";
29
+ }, {
30
+ op: "clear";
31
+ }>;
32
+ export declare const RemarkSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
33
+ op: z.ZodLiteral<"set">;
34
+ index: z.ZodEffects<z.ZodNumber, number, number>;
35
+ remark: z.ZodEffects<z.ZodString, string, string>;
36
+ }, "strict", z.ZodTypeAny, {
37
+ op: "set";
38
+ index: number;
39
+ remark: string;
40
+ }, {
41
+ op: "set";
42
+ index: number;
43
+ remark: string;
44
+ }>, z.ZodObject<{
45
+ op: z.ZodLiteral<"remove">;
46
+ index: z.ZodEffects<z.ZodNumber, number, number>;
47
+ }, "strict", z.ZodTypeAny, {
48
+ op: "remove";
49
+ index: number;
50
+ }, {
51
+ op: "remove";
52
+ index: number;
53
+ }>, z.ZodObject<{
54
+ op: z.ZodLiteral<"clear">;
55
+ }, "strict", z.ZodTypeAny, {
56
+ op: "clear";
57
+ }, {
58
+ op: "clear";
59
+ }>]>;
60
+ export declare const TablePermByIndexSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
61
+ op: z.ZodLiteral<"add perm by index">;
62
+ index: z.ZodEffects<z.ZodNumber, number, number>;
63
+ entity: z.ZodObject<{
64
+ entities: z.ZodArray<z.ZodObject<{
65
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
66
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
67
+ }, "strict", z.ZodTypeAny, {
68
+ name_or_address?: string | undefined;
69
+ local_mark_first?: boolean | undefined;
70
+ }, {
71
+ name_or_address?: string | undefined;
72
+ local_mark_first?: boolean | undefined;
73
+ }>, "many">;
74
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
75
+ }, "strict", z.ZodTypeAny, {
76
+ entities: {
77
+ name_or_address?: string | undefined;
78
+ local_mark_first?: boolean | undefined;
79
+ }[];
80
+ check_all_founded?: boolean | undefined;
81
+ }, {
82
+ entities: {
83
+ name_or_address?: string | undefined;
84
+ local_mark_first?: boolean | undefined;
85
+ }[];
86
+ check_all_founded?: boolean | undefined;
87
+ }>;
88
+ }, "strict", z.ZodTypeAny, {
89
+ op: "add perm by index";
90
+ entity: {
91
+ entities: {
92
+ name_or_address?: string | undefined;
93
+ local_mark_first?: boolean | undefined;
94
+ }[];
95
+ check_all_founded?: boolean | undefined;
96
+ };
97
+ index: number;
98
+ }, {
99
+ op: "add perm by index";
100
+ entity: {
101
+ entities: {
102
+ name_or_address?: string | undefined;
103
+ local_mark_first?: boolean | undefined;
104
+ }[];
105
+ check_all_founded?: boolean | undefined;
106
+ };
107
+ index: number;
108
+ }>, z.ZodObject<{
109
+ op: z.ZodLiteral<"set perm by index">;
110
+ index: z.ZodEffects<z.ZodNumber, number, number>;
111
+ entity: z.ZodObject<{
112
+ entities: z.ZodArray<z.ZodObject<{
113
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
114
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
115
+ }, "strict", z.ZodTypeAny, {
116
+ name_or_address?: string | undefined;
117
+ local_mark_first?: boolean | undefined;
118
+ }, {
119
+ name_or_address?: string | undefined;
120
+ local_mark_first?: boolean | undefined;
121
+ }>, "many">;
122
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
123
+ }, "strict", z.ZodTypeAny, {
124
+ entities: {
125
+ name_or_address?: string | undefined;
126
+ local_mark_first?: boolean | undefined;
127
+ }[];
128
+ check_all_founded?: boolean | undefined;
129
+ }, {
130
+ entities: {
131
+ name_or_address?: string | undefined;
132
+ local_mark_first?: boolean | undefined;
133
+ }[];
134
+ check_all_founded?: boolean | undefined;
135
+ }>;
136
+ }, "strict", z.ZodTypeAny, {
137
+ op: "set perm by index";
138
+ entity: {
139
+ entities: {
140
+ name_or_address?: string | undefined;
141
+ local_mark_first?: boolean | undefined;
142
+ }[];
143
+ check_all_founded?: boolean | undefined;
144
+ };
145
+ index: number;
146
+ }, {
147
+ op: "set perm by index";
148
+ entity: {
149
+ entities: {
150
+ name_or_address?: string | undefined;
151
+ local_mark_first?: boolean | undefined;
152
+ }[];
153
+ check_all_founded?: boolean | undefined;
154
+ };
155
+ index: number;
156
+ }>, z.ZodObject<{
157
+ op: z.ZodLiteral<"remove perm by index">;
158
+ index: z.ZodEffects<z.ZodNumber, number, number>;
159
+ entity: z.ZodObject<{
160
+ entities: z.ZodArray<z.ZodObject<{
161
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
162
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
163
+ }, "strict", z.ZodTypeAny, {
164
+ name_or_address?: string | undefined;
165
+ local_mark_first?: boolean | undefined;
166
+ }, {
167
+ name_or_address?: string | undefined;
168
+ local_mark_first?: boolean | undefined;
169
+ }>, "many">;
170
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
171
+ }, "strict", z.ZodTypeAny, {
172
+ entities: {
173
+ name_or_address?: string | undefined;
174
+ local_mark_first?: boolean | undefined;
175
+ }[];
176
+ check_all_founded?: boolean | undefined;
177
+ }, {
178
+ entities: {
179
+ name_or_address?: string | undefined;
180
+ local_mark_first?: boolean | undefined;
181
+ }[];
182
+ check_all_founded?: boolean | undefined;
183
+ }>;
184
+ }, "strict", z.ZodTypeAny, {
185
+ op: "remove perm by index";
186
+ entity: {
187
+ entities: {
188
+ name_or_address?: string | undefined;
189
+ local_mark_first?: boolean | undefined;
190
+ }[];
191
+ check_all_founded?: boolean | undefined;
192
+ };
193
+ index: number;
194
+ }, {
195
+ op: "remove perm by index";
196
+ entity: {
197
+ entities: {
198
+ name_or_address?: string | undefined;
199
+ local_mark_first?: boolean | undefined;
200
+ }[];
201
+ check_all_founded?: boolean | undefined;
202
+ };
203
+ index: number;
204
+ }>]>;
205
+ export declare const TablePermByEntitySchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
206
+ op: z.ZodLiteral<"add perm by entity">;
207
+ entity: z.ZodObject<{
208
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
209
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
210
+ }, "strict", z.ZodTypeAny, {
211
+ name_or_address?: string | undefined;
212
+ local_mark_first?: boolean | undefined;
213
+ }, {
214
+ name_or_address?: string | undefined;
215
+ local_mark_first?: boolean | undefined;
216
+ }>;
217
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
218
+ }, "strict", z.ZodTypeAny, {
219
+ op: "add perm by entity";
220
+ entity: {
221
+ name_or_address?: string | undefined;
222
+ local_mark_first?: boolean | undefined;
223
+ };
224
+ index: number[];
225
+ }, {
226
+ op: "add perm by entity";
227
+ entity: {
228
+ name_or_address?: string | undefined;
229
+ local_mark_first?: boolean | undefined;
230
+ };
231
+ index: number[];
232
+ }>, z.ZodObject<{
233
+ op: z.ZodLiteral<"set perm by entity">;
234
+ entity: z.ZodObject<{
235
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
236
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
237
+ }, "strict", z.ZodTypeAny, {
238
+ name_or_address?: string | undefined;
239
+ local_mark_first?: boolean | undefined;
240
+ }, {
241
+ name_or_address?: string | undefined;
242
+ local_mark_first?: boolean | undefined;
243
+ }>;
244
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
245
+ }, "strict", z.ZodTypeAny, {
246
+ op: "set perm by entity";
247
+ entity: {
248
+ name_or_address?: string | undefined;
249
+ local_mark_first?: boolean | undefined;
250
+ };
251
+ index: number[];
252
+ }, {
253
+ op: "set perm by entity";
254
+ entity: {
255
+ name_or_address?: string | undefined;
256
+ local_mark_first?: boolean | undefined;
257
+ };
258
+ index: number[];
259
+ }>, z.ZodObject<{
260
+ op: z.ZodLiteral<"remove perm by entity">;
261
+ entity: z.ZodObject<{
262
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
263
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
264
+ }, "strict", z.ZodTypeAny, {
265
+ name_or_address?: string | undefined;
266
+ local_mark_first?: boolean | undefined;
267
+ }, {
268
+ name_or_address?: string | undefined;
269
+ local_mark_first?: boolean | undefined;
270
+ }>;
271
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
272
+ }, "strict", z.ZodTypeAny, {
273
+ op: "remove perm by entity";
274
+ entity: {
275
+ name_or_address?: string | undefined;
276
+ local_mark_first?: boolean | undefined;
277
+ };
278
+ index: number[];
279
+ }, {
280
+ op: "remove perm by entity";
281
+ entity: {
282
+ name_or_address?: string | undefined;
283
+ local_mark_first?: boolean | undefined;
284
+ };
285
+ index: number[];
286
+ }>]>;
287
+ export declare const TableSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
288
+ op: z.ZodLiteral<"add perm by index">;
289
+ index: z.ZodEffects<z.ZodNumber, number, number>;
290
+ entity: z.ZodObject<{
291
+ entities: z.ZodArray<z.ZodObject<{
292
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
293
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
294
+ }, "strict", z.ZodTypeAny, {
295
+ name_or_address?: string | undefined;
296
+ local_mark_first?: boolean | undefined;
297
+ }, {
298
+ name_or_address?: string | undefined;
299
+ local_mark_first?: boolean | undefined;
300
+ }>, "many">;
301
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
302
+ }, "strict", z.ZodTypeAny, {
303
+ entities: {
304
+ name_or_address?: string | undefined;
305
+ local_mark_first?: boolean | undefined;
306
+ }[];
307
+ check_all_founded?: boolean | undefined;
308
+ }, {
309
+ entities: {
310
+ name_or_address?: string | undefined;
311
+ local_mark_first?: boolean | undefined;
312
+ }[];
313
+ check_all_founded?: boolean | undefined;
314
+ }>;
315
+ }, "strict", z.ZodTypeAny, {
316
+ op: "add perm by index";
317
+ entity: {
318
+ entities: {
319
+ name_or_address?: string | undefined;
320
+ local_mark_first?: boolean | undefined;
321
+ }[];
322
+ check_all_founded?: boolean | undefined;
323
+ };
324
+ index: number;
325
+ }, {
326
+ op: "add perm by index";
327
+ entity: {
328
+ entities: {
329
+ name_or_address?: string | undefined;
330
+ local_mark_first?: boolean | undefined;
331
+ }[];
332
+ check_all_founded?: boolean | undefined;
333
+ };
334
+ index: number;
335
+ }>, z.ZodObject<{
336
+ op: z.ZodLiteral<"set perm by index">;
337
+ index: z.ZodEffects<z.ZodNumber, number, number>;
338
+ entity: z.ZodObject<{
339
+ entities: z.ZodArray<z.ZodObject<{
340
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
341
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
342
+ }, "strict", z.ZodTypeAny, {
343
+ name_or_address?: string | undefined;
344
+ local_mark_first?: boolean | undefined;
345
+ }, {
346
+ name_or_address?: string | undefined;
347
+ local_mark_first?: boolean | undefined;
348
+ }>, "many">;
349
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
350
+ }, "strict", z.ZodTypeAny, {
351
+ entities: {
352
+ name_or_address?: string | undefined;
353
+ local_mark_first?: boolean | undefined;
354
+ }[];
355
+ check_all_founded?: boolean | undefined;
356
+ }, {
357
+ entities: {
358
+ name_or_address?: string | undefined;
359
+ local_mark_first?: boolean | undefined;
360
+ }[];
361
+ check_all_founded?: boolean | undefined;
362
+ }>;
363
+ }, "strict", z.ZodTypeAny, {
364
+ op: "set perm by index";
365
+ entity: {
366
+ entities: {
367
+ name_or_address?: string | undefined;
368
+ local_mark_first?: boolean | undefined;
369
+ }[];
370
+ check_all_founded?: boolean | undefined;
371
+ };
372
+ index: number;
373
+ }, {
374
+ op: "set perm by index";
375
+ entity: {
376
+ entities: {
377
+ name_or_address?: string | undefined;
378
+ local_mark_first?: boolean | undefined;
379
+ }[];
380
+ check_all_founded?: boolean | undefined;
381
+ };
382
+ index: number;
383
+ }>, z.ZodObject<{
384
+ op: z.ZodLiteral<"remove perm by index">;
385
+ index: z.ZodEffects<z.ZodNumber, number, number>;
386
+ entity: z.ZodObject<{
387
+ entities: z.ZodArray<z.ZodObject<{
388
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
389
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
390
+ }, "strict", z.ZodTypeAny, {
391
+ name_or_address?: string | undefined;
392
+ local_mark_first?: boolean | undefined;
393
+ }, {
394
+ name_or_address?: string | undefined;
395
+ local_mark_first?: boolean | undefined;
396
+ }>, "many">;
397
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
398
+ }, "strict", z.ZodTypeAny, {
399
+ entities: {
400
+ name_or_address?: string | undefined;
401
+ local_mark_first?: boolean | undefined;
402
+ }[];
403
+ check_all_founded?: boolean | undefined;
404
+ }, {
405
+ entities: {
406
+ name_or_address?: string | undefined;
407
+ local_mark_first?: boolean | undefined;
408
+ }[];
409
+ check_all_founded?: boolean | undefined;
410
+ }>;
411
+ }, "strict", z.ZodTypeAny, {
412
+ op: "remove perm by index";
413
+ entity: {
414
+ entities: {
415
+ name_or_address?: string | undefined;
416
+ local_mark_first?: boolean | undefined;
417
+ }[];
418
+ check_all_founded?: boolean | undefined;
419
+ };
420
+ index: number;
421
+ }, {
422
+ op: "remove perm by index";
423
+ entity: {
424
+ entities: {
425
+ name_or_address?: string | undefined;
426
+ local_mark_first?: boolean | undefined;
427
+ }[];
428
+ check_all_founded?: boolean | undefined;
429
+ };
430
+ index: number;
431
+ }>, z.ZodObject<{
432
+ op: z.ZodLiteral<"add perm by entity">;
433
+ entity: z.ZodObject<{
434
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
435
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
436
+ }, "strict", z.ZodTypeAny, {
437
+ name_or_address?: string | undefined;
438
+ local_mark_first?: boolean | undefined;
439
+ }, {
440
+ name_or_address?: string | undefined;
441
+ local_mark_first?: boolean | undefined;
442
+ }>;
443
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
444
+ }, "strict", z.ZodTypeAny, {
445
+ op: "add perm by entity";
446
+ entity: {
447
+ name_or_address?: string | undefined;
448
+ local_mark_first?: boolean | undefined;
449
+ };
450
+ index: number[];
451
+ }, {
452
+ op: "add perm by entity";
453
+ entity: {
454
+ name_or_address?: string | undefined;
455
+ local_mark_first?: boolean | undefined;
456
+ };
457
+ index: number[];
458
+ }>, z.ZodObject<{
459
+ op: z.ZodLiteral<"set perm by entity">;
460
+ entity: z.ZodObject<{
461
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
462
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
463
+ }, "strict", z.ZodTypeAny, {
464
+ name_or_address?: string | undefined;
465
+ local_mark_first?: boolean | undefined;
466
+ }, {
467
+ name_or_address?: string | undefined;
468
+ local_mark_first?: boolean | undefined;
469
+ }>;
470
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
471
+ }, "strict", z.ZodTypeAny, {
472
+ op: "set perm by entity";
473
+ entity: {
474
+ name_or_address?: string | undefined;
475
+ local_mark_first?: boolean | undefined;
476
+ };
477
+ index: number[];
478
+ }, {
479
+ op: "set perm by entity";
480
+ entity: {
481
+ name_or_address?: string | undefined;
482
+ local_mark_first?: boolean | undefined;
483
+ };
484
+ index: number[];
485
+ }>, z.ZodObject<{
486
+ op: z.ZodLiteral<"remove perm by entity">;
487
+ entity: z.ZodObject<{
488
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
489
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
490
+ }, "strict", z.ZodTypeAny, {
491
+ name_or_address?: string | undefined;
492
+ local_mark_first?: boolean | undefined;
493
+ }, {
494
+ name_or_address?: string | undefined;
495
+ local_mark_first?: boolean | undefined;
496
+ }>;
497
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
498
+ }, "strict", z.ZodTypeAny, {
499
+ op: "remove perm by entity";
500
+ entity: {
501
+ name_or_address?: string | undefined;
502
+ local_mark_first?: boolean | undefined;
503
+ };
504
+ index: number[];
505
+ }, {
506
+ op: "remove perm by entity";
507
+ entity: {
508
+ name_or_address?: string | undefined;
509
+ local_mark_first?: boolean | undefined;
510
+ };
511
+ index: number[];
512
+ }>]>;
513
+ export declare const EntitySwapReplaceCopySchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
514
+ op: z.ZodLiteral<"swap">;
515
+ entity1: z.ZodObject<{
516
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
517
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
518
+ }, "strict", z.ZodTypeAny, {
519
+ name_or_address?: string | undefined;
520
+ local_mark_first?: boolean | undefined;
521
+ }, {
522
+ name_or_address?: string | undefined;
523
+ local_mark_first?: boolean | undefined;
524
+ }>;
525
+ entity2: z.ZodObject<{
526
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
527
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
528
+ }, "strict", z.ZodTypeAny, {
529
+ name_or_address?: string | undefined;
530
+ local_mark_first?: boolean | undefined;
531
+ }, {
532
+ name_or_address?: string | undefined;
533
+ local_mark_first?: boolean | undefined;
534
+ }>;
535
+ }, "strict", z.ZodTypeAny, {
536
+ op: "swap";
537
+ entity1: {
538
+ name_or_address?: string | undefined;
539
+ local_mark_first?: boolean | undefined;
540
+ };
541
+ entity2: {
542
+ name_or_address?: string | undefined;
543
+ local_mark_first?: boolean | undefined;
544
+ };
545
+ }, {
546
+ op: "swap";
547
+ entity1: {
548
+ name_or_address?: string | undefined;
549
+ local_mark_first?: boolean | undefined;
550
+ };
551
+ entity2: {
552
+ name_or_address?: string | undefined;
553
+ local_mark_first?: boolean | undefined;
554
+ };
555
+ }>, z.ZodObject<{
556
+ op: z.ZodLiteral<"replace">;
557
+ entity1: z.ZodObject<{
558
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
559
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
560
+ }, "strict", z.ZodTypeAny, {
561
+ name_or_address?: string | undefined;
562
+ local_mark_first?: boolean | undefined;
563
+ }, {
564
+ name_or_address?: string | undefined;
565
+ local_mark_first?: boolean | undefined;
566
+ }>;
567
+ entity2: z.ZodObject<{
568
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
569
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
570
+ }, "strict", z.ZodTypeAny, {
571
+ name_or_address?: string | undefined;
572
+ local_mark_first?: boolean | undefined;
573
+ }, {
574
+ name_or_address?: string | undefined;
575
+ local_mark_first?: boolean | undefined;
576
+ }>;
577
+ }, "strict", z.ZodTypeAny, {
578
+ op: "replace";
579
+ entity1: {
580
+ name_or_address?: string | undefined;
581
+ local_mark_first?: boolean | undefined;
582
+ };
583
+ entity2: {
584
+ name_or_address?: string | undefined;
585
+ local_mark_first?: boolean | undefined;
586
+ };
587
+ }, {
588
+ op: "replace";
589
+ entity1: {
590
+ name_or_address?: string | undefined;
591
+ local_mark_first?: boolean | undefined;
592
+ };
593
+ entity2: {
594
+ name_or_address?: string | undefined;
595
+ local_mark_first?: boolean | undefined;
596
+ };
597
+ }>, z.ZodObject<{
598
+ op: z.ZodLiteral<"copy">;
599
+ entity1: z.ZodObject<{
600
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
601
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
602
+ }, "strict", z.ZodTypeAny, {
603
+ name_or_address?: string | undefined;
604
+ local_mark_first?: boolean | undefined;
605
+ }, {
606
+ name_or_address?: string | undefined;
607
+ local_mark_first?: boolean | undefined;
608
+ }>;
609
+ entity2: z.ZodObject<{
610
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
611
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
612
+ }, "strict", z.ZodTypeAny, {
613
+ name_or_address?: string | undefined;
614
+ local_mark_first?: boolean | undefined;
615
+ }, {
616
+ name_or_address?: string | undefined;
617
+ local_mark_first?: boolean | undefined;
618
+ }>;
619
+ }, "strict", z.ZodTypeAny, {
620
+ op: "copy";
621
+ entity1: {
622
+ name_or_address?: string | undefined;
623
+ local_mark_first?: boolean | undefined;
624
+ };
625
+ entity2: {
626
+ name_or_address?: string | undefined;
627
+ local_mark_first?: boolean | undefined;
628
+ };
629
+ }, {
630
+ op: "copy";
631
+ entity1: {
632
+ name_or_address?: string | undefined;
633
+ local_mark_first?: boolean | undefined;
634
+ };
635
+ entity2: {
636
+ name_or_address?: string | undefined;
637
+ local_mark_first?: boolean | undefined;
638
+ };
639
+ }>]>;
640
+ export declare const EntityDelSchema: z.ZodObject<{
641
+ op: z.ZodLiteral<"del">;
642
+ entity: z.ZodObject<{
643
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
644
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
645
+ }, "strict", z.ZodTypeAny, {
646
+ name_or_address?: string | undefined;
647
+ local_mark_first?: boolean | undefined;
648
+ }, {
649
+ name_or_address?: string | undefined;
650
+ local_mark_first?: boolean | undefined;
651
+ }>;
652
+ }, "strict", z.ZodTypeAny, {
653
+ op: "del";
654
+ entity: {
655
+ name_or_address?: string | undefined;
656
+ local_mark_first?: boolean | undefined;
657
+ };
658
+ }, {
659
+ op: "del";
660
+ entity: {
661
+ name_or_address?: string | undefined;
662
+ local_mark_first?: boolean | undefined;
663
+ };
664
+ }>;
665
+ export declare const EntitySchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
666
+ op: z.ZodLiteral<"swap">;
667
+ entity1: z.ZodObject<{
668
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
669
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
670
+ }, "strict", z.ZodTypeAny, {
671
+ name_or_address?: string | undefined;
672
+ local_mark_first?: boolean | undefined;
673
+ }, {
674
+ name_or_address?: string | undefined;
675
+ local_mark_first?: boolean | undefined;
676
+ }>;
677
+ entity2: z.ZodObject<{
678
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
679
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
680
+ }, "strict", z.ZodTypeAny, {
681
+ name_or_address?: string | undefined;
682
+ local_mark_first?: boolean | undefined;
683
+ }, {
684
+ name_or_address?: string | undefined;
685
+ local_mark_first?: boolean | undefined;
686
+ }>;
687
+ }, "strict", z.ZodTypeAny, {
688
+ op: "swap";
689
+ entity1: {
690
+ name_or_address?: string | undefined;
691
+ local_mark_first?: boolean | undefined;
692
+ };
693
+ entity2: {
694
+ name_or_address?: string | undefined;
695
+ local_mark_first?: boolean | undefined;
696
+ };
697
+ }, {
698
+ op: "swap";
699
+ entity1: {
700
+ name_or_address?: string | undefined;
701
+ local_mark_first?: boolean | undefined;
702
+ };
703
+ entity2: {
704
+ name_or_address?: string | undefined;
705
+ local_mark_first?: boolean | undefined;
706
+ };
707
+ }>, z.ZodObject<{
708
+ op: z.ZodLiteral<"replace">;
709
+ entity1: z.ZodObject<{
710
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
711
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
712
+ }, "strict", z.ZodTypeAny, {
713
+ name_or_address?: string | undefined;
714
+ local_mark_first?: boolean | undefined;
715
+ }, {
716
+ name_or_address?: string | undefined;
717
+ local_mark_first?: boolean | undefined;
718
+ }>;
719
+ entity2: z.ZodObject<{
720
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
721
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
722
+ }, "strict", z.ZodTypeAny, {
723
+ name_or_address?: string | undefined;
724
+ local_mark_first?: boolean | undefined;
725
+ }, {
726
+ name_or_address?: string | undefined;
727
+ local_mark_first?: boolean | undefined;
728
+ }>;
729
+ }, "strict", z.ZodTypeAny, {
730
+ op: "replace";
731
+ entity1: {
732
+ name_or_address?: string | undefined;
733
+ local_mark_first?: boolean | undefined;
734
+ };
735
+ entity2: {
736
+ name_or_address?: string | undefined;
737
+ local_mark_first?: boolean | undefined;
738
+ };
739
+ }, {
740
+ op: "replace";
741
+ entity1: {
742
+ name_or_address?: string | undefined;
743
+ local_mark_first?: boolean | undefined;
744
+ };
745
+ entity2: {
746
+ name_or_address?: string | undefined;
747
+ local_mark_first?: boolean | undefined;
748
+ };
749
+ }>, z.ZodObject<{
750
+ op: z.ZodLiteral<"copy">;
751
+ entity1: z.ZodObject<{
752
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
753
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
754
+ }, "strict", z.ZodTypeAny, {
755
+ name_or_address?: string | undefined;
756
+ local_mark_first?: boolean | undefined;
757
+ }, {
758
+ name_or_address?: string | undefined;
759
+ local_mark_first?: boolean | undefined;
760
+ }>;
761
+ entity2: z.ZodObject<{
762
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
763
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
764
+ }, "strict", z.ZodTypeAny, {
765
+ name_or_address?: string | undefined;
766
+ local_mark_first?: boolean | undefined;
767
+ }, {
768
+ name_or_address?: string | undefined;
769
+ local_mark_first?: boolean | undefined;
770
+ }>;
771
+ }, "strict", z.ZodTypeAny, {
772
+ op: "copy";
773
+ entity1: {
774
+ name_or_address?: string | undefined;
775
+ local_mark_first?: boolean | undefined;
776
+ };
777
+ entity2: {
778
+ name_or_address?: string | undefined;
779
+ local_mark_first?: boolean | undefined;
780
+ };
781
+ }, {
782
+ op: "copy";
783
+ entity1: {
784
+ name_or_address?: string | undefined;
785
+ local_mark_first?: boolean | undefined;
786
+ };
787
+ entity2: {
788
+ name_or_address?: string | undefined;
789
+ local_mark_first?: boolean | undefined;
790
+ };
791
+ }>, z.ZodObject<{
792
+ op: z.ZodLiteral<"del">;
793
+ entity: z.ZodObject<{
794
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
795
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
796
+ }, "strict", z.ZodTypeAny, {
797
+ name_or_address?: string | undefined;
798
+ local_mark_first?: boolean | undefined;
799
+ }, {
800
+ name_or_address?: string | undefined;
801
+ local_mark_first?: boolean | undefined;
802
+ }>;
803
+ }, "strict", z.ZodTypeAny, {
804
+ op: "del";
805
+ entity: {
806
+ name_or_address?: string | undefined;
807
+ local_mark_first?: boolean | undefined;
808
+ };
809
+ }, {
810
+ op: "del";
811
+ entity: {
812
+ name_or_address?: string | undefined;
813
+ local_mark_first?: boolean | undefined;
814
+ };
815
+ }>]>;
816
+ export declare const AdminSchema: z.ZodObject<{
817
+ op: z.ZodEnum<["add", "remove", "set"]>;
818
+ addresses: z.ZodObject<{
819
+ entities: z.ZodArray<z.ZodObject<{
820
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
821
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
822
+ }, "strict", z.ZodTypeAny, {
823
+ name_or_address?: string | undefined;
824
+ local_mark_first?: boolean | undefined;
825
+ }, {
826
+ name_or_address?: string | undefined;
827
+ local_mark_first?: boolean | undefined;
828
+ }>, "many">;
829
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
830
+ }, "strict", z.ZodTypeAny, {
831
+ entities: {
832
+ name_or_address?: string | undefined;
833
+ local_mark_first?: boolean | undefined;
834
+ }[];
835
+ check_all_founded?: boolean | undefined;
836
+ }, {
837
+ entities: {
838
+ name_or_address?: string | undefined;
839
+ local_mark_first?: boolean | undefined;
840
+ }[];
841
+ check_all_founded?: boolean | undefined;
842
+ }>;
843
+ }, "strict", z.ZodTypeAny, {
844
+ op: "set" | "add" | "remove";
845
+ addresses: {
846
+ entities: {
847
+ name_or_address?: string | undefined;
848
+ local_mark_first?: boolean | undefined;
849
+ }[];
850
+ check_all_founded?: boolean | undefined;
851
+ };
852
+ }, {
853
+ op: "set" | "add" | "remove";
854
+ addresses: {
855
+ entities: {
856
+ name_or_address?: string | undefined;
857
+ local_mark_first?: boolean | undefined;
858
+ }[];
859
+ check_all_founded?: boolean | undefined;
860
+ };
861
+ }>;
862
+ export declare const CallPermission_DataSchema: z.ZodObject<{
863
+ object: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
864
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
865
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
866
+ onChain: z.ZodOptional<z.ZodBoolean>;
867
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
868
+ }, "strict", z.ZodTypeAny, {
869
+ name?: string | undefined;
870
+ replaceExistName?: boolean | undefined;
871
+ tags?: string[] | undefined;
872
+ onChain?: boolean | undefined;
873
+ }, {
874
+ name?: string | undefined;
875
+ replaceExistName?: boolean | undefined;
876
+ tags?: string[] | undefined;
877
+ onChain?: boolean | undefined;
878
+ }>]>>;
879
+ description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
880
+ remark: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
881
+ op: z.ZodLiteral<"set">;
882
+ index: z.ZodEffects<z.ZodNumber, number, number>;
883
+ remark: z.ZodEffects<z.ZodString, string, string>;
884
+ }, "strict", z.ZodTypeAny, {
885
+ op: "set";
886
+ index: number;
887
+ remark: string;
888
+ }, {
889
+ op: "set";
890
+ index: number;
891
+ remark: string;
892
+ }>, z.ZodObject<{
893
+ op: z.ZodLiteral<"remove">;
894
+ index: z.ZodEffects<z.ZodNumber, number, number>;
895
+ }, "strict", z.ZodTypeAny, {
896
+ op: "remove";
897
+ index: number;
898
+ }, {
899
+ op: "remove";
900
+ index: number;
901
+ }>, z.ZodObject<{
902
+ op: z.ZodLiteral<"clear">;
903
+ }, "strict", z.ZodTypeAny, {
904
+ op: "clear";
905
+ }, {
906
+ op: "clear";
907
+ }>]>>;
908
+ table: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
909
+ op: z.ZodLiteral<"add perm by index">;
910
+ index: z.ZodEffects<z.ZodNumber, number, number>;
911
+ entity: z.ZodObject<{
912
+ entities: z.ZodArray<z.ZodObject<{
913
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
914
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
915
+ }, "strict", z.ZodTypeAny, {
916
+ name_or_address?: string | undefined;
917
+ local_mark_first?: boolean | undefined;
918
+ }, {
919
+ name_or_address?: string | undefined;
920
+ local_mark_first?: boolean | undefined;
921
+ }>, "many">;
922
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
923
+ }, "strict", z.ZodTypeAny, {
924
+ entities: {
925
+ name_or_address?: string | undefined;
926
+ local_mark_first?: boolean | undefined;
927
+ }[];
928
+ check_all_founded?: boolean | undefined;
929
+ }, {
930
+ entities: {
931
+ name_or_address?: string | undefined;
932
+ local_mark_first?: boolean | undefined;
933
+ }[];
934
+ check_all_founded?: boolean | undefined;
935
+ }>;
936
+ }, "strict", z.ZodTypeAny, {
937
+ op: "add perm by index";
938
+ entity: {
939
+ entities: {
940
+ name_or_address?: string | undefined;
941
+ local_mark_first?: boolean | undefined;
942
+ }[];
943
+ check_all_founded?: boolean | undefined;
944
+ };
945
+ index: number;
946
+ }, {
947
+ op: "add perm by index";
948
+ entity: {
949
+ entities: {
950
+ name_or_address?: string | undefined;
951
+ local_mark_first?: boolean | undefined;
952
+ }[];
953
+ check_all_founded?: boolean | undefined;
954
+ };
955
+ index: number;
956
+ }>, z.ZodObject<{
957
+ op: z.ZodLiteral<"set perm by index">;
958
+ index: z.ZodEffects<z.ZodNumber, number, number>;
959
+ entity: z.ZodObject<{
960
+ entities: z.ZodArray<z.ZodObject<{
961
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
962
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
963
+ }, "strict", z.ZodTypeAny, {
964
+ name_or_address?: string | undefined;
965
+ local_mark_first?: boolean | undefined;
966
+ }, {
967
+ name_or_address?: string | undefined;
968
+ local_mark_first?: boolean | undefined;
969
+ }>, "many">;
970
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
971
+ }, "strict", z.ZodTypeAny, {
972
+ entities: {
973
+ name_or_address?: string | undefined;
974
+ local_mark_first?: boolean | undefined;
975
+ }[];
976
+ check_all_founded?: boolean | undefined;
977
+ }, {
978
+ entities: {
979
+ name_or_address?: string | undefined;
980
+ local_mark_first?: boolean | undefined;
981
+ }[];
982
+ check_all_founded?: boolean | undefined;
983
+ }>;
984
+ }, "strict", z.ZodTypeAny, {
985
+ op: "set perm by index";
986
+ entity: {
987
+ entities: {
988
+ name_or_address?: string | undefined;
989
+ local_mark_first?: boolean | undefined;
990
+ }[];
991
+ check_all_founded?: boolean | undefined;
992
+ };
993
+ index: number;
994
+ }, {
995
+ op: "set perm by index";
996
+ entity: {
997
+ entities: {
998
+ name_or_address?: string | undefined;
999
+ local_mark_first?: boolean | undefined;
1000
+ }[];
1001
+ check_all_founded?: boolean | undefined;
1002
+ };
1003
+ index: number;
1004
+ }>, z.ZodObject<{
1005
+ op: z.ZodLiteral<"remove perm by index">;
1006
+ index: z.ZodEffects<z.ZodNumber, number, number>;
1007
+ entity: z.ZodObject<{
1008
+ entities: z.ZodArray<z.ZodObject<{
1009
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1010
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1011
+ }, "strict", z.ZodTypeAny, {
1012
+ name_or_address?: string | undefined;
1013
+ local_mark_first?: boolean | undefined;
1014
+ }, {
1015
+ name_or_address?: string | undefined;
1016
+ local_mark_first?: boolean | undefined;
1017
+ }>, "many">;
1018
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
1019
+ }, "strict", z.ZodTypeAny, {
1020
+ entities: {
1021
+ name_or_address?: string | undefined;
1022
+ local_mark_first?: boolean | undefined;
1023
+ }[];
1024
+ check_all_founded?: boolean | undefined;
1025
+ }, {
1026
+ entities: {
1027
+ name_or_address?: string | undefined;
1028
+ local_mark_first?: boolean | undefined;
1029
+ }[];
1030
+ check_all_founded?: boolean | undefined;
1031
+ }>;
1032
+ }, "strict", z.ZodTypeAny, {
1033
+ op: "remove perm by index";
1034
+ entity: {
1035
+ entities: {
1036
+ name_or_address?: string | undefined;
1037
+ local_mark_first?: boolean | undefined;
1038
+ }[];
1039
+ check_all_founded?: boolean | undefined;
1040
+ };
1041
+ index: number;
1042
+ }, {
1043
+ op: "remove perm by index";
1044
+ entity: {
1045
+ entities: {
1046
+ name_or_address?: string | undefined;
1047
+ local_mark_first?: boolean | undefined;
1048
+ }[];
1049
+ check_all_founded?: boolean | undefined;
1050
+ };
1051
+ index: number;
1052
+ }>, z.ZodObject<{
1053
+ op: z.ZodLiteral<"add perm by entity">;
1054
+ entity: z.ZodObject<{
1055
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1056
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1057
+ }, "strict", z.ZodTypeAny, {
1058
+ name_or_address?: string | undefined;
1059
+ local_mark_first?: boolean | undefined;
1060
+ }, {
1061
+ name_or_address?: string | undefined;
1062
+ local_mark_first?: boolean | undefined;
1063
+ }>;
1064
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
1065
+ }, "strict", z.ZodTypeAny, {
1066
+ op: "add perm by entity";
1067
+ entity: {
1068
+ name_or_address?: string | undefined;
1069
+ local_mark_first?: boolean | undefined;
1070
+ };
1071
+ index: number[];
1072
+ }, {
1073
+ op: "add perm by entity";
1074
+ entity: {
1075
+ name_or_address?: string | undefined;
1076
+ local_mark_first?: boolean | undefined;
1077
+ };
1078
+ index: number[];
1079
+ }>, z.ZodObject<{
1080
+ op: z.ZodLiteral<"set perm by entity">;
1081
+ entity: z.ZodObject<{
1082
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1083
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1084
+ }, "strict", z.ZodTypeAny, {
1085
+ name_or_address?: string | undefined;
1086
+ local_mark_first?: boolean | undefined;
1087
+ }, {
1088
+ name_or_address?: string | undefined;
1089
+ local_mark_first?: boolean | undefined;
1090
+ }>;
1091
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
1092
+ }, "strict", z.ZodTypeAny, {
1093
+ op: "set perm by entity";
1094
+ entity: {
1095
+ name_or_address?: string | undefined;
1096
+ local_mark_first?: boolean | undefined;
1097
+ };
1098
+ index: number[];
1099
+ }, {
1100
+ op: "set perm by entity";
1101
+ entity: {
1102
+ name_or_address?: string | undefined;
1103
+ local_mark_first?: boolean | undefined;
1104
+ };
1105
+ index: number[];
1106
+ }>, z.ZodObject<{
1107
+ op: z.ZodLiteral<"remove perm by entity">;
1108
+ entity: z.ZodObject<{
1109
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1110
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1111
+ }, "strict", z.ZodTypeAny, {
1112
+ name_or_address?: string | undefined;
1113
+ local_mark_first?: boolean | undefined;
1114
+ }, {
1115
+ name_or_address?: string | undefined;
1116
+ local_mark_first?: boolean | undefined;
1117
+ }>;
1118
+ index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
1119
+ }, "strict", z.ZodTypeAny, {
1120
+ op: "remove perm by entity";
1121
+ entity: {
1122
+ name_or_address?: string | undefined;
1123
+ local_mark_first?: boolean | undefined;
1124
+ };
1125
+ index: number[];
1126
+ }, {
1127
+ op: "remove perm by entity";
1128
+ entity: {
1129
+ name_or_address?: string | undefined;
1130
+ local_mark_first?: boolean | undefined;
1131
+ };
1132
+ index: number[];
1133
+ }>]>>;
1134
+ entity: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
1135
+ op: z.ZodLiteral<"swap">;
1136
+ entity1: z.ZodObject<{
1137
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1138
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1139
+ }, "strict", z.ZodTypeAny, {
1140
+ name_or_address?: string | undefined;
1141
+ local_mark_first?: boolean | undefined;
1142
+ }, {
1143
+ name_or_address?: string | undefined;
1144
+ local_mark_first?: boolean | undefined;
1145
+ }>;
1146
+ entity2: z.ZodObject<{
1147
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1148
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1149
+ }, "strict", z.ZodTypeAny, {
1150
+ name_or_address?: string | undefined;
1151
+ local_mark_first?: boolean | undefined;
1152
+ }, {
1153
+ name_or_address?: string | undefined;
1154
+ local_mark_first?: boolean | undefined;
1155
+ }>;
1156
+ }, "strict", z.ZodTypeAny, {
1157
+ op: "swap";
1158
+ entity1: {
1159
+ name_or_address?: string | undefined;
1160
+ local_mark_first?: boolean | undefined;
1161
+ };
1162
+ entity2: {
1163
+ name_or_address?: string | undefined;
1164
+ local_mark_first?: boolean | undefined;
1165
+ };
1166
+ }, {
1167
+ op: "swap";
1168
+ entity1: {
1169
+ name_or_address?: string | undefined;
1170
+ local_mark_first?: boolean | undefined;
1171
+ };
1172
+ entity2: {
1173
+ name_or_address?: string | undefined;
1174
+ local_mark_first?: boolean | undefined;
1175
+ };
1176
+ }>, z.ZodObject<{
1177
+ op: z.ZodLiteral<"replace">;
1178
+ entity1: z.ZodObject<{
1179
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1180
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1181
+ }, "strict", z.ZodTypeAny, {
1182
+ name_or_address?: string | undefined;
1183
+ local_mark_first?: boolean | undefined;
1184
+ }, {
1185
+ name_or_address?: string | undefined;
1186
+ local_mark_first?: boolean | undefined;
1187
+ }>;
1188
+ entity2: z.ZodObject<{
1189
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1190
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1191
+ }, "strict", z.ZodTypeAny, {
1192
+ name_or_address?: string | undefined;
1193
+ local_mark_first?: boolean | undefined;
1194
+ }, {
1195
+ name_or_address?: string | undefined;
1196
+ local_mark_first?: boolean | undefined;
1197
+ }>;
1198
+ }, "strict", z.ZodTypeAny, {
1199
+ op: "replace";
1200
+ entity1: {
1201
+ name_or_address?: string | undefined;
1202
+ local_mark_first?: boolean | undefined;
1203
+ };
1204
+ entity2: {
1205
+ name_or_address?: string | undefined;
1206
+ local_mark_first?: boolean | undefined;
1207
+ };
1208
+ }, {
1209
+ op: "replace";
1210
+ entity1: {
1211
+ name_or_address?: string | undefined;
1212
+ local_mark_first?: boolean | undefined;
1213
+ };
1214
+ entity2: {
1215
+ name_or_address?: string | undefined;
1216
+ local_mark_first?: boolean | undefined;
1217
+ };
1218
+ }>, z.ZodObject<{
1219
+ op: z.ZodLiteral<"copy">;
1220
+ entity1: z.ZodObject<{
1221
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1222
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1223
+ }, "strict", z.ZodTypeAny, {
1224
+ name_or_address?: string | undefined;
1225
+ local_mark_first?: boolean | undefined;
1226
+ }, {
1227
+ name_or_address?: string | undefined;
1228
+ local_mark_first?: boolean | undefined;
1229
+ }>;
1230
+ entity2: z.ZodObject<{
1231
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1232
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1233
+ }, "strict", z.ZodTypeAny, {
1234
+ name_or_address?: string | undefined;
1235
+ local_mark_first?: boolean | undefined;
1236
+ }, {
1237
+ name_or_address?: string | undefined;
1238
+ local_mark_first?: boolean | undefined;
1239
+ }>;
1240
+ }, "strict", z.ZodTypeAny, {
1241
+ op: "copy";
1242
+ entity1: {
1243
+ name_or_address?: string | undefined;
1244
+ local_mark_first?: boolean | undefined;
1245
+ };
1246
+ entity2: {
1247
+ name_or_address?: string | undefined;
1248
+ local_mark_first?: boolean | undefined;
1249
+ };
1250
+ }, {
1251
+ op: "copy";
1252
+ entity1: {
1253
+ name_or_address?: string | undefined;
1254
+ local_mark_first?: boolean | undefined;
1255
+ };
1256
+ entity2: {
1257
+ name_or_address?: string | undefined;
1258
+ local_mark_first?: boolean | undefined;
1259
+ };
1260
+ }>, z.ZodObject<{
1261
+ op: z.ZodLiteral<"del">;
1262
+ entity: z.ZodObject<{
1263
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1264
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1265
+ }, "strict", z.ZodTypeAny, {
1266
+ name_or_address?: string | undefined;
1267
+ local_mark_first?: boolean | undefined;
1268
+ }, {
1269
+ name_or_address?: string | undefined;
1270
+ local_mark_first?: boolean | undefined;
1271
+ }>;
1272
+ }, "strict", z.ZodTypeAny, {
1273
+ op: "del";
1274
+ entity: {
1275
+ name_or_address?: string | undefined;
1276
+ local_mark_first?: boolean | undefined;
1277
+ };
1278
+ }, {
1279
+ op: "del";
1280
+ entity: {
1281
+ name_or_address?: string | undefined;
1282
+ local_mark_first?: boolean | undefined;
1283
+ };
1284
+ }>]>>;
1285
+ admin: z.ZodOptional<z.ZodObject<{
1286
+ op: z.ZodEnum<["add", "remove", "set"]>;
1287
+ addresses: z.ZodObject<{
1288
+ entities: z.ZodArray<z.ZodObject<{
1289
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1290
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1291
+ }, "strict", z.ZodTypeAny, {
1292
+ name_or_address?: string | undefined;
1293
+ local_mark_first?: boolean | undefined;
1294
+ }, {
1295
+ name_or_address?: string | undefined;
1296
+ local_mark_first?: boolean | undefined;
1297
+ }>, "many">;
1298
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
1299
+ }, "strict", z.ZodTypeAny, {
1300
+ entities: {
1301
+ name_or_address?: string | undefined;
1302
+ local_mark_first?: boolean | undefined;
1303
+ }[];
1304
+ check_all_founded?: boolean | undefined;
1305
+ }, {
1306
+ entities: {
1307
+ name_or_address?: string | undefined;
1308
+ local_mark_first?: boolean | undefined;
1309
+ }[];
1310
+ check_all_founded?: boolean | undefined;
1311
+ }>;
1312
+ }, "strict", z.ZodTypeAny, {
1313
+ op: "set" | "add" | "remove";
1314
+ addresses: {
1315
+ entities: {
1316
+ name_or_address?: string | undefined;
1317
+ local_mark_first?: boolean | undefined;
1318
+ }[];
1319
+ check_all_founded?: boolean | undefined;
1320
+ };
1321
+ }, {
1322
+ op: "set" | "add" | "remove";
1323
+ addresses: {
1324
+ entities: {
1325
+ name_or_address?: string | undefined;
1326
+ local_mark_first?: boolean | undefined;
1327
+ }[];
1328
+ check_all_founded?: boolean | undefined;
1329
+ };
1330
+ }>>;
1331
+ apply: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
1332
+ builder: z.ZodOptional<z.ZodObject<{
1333
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1334
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1335
+ }, "strict", z.ZodTypeAny, {
1336
+ name_or_address?: string | undefined;
1337
+ local_mark_first?: boolean | undefined;
1338
+ }, {
1339
+ name_or_address?: string | undefined;
1340
+ local_mark_first?: boolean | undefined;
1341
+ }>>;
1342
+ owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
1343
+ id: z.ZodString;
1344
+ type: z.ZodString;
1345
+ }, "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<any>>;
2456
+ referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2457
+ }, "strict", z.ZodTypeAny, {
2458
+ [x: string]: any;
2459
+ account?: unknown;
2460
+ permission_guard?: unknown;
2461
+ no_cache?: unknown;
2462
+ network?: unknown;
2463
+ referrer?: unknown;
2464
+ }, {
2465
+ [x: string]: any;
2466
+ account?: unknown;
2467
+ permission_guard?: unknown;
2468
+ no_cache?: unknown;
2469
+ network?: unknown;
2470
+ referrer?: unknown;
2471
+ }>>;
2472
+ submission: z.ZodOptional<z.ZodObject<{
2473
+ type: z.ZodLiteral<"submission">;
2474
+ guard: z.ZodArray<z.ZodObject<{
2475
+ object: z.ZodEffects<z.ZodString, string, string>;
2476
+ impack: z.ZodBoolean;
2477
+ }, "strict", z.ZodTypeAny, {
2478
+ object: string;
2479
+ impack: boolean;
2480
+ }, {
2481
+ object: string;
2482
+ impack: boolean;
2483
+ }>, "many">;
2484
+ submission: z.ZodArray<z.ZodObject<{
2485
+ guard: z.ZodEffects<z.ZodString, string, string>;
2486
+ submission: z.ZodArray<z.ZodObject<{
2487
+ identifier: z.ZodNumber;
2488
+ b_submission: z.ZodBoolean;
2489
+ value_type: z.ZodUnion<[z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<"Bool">, z.ZodLiteral<"Address">, z.ZodLiteral<"String">, z.ZodLiteral<"U8">, z.ZodLiteral<"U16">, z.ZodLiteral<"U32">, z.ZodLiteral<"U64">, z.ZodLiteral<"U128">, z.ZodLiteral<"U256">, z.ZodLiteral<"VecBool">, z.ZodLiteral<"VecAddress">, z.ZodLiteral<"VecString">, z.ZodLiteral<"VecU8">, z.ZodLiteral<"VecU16">, z.ZodLiteral<"VecU32">, z.ZodLiteral<"VecU64">, z.ZodLiteral<"VecU128">, z.ZodLiteral<"VecU256">, z.ZodLiteral<"VecVecU8">, z.ZodLiteral<"bool">, z.ZodLiteral<"address">, z.ZodLiteral<"string">, z.ZodLiteral<"u8">, z.ZodLiteral<"u16">, z.ZodLiteral<"u32">, z.ZodLiteral<"u64">, z.ZodLiteral<"u128">, z.ZodLiteral<"u256">, z.ZodLiteral<"vecbool">, z.ZodLiteral<"vecaddress">, z.ZodLiteral<"vecstring">, z.ZodLiteral<"vecu8">, z.ZodLiteral<"vecu16">, z.ZodLiteral<"vecu32">, z.ZodLiteral<"vecu64">, z.ZodLiteral<"vecu128">, z.ZodLiteral<"vecu256">, z.ZodLiteral<"vecvecu8">]>;
2490
+ value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
2491
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2492
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
2493
+ }, "strict", z.ZodTypeAny, {
2494
+ name_or_address?: string | undefined;
2495
+ local_mark_first?: boolean | undefined;
2496
+ }, {
2497
+ name_or_address?: string | undefined;
2498
+ local_mark_first?: boolean | undefined;
2499
+ }>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean, "many">, z.ZodUnion<[z.ZodObject<{
2500
+ entities: z.ZodArray<z.ZodObject<{
2501
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2502
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
2503
+ }, "strict", z.ZodTypeAny, {
2504
+ name_or_address?: string | undefined;
2505
+ local_mark_first?: boolean | undefined;
2506
+ }, {
2507
+ name_or_address?: string | undefined;
2508
+ local_mark_first?: boolean | undefined;
2509
+ }>, "many">;
2510
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
2511
+ }, "strict", z.ZodTypeAny, {
2512
+ entities: {
2513
+ name_or_address?: string | undefined;
2514
+ local_mark_first?: boolean | undefined;
2515
+ }[];
2516
+ check_all_founded?: boolean | undefined;
2517
+ }, {
2518
+ entities: {
2519
+ name_or_address?: string | undefined;
2520
+ local_mark_first?: boolean | undefined;
2521
+ }[];
2522
+ check_all_founded?: boolean | undefined;
2523
+ }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>>;
2524
+ name: z.ZodDefault<z.ZodString>;
2525
+ } & {
2526
+ object_type: z.ZodOptional<z.ZodEnum<any>>;
2527
+ }, "strict", z.ZodTypeAny, {
2528
+ [x: string]: any;
2529
+ identifier?: unknown;
2530
+ b_submission?: unknown;
2531
+ value_type?: unknown;
2532
+ value?: unknown;
2533
+ name?: unknown;
2534
+ object_type?: unknown;
2535
+ }, {
2536
+ [x: string]: any;
2537
+ identifier?: unknown;
2538
+ b_submission?: unknown;
2539
+ value_type?: unknown;
2540
+ value?: unknown;
2541
+ name?: unknown;
2542
+ object_type?: unknown;
2543
+ }>, "many">;
2544
+ }, "strict", z.ZodTypeAny, {
2545
+ guard: string;
2546
+ submission: {
2547
+ [x: string]: any;
2548
+ identifier?: unknown;
2549
+ b_submission?: unknown;
2550
+ value_type?: unknown;
2551
+ value?: unknown;
2552
+ name?: unknown;
2553
+ object_type?: unknown;
2554
+ }[];
2555
+ }, {
2556
+ guard: string;
2557
+ submission: {
2558
+ [x: string]: any;
2559
+ identifier?: unknown;
2560
+ b_submission?: unknown;
2561
+ value_type?: unknown;
2562
+ value?: unknown;
2563
+ name?: unknown;
2564
+ object_type?: unknown;
2565
+ }[];
2566
+ }>, "many">;
2567
+ }, "strict", z.ZodTypeAny, {
2568
+ type: "submission";
2569
+ guard: {
2570
+ object: string;
2571
+ impack: boolean;
2572
+ }[];
2573
+ submission: {
2574
+ guard: string;
2575
+ submission: {
2576
+ [x: string]: any;
2577
+ identifier?: unknown;
2578
+ b_submission?: unknown;
2579
+ value_type?: unknown;
2580
+ value?: unknown;
2581
+ name?: unknown;
2582
+ object_type?: unknown;
2583
+ }[];
2584
+ }[];
2585
+ }, {
2586
+ type: "submission";
2587
+ guard: {
2588
+ object: string;
2589
+ impack: boolean;
2590
+ }[];
2591
+ submission: {
2592
+ guard: string;
2593
+ submission: {
2594
+ [x: string]: any;
2595
+ identifier?: unknown;
2596
+ b_submission?: unknown;
2597
+ value_type?: unknown;
2598
+ value?: unknown;
2599
+ name?: unknown;
2600
+ object_type?: unknown;
2601
+ }[];
2602
+ }[];
2603
+ }>>;
2604
+ }, "strict", z.ZodTypeAny, {
2605
+ data: {
2606
+ object?: string | {
2607
+ name?: string | undefined;
2608
+ replaceExistName?: boolean | undefined;
2609
+ tags?: string[] | undefined;
2610
+ onChain?: boolean | undefined;
2611
+ } | undefined;
2612
+ description?: string | undefined;
2613
+ owner_receive?: {
2614
+ received: {
2615
+ id: string;
2616
+ balance: string | number;
2617
+ payment: string;
2618
+ }[];
2619
+ balance: string | number;
2620
+ token_type: string;
2621
+ } | "recently" | {
2622
+ type: string;
2623
+ id: string;
2624
+ }[] | undefined;
2625
+ entity?: {
2626
+ op: "swap";
2627
+ entity1: {
2628
+ name_or_address?: string | undefined;
2629
+ local_mark_first?: boolean | undefined;
2630
+ };
2631
+ entity2: {
2632
+ name_or_address?: string | undefined;
2633
+ local_mark_first?: boolean | undefined;
2634
+ };
2635
+ } | {
2636
+ op: "replace";
2637
+ entity1: {
2638
+ name_or_address?: string | undefined;
2639
+ local_mark_first?: boolean | undefined;
2640
+ };
2641
+ entity2: {
2642
+ name_or_address?: string | undefined;
2643
+ local_mark_first?: boolean | undefined;
2644
+ };
2645
+ } | {
2646
+ op: "copy";
2647
+ entity1: {
2648
+ name_or_address?: string | undefined;
2649
+ local_mark_first?: boolean | undefined;
2650
+ };
2651
+ entity2: {
2652
+ name_or_address?: string | undefined;
2653
+ local_mark_first?: boolean | undefined;
2654
+ };
2655
+ } | {
2656
+ op: "del";
2657
+ entity: {
2658
+ name_or_address?: string | undefined;
2659
+ local_mark_first?: boolean | undefined;
2660
+ };
2661
+ } | undefined;
2662
+ um?: string | null | undefined;
2663
+ builder?: {
2664
+ name_or_address?: string | undefined;
2665
+ local_mark_first?: boolean | undefined;
2666
+ } | undefined;
2667
+ admin?: {
2668
+ op: "set" | "add" | "remove";
2669
+ addresses: {
2670
+ entities: {
2671
+ name_or_address?: string | undefined;
2672
+ local_mark_first?: boolean | undefined;
2673
+ }[];
2674
+ check_all_founded?: boolean | undefined;
2675
+ };
2676
+ } | undefined;
2677
+ remark?: {
2678
+ op: "set";
2679
+ index: number;
2680
+ remark: string;
2681
+ } | {
2682
+ op: "remove";
2683
+ index: number;
2684
+ } | {
2685
+ op: "clear";
2686
+ } | undefined;
2687
+ table?: {
2688
+ op: "add perm by index";
2689
+ entity: {
2690
+ entities: {
2691
+ name_or_address?: string | undefined;
2692
+ local_mark_first?: boolean | undefined;
2693
+ }[];
2694
+ check_all_founded?: boolean | undefined;
2695
+ };
2696
+ index: number;
2697
+ } | {
2698
+ op: "set perm by index";
2699
+ entity: {
2700
+ entities: {
2701
+ name_or_address?: string | undefined;
2702
+ local_mark_first?: boolean | undefined;
2703
+ }[];
2704
+ check_all_founded?: boolean | undefined;
2705
+ };
2706
+ index: number;
2707
+ } | {
2708
+ op: "remove perm by index";
2709
+ entity: {
2710
+ entities: {
2711
+ name_or_address?: string | undefined;
2712
+ local_mark_first?: boolean | undefined;
2713
+ }[];
2714
+ check_all_founded?: boolean | undefined;
2715
+ };
2716
+ index: number;
2717
+ } | {
2718
+ op: "add perm by entity";
2719
+ entity: {
2720
+ name_or_address?: string | undefined;
2721
+ local_mark_first?: boolean | undefined;
2722
+ };
2723
+ index: number[];
2724
+ } | {
2725
+ op: "set perm by entity";
2726
+ entity: {
2727
+ name_or_address?: string | undefined;
2728
+ local_mark_first?: boolean | undefined;
2729
+ };
2730
+ index: number[];
2731
+ } | {
2732
+ op: "remove perm by entity";
2733
+ entity: {
2734
+ name_or_address?: string | undefined;
2735
+ local_mark_first?: boolean | undefined;
2736
+ };
2737
+ index: number[];
2738
+ } | undefined;
2739
+ apply?: string[] | undefined;
2740
+ };
2741
+ submission?: {
2742
+ type: "submission";
2743
+ guard: {
2744
+ object: string;
2745
+ impack: boolean;
2746
+ }[];
2747
+ submission: {
2748
+ guard: string;
2749
+ submission: {
2750
+ [x: string]: any;
2751
+ identifier?: unknown;
2752
+ b_submission?: unknown;
2753
+ value_type?: unknown;
2754
+ value?: unknown;
2755
+ name?: unknown;
2756
+ object_type?: unknown;
2757
+ }[];
2758
+ }[];
2759
+ } | undefined;
2760
+ env?: {
2761
+ [x: string]: any;
2762
+ account?: unknown;
2763
+ permission_guard?: unknown;
2764
+ no_cache?: unknown;
2765
+ network?: unknown;
2766
+ referrer?: unknown;
2767
+ } | undefined;
2768
+ }, {
2769
+ data: {
2770
+ object?: string | {
2771
+ name?: string | undefined;
2772
+ replaceExistName?: boolean | undefined;
2773
+ tags?: string[] | undefined;
2774
+ onChain?: boolean | undefined;
2775
+ } | undefined;
2776
+ description?: string | undefined;
2777
+ owner_receive?: {
2778
+ received: {
2779
+ id: string;
2780
+ balance: string | number;
2781
+ payment: string;
2782
+ }[];
2783
+ balance: string | number;
2784
+ token_type: string;
2785
+ } | "recently" | {
2786
+ type: string;
2787
+ id: string;
2788
+ }[] | undefined;
2789
+ entity?: {
2790
+ op: "swap";
2791
+ entity1: {
2792
+ name_or_address?: string | undefined;
2793
+ local_mark_first?: boolean | undefined;
2794
+ };
2795
+ entity2: {
2796
+ name_or_address?: string | undefined;
2797
+ local_mark_first?: boolean | undefined;
2798
+ };
2799
+ } | {
2800
+ op: "replace";
2801
+ entity1: {
2802
+ name_or_address?: string | undefined;
2803
+ local_mark_first?: boolean | undefined;
2804
+ };
2805
+ entity2: {
2806
+ name_or_address?: string | undefined;
2807
+ local_mark_first?: boolean | undefined;
2808
+ };
2809
+ } | {
2810
+ op: "copy";
2811
+ entity1: {
2812
+ name_or_address?: string | undefined;
2813
+ local_mark_first?: boolean | undefined;
2814
+ };
2815
+ entity2: {
2816
+ name_or_address?: string | undefined;
2817
+ local_mark_first?: boolean | undefined;
2818
+ };
2819
+ } | {
2820
+ op: "del";
2821
+ entity: {
2822
+ name_or_address?: string | undefined;
2823
+ local_mark_first?: boolean | undefined;
2824
+ };
2825
+ } | undefined;
2826
+ um?: string | null | undefined;
2827
+ builder?: {
2828
+ name_or_address?: string | undefined;
2829
+ local_mark_first?: boolean | undefined;
2830
+ } | undefined;
2831
+ admin?: {
2832
+ op: "set" | "add" | "remove";
2833
+ addresses: {
2834
+ entities: {
2835
+ name_or_address?: string | undefined;
2836
+ local_mark_first?: boolean | undefined;
2837
+ }[];
2838
+ check_all_founded?: boolean | undefined;
2839
+ };
2840
+ } | undefined;
2841
+ remark?: {
2842
+ op: "set";
2843
+ index: number;
2844
+ remark: string;
2845
+ } | {
2846
+ op: "remove";
2847
+ index: number;
2848
+ } | {
2849
+ op: "clear";
2850
+ } | undefined;
2851
+ table?: {
2852
+ op: "add perm by index";
2853
+ entity: {
2854
+ entities: {
2855
+ name_or_address?: string | undefined;
2856
+ local_mark_first?: boolean | undefined;
2857
+ }[];
2858
+ check_all_founded?: boolean | undefined;
2859
+ };
2860
+ index: number;
2861
+ } | {
2862
+ op: "set perm by index";
2863
+ entity: {
2864
+ entities: {
2865
+ name_or_address?: string | undefined;
2866
+ local_mark_first?: boolean | undefined;
2867
+ }[];
2868
+ check_all_founded?: boolean | undefined;
2869
+ };
2870
+ index: number;
2871
+ } | {
2872
+ op: "remove perm by index";
2873
+ entity: {
2874
+ entities: {
2875
+ name_or_address?: string | undefined;
2876
+ local_mark_first?: boolean | undefined;
2877
+ }[];
2878
+ check_all_founded?: boolean | undefined;
2879
+ };
2880
+ index: number;
2881
+ } | {
2882
+ op: "add perm by entity";
2883
+ entity: {
2884
+ name_or_address?: string | undefined;
2885
+ local_mark_first?: boolean | undefined;
2886
+ };
2887
+ index: number[];
2888
+ } | {
2889
+ op: "set perm by entity";
2890
+ entity: {
2891
+ name_or_address?: string | undefined;
2892
+ local_mark_first?: boolean | undefined;
2893
+ };
2894
+ index: number[];
2895
+ } | {
2896
+ op: "remove perm by entity";
2897
+ entity: {
2898
+ name_or_address?: string | undefined;
2899
+ local_mark_first?: boolean | undefined;
2900
+ };
2901
+ index: number[];
2902
+ } | undefined;
2903
+ apply?: string[] | undefined;
2904
+ };
2905
+ submission?: {
2906
+ type: "submission";
2907
+ guard: {
2908
+ object: string;
2909
+ impack: boolean;
2910
+ }[];
2911
+ submission: {
2912
+ guard: string;
2913
+ submission: {
2914
+ [x: string]: any;
2915
+ identifier?: unknown;
2916
+ b_submission?: unknown;
2917
+ value_type?: unknown;
2918
+ value?: unknown;
2919
+ name?: unknown;
2920
+ object_type?: unknown;
2921
+ }[];
2922
+ }[];
2923
+ } | undefined;
2924
+ env?: {
2925
+ [x: string]: any;
2926
+ account?: unknown;
2927
+ permission_guard?: unknown;
2928
+ no_cache?: unknown;
2929
+ network?: unknown;
2930
+ referrer?: unknown;
2931
+ } | undefined;
2932
+ }>;
2933
+ export type RemarkSet = z.infer<typeof RemarkSetSchema>;
2934
+ export type RemarkRemove = z.infer<typeof RemarkRemoveSchema>;
2935
+ export type RemarkClear = z.infer<typeof RemarkClearSchema>;
2936
+ export type Remark = z.infer<typeof RemarkSchema>;
2937
+ export type TablePermByIndex = z.infer<typeof TablePermByIndexSchema>;
2938
+ export type TablePermByEntity = z.infer<typeof TablePermByEntitySchema>;
2939
+ export type Table = z.infer<typeof TableSchema>;
2940
+ export type EntitySwapReplaceCopy = z.infer<typeof EntitySwapReplaceCopySchema>;
2941
+ export type EntityDel = z.infer<typeof EntityDelSchema>;
2942
+ export type Entity = z.infer<typeof EntitySchema>;
2943
+ export type Admin = z.infer<typeof AdminSchema>;
2944
+ export type CallPermission_Data = z.infer<typeof CallPermission_DataSchema>;
2945
+ export type CallPermission_Input = z.infer<typeof CallPermission_InputSchema>;