@wowok/agent-mcp 2.4.3 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (317) hide show
  1. package/dist/config/runtime.d.ts +4 -0
  2. package/dist/config/runtime.js +29 -5
  3. package/dist/harness/auto-escalation.d.ts +27 -0
  4. package/dist/harness/auto-escalation.js +68 -0
  5. package/dist/index.js +21 -0
  6. package/dist/knowledge/allocation-confirm.d.ts +115 -0
  7. package/dist/knowledge/allocation-confirm.js +534 -0
  8. package/dist/knowledge/allocation-context.d.ts +58 -0
  9. package/dist/knowledge/allocation-context.js +249 -0
  10. package/dist/knowledge/allocation-ledger.d.ts +67 -0
  11. package/dist/knowledge/allocation-ledger.js +463 -0
  12. package/dist/knowledge/allocation-puzzle.d.ts +135 -0
  13. package/dist/knowledge/allocation-puzzle.js +298 -0
  14. package/dist/knowledge/allocation-risk.d.ts +78 -0
  15. package/dist/knowledge/allocation-risk.js +568 -0
  16. package/dist/knowledge/allocation-templates.d.ts +38 -0
  17. package/dist/knowledge/allocation-templates.js +970 -0
  18. package/dist/knowledge/allocation-translation.d.ts +72 -0
  19. package/dist/knowledge/allocation-translation.js +585 -0
  20. package/dist/knowledge/arb-risk.d.ts +37 -0
  21. package/dist/knowledge/arb-risk.js +210 -0
  22. package/dist/knowledge/arbitration-confirm.d.ts +135 -0
  23. package/dist/knowledge/arbitration-confirm.js +559 -0
  24. package/dist/knowledge/arbitration-context.d.ts +81 -0
  25. package/dist/knowledge/arbitration-context.js +505 -0
  26. package/dist/knowledge/arbitration-ledger.d.ts +62 -0
  27. package/dist/knowledge/arbitration-ledger.js +521 -0
  28. package/dist/knowledge/arbitration-puzzle.d.ts +84 -0
  29. package/dist/knowledge/arbitration-puzzle.js +304 -0
  30. package/dist/knowledge/arbitration-risk.d.ts +112 -0
  31. package/dist/knowledge/arbitration-risk.js +433 -0
  32. package/dist/knowledge/arbitration-templates.d.ts +38 -0
  33. package/dist/knowledge/arbitration-templates.js +276 -0
  34. package/dist/knowledge/arbitration-translation.d.ts +91 -0
  35. package/dist/knowledge/arbitration-translation.js +487 -0
  36. package/dist/knowledge/bridge-risk.d.ts +36 -0
  37. package/dist/knowledge/bridge-risk.js +263 -0
  38. package/dist/knowledge/contact-risk.d.ts +32 -0
  39. package/dist/knowledge/contact-risk.js +200 -0
  40. package/dist/knowledge/demand-confirm.d.ts +32 -0
  41. package/dist/knowledge/demand-confirm.js +206 -0
  42. package/dist/knowledge/demand-risk.d.ts +30 -0
  43. package/dist/knowledge/demand-risk.js +240 -0
  44. package/dist/knowledge/demand-translation.d.ts +55 -0
  45. package/dist/knowledge/demand-translation.js +354 -0
  46. package/dist/knowledge/deployment-scanner.d.ts +63 -0
  47. package/dist/knowledge/deployment-scanner.js +762 -0
  48. package/dist/knowledge/examples-scanner-cli.d.ts +1 -0
  49. package/dist/knowledge/examples-scanner-cli.js +26 -0
  50. package/dist/knowledge/examples-scanner.d.ts +121 -0
  51. package/dist/knowledge/examples-scanner.js +825 -0
  52. package/dist/knowledge/flywheel-loop.d.ts +3 -0
  53. package/dist/knowledge/flywheel-loop.js +32 -3
  54. package/dist/knowledge/glossary.js +3 -1
  55. package/dist/knowledge/guard-confirm.d.ts +86 -0
  56. package/dist/knowledge/guard-confirm.js +406 -0
  57. package/dist/knowledge/guard-context.d.ts +56 -0
  58. package/dist/knowledge/guard-context.js +287 -0
  59. package/dist/knowledge/guard-design-patterns.d.ts +37 -0
  60. package/dist/knowledge/guard-design-patterns.js +257 -0
  61. package/dist/knowledge/guard-puzzle.js +3 -2
  62. package/dist/knowledge/guard-risk.d.ts +1 -1
  63. package/dist/knowledge/guard-risk.js +12 -14
  64. package/dist/knowledge/guard-templates.js +1 -1
  65. package/dist/knowledge/guard-translation.js +6 -5
  66. package/dist/knowledge/index.d.ts +342 -0
  67. package/dist/knowledge/index.js +344 -0
  68. package/dist/knowledge/machine-confirm.d.ts +102 -0
  69. package/dist/knowledge/machine-confirm.js +559 -0
  70. package/dist/knowledge/machine-context.d.ts +160 -0
  71. package/dist/knowledge/machine-context.js +812 -0
  72. package/dist/knowledge/machine-ledger.d.ts +41 -0
  73. package/dist/knowledge/machine-ledger.js +315 -0
  74. package/dist/knowledge/machine-puzzle.d.ts +206 -0
  75. package/dist/knowledge/machine-puzzle.js +494 -0
  76. package/dist/knowledge/machine-risk.d.ts +75 -0
  77. package/dist/knowledge/machine-risk.js +644 -0
  78. package/dist/knowledge/machine-templates.d.ts +92 -0
  79. package/dist/knowledge/machine-templates.js +1592 -0
  80. package/dist/knowledge/machine-topology.d.ts +57 -0
  81. package/dist/knowledge/machine-topology.js +234 -0
  82. package/dist/knowledge/machine-translation.d.ts +96 -0
  83. package/dist/knowledge/machine-translation.js +513 -0
  84. package/dist/knowledge/mcp-schema-audit-cli.d.ts +1 -0
  85. package/dist/knowledge/mcp-schema-audit-cli.js +45 -0
  86. package/dist/knowledge/mcp-schema-audit.d.ts +90 -0
  87. package/dist/knowledge/mcp-schema-audit.js +772 -0
  88. package/dist/knowledge/onchain-constants.d.ts +4 -0
  89. package/dist/knowledge/onchain-constants.js +35 -0
  90. package/dist/knowledge/order-confirm.d.ts +115 -0
  91. package/dist/knowledge/order-confirm.js +573 -0
  92. package/dist/knowledge/order-context.d.ts +66 -0
  93. package/dist/knowledge/order-context.js +390 -0
  94. package/dist/knowledge/order-ledger.d.ts +69 -0
  95. package/dist/knowledge/order-ledger.js +341 -0
  96. package/dist/knowledge/order-puzzle.d.ts +159 -0
  97. package/dist/knowledge/order-puzzle.js +255 -0
  98. package/dist/knowledge/order-risk.d.ts +66 -0
  99. package/dist/knowledge/order-risk.js +653 -0
  100. package/dist/knowledge/order-templates.d.ts +50 -0
  101. package/dist/knowledge/order-templates.js +368 -0
  102. package/dist/knowledge/order-translation.d.ts +78 -0
  103. package/dist/knowledge/order-translation.js +550 -0
  104. package/dist/knowledge/passport-confirm.d.ts +130 -0
  105. package/dist/knowledge/passport-confirm.js +531 -0
  106. package/dist/knowledge/passport-context.d.ts +59 -0
  107. package/dist/knowledge/passport-context.js +306 -0
  108. package/dist/knowledge/passport-ledger.d.ts +48 -0
  109. package/dist/knowledge/passport-ledger.js +282 -0
  110. package/dist/knowledge/passport-puzzle.d.ts +108 -0
  111. package/dist/knowledge/passport-puzzle.js +333 -0
  112. package/dist/knowledge/passport-risk.d.ts +70 -0
  113. package/dist/knowledge/passport-risk.js +450 -0
  114. package/dist/knowledge/passport-templates.d.ts +40 -0
  115. package/dist/knowledge/passport-templates.js +568 -0
  116. package/dist/knowledge/passport-translation.d.ts +68 -0
  117. package/dist/knowledge/passport-translation.js +516 -0
  118. package/dist/knowledge/payment-risk.d.ts +33 -0
  119. package/dist/knowledge/payment-risk.js +182 -0
  120. package/dist/knowledge/permission-confirm.d.ts +110 -0
  121. package/dist/knowledge/permission-confirm.js +426 -0
  122. package/dist/knowledge/permission-context.d.ts +58 -0
  123. package/dist/knowledge/permission-context.js +224 -0
  124. package/dist/knowledge/permission-ledger.d.ts +38 -0
  125. package/dist/knowledge/permission-ledger.js +403 -0
  126. package/dist/knowledge/permission-puzzle.d.ts +122 -0
  127. package/dist/knowledge/permission-puzzle.js +173 -0
  128. package/dist/knowledge/permission-risk.d.ts +76 -0
  129. package/dist/knowledge/permission-risk.js +411 -0
  130. package/dist/knowledge/permission-templates.d.ts +38 -0
  131. package/dist/knowledge/permission-templates.js +234 -0
  132. package/dist/knowledge/permission-translation.d.ts +57 -0
  133. package/dist/knowledge/permission-translation.js +350 -0
  134. package/dist/knowledge/personal-risk.d.ts +36 -0
  135. package/dist/knowledge/personal-risk.js +212 -0
  136. package/dist/knowledge/progress-confirm.d.ts +108 -0
  137. package/dist/knowledge/progress-confirm.js +456 -0
  138. package/dist/knowledge/progress-context.d.ts +123 -0
  139. package/dist/knowledge/progress-context.js +452 -0
  140. package/dist/knowledge/progress-ledger.d.ts +63 -0
  141. package/dist/knowledge/progress-ledger.js +327 -0
  142. package/dist/knowledge/progress-puzzle.d.ts +82 -0
  143. package/dist/knowledge/progress-puzzle.js +219 -0
  144. package/dist/knowledge/progress-risk.d.ts +74 -0
  145. package/dist/knowledge/progress-risk.js +461 -0
  146. package/dist/knowledge/progress-templates.d.ts +38 -0
  147. package/dist/knowledge/progress-templates.js +228 -0
  148. package/dist/knowledge/progress-translation.d.ts +52 -0
  149. package/dist/knowledge/progress-translation.js +401 -0
  150. package/dist/knowledge/proof-confirm.d.ts +31 -0
  151. package/dist/knowledge/proof-confirm.js +187 -0
  152. package/dist/knowledge/proof-risk.d.ts +33 -0
  153. package/dist/knowledge/proof-risk.js +207 -0
  154. package/dist/knowledge/proof-translation.d.ts +52 -0
  155. package/dist/knowledge/proof-translation.js +283 -0
  156. package/dist/knowledge/registrar-risk.d.ts +34 -0
  157. package/dist/knowledge/registrar-risk.js +217 -0
  158. package/dist/knowledge/repository-confirm.d.ts +36 -0
  159. package/dist/knowledge/repository-confirm.js +242 -0
  160. package/dist/knowledge/repository-risk.d.ts +40 -0
  161. package/dist/knowledge/repository-risk.js +312 -0
  162. package/dist/knowledge/repository-translation.d.ts +58 -0
  163. package/dist/knowledge/repository-translation.js +422 -0
  164. package/dist/knowledge/resource-risk.d.ts +32 -0
  165. package/dist/knowledge/resource-risk.js +157 -0
  166. package/dist/knowledge/reward-confirm.d.ts +113 -0
  167. package/dist/knowledge/reward-confirm.js +496 -0
  168. package/dist/knowledge/reward-context.d.ts +127 -0
  169. package/dist/knowledge/reward-context.js +504 -0
  170. package/dist/knowledge/reward-ledger.d.ts +96 -0
  171. package/dist/knowledge/reward-ledger.js +502 -0
  172. package/dist/knowledge/reward-puzzle.d.ts +97 -0
  173. package/dist/knowledge/reward-puzzle.js +288 -0
  174. package/dist/knowledge/reward-risk.d.ts +84 -0
  175. package/dist/knowledge/reward-risk.js +545 -0
  176. package/dist/knowledge/reward-translation.d.ts +58 -0
  177. package/dist/knowledge/reward-translation.js +501 -0
  178. package/dist/knowledge/safety-rules.js +11 -3
  179. package/dist/knowledge/scenario-modes.d.ts +53 -0
  180. package/dist/knowledge/scenario-modes.js +302 -0
  181. package/dist/knowledge/service-confirm.d.ts +152 -0
  182. package/dist/knowledge/service-confirm.js +699 -0
  183. package/dist/knowledge/service-context.d.ts +66 -0
  184. package/dist/knowledge/service-context.js +403 -0
  185. package/dist/knowledge/service-ledger.d.ts +71 -0
  186. package/dist/knowledge/service-ledger.js +609 -0
  187. package/dist/knowledge/service-puzzle.d.ts +158 -0
  188. package/dist/knowledge/service-puzzle.js +236 -0
  189. package/dist/knowledge/service-risk.d.ts +108 -0
  190. package/dist/knowledge/service-risk.js +615 -0
  191. package/dist/knowledge/service-templates.d.ts +39 -0
  192. package/dist/knowledge/service-templates.js +418 -0
  193. package/dist/knowledge/service-translation.d.ts +103 -0
  194. package/dist/knowledge/service-translation.js +622 -0
  195. package/dist/knowledge/tools-reference.d.ts +17 -0
  196. package/dist/knowledge/tools-reference.js +151 -0
  197. package/dist/knowledge/treasury-confirm.d.ts +133 -0
  198. package/dist/knowledge/treasury-confirm.js +512 -0
  199. package/dist/knowledge/treasury-context.d.ts +64 -0
  200. package/dist/knowledge/treasury-context.js +363 -0
  201. package/dist/knowledge/treasury-ledger.d.ts +42 -0
  202. package/dist/knowledge/treasury-ledger.js +300 -0
  203. package/dist/knowledge/treasury-puzzle.d.ts +163 -0
  204. package/dist/knowledge/treasury-puzzle.js +216 -0
  205. package/dist/knowledge/treasury-risk.d.ts +86 -0
  206. package/dist/knowledge/treasury-risk.js +440 -0
  207. package/dist/knowledge/treasury-templates.d.ts +38 -0
  208. package/dist/knowledge/treasury-templates.js +316 -0
  209. package/dist/knowledge/treasury-translation.d.ts +78 -0
  210. package/dist/knowledge/treasury-translation.js +498 -0
  211. package/dist/knowledge/util-risk.d.ts +30 -0
  212. package/dist/knowledge/util-risk.js +135 -0
  213. package/dist/project/business-puzzle.d.ts +47 -0
  214. package/dist/project/business-puzzle.js +372 -0
  215. package/dist/project/deployment-doc.d.ts +61 -0
  216. package/dist/project/deployment-doc.js +432 -0
  217. package/dist/project/risk-aggregator.d.ts +50 -0
  218. package/dist/project/risk-aggregator.js +280 -0
  219. package/dist/project/substep-trace.d.ts +130 -0
  220. package/dist/project/substep-trace.js +332 -0
  221. package/dist/schema/call/allocation.d.ts +34 -34
  222. package/dist/schema/call/arbitration.d.ts +141 -141
  223. package/dist/schema/call/base.d.ts +386 -386
  224. package/dist/schema/call/base.js +3 -3
  225. package/dist/schema/call/bridge-handler.d.ts +5 -2
  226. package/dist/schema/call/bridge.d.ts +159 -159
  227. package/dist/schema/call/contact.d.ts +110 -110
  228. package/dist/schema/call/demand.d.ts +76 -76
  229. package/dist/schema/call/handler.d.ts +2 -3
  230. package/dist/schema/call/handler.js +1 -1
  231. package/dist/schema/call/machine.d.ts +58 -58
  232. package/dist/schema/call/order.d.ts +98 -110
  233. package/dist/schema/call/permission-handler.d.ts +5 -0
  234. package/dist/schema/call/permission-handler.js +54 -0
  235. package/dist/schema/call/permission.d.ts +108 -108
  236. package/dist/schema/call/personal.d.ts +14 -14
  237. package/dist/schema/call/progress.d.ts +57 -72
  238. package/dist/schema/call/progress.js +7 -4
  239. package/dist/schema/call/proof.d.ts +18 -18
  240. package/dist/schema/call/proof.js +12 -7
  241. package/dist/schema/call/repository.d.ts +154 -154
  242. package/dist/schema/call/reward.d.ts +55 -55
  243. package/dist/schema/call/service.d.ts +231 -231
  244. package/dist/schema/call/treasury.d.ts +93 -93
  245. package/dist/schema/config/index.d.ts +178 -5
  246. package/dist/schema/config/index.js +52 -1
  247. package/dist/schema/local/index.d.ts +3554 -836
  248. package/dist/schema/local/index.js +2 -1
  249. package/dist/schema/messenger/index.d.ts +162 -162
  250. package/dist/schema/operations.d.ts +1058 -1074
  251. package/dist/schema/operations.js +7 -1
  252. package/dist/schema/project/index.d.ts +1392 -6
  253. package/dist/schema/project/index.js +426 -2
  254. package/dist/schema/query/index.d.ts +672 -672
  255. package/dist/schema/schema-query/index.d.ts +23 -3
  256. package/dist/schema/schema-query/index.js +13 -2
  257. package/dist/schema/sync-layer4.d.ts +21 -0
  258. package/dist/schema/sync-layer4.js +261 -0
  259. package/dist/schema/trust/index.d.ts +26 -26
  260. package/dist/schemas/account_operation.output.json +718 -0
  261. package/dist/schemas/config_operation.output.json +173 -0
  262. package/dist/schemas/index.json +9 -1
  263. package/dist/schemas/local_info_operation.output.json +718 -0
  264. package/dist/schemas/local_mark_operation.output.json +718 -0
  265. package/dist/schemas/onchain_operations.output.json +3 -2
  266. package/dist/schemas/onchain_operations.schema.json +1802 -313
  267. package/dist/schemas/onchain_operations_allocation.schema.json +2 -1
  268. package/dist/schemas/onchain_operations_arbitration.schema.json +2 -1
  269. package/dist/schemas/onchain_operations_contact.schema.json +2 -1
  270. package/dist/schemas/onchain_operations_demand.schema.json +2 -1
  271. package/dist/schemas/onchain_operations_gen_passport.schema.json +878 -872
  272. package/dist/schemas/onchain_operations_gen_proof.schema.json +273 -0
  273. package/dist/schemas/onchain_operations_guard.schema.json +584 -70
  274. package/dist/schemas/onchain_operations_machine.schema.json +2 -1
  275. package/dist/schemas/onchain_operations_order.schema.json +13 -9
  276. package/dist/schemas/onchain_operations_payment.schema.json +2 -1
  277. package/dist/schemas/onchain_operations_permission.schema.json +2 -1
  278. package/dist/schemas/onchain_operations_personal.schema.json +2 -1
  279. package/dist/schemas/onchain_operations_progress.schema.json +14 -10
  280. package/dist/schemas/onchain_operations_proof.schema.json +699 -0
  281. package/dist/schemas/onchain_operations_repository.schema.json +2 -1
  282. package/dist/schemas/onchain_operations_reward.schema.json +2 -1
  283. package/dist/schemas/onchain_operations_service.schema.json +2 -1
  284. package/dist/schemas/onchain_operations_treasury.schema.json +2 -1
  285. package/dist/schemas/onchain_table_data.schema.json +32 -1
  286. package/dist/schemas/project_operation.output.json +879 -0
  287. package/dist/schemas/project_operation.schema.json +473 -2
  288. package/dist/schemas/query_toolkit.output.json +14906 -6
  289. package/dist/schemas/schema_query.output.json +38 -1
  290. package/dist/telemetry/index.d.ts +1 -1
  291. package/dist/tools/handlers/config.d.ts +1 -1
  292. package/dist/tools/handlers/config.js +21 -18
  293. package/dist/tools/handlers/file-export.d.ts +2 -2
  294. package/dist/tools/handlers/local.d.ts +3 -30
  295. package/dist/tools/handlers/local.js +14 -3
  296. package/dist/tools/handlers/messenger.d.ts +1 -1
  297. package/dist/tools/handlers/messenger.js +2 -1
  298. package/dist/tools/handlers/onchain.d.ts +1 -1
  299. package/dist/tools/handlers/onchain.js +24 -22
  300. package/dist/tools/handlers/project.d.ts +1 -1
  301. package/dist/tools/handlers/project.js +258 -18
  302. package/dist/tools/handlers/query.d.ts +4 -4
  303. package/dist/tools/handlers/schema-query.d.ts +1 -1
  304. package/dist/tools/handlers/schema-query.js +21 -20
  305. package/dist/tools/handlers/trust.d.ts +1 -1
  306. package/dist/tools/handlers/trust.js +2 -2
  307. package/dist/tools/handlers/wip.d.ts +1 -1
  308. package/dist/tools/handlers/wip.js +1 -1
  309. package/dist/tools/index.d.ts +1 -1
  310. package/dist/tools/index.js +55 -8
  311. package/dist/tools/rules-hook.d.ts +1 -1
  312. package/dist/tools/rules-hook.js +3 -2
  313. package/dist/tools/shared.d.ts +13 -22
  314. package/dist/tools/types.d.ts +5 -5
  315. package/dist/tools/wrap.d.ts +10 -2
  316. package/dist/tools/wrap.js +212 -0
  317. package/package.json +3 -3
@@ -63,6 +63,7 @@ export declare const CallAllocation_CreateSchema: z.ZodObject<{
63
63
  sharing: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
64
64
  mode: z.ZodEnum<["Amount", "Rate", "Surplus"]>;
65
65
  }, "strip", z.ZodTypeAny, {
66
+ mode: "Amount" | "Rate" | "Surplus";
66
67
  sharing: string | number;
67
68
  who: {
68
69
  GuardIdentifier: number;
@@ -74,8 +75,8 @@ export declare const CallAllocation_CreateSchema: z.ZodObject<{
74
75
  } | {
75
76
  Signer: "signer";
76
77
  };
77
- mode: "Amount" | "Rate" | "Surplus";
78
78
  }, {
79
+ mode: "Amount" | "Rate" | "Surplus";
79
80
  sharing: string | number;
80
81
  who: {
81
82
  GuardIdentifier: number;
@@ -87,13 +88,13 @@ export declare const CallAllocation_CreateSchema: z.ZodObject<{
87
88
  } | {
88
89
  Signer: "signer";
89
90
  };
90
- mode: "Amount" | "Rate" | "Surplus";
91
91
  }>, "many">;
92
92
  fix: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
93
93
  max: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodNumber, z.ZodString]>, z.ZodNull]>>;
94
94
  }, "strip", z.ZodTypeAny, {
95
95
  guard: string;
96
96
  sharing: {
97
+ mode: "Amount" | "Rate" | "Surplus";
97
98
  sharing: string | number;
98
99
  who: {
99
100
  GuardIdentifier: number;
@@ -105,13 +106,13 @@ export declare const CallAllocation_CreateSchema: z.ZodObject<{
105
106
  } | {
106
107
  Signer: "signer";
107
108
  };
108
- mode: "Amount" | "Rate" | "Surplus";
109
109
  }[];
110
110
  max?: string | number | null | undefined;
111
111
  fix?: string | number | undefined;
112
112
  }, {
113
113
  guard: string;
114
114
  sharing: {
115
+ mode: "Amount" | "Rate" | "Surplus";
115
116
  sharing: string | number;
116
117
  who: {
117
118
  GuardIdentifier: number;
@@ -123,7 +124,6 @@ export declare const CallAllocation_CreateSchema: z.ZodObject<{
123
124
  } | {
124
125
  Signer: "signer";
125
126
  };
126
- mode: "Amount" | "Rate" | "Surplus";
127
127
  }[];
128
128
  max?: string | number | null | undefined;
129
129
  fix?: string | number | undefined;
@@ -134,6 +134,7 @@ export declare const CallAllocation_CreateSchema: z.ZodObject<{
134
134
  allocators: {
135
135
  guard: string;
136
136
  sharing: {
137
+ mode: "Amount" | "Rate" | "Surplus";
137
138
  sharing: string | number;
138
139
  who: {
139
140
  GuardIdentifier: number;
@@ -145,7 +146,6 @@ export declare const CallAllocation_CreateSchema: z.ZodObject<{
145
146
  } | {
146
147
  Signer: "signer";
147
148
  };
148
- mode: "Amount" | "Rate" | "Surplus";
149
149
  }[];
150
150
  max?: string | number | null | undefined;
151
151
  fix?: string | number | undefined;
@@ -155,6 +155,7 @@ export declare const CallAllocation_CreateSchema: z.ZodObject<{
155
155
  allocators: {
156
156
  guard: string;
157
157
  sharing: {
158
+ mode: "Amount" | "Rate" | "Surplus";
158
159
  sharing: string | number;
159
160
  who: {
160
161
  GuardIdentifier: number;
@@ -166,7 +167,6 @@ export declare const CallAllocation_CreateSchema: z.ZodObject<{
166
167
  } | {
167
168
  Signer: "signer";
168
169
  };
169
- mode: "Amount" | "Rate" | "Surplus";
170
170
  }[];
171
171
  max?: string | number | null | undefined;
172
172
  fix?: string | number | undefined;
@@ -221,6 +221,7 @@ export declare const CallAllocation_CreateSchema: z.ZodObject<{
221
221
  allocators: {
222
222
  guard: string;
223
223
  sharing: {
224
+ mode: "Amount" | "Rate" | "Surplus";
224
225
  sharing: string | number;
225
226
  who: {
226
227
  GuardIdentifier: number;
@@ -232,7 +233,6 @@ export declare const CallAllocation_CreateSchema: z.ZodObject<{
232
233
  } | {
233
234
  Signer: "signer";
234
235
  };
235
- mode: "Amount" | "Rate" | "Surplus";
236
236
  }[];
237
237
  max?: string | number | null | undefined;
238
238
  fix?: string | number | undefined;
@@ -262,6 +262,7 @@ export declare const CallAllocation_CreateSchema: z.ZodObject<{
262
262
  allocators: {
263
263
  guard: string;
264
264
  sharing: {
265
+ mode: "Amount" | "Rate" | "Surplus";
265
266
  sharing: string | number;
266
267
  who: {
267
268
  GuardIdentifier: number;
@@ -273,7 +274,6 @@ export declare const CallAllocation_CreateSchema: z.ZodObject<{
273
274
  } | {
274
275
  Signer: "signer";
275
276
  };
276
- mode: "Amount" | "Rate" | "Surplus";
277
277
  }[];
278
278
  max?: string | number | null | undefined;
279
279
  fix?: string | number | undefined;
@@ -325,6 +325,7 @@ export declare const CallAllocation_OperateSchema: z.ZodObject<{
325
325
  alloc_by_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
326
326
  }, "strict", z.ZodTypeAny, {
327
327
  object: string;
328
+ alloc_by_guard?: string | undefined;
328
329
  received_coins?: {
329
330
  received: {
330
331
  id: string;
@@ -334,9 +335,9 @@ export declare const CallAllocation_OperateSchema: z.ZodObject<{
334
335
  balance: string | number;
335
336
  token_type: string;
336
337
  } | "recently" | undefined;
337
- alloc_by_guard?: string | undefined;
338
338
  }, {
339
339
  object: string;
340
+ alloc_by_guard?: string | undefined;
340
341
  received_coins?: {
341
342
  received: {
342
343
  id: string;
@@ -346,7 +347,6 @@ export declare const CallAllocation_OperateSchema: z.ZodObject<{
346
347
  balance: string | number;
347
348
  token_type: string;
348
349
  } | "recently" | undefined;
349
- alloc_by_guard?: string | undefined;
350
350
  }>;
351
351
  export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
352
352
  object: z.ZodObject<{
@@ -412,6 +412,7 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
412
412
  sharing: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
413
413
  mode: z.ZodEnum<["Amount", "Rate", "Surplus"]>;
414
414
  }, "strip", z.ZodTypeAny, {
415
+ mode: "Amount" | "Rate" | "Surplus";
415
416
  sharing: string | number;
416
417
  who: {
417
418
  GuardIdentifier: number;
@@ -423,8 +424,8 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
423
424
  } | {
424
425
  Signer: "signer";
425
426
  };
426
- mode: "Amount" | "Rate" | "Surplus";
427
427
  }, {
428
+ mode: "Amount" | "Rate" | "Surplus";
428
429
  sharing: string | number;
429
430
  who: {
430
431
  GuardIdentifier: number;
@@ -436,13 +437,13 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
436
437
  } | {
437
438
  Signer: "signer";
438
439
  };
439
- mode: "Amount" | "Rate" | "Surplus";
440
440
  }>, "many">;
441
441
  fix: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
442
442
  max: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodNumber, z.ZodString]>, z.ZodNull]>>;
443
443
  }, "strip", z.ZodTypeAny, {
444
444
  guard: string;
445
445
  sharing: {
446
+ mode: "Amount" | "Rate" | "Surplus";
446
447
  sharing: string | number;
447
448
  who: {
448
449
  GuardIdentifier: number;
@@ -454,13 +455,13 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
454
455
  } | {
455
456
  Signer: "signer";
456
457
  };
457
- mode: "Amount" | "Rate" | "Surplus";
458
458
  }[];
459
459
  max?: string | number | null | undefined;
460
460
  fix?: string | number | undefined;
461
461
  }, {
462
462
  guard: string;
463
463
  sharing: {
464
+ mode: "Amount" | "Rate" | "Surplus";
464
465
  sharing: string | number;
465
466
  who: {
466
467
  GuardIdentifier: number;
@@ -472,7 +473,6 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
472
473
  } | {
473
474
  Signer: "signer";
474
475
  };
475
- mode: "Amount" | "Rate" | "Surplus";
476
476
  }[];
477
477
  max?: string | number | null | undefined;
478
478
  fix?: string | number | undefined;
@@ -483,6 +483,7 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
483
483
  allocators: {
484
484
  guard: string;
485
485
  sharing: {
486
+ mode: "Amount" | "Rate" | "Surplus";
486
487
  sharing: string | number;
487
488
  who: {
488
489
  GuardIdentifier: number;
@@ -494,7 +495,6 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
494
495
  } | {
495
496
  Signer: "signer";
496
497
  };
497
- mode: "Amount" | "Rate" | "Surplus";
498
498
  }[];
499
499
  max?: string | number | null | undefined;
500
500
  fix?: string | number | undefined;
@@ -504,6 +504,7 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
504
504
  allocators: {
505
505
  guard: string;
506
506
  sharing: {
507
+ mode: "Amount" | "Rate" | "Surplus";
507
508
  sharing: string | number;
508
509
  who: {
509
510
  GuardIdentifier: number;
@@ -515,7 +516,6 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
515
516
  } | {
516
517
  Signer: "signer";
517
518
  };
518
- mode: "Amount" | "Rate" | "Surplus";
519
519
  }[];
520
520
  max?: string | number | null | undefined;
521
521
  fix?: string | number | undefined;
@@ -570,6 +570,7 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
570
570
  allocators: {
571
571
  guard: string;
572
572
  sharing: {
573
+ mode: "Amount" | "Rate" | "Surplus";
573
574
  sharing: string | number;
574
575
  who: {
575
576
  GuardIdentifier: number;
@@ -581,7 +582,6 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
581
582
  } | {
582
583
  Signer: "signer";
583
584
  };
584
- mode: "Amount" | "Rate" | "Surplus";
585
585
  }[];
586
586
  max?: string | number | null | undefined;
587
587
  fix?: string | number | undefined;
@@ -611,6 +611,7 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
611
611
  allocators: {
612
612
  guard: string;
613
613
  sharing: {
614
+ mode: "Amount" | "Rate" | "Surplus";
614
615
  sharing: string | number;
615
616
  who: {
616
617
  GuardIdentifier: number;
@@ -622,7 +623,6 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
622
623
  } | {
623
624
  Signer: "signer";
624
625
  };
625
- mode: "Amount" | "Rate" | "Surplus";
626
626
  }[];
627
627
  max?: string | number | null | undefined;
628
628
  fix?: string | number | undefined;
@@ -673,6 +673,7 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
673
673
  alloc_by_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
674
674
  }, "strict", z.ZodTypeAny, {
675
675
  object: string;
676
+ alloc_by_guard?: string | undefined;
676
677
  received_coins?: {
677
678
  received: {
678
679
  id: string;
@@ -682,9 +683,9 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
682
683
  balance: string | number;
683
684
  token_type: string;
684
685
  } | "recently" | undefined;
685
- alloc_by_guard?: string | undefined;
686
686
  }, {
687
687
  object: string;
688
+ alloc_by_guard?: string | undefined;
688
689
  received_coins?: {
689
690
  received: {
690
691
  id: string;
@@ -694,7 +695,6 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
694
695
  balance: string | number;
695
696
  token_type: string;
696
697
  } | "recently" | undefined;
697
- alloc_by_guard?: string | undefined;
698
698
  }>]>;
699
699
  export declare const CallAllocation_InputSchema: z.ZodObject<{
700
700
  data: z.ZodUnion<[z.ZodObject<{
@@ -761,6 +761,7 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
761
761
  sharing: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
762
762
  mode: z.ZodEnum<["Amount", "Rate", "Surplus"]>;
763
763
  }, "strip", z.ZodTypeAny, {
764
+ mode: "Amount" | "Rate" | "Surplus";
764
765
  sharing: string | number;
765
766
  who: {
766
767
  GuardIdentifier: number;
@@ -772,8 +773,8 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
772
773
  } | {
773
774
  Signer: "signer";
774
775
  };
775
- mode: "Amount" | "Rate" | "Surplus";
776
776
  }, {
777
+ mode: "Amount" | "Rate" | "Surplus";
777
778
  sharing: string | number;
778
779
  who: {
779
780
  GuardIdentifier: number;
@@ -785,13 +786,13 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
785
786
  } | {
786
787
  Signer: "signer";
787
788
  };
788
- mode: "Amount" | "Rate" | "Surplus";
789
789
  }>, "many">;
790
790
  fix: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
791
791
  max: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodNumber, z.ZodString]>, z.ZodNull]>>;
792
792
  }, "strip", z.ZodTypeAny, {
793
793
  guard: string;
794
794
  sharing: {
795
+ mode: "Amount" | "Rate" | "Surplus";
795
796
  sharing: string | number;
796
797
  who: {
797
798
  GuardIdentifier: number;
@@ -803,13 +804,13 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
803
804
  } | {
804
805
  Signer: "signer";
805
806
  };
806
- mode: "Amount" | "Rate" | "Surplus";
807
807
  }[];
808
808
  max?: string | number | null | undefined;
809
809
  fix?: string | number | undefined;
810
810
  }, {
811
811
  guard: string;
812
812
  sharing: {
813
+ mode: "Amount" | "Rate" | "Surplus";
813
814
  sharing: string | number;
814
815
  who: {
815
816
  GuardIdentifier: number;
@@ -821,7 +822,6 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
821
822
  } | {
822
823
  Signer: "signer";
823
824
  };
824
- mode: "Amount" | "Rate" | "Surplus";
825
825
  }[];
826
826
  max?: string | number | null | undefined;
827
827
  fix?: string | number | undefined;
@@ -832,6 +832,7 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
832
832
  allocators: {
833
833
  guard: string;
834
834
  sharing: {
835
+ mode: "Amount" | "Rate" | "Surplus";
835
836
  sharing: string | number;
836
837
  who: {
837
838
  GuardIdentifier: number;
@@ -843,7 +844,6 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
843
844
  } | {
844
845
  Signer: "signer";
845
846
  };
846
- mode: "Amount" | "Rate" | "Surplus";
847
847
  }[];
848
848
  max?: string | number | null | undefined;
849
849
  fix?: string | number | undefined;
@@ -853,6 +853,7 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
853
853
  allocators: {
854
854
  guard: string;
855
855
  sharing: {
856
+ mode: "Amount" | "Rate" | "Surplus";
856
857
  sharing: string | number;
857
858
  who: {
858
859
  GuardIdentifier: number;
@@ -864,7 +865,6 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
864
865
  } | {
865
866
  Signer: "signer";
866
867
  };
867
- mode: "Amount" | "Rate" | "Surplus";
868
868
  }[];
869
869
  max?: string | number | null | undefined;
870
870
  fix?: string | number | undefined;
@@ -919,6 +919,7 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
919
919
  allocators: {
920
920
  guard: string;
921
921
  sharing: {
922
+ mode: "Amount" | "Rate" | "Surplus";
922
923
  sharing: string | number;
923
924
  who: {
924
925
  GuardIdentifier: number;
@@ -930,7 +931,6 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
930
931
  } | {
931
932
  Signer: "signer";
932
933
  };
933
- mode: "Amount" | "Rate" | "Surplus";
934
934
  }[];
935
935
  max?: string | number | null | undefined;
936
936
  fix?: string | number | undefined;
@@ -960,6 +960,7 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
960
960
  allocators: {
961
961
  guard: string;
962
962
  sharing: {
963
+ mode: "Amount" | "Rate" | "Surplus";
963
964
  sharing: string | number;
964
965
  who: {
965
966
  GuardIdentifier: number;
@@ -971,7 +972,6 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
971
972
  } | {
972
973
  Signer: "signer";
973
974
  };
974
- mode: "Amount" | "Rate" | "Surplus";
975
975
  }[];
976
976
  max?: string | number | null | undefined;
977
977
  fix?: string | number | undefined;
@@ -1022,6 +1022,7 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
1022
1022
  alloc_by_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1023
1023
  }, "strict", z.ZodTypeAny, {
1024
1024
  object: string;
1025
+ alloc_by_guard?: string | undefined;
1025
1026
  received_coins?: {
1026
1027
  received: {
1027
1028
  id: string;
@@ -1031,9 +1032,9 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
1031
1032
  balance: string | number;
1032
1033
  token_type: string;
1033
1034
  } | "recently" | undefined;
1034
- alloc_by_guard?: string | undefined;
1035
1035
  }, {
1036
1036
  object: string;
1037
+ alloc_by_guard?: string | undefined;
1037
1038
  received_coins?: {
1038
1039
  received: {
1039
1040
  id: string;
@@ -1043,7 +1044,6 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
1043
1044
  balance: string | number;
1044
1045
  token_type: string;
1045
1046
  } | "recently" | undefined;
1046
- alloc_by_guard?: string | undefined;
1047
1047
  }>]>;
1048
1048
  env: z.ZodOptional<z.ZodObject<{
1049
1049
  account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
@@ -1279,6 +1279,7 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
1279
1279
  allocators: {
1280
1280
  guard: string;
1281
1281
  sharing: {
1282
+ mode: "Amount" | "Rate" | "Surplus";
1282
1283
  sharing: string | number;
1283
1284
  who: {
1284
1285
  GuardIdentifier: number;
@@ -1290,7 +1291,6 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
1290
1291
  } | {
1291
1292
  Signer: "signer";
1292
1293
  };
1293
- mode: "Amount" | "Rate" | "Surplus";
1294
1294
  }[];
1295
1295
  max?: string | number | null | undefined;
1296
1296
  fix?: string | number | undefined;
@@ -1304,6 +1304,7 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
1304
1304
  };
1305
1305
  } | {
1306
1306
  object: string;
1307
+ alloc_by_guard?: string | undefined;
1307
1308
  received_coins?: {
1308
1309
  received: {
1309
1310
  id: string;
@@ -1313,7 +1314,6 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
1313
1314
  balance: string | number;
1314
1315
  token_type: string;
1315
1316
  } | "recently" | undefined;
1316
- alloc_by_guard?: string | undefined;
1317
1317
  };
1318
1318
  submission?: {
1319
1319
  type: "submission";
@@ -1373,6 +1373,7 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
1373
1373
  allocators: {
1374
1374
  guard: string;
1375
1375
  sharing: {
1376
+ mode: "Amount" | "Rate" | "Surplus";
1376
1377
  sharing: string | number;
1377
1378
  who: {
1378
1379
  GuardIdentifier: number;
@@ -1384,7 +1385,6 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
1384
1385
  } | {
1385
1386
  Signer: "signer";
1386
1387
  };
1387
- mode: "Amount" | "Rate" | "Surplus";
1388
1388
  }[];
1389
1389
  max?: string | number | null | undefined;
1390
1390
  fix?: string | number | undefined;
@@ -1399,6 +1399,7 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
1399
1399
  };
1400
1400
  } | {
1401
1401
  object: string;
1402
+ alloc_by_guard?: string | undefined;
1402
1403
  received_coins?: {
1403
1404
  received: {
1404
1405
  id: string;
@@ -1408,7 +1409,6 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
1408
1409
  balance: string | number;
1409
1410
  token_type: string;
1410
1411
  } | "recently" | undefined;
1411
- alloc_by_guard?: string | undefined;
1412
1412
  };
1413
1413
  submission?: {
1414
1414
  type: "submission";