wowok_agent 2.1.9 → 2.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -8
- package/dist/index.d.ts +14321 -3
- package/dist/index.js +76 -37
- package/dist/schema/call/allocation.d.ts +1426 -4
- package/dist/schema/call/arbitration.d.ts +1948 -13
- package/dist/schema/call/base.d.ts +7289 -20
- package/dist/schema/call/contact.d.ts +953 -4
- package/dist/schema/call/demand.d.ts +1248 -5
- package/dist/schema/call/guard.d.ts +943 -7
- package/dist/schema/call/guard.js +1 -1
- package/dist/schema/call/machine.d.ts +3952 -13
- package/dist/schema/call/order.d.ts +1048 -5
- package/dist/schema/call/payment.d.ts +400 -3
- package/dist/schema/call/permission.d.ts +2991 -13
- package/dist/schema/call/personal.d.ts +1458 -13
- package/dist/schema/call/progress.d.ts +907 -6
- package/dist/schema/call/proof.d.ts +316 -3
- package/dist/schema/call/repository.d.ts +2346 -15
- package/dist/schema/call/reward.d.ts +1238 -7
- package/dist/schema/call/service.d.ts +3654 -7
- package/dist/schema/call/treasury.d.ts +2459 -6
- package/dist/schema/common/index.d.ts +754 -33
- package/dist/schema/common/index.js +5 -1
- package/dist/schema/local/index.d.ts +7784 -54
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/local/wip.d.ts +773 -25
- package/dist/schema/messenger/index.d.ts +3655 -31
- package/dist/schema/messenger/index.js +9 -9
- package/dist/schema/query/index.d.ts +47258 -128
- package/dist/schema/query/index.js +3 -61
- package/dist/schema/utils/guard-query-utils.d.ts +2 -2
- package/package.json +10 -10
|
@@ -1,7 +1,320 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const CallProof_DataSchema:
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
export declare const CallProof_DataSchema: z.ZodObject<{
|
|
3
|
+
namedNew: z.ZodOptional<z.ZodObject<{
|
|
4
|
+
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
5
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6
|
+
onChain: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
+
replaceExistName: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
+
}, "strict", z.ZodTypeAny, {
|
|
9
|
+
name?: string | undefined;
|
|
10
|
+
replaceExistName?: boolean | undefined;
|
|
11
|
+
tags?: string[] | undefined;
|
|
12
|
+
onChain?: boolean | undefined;
|
|
13
|
+
}, {
|
|
14
|
+
name?: string | undefined;
|
|
15
|
+
replaceExistName?: boolean | undefined;
|
|
16
|
+
tags?: string[] | undefined;
|
|
17
|
+
onChain?: boolean | undefined;
|
|
18
|
+
}>>;
|
|
19
|
+
description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
20
|
+
proof: z.ZodString;
|
|
21
|
+
server_pubkey: z.ZodString;
|
|
22
|
+
server_signature: z.ZodString;
|
|
23
|
+
proof_type: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
24
|
+
item_count: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull]>>;
|
|
25
|
+
about_address: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
26
|
+
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
27
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
28
|
+
onChain: z.ZodOptional<z.ZodBoolean>;
|
|
29
|
+
replaceExistName: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
}, "strict", z.ZodTypeAny, {
|
|
31
|
+
name?: string | undefined;
|
|
32
|
+
replaceExistName?: boolean | undefined;
|
|
33
|
+
tags?: string[] | undefined;
|
|
34
|
+
onChain?: boolean | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
name?: string | undefined;
|
|
37
|
+
replaceExistName?: boolean | undefined;
|
|
38
|
+
tags?: string[] | undefined;
|
|
39
|
+
onChain?: boolean | undefined;
|
|
40
|
+
}>, z.ZodNull]>>;
|
|
41
|
+
}, "strict", z.ZodTypeAny, {
|
|
42
|
+
proof: string;
|
|
43
|
+
server_pubkey: string;
|
|
44
|
+
server_signature: string;
|
|
45
|
+
proof_type: string | number;
|
|
46
|
+
description?: string | undefined;
|
|
47
|
+
item_count?: string | number | null | undefined;
|
|
48
|
+
about_address?: {
|
|
49
|
+
name?: string | undefined;
|
|
50
|
+
replaceExistName?: boolean | undefined;
|
|
51
|
+
tags?: string[] | undefined;
|
|
52
|
+
onChain?: boolean | undefined;
|
|
53
|
+
} | null | undefined;
|
|
54
|
+
namedNew?: {
|
|
55
|
+
name?: string | undefined;
|
|
56
|
+
replaceExistName?: boolean | undefined;
|
|
57
|
+
tags?: string[] | undefined;
|
|
58
|
+
onChain?: boolean | undefined;
|
|
59
|
+
} | undefined;
|
|
60
|
+
}, {
|
|
61
|
+
proof: string;
|
|
62
|
+
server_pubkey: string;
|
|
63
|
+
server_signature: string;
|
|
64
|
+
proof_type: string | number;
|
|
65
|
+
description?: string | undefined;
|
|
66
|
+
item_count?: string | number | null | undefined;
|
|
67
|
+
about_address?: {
|
|
68
|
+
name?: string | undefined;
|
|
69
|
+
replaceExistName?: boolean | undefined;
|
|
70
|
+
tags?: string[] | undefined;
|
|
71
|
+
onChain?: boolean | undefined;
|
|
72
|
+
} | null | undefined;
|
|
73
|
+
namedNew?: {
|
|
74
|
+
name?: string | undefined;
|
|
75
|
+
replaceExistName?: boolean | undefined;
|
|
76
|
+
tags?: string[] | undefined;
|
|
77
|
+
onChain?: boolean | undefined;
|
|
78
|
+
} | undefined;
|
|
79
|
+
}>;
|
|
80
|
+
export declare const CallProof_InputSchema: z.ZodObject<{
|
|
81
|
+
data: z.ZodObject<{
|
|
82
|
+
namedNew: z.ZodOptional<z.ZodObject<{
|
|
83
|
+
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
84
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
85
|
+
onChain: z.ZodOptional<z.ZodBoolean>;
|
|
86
|
+
replaceExistName: z.ZodOptional<z.ZodBoolean>;
|
|
87
|
+
}, "strict", z.ZodTypeAny, {
|
|
88
|
+
name?: string | undefined;
|
|
89
|
+
replaceExistName?: boolean | undefined;
|
|
90
|
+
tags?: string[] | undefined;
|
|
91
|
+
onChain?: boolean | undefined;
|
|
92
|
+
}, {
|
|
93
|
+
name?: string | undefined;
|
|
94
|
+
replaceExistName?: boolean | undefined;
|
|
95
|
+
tags?: string[] | undefined;
|
|
96
|
+
onChain?: boolean | undefined;
|
|
97
|
+
}>>;
|
|
98
|
+
description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
99
|
+
proof: z.ZodString;
|
|
100
|
+
server_pubkey: z.ZodString;
|
|
101
|
+
server_signature: z.ZodString;
|
|
102
|
+
proof_type: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
103
|
+
item_count: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull]>>;
|
|
104
|
+
about_address: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
105
|
+
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
106
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
107
|
+
onChain: z.ZodOptional<z.ZodBoolean>;
|
|
108
|
+
replaceExistName: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
+
}, "strict", z.ZodTypeAny, {
|
|
110
|
+
name?: string | undefined;
|
|
111
|
+
replaceExistName?: boolean | undefined;
|
|
112
|
+
tags?: string[] | undefined;
|
|
113
|
+
onChain?: boolean | undefined;
|
|
114
|
+
}, {
|
|
115
|
+
name?: string | undefined;
|
|
116
|
+
replaceExistName?: boolean | undefined;
|
|
117
|
+
tags?: string[] | undefined;
|
|
118
|
+
onChain?: boolean | undefined;
|
|
119
|
+
}>, z.ZodNull]>>;
|
|
120
|
+
}, "strict", z.ZodTypeAny, {
|
|
121
|
+
proof: string;
|
|
122
|
+
server_pubkey: string;
|
|
123
|
+
server_signature: string;
|
|
124
|
+
proof_type: string | number;
|
|
125
|
+
description?: string | undefined;
|
|
126
|
+
item_count?: string | number | null | undefined;
|
|
127
|
+
about_address?: {
|
|
128
|
+
name?: string | undefined;
|
|
129
|
+
replaceExistName?: boolean | undefined;
|
|
130
|
+
tags?: string[] | undefined;
|
|
131
|
+
onChain?: boolean | undefined;
|
|
132
|
+
} | null | undefined;
|
|
133
|
+
namedNew?: {
|
|
134
|
+
name?: string | undefined;
|
|
135
|
+
replaceExistName?: boolean | undefined;
|
|
136
|
+
tags?: string[] | undefined;
|
|
137
|
+
onChain?: boolean | undefined;
|
|
138
|
+
} | undefined;
|
|
139
|
+
}, {
|
|
140
|
+
proof: string;
|
|
141
|
+
server_pubkey: string;
|
|
142
|
+
server_signature: string;
|
|
143
|
+
proof_type: string | number;
|
|
144
|
+
description?: string | undefined;
|
|
145
|
+
item_count?: string | number | null | undefined;
|
|
146
|
+
about_address?: {
|
|
147
|
+
name?: string | undefined;
|
|
148
|
+
replaceExistName?: boolean | undefined;
|
|
149
|
+
tags?: string[] | undefined;
|
|
150
|
+
onChain?: boolean | undefined;
|
|
151
|
+
} | null | undefined;
|
|
152
|
+
namedNew?: {
|
|
153
|
+
name?: string | undefined;
|
|
154
|
+
replaceExistName?: boolean | undefined;
|
|
155
|
+
tags?: string[] | undefined;
|
|
156
|
+
onChain?: boolean | undefined;
|
|
157
|
+
} | undefined;
|
|
158
|
+
}>;
|
|
159
|
+
env: z.ZodOptional<z.ZodObject<{
|
|
160
|
+
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
161
|
+
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
162
|
+
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
163
|
+
network: z.ZodOptional<z.ZodEnum<[import("wowok").ENTRYPOINT.Localnet, import("wowok").ENTRYPOINT.Testnet]>>;
|
|
164
|
+
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
165
|
+
}, "strict", z.ZodTypeAny, {
|
|
166
|
+
account: string;
|
|
167
|
+
no_cache?: boolean | undefined;
|
|
168
|
+
network?: import("wowok").ENTRYPOINT | undefined;
|
|
169
|
+
permission_guard?: string[] | undefined;
|
|
170
|
+
referrer?: string | undefined;
|
|
171
|
+
}, {
|
|
172
|
+
no_cache?: boolean | undefined;
|
|
173
|
+
network?: import("wowok").ENTRYPOINT | undefined;
|
|
174
|
+
account?: string | undefined;
|
|
175
|
+
permission_guard?: string[] | undefined;
|
|
176
|
+
referrer?: string | undefined;
|
|
177
|
+
}>>;
|
|
178
|
+
}, "strict", z.ZodTypeAny, {
|
|
179
|
+
data: {
|
|
180
|
+
proof: string;
|
|
181
|
+
server_pubkey: string;
|
|
182
|
+
server_signature: string;
|
|
183
|
+
proof_type: string | number;
|
|
184
|
+
description?: string | undefined;
|
|
185
|
+
item_count?: string | number | null | undefined;
|
|
186
|
+
about_address?: {
|
|
187
|
+
name?: string | undefined;
|
|
188
|
+
replaceExistName?: boolean | undefined;
|
|
189
|
+
tags?: string[] | undefined;
|
|
190
|
+
onChain?: boolean | undefined;
|
|
191
|
+
} | null | undefined;
|
|
192
|
+
namedNew?: {
|
|
193
|
+
name?: string | undefined;
|
|
194
|
+
replaceExistName?: boolean | undefined;
|
|
195
|
+
tags?: string[] | undefined;
|
|
196
|
+
onChain?: boolean | undefined;
|
|
197
|
+
} | undefined;
|
|
198
|
+
};
|
|
199
|
+
env?: {
|
|
200
|
+
account: string;
|
|
201
|
+
no_cache?: boolean | undefined;
|
|
202
|
+
network?: import("wowok").ENTRYPOINT | undefined;
|
|
203
|
+
permission_guard?: string[] | undefined;
|
|
204
|
+
referrer?: string | undefined;
|
|
205
|
+
} | undefined;
|
|
206
|
+
}, {
|
|
207
|
+
data: {
|
|
208
|
+
proof: string;
|
|
209
|
+
server_pubkey: string;
|
|
210
|
+
server_signature: string;
|
|
211
|
+
proof_type: string | number;
|
|
212
|
+
description?: string | undefined;
|
|
213
|
+
item_count?: string | number | null | undefined;
|
|
214
|
+
about_address?: {
|
|
215
|
+
name?: string | undefined;
|
|
216
|
+
replaceExistName?: boolean | undefined;
|
|
217
|
+
tags?: string[] | undefined;
|
|
218
|
+
onChain?: boolean | undefined;
|
|
219
|
+
} | null | undefined;
|
|
220
|
+
namedNew?: {
|
|
221
|
+
name?: string | undefined;
|
|
222
|
+
replaceExistName?: boolean | undefined;
|
|
223
|
+
tags?: string[] | undefined;
|
|
224
|
+
onChain?: boolean | undefined;
|
|
225
|
+
} | undefined;
|
|
226
|
+
};
|
|
227
|
+
env?: {
|
|
228
|
+
no_cache?: boolean | undefined;
|
|
229
|
+
network?: import("wowok").ENTRYPOINT | undefined;
|
|
230
|
+
account?: string | undefined;
|
|
231
|
+
permission_guard?: string[] | undefined;
|
|
232
|
+
referrer?: string | undefined;
|
|
233
|
+
} | undefined;
|
|
234
|
+
}>;
|
|
235
|
+
export declare const CallGenProof_InputSchema: z.ZodObject<{
|
|
236
|
+
proof: z.ZodString;
|
|
237
|
+
server_pubkey: z.ZodString;
|
|
238
|
+
server_signature: z.ZodString;
|
|
239
|
+
proof_type: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
240
|
+
description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
241
|
+
item_count: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull]>>;
|
|
242
|
+
about_address: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
243
|
+
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
244
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
245
|
+
onChain: z.ZodOptional<z.ZodBoolean>;
|
|
246
|
+
replaceExistName: z.ZodOptional<z.ZodBoolean>;
|
|
247
|
+
}, "strict", z.ZodTypeAny, {
|
|
248
|
+
name?: string | undefined;
|
|
249
|
+
replaceExistName?: boolean | undefined;
|
|
250
|
+
tags?: string[] | undefined;
|
|
251
|
+
onChain?: boolean | undefined;
|
|
252
|
+
}, {
|
|
253
|
+
name?: string | undefined;
|
|
254
|
+
replaceExistName?: boolean | undefined;
|
|
255
|
+
tags?: string[] | undefined;
|
|
256
|
+
onChain?: boolean | undefined;
|
|
257
|
+
}>, z.ZodNull]>>;
|
|
258
|
+
env: z.ZodOptional<z.ZodObject<{
|
|
259
|
+
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
260
|
+
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
261
|
+
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
262
|
+
network: z.ZodOptional<z.ZodEnum<[import("wowok").ENTRYPOINT.Localnet, import("wowok").ENTRYPOINT.Testnet]>>;
|
|
263
|
+
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
264
|
+
}, "strict", z.ZodTypeAny, {
|
|
265
|
+
account: string;
|
|
266
|
+
no_cache?: boolean | undefined;
|
|
267
|
+
network?: import("wowok").ENTRYPOINT | undefined;
|
|
268
|
+
permission_guard?: string[] | undefined;
|
|
269
|
+
referrer?: string | undefined;
|
|
270
|
+
}, {
|
|
271
|
+
no_cache?: boolean | undefined;
|
|
272
|
+
network?: import("wowok").ENTRYPOINT | undefined;
|
|
273
|
+
account?: string | undefined;
|
|
274
|
+
permission_guard?: string[] | undefined;
|
|
275
|
+
referrer?: string | undefined;
|
|
276
|
+
}>>;
|
|
277
|
+
}, "strict", z.ZodTypeAny, {
|
|
278
|
+
proof: string;
|
|
279
|
+
server_pubkey: string;
|
|
280
|
+
server_signature: string;
|
|
281
|
+
proof_type: string | number;
|
|
282
|
+
description?: string | undefined;
|
|
283
|
+
env?: {
|
|
284
|
+
account: string;
|
|
285
|
+
no_cache?: boolean | undefined;
|
|
286
|
+
network?: import("wowok").ENTRYPOINT | undefined;
|
|
287
|
+
permission_guard?: string[] | undefined;
|
|
288
|
+
referrer?: string | undefined;
|
|
289
|
+
} | undefined;
|
|
290
|
+
item_count?: string | number | null | undefined;
|
|
291
|
+
about_address?: {
|
|
292
|
+
name?: string | undefined;
|
|
293
|
+
replaceExistName?: boolean | undefined;
|
|
294
|
+
tags?: string[] | undefined;
|
|
295
|
+
onChain?: boolean | undefined;
|
|
296
|
+
} | null | undefined;
|
|
297
|
+
}, {
|
|
298
|
+
proof: string;
|
|
299
|
+
server_pubkey: string;
|
|
300
|
+
server_signature: string;
|
|
301
|
+
proof_type: string | number;
|
|
302
|
+
description?: string | undefined;
|
|
303
|
+
env?: {
|
|
304
|
+
no_cache?: boolean | undefined;
|
|
305
|
+
network?: import("wowok").ENTRYPOINT | undefined;
|
|
306
|
+
account?: string | undefined;
|
|
307
|
+
permission_guard?: string[] | undefined;
|
|
308
|
+
referrer?: string | undefined;
|
|
309
|
+
} | undefined;
|
|
310
|
+
item_count?: string | number | null | undefined;
|
|
311
|
+
about_address?: {
|
|
312
|
+
name?: string | undefined;
|
|
313
|
+
replaceExistName?: boolean | undefined;
|
|
314
|
+
tags?: string[] | undefined;
|
|
315
|
+
onChain?: boolean | undefined;
|
|
316
|
+
} | null | undefined;
|
|
317
|
+
}>;
|
|
5
318
|
export type CallProof_Data = z.infer<typeof CallProof_DataSchema>;
|
|
6
319
|
export type CallProof_Input = z.infer<typeof CallProof_InputSchema>;
|
|
7
320
|
export type CallGenProof_Input = z.infer<typeof CallGenProof_InputSchema>;
|