@wowok/agent-mcp 2.2.8

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