wowok_agent 1.6.6 → 2.1.8

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

Potentially problematic release.


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

Files changed (181) hide show
  1. package/README.md +20 -40
  2. package/dist/index.d.ts +13528 -27
  3. package/dist/index.js +1026 -27
  4. package/dist/schema/call/allocation.d.ts +1370 -0
  5. package/dist/schema/call/allocation.js +27 -0
  6. package/dist/schema/call/arbitration.d.ts +1902 -0
  7. package/dist/schema/call/arbitration.js +106 -0
  8. package/dist/schema/call/base.d.ts +6381 -0
  9. package/dist/schema/call/base.js +152 -0
  10. package/dist/schema/call/contact.d.ts +898 -0
  11. package/dist/schema/call/contact.js +41 -0
  12. package/dist/schema/call/demand.d.ts +1193 -0
  13. package/dist/schema/call/demand.js +51 -0
  14. package/dist/schema/call/guard.d.ts +819 -0
  15. package/dist/schema/call/guard.js +67 -0
  16. package/dist/schema/call/handler.d.ts +80 -0
  17. package/dist/schema/call/handler.js +177 -0
  18. package/dist/schema/call/index.d.ts +18 -0
  19. package/dist/schema/call/index.js +19 -0
  20. package/dist/schema/call/machine.d.ts +3906 -0
  21. package/dist/schema/call/machine.js +164 -0
  22. package/dist/schema/call/order.d.ts +994 -0
  23. package/dist/schema/call/order.js +39 -0
  24. package/dist/schema/call/payment.d.ts +408 -0
  25. package/dist/schema/call/payment.js +20 -0
  26. package/dist/schema/call/permission.d.ts +2945 -0
  27. package/dist/schema/call/permission.js +118 -0
  28. package/dist/schema/call/personal.d.ts +1498 -0
  29. package/dist/schema/call/personal.js +81 -0
  30. package/dist/schema/call/progress.d.ts +847 -0
  31. package/dist/schema/call/progress.js +37 -0
  32. package/dist/schema/call/proof.d.ts +328 -0
  33. package/dist/schema/call/proof.js +27 -0
  34. package/dist/schema/call/repository.d.ts +2220 -0
  35. package/dist/schema/call/repository.js +85 -0
  36. package/dist/schema/call/reward.d.ts +1178 -0
  37. package/dist/schema/call/reward.js +46 -0
  38. package/dist/schema/call/service.d.ts +3534 -0
  39. package/dist/schema/call/service.js +87 -0
  40. package/dist/schema/call/treasury.d.ts +2399 -0
  41. package/dist/schema/call/treasury.js +76 -0
  42. package/dist/schema/common/index.d.ts +623 -0
  43. package/dist/schema/common/index.js +331 -0
  44. package/dist/schema/index.d.ts +7 -0
  45. package/dist/schema/index.js +8 -0
  46. package/dist/schema/local/index.d.ts +7824 -0
  47. package/dist/schema/local/index.js +913 -0
  48. package/dist/schema/local/wip.d.ts +781 -0
  49. package/dist/schema/local/wip.js +229 -0
  50. package/dist/schema/messenger/index.d.ts +3624 -0
  51. package/dist/schema/messenger/index.js +407 -0
  52. package/dist/schema/query/index.d.ts +27176 -0
  53. package/dist/schema/query/index.js +1313 -0
  54. package/dist/schema/utils/guard-parser.d.ts +20 -0
  55. package/dist/schema/utils/guard-parser.js +410 -0
  56. package/dist/schema/utils/guard-query-utils.d.ts +5 -0
  57. package/dist/schema/utils/guard-query-utils.js +22 -0
  58. package/dist/schema/utils/node-parser.d.ts +59 -0
  59. package/dist/schema/utils/node-parser.js +382 -0
  60. package/dist/schema/utils/permission-index-utils.d.ts +2 -0
  61. package/dist/schema/utils/permission-index-utils.js +10 -0
  62. package/package.json +31 -49
  63. package/LICENSE +0 -201
  64. package/dist/call/arbitration.d.ts +0 -57
  65. package/dist/call/arbitration.d.ts.map +0 -1
  66. package/dist/call/arbitration.js +0 -245
  67. package/dist/call/arbitration.js.map +0 -1
  68. package/dist/call/base.d.ts +0 -85
  69. package/dist/call/base.d.ts.map +0 -1
  70. package/dist/call/base.js +0 -231
  71. package/dist/call/base.js.map +0 -1
  72. package/dist/call/call.d.ts +0 -95
  73. package/dist/call/call.d.ts.map +0 -1
  74. package/dist/call/call.js +0 -149
  75. package/dist/call/call.js.map +0 -1
  76. package/dist/call/demand.d.ts +0 -46
  77. package/dist/call/demand.d.ts.map +0 -1
  78. package/dist/call/demand.js +0 -201
  79. package/dist/call/demand.js.map +0 -1
  80. package/dist/call/guard.d.ts +0 -53
  81. package/dist/call/guard.d.ts.map +0 -1
  82. package/dist/call/guard.js +0 -386
  83. package/dist/call/guard.js.map +0 -1
  84. package/dist/call/machine.d.ts +0 -97
  85. package/dist/call/machine.d.ts.map +0 -1
  86. package/dist/call/machine.js +0 -342
  87. package/dist/call/machine.js.map +0 -1
  88. package/dist/call/object_permission.d.ts +0 -14
  89. package/dist/call/object_permission.d.ts.map +0 -1
  90. package/dist/call/object_permission.js +0 -59
  91. package/dist/call/object_permission.js.map +0 -1
  92. package/dist/call/permission.d.ts +0 -63
  93. package/dist/call/permission.d.ts.map +0 -1
  94. package/dist/call/permission.js +0 -137
  95. package/dist/call/permission.js.map +0 -1
  96. package/dist/call/personal.d.ts +0 -47
  97. package/dist/call/personal.d.ts.map +0 -1
  98. package/dist/call/personal.js +0 -119
  99. package/dist/call/personal.js.map +0 -1
  100. package/dist/call/repository.d.ts +0 -117
  101. package/dist/call/repository.d.ts.map +0 -1
  102. package/dist/call/repository.js +0 -408
  103. package/dist/call/repository.js.map +0 -1
  104. package/dist/call/service.d.ts +0 -115
  105. package/dist/call/service.d.ts.map +0 -1
  106. package/dist/call/service.js +0 -550
  107. package/dist/call/service.js.map +0 -1
  108. package/dist/call/treasury.d.ts +0 -46
  109. package/dist/call/treasury.d.ts.map +0 -1
  110. package/dist/call/treasury.js +0 -222
  111. package/dist/call/treasury.js.map +0 -1
  112. package/dist/common.d.ts +0 -12
  113. package/dist/common.d.ts.map +0 -1
  114. package/dist/common.js +0 -71
  115. package/dist/common.js.map +0 -1
  116. package/dist/index.d.ts.map +0 -1
  117. package/dist/index.js.map +0 -1
  118. package/dist/local/.d.ts +0 -20
  119. package/dist/local/.d.ts.map +0 -1
  120. package/dist/local/.js +0 -76
  121. package/dist/local/.js.map +0 -1
  122. package/dist/local/account.d.ts +0 -42
  123. package/dist/local/account.d.ts.map +0 -1
  124. package/dist/local/account.js +0 -335
  125. package/dist/local/account.js.map +0 -1
  126. package/dist/local/cache.d.ts +0 -32
  127. package/dist/local/cache.d.ts.map +0 -1
  128. package/dist/local/cache.js +0 -77
  129. package/dist/local/cache.js.map +0 -1
  130. package/dist/local/coin.d.ts +0 -22
  131. package/dist/local/coin.d.ts.map +0 -1
  132. package/dist/local/coin.js +0 -123
  133. package/dist/local/coin.js.map +0 -1
  134. package/dist/local/config.d.ts +0 -20
  135. package/dist/local/config.d.ts.map +0 -1
  136. package/dist/local/config.js +0 -75
  137. package/dist/local/config.js.map +0 -1
  138. package/dist/local/index.d.ts +0 -110
  139. package/dist/local/index.d.ts.map +0 -1
  140. package/dist/local/index.js +0 -122
  141. package/dist/local/index.js.map +0 -1
  142. package/dist/local/local.d.ts +0 -55
  143. package/dist/local/local.d.ts.map +0 -1
  144. package/dist/local/local.js +0 -248
  145. package/dist/local/local.js.map +0 -1
  146. package/dist/query/events.d.ts +0 -65
  147. package/dist/query/events.d.ts.map +0 -1
  148. package/dist/query/events.js +0 -75
  149. package/dist/query/events.js.map +0 -1
  150. package/dist/query/objects.d.ts +0 -346
  151. package/dist/query/objects.d.ts.map +0 -1
  152. package/dist/query/objects.js +0 -472
  153. package/dist/query/objects.js.map +0 -1
  154. package/dist/query/permission.d.ts +0 -15
  155. package/dist/query/permission.d.ts.map +0 -1
  156. package/dist/query/permission.js +0 -45
  157. package/dist/query/permission.js.map +0 -1
  158. package/dist/query/received.d.ts +0 -16
  159. package/dist/query/received.d.ts.map +0 -1
  160. package/dist/query/received.js +0 -16
  161. package/dist/query/received.js.map +0 -1
  162. package/dist/schema/call.d.ts +0 -13005
  163. package/dist/schema/call.d.ts.map +0 -1
  164. package/dist/schema/call.js +0 -997
  165. package/dist/schema/call.js.map +0 -1
  166. package/dist/schema/const.d.ts +0 -254
  167. package/dist/schema/const.d.ts.map +0 -1
  168. package/dist/schema/const.js +0 -305
  169. package/dist/schema/const.js.map +0 -1
  170. package/dist/schema/local.d.ts +0 -702
  171. package/dist/schema/local.d.ts.map +0 -1
  172. package/dist/schema/local.js +0 -150
  173. package/dist/schema/local.js.map +0 -1
  174. package/dist/schema/query.d.ts +0 -1465
  175. package/dist/schema/query.d.ts.map +0 -1
  176. package/dist/schema/query.js +0 -224
  177. package/dist/schema/query.js.map +0 -1
  178. package/dist/schema/util.d.ts +0 -71
  179. package/dist/schema/util.d.ts.map +0 -1
  180. package/dist/schema/util.js +0 -139
  181. package/dist/schema/util.js.map +0 -1
@@ -0,0 +1,819 @@
1
+ import { z } from 'zod';
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<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<"Bool">, z.ZodLiteral<"Address">, z.ZodLiteral<"String">, z.ZodLiteral<"U8">, z.ZodLiteral<"U16">, z.ZodLiteral<"U32">, z.ZodLiteral<"U64">, z.ZodLiteral<"U128">, z.ZodLiteral<"U256">, z.ZodLiteral<"VecBool">, z.ZodLiteral<"VecAddress">, z.ZodLiteral<"VecString">, z.ZodLiteral<"VecU8">, z.ZodLiteral<"VecU16">, z.ZodLiteral<"VecU32">, z.ZodLiteral<"VecU64">, z.ZodLiteral<"VecU128">, z.ZodLiteral<"VecU256">, z.ZodLiteral<"VecVecU8">, z.ZodLiteral<"bool">, z.ZodLiteral<"address">, z.ZodLiteral<"string">, z.ZodLiteral<"u8">, z.ZodLiteral<"u16">, z.ZodLiteral<"u32">, z.ZodLiteral<"u64">, z.ZodLiteral<"u128">, z.ZodLiteral<"u256">, z.ZodLiteral<"vecbool">, z.ZodLiteral<"vecaddress">, z.ZodLiteral<"vecstring">, z.ZodLiteral<"vecu8">, z.ZodLiteral<"vecu16">, z.ZodLiteral<"vecu32">, z.ZodLiteral<"vecu64">, z.ZodLiteral<"vecu128">, z.ZodLiteral<"vecu256">, z.ZodLiteral<"vecvecu8">]>;
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
+ [x: string]: any;
83
+ identifier?: unknown;
84
+ b_submission?: unknown;
85
+ value_type?: unknown;
86
+ value?: unknown;
87
+ name?: unknown;
88
+ }, {
89
+ [x: string]: any;
90
+ identifier?: unknown;
91
+ b_submission?: unknown;
92
+ value_type?: unknown;
93
+ value?: unknown;
94
+ name?: unknown;
95
+ }>, "many">>;
96
+ root: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
97
+ type: z.ZodLiteral<"node">;
98
+ node: z.ZodType<any, z.ZodTypeDef, any>;
99
+ }, "strip", z.ZodTypeAny, {
100
+ type: "node";
101
+ node?: any;
102
+ }, {
103
+ type: "node";
104
+ node?: any;
105
+ }>, z.ZodObject<{
106
+ type: z.ZodLiteral<"file">;
107
+ file_path: z.ZodString;
108
+ format: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "markdown"]>>>;
109
+ }, "strip", z.ZodTypeAny, {
110
+ type: "file";
111
+ format: "markdown" | "json";
112
+ file_path: string;
113
+ }, {
114
+ type: "file";
115
+ file_path: string;
116
+ format?: "markdown" | "json" | undefined;
117
+ }>]>;
118
+ rely: z.ZodOptional<z.ZodObject<{
119
+ guards: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
120
+ logic_or: z.ZodOptional<z.ZodBoolean>;
121
+ }, "strip", z.ZodTypeAny, {
122
+ guards: string[];
123
+ logic_or?: boolean | undefined;
124
+ }, {
125
+ guards: string[];
126
+ logic_or?: boolean | undefined;
127
+ }>>;
128
+ }, "strict", z.ZodTypeAny, {
129
+ root: {
130
+ type: "node";
131
+ node?: any;
132
+ } | {
133
+ type: "file";
134
+ format: "markdown" | "json";
135
+ file_path: string;
136
+ };
137
+ description?: string | undefined;
138
+ table?: {
139
+ [x: string]: any;
140
+ identifier?: unknown;
141
+ b_submission?: unknown;
142
+ value_type?: unknown;
143
+ value?: unknown;
144
+ name?: unknown;
145
+ }[] | undefined;
146
+ namedNew?: {
147
+ name?: string | undefined;
148
+ replaceExistName?: boolean | undefined;
149
+ tags?: string[] | undefined;
150
+ onChain?: boolean | undefined;
151
+ } | undefined;
152
+ rely?: {
153
+ guards: string[];
154
+ logic_or?: boolean | undefined;
155
+ } | undefined;
156
+ }, {
157
+ root: {
158
+ type: "node";
159
+ node?: any;
160
+ } | {
161
+ type: "file";
162
+ file_path: string;
163
+ format?: "markdown" | "json" | undefined;
164
+ };
165
+ description?: string | undefined;
166
+ table?: {
167
+ [x: string]: any;
168
+ identifier?: unknown;
169
+ b_submission?: unknown;
170
+ value_type?: unknown;
171
+ value?: unknown;
172
+ name?: unknown;
173
+ }[] | undefined;
174
+ namedNew?: {
175
+ name?: string | undefined;
176
+ replaceExistName?: boolean | undefined;
177
+ tags?: string[] | undefined;
178
+ onChain?: boolean | undefined;
179
+ } | undefined;
180
+ rely?: {
181
+ guards: string[];
182
+ logic_or?: boolean | undefined;
183
+ } | undefined;
184
+ }>;
185
+ export declare const CallGuard_InputSchema: z.ZodObject<{
186
+ data: z.ZodObject<{
187
+ namedNew: z.ZodOptional<z.ZodObject<{
188
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
189
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
190
+ onChain: z.ZodOptional<z.ZodBoolean>;
191
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
192
+ }, "strict", z.ZodTypeAny, {
193
+ name?: string | undefined;
194
+ replaceExistName?: boolean | undefined;
195
+ tags?: string[] | undefined;
196
+ onChain?: boolean | undefined;
197
+ }, {
198
+ name?: string | undefined;
199
+ replaceExistName?: boolean | undefined;
200
+ tags?: string[] | undefined;
201
+ onChain?: boolean | undefined;
202
+ }>>;
203
+ description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
204
+ table: z.ZodOptional<z.ZodArray<z.ZodObject<{
205
+ identifier: z.ZodNumber;
206
+ b_submission: z.ZodBoolean;
207
+ value_type: z.ZodUnion<[z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<"Bool">, z.ZodLiteral<"Address">, z.ZodLiteral<"String">, z.ZodLiteral<"U8">, z.ZodLiteral<"U16">, z.ZodLiteral<"U32">, z.ZodLiteral<"U64">, z.ZodLiteral<"U128">, z.ZodLiteral<"U256">, z.ZodLiteral<"VecBool">, z.ZodLiteral<"VecAddress">, z.ZodLiteral<"VecString">, z.ZodLiteral<"VecU8">, z.ZodLiteral<"VecU16">, z.ZodLiteral<"VecU32">, z.ZodLiteral<"VecU64">, z.ZodLiteral<"VecU128">, z.ZodLiteral<"VecU256">, z.ZodLiteral<"VecVecU8">, z.ZodLiteral<"bool">, z.ZodLiteral<"address">, z.ZodLiteral<"string">, z.ZodLiteral<"u8">, z.ZodLiteral<"u16">, z.ZodLiteral<"u32">, z.ZodLiteral<"u64">, z.ZodLiteral<"u128">, z.ZodLiteral<"u256">, z.ZodLiteral<"vecbool">, z.ZodLiteral<"vecaddress">, z.ZodLiteral<"vecstring">, z.ZodLiteral<"vecu8">, z.ZodLiteral<"vecu16">, z.ZodLiteral<"vecu32">, z.ZodLiteral<"vecu64">, z.ZodLiteral<"vecu128">, z.ZodLiteral<"vecu256">, z.ZodLiteral<"vecvecu8">]>;
208
+ value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
209
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
210
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
211
+ }, "strict", z.ZodTypeAny, {
212
+ name_or_address?: string | undefined;
213
+ local_mark_first?: boolean | undefined;
214
+ }, {
215
+ name_or_address?: string | undefined;
216
+ local_mark_first?: boolean | undefined;
217
+ }>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean, "many">, z.ZodUnion<[z.ZodObject<{
218
+ entities: z.ZodArray<z.ZodObject<{
219
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
220
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
221
+ }, "strict", z.ZodTypeAny, {
222
+ name_or_address?: string | undefined;
223
+ local_mark_first?: boolean | undefined;
224
+ }, {
225
+ name_or_address?: string | undefined;
226
+ local_mark_first?: boolean | undefined;
227
+ }>, "many">;
228
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
229
+ }, "strict", z.ZodTypeAny, {
230
+ entities: {
231
+ name_or_address?: string | undefined;
232
+ local_mark_first?: boolean | undefined;
233
+ }[];
234
+ check_all_founded?: boolean | undefined;
235
+ }, {
236
+ entities: {
237
+ name_or_address?: string | undefined;
238
+ local_mark_first?: boolean | undefined;
239
+ }[];
240
+ check_all_founded?: boolean | undefined;
241
+ }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>>;
242
+ name: z.ZodDefault<z.ZodString>;
243
+ }, "strict", z.ZodTypeAny, {
244
+ [x: string]: any;
245
+ identifier?: unknown;
246
+ b_submission?: unknown;
247
+ value_type?: unknown;
248
+ value?: unknown;
249
+ name?: unknown;
250
+ }, {
251
+ [x: string]: any;
252
+ identifier?: unknown;
253
+ b_submission?: unknown;
254
+ value_type?: unknown;
255
+ value?: unknown;
256
+ name?: unknown;
257
+ }>, "many">>;
258
+ root: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
259
+ type: z.ZodLiteral<"node">;
260
+ node: z.ZodType<any, z.ZodTypeDef, any>;
261
+ }, "strip", z.ZodTypeAny, {
262
+ type: "node";
263
+ node?: any;
264
+ }, {
265
+ type: "node";
266
+ node?: any;
267
+ }>, z.ZodObject<{
268
+ type: z.ZodLiteral<"file">;
269
+ file_path: z.ZodString;
270
+ format: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "markdown"]>>>;
271
+ }, "strip", z.ZodTypeAny, {
272
+ type: "file";
273
+ format: "markdown" | "json";
274
+ file_path: string;
275
+ }, {
276
+ type: "file";
277
+ file_path: string;
278
+ format?: "markdown" | "json" | undefined;
279
+ }>]>;
280
+ rely: z.ZodOptional<z.ZodObject<{
281
+ guards: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
282
+ logic_or: z.ZodOptional<z.ZodBoolean>;
283
+ }, "strip", z.ZodTypeAny, {
284
+ guards: string[];
285
+ logic_or?: boolean | undefined;
286
+ }, {
287
+ guards: string[];
288
+ logic_or?: boolean | undefined;
289
+ }>>;
290
+ }, "strict", z.ZodTypeAny, {
291
+ root: {
292
+ type: "node";
293
+ node?: any;
294
+ } | {
295
+ type: "file";
296
+ format: "markdown" | "json";
297
+ file_path: string;
298
+ };
299
+ description?: string | undefined;
300
+ table?: {
301
+ [x: string]: any;
302
+ identifier?: unknown;
303
+ b_submission?: unknown;
304
+ value_type?: unknown;
305
+ value?: unknown;
306
+ name?: unknown;
307
+ }[] | undefined;
308
+ namedNew?: {
309
+ name?: string | undefined;
310
+ replaceExistName?: boolean | undefined;
311
+ tags?: string[] | undefined;
312
+ onChain?: boolean | undefined;
313
+ } | undefined;
314
+ rely?: {
315
+ guards: string[];
316
+ logic_or?: boolean | undefined;
317
+ } | undefined;
318
+ }, {
319
+ root: {
320
+ type: "node";
321
+ node?: any;
322
+ } | {
323
+ type: "file";
324
+ file_path: string;
325
+ format?: "markdown" | "json" | undefined;
326
+ };
327
+ description?: string | undefined;
328
+ table?: {
329
+ [x: string]: any;
330
+ identifier?: unknown;
331
+ b_submission?: unknown;
332
+ value_type?: unknown;
333
+ value?: unknown;
334
+ name?: unknown;
335
+ }[] | undefined;
336
+ namedNew?: {
337
+ name?: string | undefined;
338
+ replaceExistName?: boolean | undefined;
339
+ tags?: string[] | undefined;
340
+ onChain?: boolean | undefined;
341
+ } | undefined;
342
+ rely?: {
343
+ guards: string[];
344
+ logic_or?: boolean | undefined;
345
+ } | undefined;
346
+ }>;
347
+ env: z.ZodOptional<z.ZodObject<{
348
+ account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
349
+ permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
350
+ no_cache: z.ZodOptional<z.ZodBoolean>;
351
+ network: z.ZodOptional<z.ZodEnum<any>>;
352
+ referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
353
+ }, "strict", z.ZodTypeAny, {
354
+ [x: string]: any;
355
+ account?: unknown;
356
+ permission_guard?: unknown;
357
+ no_cache?: unknown;
358
+ network?: unknown;
359
+ referrer?: unknown;
360
+ }, {
361
+ [x: string]: any;
362
+ account?: unknown;
363
+ permission_guard?: unknown;
364
+ no_cache?: unknown;
365
+ network?: unknown;
366
+ referrer?: unknown;
367
+ }>>;
368
+ }, "strict", z.ZodTypeAny, {
369
+ data: {
370
+ root: {
371
+ type: "node";
372
+ node?: any;
373
+ } | {
374
+ type: "file";
375
+ format: "markdown" | "json";
376
+ file_path: string;
377
+ };
378
+ description?: string | undefined;
379
+ table?: {
380
+ [x: string]: any;
381
+ identifier?: unknown;
382
+ b_submission?: unknown;
383
+ value_type?: unknown;
384
+ value?: unknown;
385
+ name?: unknown;
386
+ }[] | undefined;
387
+ namedNew?: {
388
+ name?: string | undefined;
389
+ replaceExistName?: boolean | undefined;
390
+ tags?: string[] | undefined;
391
+ onChain?: boolean | undefined;
392
+ } | undefined;
393
+ rely?: {
394
+ guards: string[];
395
+ logic_or?: boolean | undefined;
396
+ } | undefined;
397
+ };
398
+ env?: {
399
+ [x: string]: any;
400
+ account?: unknown;
401
+ permission_guard?: unknown;
402
+ no_cache?: unknown;
403
+ network?: unknown;
404
+ referrer?: unknown;
405
+ } | undefined;
406
+ }, {
407
+ data: {
408
+ root: {
409
+ type: "node";
410
+ node?: any;
411
+ } | {
412
+ type: "file";
413
+ file_path: string;
414
+ format?: "markdown" | "json" | undefined;
415
+ };
416
+ description?: string | undefined;
417
+ table?: {
418
+ [x: string]: any;
419
+ identifier?: unknown;
420
+ b_submission?: unknown;
421
+ value_type?: unknown;
422
+ value?: unknown;
423
+ name?: unknown;
424
+ }[] | undefined;
425
+ namedNew?: {
426
+ name?: string | undefined;
427
+ replaceExistName?: boolean | undefined;
428
+ tags?: string[] | undefined;
429
+ onChain?: boolean | undefined;
430
+ } | undefined;
431
+ rely?: {
432
+ guards: string[];
433
+ logic_or?: boolean | undefined;
434
+ } | undefined;
435
+ };
436
+ env?: {
437
+ [x: string]: any;
438
+ account?: unknown;
439
+ permission_guard?: unknown;
440
+ no_cache?: unknown;
441
+ network?: unknown;
442
+ referrer?: unknown;
443
+ } | undefined;
444
+ }>;
445
+ export declare const CallGenPassport_InputSchema: z.ZodObject<{
446
+ guard: z.ZodEffects<z.ZodString, string, string>;
447
+ info: z.ZodOptional<z.ZodObject<{
448
+ type: z.ZodLiteral<"submission">;
449
+ guard: z.ZodArray<z.ZodObject<{
450
+ object: z.ZodEffects<z.ZodString, string, string>;
451
+ impack: z.ZodBoolean;
452
+ }, "strict", z.ZodTypeAny, {
453
+ object: string;
454
+ impack: boolean;
455
+ }, {
456
+ object: string;
457
+ impack: boolean;
458
+ }>, "many">;
459
+ submission: z.ZodArray<z.ZodObject<{
460
+ guard: z.ZodEffects<z.ZodString, string, string>;
461
+ submission: z.ZodArray<z.ZodObject<{
462
+ identifier: z.ZodNumber;
463
+ b_submission: z.ZodBoolean;
464
+ value_type: z.ZodUnion<[z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<"Bool">, z.ZodLiteral<"Address">, z.ZodLiteral<"String">, z.ZodLiteral<"U8">, z.ZodLiteral<"U16">, z.ZodLiteral<"U32">, z.ZodLiteral<"U64">, z.ZodLiteral<"U128">, z.ZodLiteral<"U256">, z.ZodLiteral<"VecBool">, z.ZodLiteral<"VecAddress">, z.ZodLiteral<"VecString">, z.ZodLiteral<"VecU8">, z.ZodLiteral<"VecU16">, z.ZodLiteral<"VecU32">, z.ZodLiteral<"VecU64">, z.ZodLiteral<"VecU128">, z.ZodLiteral<"VecU256">, z.ZodLiteral<"VecVecU8">, z.ZodLiteral<"bool">, z.ZodLiteral<"address">, z.ZodLiteral<"string">, z.ZodLiteral<"u8">, z.ZodLiteral<"u16">, z.ZodLiteral<"u32">, z.ZodLiteral<"u64">, z.ZodLiteral<"u128">, z.ZodLiteral<"u256">, z.ZodLiteral<"vecbool">, z.ZodLiteral<"vecaddress">, z.ZodLiteral<"vecstring">, z.ZodLiteral<"vecu8">, z.ZodLiteral<"vecu16">, z.ZodLiteral<"vecu32">, z.ZodLiteral<"vecu64">, z.ZodLiteral<"vecu128">, z.ZodLiteral<"vecu256">, z.ZodLiteral<"vecvecu8">]>;
465
+ value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
466
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
467
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
468
+ }, "strict", z.ZodTypeAny, {
469
+ name_or_address?: string | undefined;
470
+ local_mark_first?: boolean | undefined;
471
+ }, {
472
+ name_or_address?: string | undefined;
473
+ local_mark_first?: boolean | undefined;
474
+ }>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean, "many">, z.ZodUnion<[z.ZodObject<{
475
+ entities: z.ZodArray<z.ZodObject<{
476
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
477
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
478
+ }, "strict", z.ZodTypeAny, {
479
+ name_or_address?: string | undefined;
480
+ local_mark_first?: boolean | undefined;
481
+ }, {
482
+ name_or_address?: string | undefined;
483
+ local_mark_first?: boolean | undefined;
484
+ }>, "many">;
485
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
486
+ }, "strict", z.ZodTypeAny, {
487
+ entities: {
488
+ name_or_address?: string | undefined;
489
+ local_mark_first?: boolean | undefined;
490
+ }[];
491
+ check_all_founded?: boolean | undefined;
492
+ }, {
493
+ entities: {
494
+ name_or_address?: string | undefined;
495
+ local_mark_first?: boolean | undefined;
496
+ }[];
497
+ check_all_founded?: boolean | undefined;
498
+ }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>>;
499
+ name: z.ZodDefault<z.ZodString>;
500
+ } & {
501
+ object_type: z.ZodOptional<z.ZodEnum<any>>;
502
+ }, "strict", z.ZodTypeAny, {
503
+ [x: string]: any;
504
+ identifier?: unknown;
505
+ b_submission?: unknown;
506
+ value_type?: unknown;
507
+ value?: unknown;
508
+ name?: unknown;
509
+ object_type?: unknown;
510
+ }, {
511
+ [x: string]: any;
512
+ identifier?: unknown;
513
+ b_submission?: unknown;
514
+ value_type?: unknown;
515
+ value?: unknown;
516
+ name?: unknown;
517
+ object_type?: unknown;
518
+ }>, "many">;
519
+ }, "strict", z.ZodTypeAny, {
520
+ guard: string;
521
+ submission: {
522
+ [x: string]: any;
523
+ identifier?: unknown;
524
+ b_submission?: unknown;
525
+ value_type?: unknown;
526
+ value?: unknown;
527
+ name?: unknown;
528
+ object_type?: unknown;
529
+ }[];
530
+ }, {
531
+ guard: string;
532
+ submission: {
533
+ [x: string]: any;
534
+ identifier?: unknown;
535
+ b_submission?: unknown;
536
+ value_type?: unknown;
537
+ value?: unknown;
538
+ name?: unknown;
539
+ object_type?: unknown;
540
+ }[];
541
+ }>, "many">;
542
+ }, "strict", z.ZodTypeAny, {
543
+ type: "submission";
544
+ guard: {
545
+ object: string;
546
+ impack: boolean;
547
+ }[];
548
+ submission: {
549
+ guard: string;
550
+ submission: {
551
+ [x: string]: any;
552
+ identifier?: unknown;
553
+ b_submission?: unknown;
554
+ value_type?: unknown;
555
+ value?: unknown;
556
+ name?: unknown;
557
+ object_type?: unknown;
558
+ }[];
559
+ }[];
560
+ }, {
561
+ type: "submission";
562
+ guard: {
563
+ object: string;
564
+ impack: boolean;
565
+ }[];
566
+ submission: {
567
+ guard: string;
568
+ submission: {
569
+ [x: string]: any;
570
+ identifier?: unknown;
571
+ b_submission?: unknown;
572
+ value_type?: unknown;
573
+ value?: unknown;
574
+ name?: unknown;
575
+ object_type?: unknown;
576
+ }[];
577
+ }[];
578
+ }>>;
579
+ env: z.ZodOptional<z.ZodObject<{
580
+ account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
581
+ permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
582
+ no_cache: z.ZodOptional<z.ZodBoolean>;
583
+ network: z.ZodOptional<z.ZodEnum<any>>;
584
+ referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
585
+ }, "strict", z.ZodTypeAny, {
586
+ [x: string]: any;
587
+ account?: unknown;
588
+ permission_guard?: unknown;
589
+ no_cache?: unknown;
590
+ network?: unknown;
591
+ referrer?: unknown;
592
+ }, {
593
+ [x: string]: any;
594
+ account?: unknown;
595
+ permission_guard?: unknown;
596
+ no_cache?: unknown;
597
+ network?: unknown;
598
+ referrer?: unknown;
599
+ }>>;
600
+ }, "strict", z.ZodTypeAny, {
601
+ guard: string;
602
+ env?: {
603
+ [x: string]: any;
604
+ account?: unknown;
605
+ permission_guard?: unknown;
606
+ no_cache?: unknown;
607
+ network?: unknown;
608
+ referrer?: unknown;
609
+ } | undefined;
610
+ info?: {
611
+ type: "submission";
612
+ guard: {
613
+ object: string;
614
+ impack: boolean;
615
+ }[];
616
+ submission: {
617
+ guard: string;
618
+ submission: {
619
+ [x: string]: any;
620
+ identifier?: unknown;
621
+ b_submission?: unknown;
622
+ value_type?: unknown;
623
+ value?: unknown;
624
+ name?: unknown;
625
+ object_type?: unknown;
626
+ }[];
627
+ }[];
628
+ } | undefined;
629
+ }, {
630
+ guard: string;
631
+ env?: {
632
+ [x: string]: any;
633
+ account?: unknown;
634
+ permission_guard?: unknown;
635
+ no_cache?: unknown;
636
+ network?: unknown;
637
+ referrer?: unknown;
638
+ } | undefined;
639
+ info?: {
640
+ type: "submission";
641
+ guard: {
642
+ object: string;
643
+ impack: boolean;
644
+ }[];
645
+ submission: {
646
+ guard: string;
647
+ submission: {
648
+ [x: string]: any;
649
+ identifier?: unknown;
650
+ b_submission?: unknown;
651
+ value_type?: unknown;
652
+ value?: unknown;
653
+ name?: unknown;
654
+ object_type?: unknown;
655
+ }[];
656
+ }[];
657
+ } | undefined;
658
+ }>;
659
+ export declare const Guard2File_InputSchema: z.ZodObject<{
660
+ guard: z.ZodEffects<z.ZodString, string, string>;
661
+ file_path: z.ZodString;
662
+ format: z.ZodOptional<z.ZodEnum<["json", "markdown"]>>;
663
+ env: z.ZodOptional<z.ZodObject<{
664
+ account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
665
+ permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
666
+ no_cache: z.ZodOptional<z.ZodBoolean>;
667
+ network: z.ZodOptional<z.ZodEnum<any>>;
668
+ referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
669
+ }, "strict", z.ZodTypeAny, {
670
+ [x: string]: any;
671
+ account?: unknown;
672
+ permission_guard?: unknown;
673
+ no_cache?: unknown;
674
+ network?: unknown;
675
+ referrer?: unknown;
676
+ }, {
677
+ [x: string]: any;
678
+ account?: unknown;
679
+ permission_guard?: unknown;
680
+ no_cache?: unknown;
681
+ network?: unknown;
682
+ referrer?: unknown;
683
+ }>>;
684
+ }, "strict", z.ZodTypeAny, {
685
+ guard: string;
686
+ file_path: string;
687
+ format?: "markdown" | "json" | undefined;
688
+ env?: {
689
+ [x: string]: any;
690
+ account?: unknown;
691
+ permission_guard?: unknown;
692
+ no_cache?: unknown;
693
+ network?: unknown;
694
+ referrer?: unknown;
695
+ } | undefined;
696
+ }, {
697
+ guard: string;
698
+ file_path: string;
699
+ format?: "markdown" | "json" | undefined;
700
+ env?: {
701
+ [x: string]: any;
702
+ account?: unknown;
703
+ permission_guard?: unknown;
704
+ no_cache?: unknown;
705
+ network?: unknown;
706
+ referrer?: unknown;
707
+ } | undefined;
708
+ }>;
709
+ export declare const Guard2File_OutputSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
710
+ status: z.ZodLiteral<"success">;
711
+ data: z.ZodObject<{
712
+ file_path: z.ZodString;
713
+ format: z.ZodEnum<["json", "markdown"]>;
714
+ guard_object: z.ZodString;
715
+ }, "strict", z.ZodTypeAny, {
716
+ format: "markdown" | "json";
717
+ file_path: string;
718
+ guard_object: string;
719
+ }, {
720
+ format: "markdown" | "json";
721
+ file_path: string;
722
+ guard_object: string;
723
+ }>;
724
+ }, "strict", z.ZodTypeAny, {
725
+ status: "success";
726
+ data: {
727
+ format: "markdown" | "json";
728
+ file_path: string;
729
+ guard_object: string;
730
+ };
731
+ }, {
732
+ status: "success";
733
+ data: {
734
+ format: "markdown" | "json";
735
+ file_path: string;
736
+ guard_object: string;
737
+ };
738
+ }>, z.ZodObject<{
739
+ status: z.ZodLiteral<"error">;
740
+ error: z.ZodString;
741
+ }, "strict", z.ZodTypeAny, {
742
+ status: "error";
743
+ error: string;
744
+ }, {
745
+ status: "error";
746
+ error: string;
747
+ }>]>;
748
+ export declare const Guard2File_OutputWrappedSchema: z.ZodObject<{
749
+ result: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
750
+ status: z.ZodLiteral<"success">;
751
+ data: z.ZodObject<{
752
+ file_path: z.ZodString;
753
+ format: z.ZodEnum<["json", "markdown"]>;
754
+ guard_object: z.ZodString;
755
+ }, "strict", z.ZodTypeAny, {
756
+ format: "markdown" | "json";
757
+ file_path: string;
758
+ guard_object: string;
759
+ }, {
760
+ format: "markdown" | "json";
761
+ file_path: string;
762
+ guard_object: string;
763
+ }>;
764
+ }, "strict", z.ZodTypeAny, {
765
+ status: "success";
766
+ data: {
767
+ format: "markdown" | "json";
768
+ file_path: string;
769
+ guard_object: string;
770
+ };
771
+ }, {
772
+ status: "success";
773
+ data: {
774
+ format: "markdown" | "json";
775
+ file_path: string;
776
+ guard_object: string;
777
+ };
778
+ }>, z.ZodObject<{
779
+ status: z.ZodLiteral<"error">;
780
+ error: z.ZodString;
781
+ }, "strict", z.ZodTypeAny, {
782
+ status: "error";
783
+ error: string;
784
+ }, {
785
+ status: "error";
786
+ error: string;
787
+ }>]>;
788
+ }, "strict", z.ZodTypeAny, {
789
+ result: {
790
+ status: "success";
791
+ data: {
792
+ format: "markdown" | "json";
793
+ file_path: string;
794
+ guard_object: string;
795
+ };
796
+ } | {
797
+ status: "error";
798
+ error: string;
799
+ };
800
+ }, {
801
+ result: {
802
+ status: "success";
803
+ data: {
804
+ format: "markdown" | "json";
805
+ file_path: string;
806
+ guard_object: string;
807
+ };
808
+ } | {
809
+ status: "error";
810
+ error: string;
811
+ };
812
+ }>;
813
+ export type CallGuard_Root = z.infer<typeof CallGuard_RootSchema>;
814
+ export type CallGuard_Data = z.infer<typeof CallGuard_DataSchema>;
815
+ export type CallGuard_Input = z.infer<typeof CallGuard_InputSchema>;
816
+ export type CallGenPassport_Input = z.infer<typeof CallGenPassport_InputSchema>;
817
+ export type Guard2File_Input = z.infer<typeof Guard2File_InputSchema>;
818
+ export type Guard2File_Output = z.infer<typeof Guard2File_OutputSchema>;
819
+ export type Guard2File_OutputWrapped = z.infer<typeof Guard2File_OutputWrappedSchema>;