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,2220 @@
1
+ import { z } from "zod";
2
+ export declare const RepositoryIdSchema: z.ZodUnion<[z.ZodObject<{
3
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
4
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
5
+ }, "strict", z.ZodTypeAny, {
6
+ name_or_address?: string | undefined;
7
+ local_mark_first?: boolean | undefined;
8
+ }, {
9
+ name_or_address?: string | undefined;
10
+ local_mark_first?: boolean | undefined;
11
+ }>, z.ZodNumber]>;
12
+ export declare const KeyDataSchema: z.ZodObject<{
13
+ id: z.ZodUnion<[z.ZodObject<{
14
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
15
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
16
+ }, "strict", z.ZodTypeAny, {
17
+ name_or_address?: string | undefined;
18
+ local_mark_first?: boolean | undefined;
19
+ }, {
20
+ name_or_address?: string | undefined;
21
+ local_mark_first?: boolean | undefined;
22
+ }>, z.ZodNumber]>;
23
+ data: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
24
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
25
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
26
+ }, "strict", z.ZodTypeAny, {
27
+ name_or_address?: string | undefined;
28
+ local_mark_first?: boolean | undefined;
29
+ }, {
30
+ name_or_address?: string | undefined;
31
+ local_mark_first?: boolean | undefined;
32
+ }>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean, "many">, z.ZodUnion<[z.ZodObject<{
33
+ entities: z.ZodArray<z.ZodObject<{
34
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
35
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
36
+ }, "strict", z.ZodTypeAny, {
37
+ name_or_address?: string | undefined;
38
+ local_mark_first?: boolean | undefined;
39
+ }, {
40
+ name_or_address?: string | undefined;
41
+ local_mark_first?: boolean | undefined;
42
+ }>, "many">;
43
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
44
+ }, "strict", z.ZodTypeAny, {
45
+ entities: {
46
+ name_or_address?: string | undefined;
47
+ local_mark_first?: boolean | undefined;
48
+ }[];
49
+ check_all_founded?: boolean | undefined;
50
+ }, {
51
+ entities: {
52
+ name_or_address?: string | undefined;
53
+ local_mark_first?: boolean | undefined;
54
+ }[];
55
+ check_all_founded?: boolean | undefined;
56
+ }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>, z.ZodType<any, z.ZodTypeDef, any>]>;
57
+ }, "strict", z.ZodTypeAny, {
58
+ id: number | {
59
+ name_or_address?: string | undefined;
60
+ local_mark_first?: boolean | undefined;
61
+ };
62
+ data?: any;
63
+ }, {
64
+ id: number | {
65
+ name_or_address?: string | undefined;
66
+ local_mark_first?: boolean | undefined;
67
+ };
68
+ data?: any;
69
+ }>;
70
+ export declare const RepDataItemSchema: z.ZodObject<{
71
+ data: z.ZodArray<z.ZodObject<{
72
+ id: z.ZodUnion<[z.ZodObject<{
73
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
74
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
75
+ }, "strict", z.ZodTypeAny, {
76
+ name_or_address?: string | undefined;
77
+ local_mark_first?: boolean | undefined;
78
+ }, {
79
+ name_or_address?: string | undefined;
80
+ local_mark_first?: boolean | undefined;
81
+ }>, z.ZodNumber]>;
82
+ data: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
83
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
84
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
85
+ }, "strict", z.ZodTypeAny, {
86
+ name_or_address?: string | undefined;
87
+ local_mark_first?: boolean | undefined;
88
+ }, {
89
+ name_or_address?: string | undefined;
90
+ local_mark_first?: boolean | undefined;
91
+ }>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean, "many">, z.ZodUnion<[z.ZodObject<{
92
+ entities: z.ZodArray<z.ZodObject<{
93
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
94
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
95
+ }, "strict", z.ZodTypeAny, {
96
+ name_or_address?: string | undefined;
97
+ local_mark_first?: boolean | undefined;
98
+ }, {
99
+ name_or_address?: string | undefined;
100
+ local_mark_first?: boolean | undefined;
101
+ }>, "many">;
102
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
103
+ }, "strict", z.ZodTypeAny, {
104
+ entities: {
105
+ name_or_address?: string | undefined;
106
+ local_mark_first?: boolean | undefined;
107
+ }[];
108
+ check_all_founded?: boolean | undefined;
109
+ }, {
110
+ entities: {
111
+ name_or_address?: string | undefined;
112
+ local_mark_first?: boolean | undefined;
113
+ }[];
114
+ check_all_founded?: boolean | undefined;
115
+ }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>, z.ZodType<any, z.ZodTypeDef, any>]>;
116
+ }, "strict", z.ZodTypeAny, {
117
+ id: number | {
118
+ name_or_address?: string | undefined;
119
+ local_mark_first?: boolean | undefined;
120
+ };
121
+ data?: any;
122
+ }, {
123
+ id: number | {
124
+ name_or_address?: string | undefined;
125
+ local_mark_first?: boolean | undefined;
126
+ };
127
+ data?: any;
128
+ }>, "many">;
129
+ write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
130
+ }, "strict", z.ZodTypeAny, {
131
+ data: {
132
+ id: number | {
133
+ name_or_address?: string | undefined;
134
+ local_mark_first?: boolean | undefined;
135
+ };
136
+ data?: any;
137
+ }[];
138
+ write_guard?: string | undefined;
139
+ }, {
140
+ data: {
141
+ id: number | {
142
+ name_or_address?: string | undefined;
143
+ local_mark_first?: boolean | undefined;
144
+ };
145
+ data?: any;
146
+ }[];
147
+ write_guard?: string | undefined;
148
+ }>;
149
+ export declare const SignerOrClockBaseSchema: z.ZodObject<{
150
+ name: z.ZodEffects<z.ZodString, string, string>;
151
+ write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
152
+ }, "strict", z.ZodTypeAny, {
153
+ name: string;
154
+ write_guard?: string | undefined;
155
+ }, {
156
+ name: string;
157
+ write_guard?: string | undefined;
158
+ }>;
159
+ export declare const SignerOrClockSchema: z.ZodObject<{
160
+ name: z.ZodEffects<z.ZodString, string, string>;
161
+ write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
162
+ data: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
163
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
164
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
165
+ }, "strict", z.ZodTypeAny, {
166
+ name_or_address?: string | undefined;
167
+ local_mark_first?: boolean | undefined;
168
+ }, {
169
+ name_or_address?: string | undefined;
170
+ local_mark_first?: boolean | undefined;
171
+ }>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean, "many">, z.ZodUnion<[z.ZodObject<{
172
+ entities: z.ZodArray<z.ZodObject<{
173
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
174
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
175
+ }, "strict", z.ZodTypeAny, {
176
+ name_or_address?: string | undefined;
177
+ local_mark_first?: boolean | undefined;
178
+ }, {
179
+ name_or_address?: string | undefined;
180
+ local_mark_first?: boolean | undefined;
181
+ }>, "many">;
182
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
183
+ }, "strict", z.ZodTypeAny, {
184
+ entities: {
185
+ name_or_address?: string | undefined;
186
+ local_mark_first?: boolean | undefined;
187
+ }[];
188
+ check_all_founded?: boolean | undefined;
189
+ }, {
190
+ entities: {
191
+ name_or_address?: string | undefined;
192
+ local_mark_first?: boolean | undefined;
193
+ }[];
194
+ check_all_founded?: boolean | undefined;
195
+ }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>, z.ZodType<any, z.ZodTypeDef, any>]>;
196
+ }, "strict", z.ZodTypeAny, {
197
+ name: string;
198
+ data?: any;
199
+ write_guard?: string | undefined;
200
+ }, {
201
+ name: string;
202
+ data?: any;
203
+ write_guard?: string | undefined;
204
+ }>;
205
+ export declare const DataRemoveItemSchema: z.ZodObject<{
206
+ id: z.ZodArray<z.ZodUnion<[z.ZodObject<{
207
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
208
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
209
+ }, "strict", z.ZodTypeAny, {
210
+ name_or_address?: string | undefined;
211
+ local_mark_first?: boolean | undefined;
212
+ }, {
213
+ name_or_address?: string | undefined;
214
+ local_mark_first?: boolean | undefined;
215
+ }>, z.ZodNumber]>, "many">;
216
+ write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
217
+ }, "strict", z.ZodTypeAny, {
218
+ id: (number | {
219
+ name_or_address?: string | undefined;
220
+ local_mark_first?: boolean | undefined;
221
+ })[];
222
+ write_guard?: string | undefined;
223
+ }, {
224
+ id: (number | {
225
+ name_or_address?: string | undefined;
226
+ local_mark_first?: boolean | undefined;
227
+ })[];
228
+ write_guard?: string | undefined;
229
+ }>;
230
+ export declare const PoliciesAddSetSchema: z.ZodObject<{
231
+ op: z.ZodEnum<["add", "set"]>;
232
+ policy: z.ZodArray<z.ZodObject<{
233
+ name: z.ZodString;
234
+ description: z.ZodString;
235
+ write_guard: z.ZodArray<z.ZodObject<{
236
+ guard: z.ZodString;
237
+ id_from_submission: z.ZodOptional<z.ZodNumber>;
238
+ data_from_submission: z.ZodOptional<z.ZodNumber>;
239
+ }, "strip", z.ZodTypeAny, {
240
+ guard: string;
241
+ id_from_submission?: number | undefined;
242
+ data_from_submission?: number | undefined;
243
+ }, {
244
+ guard: string;
245
+ id_from_submission?: number | undefined;
246
+ data_from_submission?: number | undefined;
247
+ }>, "many">;
248
+ quote_guard: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
249
+ id_from: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<"None">, z.ZodLiteral<"Clock">, z.ZodLiteral<"Signer">, z.ZodLiteral<"none">, z.ZodLiteral<"clock">, z.ZodLiteral<"signer">]>;
250
+ value_type: z.ZodUnion<[z.ZodUnion<[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">]>, z.ZodLiteral<any>]>, z.ZodLiteral<"Value">]>;
251
+ }, "strip", z.ZodTypeAny, {
252
+ [x: string]: any;
253
+ name?: unknown;
254
+ description?: unknown;
255
+ write_guard?: unknown;
256
+ quote_guard?: unknown;
257
+ id_from?: unknown;
258
+ value_type?: unknown;
259
+ }, {
260
+ [x: string]: any;
261
+ name?: unknown;
262
+ description?: unknown;
263
+ write_guard?: unknown;
264
+ quote_guard?: unknown;
265
+ id_from?: unknown;
266
+ value_type?: unknown;
267
+ }>, "many">;
268
+ }, "strict", z.ZodTypeAny, {
269
+ op: "set" | "add";
270
+ policy: {
271
+ [x: string]: any;
272
+ name?: unknown;
273
+ description?: unknown;
274
+ write_guard?: unknown;
275
+ quote_guard?: unknown;
276
+ id_from?: unknown;
277
+ value_type?: unknown;
278
+ }[];
279
+ }, {
280
+ op: "set" | "add";
281
+ policy: {
282
+ [x: string]: any;
283
+ name?: unknown;
284
+ description?: unknown;
285
+ write_guard?: unknown;
286
+ quote_guard?: unknown;
287
+ id_from?: unknown;
288
+ value_type?: unknown;
289
+ }[];
290
+ }>;
291
+ export declare const PoliciesRemoveSchema: z.ZodObject<{
292
+ op: z.ZodLiteral<"remove">;
293
+ policy: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
294
+ }, "strict", z.ZodTypeAny, {
295
+ op: "remove";
296
+ policy: string[];
297
+ }, {
298
+ op: "remove";
299
+ policy: string[];
300
+ }>;
301
+ export declare const PoliciesClearSchema: z.ZodObject<{
302
+ op: z.ZodLiteral<"clear">;
303
+ }, "strict", z.ZodTypeAny, {
304
+ op: "clear";
305
+ }, {
306
+ op: "clear";
307
+ }>;
308
+ export declare const PoliciesSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
309
+ op: z.ZodEnum<["add", "set"]>;
310
+ policy: z.ZodArray<z.ZodObject<{
311
+ name: z.ZodString;
312
+ description: z.ZodString;
313
+ write_guard: z.ZodArray<z.ZodObject<{
314
+ guard: z.ZodString;
315
+ id_from_submission: z.ZodOptional<z.ZodNumber>;
316
+ data_from_submission: z.ZodOptional<z.ZodNumber>;
317
+ }, "strip", z.ZodTypeAny, {
318
+ guard: string;
319
+ id_from_submission?: number | undefined;
320
+ data_from_submission?: number | undefined;
321
+ }, {
322
+ guard: string;
323
+ id_from_submission?: number | undefined;
324
+ data_from_submission?: number | undefined;
325
+ }>, "many">;
326
+ quote_guard: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
327
+ id_from: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<"None">, z.ZodLiteral<"Clock">, z.ZodLiteral<"Signer">, z.ZodLiteral<"none">, z.ZodLiteral<"clock">, z.ZodLiteral<"signer">]>;
328
+ value_type: z.ZodUnion<[z.ZodUnion<[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">]>, z.ZodLiteral<any>]>, z.ZodLiteral<"Value">]>;
329
+ }, "strip", z.ZodTypeAny, {
330
+ [x: string]: any;
331
+ name?: unknown;
332
+ description?: unknown;
333
+ write_guard?: unknown;
334
+ quote_guard?: unknown;
335
+ id_from?: unknown;
336
+ value_type?: unknown;
337
+ }, {
338
+ [x: string]: any;
339
+ name?: unknown;
340
+ description?: unknown;
341
+ write_guard?: unknown;
342
+ quote_guard?: unknown;
343
+ id_from?: unknown;
344
+ value_type?: unknown;
345
+ }>, "many">;
346
+ }, "strict", z.ZodTypeAny, {
347
+ op: "set" | "add";
348
+ policy: {
349
+ [x: string]: any;
350
+ name?: unknown;
351
+ description?: unknown;
352
+ write_guard?: unknown;
353
+ quote_guard?: unknown;
354
+ id_from?: unknown;
355
+ value_type?: unknown;
356
+ }[];
357
+ }, {
358
+ op: "set" | "add";
359
+ policy: {
360
+ [x: string]: any;
361
+ name?: unknown;
362
+ description?: unknown;
363
+ write_guard?: unknown;
364
+ quote_guard?: unknown;
365
+ id_from?: unknown;
366
+ value_type?: unknown;
367
+ }[];
368
+ }>, z.ZodObject<{
369
+ op: z.ZodLiteral<"remove">;
370
+ policy: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
371
+ }, "strict", z.ZodTypeAny, {
372
+ op: "remove";
373
+ policy: string[];
374
+ }, {
375
+ op: "remove";
376
+ policy: string[];
377
+ }>, z.ZodObject<{
378
+ op: z.ZodLiteral<"clear">;
379
+ }, "strict", z.ZodTypeAny, {
380
+ op: "clear";
381
+ }, {
382
+ op: "clear";
383
+ }>]>;
384
+ export declare const DataAddWithItemsSchema: z.ZodObject<{
385
+ name: z.ZodEffects<z.ZodString, string, string>;
386
+ items: z.ZodArray<z.ZodObject<{
387
+ data: z.ZodArray<z.ZodObject<{
388
+ id: z.ZodUnion<[z.ZodObject<{
389
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
390
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
391
+ }, "strict", z.ZodTypeAny, {
392
+ name_or_address?: string | undefined;
393
+ local_mark_first?: boolean | undefined;
394
+ }, {
395
+ name_or_address?: string | undefined;
396
+ local_mark_first?: boolean | undefined;
397
+ }>, z.ZodNumber]>;
398
+ data: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
399
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
400
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
401
+ }, "strict", z.ZodTypeAny, {
402
+ name_or_address?: string | undefined;
403
+ local_mark_first?: boolean | undefined;
404
+ }, {
405
+ name_or_address?: string | undefined;
406
+ local_mark_first?: boolean | undefined;
407
+ }>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean, "many">, z.ZodUnion<[z.ZodObject<{
408
+ entities: z.ZodArray<z.ZodObject<{
409
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
410
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
411
+ }, "strict", z.ZodTypeAny, {
412
+ name_or_address?: string | undefined;
413
+ local_mark_first?: boolean | undefined;
414
+ }, {
415
+ name_or_address?: string | undefined;
416
+ local_mark_first?: boolean | undefined;
417
+ }>, "many">;
418
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
419
+ }, "strict", z.ZodTypeAny, {
420
+ entities: {
421
+ name_or_address?: string | undefined;
422
+ local_mark_first?: boolean | undefined;
423
+ }[];
424
+ check_all_founded?: boolean | undefined;
425
+ }, {
426
+ entities: {
427
+ name_or_address?: string | undefined;
428
+ local_mark_first?: boolean | undefined;
429
+ }[];
430
+ check_all_founded?: boolean | undefined;
431
+ }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>, z.ZodType<any, z.ZodTypeDef, any>]>;
432
+ }, "strict", z.ZodTypeAny, {
433
+ id: number | {
434
+ name_or_address?: string | undefined;
435
+ local_mark_first?: boolean | undefined;
436
+ };
437
+ data?: any;
438
+ }, {
439
+ id: number | {
440
+ name_or_address?: string | undefined;
441
+ local_mark_first?: boolean | undefined;
442
+ };
443
+ data?: any;
444
+ }>, "many">;
445
+ write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
446
+ }, "strict", z.ZodTypeAny, {
447
+ data: {
448
+ id: number | {
449
+ name_or_address?: string | undefined;
450
+ local_mark_first?: boolean | undefined;
451
+ };
452
+ data?: any;
453
+ }[];
454
+ write_guard?: string | undefined;
455
+ }, {
456
+ data: {
457
+ id: number | {
458
+ name_or_address?: string | undefined;
459
+ local_mark_first?: boolean | undefined;
460
+ };
461
+ data?: any;
462
+ }[];
463
+ write_guard?: string | undefined;
464
+ }>, "many">;
465
+ }, "strict", z.ZodTypeAny, {
466
+ name: string;
467
+ items: {
468
+ data: {
469
+ id: number | {
470
+ name_or_address?: string | undefined;
471
+ local_mark_first?: boolean | undefined;
472
+ };
473
+ data?: any;
474
+ }[];
475
+ write_guard?: string | undefined;
476
+ }[];
477
+ }, {
478
+ name: string;
479
+ items: {
480
+ data: {
481
+ id: number | {
482
+ name_or_address?: string | undefined;
483
+ local_mark_first?: boolean | undefined;
484
+ };
485
+ data?: any;
486
+ }[];
487
+ write_guard?: string | undefined;
488
+ }[];
489
+ }>;
490
+ export declare const DataAddSchema: z.ZodUnion<[z.ZodObject<{
491
+ name: z.ZodEffects<z.ZodString, string, string>;
492
+ write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
493
+ data: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
494
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
495
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
496
+ }, "strict", z.ZodTypeAny, {
497
+ name_or_address?: string | undefined;
498
+ local_mark_first?: boolean | undefined;
499
+ }, {
500
+ name_or_address?: string | undefined;
501
+ local_mark_first?: boolean | undefined;
502
+ }>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean, "many">, z.ZodUnion<[z.ZodObject<{
503
+ entities: z.ZodArray<z.ZodObject<{
504
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
505
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
506
+ }, "strict", z.ZodTypeAny, {
507
+ name_or_address?: string | undefined;
508
+ local_mark_first?: boolean | undefined;
509
+ }, {
510
+ name_or_address?: string | undefined;
511
+ local_mark_first?: boolean | undefined;
512
+ }>, "many">;
513
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
514
+ }, "strict", z.ZodTypeAny, {
515
+ entities: {
516
+ name_or_address?: string | undefined;
517
+ local_mark_first?: boolean | undefined;
518
+ }[];
519
+ check_all_founded?: boolean | undefined;
520
+ }, {
521
+ entities: {
522
+ name_or_address?: string | undefined;
523
+ local_mark_first?: boolean | undefined;
524
+ }[];
525
+ check_all_founded?: boolean | undefined;
526
+ }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>, z.ZodType<any, z.ZodTypeDef, any>]>;
527
+ }, "strict", z.ZodTypeAny, {
528
+ name: string;
529
+ data?: any;
530
+ write_guard?: string | undefined;
531
+ }, {
532
+ name: string;
533
+ data?: any;
534
+ write_guard?: string | undefined;
535
+ }>, z.ZodObject<{
536
+ name: z.ZodEffects<z.ZodString, string, string>;
537
+ items: z.ZodArray<z.ZodObject<{
538
+ data: z.ZodArray<z.ZodObject<{
539
+ id: z.ZodUnion<[z.ZodObject<{
540
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
541
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
542
+ }, "strict", z.ZodTypeAny, {
543
+ name_or_address?: string | undefined;
544
+ local_mark_first?: boolean | undefined;
545
+ }, {
546
+ name_or_address?: string | undefined;
547
+ local_mark_first?: boolean | undefined;
548
+ }>, z.ZodNumber]>;
549
+ data: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
550
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
551
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
552
+ }, "strict", z.ZodTypeAny, {
553
+ name_or_address?: string | undefined;
554
+ local_mark_first?: boolean | undefined;
555
+ }, {
556
+ name_or_address?: string | undefined;
557
+ local_mark_first?: boolean | undefined;
558
+ }>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean, "many">, z.ZodUnion<[z.ZodObject<{
559
+ entities: z.ZodArray<z.ZodObject<{
560
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
561
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
562
+ }, "strict", z.ZodTypeAny, {
563
+ name_or_address?: string | undefined;
564
+ local_mark_first?: boolean | undefined;
565
+ }, {
566
+ name_or_address?: string | undefined;
567
+ local_mark_first?: boolean | undefined;
568
+ }>, "many">;
569
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
570
+ }, "strict", z.ZodTypeAny, {
571
+ entities: {
572
+ name_or_address?: string | undefined;
573
+ local_mark_first?: boolean | undefined;
574
+ }[];
575
+ check_all_founded?: boolean | undefined;
576
+ }, {
577
+ entities: {
578
+ name_or_address?: string | undefined;
579
+ local_mark_first?: boolean | undefined;
580
+ }[];
581
+ check_all_founded?: boolean | undefined;
582
+ }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>, z.ZodType<any, z.ZodTypeDef, any>]>;
583
+ }, "strict", z.ZodTypeAny, {
584
+ id: number | {
585
+ name_or_address?: string | undefined;
586
+ local_mark_first?: boolean | undefined;
587
+ };
588
+ data?: any;
589
+ }, {
590
+ id: number | {
591
+ name_or_address?: string | undefined;
592
+ local_mark_first?: boolean | undefined;
593
+ };
594
+ data?: any;
595
+ }>, "many">;
596
+ write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
597
+ }, "strict", z.ZodTypeAny, {
598
+ data: {
599
+ id: number | {
600
+ name_or_address?: string | undefined;
601
+ local_mark_first?: boolean | undefined;
602
+ };
603
+ data?: any;
604
+ }[];
605
+ write_guard?: string | undefined;
606
+ }, {
607
+ data: {
608
+ id: number | {
609
+ name_or_address?: string | undefined;
610
+ local_mark_first?: boolean | undefined;
611
+ };
612
+ data?: any;
613
+ }[];
614
+ write_guard?: string | undefined;
615
+ }>, "many">;
616
+ }, "strict", z.ZodTypeAny, {
617
+ name: string;
618
+ items: {
619
+ data: {
620
+ id: number | {
621
+ name_or_address?: string | undefined;
622
+ local_mark_first?: boolean | undefined;
623
+ };
624
+ data?: any;
625
+ }[];
626
+ write_guard?: string | undefined;
627
+ }[];
628
+ }, {
629
+ name: string;
630
+ items: {
631
+ data: {
632
+ id: number | {
633
+ name_or_address?: string | undefined;
634
+ local_mark_first?: boolean | undefined;
635
+ };
636
+ data?: any;
637
+ }[];
638
+ write_guard?: string | undefined;
639
+ }[];
640
+ }>]>;
641
+ export declare const DataRemoveSchema: z.ZodUnion<[z.ZodObject<{
642
+ name: z.ZodEffects<z.ZodString, string, string>;
643
+ write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
644
+ }, "strict", z.ZodTypeAny, {
645
+ name: string;
646
+ write_guard?: string | undefined;
647
+ }, {
648
+ name: string;
649
+ write_guard?: string | undefined;
650
+ }>, z.ZodObject<{
651
+ name: z.ZodEffects<z.ZodString, string, string>;
652
+ items: z.ZodArray<z.ZodObject<{
653
+ id: z.ZodArray<z.ZodUnion<[z.ZodObject<{
654
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
655
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
656
+ }, "strict", z.ZodTypeAny, {
657
+ name_or_address?: string | undefined;
658
+ local_mark_first?: boolean | undefined;
659
+ }, {
660
+ name_or_address?: string | undefined;
661
+ local_mark_first?: boolean | undefined;
662
+ }>, z.ZodNumber]>, "many">;
663
+ write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
664
+ }, "strict", z.ZodTypeAny, {
665
+ id: (number | {
666
+ name_or_address?: string | undefined;
667
+ local_mark_first?: boolean | undefined;
668
+ })[];
669
+ write_guard?: string | undefined;
670
+ }, {
671
+ id: (number | {
672
+ name_or_address?: string | undefined;
673
+ local_mark_first?: boolean | undefined;
674
+ })[];
675
+ write_guard?: string | undefined;
676
+ }>, "many">;
677
+ }, "strict", z.ZodTypeAny, {
678
+ name: string;
679
+ items: {
680
+ id: (number | {
681
+ name_or_address?: string | undefined;
682
+ local_mark_first?: boolean | undefined;
683
+ })[];
684
+ write_guard?: string | undefined;
685
+ }[];
686
+ }, {
687
+ name: string;
688
+ items: {
689
+ id: (number | {
690
+ name_or_address?: string | undefined;
691
+ local_mark_first?: boolean | undefined;
692
+ })[];
693
+ write_guard?: string | undefined;
694
+ }[];
695
+ }>]>;
696
+ export declare const CallRepository_DataSchema: z.ZodObject<{
697
+ object: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
698
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
699
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
700
+ onChain: z.ZodOptional<z.ZodBoolean>;
701
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
702
+ } & {
703
+ permission: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
704
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
705
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
706
+ onChain: z.ZodOptional<z.ZodBoolean>;
707
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
708
+ } & {
709
+ description: z.ZodOptional<z.ZodString>;
710
+ }, "strict", z.ZodTypeAny, {
711
+ name?: string | undefined;
712
+ replaceExistName?: boolean | undefined;
713
+ tags?: string[] | undefined;
714
+ description?: string | undefined;
715
+ onChain?: boolean | undefined;
716
+ }, {
717
+ name?: string | undefined;
718
+ replaceExistName?: boolean | undefined;
719
+ tags?: string[] | undefined;
720
+ description?: string | undefined;
721
+ onChain?: boolean | undefined;
722
+ }>]>>;
723
+ }, "strict", z.ZodTypeAny, {
724
+ name?: string | undefined;
725
+ replaceExistName?: boolean | undefined;
726
+ tags?: string[] | undefined;
727
+ onChain?: boolean | undefined;
728
+ permission?: string | {
729
+ name?: string | undefined;
730
+ replaceExistName?: boolean | undefined;
731
+ tags?: string[] | undefined;
732
+ description?: string | undefined;
733
+ onChain?: boolean | undefined;
734
+ } | undefined;
735
+ }, {
736
+ name?: string | undefined;
737
+ replaceExistName?: boolean | undefined;
738
+ tags?: string[] | undefined;
739
+ onChain?: boolean | undefined;
740
+ permission?: string | {
741
+ name?: string | undefined;
742
+ replaceExistName?: boolean | undefined;
743
+ tags?: string[] | undefined;
744
+ description?: string | undefined;
745
+ onChain?: boolean | undefined;
746
+ } | undefined;
747
+ }>]>;
748
+ description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
749
+ policies: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
750
+ op: z.ZodEnum<["add", "set"]>;
751
+ policy: z.ZodArray<z.ZodObject<{
752
+ name: z.ZodString;
753
+ description: z.ZodString;
754
+ write_guard: z.ZodArray<z.ZodObject<{
755
+ guard: z.ZodString;
756
+ id_from_submission: z.ZodOptional<z.ZodNumber>;
757
+ data_from_submission: z.ZodOptional<z.ZodNumber>;
758
+ }, "strip", z.ZodTypeAny, {
759
+ guard: string;
760
+ id_from_submission?: number | undefined;
761
+ data_from_submission?: number | undefined;
762
+ }, {
763
+ guard: string;
764
+ id_from_submission?: number | undefined;
765
+ data_from_submission?: number | undefined;
766
+ }>, "many">;
767
+ quote_guard: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
768
+ id_from: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<"None">, z.ZodLiteral<"Clock">, z.ZodLiteral<"Signer">, z.ZodLiteral<"none">, z.ZodLiteral<"clock">, z.ZodLiteral<"signer">]>;
769
+ value_type: z.ZodUnion<[z.ZodUnion<[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">]>, z.ZodLiteral<any>]>, z.ZodLiteral<"Value">]>;
770
+ }, "strip", z.ZodTypeAny, {
771
+ [x: string]: any;
772
+ name?: unknown;
773
+ description?: unknown;
774
+ write_guard?: unknown;
775
+ quote_guard?: unknown;
776
+ id_from?: unknown;
777
+ value_type?: unknown;
778
+ }, {
779
+ [x: string]: any;
780
+ name?: unknown;
781
+ description?: unknown;
782
+ write_guard?: unknown;
783
+ quote_guard?: unknown;
784
+ id_from?: unknown;
785
+ value_type?: unknown;
786
+ }>, "many">;
787
+ }, "strict", z.ZodTypeAny, {
788
+ op: "set" | "add";
789
+ policy: {
790
+ [x: string]: any;
791
+ name?: unknown;
792
+ description?: unknown;
793
+ write_guard?: unknown;
794
+ quote_guard?: unknown;
795
+ id_from?: unknown;
796
+ value_type?: unknown;
797
+ }[];
798
+ }, {
799
+ op: "set" | "add";
800
+ policy: {
801
+ [x: string]: any;
802
+ name?: unknown;
803
+ description?: unknown;
804
+ write_guard?: unknown;
805
+ quote_guard?: unknown;
806
+ id_from?: unknown;
807
+ value_type?: unknown;
808
+ }[];
809
+ }>, z.ZodObject<{
810
+ op: z.ZodLiteral<"remove">;
811
+ policy: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
812
+ }, "strict", z.ZodTypeAny, {
813
+ op: "remove";
814
+ policy: string[];
815
+ }, {
816
+ op: "remove";
817
+ policy: string[];
818
+ }>, z.ZodObject<{
819
+ op: z.ZodLiteral<"clear">;
820
+ }, "strict", z.ZodTypeAny, {
821
+ op: "clear";
822
+ }, {
823
+ op: "clear";
824
+ }>]>>;
825
+ data_add: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
826
+ name: z.ZodEffects<z.ZodString, string, string>;
827
+ write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
828
+ data: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
829
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
830
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
831
+ }, "strict", z.ZodTypeAny, {
832
+ name_or_address?: string | undefined;
833
+ local_mark_first?: boolean | undefined;
834
+ }, {
835
+ name_or_address?: string | undefined;
836
+ local_mark_first?: boolean | undefined;
837
+ }>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean, "many">, z.ZodUnion<[z.ZodObject<{
838
+ entities: z.ZodArray<z.ZodObject<{
839
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
840
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
841
+ }, "strict", z.ZodTypeAny, {
842
+ name_or_address?: string | undefined;
843
+ local_mark_first?: boolean | undefined;
844
+ }, {
845
+ name_or_address?: string | undefined;
846
+ local_mark_first?: boolean | undefined;
847
+ }>, "many">;
848
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
849
+ }, "strict", z.ZodTypeAny, {
850
+ entities: {
851
+ name_or_address?: string | undefined;
852
+ local_mark_first?: boolean | undefined;
853
+ }[];
854
+ check_all_founded?: boolean | undefined;
855
+ }, {
856
+ entities: {
857
+ name_or_address?: string | undefined;
858
+ local_mark_first?: boolean | undefined;
859
+ }[];
860
+ check_all_founded?: boolean | undefined;
861
+ }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>, z.ZodType<any, z.ZodTypeDef, any>]>;
862
+ }, "strict", z.ZodTypeAny, {
863
+ name: string;
864
+ data?: any;
865
+ write_guard?: string | undefined;
866
+ }, {
867
+ name: string;
868
+ data?: any;
869
+ write_guard?: string | undefined;
870
+ }>, z.ZodObject<{
871
+ name: z.ZodEffects<z.ZodString, string, string>;
872
+ items: z.ZodArray<z.ZodObject<{
873
+ data: z.ZodArray<z.ZodObject<{
874
+ id: z.ZodUnion<[z.ZodObject<{
875
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
876
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
877
+ }, "strict", z.ZodTypeAny, {
878
+ name_or_address?: string | undefined;
879
+ local_mark_first?: boolean | undefined;
880
+ }, {
881
+ name_or_address?: string | undefined;
882
+ local_mark_first?: boolean | undefined;
883
+ }>, z.ZodNumber]>;
884
+ data: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
885
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
886
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
887
+ }, "strict", z.ZodTypeAny, {
888
+ name_or_address?: string | undefined;
889
+ local_mark_first?: boolean | undefined;
890
+ }, {
891
+ name_or_address?: string | undefined;
892
+ local_mark_first?: boolean | undefined;
893
+ }>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean, "many">, z.ZodUnion<[z.ZodObject<{
894
+ entities: z.ZodArray<z.ZodObject<{
895
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
896
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
897
+ }, "strict", z.ZodTypeAny, {
898
+ name_or_address?: string | undefined;
899
+ local_mark_first?: boolean | undefined;
900
+ }, {
901
+ name_or_address?: string | undefined;
902
+ local_mark_first?: boolean | undefined;
903
+ }>, "many">;
904
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
905
+ }, "strict", z.ZodTypeAny, {
906
+ entities: {
907
+ name_or_address?: string | undefined;
908
+ local_mark_first?: boolean | undefined;
909
+ }[];
910
+ check_all_founded?: boolean | undefined;
911
+ }, {
912
+ entities: {
913
+ name_or_address?: string | undefined;
914
+ local_mark_first?: boolean | undefined;
915
+ }[];
916
+ check_all_founded?: boolean | undefined;
917
+ }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>, z.ZodType<any, z.ZodTypeDef, any>]>;
918
+ }, "strict", z.ZodTypeAny, {
919
+ id: number | {
920
+ name_or_address?: string | undefined;
921
+ local_mark_first?: boolean | undefined;
922
+ };
923
+ data?: any;
924
+ }, {
925
+ id: number | {
926
+ name_or_address?: string | undefined;
927
+ local_mark_first?: boolean | undefined;
928
+ };
929
+ data?: any;
930
+ }>, "many">;
931
+ write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
932
+ }, "strict", z.ZodTypeAny, {
933
+ data: {
934
+ id: number | {
935
+ name_or_address?: string | undefined;
936
+ local_mark_first?: boolean | undefined;
937
+ };
938
+ data?: any;
939
+ }[];
940
+ write_guard?: string | undefined;
941
+ }, {
942
+ data: {
943
+ id: number | {
944
+ name_or_address?: string | undefined;
945
+ local_mark_first?: boolean | undefined;
946
+ };
947
+ data?: any;
948
+ }[];
949
+ write_guard?: string | undefined;
950
+ }>, "many">;
951
+ }, "strict", z.ZodTypeAny, {
952
+ name: string;
953
+ items: {
954
+ data: {
955
+ id: number | {
956
+ name_or_address?: string | undefined;
957
+ local_mark_first?: boolean | undefined;
958
+ };
959
+ data?: any;
960
+ }[];
961
+ write_guard?: string | undefined;
962
+ }[];
963
+ }, {
964
+ name: string;
965
+ items: {
966
+ data: {
967
+ id: number | {
968
+ name_or_address?: string | undefined;
969
+ local_mark_first?: boolean | undefined;
970
+ };
971
+ data?: any;
972
+ }[];
973
+ write_guard?: string | undefined;
974
+ }[];
975
+ }>]>>;
976
+ data_remove: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
977
+ name: z.ZodEffects<z.ZodString, string, string>;
978
+ write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
979
+ }, "strict", z.ZodTypeAny, {
980
+ name: string;
981
+ write_guard?: string | undefined;
982
+ }, {
983
+ name: string;
984
+ write_guard?: string | undefined;
985
+ }>, z.ZodObject<{
986
+ name: z.ZodEffects<z.ZodString, string, string>;
987
+ items: z.ZodArray<z.ZodObject<{
988
+ id: z.ZodArray<z.ZodUnion<[z.ZodObject<{
989
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
990
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
991
+ }, "strict", z.ZodTypeAny, {
992
+ name_or_address?: string | undefined;
993
+ local_mark_first?: boolean | undefined;
994
+ }, {
995
+ name_or_address?: string | undefined;
996
+ local_mark_first?: boolean | undefined;
997
+ }>, z.ZodNumber]>, "many">;
998
+ write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
999
+ }, "strict", z.ZodTypeAny, {
1000
+ id: (number | {
1001
+ name_or_address?: string | undefined;
1002
+ local_mark_first?: boolean | undefined;
1003
+ })[];
1004
+ write_guard?: string | undefined;
1005
+ }, {
1006
+ id: (number | {
1007
+ name_or_address?: string | undefined;
1008
+ local_mark_first?: boolean | undefined;
1009
+ })[];
1010
+ write_guard?: string | undefined;
1011
+ }>, "many">;
1012
+ }, "strict", z.ZodTypeAny, {
1013
+ name: string;
1014
+ items: {
1015
+ id: (number | {
1016
+ name_or_address?: string | undefined;
1017
+ local_mark_first?: boolean | undefined;
1018
+ })[];
1019
+ write_guard?: string | undefined;
1020
+ }[];
1021
+ }, {
1022
+ name: string;
1023
+ items: {
1024
+ id: (number | {
1025
+ name_or_address?: string | undefined;
1026
+ local_mark_first?: boolean | undefined;
1027
+ })[];
1028
+ write_guard?: string | undefined;
1029
+ }[];
1030
+ }>]>>;
1031
+ rewards: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1032
+ op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
1033
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1034
+ }, "strict", z.ZodTypeAny, {
1035
+ op: "set" | "add";
1036
+ objects: string[];
1037
+ }, {
1038
+ op: "set" | "add";
1039
+ objects: string[];
1040
+ }>, z.ZodObject<{
1041
+ op: z.ZodLiteral<"remove">;
1042
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1043
+ }, "strict", z.ZodTypeAny, {
1044
+ op: "remove";
1045
+ objects: string[];
1046
+ }, {
1047
+ op: "remove";
1048
+ objects: string[];
1049
+ }>, z.ZodObject<{
1050
+ op: z.ZodLiteral<"clear">;
1051
+ }, "strict", z.ZodTypeAny, {
1052
+ op: "clear";
1053
+ }, {
1054
+ op: "clear";
1055
+ }>]>>;
1056
+ owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
1057
+ id: z.ZodString;
1058
+ type: z.ZodString;
1059
+ }, "strict", z.ZodTypeAny, {
1060
+ type: string;
1061
+ id: string;
1062
+ }, {
1063
+ type: string;
1064
+ id: string;
1065
+ }>, "many">, z.ZodObject<{
1066
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1067
+ token_type: z.ZodEffects<z.ZodString, string, string>;
1068
+ received: z.ZodArray<z.ZodObject<{
1069
+ id: z.ZodString;
1070
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1071
+ payment: z.ZodString;
1072
+ }, "strict", z.ZodTypeAny, {
1073
+ id: string;
1074
+ balance: string | number;
1075
+ payment: string;
1076
+ }, {
1077
+ id: string;
1078
+ balance: string | number;
1079
+ payment: string;
1080
+ }>, "many">;
1081
+ }, "strict", z.ZodTypeAny, {
1082
+ received: {
1083
+ id: string;
1084
+ balance: string | number;
1085
+ payment: string;
1086
+ }[];
1087
+ balance: string | number;
1088
+ token_type: string;
1089
+ }, {
1090
+ received: {
1091
+ id: string;
1092
+ balance: string | number;
1093
+ payment: string;
1094
+ }[];
1095
+ balance: string | number;
1096
+ token_type: string;
1097
+ }>, z.ZodLiteral<"recently">]>>;
1098
+ um: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
1099
+ }, "strict", z.ZodTypeAny, {
1100
+ object: string | {
1101
+ name?: string | undefined;
1102
+ replaceExistName?: boolean | undefined;
1103
+ tags?: string[] | undefined;
1104
+ onChain?: boolean | undefined;
1105
+ permission?: string | {
1106
+ name?: string | undefined;
1107
+ replaceExistName?: boolean | undefined;
1108
+ tags?: string[] | undefined;
1109
+ description?: string | undefined;
1110
+ onChain?: boolean | undefined;
1111
+ } | undefined;
1112
+ };
1113
+ description?: string | undefined;
1114
+ owner_receive?: {
1115
+ received: {
1116
+ id: string;
1117
+ balance: string | number;
1118
+ payment: string;
1119
+ }[];
1120
+ balance: string | number;
1121
+ token_type: string;
1122
+ } | "recently" | {
1123
+ type: string;
1124
+ id: string;
1125
+ }[] | undefined;
1126
+ rewards?: {
1127
+ op: "set" | "add";
1128
+ objects: string[];
1129
+ } | {
1130
+ op: "remove";
1131
+ objects: string[];
1132
+ } | {
1133
+ op: "clear";
1134
+ } | undefined;
1135
+ um?: string | null | undefined;
1136
+ policies?: {
1137
+ op: "set" | "add";
1138
+ policy: {
1139
+ [x: string]: any;
1140
+ name?: unknown;
1141
+ description?: unknown;
1142
+ write_guard?: unknown;
1143
+ quote_guard?: unknown;
1144
+ id_from?: unknown;
1145
+ value_type?: unknown;
1146
+ }[];
1147
+ } | {
1148
+ op: "remove";
1149
+ policy: string[];
1150
+ } | {
1151
+ op: "clear";
1152
+ } | undefined;
1153
+ data_add?: {
1154
+ name: string;
1155
+ data?: any;
1156
+ write_guard?: string | undefined;
1157
+ } | {
1158
+ name: string;
1159
+ items: {
1160
+ data: {
1161
+ id: number | {
1162
+ name_or_address?: string | undefined;
1163
+ local_mark_first?: boolean | undefined;
1164
+ };
1165
+ data?: any;
1166
+ }[];
1167
+ write_guard?: string | undefined;
1168
+ }[];
1169
+ } | undefined;
1170
+ data_remove?: {
1171
+ name: string;
1172
+ write_guard?: string | undefined;
1173
+ } | {
1174
+ name: string;
1175
+ items: {
1176
+ id: (number | {
1177
+ name_or_address?: string | undefined;
1178
+ local_mark_first?: boolean | undefined;
1179
+ })[];
1180
+ write_guard?: string | undefined;
1181
+ }[];
1182
+ } | undefined;
1183
+ }, {
1184
+ object: string | {
1185
+ name?: string | undefined;
1186
+ replaceExistName?: boolean | undefined;
1187
+ tags?: string[] | undefined;
1188
+ onChain?: boolean | undefined;
1189
+ permission?: string | {
1190
+ name?: string | undefined;
1191
+ replaceExistName?: boolean | undefined;
1192
+ tags?: string[] | undefined;
1193
+ description?: string | undefined;
1194
+ onChain?: boolean | undefined;
1195
+ } | undefined;
1196
+ };
1197
+ description?: string | undefined;
1198
+ owner_receive?: {
1199
+ received: {
1200
+ id: string;
1201
+ balance: string | number;
1202
+ payment: string;
1203
+ }[];
1204
+ balance: string | number;
1205
+ token_type: string;
1206
+ } | "recently" | {
1207
+ type: string;
1208
+ id: string;
1209
+ }[] | undefined;
1210
+ rewards?: {
1211
+ op: "set" | "add";
1212
+ objects: string[];
1213
+ } | {
1214
+ op: "remove";
1215
+ objects: string[];
1216
+ } | {
1217
+ op: "clear";
1218
+ } | undefined;
1219
+ um?: string | null | undefined;
1220
+ policies?: {
1221
+ op: "set" | "add";
1222
+ policy: {
1223
+ [x: string]: any;
1224
+ name?: unknown;
1225
+ description?: unknown;
1226
+ write_guard?: unknown;
1227
+ quote_guard?: unknown;
1228
+ id_from?: unknown;
1229
+ value_type?: unknown;
1230
+ }[];
1231
+ } | {
1232
+ op: "remove";
1233
+ policy: string[];
1234
+ } | {
1235
+ op: "clear";
1236
+ } | undefined;
1237
+ data_add?: {
1238
+ name: string;
1239
+ data?: any;
1240
+ write_guard?: string | undefined;
1241
+ } | {
1242
+ name: string;
1243
+ items: {
1244
+ data: {
1245
+ id: number | {
1246
+ name_or_address?: string | undefined;
1247
+ local_mark_first?: boolean | undefined;
1248
+ };
1249
+ data?: any;
1250
+ }[];
1251
+ write_guard?: string | undefined;
1252
+ }[];
1253
+ } | undefined;
1254
+ data_remove?: {
1255
+ name: string;
1256
+ write_guard?: string | undefined;
1257
+ } | {
1258
+ name: string;
1259
+ items: {
1260
+ id: (number | {
1261
+ name_or_address?: string | undefined;
1262
+ local_mark_first?: boolean | undefined;
1263
+ })[];
1264
+ write_guard?: string | undefined;
1265
+ }[];
1266
+ } | undefined;
1267
+ }>;
1268
+ export declare const CallRepository_InputSchema: z.ZodObject<{
1269
+ data: z.ZodObject<{
1270
+ object: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
1271
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1272
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1273
+ onChain: z.ZodOptional<z.ZodBoolean>;
1274
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
1275
+ } & {
1276
+ permission: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
1277
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1278
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1279
+ onChain: z.ZodOptional<z.ZodBoolean>;
1280
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
1281
+ } & {
1282
+ description: z.ZodOptional<z.ZodString>;
1283
+ }, "strict", z.ZodTypeAny, {
1284
+ name?: string | undefined;
1285
+ replaceExistName?: boolean | undefined;
1286
+ tags?: string[] | undefined;
1287
+ description?: string | undefined;
1288
+ onChain?: boolean | undefined;
1289
+ }, {
1290
+ name?: string | undefined;
1291
+ replaceExistName?: boolean | undefined;
1292
+ tags?: string[] | undefined;
1293
+ description?: string | undefined;
1294
+ onChain?: boolean | undefined;
1295
+ }>]>>;
1296
+ }, "strict", z.ZodTypeAny, {
1297
+ name?: string | undefined;
1298
+ replaceExistName?: boolean | undefined;
1299
+ tags?: string[] | undefined;
1300
+ onChain?: boolean | undefined;
1301
+ permission?: string | {
1302
+ name?: string | undefined;
1303
+ replaceExistName?: boolean | undefined;
1304
+ tags?: string[] | undefined;
1305
+ description?: string | undefined;
1306
+ onChain?: boolean | undefined;
1307
+ } | undefined;
1308
+ }, {
1309
+ name?: string | undefined;
1310
+ replaceExistName?: boolean | undefined;
1311
+ tags?: string[] | undefined;
1312
+ onChain?: boolean | undefined;
1313
+ permission?: string | {
1314
+ name?: string | undefined;
1315
+ replaceExistName?: boolean | undefined;
1316
+ tags?: string[] | undefined;
1317
+ description?: string | undefined;
1318
+ onChain?: boolean | undefined;
1319
+ } | undefined;
1320
+ }>]>;
1321
+ description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1322
+ policies: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
1323
+ op: z.ZodEnum<["add", "set"]>;
1324
+ policy: z.ZodArray<z.ZodObject<{
1325
+ name: z.ZodString;
1326
+ description: z.ZodString;
1327
+ write_guard: z.ZodArray<z.ZodObject<{
1328
+ guard: z.ZodString;
1329
+ id_from_submission: z.ZodOptional<z.ZodNumber>;
1330
+ data_from_submission: z.ZodOptional<z.ZodNumber>;
1331
+ }, "strip", z.ZodTypeAny, {
1332
+ guard: string;
1333
+ id_from_submission?: number | undefined;
1334
+ data_from_submission?: number | undefined;
1335
+ }, {
1336
+ guard: string;
1337
+ id_from_submission?: number | undefined;
1338
+ data_from_submission?: number | undefined;
1339
+ }>, "many">;
1340
+ quote_guard: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1341
+ id_from: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<"None">, z.ZodLiteral<"Clock">, z.ZodLiteral<"Signer">, z.ZodLiteral<"none">, z.ZodLiteral<"clock">, z.ZodLiteral<"signer">]>;
1342
+ value_type: z.ZodUnion<[z.ZodUnion<[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">]>, z.ZodLiteral<any>]>, z.ZodLiteral<"Value">]>;
1343
+ }, "strip", z.ZodTypeAny, {
1344
+ [x: string]: any;
1345
+ name?: unknown;
1346
+ description?: unknown;
1347
+ write_guard?: unknown;
1348
+ quote_guard?: unknown;
1349
+ id_from?: unknown;
1350
+ value_type?: unknown;
1351
+ }, {
1352
+ [x: string]: any;
1353
+ name?: unknown;
1354
+ description?: unknown;
1355
+ write_guard?: unknown;
1356
+ quote_guard?: unknown;
1357
+ id_from?: unknown;
1358
+ value_type?: unknown;
1359
+ }>, "many">;
1360
+ }, "strict", z.ZodTypeAny, {
1361
+ op: "set" | "add";
1362
+ policy: {
1363
+ [x: string]: any;
1364
+ name?: unknown;
1365
+ description?: unknown;
1366
+ write_guard?: unknown;
1367
+ quote_guard?: unknown;
1368
+ id_from?: unknown;
1369
+ value_type?: unknown;
1370
+ }[];
1371
+ }, {
1372
+ op: "set" | "add";
1373
+ policy: {
1374
+ [x: string]: any;
1375
+ name?: unknown;
1376
+ description?: unknown;
1377
+ write_guard?: unknown;
1378
+ quote_guard?: unknown;
1379
+ id_from?: unknown;
1380
+ value_type?: unknown;
1381
+ }[];
1382
+ }>, z.ZodObject<{
1383
+ op: z.ZodLiteral<"remove">;
1384
+ policy: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1385
+ }, "strict", z.ZodTypeAny, {
1386
+ op: "remove";
1387
+ policy: string[];
1388
+ }, {
1389
+ op: "remove";
1390
+ policy: string[];
1391
+ }>, z.ZodObject<{
1392
+ op: z.ZodLiteral<"clear">;
1393
+ }, "strict", z.ZodTypeAny, {
1394
+ op: "clear";
1395
+ }, {
1396
+ op: "clear";
1397
+ }>]>>;
1398
+ data_add: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1399
+ name: z.ZodEffects<z.ZodString, string, string>;
1400
+ write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1401
+ data: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
1402
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1403
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1404
+ }, "strict", z.ZodTypeAny, {
1405
+ name_or_address?: string | undefined;
1406
+ local_mark_first?: boolean | undefined;
1407
+ }, {
1408
+ name_or_address?: string | undefined;
1409
+ local_mark_first?: boolean | undefined;
1410
+ }>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean, "many">, z.ZodUnion<[z.ZodObject<{
1411
+ entities: z.ZodArray<z.ZodObject<{
1412
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1413
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1414
+ }, "strict", z.ZodTypeAny, {
1415
+ name_or_address?: string | undefined;
1416
+ local_mark_first?: boolean | undefined;
1417
+ }, {
1418
+ name_or_address?: string | undefined;
1419
+ local_mark_first?: boolean | undefined;
1420
+ }>, "many">;
1421
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
1422
+ }, "strict", z.ZodTypeAny, {
1423
+ entities: {
1424
+ name_or_address?: string | undefined;
1425
+ local_mark_first?: boolean | undefined;
1426
+ }[];
1427
+ check_all_founded?: boolean | undefined;
1428
+ }, {
1429
+ entities: {
1430
+ name_or_address?: string | undefined;
1431
+ local_mark_first?: boolean | undefined;
1432
+ }[];
1433
+ check_all_founded?: boolean | undefined;
1434
+ }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>, z.ZodType<any, z.ZodTypeDef, any>]>;
1435
+ }, "strict", z.ZodTypeAny, {
1436
+ name: string;
1437
+ data?: any;
1438
+ write_guard?: string | undefined;
1439
+ }, {
1440
+ name: string;
1441
+ data?: any;
1442
+ write_guard?: string | undefined;
1443
+ }>, z.ZodObject<{
1444
+ name: z.ZodEffects<z.ZodString, string, string>;
1445
+ items: z.ZodArray<z.ZodObject<{
1446
+ data: z.ZodArray<z.ZodObject<{
1447
+ id: z.ZodUnion<[z.ZodObject<{
1448
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1449
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1450
+ }, "strict", z.ZodTypeAny, {
1451
+ name_or_address?: string | undefined;
1452
+ local_mark_first?: boolean | undefined;
1453
+ }, {
1454
+ name_or_address?: string | undefined;
1455
+ local_mark_first?: boolean | undefined;
1456
+ }>, z.ZodNumber]>;
1457
+ data: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
1458
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1459
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1460
+ }, "strict", z.ZodTypeAny, {
1461
+ name_or_address?: string | undefined;
1462
+ local_mark_first?: boolean | undefined;
1463
+ }, {
1464
+ name_or_address?: string | undefined;
1465
+ local_mark_first?: boolean | undefined;
1466
+ }>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean, "many">, z.ZodUnion<[z.ZodObject<{
1467
+ entities: z.ZodArray<z.ZodObject<{
1468
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1469
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1470
+ }, "strict", z.ZodTypeAny, {
1471
+ name_or_address?: string | undefined;
1472
+ local_mark_first?: boolean | undefined;
1473
+ }, {
1474
+ name_or_address?: string | undefined;
1475
+ local_mark_first?: boolean | undefined;
1476
+ }>, "many">;
1477
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
1478
+ }, "strict", z.ZodTypeAny, {
1479
+ entities: {
1480
+ name_or_address?: string | undefined;
1481
+ local_mark_first?: boolean | undefined;
1482
+ }[];
1483
+ check_all_founded?: boolean | undefined;
1484
+ }, {
1485
+ entities: {
1486
+ name_or_address?: string | undefined;
1487
+ local_mark_first?: boolean | undefined;
1488
+ }[];
1489
+ check_all_founded?: boolean | undefined;
1490
+ }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>, z.ZodType<any, z.ZodTypeDef, any>]>;
1491
+ }, "strict", z.ZodTypeAny, {
1492
+ id: number | {
1493
+ name_or_address?: string | undefined;
1494
+ local_mark_first?: boolean | undefined;
1495
+ };
1496
+ data?: any;
1497
+ }, {
1498
+ id: number | {
1499
+ name_or_address?: string | undefined;
1500
+ local_mark_first?: boolean | undefined;
1501
+ };
1502
+ data?: any;
1503
+ }>, "many">;
1504
+ write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1505
+ }, "strict", z.ZodTypeAny, {
1506
+ data: {
1507
+ id: number | {
1508
+ name_or_address?: string | undefined;
1509
+ local_mark_first?: boolean | undefined;
1510
+ };
1511
+ data?: any;
1512
+ }[];
1513
+ write_guard?: string | undefined;
1514
+ }, {
1515
+ data: {
1516
+ id: number | {
1517
+ name_or_address?: string | undefined;
1518
+ local_mark_first?: boolean | undefined;
1519
+ };
1520
+ data?: any;
1521
+ }[];
1522
+ write_guard?: string | undefined;
1523
+ }>, "many">;
1524
+ }, "strict", z.ZodTypeAny, {
1525
+ name: string;
1526
+ items: {
1527
+ data: {
1528
+ id: number | {
1529
+ name_or_address?: string | undefined;
1530
+ local_mark_first?: boolean | undefined;
1531
+ };
1532
+ data?: any;
1533
+ }[];
1534
+ write_guard?: string | undefined;
1535
+ }[];
1536
+ }, {
1537
+ name: string;
1538
+ items: {
1539
+ data: {
1540
+ id: number | {
1541
+ name_or_address?: string | undefined;
1542
+ local_mark_first?: boolean | undefined;
1543
+ };
1544
+ data?: any;
1545
+ }[];
1546
+ write_guard?: string | undefined;
1547
+ }[];
1548
+ }>]>>;
1549
+ data_remove: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1550
+ name: z.ZodEffects<z.ZodString, string, string>;
1551
+ write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1552
+ }, "strict", z.ZodTypeAny, {
1553
+ name: string;
1554
+ write_guard?: string | undefined;
1555
+ }, {
1556
+ name: string;
1557
+ write_guard?: string | undefined;
1558
+ }>, z.ZodObject<{
1559
+ name: z.ZodEffects<z.ZodString, string, string>;
1560
+ items: z.ZodArray<z.ZodObject<{
1561
+ id: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1562
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1563
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1564
+ }, "strict", z.ZodTypeAny, {
1565
+ name_or_address?: string | undefined;
1566
+ local_mark_first?: boolean | undefined;
1567
+ }, {
1568
+ name_or_address?: string | undefined;
1569
+ local_mark_first?: boolean | undefined;
1570
+ }>, z.ZodNumber]>, "many">;
1571
+ write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1572
+ }, "strict", z.ZodTypeAny, {
1573
+ id: (number | {
1574
+ name_or_address?: string | undefined;
1575
+ local_mark_first?: boolean | undefined;
1576
+ })[];
1577
+ write_guard?: string | undefined;
1578
+ }, {
1579
+ id: (number | {
1580
+ name_or_address?: string | undefined;
1581
+ local_mark_first?: boolean | undefined;
1582
+ })[];
1583
+ write_guard?: string | undefined;
1584
+ }>, "many">;
1585
+ }, "strict", z.ZodTypeAny, {
1586
+ name: string;
1587
+ items: {
1588
+ id: (number | {
1589
+ name_or_address?: string | undefined;
1590
+ local_mark_first?: boolean | undefined;
1591
+ })[];
1592
+ write_guard?: string | undefined;
1593
+ }[];
1594
+ }, {
1595
+ name: string;
1596
+ items: {
1597
+ id: (number | {
1598
+ name_or_address?: string | undefined;
1599
+ local_mark_first?: boolean | undefined;
1600
+ })[];
1601
+ write_guard?: string | undefined;
1602
+ }[];
1603
+ }>]>>;
1604
+ rewards: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1605
+ op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
1606
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1607
+ }, "strict", z.ZodTypeAny, {
1608
+ op: "set" | "add";
1609
+ objects: string[];
1610
+ }, {
1611
+ op: "set" | "add";
1612
+ objects: string[];
1613
+ }>, z.ZodObject<{
1614
+ op: z.ZodLiteral<"remove">;
1615
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1616
+ }, "strict", z.ZodTypeAny, {
1617
+ op: "remove";
1618
+ objects: string[];
1619
+ }, {
1620
+ op: "remove";
1621
+ objects: string[];
1622
+ }>, z.ZodObject<{
1623
+ op: z.ZodLiteral<"clear">;
1624
+ }, "strict", z.ZodTypeAny, {
1625
+ op: "clear";
1626
+ }, {
1627
+ op: "clear";
1628
+ }>]>>;
1629
+ owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
1630
+ id: z.ZodString;
1631
+ type: z.ZodString;
1632
+ }, "strict", z.ZodTypeAny, {
1633
+ type: string;
1634
+ id: string;
1635
+ }, {
1636
+ type: string;
1637
+ id: string;
1638
+ }>, "many">, z.ZodObject<{
1639
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1640
+ token_type: z.ZodEffects<z.ZodString, string, string>;
1641
+ received: z.ZodArray<z.ZodObject<{
1642
+ id: z.ZodString;
1643
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1644
+ payment: z.ZodString;
1645
+ }, "strict", z.ZodTypeAny, {
1646
+ id: string;
1647
+ balance: string | number;
1648
+ payment: string;
1649
+ }, {
1650
+ id: string;
1651
+ balance: string | number;
1652
+ payment: string;
1653
+ }>, "many">;
1654
+ }, "strict", z.ZodTypeAny, {
1655
+ received: {
1656
+ id: string;
1657
+ balance: string | number;
1658
+ payment: string;
1659
+ }[];
1660
+ balance: string | number;
1661
+ token_type: string;
1662
+ }, {
1663
+ received: {
1664
+ id: string;
1665
+ balance: string | number;
1666
+ payment: string;
1667
+ }[];
1668
+ balance: string | number;
1669
+ token_type: string;
1670
+ }>, z.ZodLiteral<"recently">]>>;
1671
+ um: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
1672
+ }, "strict", z.ZodTypeAny, {
1673
+ object: string | {
1674
+ name?: string | undefined;
1675
+ replaceExistName?: boolean | undefined;
1676
+ tags?: string[] | undefined;
1677
+ onChain?: boolean | undefined;
1678
+ permission?: string | {
1679
+ name?: string | undefined;
1680
+ replaceExistName?: boolean | undefined;
1681
+ tags?: string[] | undefined;
1682
+ description?: string | undefined;
1683
+ onChain?: boolean | undefined;
1684
+ } | undefined;
1685
+ };
1686
+ description?: string | undefined;
1687
+ owner_receive?: {
1688
+ received: {
1689
+ id: string;
1690
+ balance: string | number;
1691
+ payment: string;
1692
+ }[];
1693
+ balance: string | number;
1694
+ token_type: string;
1695
+ } | "recently" | {
1696
+ type: string;
1697
+ id: string;
1698
+ }[] | undefined;
1699
+ rewards?: {
1700
+ op: "set" | "add";
1701
+ objects: string[];
1702
+ } | {
1703
+ op: "remove";
1704
+ objects: string[];
1705
+ } | {
1706
+ op: "clear";
1707
+ } | undefined;
1708
+ um?: string | null | undefined;
1709
+ policies?: {
1710
+ op: "set" | "add";
1711
+ policy: {
1712
+ [x: string]: any;
1713
+ name?: unknown;
1714
+ description?: unknown;
1715
+ write_guard?: unknown;
1716
+ quote_guard?: unknown;
1717
+ id_from?: unknown;
1718
+ value_type?: unknown;
1719
+ }[];
1720
+ } | {
1721
+ op: "remove";
1722
+ policy: string[];
1723
+ } | {
1724
+ op: "clear";
1725
+ } | undefined;
1726
+ data_add?: {
1727
+ name: string;
1728
+ data?: any;
1729
+ write_guard?: string | undefined;
1730
+ } | {
1731
+ name: string;
1732
+ items: {
1733
+ data: {
1734
+ id: number | {
1735
+ name_or_address?: string | undefined;
1736
+ local_mark_first?: boolean | undefined;
1737
+ };
1738
+ data?: any;
1739
+ }[];
1740
+ write_guard?: string | undefined;
1741
+ }[];
1742
+ } | undefined;
1743
+ data_remove?: {
1744
+ name: string;
1745
+ write_guard?: string | undefined;
1746
+ } | {
1747
+ name: string;
1748
+ items: {
1749
+ id: (number | {
1750
+ name_or_address?: string | undefined;
1751
+ local_mark_first?: boolean | undefined;
1752
+ })[];
1753
+ write_guard?: string | undefined;
1754
+ }[];
1755
+ } | undefined;
1756
+ }, {
1757
+ object: string | {
1758
+ name?: string | undefined;
1759
+ replaceExistName?: boolean | undefined;
1760
+ tags?: string[] | undefined;
1761
+ onChain?: boolean | undefined;
1762
+ permission?: string | {
1763
+ name?: string | undefined;
1764
+ replaceExistName?: boolean | undefined;
1765
+ tags?: string[] | undefined;
1766
+ description?: string | undefined;
1767
+ onChain?: boolean | undefined;
1768
+ } | undefined;
1769
+ };
1770
+ description?: string | undefined;
1771
+ owner_receive?: {
1772
+ received: {
1773
+ id: string;
1774
+ balance: string | number;
1775
+ payment: string;
1776
+ }[];
1777
+ balance: string | number;
1778
+ token_type: string;
1779
+ } | "recently" | {
1780
+ type: string;
1781
+ id: string;
1782
+ }[] | undefined;
1783
+ rewards?: {
1784
+ op: "set" | "add";
1785
+ objects: string[];
1786
+ } | {
1787
+ op: "remove";
1788
+ objects: string[];
1789
+ } | {
1790
+ op: "clear";
1791
+ } | undefined;
1792
+ um?: string | null | undefined;
1793
+ policies?: {
1794
+ op: "set" | "add";
1795
+ policy: {
1796
+ [x: string]: any;
1797
+ name?: unknown;
1798
+ description?: unknown;
1799
+ write_guard?: unknown;
1800
+ quote_guard?: unknown;
1801
+ id_from?: unknown;
1802
+ value_type?: unknown;
1803
+ }[];
1804
+ } | {
1805
+ op: "remove";
1806
+ policy: string[];
1807
+ } | {
1808
+ op: "clear";
1809
+ } | undefined;
1810
+ data_add?: {
1811
+ name: string;
1812
+ data?: any;
1813
+ write_guard?: string | undefined;
1814
+ } | {
1815
+ name: string;
1816
+ items: {
1817
+ data: {
1818
+ id: number | {
1819
+ name_or_address?: string | undefined;
1820
+ local_mark_first?: boolean | undefined;
1821
+ };
1822
+ data?: any;
1823
+ }[];
1824
+ write_guard?: string | undefined;
1825
+ }[];
1826
+ } | undefined;
1827
+ data_remove?: {
1828
+ name: string;
1829
+ write_guard?: string | undefined;
1830
+ } | {
1831
+ name: string;
1832
+ items: {
1833
+ id: (number | {
1834
+ name_or_address?: string | undefined;
1835
+ local_mark_first?: boolean | undefined;
1836
+ })[];
1837
+ write_guard?: string | undefined;
1838
+ }[];
1839
+ } | undefined;
1840
+ }>;
1841
+ env: z.ZodOptional<z.ZodObject<{
1842
+ account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
1843
+ permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1844
+ no_cache: z.ZodOptional<z.ZodBoolean>;
1845
+ network: z.ZodOptional<z.ZodEnum<any>>;
1846
+ referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1847
+ }, "strict", z.ZodTypeAny, {
1848
+ [x: string]: any;
1849
+ account?: unknown;
1850
+ permission_guard?: unknown;
1851
+ no_cache?: unknown;
1852
+ network?: unknown;
1853
+ referrer?: unknown;
1854
+ }, {
1855
+ [x: string]: any;
1856
+ account?: unknown;
1857
+ permission_guard?: unknown;
1858
+ no_cache?: unknown;
1859
+ network?: unknown;
1860
+ referrer?: unknown;
1861
+ }>>;
1862
+ submission: z.ZodOptional<z.ZodObject<{
1863
+ type: z.ZodLiteral<"submission">;
1864
+ guard: z.ZodArray<z.ZodObject<{
1865
+ object: z.ZodEffects<z.ZodString, string, string>;
1866
+ impack: z.ZodBoolean;
1867
+ }, "strict", z.ZodTypeAny, {
1868
+ object: string;
1869
+ impack: boolean;
1870
+ }, {
1871
+ object: string;
1872
+ impack: boolean;
1873
+ }>, "many">;
1874
+ submission: z.ZodArray<z.ZodObject<{
1875
+ guard: z.ZodEffects<z.ZodString, string, string>;
1876
+ submission: z.ZodArray<z.ZodObject<{
1877
+ identifier: z.ZodNumber;
1878
+ b_submission: z.ZodBoolean;
1879
+ 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">]>;
1880
+ value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
1881
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1882
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1883
+ }, "strict", z.ZodTypeAny, {
1884
+ name_or_address?: string | undefined;
1885
+ local_mark_first?: boolean | undefined;
1886
+ }, {
1887
+ name_or_address?: string | undefined;
1888
+ local_mark_first?: boolean | undefined;
1889
+ }>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean, "many">, z.ZodUnion<[z.ZodObject<{
1890
+ entities: z.ZodArray<z.ZodObject<{
1891
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1892
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1893
+ }, "strict", z.ZodTypeAny, {
1894
+ name_or_address?: string | undefined;
1895
+ local_mark_first?: boolean | undefined;
1896
+ }, {
1897
+ name_or_address?: string | undefined;
1898
+ local_mark_first?: boolean | undefined;
1899
+ }>, "many">;
1900
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
1901
+ }, "strict", z.ZodTypeAny, {
1902
+ entities: {
1903
+ name_or_address?: string | undefined;
1904
+ local_mark_first?: boolean | undefined;
1905
+ }[];
1906
+ check_all_founded?: boolean | undefined;
1907
+ }, {
1908
+ entities: {
1909
+ name_or_address?: string | undefined;
1910
+ local_mark_first?: boolean | undefined;
1911
+ }[];
1912
+ check_all_founded?: boolean | undefined;
1913
+ }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>>;
1914
+ name: z.ZodDefault<z.ZodString>;
1915
+ } & {
1916
+ object_type: z.ZodOptional<z.ZodEnum<any>>;
1917
+ }, "strict", z.ZodTypeAny, {
1918
+ [x: string]: any;
1919
+ identifier?: unknown;
1920
+ b_submission?: unknown;
1921
+ value_type?: unknown;
1922
+ value?: unknown;
1923
+ name?: unknown;
1924
+ object_type?: unknown;
1925
+ }, {
1926
+ [x: string]: any;
1927
+ identifier?: unknown;
1928
+ b_submission?: unknown;
1929
+ value_type?: unknown;
1930
+ value?: unknown;
1931
+ name?: unknown;
1932
+ object_type?: unknown;
1933
+ }>, "many">;
1934
+ }, "strict", z.ZodTypeAny, {
1935
+ guard: string;
1936
+ submission: {
1937
+ [x: string]: any;
1938
+ identifier?: unknown;
1939
+ b_submission?: unknown;
1940
+ value_type?: unknown;
1941
+ value?: unknown;
1942
+ name?: unknown;
1943
+ object_type?: unknown;
1944
+ }[];
1945
+ }, {
1946
+ guard: string;
1947
+ submission: {
1948
+ [x: string]: any;
1949
+ identifier?: unknown;
1950
+ b_submission?: unknown;
1951
+ value_type?: unknown;
1952
+ value?: unknown;
1953
+ name?: unknown;
1954
+ object_type?: unknown;
1955
+ }[];
1956
+ }>, "many">;
1957
+ }, "strict", z.ZodTypeAny, {
1958
+ type: "submission";
1959
+ guard: {
1960
+ object: string;
1961
+ impack: boolean;
1962
+ }[];
1963
+ submission: {
1964
+ guard: string;
1965
+ submission: {
1966
+ [x: string]: any;
1967
+ identifier?: unknown;
1968
+ b_submission?: unknown;
1969
+ value_type?: unknown;
1970
+ value?: unknown;
1971
+ name?: unknown;
1972
+ object_type?: unknown;
1973
+ }[];
1974
+ }[];
1975
+ }, {
1976
+ type: "submission";
1977
+ guard: {
1978
+ object: string;
1979
+ impack: boolean;
1980
+ }[];
1981
+ submission: {
1982
+ guard: string;
1983
+ submission: {
1984
+ [x: string]: any;
1985
+ identifier?: unknown;
1986
+ b_submission?: unknown;
1987
+ value_type?: unknown;
1988
+ value?: unknown;
1989
+ name?: unknown;
1990
+ object_type?: unknown;
1991
+ }[];
1992
+ }[];
1993
+ }>>;
1994
+ }, "strict", z.ZodTypeAny, {
1995
+ data: {
1996
+ object: string | {
1997
+ name?: string | undefined;
1998
+ replaceExistName?: boolean | undefined;
1999
+ tags?: string[] | undefined;
2000
+ onChain?: boolean | undefined;
2001
+ permission?: string | {
2002
+ name?: string | undefined;
2003
+ replaceExistName?: boolean | undefined;
2004
+ tags?: string[] | undefined;
2005
+ description?: string | undefined;
2006
+ onChain?: boolean | undefined;
2007
+ } | undefined;
2008
+ };
2009
+ description?: string | undefined;
2010
+ owner_receive?: {
2011
+ received: {
2012
+ id: string;
2013
+ balance: string | number;
2014
+ payment: string;
2015
+ }[];
2016
+ balance: string | number;
2017
+ token_type: string;
2018
+ } | "recently" | {
2019
+ type: string;
2020
+ id: string;
2021
+ }[] | undefined;
2022
+ rewards?: {
2023
+ op: "set" | "add";
2024
+ objects: string[];
2025
+ } | {
2026
+ op: "remove";
2027
+ objects: string[];
2028
+ } | {
2029
+ op: "clear";
2030
+ } | undefined;
2031
+ um?: string | null | undefined;
2032
+ policies?: {
2033
+ op: "set" | "add";
2034
+ policy: {
2035
+ [x: string]: any;
2036
+ name?: unknown;
2037
+ description?: unknown;
2038
+ write_guard?: unknown;
2039
+ quote_guard?: unknown;
2040
+ id_from?: unknown;
2041
+ value_type?: unknown;
2042
+ }[];
2043
+ } | {
2044
+ op: "remove";
2045
+ policy: string[];
2046
+ } | {
2047
+ op: "clear";
2048
+ } | undefined;
2049
+ data_add?: {
2050
+ name: string;
2051
+ data?: any;
2052
+ write_guard?: string | undefined;
2053
+ } | {
2054
+ name: string;
2055
+ items: {
2056
+ data: {
2057
+ id: number | {
2058
+ name_or_address?: string | undefined;
2059
+ local_mark_first?: boolean | undefined;
2060
+ };
2061
+ data?: any;
2062
+ }[];
2063
+ write_guard?: string | undefined;
2064
+ }[];
2065
+ } | undefined;
2066
+ data_remove?: {
2067
+ name: string;
2068
+ write_guard?: string | undefined;
2069
+ } | {
2070
+ name: string;
2071
+ items: {
2072
+ id: (number | {
2073
+ name_or_address?: string | undefined;
2074
+ local_mark_first?: boolean | undefined;
2075
+ })[];
2076
+ write_guard?: string | undefined;
2077
+ }[];
2078
+ } | undefined;
2079
+ };
2080
+ submission?: {
2081
+ type: "submission";
2082
+ guard: {
2083
+ object: string;
2084
+ impack: boolean;
2085
+ }[];
2086
+ submission: {
2087
+ guard: string;
2088
+ submission: {
2089
+ [x: string]: any;
2090
+ identifier?: unknown;
2091
+ b_submission?: unknown;
2092
+ value_type?: unknown;
2093
+ value?: unknown;
2094
+ name?: unknown;
2095
+ object_type?: unknown;
2096
+ }[];
2097
+ }[];
2098
+ } | undefined;
2099
+ env?: {
2100
+ [x: string]: any;
2101
+ account?: unknown;
2102
+ permission_guard?: unknown;
2103
+ no_cache?: unknown;
2104
+ network?: unknown;
2105
+ referrer?: unknown;
2106
+ } | undefined;
2107
+ }, {
2108
+ data: {
2109
+ object: string | {
2110
+ name?: string | undefined;
2111
+ replaceExistName?: boolean | undefined;
2112
+ tags?: string[] | undefined;
2113
+ onChain?: boolean | undefined;
2114
+ permission?: string | {
2115
+ name?: string | undefined;
2116
+ replaceExistName?: boolean | undefined;
2117
+ tags?: string[] | undefined;
2118
+ description?: string | undefined;
2119
+ onChain?: boolean | undefined;
2120
+ } | undefined;
2121
+ };
2122
+ description?: string | undefined;
2123
+ owner_receive?: {
2124
+ received: {
2125
+ id: string;
2126
+ balance: string | number;
2127
+ payment: string;
2128
+ }[];
2129
+ balance: string | number;
2130
+ token_type: string;
2131
+ } | "recently" | {
2132
+ type: string;
2133
+ id: string;
2134
+ }[] | undefined;
2135
+ rewards?: {
2136
+ op: "set" | "add";
2137
+ objects: string[];
2138
+ } | {
2139
+ op: "remove";
2140
+ objects: string[];
2141
+ } | {
2142
+ op: "clear";
2143
+ } | undefined;
2144
+ um?: string | null | undefined;
2145
+ policies?: {
2146
+ op: "set" | "add";
2147
+ policy: {
2148
+ [x: string]: any;
2149
+ name?: unknown;
2150
+ description?: unknown;
2151
+ write_guard?: unknown;
2152
+ quote_guard?: unknown;
2153
+ id_from?: unknown;
2154
+ value_type?: unknown;
2155
+ }[];
2156
+ } | {
2157
+ op: "remove";
2158
+ policy: string[];
2159
+ } | {
2160
+ op: "clear";
2161
+ } | undefined;
2162
+ data_add?: {
2163
+ name: string;
2164
+ data?: any;
2165
+ write_guard?: string | undefined;
2166
+ } | {
2167
+ name: string;
2168
+ items: {
2169
+ data: {
2170
+ id: number | {
2171
+ name_or_address?: string | undefined;
2172
+ local_mark_first?: boolean | undefined;
2173
+ };
2174
+ data?: any;
2175
+ }[];
2176
+ write_guard?: string | undefined;
2177
+ }[];
2178
+ } | undefined;
2179
+ data_remove?: {
2180
+ name: string;
2181
+ write_guard?: string | undefined;
2182
+ } | {
2183
+ name: string;
2184
+ items: {
2185
+ id: (number | {
2186
+ name_or_address?: string | undefined;
2187
+ local_mark_first?: boolean | undefined;
2188
+ })[];
2189
+ write_guard?: string | undefined;
2190
+ }[];
2191
+ } | undefined;
2192
+ };
2193
+ submission?: {
2194
+ type: "submission";
2195
+ guard: {
2196
+ object: string;
2197
+ impack: boolean;
2198
+ }[];
2199
+ submission: {
2200
+ guard: string;
2201
+ submission: {
2202
+ [x: string]: any;
2203
+ identifier?: unknown;
2204
+ b_submission?: unknown;
2205
+ value_type?: unknown;
2206
+ value?: unknown;
2207
+ name?: unknown;
2208
+ object_type?: unknown;
2209
+ }[];
2210
+ }[];
2211
+ } | undefined;
2212
+ env?: {
2213
+ [x: string]: any;
2214
+ account?: unknown;
2215
+ permission_guard?: unknown;
2216
+ no_cache?: unknown;
2217
+ network?: unknown;
2218
+ referrer?: unknown;
2219
+ } | undefined;
2220
+ }>;