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,11 +1,947 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const CallGuard_RootSchema:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
export declare const CallGuard_RootSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3
|
+
type: z.ZodLiteral<"node">;
|
|
4
|
+
node: z.ZodType<any, z.ZodTypeDef, any>;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
type: "node";
|
|
7
|
+
node?: any;
|
|
8
|
+
}, {
|
|
9
|
+
type: "node";
|
|
10
|
+
node?: any;
|
|
11
|
+
}>, z.ZodObject<{
|
|
12
|
+
type: z.ZodLiteral<"file">;
|
|
13
|
+
file_path: z.ZodString;
|
|
14
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "markdown"]>>>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
type: "file";
|
|
17
|
+
format: "markdown" | "json";
|
|
18
|
+
file_path: string;
|
|
19
|
+
}, {
|
|
20
|
+
type: "file";
|
|
21
|
+
file_path: string;
|
|
22
|
+
format?: "markdown" | "json" | undefined;
|
|
23
|
+
}>]>;
|
|
24
|
+
export declare const CallGuard_DataSchema: z.ZodObject<{
|
|
25
|
+
namedNew: z.ZodOptional<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
|
+
}>>;
|
|
41
|
+
description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
42
|
+
table: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
43
|
+
identifier: z.ZodNumber;
|
|
44
|
+
b_submission: z.ZodBoolean;
|
|
45
|
+
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">]>;
|
|
46
|
+
value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
|
|
47
|
+
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
48
|
+
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
+
}, "strict", z.ZodTypeAny, {
|
|
50
|
+
name_or_address?: string | undefined;
|
|
51
|
+
local_mark_first?: boolean | undefined;
|
|
52
|
+
}, {
|
|
53
|
+
name_or_address?: string | undefined;
|
|
54
|
+
local_mark_first?: boolean | undefined;
|
|
55
|
+
}>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean, "many">, z.ZodUnion<[z.ZodObject<{
|
|
56
|
+
entities: z.ZodArray<z.ZodObject<{
|
|
57
|
+
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
58
|
+
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
59
|
+
}, "strict", z.ZodTypeAny, {
|
|
60
|
+
name_or_address?: string | undefined;
|
|
61
|
+
local_mark_first?: boolean | undefined;
|
|
62
|
+
}, {
|
|
63
|
+
name_or_address?: string | undefined;
|
|
64
|
+
local_mark_first?: boolean | undefined;
|
|
65
|
+
}>, "many">;
|
|
66
|
+
check_all_founded: z.ZodOptional<z.ZodBoolean>;
|
|
67
|
+
}, "strict", z.ZodTypeAny, {
|
|
68
|
+
entities: {
|
|
69
|
+
name_or_address?: string | undefined;
|
|
70
|
+
local_mark_first?: boolean | undefined;
|
|
71
|
+
}[];
|
|
72
|
+
check_all_founded?: boolean | undefined;
|
|
73
|
+
}, {
|
|
74
|
+
entities: {
|
|
75
|
+
name_or_address?: string | undefined;
|
|
76
|
+
local_mark_first?: boolean | undefined;
|
|
77
|
+
}[];
|
|
78
|
+
check_all_founded?: boolean | undefined;
|
|
79
|
+
}>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>>;
|
|
80
|
+
name: z.ZodDefault<z.ZodString>;
|
|
81
|
+
}, "strict", z.ZodTypeAny, {
|
|
82
|
+
identifier: number;
|
|
83
|
+
b_submission: boolean;
|
|
84
|
+
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";
|
|
85
|
+
name: string;
|
|
86
|
+
value?: string | number | boolean | {
|
|
87
|
+
name_or_address?: string | undefined;
|
|
88
|
+
local_mark_first?: boolean | undefined;
|
|
89
|
+
} | {
|
|
90
|
+
entities: {
|
|
91
|
+
name_or_address?: string | undefined;
|
|
92
|
+
local_mark_first?: boolean | undefined;
|
|
93
|
+
}[];
|
|
94
|
+
check_all_founded?: boolean | undefined;
|
|
95
|
+
} | boolean[] | string[] | number[] | number[][] | undefined;
|
|
96
|
+
}, {
|
|
97
|
+
identifier: number;
|
|
98
|
+
b_submission: boolean;
|
|
99
|
+
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";
|
|
100
|
+
value?: string | number | boolean | {
|
|
101
|
+
name_or_address?: string | undefined;
|
|
102
|
+
local_mark_first?: boolean | undefined;
|
|
103
|
+
} | {
|
|
104
|
+
entities: {
|
|
105
|
+
name_or_address?: string | undefined;
|
|
106
|
+
local_mark_first?: boolean | undefined;
|
|
107
|
+
}[];
|
|
108
|
+
check_all_founded?: boolean | undefined;
|
|
109
|
+
} | boolean[] | string[] | number[] | number[][] | undefined;
|
|
110
|
+
name?: string | undefined;
|
|
111
|
+
}>, "many">>;
|
|
112
|
+
root: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
113
|
+
type: z.ZodLiteral<"node">;
|
|
114
|
+
node: z.ZodType<any, z.ZodTypeDef, any>;
|
|
115
|
+
}, "strip", z.ZodTypeAny, {
|
|
116
|
+
type: "node";
|
|
117
|
+
node?: any;
|
|
118
|
+
}, {
|
|
119
|
+
type: "node";
|
|
120
|
+
node?: any;
|
|
121
|
+
}>, z.ZodObject<{
|
|
122
|
+
type: z.ZodLiteral<"file">;
|
|
123
|
+
file_path: z.ZodString;
|
|
124
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "markdown"]>>>;
|
|
125
|
+
}, "strip", z.ZodTypeAny, {
|
|
126
|
+
type: "file";
|
|
127
|
+
format: "markdown" | "json";
|
|
128
|
+
file_path: string;
|
|
129
|
+
}, {
|
|
130
|
+
type: "file";
|
|
131
|
+
file_path: string;
|
|
132
|
+
format?: "markdown" | "json" | undefined;
|
|
133
|
+
}>]>;
|
|
134
|
+
rely: z.ZodOptional<z.ZodObject<{
|
|
135
|
+
guards: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
136
|
+
logic_or: z.ZodOptional<z.ZodBoolean>;
|
|
137
|
+
}, "strip", z.ZodTypeAny, {
|
|
138
|
+
guards: string[];
|
|
139
|
+
logic_or?: boolean | undefined;
|
|
140
|
+
}, {
|
|
141
|
+
guards: string[];
|
|
142
|
+
logic_or?: boolean | undefined;
|
|
143
|
+
}>>;
|
|
144
|
+
}, "strict", z.ZodTypeAny, {
|
|
145
|
+
root: {
|
|
146
|
+
type: "node";
|
|
147
|
+
node?: any;
|
|
148
|
+
} | {
|
|
149
|
+
type: "file";
|
|
150
|
+
format: "markdown" | "json";
|
|
151
|
+
file_path: string;
|
|
152
|
+
};
|
|
153
|
+
description?: string | undefined;
|
|
154
|
+
table?: {
|
|
155
|
+
identifier: number;
|
|
156
|
+
b_submission: boolean;
|
|
157
|
+
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";
|
|
158
|
+
name: string;
|
|
159
|
+
value?: string | number | boolean | {
|
|
160
|
+
name_or_address?: string | undefined;
|
|
161
|
+
local_mark_first?: boolean | undefined;
|
|
162
|
+
} | {
|
|
163
|
+
entities: {
|
|
164
|
+
name_or_address?: string | undefined;
|
|
165
|
+
local_mark_first?: boolean | undefined;
|
|
166
|
+
}[];
|
|
167
|
+
check_all_founded?: boolean | undefined;
|
|
168
|
+
} | boolean[] | string[] | number[] | number[][] | undefined;
|
|
169
|
+
}[] | undefined;
|
|
170
|
+
namedNew?: {
|
|
171
|
+
name?: string | undefined;
|
|
172
|
+
replaceExistName?: boolean | undefined;
|
|
173
|
+
tags?: string[] | undefined;
|
|
174
|
+
onChain?: boolean | undefined;
|
|
175
|
+
} | undefined;
|
|
176
|
+
rely?: {
|
|
177
|
+
guards: string[];
|
|
178
|
+
logic_or?: boolean | undefined;
|
|
179
|
+
} | undefined;
|
|
180
|
+
}, {
|
|
181
|
+
root: {
|
|
182
|
+
type: "node";
|
|
183
|
+
node?: any;
|
|
184
|
+
} | {
|
|
185
|
+
type: "file";
|
|
186
|
+
file_path: string;
|
|
187
|
+
format?: "markdown" | "json" | undefined;
|
|
188
|
+
};
|
|
189
|
+
description?: string | undefined;
|
|
190
|
+
table?: {
|
|
191
|
+
identifier: number;
|
|
192
|
+
b_submission: boolean;
|
|
193
|
+
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";
|
|
194
|
+
value?: string | number | boolean | {
|
|
195
|
+
name_or_address?: string | undefined;
|
|
196
|
+
local_mark_first?: boolean | undefined;
|
|
197
|
+
} | {
|
|
198
|
+
entities: {
|
|
199
|
+
name_or_address?: string | undefined;
|
|
200
|
+
local_mark_first?: boolean | undefined;
|
|
201
|
+
}[];
|
|
202
|
+
check_all_founded?: boolean | undefined;
|
|
203
|
+
} | boolean[] | string[] | number[] | number[][] | undefined;
|
|
204
|
+
name?: string | undefined;
|
|
205
|
+
}[] | undefined;
|
|
206
|
+
namedNew?: {
|
|
207
|
+
name?: string | undefined;
|
|
208
|
+
replaceExistName?: boolean | undefined;
|
|
209
|
+
tags?: string[] | undefined;
|
|
210
|
+
onChain?: boolean | undefined;
|
|
211
|
+
} | undefined;
|
|
212
|
+
rely?: {
|
|
213
|
+
guards: string[];
|
|
214
|
+
logic_or?: boolean | undefined;
|
|
215
|
+
} | undefined;
|
|
216
|
+
}>;
|
|
217
|
+
export declare const CallGuard_InputSchema: z.ZodObject<{
|
|
218
|
+
data: z.ZodObject<{
|
|
219
|
+
namedNew: z.ZodOptional<z.ZodObject<{
|
|
220
|
+
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
221
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
222
|
+
onChain: z.ZodOptional<z.ZodBoolean>;
|
|
223
|
+
replaceExistName: z.ZodOptional<z.ZodBoolean>;
|
|
224
|
+
}, "strict", z.ZodTypeAny, {
|
|
225
|
+
name?: string | undefined;
|
|
226
|
+
replaceExistName?: boolean | undefined;
|
|
227
|
+
tags?: string[] | undefined;
|
|
228
|
+
onChain?: boolean | undefined;
|
|
229
|
+
}, {
|
|
230
|
+
name?: string | undefined;
|
|
231
|
+
replaceExistName?: boolean | undefined;
|
|
232
|
+
tags?: string[] | undefined;
|
|
233
|
+
onChain?: boolean | undefined;
|
|
234
|
+
}>>;
|
|
235
|
+
description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
236
|
+
table: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
237
|
+
identifier: z.ZodNumber;
|
|
238
|
+
b_submission: z.ZodBoolean;
|
|
239
|
+
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">]>;
|
|
240
|
+
value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
|
|
241
|
+
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
242
|
+
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
243
|
+
}, "strict", z.ZodTypeAny, {
|
|
244
|
+
name_or_address?: string | undefined;
|
|
245
|
+
local_mark_first?: boolean | undefined;
|
|
246
|
+
}, {
|
|
247
|
+
name_or_address?: string | undefined;
|
|
248
|
+
local_mark_first?: boolean | undefined;
|
|
249
|
+
}>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean, "many">, z.ZodUnion<[z.ZodObject<{
|
|
250
|
+
entities: z.ZodArray<z.ZodObject<{
|
|
251
|
+
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
252
|
+
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
253
|
+
}, "strict", z.ZodTypeAny, {
|
|
254
|
+
name_or_address?: string | undefined;
|
|
255
|
+
local_mark_first?: boolean | undefined;
|
|
256
|
+
}, {
|
|
257
|
+
name_or_address?: string | undefined;
|
|
258
|
+
local_mark_first?: boolean | undefined;
|
|
259
|
+
}>, "many">;
|
|
260
|
+
check_all_founded: z.ZodOptional<z.ZodBoolean>;
|
|
261
|
+
}, "strict", z.ZodTypeAny, {
|
|
262
|
+
entities: {
|
|
263
|
+
name_or_address?: string | undefined;
|
|
264
|
+
local_mark_first?: boolean | undefined;
|
|
265
|
+
}[];
|
|
266
|
+
check_all_founded?: boolean | undefined;
|
|
267
|
+
}, {
|
|
268
|
+
entities: {
|
|
269
|
+
name_or_address?: string | undefined;
|
|
270
|
+
local_mark_first?: boolean | undefined;
|
|
271
|
+
}[];
|
|
272
|
+
check_all_founded?: boolean | undefined;
|
|
273
|
+
}>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>>;
|
|
274
|
+
name: z.ZodDefault<z.ZodString>;
|
|
275
|
+
}, "strict", z.ZodTypeAny, {
|
|
276
|
+
identifier: number;
|
|
277
|
+
b_submission: boolean;
|
|
278
|
+
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";
|
|
279
|
+
name: string;
|
|
280
|
+
value?: string | number | boolean | {
|
|
281
|
+
name_or_address?: string | undefined;
|
|
282
|
+
local_mark_first?: boolean | undefined;
|
|
283
|
+
} | {
|
|
284
|
+
entities: {
|
|
285
|
+
name_or_address?: string | undefined;
|
|
286
|
+
local_mark_first?: boolean | undefined;
|
|
287
|
+
}[];
|
|
288
|
+
check_all_founded?: boolean | undefined;
|
|
289
|
+
} | boolean[] | string[] | number[] | number[][] | undefined;
|
|
290
|
+
}, {
|
|
291
|
+
identifier: number;
|
|
292
|
+
b_submission: boolean;
|
|
293
|
+
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";
|
|
294
|
+
value?: string | number | boolean | {
|
|
295
|
+
name_or_address?: string | undefined;
|
|
296
|
+
local_mark_first?: boolean | undefined;
|
|
297
|
+
} | {
|
|
298
|
+
entities: {
|
|
299
|
+
name_or_address?: string | undefined;
|
|
300
|
+
local_mark_first?: boolean | undefined;
|
|
301
|
+
}[];
|
|
302
|
+
check_all_founded?: boolean | undefined;
|
|
303
|
+
} | boolean[] | string[] | number[] | number[][] | undefined;
|
|
304
|
+
name?: string | undefined;
|
|
305
|
+
}>, "many">>;
|
|
306
|
+
root: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
307
|
+
type: z.ZodLiteral<"node">;
|
|
308
|
+
node: z.ZodType<any, z.ZodTypeDef, any>;
|
|
309
|
+
}, "strip", z.ZodTypeAny, {
|
|
310
|
+
type: "node";
|
|
311
|
+
node?: any;
|
|
312
|
+
}, {
|
|
313
|
+
type: "node";
|
|
314
|
+
node?: any;
|
|
315
|
+
}>, z.ZodObject<{
|
|
316
|
+
type: z.ZodLiteral<"file">;
|
|
317
|
+
file_path: z.ZodString;
|
|
318
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "markdown"]>>>;
|
|
319
|
+
}, "strip", z.ZodTypeAny, {
|
|
320
|
+
type: "file";
|
|
321
|
+
format: "markdown" | "json";
|
|
322
|
+
file_path: string;
|
|
323
|
+
}, {
|
|
324
|
+
type: "file";
|
|
325
|
+
file_path: string;
|
|
326
|
+
format?: "markdown" | "json" | undefined;
|
|
327
|
+
}>]>;
|
|
328
|
+
rely: z.ZodOptional<z.ZodObject<{
|
|
329
|
+
guards: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
330
|
+
logic_or: z.ZodOptional<z.ZodBoolean>;
|
|
331
|
+
}, "strip", z.ZodTypeAny, {
|
|
332
|
+
guards: string[];
|
|
333
|
+
logic_or?: boolean | undefined;
|
|
334
|
+
}, {
|
|
335
|
+
guards: string[];
|
|
336
|
+
logic_or?: boolean | undefined;
|
|
337
|
+
}>>;
|
|
338
|
+
}, "strict", z.ZodTypeAny, {
|
|
339
|
+
root: {
|
|
340
|
+
type: "node";
|
|
341
|
+
node?: any;
|
|
342
|
+
} | {
|
|
343
|
+
type: "file";
|
|
344
|
+
format: "markdown" | "json";
|
|
345
|
+
file_path: string;
|
|
346
|
+
};
|
|
347
|
+
description?: string | undefined;
|
|
348
|
+
table?: {
|
|
349
|
+
identifier: number;
|
|
350
|
+
b_submission: boolean;
|
|
351
|
+
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";
|
|
352
|
+
name: string;
|
|
353
|
+
value?: string | number | boolean | {
|
|
354
|
+
name_or_address?: string | undefined;
|
|
355
|
+
local_mark_first?: boolean | undefined;
|
|
356
|
+
} | {
|
|
357
|
+
entities: {
|
|
358
|
+
name_or_address?: string | undefined;
|
|
359
|
+
local_mark_first?: boolean | undefined;
|
|
360
|
+
}[];
|
|
361
|
+
check_all_founded?: boolean | undefined;
|
|
362
|
+
} | boolean[] | string[] | number[] | number[][] | undefined;
|
|
363
|
+
}[] | undefined;
|
|
364
|
+
namedNew?: {
|
|
365
|
+
name?: string | undefined;
|
|
366
|
+
replaceExistName?: boolean | undefined;
|
|
367
|
+
tags?: string[] | undefined;
|
|
368
|
+
onChain?: boolean | undefined;
|
|
369
|
+
} | undefined;
|
|
370
|
+
rely?: {
|
|
371
|
+
guards: string[];
|
|
372
|
+
logic_or?: boolean | undefined;
|
|
373
|
+
} | undefined;
|
|
374
|
+
}, {
|
|
375
|
+
root: {
|
|
376
|
+
type: "node";
|
|
377
|
+
node?: any;
|
|
378
|
+
} | {
|
|
379
|
+
type: "file";
|
|
380
|
+
file_path: string;
|
|
381
|
+
format?: "markdown" | "json" | undefined;
|
|
382
|
+
};
|
|
383
|
+
description?: string | undefined;
|
|
384
|
+
table?: {
|
|
385
|
+
identifier: number;
|
|
386
|
+
b_submission: boolean;
|
|
387
|
+
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";
|
|
388
|
+
value?: string | number | boolean | {
|
|
389
|
+
name_or_address?: string | undefined;
|
|
390
|
+
local_mark_first?: boolean | undefined;
|
|
391
|
+
} | {
|
|
392
|
+
entities: {
|
|
393
|
+
name_or_address?: string | undefined;
|
|
394
|
+
local_mark_first?: boolean | undefined;
|
|
395
|
+
}[];
|
|
396
|
+
check_all_founded?: boolean | undefined;
|
|
397
|
+
} | boolean[] | string[] | number[] | number[][] | undefined;
|
|
398
|
+
name?: string | undefined;
|
|
399
|
+
}[] | undefined;
|
|
400
|
+
namedNew?: {
|
|
401
|
+
name?: string | undefined;
|
|
402
|
+
replaceExistName?: boolean | undefined;
|
|
403
|
+
tags?: string[] | undefined;
|
|
404
|
+
onChain?: boolean | undefined;
|
|
405
|
+
} | undefined;
|
|
406
|
+
rely?: {
|
|
407
|
+
guards: string[];
|
|
408
|
+
logic_or?: boolean | undefined;
|
|
409
|
+
} | undefined;
|
|
410
|
+
}>;
|
|
411
|
+
env: z.ZodOptional<z.ZodObject<{
|
|
412
|
+
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
413
|
+
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
414
|
+
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
415
|
+
network: z.ZodOptional<z.ZodEnum<[import("wowok").ENTRYPOINT.Localnet, import("wowok").ENTRYPOINT.Testnet]>>;
|
|
416
|
+
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
417
|
+
}, "strict", z.ZodTypeAny, {
|
|
418
|
+
account: string;
|
|
419
|
+
no_cache?: boolean | undefined;
|
|
420
|
+
network?: import("wowok").ENTRYPOINT | undefined;
|
|
421
|
+
permission_guard?: string[] | undefined;
|
|
422
|
+
referrer?: string | undefined;
|
|
423
|
+
}, {
|
|
424
|
+
no_cache?: boolean | undefined;
|
|
425
|
+
network?: import("wowok").ENTRYPOINT | undefined;
|
|
426
|
+
account?: string | undefined;
|
|
427
|
+
permission_guard?: string[] | undefined;
|
|
428
|
+
referrer?: string | undefined;
|
|
429
|
+
}>>;
|
|
430
|
+
}, "strict", z.ZodTypeAny, {
|
|
431
|
+
data: {
|
|
432
|
+
root: {
|
|
433
|
+
type: "node";
|
|
434
|
+
node?: any;
|
|
435
|
+
} | {
|
|
436
|
+
type: "file";
|
|
437
|
+
format: "markdown" | "json";
|
|
438
|
+
file_path: string;
|
|
439
|
+
};
|
|
440
|
+
description?: string | undefined;
|
|
441
|
+
table?: {
|
|
442
|
+
identifier: number;
|
|
443
|
+
b_submission: boolean;
|
|
444
|
+
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";
|
|
445
|
+
name: string;
|
|
446
|
+
value?: string | number | boolean | {
|
|
447
|
+
name_or_address?: string | undefined;
|
|
448
|
+
local_mark_first?: 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
|
+
} | boolean[] | string[] | number[] | number[][] | undefined;
|
|
456
|
+
}[] | undefined;
|
|
457
|
+
namedNew?: {
|
|
458
|
+
name?: string | undefined;
|
|
459
|
+
replaceExistName?: boolean | undefined;
|
|
460
|
+
tags?: string[] | undefined;
|
|
461
|
+
onChain?: boolean | undefined;
|
|
462
|
+
} | undefined;
|
|
463
|
+
rely?: {
|
|
464
|
+
guards: string[];
|
|
465
|
+
logic_or?: boolean | undefined;
|
|
466
|
+
} | undefined;
|
|
467
|
+
};
|
|
468
|
+
env?: {
|
|
469
|
+
account: string;
|
|
470
|
+
no_cache?: boolean | undefined;
|
|
471
|
+
network?: import("wowok").ENTRYPOINT | undefined;
|
|
472
|
+
permission_guard?: string[] | undefined;
|
|
473
|
+
referrer?: string | undefined;
|
|
474
|
+
} | undefined;
|
|
475
|
+
}, {
|
|
476
|
+
data: {
|
|
477
|
+
root: {
|
|
478
|
+
type: "node";
|
|
479
|
+
node?: any;
|
|
480
|
+
} | {
|
|
481
|
+
type: "file";
|
|
482
|
+
file_path: string;
|
|
483
|
+
format?: "markdown" | "json" | undefined;
|
|
484
|
+
};
|
|
485
|
+
description?: string | undefined;
|
|
486
|
+
table?: {
|
|
487
|
+
identifier: number;
|
|
488
|
+
b_submission: boolean;
|
|
489
|
+
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";
|
|
490
|
+
value?: string | number | boolean | {
|
|
491
|
+
name_or_address?: string | undefined;
|
|
492
|
+
local_mark_first?: boolean | undefined;
|
|
493
|
+
} | {
|
|
494
|
+
entities: {
|
|
495
|
+
name_or_address?: string | undefined;
|
|
496
|
+
local_mark_first?: boolean | undefined;
|
|
497
|
+
}[];
|
|
498
|
+
check_all_founded?: boolean | undefined;
|
|
499
|
+
} | boolean[] | string[] | number[] | number[][] | undefined;
|
|
500
|
+
name?: string | undefined;
|
|
501
|
+
}[] | undefined;
|
|
502
|
+
namedNew?: {
|
|
503
|
+
name?: string | undefined;
|
|
504
|
+
replaceExistName?: boolean | undefined;
|
|
505
|
+
tags?: string[] | undefined;
|
|
506
|
+
onChain?: boolean | undefined;
|
|
507
|
+
} | undefined;
|
|
508
|
+
rely?: {
|
|
509
|
+
guards: string[];
|
|
510
|
+
logic_or?: boolean | undefined;
|
|
511
|
+
} | undefined;
|
|
512
|
+
};
|
|
513
|
+
env?: {
|
|
514
|
+
no_cache?: boolean | undefined;
|
|
515
|
+
network?: import("wowok").ENTRYPOINT | undefined;
|
|
516
|
+
account?: string | undefined;
|
|
517
|
+
permission_guard?: string[] | undefined;
|
|
518
|
+
referrer?: string | undefined;
|
|
519
|
+
} | undefined;
|
|
520
|
+
}>;
|
|
521
|
+
export declare const CallGenPassport_InputSchema: z.ZodObject<{
|
|
522
|
+
guard: z.ZodEffects<z.ZodString, string, string>;
|
|
523
|
+
info: z.ZodOptional<z.ZodObject<{
|
|
524
|
+
type: z.ZodLiteral<"submission">;
|
|
525
|
+
guard: z.ZodArray<z.ZodObject<{
|
|
526
|
+
object: z.ZodEffects<z.ZodString, string, string>;
|
|
527
|
+
impack: z.ZodBoolean;
|
|
528
|
+
}, "strict", z.ZodTypeAny, {
|
|
529
|
+
object: string;
|
|
530
|
+
impack: boolean;
|
|
531
|
+
}, {
|
|
532
|
+
object: string;
|
|
533
|
+
impack: boolean;
|
|
534
|
+
}>, "many">;
|
|
535
|
+
submission: z.ZodArray<z.ZodObject<{
|
|
536
|
+
guard: z.ZodEffects<z.ZodString, string, string>;
|
|
537
|
+
submission: z.ZodArray<z.ZodObject<{
|
|
538
|
+
identifier: z.ZodNumber;
|
|
539
|
+
b_submission: z.ZodBoolean;
|
|
540
|
+
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">]>;
|
|
541
|
+
value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
|
|
542
|
+
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
543
|
+
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
544
|
+
}, "strict", z.ZodTypeAny, {
|
|
545
|
+
name_or_address?: string | undefined;
|
|
546
|
+
local_mark_first?: boolean | undefined;
|
|
547
|
+
}, {
|
|
548
|
+
name_or_address?: string | undefined;
|
|
549
|
+
local_mark_first?: boolean | undefined;
|
|
550
|
+
}>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean, "many">, z.ZodUnion<[z.ZodObject<{
|
|
551
|
+
entities: z.ZodArray<z.ZodObject<{
|
|
552
|
+
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
553
|
+
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
554
|
+
}, "strict", z.ZodTypeAny, {
|
|
555
|
+
name_or_address?: string | undefined;
|
|
556
|
+
local_mark_first?: boolean | undefined;
|
|
557
|
+
}, {
|
|
558
|
+
name_or_address?: string | undefined;
|
|
559
|
+
local_mark_first?: boolean | undefined;
|
|
560
|
+
}>, "many">;
|
|
561
|
+
check_all_founded: z.ZodOptional<z.ZodBoolean>;
|
|
562
|
+
}, "strict", z.ZodTypeAny, {
|
|
563
|
+
entities: {
|
|
564
|
+
name_or_address?: string | undefined;
|
|
565
|
+
local_mark_first?: boolean | undefined;
|
|
566
|
+
}[];
|
|
567
|
+
check_all_founded?: boolean | undefined;
|
|
568
|
+
}, {
|
|
569
|
+
entities: {
|
|
570
|
+
name_or_address?: string | undefined;
|
|
571
|
+
local_mark_first?: boolean | undefined;
|
|
572
|
+
}[];
|
|
573
|
+
check_all_founded?: boolean | undefined;
|
|
574
|
+
}>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>>;
|
|
575
|
+
name: z.ZodDefault<z.ZodString>;
|
|
576
|
+
} & {
|
|
577
|
+
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]>>;
|
|
578
|
+
}, "strict", z.ZodTypeAny, {
|
|
579
|
+
identifier: number;
|
|
580
|
+
b_submission: boolean;
|
|
581
|
+
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";
|
|
582
|
+
name: string;
|
|
583
|
+
value?: string | number | boolean | {
|
|
584
|
+
name_or_address?: string | undefined;
|
|
585
|
+
local_mark_first?: boolean | undefined;
|
|
586
|
+
} | {
|
|
587
|
+
entities: {
|
|
588
|
+
name_or_address?: string | undefined;
|
|
589
|
+
local_mark_first?: boolean | undefined;
|
|
590
|
+
}[];
|
|
591
|
+
check_all_founded?: boolean | undefined;
|
|
592
|
+
} | boolean[] | string[] | number[] | number[][] | undefined;
|
|
593
|
+
object_type?: import("wowok").ObjectType | undefined;
|
|
594
|
+
}, {
|
|
595
|
+
identifier: number;
|
|
596
|
+
b_submission: boolean;
|
|
597
|
+
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";
|
|
598
|
+
value?: string | number | boolean | {
|
|
599
|
+
name_or_address?: string | undefined;
|
|
600
|
+
local_mark_first?: boolean | undefined;
|
|
601
|
+
} | {
|
|
602
|
+
entities: {
|
|
603
|
+
name_or_address?: string | undefined;
|
|
604
|
+
local_mark_first?: boolean | undefined;
|
|
605
|
+
}[];
|
|
606
|
+
check_all_founded?: boolean | undefined;
|
|
607
|
+
} | boolean[] | string[] | number[] | number[][] | undefined;
|
|
608
|
+
name?: string | undefined;
|
|
609
|
+
object_type?: import("wowok").ObjectType | undefined;
|
|
610
|
+
}>, "many">;
|
|
611
|
+
}, "strict", z.ZodTypeAny, {
|
|
612
|
+
guard: string;
|
|
613
|
+
submission: {
|
|
614
|
+
identifier: number;
|
|
615
|
+
b_submission: boolean;
|
|
616
|
+
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";
|
|
617
|
+
name: string;
|
|
618
|
+
value?: string | number | boolean | {
|
|
619
|
+
name_or_address?: string | undefined;
|
|
620
|
+
local_mark_first?: boolean | undefined;
|
|
621
|
+
} | {
|
|
622
|
+
entities: {
|
|
623
|
+
name_or_address?: string | undefined;
|
|
624
|
+
local_mark_first?: boolean | undefined;
|
|
625
|
+
}[];
|
|
626
|
+
check_all_founded?: boolean | undefined;
|
|
627
|
+
} | boolean[] | string[] | number[] | number[][] | undefined;
|
|
628
|
+
object_type?: import("wowok").ObjectType | undefined;
|
|
629
|
+
}[];
|
|
630
|
+
}, {
|
|
631
|
+
guard: string;
|
|
632
|
+
submission: {
|
|
633
|
+
identifier: number;
|
|
634
|
+
b_submission: boolean;
|
|
635
|
+
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";
|
|
636
|
+
value?: string | number | boolean | {
|
|
637
|
+
name_or_address?: string | undefined;
|
|
638
|
+
local_mark_first?: boolean | undefined;
|
|
639
|
+
} | {
|
|
640
|
+
entities: {
|
|
641
|
+
name_or_address?: string | undefined;
|
|
642
|
+
local_mark_first?: boolean | undefined;
|
|
643
|
+
}[];
|
|
644
|
+
check_all_founded?: boolean | undefined;
|
|
645
|
+
} | boolean[] | string[] | number[] | number[][] | undefined;
|
|
646
|
+
name?: string | undefined;
|
|
647
|
+
object_type?: import("wowok").ObjectType | undefined;
|
|
648
|
+
}[];
|
|
649
|
+
}>, "many">;
|
|
650
|
+
}, "strict", z.ZodTypeAny, {
|
|
651
|
+
type: "submission";
|
|
652
|
+
guard: {
|
|
653
|
+
object: string;
|
|
654
|
+
impack: boolean;
|
|
655
|
+
}[];
|
|
656
|
+
submission: {
|
|
657
|
+
guard: string;
|
|
658
|
+
submission: {
|
|
659
|
+
identifier: number;
|
|
660
|
+
b_submission: boolean;
|
|
661
|
+
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";
|
|
662
|
+
name: string;
|
|
663
|
+
value?: string | number | boolean | {
|
|
664
|
+
name_or_address?: string | undefined;
|
|
665
|
+
local_mark_first?: boolean | undefined;
|
|
666
|
+
} | {
|
|
667
|
+
entities: {
|
|
668
|
+
name_or_address?: string | undefined;
|
|
669
|
+
local_mark_first?: boolean | undefined;
|
|
670
|
+
}[];
|
|
671
|
+
check_all_founded?: boolean | undefined;
|
|
672
|
+
} | boolean[] | string[] | number[] | number[][] | undefined;
|
|
673
|
+
object_type?: import("wowok").ObjectType | undefined;
|
|
674
|
+
}[];
|
|
675
|
+
}[];
|
|
676
|
+
}, {
|
|
677
|
+
type: "submission";
|
|
678
|
+
guard: {
|
|
679
|
+
object: string;
|
|
680
|
+
impack: boolean;
|
|
681
|
+
}[];
|
|
682
|
+
submission: {
|
|
683
|
+
guard: string;
|
|
684
|
+
submission: {
|
|
685
|
+
identifier: number;
|
|
686
|
+
b_submission: boolean;
|
|
687
|
+
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";
|
|
688
|
+
value?: string | number | boolean | {
|
|
689
|
+
name_or_address?: string | undefined;
|
|
690
|
+
local_mark_first?: boolean | undefined;
|
|
691
|
+
} | {
|
|
692
|
+
entities: {
|
|
693
|
+
name_or_address?: string | undefined;
|
|
694
|
+
local_mark_first?: boolean | undefined;
|
|
695
|
+
}[];
|
|
696
|
+
check_all_founded?: boolean | undefined;
|
|
697
|
+
} | boolean[] | string[] | number[] | number[][] | undefined;
|
|
698
|
+
name?: string | undefined;
|
|
699
|
+
object_type?: import("wowok").ObjectType | undefined;
|
|
700
|
+
}[];
|
|
701
|
+
}[];
|
|
702
|
+
}>>;
|
|
703
|
+
env: z.ZodOptional<z.ZodObject<{
|
|
704
|
+
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
705
|
+
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
706
|
+
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
707
|
+
network: z.ZodOptional<z.ZodEnum<[import("wowok").ENTRYPOINT.Localnet, import("wowok").ENTRYPOINT.Testnet]>>;
|
|
708
|
+
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
709
|
+
}, "strict", z.ZodTypeAny, {
|
|
710
|
+
account: string;
|
|
711
|
+
no_cache?: boolean | undefined;
|
|
712
|
+
network?: import("wowok").ENTRYPOINT | undefined;
|
|
713
|
+
permission_guard?: string[] | undefined;
|
|
714
|
+
referrer?: string | undefined;
|
|
715
|
+
}, {
|
|
716
|
+
no_cache?: boolean | undefined;
|
|
717
|
+
network?: import("wowok").ENTRYPOINT | undefined;
|
|
718
|
+
account?: string | undefined;
|
|
719
|
+
permission_guard?: string[] | undefined;
|
|
720
|
+
referrer?: string | undefined;
|
|
721
|
+
}>>;
|
|
722
|
+
}, "strict", z.ZodTypeAny, {
|
|
723
|
+
guard: string;
|
|
724
|
+
env?: {
|
|
725
|
+
account: string;
|
|
726
|
+
no_cache?: boolean | undefined;
|
|
727
|
+
network?: import("wowok").ENTRYPOINT | undefined;
|
|
728
|
+
permission_guard?: string[] | undefined;
|
|
729
|
+
referrer?: string | undefined;
|
|
730
|
+
} | undefined;
|
|
731
|
+
info?: {
|
|
732
|
+
type: "submission";
|
|
733
|
+
guard: {
|
|
734
|
+
object: string;
|
|
735
|
+
impack: boolean;
|
|
736
|
+
}[];
|
|
737
|
+
submission: {
|
|
738
|
+
guard: string;
|
|
739
|
+
submission: {
|
|
740
|
+
identifier: number;
|
|
741
|
+
b_submission: boolean;
|
|
742
|
+
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";
|
|
743
|
+
name: string;
|
|
744
|
+
value?: string | number | boolean | {
|
|
745
|
+
name_or_address?: string | undefined;
|
|
746
|
+
local_mark_first?: boolean | undefined;
|
|
747
|
+
} | {
|
|
748
|
+
entities: {
|
|
749
|
+
name_or_address?: string | undefined;
|
|
750
|
+
local_mark_first?: boolean | undefined;
|
|
751
|
+
}[];
|
|
752
|
+
check_all_founded?: boolean | undefined;
|
|
753
|
+
} | boolean[] | string[] | number[] | number[][] | undefined;
|
|
754
|
+
object_type?: import("wowok").ObjectType | undefined;
|
|
755
|
+
}[];
|
|
756
|
+
}[];
|
|
757
|
+
} | undefined;
|
|
758
|
+
}, {
|
|
759
|
+
guard: string;
|
|
760
|
+
env?: {
|
|
761
|
+
no_cache?: boolean | undefined;
|
|
762
|
+
network?: import("wowok").ENTRYPOINT | undefined;
|
|
763
|
+
account?: string | undefined;
|
|
764
|
+
permission_guard?: string[] | undefined;
|
|
765
|
+
referrer?: string | undefined;
|
|
766
|
+
} | undefined;
|
|
767
|
+
info?: {
|
|
768
|
+
type: "submission";
|
|
769
|
+
guard: {
|
|
770
|
+
object: string;
|
|
771
|
+
impack: boolean;
|
|
772
|
+
}[];
|
|
773
|
+
submission: {
|
|
774
|
+
guard: string;
|
|
775
|
+
submission: {
|
|
776
|
+
identifier: number;
|
|
777
|
+
b_submission: boolean;
|
|
778
|
+
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";
|
|
779
|
+
value?: string | number | boolean | {
|
|
780
|
+
name_or_address?: string | undefined;
|
|
781
|
+
local_mark_first?: boolean | undefined;
|
|
782
|
+
} | {
|
|
783
|
+
entities: {
|
|
784
|
+
name_or_address?: string | undefined;
|
|
785
|
+
local_mark_first?: boolean | undefined;
|
|
786
|
+
}[];
|
|
787
|
+
check_all_founded?: boolean | undefined;
|
|
788
|
+
} | boolean[] | string[] | number[] | number[][] | undefined;
|
|
789
|
+
name?: string | undefined;
|
|
790
|
+
object_type?: import("wowok").ObjectType | undefined;
|
|
791
|
+
}[];
|
|
792
|
+
}[];
|
|
793
|
+
} | undefined;
|
|
794
|
+
}>;
|
|
795
|
+
export declare const Guard2File_InputSchema: z.ZodObject<{
|
|
796
|
+
guard: z.ZodEffects<z.ZodString, string, string>;
|
|
797
|
+
file_path: z.ZodString;
|
|
798
|
+
format: z.ZodOptional<z.ZodEnum<["json", "markdown"]>>;
|
|
799
|
+
env: z.ZodOptional<z.ZodObject<{
|
|
800
|
+
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
801
|
+
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
802
|
+
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
803
|
+
network: z.ZodOptional<z.ZodEnum<[import("wowok").ENTRYPOINT.Localnet, import("wowok").ENTRYPOINT.Testnet]>>;
|
|
804
|
+
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
805
|
+
}, "strict", z.ZodTypeAny, {
|
|
806
|
+
account: string;
|
|
807
|
+
no_cache?: boolean | undefined;
|
|
808
|
+
network?: import("wowok").ENTRYPOINT | undefined;
|
|
809
|
+
permission_guard?: string[] | undefined;
|
|
810
|
+
referrer?: string | undefined;
|
|
811
|
+
}, {
|
|
812
|
+
no_cache?: boolean | undefined;
|
|
813
|
+
network?: import("wowok").ENTRYPOINT | undefined;
|
|
814
|
+
account?: string | undefined;
|
|
815
|
+
permission_guard?: string[] | undefined;
|
|
816
|
+
referrer?: string | undefined;
|
|
817
|
+
}>>;
|
|
818
|
+
}, "strict", z.ZodTypeAny, {
|
|
819
|
+
guard: string;
|
|
820
|
+
file_path: string;
|
|
821
|
+
format?: "markdown" | "json" | undefined;
|
|
822
|
+
env?: {
|
|
823
|
+
account: string;
|
|
824
|
+
no_cache?: boolean | undefined;
|
|
825
|
+
network?: import("wowok").ENTRYPOINT | undefined;
|
|
826
|
+
permission_guard?: string[] | undefined;
|
|
827
|
+
referrer?: string | undefined;
|
|
828
|
+
} | undefined;
|
|
829
|
+
}, {
|
|
830
|
+
guard: string;
|
|
831
|
+
file_path: string;
|
|
832
|
+
format?: "markdown" | "json" | undefined;
|
|
833
|
+
env?: {
|
|
834
|
+
no_cache?: boolean | undefined;
|
|
835
|
+
network?: import("wowok").ENTRYPOINT | undefined;
|
|
836
|
+
account?: string | undefined;
|
|
837
|
+
permission_guard?: string[] | undefined;
|
|
838
|
+
referrer?: string | undefined;
|
|
839
|
+
} | undefined;
|
|
840
|
+
}>;
|
|
841
|
+
export declare const Guard2File_OutputSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
842
|
+
status: z.ZodLiteral<"success">;
|
|
843
|
+
data: z.ZodObject<{
|
|
844
|
+
file_path: z.ZodString;
|
|
845
|
+
format: z.ZodEnum<["json", "markdown"]>;
|
|
846
|
+
guard_object: z.ZodString;
|
|
847
|
+
}, "strict", z.ZodTypeAny, {
|
|
848
|
+
format: "markdown" | "json";
|
|
849
|
+
file_path: string;
|
|
850
|
+
guard_object: string;
|
|
851
|
+
}, {
|
|
852
|
+
format: "markdown" | "json";
|
|
853
|
+
file_path: string;
|
|
854
|
+
guard_object: string;
|
|
855
|
+
}>;
|
|
856
|
+
}, "strict", z.ZodTypeAny, {
|
|
857
|
+
status: "success";
|
|
858
|
+
data: {
|
|
859
|
+
format: "markdown" | "json";
|
|
860
|
+
file_path: string;
|
|
861
|
+
guard_object: string;
|
|
862
|
+
};
|
|
863
|
+
}, {
|
|
864
|
+
status: "success";
|
|
865
|
+
data: {
|
|
866
|
+
format: "markdown" | "json";
|
|
867
|
+
file_path: string;
|
|
868
|
+
guard_object: string;
|
|
869
|
+
};
|
|
870
|
+
}>, z.ZodObject<{
|
|
871
|
+
status: z.ZodLiteral<"error">;
|
|
872
|
+
error: z.ZodString;
|
|
873
|
+
}, "strict", z.ZodTypeAny, {
|
|
874
|
+
status: "error";
|
|
875
|
+
error: string;
|
|
876
|
+
}, {
|
|
877
|
+
status: "error";
|
|
878
|
+
error: string;
|
|
879
|
+
}>]>;
|
|
880
|
+
export declare const Guard2File_OutputWrappedSchema: z.ZodObject<{
|
|
881
|
+
result: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
882
|
+
status: z.ZodLiteral<"success">;
|
|
883
|
+
data: z.ZodObject<{
|
|
884
|
+
file_path: z.ZodString;
|
|
885
|
+
format: z.ZodEnum<["json", "markdown"]>;
|
|
886
|
+
guard_object: z.ZodString;
|
|
887
|
+
}, "strict", z.ZodTypeAny, {
|
|
888
|
+
format: "markdown" | "json";
|
|
889
|
+
file_path: string;
|
|
890
|
+
guard_object: string;
|
|
891
|
+
}, {
|
|
892
|
+
format: "markdown" | "json";
|
|
893
|
+
file_path: string;
|
|
894
|
+
guard_object: string;
|
|
895
|
+
}>;
|
|
896
|
+
}, "strict", z.ZodTypeAny, {
|
|
897
|
+
status: "success";
|
|
898
|
+
data: {
|
|
899
|
+
format: "markdown" | "json";
|
|
900
|
+
file_path: string;
|
|
901
|
+
guard_object: string;
|
|
902
|
+
};
|
|
903
|
+
}, {
|
|
904
|
+
status: "success";
|
|
905
|
+
data: {
|
|
906
|
+
format: "markdown" | "json";
|
|
907
|
+
file_path: string;
|
|
908
|
+
guard_object: string;
|
|
909
|
+
};
|
|
910
|
+
}>, z.ZodObject<{
|
|
911
|
+
status: z.ZodLiteral<"error">;
|
|
912
|
+
error: z.ZodString;
|
|
913
|
+
}, "strict", z.ZodTypeAny, {
|
|
914
|
+
status: "error";
|
|
915
|
+
error: string;
|
|
916
|
+
}, {
|
|
917
|
+
status: "error";
|
|
918
|
+
error: string;
|
|
919
|
+
}>]>;
|
|
920
|
+
}, "strict", z.ZodTypeAny, {
|
|
921
|
+
result: {
|
|
922
|
+
status: "success";
|
|
923
|
+
data: {
|
|
924
|
+
format: "markdown" | "json";
|
|
925
|
+
file_path: string;
|
|
926
|
+
guard_object: string;
|
|
927
|
+
};
|
|
928
|
+
} | {
|
|
929
|
+
status: "error";
|
|
930
|
+
error: string;
|
|
931
|
+
};
|
|
932
|
+
}, {
|
|
933
|
+
result: {
|
|
934
|
+
status: "success";
|
|
935
|
+
data: {
|
|
936
|
+
format: "markdown" | "json";
|
|
937
|
+
file_path: string;
|
|
938
|
+
guard_object: string;
|
|
939
|
+
};
|
|
940
|
+
} | {
|
|
941
|
+
status: "error";
|
|
942
|
+
error: string;
|
|
943
|
+
};
|
|
944
|
+
}>;
|
|
9
945
|
export type CallGuard_Root = z.infer<typeof CallGuard_RootSchema>;
|
|
10
946
|
export type CallGuard_Data = z.infer<typeof CallGuard_DataSchema>;
|
|
11
947
|
export type CallGuard_Input = z.infer<typeof CallGuard_InputSchema>;
|