@wowok/agent-mcp 2.7.2 → 2.7.4

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 (383) hide show
  1. package/dist/config/runtime.js +1 -1
  2. package/dist/customer/account-events.d.ts +32 -0
  3. package/dist/customer/account-events.js +1 -0
  4. package/dist/customer/customer-advice.d.ts +1 -0
  5. package/dist/customer/customer-advice.js +1 -1
  6. package/dist/customer/info-puzzle.js +1 -1
  7. package/dist/customer/order-strategy.d.ts +1 -1
  8. package/dist/customer/reminder-system.d.ts +2 -0
  9. package/dist/customer/reminder-system.js +1 -1
  10. package/dist/customer/risk-assessment.d.ts +1 -0
  11. package/dist/customer/risk-assessment.js +1 -1
  12. package/dist/customer/types.d.ts +2 -0
  13. package/dist/evaluation/builtins/arbitration-score.d.ts +41 -0
  14. package/dist/evaluation/builtins/arbitration-score.js +1 -0
  15. package/dist/evaluation/builtins/index.d.ts +1 -0
  16. package/dist/evaluation/builtins/index.js +1 -1
  17. package/dist/evaluation/category-match-rules.d.ts +30 -0
  18. package/dist/evaluation/category-match-rules.js +1 -0
  19. package/dist/evaluation/engine.js +1 -1
  20. package/dist/evaluation/extract.js +1 -1
  21. package/dist/evaluation/index.d.ts +1 -0
  22. package/dist/evaluation/index.js +1 -1
  23. package/dist/evaluation/location-match.d.ts +42 -0
  24. package/dist/evaluation/location-match.js +1 -0
  25. package/dist/evaluation/path-reasoning.d.ts +35 -0
  26. package/dist/evaluation/path-reasoning.js +1 -0
  27. package/dist/evaluation/region.d.ts +6 -0
  28. package/dist/evaluation/region.js +1 -1
  29. package/dist/evaluation/types.d.ts +17 -0
  30. package/dist/experience/realtime-feedback.js +1 -1
  31. package/dist/experience/user-profile.d.ts +1 -1
  32. package/dist/extensions/index.d.ts +6 -0
  33. package/dist/extensions/index.js +1 -1
  34. package/dist/extensions/industry-layers.d.ts +75 -0
  35. package/dist/extensions/industry-layers.js +1 -0
  36. package/dist/extensions/industry-pack.d.ts +105 -0
  37. package/dist/extensions/industry-pack.js +1 -0
  38. package/dist/extensions/metric-registry.js +1 -1
  39. package/dist/extensions/mode-evaluator.d.ts +1 -1
  40. package/dist/extensions/registry.d.ts +1 -0
  41. package/dist/extensions/registry.js +1 -1
  42. package/dist/graph/base.d.ts +8 -0
  43. package/dist/graph/base.js +1 -0
  44. package/dist/harness/index.d.ts +1 -0
  45. package/dist/harness/index.js +1 -1
  46. package/dist/harness/plan.d.ts +2 -0
  47. package/dist/harness/plan.js +1 -1
  48. package/dist/harness/recover.d.ts +1 -1
  49. package/dist/harness/types.d.ts +2 -3
  50. package/dist/index.js +1 -1
  51. package/dist/knowledge/allocation-confirm.js +1 -1
  52. package/dist/knowledge/anti-cheat.d.ts +37 -0
  53. package/dist/knowledge/anti-cheat.js +1 -0
  54. package/dist/knowledge/arb-confirm.d.ts +28 -0
  55. package/dist/knowledge/arb-confirm.js +1 -0
  56. package/dist/knowledge/arb-translation.d.ts +48 -0
  57. package/dist/knowledge/arb-translation.js +1 -0
  58. package/dist/knowledge/arbitration-context.js +1 -1
  59. package/dist/knowledge/arbitration-ledger.js +1 -1
  60. package/dist/knowledge/bridge-confirm.d.ts +26 -0
  61. package/dist/knowledge/bridge-confirm.js +1 -0
  62. package/dist/knowledge/bridge-translation.d.ts +37 -0
  63. package/dist/knowledge/bridge-translation.js +1 -0
  64. package/dist/knowledge/contact-confirm.d.ts +27 -0
  65. package/dist/knowledge/contact-confirm.js +1 -0
  66. package/dist/knowledge/contact-translation.d.ts +39 -0
  67. package/dist/knowledge/contact-translation.js +1 -0
  68. package/dist/knowledge/demand-confirm.js +1 -1
  69. package/dist/knowledge/demand-context.d.ts +17 -0
  70. package/dist/knowledge/demand-context.js +1 -0
  71. package/dist/knowledge/demand-ledger.d.ts +26 -0
  72. package/dist/knowledge/demand-ledger.js +1 -0
  73. package/dist/knowledge/demand-puzzle.d.ts +29 -0
  74. package/dist/knowledge/demand-puzzle.js +1 -0
  75. package/dist/knowledge/demand-risk.js +1 -1
  76. package/dist/knowledge/demand-templates.d.ts +12 -0
  77. package/dist/knowledge/demand-templates.js +1 -0
  78. package/dist/knowledge/demand-translation.js +1 -1
  79. package/dist/knowledge/deployment-scanner.js +1 -1
  80. package/dist/knowledge/evidence-review.d.ts +12 -0
  81. package/dist/knowledge/evidence-review.js +1 -0
  82. package/dist/knowledge/examples-scanner-cli.js +1 -1
  83. package/dist/knowledge/examples-scanner.js +1 -1
  84. package/dist/knowledge/flywheel-loop.d.ts +0 -1
  85. package/dist/knowledge/flywheel-loop.js +1 -1
  86. package/dist/knowledge/guard-design-patterns.js +1 -1
  87. package/dist/knowledge/guard-migration.d.ts +1 -1
  88. package/dist/knowledge/index.d.ts +71 -3
  89. package/dist/knowledge/index.js +1 -1
  90. package/dist/knowledge/industry-registry.js +1 -1
  91. package/dist/knowledge/machine-render.js +1 -1
  92. package/dist/knowledge/market-metrics.d.ts +12 -0
  93. package/dist/knowledge/market-metrics.js +1 -0
  94. package/dist/knowledge/market-operations.d.ts +46 -0
  95. package/dist/knowledge/market-operations.js +1 -0
  96. package/dist/knowledge/mcp-schema-audit-cli.js +1 -1
  97. package/dist/knowledge/mcp-schema-audit.d.ts +22 -22
  98. package/dist/knowledge/mcp-schema-audit.js +1 -1
  99. package/dist/knowledge/onchain-constants.d.ts +2 -2
  100. package/dist/knowledge/onchain-constants.js +1 -1
  101. package/dist/knowledge/payment-confirm.d.ts +26 -0
  102. package/dist/knowledge/payment-confirm.js +1 -0
  103. package/dist/knowledge/payment-risk.js +1 -1
  104. package/dist/knowledge/payment-translation.d.ts +37 -0
  105. package/dist/knowledge/payment-translation.js +1 -0
  106. package/dist/knowledge/permission-context.d.ts +11 -0
  107. package/dist/knowledge/permission-context.js +1 -1
  108. package/dist/knowledge/permission-ledger.d.ts +11 -0
  109. package/dist/knowledge/permission-ledger.js +1 -1
  110. package/dist/knowledge/personal-confirm.d.ts +29 -0
  111. package/dist/knowledge/personal-confirm.js +1 -0
  112. package/dist/knowledge/personal-risk.js +1 -1
  113. package/dist/knowledge/personal-translation.d.ts +37 -0
  114. package/dist/knowledge/personal-translation.js +1 -0
  115. package/dist/knowledge/process-model.d.ts +1 -11
  116. package/dist/knowledge/process-model.js +1 -1
  117. package/dist/knowledge/progress-ledger.js +1 -1
  118. package/dist/knowledge/progress-risk.js +1 -1
  119. package/dist/knowledge/progress-templates.js +1 -1
  120. package/dist/knowledge/progress-translation.js +1 -1
  121. package/dist/knowledge/proof-context.d.ts +17 -0
  122. package/dist/knowledge/proof-context.js +1 -0
  123. package/dist/knowledge/proof-ledger.d.ts +34 -0
  124. package/dist/knowledge/proof-ledger.js +1 -0
  125. package/dist/knowledge/proof-puzzle.d.ts +35 -0
  126. package/dist/knowledge/proof-puzzle.js +1 -0
  127. package/dist/knowledge/proof-templates.d.ts +22 -0
  128. package/dist/knowledge/proof-templates.js +1 -0
  129. package/dist/knowledge/registrar-confirm.d.ts +26 -0
  130. package/dist/knowledge/registrar-confirm.js +1 -0
  131. package/dist/knowledge/registrar-risk.js +1 -1
  132. package/dist/knowledge/registrar-translation.d.ts +37 -0
  133. package/dist/knowledge/registrar-translation.js +1 -0
  134. package/dist/knowledge/repository-context.d.ts +12 -0
  135. package/dist/knowledge/repository-context.js +1 -0
  136. package/dist/knowledge/repository-ledger.d.ts +25 -0
  137. package/dist/knowledge/repository-ledger.js +1 -0
  138. package/dist/knowledge/repository-puzzle.d.ts +30 -0
  139. package/dist/knowledge/repository-puzzle.js +1 -0
  140. package/dist/knowledge/repository-templates.d.ts +14 -0
  141. package/dist/knowledge/repository-templates.js +1 -0
  142. package/dist/knowledge/resource-confirm.d.ts +25 -0
  143. package/dist/knowledge/resource-confirm.js +1 -0
  144. package/dist/knowledge/resource-translation.d.ts +37 -0
  145. package/dist/knowledge/resource-translation.js +1 -0
  146. package/dist/knowledge/reward-context.d.ts +2 -2
  147. package/dist/knowledge/reward-ledger.js +1 -1
  148. package/dist/knowledge/reward-translation.js +1 -1
  149. package/dist/knowledge/safety-rules.d.ts +1 -0
  150. package/dist/knowledge/safety-rules.js +1 -1
  151. package/dist/knowledge/service-risk.d.ts +1 -1
  152. package/dist/knowledge/service-risk.js +1 -1
  153. package/dist/knowledge/template-registry.js +1 -1
  154. package/dist/knowledge/tools-reference.js +1 -1
  155. package/dist/knowledge/treasury-context.d.ts +1 -1
  156. package/dist/knowledge/treasury-context.js +1 -1
  157. package/dist/knowledge/treasury-ledger.js +1 -1
  158. package/dist/knowledge/treasury-risk.js +1 -1
  159. package/dist/knowledge/universal-template.d.ts +22 -0
  160. package/dist/knowledge/universal-template.js +1 -0
  161. package/dist/knowledge/util-confirm.d.ts +24 -0
  162. package/dist/knowledge/util-confirm.js +1 -0
  163. package/dist/knowledge/util-risk.js +1 -1
  164. package/dist/knowledge/util-translation.d.ts +39 -0
  165. package/dist/knowledge/util-translation.js +1 -0
  166. package/dist/knowledge/workflow-guidance.d.ts +180 -0
  167. package/dist/knowledge/workflow-guidance.js +1 -0
  168. package/dist/participation/employee-kpi.d.ts +25 -0
  169. package/dist/participation/employee-kpi.js +1 -0
  170. package/dist/participation/employee-store.d.ts +16 -0
  171. package/dist/participation/employee-store.js +1 -0
  172. package/dist/participation/index.d.ts +2 -0
  173. package/dist/participation/index.js +1 -0
  174. package/dist/persona/defaults.js +1 -1
  175. package/dist/persona/index.d.ts +9 -2
  176. package/dist/persona/index.js +1 -1
  177. package/dist/persona/local-region.d.ts +20 -0
  178. package/dist/persona/local-region.js +1 -0
  179. package/dist/persona/model.js +1 -1
  180. package/dist/persona/overrides.d.ts +10 -0
  181. package/dist/persona/overrides.js +1 -0
  182. package/dist/persona/pack-personae.d.ts +11 -0
  183. package/dist/persona/pack-personae.js +1 -0
  184. package/dist/persona/strategy-intent.d.ts +20 -0
  185. package/dist/persona/strategy-intent.js +1 -0
  186. package/dist/persona/types.d.ts +3 -1
  187. package/dist/project/business-puzzle.d.ts +1 -1
  188. package/dist/project/business-puzzle.js +1 -1
  189. package/dist/project/deployment-doc.js +1 -1
  190. package/dist/project/edit-planner.js +1 -1
  191. package/dist/project/evaluation.d.ts +37 -1
  192. package/dist/project/evaluation.js +1 -1
  193. package/dist/project/graph-builder.d.ts +2 -2
  194. package/dist/project/graph-builder.js +1 -1
  195. package/dist/project/graph.d.ts +3 -6
  196. package/dist/project/handlers.d.ts +33 -2
  197. package/dist/project/handlers.js +1 -1
  198. package/dist/project/index.d.ts +1 -0
  199. package/dist/project/index.js +1 -1
  200. package/dist/project/merchant-guide.d.ts +19 -0
  201. package/dist/project/merchant-guide.js +1 -1
  202. package/dist/project/mode-actions.js +1 -1
  203. package/dist/project/rollback-policy.js +1 -1
  204. package/dist/project/semantic-assembler.d.ts +2 -2
  205. package/dist/project/semantic-assembler.js +1 -1
  206. package/dist/project/semantic-graph.d.ts +3 -5
  207. package/dist/project/workflow-design-assessment.d.ts +24 -0
  208. package/dist/project/workflow-design-assessment.js +1 -0
  209. package/dist/safety/confirm-gate.d.ts +1 -1
  210. package/dist/safety/confirm-gate.js +1 -1
  211. package/dist/schema/call/allocation.d.ts +186 -1385
  212. package/dist/schema/call/arbitration.d.ts +272 -1871
  213. package/dist/schema/call/base.d.ts +1831 -9076
  214. package/dist/schema/call/base.js +1 -1
  215. package/dist/schema/call/bridge.d.ts +911 -3171
  216. package/dist/schema/call/contact.d.ts +135 -931
  217. package/dist/schema/call/demand.d.ts +164 -1194
  218. package/dist/schema/call/guard.d.ts +298 -1140
  219. package/dist/schema/call/guard.js +1 -1
  220. package/dist/schema/call/machine.d.ts +459 -5403
  221. package/dist/schema/call/machine.js +1 -1
  222. package/dist/schema/call/order.d.ts +137 -844
  223. package/dist/schema/call/payment.d.ts +74 -561
  224. package/dist/schema/call/permission.d.ts +335 -2791
  225. package/dist/schema/call/personal.d.ts +227 -1814
  226. package/dist/schema/call/progress.d.ts +140 -843
  227. package/dist/schema/call/proof.d.ts +42 -258
  228. package/dist/schema/call/repository.d.ts +324 -2222
  229. package/dist/schema/call/reward.d.ts +153 -1183
  230. package/dist/schema/call/semantic.js +1 -1
  231. package/dist/schema/call/service.d.ts +376 -3431
  232. package/dist/schema/call/treasury.d.ts +252 -2158
  233. package/dist/schema/common/index.d.ts +222 -697
  234. package/dist/schema/common/index.js +1 -1
  235. package/dist/schema/config/index.d.ts +18 -161
  236. package/dist/schema/employee/index.d.ts +99 -0
  237. package/dist/schema/employee/index.js +1 -0
  238. package/dist/schema/evaluation/index.d.ts +1035 -3918
  239. package/dist/schema/evaluation/index.js +1 -1
  240. package/dist/schema/index.d.ts +5 -0
  241. package/dist/schema/index.js +1 -1
  242. package/dist/schema/industry-pack/index.d.ts +132 -0
  243. package/dist/schema/industry-pack/index.js +1 -0
  244. package/dist/schema/intent-radar/index.d.ts +92 -245
  245. package/dist/schema/intent-radar/index.js +1 -1
  246. package/dist/schema/local/index.d.ts +2045 -18080
  247. package/dist/schema/local/index.js +1 -1
  248. package/dist/schema/local/wip.d.ts +61 -651
  249. package/dist/schema/local/wip.js +1 -1
  250. package/dist/schema/messenger/index.d.ts +949 -5557
  251. package/dist/schema/messenger/index.js +1 -1
  252. package/dist/schema/operations.d.ts +3168 -26468
  253. package/dist/schema/operations.js +1 -1
  254. package/dist/schema/permission/index.d.ts +121 -0
  255. package/dist/schema/permission/index.js +1 -0
  256. package/dist/schema/persona/index.d.ts +469 -1820
  257. package/dist/schema/persona/index.js +1 -1
  258. package/dist/schema/project/index.d.ts +1023 -8450
  259. package/dist/schema/project/index.js +1 -1
  260. package/dist/schema/query/index.d.ts +12121 -75556
  261. package/dist/schema/query/index.js +1 -1
  262. package/dist/schema/schema-query/index.d.ts +35 -98
  263. package/dist/schema/schema-query/index.js +1 -1
  264. package/dist/schema/schema-version.js +1 -1
  265. package/dist/schema/task-status.d.ts +26 -132
  266. package/dist/schema/trust/index.d.ts +194 -1290
  267. package/dist/schema/utils/guard-parser.js +1 -1
  268. package/dist/schema/utils/node-parser.js +1 -1
  269. package/dist/schema/utils/skills-recommendation.d.ts +1 -0
  270. package/dist/schema/utils/skills-recommendation.js +1 -1
  271. package/dist/schema/workflow/index.d.ts +161 -0
  272. package/dist/schema/workflow/index.js +1 -0
  273. package/dist/schema/workspace/index.d.ts +69 -0
  274. package/dist/schema/workspace/index.js +1 -0
  275. package/dist/{schema-query → schema-query-impl}/index.js +1 -1
  276. package/dist/schemas/account_operation.output.json +3147 -1655
  277. package/dist/schemas/account_operation.schema.json +225 -218
  278. package/dist/schemas/bridge_operation.output.json +1168 -653
  279. package/dist/schemas/bridge_operation.schema.json +736 -504
  280. package/dist/schemas/config_operation.output.json +185 -179
  281. package/dist/schemas/config_operation.schema.json +21 -26
  282. package/dist/schemas/employee_operation.output.json +207 -0
  283. package/dist/schemas/employee_operation.schema.json +176 -0
  284. package/dist/schemas/evaluation_operation.output.json +2268 -601
  285. package/dist/schemas/evaluation_operation.schema.json +2919 -787
  286. package/dist/schemas/guard2file.output.json +58 -64
  287. package/dist/schemas/guard2file.schema.json +79 -81
  288. package/dist/schemas/index.json +41 -11
  289. package/dist/schemas/industry_pack_operation.output.json +594 -0
  290. package/dist/schemas/industry_pack_operation.schema.json +55 -0
  291. package/dist/schemas/intent_radar.output.json +275 -203
  292. package/dist/schemas/intent_radar.schema.json +124 -126
  293. package/dist/schemas/local_info_operation.output.json +1174 -660
  294. package/dist/schemas/local_info_operation.schema.json +119 -125
  295. package/dist/schemas/local_mark_operation.output.json +1239 -692
  296. package/dist/schemas/local_mark_operation.schema.json +91 -96
  297. package/dist/schemas/machineNode2file.output.json +63 -69
  298. package/dist/schemas/machineNode2file.schema.json +79 -81
  299. package/dist/schemas/messenger_operation.output.json +2722 -1531
  300. package/dist/schemas/messenger_operation.schema.json +1482 -1264
  301. package/dist/schemas/onchain_events.output.json +2590 -978
  302. package/dist/schemas/onchain_events.schema.json +117 -99
  303. package/dist/schemas/onchain_operations.output.json +3957 -2312
  304. package/dist/schemas/onchain_operations.schema.json +20799 -9285
  305. package/dist/schemas/onchain_operations_allocation.schema.json +171 -107
  306. package/dist/schemas/onchain_operations_arbitration.schema.json +233 -146
  307. package/dist/schemas/onchain_operations_contact.schema.json +129 -90
  308. package/dist/schemas/onchain_operations_demand.schema.json +170 -112
  309. package/dist/schemas/onchain_operations_gen_passport.schema.json +61 -646
  310. package/dist/schemas/onchain_operations_gen_proof.schema.json +40 -172
  311. package/dist/schemas/onchain_operations_guard.schema.json +3765 -294
  312. package/dist/schemas/onchain_operations_machine.schema.json +536 -163
  313. package/dist/schemas/onchain_operations_order.schema.json +126 -96
  314. package/dist/schemas/onchain_operations_payment.schema.json +82 -67
  315. package/dist/schemas/onchain_operations_permission.schema.json +331 -93
  316. package/dist/schemas/onchain_operations_personal.schema.json +636 -96
  317. package/dist/schemas/onchain_operations_progress.schema.json +125 -92
  318. package/dist/schemas/onchain_operations_proof.schema.json +76 -69
  319. package/dist/schemas/onchain_operations_repository.schema.json +636 -249
  320. package/dist/schemas/onchain_operations_reward.schema.json +218 -108
  321. package/dist/schemas/onchain_operations_service.schema.json +678 -220
  322. package/dist/schemas/onchain_operations_treasury.schema.json +401 -135
  323. package/dist/schemas/onchain_table_data.output.json +6833 -2432
  324. package/dist/schemas/onchain_table_data.schema.json +684 -417
  325. package/dist/schemas/permission_operation.output.json +173 -0
  326. package/dist/schemas/permission_operation.schema.json +39 -0
  327. package/dist/schemas/persona_operation.output.json +1568 -268
  328. package/dist/schemas/persona_operation.schema.json +346 -205
  329. package/dist/schemas/project_operation.output.json +6922 -5132
  330. package/dist/schemas/project_operation.schema.json +1050 -1020
  331. package/dist/schemas/query_task_status.output.json +195 -99
  332. package/dist/schemas/query_task_status.schema.json +12 -18
  333. package/dist/schemas/query_toolkit.output.json +18862 -14561
  334. package/dist/schemas/query_toolkit.schema.json +614 -522
  335. package/dist/schemas/schema_query.output.json +127 -129
  336. package/dist/schemas/schema_query.schema.json +64 -69
  337. package/dist/schemas/trust_score.output.json +678 -587
  338. package/dist/schemas/trust_score.schema.json +289 -277
  339. package/dist/schemas/wip_file.output.json +116 -124
  340. package/dist/schemas/wip_file.schema.json +142 -143
  341. package/dist/schemas/workflow_operation.output.json +164 -0
  342. package/dist/schemas/workflow_operation.schema.json +116 -0
  343. package/dist/schemas/workspace_operation.output.json +277 -0
  344. package/dist/schemas/workspace_operation.schema.json +45 -0
  345. package/dist/schemas/wowok_buildin_info.output.json +1682 -844
  346. package/dist/schemas/wowok_buildin_info.schema.json +576 -526
  347. package/dist/tools/handlers/bridge.d.ts +8 -1
  348. package/dist/tools/handlers/bridge.js +1 -1
  349. package/dist/tools/handlers/config.js +1 -1
  350. package/dist/tools/handlers/employee.d.ts +2 -0
  351. package/dist/tools/handlers/employee.js +1 -0
  352. package/dist/tools/handlers/evaluation.js +1 -1
  353. package/dist/tools/handlers/file-export.js +1 -1
  354. package/dist/tools/handlers/industry-pack.d.ts +2 -0
  355. package/dist/tools/handlers/industry-pack.js +1 -0
  356. package/dist/tools/handlers/onchain.js +1 -1
  357. package/dist/tools/handlers/permission.d.ts +2 -0
  358. package/dist/tools/handlers/permission.js +1 -0
  359. package/dist/tools/handlers/persona.js +1 -1
  360. package/dist/tools/handlers/project.js +1 -1
  361. package/dist/tools/handlers/query.js +1 -1
  362. package/dist/tools/handlers/schema-query.js +1 -1
  363. package/dist/tools/handlers/trust.js +1 -1
  364. package/dist/tools/handlers/wip.js +1 -1
  365. package/dist/tools/handlers/workflow.d.ts +2 -0
  366. package/dist/tools/handlers/workflow.js +1 -0
  367. package/dist/tools/handlers/workspace.d.ts +4 -0
  368. package/dist/tools/handlers/workspace.js +1 -0
  369. package/dist/tools/index.d.ts +2 -1
  370. package/dist/tools/index.js +1 -1
  371. package/dist/tools/rules-hook.d.ts +1 -1
  372. package/dist/tools/rules-hook.js +1 -1
  373. package/dist/tools/shared.d.ts +1 -1
  374. package/dist/tools/shared.js +1 -1
  375. package/dist/tools/types.d.ts +2 -1
  376. package/package.json +4 -5
  377. package/dist/knowledge/arbitration-trust.d.ts +0 -24
  378. package/dist/knowledge/arbitration-trust.js +0 -1
  379. package/dist/schema/call/bridge-handler.d.ts +0 -8
  380. package/dist/schema/call/bridge-handler.js +0 -1
  381. package/dist/schema/sync-layer4.d.ts +0 -21
  382. package/dist/schema/sync-layer4.js +0 -1
  383. /package/dist/{schema-query → schema-query-impl}/index.d.ts +0 -0
@@ -1,3672 +1,617 @@
1
1
  import { z } from "zod";
2
2
  export declare const ServiceBuyItemSchema: z.ZodObject<{
3
- name: z.ZodEffects<z.ZodString, string, string>;
4
- stock: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
3
+ name: z.ZodString;
4
+ stock: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
5
5
  wip_hash: z.ZodString;
6
- }, "strict", z.ZodTypeAny, {
7
- name: string;
8
- wip_hash: string;
9
- stock: string | number;
10
- }, {
11
- name: string;
12
- wip_hash: string;
13
- stock: string | number;
14
- }>;
6
+ }, z.core.$strict>;
15
7
  export declare const BuySchema: z.ZodObject<{
16
8
  items: z.ZodArray<z.ZodObject<{
17
- name: z.ZodEffects<z.ZodString, string, string>;
18
- stock: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
9
+ name: z.ZodString;
10
+ stock: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
19
11
  wip_hash: z.ZodString;
20
- }, "strict", z.ZodTypeAny, {
21
- name: string;
22
- wip_hash: string;
23
- stock: string | number;
24
- }, {
25
- name: string;
26
- wip_hash: string;
27
- stock: string | number;
28
- }>, "many">;
29
- total_pay: z.ZodUnion<[z.ZodObject<{
30
- balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
31
- }, "strip", z.ZodTypeAny, {
32
- balance: string | number;
33
- }, {
34
- balance: string | number;
35
- }>, z.ZodObject<{
12
+ }, z.core.$strict>>;
13
+ total_pay: z.ZodUnion<readonly [z.ZodObject<{
14
+ balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
15
+ }, z.core.$strip>, z.ZodObject<{
36
16
  coin: z.ZodString;
37
- }, "strip", z.ZodTypeAny, {
38
- coin: string;
39
- }, {
40
- coin: string;
41
- }>]>;
17
+ }, z.core.$strip>]>;
42
18
  discount: z.ZodOptional<z.ZodString>;
43
19
  payment_remark: z.ZodOptional<z.ZodString>;
44
20
  payment_index: z.ZodOptional<z.ZodNumber>;
45
- }, "strict", z.ZodTypeAny, {
46
- items: {
47
- name: string;
48
- wip_hash: string;
49
- stock: string | number;
50
- }[];
51
- total_pay: {
52
- balance: string | number;
53
- } | {
54
- coin: string;
55
- };
56
- discount?: string | undefined;
57
- payment_remark?: string | undefined;
58
- payment_index?: number | undefined;
59
- }, {
60
- items: {
61
- name: string;
62
- wip_hash: string;
63
- stock: string | number;
64
- }[];
65
- total_pay: {
66
- balance: string | number;
67
- } | {
68
- coin: string;
69
- };
70
- discount?: string | undefined;
71
- payment_remark?: string | undefined;
72
- payment_index?: number | undefined;
73
- }>;
21
+ }, z.core.$strict>;
74
22
  export declare const DiscountSchema: z.ZodObject<{
75
23
  name: z.ZodString;
76
- discount_type: z.ZodUnion<[z.ZodEnum<["RATES", "FIXED"]>, z.ZodEffects<z.ZodNumber, "FIXED" | "RATES", number>]>;
77
- discount_value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
78
- benchmark: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
24
+ discount_type: z.ZodUnion<readonly [z.ZodEnum<{
25
+ FIXED: "FIXED";
26
+ RATES: "RATES";
27
+ }>, z.ZodPipe<z.ZodNumber, z.ZodTransform<"FIXED" | "RATES", number>>]>;
28
+ discount_value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
29
+ benchmark: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
79
30
  time_ms_start: z.ZodOptional<z.ZodNumber>;
80
31
  time_ms_end: z.ZodNumber;
81
32
  count: z.ZodNumber;
82
33
  recipient: z.ZodObject<{
83
34
  entities: z.ZodArray<z.ZodObject<{
84
- name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
35
+ name_or_address: z.ZodOptional<z.ZodString>;
85
36
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
86
- }, "strict", z.ZodTypeAny, {
87
- name_or_address?: string | undefined;
88
- local_mark_first?: boolean | undefined;
89
- }, {
90
- name_or_address?: string | undefined;
91
- local_mark_first?: boolean | undefined;
92
- }>, "many">;
37
+ }, z.core.$strict>>;
93
38
  check_all_founded: z.ZodOptional<z.ZodBoolean>;
94
- }, "strict", z.ZodTypeAny, {
95
- entities: {
96
- name_or_address?: string | undefined;
97
- local_mark_first?: boolean | undefined;
98
- }[];
99
- check_all_founded?: boolean | undefined;
100
- }, {
101
- entities: {
102
- name_or_address?: string | undefined;
103
- local_mark_first?: boolean | undefined;
104
- }[];
105
- check_all_founded?: boolean | undefined;
106
- }>;
39
+ }, z.core.$strict>;
107
40
  transferable: z.ZodBoolean;
108
- }, "strict", z.ZodTypeAny, {
109
- name: string;
110
- recipient: {
111
- entities: {
112
- name_or_address?: string | undefined;
113
- local_mark_first?: boolean | undefined;
114
- }[];
115
- check_all_founded?: boolean | undefined;
116
- };
117
- count: number;
118
- discount_type: "FIXED" | "RATES";
119
- transferable: boolean;
120
- discount_value: string | number;
121
- time_ms_end: number;
122
- benchmark?: string | number | undefined;
123
- time_ms_start?: number | undefined;
124
- }, {
125
- name: string;
126
- recipient: {
127
- entities: {
128
- name_or_address?: string | undefined;
129
- local_mark_first?: boolean | undefined;
130
- }[];
131
- check_all_founded?: boolean | undefined;
132
- };
133
- count: number;
134
- discount_type: number | "FIXED" | "RATES";
135
- transferable: boolean;
136
- discount_value: string | number;
137
- time_ms_end: number;
138
- benchmark?: string | number | undefined;
139
- time_ms_start?: number | undefined;
140
- }>;
41
+ }, z.core.$strict>;
141
42
  export declare const OrderNewSchema: z.ZodObject<{
142
43
  buy: z.ZodObject<{
143
44
  items: z.ZodArray<z.ZodObject<{
144
- name: z.ZodEffects<z.ZodString, string, string>;
145
- stock: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
45
+ name: z.ZodString;
46
+ stock: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
146
47
  wip_hash: z.ZodString;
147
- }, "strict", z.ZodTypeAny, {
148
- name: string;
149
- wip_hash: string;
150
- stock: string | number;
151
- }, {
152
- name: string;
153
- wip_hash: string;
154
- stock: string | number;
155
- }>, "many">;
156
- total_pay: z.ZodUnion<[z.ZodObject<{
157
- balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
158
- }, "strip", z.ZodTypeAny, {
159
- balance: string | number;
160
- }, {
161
- balance: string | number;
162
- }>, z.ZodObject<{
48
+ }, z.core.$strict>>;
49
+ total_pay: z.ZodUnion<readonly [z.ZodObject<{
50
+ balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
51
+ }, z.core.$strip>, z.ZodObject<{
163
52
  coin: z.ZodString;
164
- }, "strip", z.ZodTypeAny, {
165
- coin: string;
166
- }, {
167
- coin: string;
168
- }>]>;
53
+ }, z.core.$strip>]>;
169
54
  discount: z.ZodOptional<z.ZodString>;
170
55
  payment_remark: z.ZodOptional<z.ZodString>;
171
56
  payment_index: z.ZodOptional<z.ZodNumber>;
172
- }, "strict", z.ZodTypeAny, {
173
- items: {
174
- name: string;
175
- wip_hash: string;
176
- stock: string | number;
177
- }[];
178
- total_pay: {
179
- balance: string | number;
180
- } | {
181
- coin: string;
182
- };
183
- discount?: string | undefined;
184
- payment_remark?: string | undefined;
185
- payment_index?: number | undefined;
186
- }, {
187
- items: {
188
- name: string;
189
- wip_hash: string;
190
- stock: string | number;
191
- }[];
192
- total_pay: {
193
- balance: string | number;
194
- } | {
195
- coin: string;
196
- };
197
- discount?: string | undefined;
198
- payment_remark?: string | undefined;
199
- payment_index?: number | undefined;
200
- }>;
57
+ }, z.core.$strict>;
201
58
  agents: z.ZodOptional<z.ZodObject<{
202
59
  entities: z.ZodArray<z.ZodObject<{
203
- name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
60
+ name_or_address: z.ZodOptional<z.ZodString>;
204
61
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
205
- }, "strict", z.ZodTypeAny, {
206
- name_or_address?: string | undefined;
207
- local_mark_first?: boolean | undefined;
208
- }, {
209
- name_or_address?: string | undefined;
210
- local_mark_first?: boolean | undefined;
211
- }>, "many">;
62
+ }, z.core.$strict>>;
212
63
  check_all_founded: z.ZodOptional<z.ZodBoolean>;
213
- }, "strict", z.ZodTypeAny, {
214
- entities: {
215
- name_or_address?: string | undefined;
216
- local_mark_first?: boolean | undefined;
217
- }[];
218
- check_all_founded?: boolean | undefined;
219
- }, {
220
- entities: {
221
- name_or_address?: string | undefined;
222
- local_mark_first?: boolean | undefined;
223
- }[];
224
- check_all_founded?: boolean | undefined;
225
- }>>;
64
+ }, z.core.$strict>>;
226
65
  order_required_info: z.ZodOptional<z.ZodString>;
227
66
  transfer: z.ZodOptional<z.ZodObject<{
228
- name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
67
+ name_or_address: z.ZodOptional<z.ZodString>;
229
68
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
230
- }, "strict", z.ZodTypeAny, {
231
- name_or_address?: string | undefined;
232
- local_mark_first?: boolean | undefined;
233
- }, {
234
- name_or_address?: string | undefined;
235
- local_mark_first?: boolean | undefined;
236
- }>>;
69
+ }, z.core.$strict>>;
237
70
  namedNewOrder: z.ZodOptional<z.ZodObject<{
238
- name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
239
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
71
+ name: z.ZodOptional<z.ZodString>;
72
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
240
73
  onChain: z.ZodOptional<z.ZodBoolean>;
241
74
  replaceExistName: z.ZodOptional<z.ZodBoolean>;
242
- }, "strict", z.ZodTypeAny, {
243
- name?: string | undefined;
244
- replaceExistName?: boolean | undefined;
245
- tags?: string[] | undefined;
246
- onChain?: boolean | undefined;
247
- }, {
248
- name?: string | undefined;
249
- replaceExistName?: boolean | undefined;
250
- tags?: string[] | undefined;
251
- onChain?: boolean | undefined;
252
- }>>;
75
+ }, z.core.$strict>>;
253
76
  namedNewAllocation: z.ZodOptional<z.ZodObject<{
254
- name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
255
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
77
+ name: z.ZodOptional<z.ZodString>;
78
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
256
79
  onChain: z.ZodOptional<z.ZodBoolean>;
257
80
  replaceExistName: z.ZodOptional<z.ZodBoolean>;
258
- }, "strict", z.ZodTypeAny, {
259
- name?: string | undefined;
260
- replaceExistName?: boolean | undefined;
261
- tags?: string[] | undefined;
262
- onChain?: boolean | undefined;
263
- }, {
264
- name?: string | undefined;
265
- replaceExistName?: boolean | undefined;
266
- tags?: string[] | undefined;
267
- onChain?: boolean | undefined;
268
- }>>;
81
+ }, z.core.$strict>>;
269
82
  namedNewProgress: z.ZodOptional<z.ZodObject<{
270
- name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
271
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
83
+ name: z.ZodOptional<z.ZodString>;
84
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
272
85
  onChain: z.ZodOptional<z.ZodBoolean>;
273
86
  replaceExistName: z.ZodOptional<z.ZodBoolean>;
274
- }, "strict", z.ZodTypeAny, {
275
- name?: string | undefined;
276
- replaceExistName?: boolean | undefined;
277
- tags?: string[] | undefined;
278
- onChain?: boolean | undefined;
279
- }, {
280
- name?: string | undefined;
281
- replaceExistName?: boolean | undefined;
282
- tags?: string[] | undefined;
283
- onChain?: boolean | undefined;
284
- }>>;
285
- }, "strict", z.ZodTypeAny, {
286
- buy: {
287
- items: {
288
- name: string;
289
- wip_hash: string;
290
- stock: string | number;
291
- }[];
292
- total_pay: {
293
- balance: string | number;
294
- } | {
295
- coin: string;
296
- };
297
- discount?: string | undefined;
298
- payment_remark?: string | undefined;
299
- payment_index?: number | undefined;
300
- };
301
- transfer?: {
302
- name_or_address?: string | undefined;
303
- local_mark_first?: boolean | undefined;
304
- } | undefined;
305
- order_required_info?: string | undefined;
306
- agents?: {
307
- entities: {
308
- name_or_address?: string | undefined;
309
- local_mark_first?: boolean | undefined;
310
- }[];
311
- check_all_founded?: boolean | undefined;
312
- } | undefined;
313
- namedNewOrder?: {
314
- name?: string | undefined;
315
- replaceExistName?: boolean | undefined;
316
- tags?: string[] | undefined;
317
- onChain?: boolean | undefined;
318
- } | undefined;
319
- namedNewAllocation?: {
320
- name?: string | undefined;
321
- replaceExistName?: boolean | undefined;
322
- tags?: string[] | undefined;
323
- onChain?: boolean | undefined;
324
- } | undefined;
325
- namedNewProgress?: {
326
- name?: string | undefined;
327
- replaceExistName?: boolean | undefined;
328
- tags?: string[] | undefined;
329
- onChain?: boolean | undefined;
330
- } | undefined;
331
- }, {
332
- buy: {
333
- items: {
334
- name: string;
335
- wip_hash: string;
336
- stock: string | number;
337
- }[];
338
- total_pay: {
339
- balance: string | number;
340
- } | {
341
- coin: string;
342
- };
343
- discount?: string | undefined;
344
- payment_remark?: string | undefined;
345
- payment_index?: number | undefined;
346
- };
347
- transfer?: {
348
- name_or_address?: string | undefined;
349
- local_mark_first?: boolean | undefined;
350
- } | undefined;
351
- order_required_info?: string | undefined;
352
- agents?: {
353
- entities: {
354
- name_or_address?: string | undefined;
355
- local_mark_first?: boolean | undefined;
356
- }[];
357
- check_all_founded?: boolean | undefined;
358
- } | undefined;
359
- namedNewOrder?: {
360
- name?: string | undefined;
361
- replaceExistName?: boolean | undefined;
362
- tags?: string[] | undefined;
363
- onChain?: boolean | undefined;
364
- } | undefined;
365
- namedNewAllocation?: {
366
- name?: string | undefined;
367
- replaceExistName?: boolean | undefined;
368
- tags?: string[] | undefined;
369
- onChain?: boolean | undefined;
370
- } | undefined;
371
- namedNewProgress?: {
372
- name?: string | undefined;
373
- replaceExistName?: boolean | undefined;
374
- tags?: string[] | undefined;
375
- onChain?: boolean | undefined;
376
- } | undefined;
377
- }>;
378
- export declare const SalesSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
87
+ }, z.core.$strict>>;
88
+ }, z.core.$strict>;
89
+ export declare const SalesSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
379
90
  op: z.ZodLiteral<"add">;
380
91
  sales: z.ZodArray<z.ZodObject<{
381
- name: z.ZodEffects<z.ZodString, string, string>;
382
- price: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
383
- stock: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
92
+ name: z.ZodString;
93
+ price: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
94
+ stock: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
384
95
  suspension: z.ZodBoolean;
385
96
  wip: z.ZodString;
386
97
  wip_hash: z.ZodString;
387
- }, "strip", z.ZodTypeAny, {
388
- name: string;
389
- wip: string;
390
- price: string | number;
391
- wip_hash: string;
392
- stock: string | number;
393
- suspension: boolean;
394
- }, {
395
- name: string;
396
- wip: string;
397
- price: string | number;
398
- wip_hash: string;
399
- stock: string | number;
400
- suspension: boolean;
401
- }>, "many">;
402
- }, "strict", z.ZodTypeAny, {
403
- op: "add";
404
- sales: {
405
- name: string;
406
- wip: string;
407
- price: string | number;
408
- wip_hash: string;
409
- stock: string | number;
410
- suspension: boolean;
411
- }[];
412
- }, {
413
- op: "add";
414
- sales: {
415
- name: string;
416
- wip: string;
417
- price: string | number;
418
- wip_hash: string;
419
- stock: string | number;
420
- suspension: boolean;
421
- }[];
422
- }>, z.ZodObject<{
98
+ }, z.core.$strip>>;
99
+ }, z.core.$strict>, z.ZodObject<{
423
100
  op: z.ZodLiteral<"set">;
424
101
  sales: z.ZodArray<z.ZodObject<{
425
- name: z.ZodEffects<z.ZodString, string, string>;
426
- price: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
427
- stock: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
102
+ name: z.ZodString;
103
+ price: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
104
+ stock: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
428
105
  suspension: z.ZodBoolean;
429
106
  wip: z.ZodString;
430
107
  wip_hash: z.ZodString;
431
- }, "strip", z.ZodTypeAny, {
432
- name: string;
433
- wip: string;
434
- price: string | number;
435
- wip_hash: string;
436
- stock: string | number;
437
- suspension: boolean;
438
- }, {
439
- name: string;
440
- wip: string;
441
- price: string | number;
442
- wip_hash: string;
443
- stock: string | number;
444
- suspension: boolean;
445
- }>, "many">;
446
- }, "strict", z.ZodTypeAny, {
447
- op: "set";
448
- sales: {
449
- name: string;
450
- wip: string;
451
- price: string | number;
452
- wip_hash: string;
453
- stock: string | number;
454
- suspension: boolean;
455
- }[];
456
- }, {
457
- op: "set";
458
- sales: {
459
- name: string;
460
- wip: string;
461
- price: string | number;
462
- wip_hash: string;
463
- stock: string | number;
464
- suspension: boolean;
465
- }[];
466
- }>, z.ZodObject<{
108
+ }, z.core.$strip>>;
109
+ }, z.core.$strict>, z.ZodObject<{
467
110
  op: z.ZodLiteral<"remove">;
468
- sales_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
469
- }, "strict", z.ZodTypeAny, {
470
- op: "remove";
471
- sales_name: string[];
472
- }, {
473
- op: "remove";
474
- sales_name: string[];
475
- }>, z.ZodObject<{
111
+ sales_name: z.ZodArray<z.ZodString>;
112
+ }, z.core.$strict>, z.ZodObject<{
476
113
  op: z.ZodLiteral<"clear">;
477
- }, "strict", z.ZodTypeAny, {
478
- op: "clear";
479
- }, {
480
- op: "clear";
481
- }>]>;
114
+ }, z.core.$strict>], "op">;
482
115
  export declare const CallService_DataSchema: z.ZodObject<{
483
- object: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
484
- name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
485
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
116
+ object: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
117
+ name: z.ZodOptional<z.ZodString>;
118
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
486
119
  onChain: z.ZodOptional<z.ZodBoolean>;
487
120
  replaceExistName: z.ZodOptional<z.ZodBoolean>;
488
- } & {
489
- permission: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
490
- name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
491
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
121
+ permission: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
122
+ name: z.ZodOptional<z.ZodString>;
123
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
492
124
  onChain: z.ZodOptional<z.ZodBoolean>;
493
125
  replaceExistName: z.ZodOptional<z.ZodBoolean>;
494
- } & {
495
126
  description: z.ZodOptional<z.ZodString>;
496
- }, "strict", z.ZodTypeAny, {
497
- name?: string | undefined;
498
- description?: string | undefined;
499
- replaceExistName?: boolean | undefined;
500
- tags?: string[] | undefined;
501
- onChain?: boolean | undefined;
502
- }, {
503
- name?: string | undefined;
504
- description?: string | undefined;
505
- replaceExistName?: boolean | undefined;
506
- tags?: string[] | undefined;
507
- onChain?: boolean | undefined;
508
- }>]>>;
509
- } & {
510
- type_parameter: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
511
- }, "strict", z.ZodTypeAny, {
512
- type_parameter: string;
513
- name?: string | undefined;
514
- permission?: string | {
515
- name?: string | undefined;
516
- description?: string | undefined;
517
- replaceExistName?: boolean | undefined;
518
- tags?: string[] | undefined;
519
- onChain?: boolean | undefined;
520
- } | undefined;
521
- replaceExistName?: boolean | undefined;
522
- tags?: string[] | undefined;
523
- onChain?: boolean | undefined;
524
- }, {
525
- name?: string | undefined;
526
- permission?: string | {
527
- name?: string | undefined;
528
- description?: string | undefined;
529
- replaceExistName?: boolean | undefined;
530
- tags?: string[] | undefined;
531
- onChain?: boolean | undefined;
532
- } | undefined;
533
- replaceExistName?: boolean | undefined;
534
- tags?: string[] | undefined;
535
- onChain?: boolean | undefined;
536
- type_parameter?: string | undefined;
537
- }>]>;
127
+ }, z.core.$strict>]>>;
128
+ type_parameter: z.ZodDefault<z.ZodString>;
129
+ }, z.core.$strict>]>;
538
130
  order_new: z.ZodOptional<z.ZodObject<{
539
131
  buy: z.ZodObject<{
540
132
  items: z.ZodArray<z.ZodObject<{
541
- name: z.ZodEffects<z.ZodString, string, string>;
542
- stock: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
133
+ name: z.ZodString;
134
+ stock: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
543
135
  wip_hash: z.ZodString;
544
- }, "strict", z.ZodTypeAny, {
545
- name: string;
546
- wip_hash: string;
547
- stock: string | number;
548
- }, {
549
- name: string;
550
- wip_hash: string;
551
- stock: string | number;
552
- }>, "many">;
553
- total_pay: z.ZodUnion<[z.ZodObject<{
554
- balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
555
- }, "strip", z.ZodTypeAny, {
556
- balance: string | number;
557
- }, {
558
- balance: string | number;
559
- }>, z.ZodObject<{
136
+ }, z.core.$strict>>;
137
+ total_pay: z.ZodUnion<readonly [z.ZodObject<{
138
+ balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
139
+ }, z.core.$strip>, z.ZodObject<{
560
140
  coin: z.ZodString;
561
- }, "strip", z.ZodTypeAny, {
562
- coin: string;
563
- }, {
564
- coin: string;
565
- }>]>;
141
+ }, z.core.$strip>]>;
566
142
  discount: z.ZodOptional<z.ZodString>;
567
143
  payment_remark: z.ZodOptional<z.ZodString>;
568
144
  payment_index: z.ZodOptional<z.ZodNumber>;
569
- }, "strict", z.ZodTypeAny, {
570
- items: {
571
- name: string;
572
- wip_hash: string;
573
- stock: string | number;
574
- }[];
575
- total_pay: {
576
- balance: string | number;
577
- } | {
578
- coin: string;
579
- };
580
- discount?: string | undefined;
581
- payment_remark?: string | undefined;
582
- payment_index?: number | undefined;
583
- }, {
584
- items: {
585
- name: string;
586
- wip_hash: string;
587
- stock: string | number;
588
- }[];
589
- total_pay: {
590
- balance: string | number;
591
- } | {
592
- coin: string;
593
- };
594
- discount?: string | undefined;
595
- payment_remark?: string | undefined;
596
- payment_index?: number | undefined;
597
- }>;
145
+ }, z.core.$strict>;
598
146
  agents: z.ZodOptional<z.ZodObject<{
599
147
  entities: z.ZodArray<z.ZodObject<{
600
- name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
148
+ name_or_address: z.ZodOptional<z.ZodString>;
601
149
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
602
- }, "strict", z.ZodTypeAny, {
603
- name_or_address?: string | undefined;
604
- local_mark_first?: boolean | undefined;
605
- }, {
606
- name_or_address?: string | undefined;
607
- local_mark_first?: boolean | undefined;
608
- }>, "many">;
150
+ }, z.core.$strict>>;
609
151
  check_all_founded: z.ZodOptional<z.ZodBoolean>;
610
- }, "strict", z.ZodTypeAny, {
611
- entities: {
612
- name_or_address?: string | undefined;
613
- local_mark_first?: boolean | undefined;
614
- }[];
615
- check_all_founded?: boolean | undefined;
616
- }, {
617
- entities: {
618
- name_or_address?: string | undefined;
619
- local_mark_first?: boolean | undefined;
620
- }[];
621
- check_all_founded?: boolean | undefined;
622
- }>>;
152
+ }, z.core.$strict>>;
623
153
  order_required_info: z.ZodOptional<z.ZodString>;
624
154
  transfer: z.ZodOptional<z.ZodObject<{
625
- name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
155
+ name_or_address: z.ZodOptional<z.ZodString>;
626
156
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
627
- }, "strict", z.ZodTypeAny, {
628
- name_or_address?: string | undefined;
629
- local_mark_first?: boolean | undefined;
630
- }, {
631
- name_or_address?: string | undefined;
632
- local_mark_first?: boolean | undefined;
633
- }>>;
157
+ }, z.core.$strict>>;
634
158
  namedNewOrder: z.ZodOptional<z.ZodObject<{
635
- name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
636
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
159
+ name: z.ZodOptional<z.ZodString>;
160
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
637
161
  onChain: z.ZodOptional<z.ZodBoolean>;
638
162
  replaceExistName: z.ZodOptional<z.ZodBoolean>;
639
- }, "strict", z.ZodTypeAny, {
640
- name?: string | undefined;
641
- replaceExistName?: boolean | undefined;
642
- tags?: string[] | undefined;
643
- onChain?: boolean | undefined;
644
- }, {
645
- name?: string | undefined;
646
- replaceExistName?: boolean | undefined;
647
- tags?: string[] | undefined;
648
- onChain?: boolean | undefined;
649
- }>>;
163
+ }, z.core.$strict>>;
650
164
  namedNewAllocation: z.ZodOptional<z.ZodObject<{
651
- name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
652
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
165
+ name: z.ZodOptional<z.ZodString>;
166
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
653
167
  onChain: z.ZodOptional<z.ZodBoolean>;
654
168
  replaceExistName: z.ZodOptional<z.ZodBoolean>;
655
- }, "strict", z.ZodTypeAny, {
656
- name?: string | undefined;
657
- replaceExistName?: boolean | undefined;
658
- tags?: string[] | undefined;
659
- onChain?: boolean | undefined;
660
- }, {
661
- name?: string | undefined;
662
- replaceExistName?: boolean | undefined;
663
- tags?: string[] | undefined;
664
- onChain?: boolean | undefined;
665
- }>>;
169
+ }, z.core.$strict>>;
666
170
  namedNewProgress: z.ZodOptional<z.ZodObject<{
667
- name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
668
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
171
+ name: z.ZodOptional<z.ZodString>;
172
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
669
173
  onChain: z.ZodOptional<z.ZodBoolean>;
670
174
  replaceExistName: z.ZodOptional<z.ZodBoolean>;
671
- }, "strict", z.ZodTypeAny, {
672
- name?: string | undefined;
673
- replaceExistName?: boolean | undefined;
674
- tags?: string[] | undefined;
675
- onChain?: boolean | undefined;
676
- }, {
677
- name?: string | undefined;
678
- replaceExistName?: boolean | undefined;
679
- tags?: string[] | undefined;
680
- onChain?: boolean | undefined;
681
- }>>;
682
- }, "strict", z.ZodTypeAny, {
683
- buy: {
684
- items: {
685
- name: string;
686
- wip_hash: string;
687
- stock: string | number;
688
- }[];
689
- total_pay: {
690
- balance: string | number;
691
- } | {
692
- coin: string;
693
- };
694
- discount?: string | undefined;
695
- payment_remark?: string | undefined;
696
- payment_index?: number | undefined;
697
- };
698
- transfer?: {
699
- name_or_address?: string | undefined;
700
- local_mark_first?: boolean | undefined;
701
- } | undefined;
702
- order_required_info?: string | undefined;
703
- agents?: {
704
- entities: {
705
- name_or_address?: string | undefined;
706
- local_mark_first?: boolean | undefined;
707
- }[];
708
- check_all_founded?: boolean | undefined;
709
- } | undefined;
710
- namedNewOrder?: {
711
- name?: string | undefined;
712
- replaceExistName?: boolean | undefined;
713
- tags?: string[] | undefined;
714
- onChain?: boolean | undefined;
715
- } | undefined;
716
- namedNewAllocation?: {
717
- name?: string | undefined;
718
- replaceExistName?: boolean | undefined;
719
- tags?: string[] | undefined;
720
- onChain?: boolean | undefined;
721
- } | undefined;
722
- namedNewProgress?: {
723
- name?: string | undefined;
724
- replaceExistName?: boolean | undefined;
725
- tags?: string[] | undefined;
726
- onChain?: boolean | undefined;
727
- } | undefined;
728
- }, {
729
- buy: {
730
- items: {
731
- name: string;
732
- wip_hash: string;
733
- stock: string | number;
734
- }[];
735
- total_pay: {
736
- balance: string | number;
737
- } | {
738
- coin: string;
739
- };
740
- discount?: string | undefined;
741
- payment_remark?: string | undefined;
742
- payment_index?: number | undefined;
743
- };
744
- transfer?: {
745
- name_or_address?: string | undefined;
746
- local_mark_first?: boolean | undefined;
747
- } | undefined;
748
- order_required_info?: string | undefined;
749
- agents?: {
750
- entities: {
751
- name_or_address?: string | undefined;
752
- local_mark_first?: boolean | undefined;
753
- }[];
754
- check_all_founded?: boolean | undefined;
755
- } | undefined;
756
- namedNewOrder?: {
757
- name?: string | undefined;
758
- replaceExistName?: boolean | undefined;
759
- tags?: string[] | undefined;
760
- onChain?: boolean | undefined;
761
- } | undefined;
762
- namedNewAllocation?: {
763
- name?: string | undefined;
764
- replaceExistName?: boolean | undefined;
765
- tags?: string[] | undefined;
766
- onChain?: boolean | undefined;
767
- } | undefined;
768
- namedNewProgress?: {
769
- name?: string | undefined;
770
- replaceExistName?: boolean | undefined;
771
- tags?: string[] | undefined;
772
- onChain?: boolean | undefined;
773
- } | undefined;
774
- }>>;
775
- description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
776
- location: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
777
- sales: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
175
+ }, z.core.$strict>>;
176
+ }, z.core.$strict>>;
177
+ description: z.ZodOptional<z.ZodString>;
178
+ location: z.ZodOptional<z.ZodString>;
179
+ sales: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
778
180
  op: z.ZodLiteral<"add">;
779
181
  sales: z.ZodArray<z.ZodObject<{
780
- name: z.ZodEffects<z.ZodString, string, string>;
781
- price: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
782
- stock: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
182
+ name: z.ZodString;
183
+ price: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
184
+ stock: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
783
185
  suspension: z.ZodBoolean;
784
186
  wip: z.ZodString;
785
187
  wip_hash: z.ZodString;
786
- }, "strip", z.ZodTypeAny, {
787
- name: string;
788
- wip: string;
789
- price: string | number;
790
- wip_hash: string;
791
- stock: string | number;
792
- suspension: boolean;
793
- }, {
794
- name: string;
795
- wip: string;
796
- price: string | number;
797
- wip_hash: string;
798
- stock: string | number;
799
- suspension: boolean;
800
- }>, "many">;
801
- }, "strict", z.ZodTypeAny, {
802
- op: "add";
803
- sales: {
804
- name: string;
805
- wip: string;
806
- price: string | number;
807
- wip_hash: string;
808
- stock: string | number;
809
- suspension: boolean;
810
- }[];
811
- }, {
812
- op: "add";
813
- sales: {
814
- name: string;
815
- wip: string;
816
- price: string | number;
817
- wip_hash: string;
818
- stock: string | number;
819
- suspension: boolean;
820
- }[];
821
- }>, z.ZodObject<{
188
+ }, z.core.$strip>>;
189
+ }, z.core.$strict>, z.ZodObject<{
822
190
  op: z.ZodLiteral<"set">;
823
191
  sales: z.ZodArray<z.ZodObject<{
824
- name: z.ZodEffects<z.ZodString, string, string>;
825
- price: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
826
- stock: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
192
+ name: z.ZodString;
193
+ price: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
194
+ stock: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
827
195
  suspension: z.ZodBoolean;
828
196
  wip: z.ZodString;
829
197
  wip_hash: z.ZodString;
830
- }, "strip", z.ZodTypeAny, {
831
- name: string;
832
- wip: string;
833
- price: string | number;
834
- wip_hash: string;
835
- stock: string | number;
836
- suspension: boolean;
837
- }, {
838
- name: string;
839
- wip: string;
840
- price: string | number;
841
- wip_hash: string;
842
- stock: string | number;
843
- suspension: boolean;
844
- }>, "many">;
845
- }, "strict", z.ZodTypeAny, {
846
- op: "set";
847
- sales: {
848
- name: string;
849
- wip: string;
850
- price: string | number;
851
- wip_hash: string;
852
- stock: string | number;
853
- suspension: boolean;
854
- }[];
855
- }, {
856
- op: "set";
857
- sales: {
858
- name: string;
859
- wip: string;
860
- price: string | number;
861
- wip_hash: string;
862
- stock: string | number;
863
- suspension: boolean;
864
- }[];
865
- }>, z.ZodObject<{
198
+ }, z.core.$strip>>;
199
+ }, z.core.$strict>, z.ZodObject<{
866
200
  op: z.ZodLiteral<"remove">;
867
- sales_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
868
- }, "strict", z.ZodTypeAny, {
869
- op: "remove";
870
- sales_name: string[];
871
- }, {
872
- op: "remove";
873
- sales_name: string[];
874
- }>, z.ZodObject<{
201
+ sales_name: z.ZodArray<z.ZodString>;
202
+ }, z.core.$strict>, z.ZodObject<{
875
203
  op: z.ZodLiteral<"clear">;
876
- }, "strict", z.ZodTypeAny, {
877
- op: "clear";
878
- }, {
879
- op: "clear";
880
- }>]>>;
881
- repositories: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
882
- op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
883
- objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
884
- }, "strict", z.ZodTypeAny, {
885
- op: "set" | "add";
886
- objects: string[];
887
- }, {
888
- op: "set" | "add";
889
- objects: string[];
890
- }>, z.ZodObject<{
204
+ }, z.core.$strict>], "op">>;
205
+ repositories: z.ZodOptional<z.ZodPreprocess<z.ZodUnion<readonly [z.ZodObject<{
206
+ op: z.ZodUnion<readonly [z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
207
+ objects: z.ZodArray<z.ZodString>;
208
+ }, z.core.$strict>, z.ZodObject<{
891
209
  op: z.ZodLiteral<"remove">;
892
- objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
893
- }, "strict", z.ZodTypeAny, {
894
- op: "remove";
895
- objects: string[];
896
- }, {
897
- op: "remove";
898
- objects: string[];
899
- }>, z.ZodObject<{
210
+ objects: z.ZodArray<z.ZodString>;
211
+ }, z.core.$strict>, z.ZodObject<{
900
212
  op: z.ZodLiteral<"clear">;
901
- }, "strict", z.ZodTypeAny, {
902
- op: "clear";
903
- }, {
904
- op: "clear";
905
- }>]>, {
906
- op: "set" | "add";
907
- objects: string[];
908
- } | {
909
- op: "remove";
910
- objects: string[];
911
- } | {
912
- op: "clear";
913
- }, unknown>>;
914
- rewards: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
915
- op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
916
- objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
917
- }, "strict", z.ZodTypeAny, {
918
- op: "set" | "add";
919
- objects: string[];
920
- }, {
921
- op: "set" | "add";
922
- objects: string[];
923
- }>, z.ZodObject<{
213
+ }, z.core.$strict>]>>>;
214
+ rewards: z.ZodOptional<z.ZodPreprocess<z.ZodUnion<readonly [z.ZodObject<{
215
+ op: z.ZodUnion<readonly [z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
216
+ objects: z.ZodArray<z.ZodString>;
217
+ }, z.core.$strict>, z.ZodObject<{
924
218
  op: z.ZodLiteral<"remove">;
925
- objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
926
- }, "strict", z.ZodTypeAny, {
927
- op: "remove";
928
- objects: string[];
929
- }, {
930
- op: "remove";
931
- objects: string[];
932
- }>, z.ZodObject<{
219
+ objects: z.ZodArray<z.ZodString>;
220
+ }, z.core.$strict>, z.ZodObject<{
933
221
  op: z.ZodLiteral<"clear">;
934
- }, "strict", z.ZodTypeAny, {
935
- op: "clear";
936
- }, {
937
- op: "clear";
938
- }>]>, {
939
- op: "set" | "add";
940
- objects: string[];
941
- } | {
942
- op: "remove";
943
- objects: string[];
944
- } | {
945
- op: "clear";
946
- }, unknown>>;
947
- arbitrations: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
948
- op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
949
- objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
950
- }, "strict", z.ZodTypeAny, {
951
- op: "set" | "add";
952
- objects: string[];
953
- }, {
954
- op: "set" | "add";
955
- objects: string[];
956
- }>, z.ZodObject<{
222
+ }, z.core.$strict>]>>>;
223
+ arbitrations: z.ZodOptional<z.ZodPreprocess<z.ZodUnion<readonly [z.ZodObject<{
224
+ op: z.ZodUnion<readonly [z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
225
+ objects: z.ZodArray<z.ZodString>;
226
+ }, z.core.$strict>, z.ZodObject<{
957
227
  op: z.ZodLiteral<"remove">;
958
- objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
959
- }, "strict", z.ZodTypeAny, {
960
- op: "remove";
961
- objects: string[];
962
- }, {
963
- op: "remove";
964
- objects: string[];
965
- }>, z.ZodObject<{
228
+ objects: z.ZodArray<z.ZodString>;
229
+ }, z.core.$strict>, z.ZodObject<{
966
230
  op: z.ZodLiteral<"clear">;
967
- }, "strict", z.ZodTypeAny, {
968
- op: "clear";
969
- }, {
970
- op: "clear";
971
- }>]>, {
972
- op: "set" | "add";
973
- objects: string[];
974
- } | {
975
- op: "remove";
976
- objects: string[];
977
- } | {
978
- op: "clear";
979
- }, unknown>>;
980
- machine: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
231
+ }, z.core.$strict>]>>>;
232
+ machine: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
981
233
  discount: z.ZodOptional<z.ZodObject<{
982
234
  name: z.ZodString;
983
- discount_type: z.ZodUnion<[z.ZodEnum<["RATES", "FIXED"]>, z.ZodEffects<z.ZodNumber, "FIXED" | "RATES", number>]>;
984
- discount_value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
985
- benchmark: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
235
+ discount_type: z.ZodUnion<readonly [z.ZodEnum<{
236
+ FIXED: "FIXED";
237
+ RATES: "RATES";
238
+ }>, z.ZodPipe<z.ZodNumber, z.ZodTransform<"FIXED" | "RATES", number>>]>;
239
+ discount_value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
240
+ benchmark: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
986
241
  time_ms_start: z.ZodOptional<z.ZodNumber>;
987
242
  time_ms_end: z.ZodNumber;
988
243
  count: z.ZodNumber;
989
244
  recipient: z.ZodObject<{
990
245
  entities: z.ZodArray<z.ZodObject<{
991
- name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
246
+ name_or_address: z.ZodOptional<z.ZodString>;
992
247
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
993
- }, "strict", z.ZodTypeAny, {
994
- name_or_address?: string | undefined;
995
- local_mark_first?: boolean | undefined;
996
- }, {
997
- name_or_address?: string | undefined;
998
- local_mark_first?: boolean | undefined;
999
- }>, "many">;
248
+ }, z.core.$strict>>;
1000
249
  check_all_founded: z.ZodOptional<z.ZodBoolean>;
1001
- }, "strict", z.ZodTypeAny, {
1002
- entities: {
1003
- name_or_address?: string | undefined;
1004
- local_mark_first?: boolean | undefined;
1005
- }[];
1006
- check_all_founded?: boolean | undefined;
1007
- }, {
1008
- entities: {
1009
- name_or_address?: string | undefined;
1010
- local_mark_first?: boolean | undefined;
1011
- }[];
1012
- check_all_founded?: boolean | undefined;
1013
- }>;
250
+ }, z.core.$strict>;
1014
251
  transferable: z.ZodBoolean;
1015
- }, "strict", z.ZodTypeAny, {
1016
- name: string;
1017
- recipient: {
1018
- entities: {
1019
- name_or_address?: string | undefined;
1020
- local_mark_first?: boolean | undefined;
1021
- }[];
1022
- check_all_founded?: boolean | undefined;
1023
- };
1024
- count: number;
1025
- discount_type: "FIXED" | "RATES";
1026
- transferable: boolean;
1027
- discount_value: string | number;
1028
- time_ms_end: number;
1029
- benchmark?: string | number | undefined;
1030
- time_ms_start?: number | undefined;
1031
- }, {
1032
- name: string;
1033
- recipient: {
1034
- entities: {
1035
- name_or_address?: string | undefined;
1036
- local_mark_first?: boolean | undefined;
1037
- }[];
1038
- check_all_founded?: boolean | undefined;
1039
- };
1040
- count: number;
1041
- discount_type: number | "FIXED" | "RATES";
1042
- transferable: boolean;
1043
- discount_value: string | number;
1044
- time_ms_end: number;
1045
- benchmark?: string | number | undefined;
1046
- time_ms_start?: number | undefined;
1047
- }>>;
1048
- discount_destroy: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
1049
- customer_required: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
1050
- order_allocators: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1051
- description: z.ZodEffects<z.ZodString, string, string>;
1052
- threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
252
+ }, z.core.$strict>>;
253
+ discount_destroy: z.ZodOptional<z.ZodArray<z.ZodString>>;
254
+ customer_required: z.ZodOptional<z.ZodArray<z.ZodString>>;
255
+ order_allocators: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
256
+ description: z.ZodString;
257
+ threshold: z.ZodDefault<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
1053
258
  allocators: z.ZodArray<z.ZodObject<{
1054
- guard: z.ZodEffects<z.ZodString, string, string>;
259
+ guard: z.ZodString;
1055
260
  sharing: z.ZodArray<z.ZodObject<{
1056
- who: z.ZodUnion<[z.ZodObject<{
261
+ who: z.ZodUnion<readonly [z.ZodObject<{
1057
262
  GuardIdentifier: z.ZodNumber;
1058
- }, "strip", z.ZodTypeAny, {
1059
- GuardIdentifier: number;
1060
- }, {
1061
- GuardIdentifier: number;
1062
- }>, z.ZodObject<{
263
+ }, z.core.$strip>, z.ZodObject<{
1063
264
  Entity: z.ZodObject<{
1064
- name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
265
+ name_or_address: z.ZodOptional<z.ZodString>;
1065
266
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
1066
- }, "strict", z.ZodTypeAny, {
1067
- name_or_address?: string | undefined;
1068
- local_mark_first?: boolean | undefined;
1069
- }, {
1070
- name_or_address?: string | undefined;
1071
- local_mark_first?: boolean | undefined;
1072
- }>;
1073
- }, "strip", z.ZodTypeAny, {
1074
- Entity: {
1075
- name_or_address?: string | undefined;
1076
- local_mark_first?: boolean | undefined;
1077
- };
1078
- }, {
1079
- Entity: {
1080
- name_or_address?: string | undefined;
1081
- local_mark_first?: boolean | undefined;
1082
- };
1083
- }>, z.ZodObject<{
267
+ }, z.core.$strict>;
268
+ }, z.core.$strip>, z.ZodObject<{
1084
269
  Signer: z.ZodLiteral<"signer">;
1085
- }, "strip", z.ZodTypeAny, {
1086
- Signer: "signer";
1087
- }, {
1088
- Signer: "signer";
1089
- }>]>;
1090
- sharing: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1091
- mode: z.ZodUnion<[z.ZodEnum<["Amount", "Rate", "Surplus"]>, z.ZodEffects<z.ZodNumber, "Amount" | "Rate" | "Surplus", number>]>;
1092
- }, "strip", z.ZodTypeAny, {
1093
- mode: "Amount" | "Rate" | "Surplus";
1094
- sharing: string | number;
1095
- who: {
1096
- GuardIdentifier: number;
1097
- } | {
1098
- Entity: {
1099
- name_or_address?: string | undefined;
1100
- local_mark_first?: boolean | undefined;
1101
- };
1102
- } | {
1103
- Signer: "signer";
1104
- };
1105
- }, {
1106
- mode: number | "Amount" | "Rate" | "Surplus";
1107
- sharing: string | number;
1108
- who: {
1109
- GuardIdentifier: number;
1110
- } | {
1111
- Entity: {
1112
- name_or_address?: string | undefined;
1113
- local_mark_first?: boolean | undefined;
1114
- };
1115
- } | {
1116
- Signer: "signer";
1117
- };
1118
- }>, "many">;
1119
- fix: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1120
- max: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodNumber, z.ZodString]>, z.ZodNull]>>;
1121
- }, "strip", z.ZodTypeAny, {
1122
- guard: string;
1123
- sharing: {
1124
- mode: "Amount" | "Rate" | "Surplus";
1125
- sharing: string | number;
1126
- who: {
1127
- GuardIdentifier: number;
1128
- } | {
1129
- Entity: {
1130
- name_or_address?: string | undefined;
1131
- local_mark_first?: boolean | undefined;
1132
- };
1133
- } | {
1134
- Signer: "signer";
1135
- };
1136
- }[];
1137
- max?: string | number | null | undefined;
1138
- fix?: string | number | undefined;
1139
- }, {
1140
- guard: string;
1141
- sharing: {
1142
- mode: number | "Amount" | "Rate" | "Surplus";
1143
- sharing: string | number;
1144
- who: {
1145
- GuardIdentifier: number;
1146
- } | {
1147
- Entity: {
1148
- name_or_address?: string | undefined;
1149
- local_mark_first?: boolean | undefined;
1150
- };
1151
- } | {
1152
- Signer: "signer";
1153
- };
1154
- }[];
1155
- max?: string | number | null | undefined;
1156
- fix?: string | number | undefined;
1157
- }>, "many">;
1158
- }, "strip", z.ZodTypeAny, {
1159
- description: string;
1160
- threshold: string | number;
1161
- allocators: {
1162
- guard: string;
1163
- sharing: {
1164
- mode: "Amount" | "Rate" | "Surplus";
1165
- sharing: string | number;
1166
- who: {
1167
- GuardIdentifier: number;
1168
- } | {
1169
- Entity: {
1170
- name_or_address?: string | undefined;
1171
- local_mark_first?: boolean | undefined;
1172
- };
1173
- } | {
1174
- Signer: "signer";
1175
- };
1176
- }[];
1177
- max?: string | number | null | undefined;
1178
- fix?: string | number | undefined;
1179
- }[];
1180
- }, {
1181
- description: string;
1182
- allocators: {
1183
- guard: string;
1184
- sharing: {
1185
- mode: number | "Amount" | "Rate" | "Surplus";
1186
- sharing: string | number;
1187
- who: {
1188
- GuardIdentifier: number;
1189
- } | {
1190
- Entity: {
1191
- name_or_address?: string | undefined;
1192
- local_mark_first?: boolean | undefined;
1193
- };
1194
- } | {
1195
- Signer: "signer";
1196
- };
1197
- }[];
1198
- max?: string | number | null | undefined;
1199
- fix?: string | number | undefined;
1200
- }[];
1201
- threshold?: string | number | undefined;
1202
- }>, z.ZodNull]>>;
1203
- buy_guard: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
1204
- compensation_fund_add: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1205
- balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1206
- }, "strip", z.ZodTypeAny, {
1207
- balance: string | number;
1208
- }, {
1209
- balance: string | number;
1210
- }>, z.ZodObject<{
270
+ }, z.core.$strip>]>;
271
+ sharing: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
272
+ mode: z.ZodUnion<readonly [z.ZodEnum<{
273
+ Amount: "Amount";
274
+ Rate: "Rate";
275
+ Surplus: "Surplus";
276
+ }>, z.ZodPipe<z.ZodNumber, z.ZodTransform<"Amount" | "Rate" | "Surplus", number>>]>;
277
+ }, z.core.$strip>>;
278
+ fix: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
279
+ max: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodNull]>>;
280
+ }, z.core.$strip>>;
281
+ }, z.core.$strip>, z.ZodNull]>>;
282
+ buy_guard: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
283
+ compensation_fund_add: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
284
+ balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
285
+ }, z.core.$strip>, z.ZodObject<{
1211
286
  coin: z.ZodString;
1212
- }, "strip", z.ZodTypeAny, {
1213
- coin: string;
1214
- }, {
1215
- coin: string;
1216
- }>]>>;
287
+ }, z.core.$strip>]>>;
1217
288
  compensation_fund_withdraw: z.ZodOptional<z.ZodObject<{
1218
289
  receipt: z.ZodObject<{
1219
- name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
290
+ name_or_address: z.ZodOptional<z.ZodString>;
1220
291
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
1221
- }, "strict", z.ZodTypeAny, {
1222
- name_or_address?: string | undefined;
1223
- local_mark_first?: boolean | undefined;
1224
- }, {
1225
- name_or_address?: string | undefined;
1226
- local_mark_first?: boolean | undefined;
1227
- }>;
292
+ }, z.core.$strict>;
1228
293
  payment_info: z.ZodObject<{
1229
- for_object: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1230
- for_guard: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
294
+ for_object: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
295
+ for_guard: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
1231
296
  remark: z.ZodString;
1232
- index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1233
- }, "strip", z.ZodTypeAny, {
1234
- index: string | number;
1235
- remark: string;
1236
- for_object?: string | null | undefined;
1237
- for_guard?: string | null | undefined;
1238
- }, {
1239
- index: string | number;
1240
- remark: string;
1241
- for_object?: string | null | undefined;
1242
- for_guard?: string | null | undefined;
1243
- }>;
1244
- }, "strict", z.ZodTypeAny, {
1245
- payment_info: {
1246
- index: string | number;
1247
- remark: string;
1248
- for_object?: string | null | undefined;
1249
- for_guard?: string | null | undefined;
1250
- };
1251
- receipt: {
1252
- name_or_address?: string | undefined;
1253
- local_mark_first?: boolean | undefined;
1254
- };
1255
- }, {
1256
- payment_info: {
1257
- index: string | number;
1258
- remark: string;
1259
- for_object?: string | null | undefined;
1260
- for_guard?: string | null | undefined;
1261
- };
1262
- receipt: {
1263
- name_or_address?: string | undefined;
1264
- local_mark_first?: boolean | undefined;
1265
- };
1266
- }>>;
297
+ index: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
298
+ }, z.core.$strip>;
299
+ }, z.core.$strict>>;
1267
300
  setting_lock_duration_add: z.ZodOptional<z.ZodNumber>;
1268
- compensation_fund_receive: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1269
- balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1270
- token_type: z.ZodEffects<z.ZodString, string, string>;
301
+ compensation_fund_receive: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
302
+ balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
303
+ token_type: z.ZodString;
1271
304
  received: z.ZodArray<z.ZodObject<{
1272
305
  id: z.ZodString;
1273
- balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
306
+ balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
1274
307
  payment: z.ZodString;
1275
- }, "strict", z.ZodTypeAny, {
1276
- id: string;
1277
- balance: string | number;
1278
- payment: string;
1279
- }, {
1280
- id: string;
1281
- balance: string | number;
1282
- payment: string;
1283
- }>, "many">;
1284
- }, "strict", z.ZodTypeAny, {
1285
- received: {
1286
- id: string;
1287
- balance: string | number;
1288
- payment: string;
1289
- }[];
1290
- balance: string | number;
1291
- token_type: string;
1292
- }, {
1293
- received: {
1294
- id: string;
1295
- balance: string | number;
1296
- payment: string;
1297
- }[];
1298
- balance: string | number;
1299
- token_type: string;
1300
- }>, z.ZodLiteral<"recently">]>>;
1301
- owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
308
+ }, z.core.$strict>>;
309
+ }, z.core.$strict>, z.ZodLiteral<"recently">]>>;
310
+ owner_receive: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
1302
311
  id: z.ZodString;
1303
312
  type: z.ZodString;
1304
313
  content_raw: z.ZodOptional<z.ZodAny>;
1305
- }, "strict", z.ZodTypeAny, {
1306
- type: string;
1307
- id: string;
1308
- content_raw?: any;
1309
- }, {
1310
- type: string;
1311
- id: string;
1312
- content_raw?: any;
1313
- }>, "many">, z.ZodObject<{
1314
- balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1315
- token_type: z.ZodEffects<z.ZodString, string, string>;
314
+ }, z.core.$strict>>, z.ZodObject<{
315
+ balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
316
+ token_type: z.ZodString;
1316
317
  received: z.ZodArray<z.ZodObject<{
1317
318
  id: z.ZodString;
1318
- balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
319
+ balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
1319
320
  payment: z.ZodString;
1320
- }, "strict", z.ZodTypeAny, {
1321
- id: string;
1322
- balance: string | number;
1323
- payment: string;
1324
- }, {
1325
- id: string;
1326
- balance: string | number;
1327
- payment: string;
1328
- }>, "many">;
1329
- }, "strict", z.ZodTypeAny, {
1330
- received: {
1331
- id: string;
1332
- balance: string | number;
1333
- payment: string;
1334
- }[];
1335
- balance: string | number;
1336
- token_type: string;
1337
- }, {
1338
- received: {
1339
- id: string;
1340
- balance: string | number;
1341
- payment: string;
1342
- }[];
1343
- balance: string | number;
1344
- token_type: string;
1345
- }>, z.ZodLiteral<"recently">]>>;
1346
- um: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
321
+ }, z.core.$strict>>;
322
+ }, z.core.$strict>, z.ZodLiteral<"recently">]>>;
323
+ um: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
1347
324
  pause: z.ZodOptional<z.ZodBoolean>;
1348
325
  publish: z.ZodOptional<z.ZodBoolean>;
1349
- }, "strict", z.ZodTypeAny, {
1350
- object: string | {
1351
- type_parameter: string;
1352
- name?: string | undefined;
1353
- permission?: string | {
1354
- name?: string | undefined;
1355
- description?: string | undefined;
1356
- replaceExistName?: boolean | undefined;
1357
- tags?: string[] | undefined;
1358
- onChain?: boolean | undefined;
1359
- } | undefined;
1360
- replaceExistName?: boolean | undefined;
1361
- tags?: string[] | undefined;
1362
- onChain?: boolean | undefined;
1363
- };
1364
- description?: string | undefined;
1365
- publish?: boolean | undefined;
1366
- buy_guard?: string | null | undefined;
1367
- machine?: string | null | undefined;
1368
- order_allocators?: {
1369
- description: string;
1370
- threshold: string | number;
1371
- allocators: {
1372
- guard: string;
1373
- sharing: {
1374
- mode: "Amount" | "Rate" | "Surplus";
1375
- sharing: string | number;
1376
- who: {
1377
- GuardIdentifier: number;
1378
- } | {
1379
- Entity: {
1380
- name_or_address?: string | undefined;
1381
- local_mark_first?: boolean | undefined;
1382
- };
1383
- } | {
1384
- Signer: "signer";
1385
- };
1386
- }[];
1387
- max?: string | number | null | undefined;
1388
- fix?: string | number | undefined;
1389
- }[];
1390
- } | null | undefined;
1391
- arbitrations?: {
1392
- op: "set" | "add";
1393
- objects: string[];
1394
- } | {
1395
- op: "remove";
1396
- objects: string[];
1397
- } | {
1398
- op: "clear";
1399
- } | undefined;
1400
- sales?: {
1401
- op: "add";
1402
- sales: {
1403
- name: string;
1404
- wip: string;
1405
- price: string | number;
1406
- wip_hash: string;
1407
- stock: string | number;
1408
- suspension: boolean;
1409
- }[];
1410
- } | {
1411
- op: "set";
1412
- sales: {
1413
- name: string;
1414
- wip: string;
1415
- price: string | number;
1416
- wip_hash: string;
1417
- stock: string | number;
1418
- suspension: boolean;
1419
- }[];
1420
- } | {
1421
- op: "remove";
1422
- sales_name: string[];
1423
- } | {
1424
- op: "clear";
1425
- } | undefined;
1426
- discount?: {
1427
- name: string;
1428
- recipient: {
1429
- entities: {
1430
- name_or_address?: string | undefined;
1431
- local_mark_first?: boolean | undefined;
1432
- }[];
1433
- check_all_founded?: boolean | undefined;
1434
- };
1435
- count: number;
1436
- discount_type: "FIXED" | "RATES";
1437
- transferable: boolean;
1438
- discount_value: string | number;
1439
- time_ms_end: number;
1440
- benchmark?: string | number | undefined;
1441
- time_ms_start?: number | undefined;
1442
- } | undefined;
1443
- rewards?: {
1444
- op: "set" | "add";
1445
- objects: string[];
1446
- } | {
1447
- op: "remove";
1448
- objects: string[];
1449
- } | {
1450
- op: "clear";
1451
- } | undefined;
1452
- pause?: boolean | undefined;
1453
- compensation_fund_receive?: {
1454
- received: {
1455
- id: string;
1456
- balance: string | number;
1457
- payment: string;
1458
- }[];
1459
- balance: string | number;
1460
- token_type: string;
1461
- } | "recently" | undefined;
1462
- compensation_fund_add?: {
1463
- balance: string | number;
1464
- } | {
1465
- coin: string;
1466
- } | undefined;
1467
- customer_required?: string[] | undefined;
1468
- um?: string | null | undefined;
1469
- owner_receive?: {
1470
- received: {
1471
- id: string;
1472
- balance: string | number;
1473
- payment: string;
1474
- }[];
1475
- balance: string | number;
1476
- token_type: string;
1477
- } | "recently" | {
1478
- type: string;
1479
- id: string;
1480
- content_raw?: any;
1481
- }[] | undefined;
1482
- repositories?: {
1483
- op: "set" | "add";
1484
- objects: string[];
1485
- } | {
1486
- op: "remove";
1487
- objects: string[];
1488
- } | {
1489
- op: "clear";
1490
- } | undefined;
1491
- location?: string | undefined;
1492
- compensation_fund_withdraw?: {
1493
- payment_info: {
1494
- index: string | number;
1495
- remark: string;
1496
- for_object?: string | null | undefined;
1497
- for_guard?: string | null | undefined;
1498
- };
1499
- receipt: {
1500
- name_or_address?: string | undefined;
1501
- local_mark_first?: boolean | undefined;
1502
- };
1503
- } | undefined;
1504
- setting_lock_duration_add?: number | undefined;
1505
- order_new?: {
1506
- buy: {
1507
- items: {
1508
- name: string;
1509
- wip_hash: string;
1510
- stock: string | number;
1511
- }[];
1512
- total_pay: {
1513
- balance: string | number;
1514
- } | {
1515
- coin: string;
1516
- };
1517
- discount?: string | undefined;
1518
- payment_remark?: string | undefined;
1519
- payment_index?: number | undefined;
1520
- };
1521
- transfer?: {
1522
- name_or_address?: string | undefined;
1523
- local_mark_first?: boolean | undefined;
1524
- } | undefined;
1525
- order_required_info?: string | undefined;
1526
- agents?: {
1527
- entities: {
1528
- name_or_address?: string | undefined;
1529
- local_mark_first?: boolean | undefined;
1530
- }[];
1531
- check_all_founded?: boolean | undefined;
1532
- } | undefined;
1533
- namedNewOrder?: {
1534
- name?: string | undefined;
1535
- replaceExistName?: boolean | undefined;
1536
- tags?: string[] | undefined;
1537
- onChain?: boolean | undefined;
1538
- } | undefined;
1539
- namedNewAllocation?: {
1540
- name?: string | undefined;
1541
- replaceExistName?: boolean | undefined;
1542
- tags?: string[] | undefined;
1543
- onChain?: boolean | undefined;
1544
- } | undefined;
1545
- namedNewProgress?: {
1546
- name?: string | undefined;
1547
- replaceExistName?: boolean | undefined;
1548
- tags?: string[] | undefined;
1549
- onChain?: boolean | undefined;
1550
- } | undefined;
1551
- } | undefined;
1552
- discount_destroy?: string[] | undefined;
1553
- }, {
1554
- object: string | {
1555
- name?: string | undefined;
1556
- permission?: string | {
1557
- name?: string | undefined;
1558
- description?: string | undefined;
1559
- replaceExistName?: boolean | undefined;
1560
- tags?: string[] | undefined;
1561
- onChain?: boolean | undefined;
1562
- } | undefined;
1563
- replaceExistName?: boolean | undefined;
1564
- tags?: string[] | undefined;
1565
- onChain?: boolean | undefined;
1566
- type_parameter?: string | undefined;
1567
- };
1568
- description?: string | undefined;
1569
- publish?: boolean | undefined;
1570
- buy_guard?: string | null | undefined;
1571
- machine?: string | null | undefined;
1572
- order_allocators?: {
1573
- description: string;
1574
- allocators: {
1575
- guard: string;
1576
- sharing: {
1577
- mode: number | "Amount" | "Rate" | "Surplus";
1578
- sharing: string | number;
1579
- who: {
1580
- GuardIdentifier: number;
1581
- } | {
1582
- Entity: {
1583
- name_or_address?: string | undefined;
1584
- local_mark_first?: boolean | undefined;
1585
- };
1586
- } | {
1587
- Signer: "signer";
1588
- };
1589
- }[];
1590
- max?: string | number | null | undefined;
1591
- fix?: string | number | undefined;
1592
- }[];
1593
- threshold?: string | number | undefined;
1594
- } | null | undefined;
1595
- arbitrations?: unknown;
1596
- sales?: {
1597
- op: "add";
1598
- sales: {
1599
- name: string;
1600
- wip: string;
1601
- price: string | number;
1602
- wip_hash: string;
1603
- stock: string | number;
1604
- suspension: boolean;
1605
- }[];
1606
- } | {
1607
- op: "set";
1608
- sales: {
1609
- name: string;
1610
- wip: string;
1611
- price: string | number;
1612
- wip_hash: string;
1613
- stock: string | number;
1614
- suspension: boolean;
1615
- }[];
1616
- } | {
1617
- op: "remove";
1618
- sales_name: string[];
1619
- } | {
1620
- op: "clear";
1621
- } | undefined;
1622
- discount?: {
1623
- name: string;
1624
- recipient: {
1625
- entities: {
1626
- name_or_address?: string | undefined;
1627
- local_mark_first?: boolean | undefined;
1628
- }[];
1629
- check_all_founded?: boolean | undefined;
1630
- };
1631
- count: number;
1632
- discount_type: number | "FIXED" | "RATES";
1633
- transferable: boolean;
1634
- discount_value: string | number;
1635
- time_ms_end: number;
1636
- benchmark?: string | number | undefined;
1637
- time_ms_start?: number | undefined;
1638
- } | undefined;
1639
- rewards?: unknown;
1640
- pause?: boolean | undefined;
1641
- compensation_fund_receive?: {
1642
- received: {
1643
- id: string;
1644
- balance: string | number;
1645
- payment: string;
1646
- }[];
1647
- balance: string | number;
1648
- token_type: string;
1649
- } | "recently" | undefined;
1650
- compensation_fund_add?: {
1651
- balance: string | number;
1652
- } | {
1653
- coin: string;
1654
- } | undefined;
1655
- customer_required?: string[] | undefined;
1656
- um?: string | null | undefined;
1657
- owner_receive?: {
1658
- received: {
1659
- id: string;
1660
- balance: string | number;
1661
- payment: string;
1662
- }[];
1663
- balance: string | number;
1664
- token_type: string;
1665
- } | "recently" | {
1666
- type: string;
1667
- id: string;
1668
- content_raw?: any;
1669
- }[] | undefined;
1670
- repositories?: unknown;
1671
- location?: string | undefined;
1672
- compensation_fund_withdraw?: {
1673
- payment_info: {
1674
- index: string | number;
1675
- remark: string;
1676
- for_object?: string | null | undefined;
1677
- for_guard?: string | null | undefined;
1678
- };
1679
- receipt: {
1680
- name_or_address?: string | undefined;
1681
- local_mark_first?: boolean | undefined;
1682
- };
1683
- } | undefined;
1684
- setting_lock_duration_add?: number | undefined;
1685
- order_new?: {
1686
- buy: {
1687
- items: {
1688
- name: string;
1689
- wip_hash: string;
1690
- stock: string | number;
1691
- }[];
1692
- total_pay: {
1693
- balance: string | number;
1694
- } | {
1695
- coin: string;
1696
- };
1697
- discount?: string | undefined;
1698
- payment_remark?: string | undefined;
1699
- payment_index?: number | undefined;
1700
- };
1701
- transfer?: {
1702
- name_or_address?: string | undefined;
1703
- local_mark_first?: boolean | undefined;
1704
- } | undefined;
1705
- order_required_info?: string | undefined;
1706
- agents?: {
1707
- entities: {
1708
- name_or_address?: string | undefined;
1709
- local_mark_first?: boolean | undefined;
1710
- }[];
1711
- check_all_founded?: boolean | undefined;
1712
- } | undefined;
1713
- namedNewOrder?: {
1714
- name?: string | undefined;
1715
- replaceExistName?: boolean | undefined;
1716
- tags?: string[] | undefined;
1717
- onChain?: boolean | undefined;
1718
- } | undefined;
1719
- namedNewAllocation?: {
1720
- name?: string | undefined;
1721
- replaceExistName?: boolean | undefined;
1722
- tags?: string[] | undefined;
1723
- onChain?: boolean | undefined;
1724
- } | undefined;
1725
- namedNewProgress?: {
1726
- name?: string | undefined;
1727
- replaceExistName?: boolean | undefined;
1728
- tags?: string[] | undefined;
1729
- onChain?: boolean | undefined;
1730
- } | undefined;
1731
- } | undefined;
1732
- discount_destroy?: string[] | undefined;
1733
- }>;
326
+ }, z.core.$strict>;
1734
327
  export declare const CallService_InputSchema: z.ZodObject<{
1735
328
  data: z.ZodObject<{
1736
- object: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
1737
- name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1738
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
329
+ object: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
330
+ name: z.ZodOptional<z.ZodString>;
331
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1739
332
  onChain: z.ZodOptional<z.ZodBoolean>;
1740
333
  replaceExistName: z.ZodOptional<z.ZodBoolean>;
1741
- } & {
1742
- permission: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
1743
- name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1744
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
334
+ permission: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
335
+ name: z.ZodOptional<z.ZodString>;
336
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1745
337
  onChain: z.ZodOptional<z.ZodBoolean>;
1746
338
  replaceExistName: z.ZodOptional<z.ZodBoolean>;
1747
- } & {
1748
339
  description: z.ZodOptional<z.ZodString>;
1749
- }, "strict", z.ZodTypeAny, {
1750
- name?: string | undefined;
1751
- description?: string | undefined;
1752
- replaceExistName?: boolean | undefined;
1753
- tags?: string[] | undefined;
1754
- onChain?: boolean | undefined;
1755
- }, {
1756
- name?: string | undefined;
1757
- description?: string | undefined;
1758
- replaceExistName?: boolean | undefined;
1759
- tags?: string[] | undefined;
1760
- onChain?: boolean | undefined;
1761
- }>]>>;
1762
- } & {
1763
- type_parameter: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
1764
- }, "strict", z.ZodTypeAny, {
1765
- type_parameter: string;
1766
- name?: string | undefined;
1767
- permission?: string | {
1768
- name?: string | undefined;
1769
- description?: string | undefined;
1770
- replaceExistName?: boolean | undefined;
1771
- tags?: string[] | undefined;
1772
- onChain?: boolean | undefined;
1773
- } | undefined;
1774
- replaceExistName?: boolean | undefined;
1775
- tags?: string[] | undefined;
1776
- onChain?: boolean | undefined;
1777
- }, {
1778
- name?: string | undefined;
1779
- permission?: string | {
1780
- name?: string | undefined;
1781
- description?: string | undefined;
1782
- replaceExistName?: boolean | undefined;
1783
- tags?: string[] | undefined;
1784
- onChain?: boolean | undefined;
1785
- } | undefined;
1786
- replaceExistName?: boolean | undefined;
1787
- tags?: string[] | undefined;
1788
- onChain?: boolean | undefined;
1789
- type_parameter?: string | undefined;
1790
- }>]>;
340
+ }, z.core.$strict>]>>;
341
+ type_parameter: z.ZodDefault<z.ZodString>;
342
+ }, z.core.$strict>]>;
1791
343
  order_new: z.ZodOptional<z.ZodObject<{
1792
344
  buy: z.ZodObject<{
1793
345
  items: z.ZodArray<z.ZodObject<{
1794
- name: z.ZodEffects<z.ZodString, string, string>;
1795
- stock: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
346
+ name: z.ZodString;
347
+ stock: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
1796
348
  wip_hash: z.ZodString;
1797
- }, "strict", z.ZodTypeAny, {
1798
- name: string;
1799
- wip_hash: string;
1800
- stock: string | number;
1801
- }, {
1802
- name: string;
1803
- wip_hash: string;
1804
- stock: string | number;
1805
- }>, "many">;
1806
- total_pay: z.ZodUnion<[z.ZodObject<{
1807
- balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1808
- }, "strip", z.ZodTypeAny, {
1809
- balance: string | number;
1810
- }, {
1811
- balance: string | number;
1812
- }>, z.ZodObject<{
349
+ }, z.core.$strict>>;
350
+ total_pay: z.ZodUnion<readonly [z.ZodObject<{
351
+ balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
352
+ }, z.core.$strip>, z.ZodObject<{
1813
353
  coin: z.ZodString;
1814
- }, "strip", z.ZodTypeAny, {
1815
- coin: string;
1816
- }, {
1817
- coin: string;
1818
- }>]>;
354
+ }, z.core.$strip>]>;
1819
355
  discount: z.ZodOptional<z.ZodString>;
1820
356
  payment_remark: z.ZodOptional<z.ZodString>;
1821
357
  payment_index: z.ZodOptional<z.ZodNumber>;
1822
- }, "strict", z.ZodTypeAny, {
1823
- items: {
1824
- name: string;
1825
- wip_hash: string;
1826
- stock: string | number;
1827
- }[];
1828
- total_pay: {
1829
- balance: string | number;
1830
- } | {
1831
- coin: string;
1832
- };
1833
- discount?: string | undefined;
1834
- payment_remark?: string | undefined;
1835
- payment_index?: number | undefined;
1836
- }, {
1837
- items: {
1838
- name: string;
1839
- wip_hash: string;
1840
- stock: string | number;
1841
- }[];
1842
- total_pay: {
1843
- balance: string | number;
1844
- } | {
1845
- coin: string;
1846
- };
1847
- discount?: string | undefined;
1848
- payment_remark?: string | undefined;
1849
- payment_index?: number | undefined;
1850
- }>;
358
+ }, z.core.$strict>;
1851
359
  agents: z.ZodOptional<z.ZodObject<{
1852
360
  entities: z.ZodArray<z.ZodObject<{
1853
- name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
361
+ name_or_address: z.ZodOptional<z.ZodString>;
1854
362
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
1855
- }, "strict", z.ZodTypeAny, {
1856
- name_or_address?: string | undefined;
1857
- local_mark_first?: boolean | undefined;
1858
- }, {
1859
- name_or_address?: string | undefined;
1860
- local_mark_first?: boolean | undefined;
1861
- }>, "many">;
363
+ }, z.core.$strict>>;
1862
364
  check_all_founded: z.ZodOptional<z.ZodBoolean>;
1863
- }, "strict", z.ZodTypeAny, {
1864
- entities: {
1865
- name_or_address?: string | undefined;
1866
- local_mark_first?: boolean | undefined;
1867
- }[];
1868
- check_all_founded?: boolean | undefined;
1869
- }, {
1870
- entities: {
1871
- name_or_address?: string | undefined;
1872
- local_mark_first?: boolean | undefined;
1873
- }[];
1874
- check_all_founded?: boolean | undefined;
1875
- }>>;
365
+ }, z.core.$strict>>;
1876
366
  order_required_info: z.ZodOptional<z.ZodString>;
1877
367
  transfer: z.ZodOptional<z.ZodObject<{
1878
- name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
368
+ name_or_address: z.ZodOptional<z.ZodString>;
1879
369
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
1880
- }, "strict", z.ZodTypeAny, {
1881
- name_or_address?: string | undefined;
1882
- local_mark_first?: boolean | undefined;
1883
- }, {
1884
- name_or_address?: string | undefined;
1885
- local_mark_first?: boolean | undefined;
1886
- }>>;
370
+ }, z.core.$strict>>;
1887
371
  namedNewOrder: z.ZodOptional<z.ZodObject<{
1888
- name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1889
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
372
+ name: z.ZodOptional<z.ZodString>;
373
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1890
374
  onChain: z.ZodOptional<z.ZodBoolean>;
1891
375
  replaceExistName: z.ZodOptional<z.ZodBoolean>;
1892
- }, "strict", z.ZodTypeAny, {
1893
- name?: string | undefined;
1894
- replaceExistName?: boolean | undefined;
1895
- tags?: string[] | undefined;
1896
- onChain?: boolean | undefined;
1897
- }, {
1898
- name?: string | undefined;
1899
- replaceExistName?: boolean | undefined;
1900
- tags?: string[] | undefined;
1901
- onChain?: boolean | undefined;
1902
- }>>;
376
+ }, z.core.$strict>>;
1903
377
  namedNewAllocation: z.ZodOptional<z.ZodObject<{
1904
- name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1905
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
378
+ name: z.ZodOptional<z.ZodString>;
379
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1906
380
  onChain: z.ZodOptional<z.ZodBoolean>;
1907
381
  replaceExistName: z.ZodOptional<z.ZodBoolean>;
1908
- }, "strict", z.ZodTypeAny, {
1909
- name?: string | undefined;
1910
- replaceExistName?: boolean | undefined;
1911
- tags?: string[] | undefined;
1912
- onChain?: boolean | undefined;
1913
- }, {
1914
- name?: string | undefined;
1915
- replaceExistName?: boolean | undefined;
1916
- tags?: string[] | undefined;
1917
- onChain?: boolean | undefined;
1918
- }>>;
382
+ }, z.core.$strict>>;
1919
383
  namedNewProgress: z.ZodOptional<z.ZodObject<{
1920
- name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1921
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
384
+ name: z.ZodOptional<z.ZodString>;
385
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1922
386
  onChain: z.ZodOptional<z.ZodBoolean>;
1923
387
  replaceExistName: z.ZodOptional<z.ZodBoolean>;
1924
- }, "strict", z.ZodTypeAny, {
1925
- name?: string | undefined;
1926
- replaceExistName?: boolean | undefined;
1927
- tags?: string[] | undefined;
1928
- onChain?: boolean | undefined;
1929
- }, {
1930
- name?: string | undefined;
1931
- replaceExistName?: boolean | undefined;
1932
- tags?: string[] | undefined;
1933
- onChain?: boolean | undefined;
1934
- }>>;
1935
- }, "strict", z.ZodTypeAny, {
1936
- buy: {
1937
- items: {
1938
- name: string;
1939
- wip_hash: string;
1940
- stock: string | number;
1941
- }[];
1942
- total_pay: {
1943
- balance: string | number;
1944
- } | {
1945
- coin: string;
1946
- };
1947
- discount?: string | undefined;
1948
- payment_remark?: string | undefined;
1949
- payment_index?: number | undefined;
1950
- };
1951
- transfer?: {
1952
- name_or_address?: string | undefined;
1953
- local_mark_first?: boolean | undefined;
1954
- } | undefined;
1955
- order_required_info?: string | undefined;
1956
- agents?: {
1957
- entities: {
1958
- name_or_address?: string | undefined;
1959
- local_mark_first?: boolean | undefined;
1960
- }[];
1961
- check_all_founded?: boolean | undefined;
1962
- } | undefined;
1963
- namedNewOrder?: {
1964
- name?: string | undefined;
1965
- replaceExistName?: boolean | undefined;
1966
- tags?: string[] | undefined;
1967
- onChain?: boolean | undefined;
1968
- } | undefined;
1969
- namedNewAllocation?: {
1970
- name?: string | undefined;
1971
- replaceExistName?: boolean | undefined;
1972
- tags?: string[] | undefined;
1973
- onChain?: boolean | undefined;
1974
- } | undefined;
1975
- namedNewProgress?: {
1976
- name?: string | undefined;
1977
- replaceExistName?: boolean | undefined;
1978
- tags?: string[] | undefined;
1979
- onChain?: boolean | undefined;
1980
- } | undefined;
1981
- }, {
1982
- buy: {
1983
- items: {
1984
- name: string;
1985
- wip_hash: string;
1986
- stock: string | number;
1987
- }[];
1988
- total_pay: {
1989
- balance: string | number;
1990
- } | {
1991
- coin: string;
1992
- };
1993
- discount?: string | undefined;
1994
- payment_remark?: string | undefined;
1995
- payment_index?: number | undefined;
1996
- };
1997
- transfer?: {
1998
- name_or_address?: string | undefined;
1999
- local_mark_first?: boolean | undefined;
2000
- } | undefined;
2001
- order_required_info?: string | undefined;
2002
- agents?: {
2003
- entities: {
2004
- name_or_address?: string | undefined;
2005
- local_mark_first?: boolean | undefined;
2006
- }[];
2007
- check_all_founded?: boolean | undefined;
2008
- } | undefined;
2009
- namedNewOrder?: {
2010
- name?: string | undefined;
2011
- replaceExistName?: boolean | undefined;
2012
- tags?: string[] | undefined;
2013
- onChain?: boolean | undefined;
2014
- } | undefined;
2015
- namedNewAllocation?: {
2016
- name?: string | undefined;
2017
- replaceExistName?: boolean | undefined;
2018
- tags?: string[] | undefined;
2019
- onChain?: boolean | undefined;
2020
- } | undefined;
2021
- namedNewProgress?: {
2022
- name?: string | undefined;
2023
- replaceExistName?: boolean | undefined;
2024
- tags?: string[] | undefined;
2025
- onChain?: boolean | undefined;
2026
- } | undefined;
2027
- }>>;
2028
- description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2029
- location: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2030
- sales: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
388
+ }, z.core.$strict>>;
389
+ }, z.core.$strict>>;
390
+ description: z.ZodOptional<z.ZodString>;
391
+ location: z.ZodOptional<z.ZodString>;
392
+ sales: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2031
393
  op: z.ZodLiteral<"add">;
2032
394
  sales: z.ZodArray<z.ZodObject<{
2033
- name: z.ZodEffects<z.ZodString, string, string>;
2034
- price: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2035
- stock: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
395
+ name: z.ZodString;
396
+ price: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
397
+ stock: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
2036
398
  suspension: z.ZodBoolean;
2037
399
  wip: z.ZodString;
2038
400
  wip_hash: z.ZodString;
2039
- }, "strip", z.ZodTypeAny, {
2040
- name: string;
2041
- wip: string;
2042
- price: string | number;
2043
- wip_hash: string;
2044
- stock: string | number;
2045
- suspension: boolean;
2046
- }, {
2047
- name: string;
2048
- wip: string;
2049
- price: string | number;
2050
- wip_hash: string;
2051
- stock: string | number;
2052
- suspension: boolean;
2053
- }>, "many">;
2054
- }, "strict", z.ZodTypeAny, {
2055
- op: "add";
2056
- sales: {
2057
- name: string;
2058
- wip: string;
2059
- price: string | number;
2060
- wip_hash: string;
2061
- stock: string | number;
2062
- suspension: boolean;
2063
- }[];
2064
- }, {
2065
- op: "add";
2066
- sales: {
2067
- name: string;
2068
- wip: string;
2069
- price: string | number;
2070
- wip_hash: string;
2071
- stock: string | number;
2072
- suspension: boolean;
2073
- }[];
2074
- }>, z.ZodObject<{
401
+ }, z.core.$strip>>;
402
+ }, z.core.$strict>, z.ZodObject<{
2075
403
  op: z.ZodLiteral<"set">;
2076
404
  sales: z.ZodArray<z.ZodObject<{
2077
- name: z.ZodEffects<z.ZodString, string, string>;
2078
- price: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2079
- stock: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
405
+ name: z.ZodString;
406
+ price: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
407
+ stock: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
2080
408
  suspension: z.ZodBoolean;
2081
409
  wip: z.ZodString;
2082
410
  wip_hash: z.ZodString;
2083
- }, "strip", z.ZodTypeAny, {
2084
- name: string;
2085
- wip: string;
2086
- price: string | number;
2087
- wip_hash: string;
2088
- stock: string | number;
2089
- suspension: boolean;
2090
- }, {
2091
- name: string;
2092
- wip: string;
2093
- price: string | number;
2094
- wip_hash: string;
2095
- stock: string | number;
2096
- suspension: boolean;
2097
- }>, "many">;
2098
- }, "strict", z.ZodTypeAny, {
2099
- op: "set";
2100
- sales: {
2101
- name: string;
2102
- wip: string;
2103
- price: string | number;
2104
- wip_hash: string;
2105
- stock: string | number;
2106
- suspension: boolean;
2107
- }[];
2108
- }, {
2109
- op: "set";
2110
- sales: {
2111
- name: string;
2112
- wip: string;
2113
- price: string | number;
2114
- wip_hash: string;
2115
- stock: string | number;
2116
- suspension: boolean;
2117
- }[];
2118
- }>, z.ZodObject<{
411
+ }, z.core.$strip>>;
412
+ }, z.core.$strict>, z.ZodObject<{
2119
413
  op: z.ZodLiteral<"remove">;
2120
- sales_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2121
- }, "strict", z.ZodTypeAny, {
2122
- op: "remove";
2123
- sales_name: string[];
2124
- }, {
2125
- op: "remove";
2126
- sales_name: string[];
2127
- }>, z.ZodObject<{
414
+ sales_name: z.ZodArray<z.ZodString>;
415
+ }, z.core.$strict>, z.ZodObject<{
2128
416
  op: z.ZodLiteral<"clear">;
2129
- }, "strict", z.ZodTypeAny, {
2130
- op: "clear";
2131
- }, {
2132
- op: "clear";
2133
- }>]>>;
2134
- repositories: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
2135
- op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
2136
- objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2137
- }, "strict", z.ZodTypeAny, {
2138
- op: "set" | "add";
2139
- objects: string[];
2140
- }, {
2141
- op: "set" | "add";
2142
- objects: string[];
2143
- }>, z.ZodObject<{
417
+ }, z.core.$strict>], "op">>;
418
+ repositories: z.ZodOptional<z.ZodPreprocess<z.ZodUnion<readonly [z.ZodObject<{
419
+ op: z.ZodUnion<readonly [z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
420
+ objects: z.ZodArray<z.ZodString>;
421
+ }, z.core.$strict>, z.ZodObject<{
2144
422
  op: z.ZodLiteral<"remove">;
2145
- objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2146
- }, "strict", z.ZodTypeAny, {
2147
- op: "remove";
2148
- objects: string[];
2149
- }, {
2150
- op: "remove";
2151
- objects: string[];
2152
- }>, z.ZodObject<{
423
+ objects: z.ZodArray<z.ZodString>;
424
+ }, z.core.$strict>, z.ZodObject<{
2153
425
  op: z.ZodLiteral<"clear">;
2154
- }, "strict", z.ZodTypeAny, {
2155
- op: "clear";
2156
- }, {
2157
- op: "clear";
2158
- }>]>, {
2159
- op: "set" | "add";
2160
- objects: string[];
2161
- } | {
2162
- op: "remove";
2163
- objects: string[];
2164
- } | {
2165
- op: "clear";
2166
- }, unknown>>;
2167
- rewards: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
2168
- op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
2169
- objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2170
- }, "strict", z.ZodTypeAny, {
2171
- op: "set" | "add";
2172
- objects: string[];
2173
- }, {
2174
- op: "set" | "add";
2175
- objects: string[];
2176
- }>, z.ZodObject<{
426
+ }, z.core.$strict>]>>>;
427
+ rewards: z.ZodOptional<z.ZodPreprocess<z.ZodUnion<readonly [z.ZodObject<{
428
+ op: z.ZodUnion<readonly [z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
429
+ objects: z.ZodArray<z.ZodString>;
430
+ }, z.core.$strict>, z.ZodObject<{
2177
431
  op: z.ZodLiteral<"remove">;
2178
- objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2179
- }, "strict", z.ZodTypeAny, {
2180
- op: "remove";
2181
- objects: string[];
2182
- }, {
2183
- op: "remove";
2184
- objects: string[];
2185
- }>, z.ZodObject<{
432
+ objects: z.ZodArray<z.ZodString>;
433
+ }, z.core.$strict>, z.ZodObject<{
2186
434
  op: z.ZodLiteral<"clear">;
2187
- }, "strict", z.ZodTypeAny, {
2188
- op: "clear";
2189
- }, {
2190
- op: "clear";
2191
- }>]>, {
2192
- op: "set" | "add";
2193
- objects: string[];
2194
- } | {
2195
- op: "remove";
2196
- objects: string[];
2197
- } | {
2198
- op: "clear";
2199
- }, unknown>>;
2200
- arbitrations: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
2201
- op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
2202
- objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2203
- }, "strict", z.ZodTypeAny, {
2204
- op: "set" | "add";
2205
- objects: string[];
2206
- }, {
2207
- op: "set" | "add";
2208
- objects: string[];
2209
- }>, z.ZodObject<{
435
+ }, z.core.$strict>]>>>;
436
+ arbitrations: z.ZodOptional<z.ZodPreprocess<z.ZodUnion<readonly [z.ZodObject<{
437
+ op: z.ZodUnion<readonly [z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
438
+ objects: z.ZodArray<z.ZodString>;
439
+ }, z.core.$strict>, z.ZodObject<{
2210
440
  op: z.ZodLiteral<"remove">;
2211
- objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2212
- }, "strict", z.ZodTypeAny, {
2213
- op: "remove";
2214
- objects: string[];
2215
- }, {
2216
- op: "remove";
2217
- objects: string[];
2218
- }>, z.ZodObject<{
441
+ objects: z.ZodArray<z.ZodString>;
442
+ }, z.core.$strict>, z.ZodObject<{
2219
443
  op: z.ZodLiteral<"clear">;
2220
- }, "strict", z.ZodTypeAny, {
2221
- op: "clear";
2222
- }, {
2223
- op: "clear";
2224
- }>]>, {
2225
- op: "set" | "add";
2226
- objects: string[];
2227
- } | {
2228
- op: "remove";
2229
- objects: string[];
2230
- } | {
2231
- op: "clear";
2232
- }, unknown>>;
2233
- machine: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
444
+ }, z.core.$strict>]>>>;
445
+ machine: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2234
446
  discount: z.ZodOptional<z.ZodObject<{
2235
447
  name: z.ZodString;
2236
- discount_type: z.ZodUnion<[z.ZodEnum<["RATES", "FIXED"]>, z.ZodEffects<z.ZodNumber, "FIXED" | "RATES", number>]>;
2237
- discount_value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2238
- benchmark: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
448
+ discount_type: z.ZodUnion<readonly [z.ZodEnum<{
449
+ FIXED: "FIXED";
450
+ RATES: "RATES";
451
+ }>, z.ZodPipe<z.ZodNumber, z.ZodTransform<"FIXED" | "RATES", number>>]>;
452
+ discount_value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
453
+ benchmark: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
2239
454
  time_ms_start: z.ZodOptional<z.ZodNumber>;
2240
455
  time_ms_end: z.ZodNumber;
2241
456
  count: z.ZodNumber;
2242
457
  recipient: z.ZodObject<{
2243
458
  entities: z.ZodArray<z.ZodObject<{
2244
- name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
459
+ name_or_address: z.ZodOptional<z.ZodString>;
2245
460
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
2246
- }, "strict", z.ZodTypeAny, {
2247
- name_or_address?: string | undefined;
2248
- local_mark_first?: boolean | undefined;
2249
- }, {
2250
- name_or_address?: string | undefined;
2251
- local_mark_first?: boolean | undefined;
2252
- }>, "many">;
461
+ }, z.core.$strict>>;
2253
462
  check_all_founded: z.ZodOptional<z.ZodBoolean>;
2254
- }, "strict", z.ZodTypeAny, {
2255
- entities: {
2256
- name_or_address?: string | undefined;
2257
- local_mark_first?: boolean | undefined;
2258
- }[];
2259
- check_all_founded?: boolean | undefined;
2260
- }, {
2261
- entities: {
2262
- name_or_address?: string | undefined;
2263
- local_mark_first?: boolean | undefined;
2264
- }[];
2265
- check_all_founded?: boolean | undefined;
2266
- }>;
463
+ }, z.core.$strict>;
2267
464
  transferable: z.ZodBoolean;
2268
- }, "strict", z.ZodTypeAny, {
2269
- name: string;
2270
- recipient: {
2271
- entities: {
2272
- name_or_address?: string | undefined;
2273
- local_mark_first?: boolean | undefined;
2274
- }[];
2275
- check_all_founded?: boolean | undefined;
2276
- };
2277
- count: number;
2278
- discount_type: "FIXED" | "RATES";
2279
- transferable: boolean;
2280
- discount_value: string | number;
2281
- time_ms_end: number;
2282
- benchmark?: string | number | undefined;
2283
- time_ms_start?: number | undefined;
2284
- }, {
2285
- name: string;
2286
- recipient: {
2287
- entities: {
2288
- name_or_address?: string | undefined;
2289
- local_mark_first?: boolean | undefined;
2290
- }[];
2291
- check_all_founded?: boolean | undefined;
2292
- };
2293
- count: number;
2294
- discount_type: number | "FIXED" | "RATES";
2295
- transferable: boolean;
2296
- discount_value: string | number;
2297
- time_ms_end: number;
2298
- benchmark?: string | number | undefined;
2299
- time_ms_start?: number | undefined;
2300
- }>>;
2301
- discount_destroy: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
2302
- customer_required: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
2303
- order_allocators: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2304
- description: z.ZodEffects<z.ZodString, string, string>;
2305
- threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
465
+ }, z.core.$strict>>;
466
+ discount_destroy: z.ZodOptional<z.ZodArray<z.ZodString>>;
467
+ customer_required: z.ZodOptional<z.ZodArray<z.ZodString>>;
468
+ order_allocators: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
469
+ description: z.ZodString;
470
+ threshold: z.ZodDefault<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
2306
471
  allocators: z.ZodArray<z.ZodObject<{
2307
- guard: z.ZodEffects<z.ZodString, string, string>;
472
+ guard: z.ZodString;
2308
473
  sharing: z.ZodArray<z.ZodObject<{
2309
- who: z.ZodUnion<[z.ZodObject<{
474
+ who: z.ZodUnion<readonly [z.ZodObject<{
2310
475
  GuardIdentifier: z.ZodNumber;
2311
- }, "strip", z.ZodTypeAny, {
2312
- GuardIdentifier: number;
2313
- }, {
2314
- GuardIdentifier: number;
2315
- }>, z.ZodObject<{
476
+ }, z.core.$strip>, z.ZodObject<{
2316
477
  Entity: z.ZodObject<{
2317
- name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
478
+ name_or_address: z.ZodOptional<z.ZodString>;
2318
479
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
2319
- }, "strict", z.ZodTypeAny, {
2320
- name_or_address?: string | undefined;
2321
- local_mark_first?: boolean | undefined;
2322
- }, {
2323
- name_or_address?: string | undefined;
2324
- local_mark_first?: boolean | undefined;
2325
- }>;
2326
- }, "strip", z.ZodTypeAny, {
2327
- Entity: {
2328
- name_or_address?: string | undefined;
2329
- local_mark_first?: boolean | undefined;
2330
- };
2331
- }, {
2332
- Entity: {
2333
- name_or_address?: string | undefined;
2334
- local_mark_first?: boolean | undefined;
2335
- };
2336
- }>, z.ZodObject<{
480
+ }, z.core.$strict>;
481
+ }, z.core.$strip>, z.ZodObject<{
2337
482
  Signer: z.ZodLiteral<"signer">;
2338
- }, "strip", z.ZodTypeAny, {
2339
- Signer: "signer";
2340
- }, {
2341
- Signer: "signer";
2342
- }>]>;
2343
- sharing: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2344
- mode: z.ZodUnion<[z.ZodEnum<["Amount", "Rate", "Surplus"]>, z.ZodEffects<z.ZodNumber, "Amount" | "Rate" | "Surplus", number>]>;
2345
- }, "strip", z.ZodTypeAny, {
2346
- mode: "Amount" | "Rate" | "Surplus";
2347
- sharing: string | number;
2348
- who: {
2349
- GuardIdentifier: number;
2350
- } | {
2351
- Entity: {
2352
- name_or_address?: string | undefined;
2353
- local_mark_first?: boolean | undefined;
2354
- };
2355
- } | {
2356
- Signer: "signer";
2357
- };
2358
- }, {
2359
- mode: number | "Amount" | "Rate" | "Surplus";
2360
- sharing: string | number;
2361
- who: {
2362
- GuardIdentifier: number;
2363
- } | {
2364
- Entity: {
2365
- name_or_address?: string | undefined;
2366
- local_mark_first?: boolean | undefined;
2367
- };
2368
- } | {
2369
- Signer: "signer";
2370
- };
2371
- }>, "many">;
2372
- fix: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2373
- max: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodNumber, z.ZodString]>, z.ZodNull]>>;
2374
- }, "strip", z.ZodTypeAny, {
2375
- guard: string;
2376
- sharing: {
2377
- mode: "Amount" | "Rate" | "Surplus";
2378
- sharing: string | number;
2379
- who: {
2380
- GuardIdentifier: number;
2381
- } | {
2382
- Entity: {
2383
- name_or_address?: string | undefined;
2384
- local_mark_first?: boolean | undefined;
2385
- };
2386
- } | {
2387
- Signer: "signer";
2388
- };
2389
- }[];
2390
- max?: string | number | null | undefined;
2391
- fix?: string | number | undefined;
2392
- }, {
2393
- guard: string;
2394
- sharing: {
2395
- mode: number | "Amount" | "Rate" | "Surplus";
2396
- sharing: string | number;
2397
- who: {
2398
- GuardIdentifier: number;
2399
- } | {
2400
- Entity: {
2401
- name_or_address?: string | undefined;
2402
- local_mark_first?: boolean | undefined;
2403
- };
2404
- } | {
2405
- Signer: "signer";
2406
- };
2407
- }[];
2408
- max?: string | number | null | undefined;
2409
- fix?: string | number | undefined;
2410
- }>, "many">;
2411
- }, "strip", z.ZodTypeAny, {
2412
- description: string;
2413
- threshold: string | number;
2414
- allocators: {
2415
- guard: string;
2416
- sharing: {
2417
- mode: "Amount" | "Rate" | "Surplus";
2418
- sharing: string | number;
2419
- who: {
2420
- GuardIdentifier: number;
2421
- } | {
2422
- Entity: {
2423
- name_or_address?: string | undefined;
2424
- local_mark_first?: boolean | undefined;
2425
- };
2426
- } | {
2427
- Signer: "signer";
2428
- };
2429
- }[];
2430
- max?: string | number | null | undefined;
2431
- fix?: string | number | undefined;
2432
- }[];
2433
- }, {
2434
- description: string;
2435
- allocators: {
2436
- guard: string;
2437
- sharing: {
2438
- mode: number | "Amount" | "Rate" | "Surplus";
2439
- sharing: string | number;
2440
- who: {
2441
- GuardIdentifier: number;
2442
- } | {
2443
- Entity: {
2444
- name_or_address?: string | undefined;
2445
- local_mark_first?: boolean | undefined;
2446
- };
2447
- } | {
2448
- Signer: "signer";
2449
- };
2450
- }[];
2451
- max?: string | number | null | undefined;
2452
- fix?: string | number | undefined;
2453
- }[];
2454
- threshold?: string | number | undefined;
2455
- }>, z.ZodNull]>>;
2456
- buy_guard: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
2457
- compensation_fund_add: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2458
- balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2459
- }, "strip", z.ZodTypeAny, {
2460
- balance: string | number;
2461
- }, {
2462
- balance: string | number;
2463
- }>, z.ZodObject<{
483
+ }, z.core.$strip>]>;
484
+ sharing: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
485
+ mode: z.ZodUnion<readonly [z.ZodEnum<{
486
+ Amount: "Amount";
487
+ Rate: "Rate";
488
+ Surplus: "Surplus";
489
+ }>, z.ZodPipe<z.ZodNumber, z.ZodTransform<"Amount" | "Rate" | "Surplus", number>>]>;
490
+ }, z.core.$strip>>;
491
+ fix: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
492
+ max: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodNull]>>;
493
+ }, z.core.$strip>>;
494
+ }, z.core.$strip>, z.ZodNull]>>;
495
+ buy_guard: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
496
+ compensation_fund_add: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
497
+ balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
498
+ }, z.core.$strip>, z.ZodObject<{
2464
499
  coin: z.ZodString;
2465
- }, "strip", z.ZodTypeAny, {
2466
- coin: string;
2467
- }, {
2468
- coin: string;
2469
- }>]>>;
500
+ }, z.core.$strip>]>>;
2470
501
  compensation_fund_withdraw: z.ZodOptional<z.ZodObject<{
2471
502
  receipt: z.ZodObject<{
2472
- name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
503
+ name_or_address: z.ZodOptional<z.ZodString>;
2473
504
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
2474
- }, "strict", z.ZodTypeAny, {
2475
- name_or_address?: string | undefined;
2476
- local_mark_first?: boolean | undefined;
2477
- }, {
2478
- name_or_address?: string | undefined;
2479
- local_mark_first?: boolean | undefined;
2480
- }>;
505
+ }, z.core.$strict>;
2481
506
  payment_info: z.ZodObject<{
2482
- for_object: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
2483
- for_guard: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
507
+ for_object: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
508
+ for_guard: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2484
509
  remark: z.ZodString;
2485
- index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2486
- }, "strip", z.ZodTypeAny, {
2487
- index: string | number;
2488
- remark: string;
2489
- for_object?: string | null | undefined;
2490
- for_guard?: string | null | undefined;
2491
- }, {
2492
- index: string | number;
2493
- remark: string;
2494
- for_object?: string | null | undefined;
2495
- for_guard?: string | null | undefined;
2496
- }>;
2497
- }, "strict", z.ZodTypeAny, {
2498
- payment_info: {
2499
- index: string | number;
2500
- remark: string;
2501
- for_object?: string | null | undefined;
2502
- for_guard?: string | null | undefined;
2503
- };
2504
- receipt: {
2505
- name_or_address?: string | undefined;
2506
- local_mark_first?: boolean | undefined;
2507
- };
2508
- }, {
2509
- payment_info: {
2510
- index: string | number;
2511
- remark: string;
2512
- for_object?: string | null | undefined;
2513
- for_guard?: string | null | undefined;
2514
- };
2515
- receipt: {
2516
- name_or_address?: string | undefined;
2517
- local_mark_first?: boolean | undefined;
2518
- };
2519
- }>>;
510
+ index: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
511
+ }, z.core.$strip>;
512
+ }, z.core.$strict>>;
2520
513
  setting_lock_duration_add: z.ZodOptional<z.ZodNumber>;
2521
- compensation_fund_receive: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2522
- balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2523
- token_type: z.ZodEffects<z.ZodString, string, string>;
514
+ compensation_fund_receive: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
515
+ balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
516
+ token_type: z.ZodString;
2524
517
  received: z.ZodArray<z.ZodObject<{
2525
518
  id: z.ZodString;
2526
- balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
519
+ balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
2527
520
  payment: z.ZodString;
2528
- }, "strict", z.ZodTypeAny, {
2529
- id: string;
2530
- balance: string | number;
2531
- payment: string;
2532
- }, {
2533
- id: string;
2534
- balance: string | number;
2535
- payment: string;
2536
- }>, "many">;
2537
- }, "strict", z.ZodTypeAny, {
2538
- received: {
2539
- id: string;
2540
- balance: string | number;
2541
- payment: string;
2542
- }[];
2543
- balance: string | number;
2544
- token_type: string;
2545
- }, {
2546
- received: {
2547
- id: string;
2548
- balance: string | number;
2549
- payment: string;
2550
- }[];
2551
- balance: string | number;
2552
- token_type: string;
2553
- }>, z.ZodLiteral<"recently">]>>;
2554
- owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
521
+ }, z.core.$strict>>;
522
+ }, z.core.$strict>, z.ZodLiteral<"recently">]>>;
523
+ owner_receive: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
2555
524
  id: z.ZodString;
2556
525
  type: z.ZodString;
2557
526
  content_raw: z.ZodOptional<z.ZodAny>;
2558
- }, "strict", z.ZodTypeAny, {
2559
- type: string;
2560
- id: string;
2561
- content_raw?: any;
2562
- }, {
2563
- type: string;
2564
- id: string;
2565
- content_raw?: any;
2566
- }>, "many">, z.ZodObject<{
2567
- balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2568
- token_type: z.ZodEffects<z.ZodString, string, string>;
527
+ }, z.core.$strict>>, z.ZodObject<{
528
+ balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
529
+ token_type: z.ZodString;
2569
530
  received: z.ZodArray<z.ZodObject<{
2570
531
  id: z.ZodString;
2571
- balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
532
+ balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
2572
533
  payment: z.ZodString;
2573
- }, "strict", z.ZodTypeAny, {
2574
- id: string;
2575
- balance: string | number;
2576
- payment: string;
2577
- }, {
2578
- id: string;
2579
- balance: string | number;
2580
- payment: string;
2581
- }>, "many">;
2582
- }, "strict", z.ZodTypeAny, {
2583
- received: {
2584
- id: string;
2585
- balance: string | number;
2586
- payment: string;
2587
- }[];
2588
- balance: string | number;
2589
- token_type: string;
2590
- }, {
2591
- received: {
2592
- id: string;
2593
- balance: string | number;
2594
- payment: string;
2595
- }[];
2596
- balance: string | number;
2597
- token_type: string;
2598
- }>, z.ZodLiteral<"recently">]>>;
2599
- um: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
534
+ }, z.core.$strict>>;
535
+ }, z.core.$strict>, z.ZodLiteral<"recently">]>>;
536
+ um: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
2600
537
  pause: z.ZodOptional<z.ZodBoolean>;
2601
538
  publish: z.ZodOptional<z.ZodBoolean>;
2602
- }, "strict", z.ZodTypeAny, {
2603
- object: string | {
2604
- type_parameter: string;
2605
- name?: string | undefined;
2606
- permission?: string | {
2607
- name?: string | undefined;
2608
- description?: string | undefined;
2609
- replaceExistName?: boolean | undefined;
2610
- tags?: string[] | undefined;
2611
- onChain?: boolean | undefined;
2612
- } | undefined;
2613
- replaceExistName?: boolean | undefined;
2614
- tags?: string[] | undefined;
2615
- onChain?: boolean | undefined;
2616
- };
2617
- description?: string | undefined;
2618
- publish?: boolean | undefined;
2619
- buy_guard?: string | null | undefined;
2620
- machine?: string | null | undefined;
2621
- order_allocators?: {
2622
- description: string;
2623
- threshold: string | number;
2624
- allocators: {
2625
- guard: string;
2626
- sharing: {
2627
- mode: "Amount" | "Rate" | "Surplus";
2628
- sharing: string | number;
2629
- who: {
2630
- GuardIdentifier: number;
2631
- } | {
2632
- Entity: {
2633
- name_or_address?: string | undefined;
2634
- local_mark_first?: boolean | undefined;
2635
- };
2636
- } | {
2637
- Signer: "signer";
2638
- };
2639
- }[];
2640
- max?: string | number | null | undefined;
2641
- fix?: string | number | undefined;
2642
- }[];
2643
- } | null | undefined;
2644
- arbitrations?: {
2645
- op: "set" | "add";
2646
- objects: string[];
2647
- } | {
2648
- op: "remove";
2649
- objects: string[];
2650
- } | {
2651
- op: "clear";
2652
- } | undefined;
2653
- sales?: {
2654
- op: "add";
2655
- sales: {
2656
- name: string;
2657
- wip: string;
2658
- price: string | number;
2659
- wip_hash: string;
2660
- stock: string | number;
2661
- suspension: boolean;
2662
- }[];
2663
- } | {
2664
- op: "set";
2665
- sales: {
2666
- name: string;
2667
- wip: string;
2668
- price: string | number;
2669
- wip_hash: string;
2670
- stock: string | number;
2671
- suspension: boolean;
2672
- }[];
2673
- } | {
2674
- op: "remove";
2675
- sales_name: string[];
2676
- } | {
2677
- op: "clear";
2678
- } | undefined;
2679
- discount?: {
2680
- name: string;
2681
- recipient: {
2682
- entities: {
2683
- name_or_address?: string | undefined;
2684
- local_mark_first?: boolean | undefined;
2685
- }[];
2686
- check_all_founded?: boolean | undefined;
2687
- };
2688
- count: number;
2689
- discount_type: "FIXED" | "RATES";
2690
- transferable: boolean;
2691
- discount_value: string | number;
2692
- time_ms_end: number;
2693
- benchmark?: string | number | undefined;
2694
- time_ms_start?: number | undefined;
2695
- } | undefined;
2696
- rewards?: {
2697
- op: "set" | "add";
2698
- objects: string[];
2699
- } | {
2700
- op: "remove";
2701
- objects: string[];
2702
- } | {
2703
- op: "clear";
2704
- } | undefined;
2705
- pause?: boolean | undefined;
2706
- compensation_fund_receive?: {
2707
- received: {
2708
- id: string;
2709
- balance: string | number;
2710
- payment: string;
2711
- }[];
2712
- balance: string | number;
2713
- token_type: string;
2714
- } | "recently" | undefined;
2715
- compensation_fund_add?: {
2716
- balance: string | number;
2717
- } | {
2718
- coin: string;
2719
- } | undefined;
2720
- customer_required?: string[] | undefined;
2721
- um?: string | null | undefined;
2722
- owner_receive?: {
2723
- received: {
2724
- id: string;
2725
- balance: string | number;
2726
- payment: string;
2727
- }[];
2728
- balance: string | number;
2729
- token_type: string;
2730
- } | "recently" | {
2731
- type: string;
2732
- id: string;
2733
- content_raw?: any;
2734
- }[] | undefined;
2735
- repositories?: {
2736
- op: "set" | "add";
2737
- objects: string[];
2738
- } | {
2739
- op: "remove";
2740
- objects: string[];
2741
- } | {
2742
- op: "clear";
2743
- } | undefined;
2744
- location?: string | undefined;
2745
- compensation_fund_withdraw?: {
2746
- payment_info: {
2747
- index: string | number;
2748
- remark: string;
2749
- for_object?: string | null | undefined;
2750
- for_guard?: string | null | undefined;
2751
- };
2752
- receipt: {
2753
- name_or_address?: string | undefined;
2754
- local_mark_first?: boolean | undefined;
2755
- };
2756
- } | undefined;
2757
- setting_lock_duration_add?: number | undefined;
2758
- order_new?: {
2759
- buy: {
2760
- items: {
2761
- name: string;
2762
- wip_hash: string;
2763
- stock: string | number;
2764
- }[];
2765
- total_pay: {
2766
- balance: string | number;
2767
- } | {
2768
- coin: string;
2769
- };
2770
- discount?: string | undefined;
2771
- payment_remark?: string | undefined;
2772
- payment_index?: number | undefined;
2773
- };
2774
- transfer?: {
2775
- name_or_address?: string | undefined;
2776
- local_mark_first?: boolean | undefined;
2777
- } | undefined;
2778
- order_required_info?: string | undefined;
2779
- agents?: {
2780
- entities: {
2781
- name_or_address?: string | undefined;
2782
- local_mark_first?: boolean | undefined;
2783
- }[];
2784
- check_all_founded?: boolean | undefined;
2785
- } | undefined;
2786
- namedNewOrder?: {
2787
- name?: string | undefined;
2788
- replaceExistName?: boolean | undefined;
2789
- tags?: string[] | undefined;
2790
- onChain?: boolean | undefined;
2791
- } | undefined;
2792
- namedNewAllocation?: {
2793
- name?: string | undefined;
2794
- replaceExistName?: boolean | undefined;
2795
- tags?: string[] | undefined;
2796
- onChain?: boolean | undefined;
2797
- } | undefined;
2798
- namedNewProgress?: {
2799
- name?: string | undefined;
2800
- replaceExistName?: boolean | undefined;
2801
- tags?: string[] | undefined;
2802
- onChain?: boolean | undefined;
2803
- } | undefined;
2804
- } | undefined;
2805
- discount_destroy?: string[] | undefined;
2806
- }, {
2807
- object: string | {
2808
- name?: string | undefined;
2809
- permission?: string | {
2810
- name?: string | undefined;
2811
- description?: string | undefined;
2812
- replaceExistName?: boolean | undefined;
2813
- tags?: string[] | undefined;
2814
- onChain?: boolean | undefined;
2815
- } | undefined;
2816
- replaceExistName?: boolean | undefined;
2817
- tags?: string[] | undefined;
2818
- onChain?: boolean | undefined;
2819
- type_parameter?: string | undefined;
2820
- };
2821
- description?: string | undefined;
2822
- publish?: boolean | undefined;
2823
- buy_guard?: string | null | undefined;
2824
- machine?: string | null | undefined;
2825
- order_allocators?: {
2826
- description: string;
2827
- allocators: {
2828
- guard: string;
2829
- sharing: {
2830
- mode: number | "Amount" | "Rate" | "Surplus";
2831
- sharing: string | number;
2832
- who: {
2833
- GuardIdentifier: number;
2834
- } | {
2835
- Entity: {
2836
- name_or_address?: string | undefined;
2837
- local_mark_first?: boolean | undefined;
2838
- };
2839
- } | {
2840
- Signer: "signer";
2841
- };
2842
- }[];
2843
- max?: string | number | null | undefined;
2844
- fix?: string | number | undefined;
2845
- }[];
2846
- threshold?: string | number | undefined;
2847
- } | null | undefined;
2848
- arbitrations?: unknown;
2849
- sales?: {
2850
- op: "add";
2851
- sales: {
2852
- name: string;
2853
- wip: string;
2854
- price: string | number;
2855
- wip_hash: string;
2856
- stock: string | number;
2857
- suspension: boolean;
2858
- }[];
2859
- } | {
2860
- op: "set";
2861
- sales: {
2862
- name: string;
2863
- wip: string;
2864
- price: string | number;
2865
- wip_hash: string;
2866
- stock: string | number;
2867
- suspension: boolean;
2868
- }[];
2869
- } | {
2870
- op: "remove";
2871
- sales_name: string[];
2872
- } | {
2873
- op: "clear";
2874
- } | undefined;
2875
- discount?: {
2876
- name: string;
2877
- recipient: {
2878
- entities: {
2879
- name_or_address?: string | undefined;
2880
- local_mark_first?: boolean | undefined;
2881
- }[];
2882
- check_all_founded?: boolean | undefined;
2883
- };
2884
- count: number;
2885
- discount_type: number | "FIXED" | "RATES";
2886
- transferable: boolean;
2887
- discount_value: string | number;
2888
- time_ms_end: number;
2889
- benchmark?: string | number | undefined;
2890
- time_ms_start?: number | undefined;
2891
- } | undefined;
2892
- rewards?: unknown;
2893
- pause?: boolean | undefined;
2894
- compensation_fund_receive?: {
2895
- received: {
2896
- id: string;
2897
- balance: string | number;
2898
- payment: string;
2899
- }[];
2900
- balance: string | number;
2901
- token_type: string;
2902
- } | "recently" | undefined;
2903
- compensation_fund_add?: {
2904
- balance: string | number;
2905
- } | {
2906
- coin: string;
2907
- } | undefined;
2908
- customer_required?: string[] | undefined;
2909
- um?: string | null | undefined;
2910
- owner_receive?: {
2911
- received: {
2912
- id: string;
2913
- balance: string | number;
2914
- payment: string;
2915
- }[];
2916
- balance: string | number;
2917
- token_type: string;
2918
- } | "recently" | {
2919
- type: string;
2920
- id: string;
2921
- content_raw?: any;
2922
- }[] | undefined;
2923
- repositories?: unknown;
2924
- location?: string | undefined;
2925
- compensation_fund_withdraw?: {
2926
- payment_info: {
2927
- index: string | number;
2928
- remark: string;
2929
- for_object?: string | null | undefined;
2930
- for_guard?: string | null | undefined;
2931
- };
2932
- receipt: {
2933
- name_or_address?: string | undefined;
2934
- local_mark_first?: boolean | undefined;
2935
- };
2936
- } | undefined;
2937
- setting_lock_duration_add?: number | undefined;
2938
- order_new?: {
2939
- buy: {
2940
- items: {
2941
- name: string;
2942
- wip_hash: string;
2943
- stock: string | number;
2944
- }[];
2945
- total_pay: {
2946
- balance: string | number;
2947
- } | {
2948
- coin: string;
2949
- };
2950
- discount?: string | undefined;
2951
- payment_remark?: string | undefined;
2952
- payment_index?: number | undefined;
2953
- };
2954
- transfer?: {
2955
- name_or_address?: string | undefined;
2956
- local_mark_first?: boolean | undefined;
2957
- } | undefined;
2958
- order_required_info?: string | undefined;
2959
- agents?: {
2960
- entities: {
2961
- name_or_address?: string | undefined;
2962
- local_mark_first?: boolean | undefined;
2963
- }[];
2964
- check_all_founded?: boolean | undefined;
2965
- } | undefined;
2966
- namedNewOrder?: {
2967
- name?: string | undefined;
2968
- replaceExistName?: boolean | undefined;
2969
- tags?: string[] | undefined;
2970
- onChain?: boolean | undefined;
2971
- } | undefined;
2972
- namedNewAllocation?: {
2973
- name?: string | undefined;
2974
- replaceExistName?: boolean | undefined;
2975
- tags?: string[] | undefined;
2976
- onChain?: boolean | undefined;
2977
- } | undefined;
2978
- namedNewProgress?: {
2979
- name?: string | undefined;
2980
- replaceExistName?: boolean | undefined;
2981
- tags?: string[] | undefined;
2982
- onChain?: boolean | undefined;
2983
- } | undefined;
2984
- } | undefined;
2985
- discount_destroy?: string[] | undefined;
2986
- }>;
539
+ }, z.core.$strict>;
2987
540
  env: z.ZodOptional<z.ZodObject<{
2988
- account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
2989
- permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
541
+ account: z.ZodDefault<z.ZodOptional<z.ZodString>>;
542
+ permission_guard: z.ZodOptional<z.ZodArray<z.ZodString>>;
2990
543
  no_cache: z.ZodOptional<z.ZodBoolean>;
2991
- network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
2992
- referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
544
+ network: z.ZodOptional<z.ZodEnum<{
545
+ testnet: import("@wowok/wowok").ENTRYPOINT.Testnet;
546
+ localnet: import("@wowok/wowok").ENTRYPOINT.Localnet;
547
+ mainnet: import("@wowok/wowok").ENTRYPOINT.Mainnet;
548
+ }>>;
549
+ referrer: z.ZodOptional<z.ZodString>;
2993
550
  confirmed: z.ZodOptional<z.ZodBoolean>;
2994
- user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
551
+ user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString>>;
2995
552
  project: z.ZodOptional<z.ZodString>;
2996
553
  client_schema_version: z.ZodOptional<z.ZodString>;
2997
554
  schema_strict_mode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2998
555
  dry_run: z.ZodOptional<z.ZodBoolean>;
2999
- }, "strict", z.ZodTypeAny, {
3000
- account: string;
3001
- schema_strict_mode: boolean;
3002
- no_cache?: boolean | undefined;
3003
- network?: import("@wowok/wowok").ENTRYPOINT | undefined;
3004
- permission_guard?: string[] | undefined;
3005
- referrer?: string | undefined;
3006
- confirmed?: boolean | undefined;
3007
- user_intent_phrases?: string[] | undefined;
3008
- project?: string | undefined;
3009
- client_schema_version?: string | undefined;
3010
- dry_run?: boolean | undefined;
3011
- }, {
3012
- no_cache?: boolean | undefined;
3013
- network?: import("@wowok/wowok").ENTRYPOINT | undefined;
3014
- account?: string | undefined;
3015
- permission_guard?: string[] | undefined;
3016
- referrer?: string | undefined;
3017
- confirmed?: boolean | undefined;
3018
- user_intent_phrases?: string[] | undefined;
3019
- project?: string | undefined;
3020
- client_schema_version?: string | undefined;
3021
- schema_strict_mode?: boolean | undefined;
3022
- dry_run?: boolean | undefined;
3023
- }>>;
556
+ }, z.core.$strict>>;
3024
557
  submission: z.ZodOptional<z.ZodObject<{
3025
558
  type: z.ZodLiteral<"submission">;
3026
559
  guard: z.ZodArray<z.ZodObject<{
3027
- object: z.ZodEffects<z.ZodString, string, string>;
560
+ object: z.ZodString;
3028
561
  impack: z.ZodBoolean;
3029
- }, "strict", z.ZodTypeAny, {
3030
- object: string;
3031
- impack: boolean;
3032
- }, {
3033
- object: string;
3034
- impack: boolean;
3035
- }>, "many">;
562
+ }, z.core.$strict>>;
3036
563
  submission: z.ZodArray<z.ZodObject<{
3037
- guard: z.ZodEffects<z.ZodString, string, string>;
564
+ guard: z.ZodString;
3038
565
  submission: z.ZodArray<z.ZodObject<{
3039
566
  identifier: z.ZodNumber;
3040
567
  b_submission: z.ZodBoolean;
3041
- value_type: z.ZodUnion<[z.ZodLiteral<import("@wowok/wowok").ValueType.Bool>, z.ZodLiteral<import("@wowok/wowok").ValueType.Address>, z.ZodLiteral<import("@wowok/wowok").ValueType.String>, z.ZodLiteral<import("@wowok/wowok").ValueType.U8>, z.ZodLiteral<import("@wowok/wowok").ValueType.U16>, z.ZodLiteral<import("@wowok/wowok").ValueType.U32>, z.ZodLiteral<import("@wowok/wowok").ValueType.U64>, z.ZodLiteral<import("@wowok/wowok").ValueType.U128>, z.ZodLiteral<import("@wowok/wowok").ValueType.U256>, z.ZodLiteral<import("@wowok/wowok").ValueType.VecBool>, z.ZodLiteral<import("@wowok/wowok").ValueType.VecAddress>, z.ZodLiteral<import("@wowok/wowok").ValueType.VecString>, z.ZodLiteral<import("@wowok/wowok").ValueType.VecU8>, z.ZodLiteral<import("@wowok/wowok").ValueType.VecU16>, z.ZodLiteral<import("@wowok/wowok").ValueType.VecU32>, z.ZodLiteral<import("@wowok/wowok").ValueType.VecU64>, z.ZodLiteral<import("@wowok/wowok").ValueType.VecU128>, z.ZodLiteral<import("@wowok/wowok").ValueType.VecU256>, z.ZodLiteral<import("@wowok/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">]>;
3042
- value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
3043
- name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
568
+ value_type: z.ZodUnion<readonly [z.ZodLiteral<import("@wowok/wowok").ValueType.Bool>, z.ZodLiteral<import("@wowok/wowok").ValueType.Address>, z.ZodLiteral<import("@wowok/wowok").ValueType.String>, z.ZodLiteral<import("@wowok/wowok").ValueType.U8>, z.ZodLiteral<import("@wowok/wowok").ValueType.U16>, z.ZodLiteral<import("@wowok/wowok").ValueType.U32>, z.ZodLiteral<import("@wowok/wowok").ValueType.U64>, z.ZodLiteral<import("@wowok/wowok").ValueType.U128>, z.ZodLiteral<import("@wowok/wowok").ValueType.U256>, z.ZodLiteral<import("@wowok/wowok").ValueType.VecBool>, z.ZodLiteral<import("@wowok/wowok").ValueType.VecAddress>, z.ZodLiteral<import("@wowok/wowok").ValueType.VecString>, z.ZodLiteral<import("@wowok/wowok").ValueType.VecU8>, z.ZodLiteral<import("@wowok/wowok").ValueType.VecU16>, z.ZodLiteral<import("@wowok/wowok").ValueType.VecU32>, z.ZodLiteral<import("@wowok/wowok").ValueType.VecU64>, z.ZodLiteral<import("@wowok/wowok").ValueType.VecU128>, z.ZodLiteral<import("@wowok/wowok").ValueType.VecU256>, z.ZodLiteral<import("@wowok/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">]>;
569
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodUnion<readonly [z.ZodObject<{
570
+ name_or_address: z.ZodOptional<z.ZodString>;
3044
571
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
3045
- }, "strict", z.ZodTypeAny, {
3046
- name_or_address?: string | undefined;
3047
- local_mark_first?: boolean | undefined;
3048
- }, {
3049
- name_or_address?: string | undefined;
3050
- local_mark_first?: boolean | undefined;
3051
- }>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean, "many">, z.ZodUnion<[z.ZodObject<{
572
+ }, z.core.$strict>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean>, z.ZodUnion<readonly [z.ZodObject<{
3052
573
  entities: z.ZodArray<z.ZodObject<{
3053
- name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
574
+ name_or_address: z.ZodOptional<z.ZodString>;
3054
575
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
3055
- }, "strict", z.ZodTypeAny, {
3056
- name_or_address?: string | undefined;
3057
- local_mark_first?: boolean | undefined;
3058
- }, {
3059
- name_or_address?: string | undefined;
3060
- local_mark_first?: boolean | undefined;
3061
- }>, "many">;
576
+ }, z.core.$strict>>;
3062
577
  check_all_founded: z.ZodOptional<z.ZodBoolean>;
3063
- }, "strict", z.ZodTypeAny, {
3064
- entities: {
3065
- name_or_address?: string | undefined;
3066
- local_mark_first?: boolean | undefined;
3067
- }[];
3068
- check_all_founded?: boolean | undefined;
3069
- }, {
3070
- entities: {
3071
- name_or_address?: string | undefined;
3072
- local_mark_first?: boolean | undefined;
3073
- }[];
3074
- check_all_founded?: boolean | undefined;
3075
- }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>>;
578
+ }, z.core.$strict>, z.ZodArray<z.ZodString>]>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.ZodArray<z.ZodNumber>>]>>;
3076
579
  name: z.ZodDefault<z.ZodString>;
3077
- } & {
3078
- object_type: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ObjectType.Permission, import("@wowok/wowok").ObjectType.Repository, import("@wowok/wowok").ObjectType.Arb, import("@wowok/wowok").ObjectType.Arbitration, import("@wowok/wowok").ObjectType.Service, import("@wowok/wowok").ObjectType.Machine, import("@wowok/wowok").ObjectType.Order, import("@wowok/wowok").ObjectType.Progress, import("@wowok/wowok").ObjectType.Payment, import("@wowok/wowok").ObjectType.Treasury, import("@wowok/wowok").ObjectType.Guard, import("@wowok/wowok").ObjectType.Demand, import("@wowok/wowok").ObjectType.Passport, import("@wowok/wowok").ObjectType.Allocation, import("@wowok/wowok").ObjectType.Resource, import("@wowok/wowok").ObjectType.Reward, import("@wowok/wowok").ObjectType.Discount, import("@wowok/wowok").ObjectType.EntityRegistrar, import("@wowok/wowok").ObjectType.EntityLinker, import("@wowok/wowok").ObjectType.Proof, import("@wowok/wowok").ObjectType.WReceivedObject, import("@wowok/wowok").ObjectType.Contact, import("@wowok/wowok").ObjectType.TableItem_ProgressHistory, import("@wowok/wowok").ObjectType.TableItem_PermissionPerm, import("@wowok/wowok").ObjectType.TableItem_DemandPresenter, import("@wowok/wowok").ObjectType.TableItem_MachineNode, import("@wowok/wowok").ObjectType.TableItem_TreasuryHistory, import("@wowok/wowok").ObjectType.TableItem_RepositoryData, import("@wowok/wowok").ObjectType.TableItem_RewardRecord, import("@wowok/wowok").ObjectType.TableItem_EntityLinker, import("@wowok/wowok").ObjectType.TableItem_AddressMark, import("@wowok/wowok").ObjectType.TableItem_EntityRegistrar]>>;
3079
- }, "strict", z.ZodTypeAny, {
3080
- identifier: number;
3081
- b_submission: boolean;
3082
- value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("@wowok/wowok").ValueType.Bool | import("@wowok/wowok").ValueType.Address | import("@wowok/wowok").ValueType.String | import("@wowok/wowok").ValueType.U8 | import("@wowok/wowok").ValueType.U16 | import("@wowok/wowok").ValueType.U32 | import("@wowok/wowok").ValueType.U64 | import("@wowok/wowok").ValueType.U128 | import("@wowok/wowok").ValueType.U256 | import("@wowok/wowok").ValueType.VecBool | import("@wowok/wowok").ValueType.VecAddress | import("@wowok/wowok").ValueType.VecString | import("@wowok/wowok").ValueType.VecU8 | import("@wowok/wowok").ValueType.VecU16 | import("@wowok/wowok").ValueType.VecU32 | import("@wowok/wowok").ValueType.VecU64 | import("@wowok/wowok").ValueType.VecU128 | import("@wowok/wowok").ValueType.VecU256 | import("@wowok/wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
3083
- name: string;
3084
- value?: string | number | boolean | {
3085
- name_or_address?: string | undefined;
3086
- local_mark_first?: boolean | undefined;
3087
- } | {
3088
- entities: {
3089
- name_or_address?: string | undefined;
3090
- local_mark_first?: boolean | undefined;
3091
- }[];
3092
- check_all_founded?: boolean | undefined;
3093
- } | string[] | boolean[] | number[] | number[][] | undefined;
3094
- object_type?: import("@wowok/wowok").ObjectType | undefined;
3095
- }, {
3096
- identifier: number;
3097
- b_submission: boolean;
3098
- value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("@wowok/wowok").ValueType.Bool | import("@wowok/wowok").ValueType.Address | import("@wowok/wowok").ValueType.String | import("@wowok/wowok").ValueType.U8 | import("@wowok/wowok").ValueType.U16 | import("@wowok/wowok").ValueType.U32 | import("@wowok/wowok").ValueType.U64 | import("@wowok/wowok").ValueType.U128 | import("@wowok/wowok").ValueType.U256 | import("@wowok/wowok").ValueType.VecBool | import("@wowok/wowok").ValueType.VecAddress | import("@wowok/wowok").ValueType.VecString | import("@wowok/wowok").ValueType.VecU8 | import("@wowok/wowok").ValueType.VecU16 | import("@wowok/wowok").ValueType.VecU32 | import("@wowok/wowok").ValueType.VecU64 | import("@wowok/wowok").ValueType.VecU128 | import("@wowok/wowok").ValueType.VecU256 | import("@wowok/wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
3099
- value?: string | number | boolean | {
3100
- name_or_address?: string | undefined;
3101
- local_mark_first?: boolean | undefined;
3102
- } | {
3103
- entities: {
3104
- name_or_address?: string | undefined;
3105
- local_mark_first?: boolean | undefined;
3106
- }[];
3107
- check_all_founded?: boolean | undefined;
3108
- } | string[] | boolean[] | number[] | number[][] | undefined;
3109
- name?: string | undefined;
3110
- object_type?: import("@wowok/wowok").ObjectType | undefined;
3111
- }>, "many">;
3112
- }, "strict", z.ZodTypeAny, {
3113
- guard: string;
3114
- submission: {
3115
- identifier: number;
3116
- b_submission: boolean;
3117
- value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("@wowok/wowok").ValueType.Bool | import("@wowok/wowok").ValueType.Address | import("@wowok/wowok").ValueType.String | import("@wowok/wowok").ValueType.U8 | import("@wowok/wowok").ValueType.U16 | import("@wowok/wowok").ValueType.U32 | import("@wowok/wowok").ValueType.U64 | import("@wowok/wowok").ValueType.U128 | import("@wowok/wowok").ValueType.U256 | import("@wowok/wowok").ValueType.VecBool | import("@wowok/wowok").ValueType.VecAddress | import("@wowok/wowok").ValueType.VecString | import("@wowok/wowok").ValueType.VecU8 | import("@wowok/wowok").ValueType.VecU16 | import("@wowok/wowok").ValueType.VecU32 | import("@wowok/wowok").ValueType.VecU64 | import("@wowok/wowok").ValueType.VecU128 | import("@wowok/wowok").ValueType.VecU256 | import("@wowok/wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
3118
- name: string;
3119
- value?: string | number | boolean | {
3120
- name_or_address?: string | undefined;
3121
- local_mark_first?: boolean | undefined;
3122
- } | {
3123
- entities: {
3124
- name_or_address?: string | undefined;
3125
- local_mark_first?: boolean | undefined;
3126
- }[];
3127
- check_all_founded?: boolean | undefined;
3128
- } | string[] | boolean[] | number[] | number[][] | undefined;
3129
- object_type?: import("@wowok/wowok").ObjectType | undefined;
3130
- }[];
3131
- }, {
3132
- guard: string;
3133
- submission: {
3134
- identifier: number;
3135
- b_submission: boolean;
3136
- value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("@wowok/wowok").ValueType.Bool | import("@wowok/wowok").ValueType.Address | import("@wowok/wowok").ValueType.String | import("@wowok/wowok").ValueType.U8 | import("@wowok/wowok").ValueType.U16 | import("@wowok/wowok").ValueType.U32 | import("@wowok/wowok").ValueType.U64 | import("@wowok/wowok").ValueType.U128 | import("@wowok/wowok").ValueType.U256 | import("@wowok/wowok").ValueType.VecBool | import("@wowok/wowok").ValueType.VecAddress | import("@wowok/wowok").ValueType.VecString | import("@wowok/wowok").ValueType.VecU8 | import("@wowok/wowok").ValueType.VecU16 | import("@wowok/wowok").ValueType.VecU32 | import("@wowok/wowok").ValueType.VecU64 | import("@wowok/wowok").ValueType.VecU128 | import("@wowok/wowok").ValueType.VecU256 | import("@wowok/wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
3137
- value?: string | number | boolean | {
3138
- name_or_address?: string | undefined;
3139
- local_mark_first?: boolean | undefined;
3140
- } | {
3141
- entities: {
3142
- name_or_address?: string | undefined;
3143
- local_mark_first?: boolean | undefined;
3144
- }[];
3145
- check_all_founded?: boolean | undefined;
3146
- } | string[] | boolean[] | number[] | number[][] | undefined;
3147
- name?: string | undefined;
3148
- object_type?: import("@wowok/wowok").ObjectType | undefined;
3149
- }[];
3150
- }>, "many">;
3151
- }, "strict", z.ZodTypeAny, {
3152
- type: "submission";
3153
- guard: {
3154
- object: string;
3155
- impack: boolean;
3156
- }[];
3157
- submission: {
3158
- guard: string;
3159
- submission: {
3160
- identifier: number;
3161
- b_submission: boolean;
3162
- value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("@wowok/wowok").ValueType.Bool | import("@wowok/wowok").ValueType.Address | import("@wowok/wowok").ValueType.String | import("@wowok/wowok").ValueType.U8 | import("@wowok/wowok").ValueType.U16 | import("@wowok/wowok").ValueType.U32 | import("@wowok/wowok").ValueType.U64 | import("@wowok/wowok").ValueType.U128 | import("@wowok/wowok").ValueType.U256 | import("@wowok/wowok").ValueType.VecBool | import("@wowok/wowok").ValueType.VecAddress | import("@wowok/wowok").ValueType.VecString | import("@wowok/wowok").ValueType.VecU8 | import("@wowok/wowok").ValueType.VecU16 | import("@wowok/wowok").ValueType.VecU32 | import("@wowok/wowok").ValueType.VecU64 | import("@wowok/wowok").ValueType.VecU128 | import("@wowok/wowok").ValueType.VecU256 | import("@wowok/wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
3163
- name: string;
3164
- value?: string | number | boolean | {
3165
- name_or_address?: string | undefined;
3166
- local_mark_first?: boolean | undefined;
3167
- } | {
3168
- entities: {
3169
- name_or_address?: string | undefined;
3170
- local_mark_first?: boolean | undefined;
3171
- }[];
3172
- check_all_founded?: boolean | undefined;
3173
- } | string[] | boolean[] | number[] | number[][] | undefined;
3174
- object_type?: import("@wowok/wowok").ObjectType | undefined;
3175
- }[];
3176
- }[];
3177
- }, {
3178
- type: "submission";
3179
- guard: {
3180
- object: string;
3181
- impack: boolean;
3182
- }[];
3183
- submission: {
3184
- guard: string;
3185
- submission: {
3186
- identifier: number;
3187
- b_submission: boolean;
3188
- value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("@wowok/wowok").ValueType.Bool | import("@wowok/wowok").ValueType.Address | import("@wowok/wowok").ValueType.String | import("@wowok/wowok").ValueType.U8 | import("@wowok/wowok").ValueType.U16 | import("@wowok/wowok").ValueType.U32 | import("@wowok/wowok").ValueType.U64 | import("@wowok/wowok").ValueType.U128 | import("@wowok/wowok").ValueType.U256 | import("@wowok/wowok").ValueType.VecBool | import("@wowok/wowok").ValueType.VecAddress | import("@wowok/wowok").ValueType.VecString | import("@wowok/wowok").ValueType.VecU8 | import("@wowok/wowok").ValueType.VecU16 | import("@wowok/wowok").ValueType.VecU32 | import("@wowok/wowok").ValueType.VecU64 | import("@wowok/wowok").ValueType.VecU128 | import("@wowok/wowok").ValueType.VecU256 | import("@wowok/wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
3189
- value?: string | number | boolean | {
3190
- name_or_address?: string | undefined;
3191
- local_mark_first?: boolean | undefined;
3192
- } | {
3193
- entities: {
3194
- name_or_address?: string | undefined;
3195
- local_mark_first?: boolean | undefined;
3196
- }[];
3197
- check_all_founded?: boolean | undefined;
3198
- } | string[] | boolean[] | number[] | number[][] | undefined;
3199
- name?: string | undefined;
3200
- object_type?: import("@wowok/wowok").ObjectType | undefined;
3201
- }[];
3202
- }[];
3203
- }>>;
3204
- }, "strict", z.ZodTypeAny, {
3205
- data: {
3206
- object: string | {
3207
- type_parameter: string;
3208
- name?: string | undefined;
3209
- permission?: string | {
3210
- name?: string | undefined;
3211
- description?: string | undefined;
3212
- replaceExistName?: boolean | undefined;
3213
- tags?: string[] | undefined;
3214
- onChain?: boolean | undefined;
3215
- } | undefined;
3216
- replaceExistName?: boolean | undefined;
3217
- tags?: string[] | undefined;
3218
- onChain?: boolean | undefined;
3219
- };
3220
- description?: string | undefined;
3221
- publish?: boolean | undefined;
3222
- buy_guard?: string | null | undefined;
3223
- machine?: string | null | undefined;
3224
- order_allocators?: {
3225
- description: string;
3226
- threshold: string | number;
3227
- allocators: {
3228
- guard: string;
3229
- sharing: {
3230
- mode: "Amount" | "Rate" | "Surplus";
3231
- sharing: string | number;
3232
- who: {
3233
- GuardIdentifier: number;
3234
- } | {
3235
- Entity: {
3236
- name_or_address?: string | undefined;
3237
- local_mark_first?: boolean | undefined;
3238
- };
3239
- } | {
3240
- Signer: "signer";
3241
- };
3242
- }[];
3243
- max?: string | number | null | undefined;
3244
- fix?: string | number | undefined;
3245
- }[];
3246
- } | null | undefined;
3247
- arbitrations?: {
3248
- op: "set" | "add";
3249
- objects: string[];
3250
- } | {
3251
- op: "remove";
3252
- objects: string[];
3253
- } | {
3254
- op: "clear";
3255
- } | undefined;
3256
- sales?: {
3257
- op: "add";
3258
- sales: {
3259
- name: string;
3260
- wip: string;
3261
- price: string | number;
3262
- wip_hash: string;
3263
- stock: string | number;
3264
- suspension: boolean;
3265
- }[];
3266
- } | {
3267
- op: "set";
3268
- sales: {
3269
- name: string;
3270
- wip: string;
3271
- price: string | number;
3272
- wip_hash: string;
3273
- stock: string | number;
3274
- suspension: boolean;
3275
- }[];
3276
- } | {
3277
- op: "remove";
3278
- sales_name: string[];
3279
- } | {
3280
- op: "clear";
3281
- } | undefined;
3282
- discount?: {
3283
- name: string;
3284
- recipient: {
3285
- entities: {
3286
- name_or_address?: string | undefined;
3287
- local_mark_first?: boolean | undefined;
3288
- }[];
3289
- check_all_founded?: boolean | undefined;
3290
- };
3291
- count: number;
3292
- discount_type: "FIXED" | "RATES";
3293
- transferable: boolean;
3294
- discount_value: string | number;
3295
- time_ms_end: number;
3296
- benchmark?: string | number | undefined;
3297
- time_ms_start?: number | undefined;
3298
- } | undefined;
3299
- rewards?: {
3300
- op: "set" | "add";
3301
- objects: string[];
3302
- } | {
3303
- op: "remove";
3304
- objects: string[];
3305
- } | {
3306
- op: "clear";
3307
- } | undefined;
3308
- pause?: boolean | undefined;
3309
- compensation_fund_receive?: {
3310
- received: {
3311
- id: string;
3312
- balance: string | number;
3313
- payment: string;
3314
- }[];
3315
- balance: string | number;
3316
- token_type: string;
3317
- } | "recently" | undefined;
3318
- compensation_fund_add?: {
3319
- balance: string | number;
3320
- } | {
3321
- coin: string;
3322
- } | undefined;
3323
- customer_required?: string[] | undefined;
3324
- um?: string | null | undefined;
3325
- owner_receive?: {
3326
- received: {
3327
- id: string;
3328
- balance: string | number;
3329
- payment: string;
3330
- }[];
3331
- balance: string | number;
3332
- token_type: string;
3333
- } | "recently" | {
3334
- type: string;
3335
- id: string;
3336
- content_raw?: any;
3337
- }[] | undefined;
3338
- repositories?: {
3339
- op: "set" | "add";
3340
- objects: string[];
3341
- } | {
3342
- op: "remove";
3343
- objects: string[];
3344
- } | {
3345
- op: "clear";
3346
- } | undefined;
3347
- location?: string | undefined;
3348
- compensation_fund_withdraw?: {
3349
- payment_info: {
3350
- index: string | number;
3351
- remark: string;
3352
- for_object?: string | null | undefined;
3353
- for_guard?: string | null | undefined;
3354
- };
3355
- receipt: {
3356
- name_or_address?: string | undefined;
3357
- local_mark_first?: boolean | undefined;
3358
- };
3359
- } | undefined;
3360
- setting_lock_duration_add?: number | undefined;
3361
- order_new?: {
3362
- buy: {
3363
- items: {
3364
- name: string;
3365
- wip_hash: string;
3366
- stock: string | number;
3367
- }[];
3368
- total_pay: {
3369
- balance: string | number;
3370
- } | {
3371
- coin: string;
3372
- };
3373
- discount?: string | undefined;
3374
- payment_remark?: string | undefined;
3375
- payment_index?: number | undefined;
3376
- };
3377
- transfer?: {
3378
- name_or_address?: string | undefined;
3379
- local_mark_first?: boolean | undefined;
3380
- } | undefined;
3381
- order_required_info?: string | undefined;
3382
- agents?: {
3383
- entities: {
3384
- name_or_address?: string | undefined;
3385
- local_mark_first?: boolean | undefined;
3386
- }[];
3387
- check_all_founded?: boolean | undefined;
3388
- } | undefined;
3389
- namedNewOrder?: {
3390
- name?: string | undefined;
3391
- replaceExistName?: boolean | undefined;
3392
- tags?: string[] | undefined;
3393
- onChain?: boolean | undefined;
3394
- } | undefined;
3395
- namedNewAllocation?: {
3396
- name?: string | undefined;
3397
- replaceExistName?: boolean | undefined;
3398
- tags?: string[] | undefined;
3399
- onChain?: boolean | undefined;
3400
- } | undefined;
3401
- namedNewProgress?: {
3402
- name?: string | undefined;
3403
- replaceExistName?: boolean | undefined;
3404
- tags?: string[] | undefined;
3405
- onChain?: boolean | undefined;
3406
- } | undefined;
3407
- } | undefined;
3408
- discount_destroy?: string[] | undefined;
3409
- };
3410
- submission?: {
3411
- type: "submission";
3412
- guard: {
3413
- object: string;
3414
- impack: boolean;
3415
- }[];
3416
- submission: {
3417
- guard: string;
3418
- submission: {
3419
- identifier: number;
3420
- b_submission: boolean;
3421
- value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("@wowok/wowok").ValueType.Bool | import("@wowok/wowok").ValueType.Address | import("@wowok/wowok").ValueType.String | import("@wowok/wowok").ValueType.U8 | import("@wowok/wowok").ValueType.U16 | import("@wowok/wowok").ValueType.U32 | import("@wowok/wowok").ValueType.U64 | import("@wowok/wowok").ValueType.U128 | import("@wowok/wowok").ValueType.U256 | import("@wowok/wowok").ValueType.VecBool | import("@wowok/wowok").ValueType.VecAddress | import("@wowok/wowok").ValueType.VecString | import("@wowok/wowok").ValueType.VecU8 | import("@wowok/wowok").ValueType.VecU16 | import("@wowok/wowok").ValueType.VecU32 | import("@wowok/wowok").ValueType.VecU64 | import("@wowok/wowok").ValueType.VecU128 | import("@wowok/wowok").ValueType.VecU256 | import("@wowok/wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
3422
- name: string;
3423
- value?: string | number | boolean | {
3424
- name_or_address?: string | undefined;
3425
- local_mark_first?: boolean | undefined;
3426
- } | {
3427
- entities: {
3428
- name_or_address?: string | undefined;
3429
- local_mark_first?: boolean | undefined;
3430
- }[];
3431
- check_all_founded?: boolean | undefined;
3432
- } | string[] | boolean[] | number[] | number[][] | undefined;
3433
- object_type?: import("@wowok/wowok").ObjectType | undefined;
3434
- }[];
3435
- }[];
3436
- } | undefined;
3437
- env?: {
3438
- account: string;
3439
- schema_strict_mode: boolean;
3440
- no_cache?: boolean | undefined;
3441
- network?: import("@wowok/wowok").ENTRYPOINT | undefined;
3442
- permission_guard?: string[] | undefined;
3443
- referrer?: string | undefined;
3444
- confirmed?: boolean | undefined;
3445
- user_intent_phrases?: string[] | undefined;
3446
- project?: string | undefined;
3447
- client_schema_version?: string | undefined;
3448
- dry_run?: boolean | undefined;
3449
- } | undefined;
3450
- }, {
3451
- data: {
3452
- object: string | {
3453
- name?: string | undefined;
3454
- permission?: string | {
3455
- name?: string | undefined;
3456
- description?: string | undefined;
3457
- replaceExistName?: boolean | undefined;
3458
- tags?: string[] | undefined;
3459
- onChain?: boolean | undefined;
3460
- } | undefined;
3461
- replaceExistName?: boolean | undefined;
3462
- tags?: string[] | undefined;
3463
- onChain?: boolean | undefined;
3464
- type_parameter?: string | undefined;
3465
- };
3466
- description?: string | undefined;
3467
- publish?: boolean | undefined;
3468
- buy_guard?: string | null | undefined;
3469
- machine?: string | null | undefined;
3470
- order_allocators?: {
3471
- description: string;
3472
- allocators: {
3473
- guard: string;
3474
- sharing: {
3475
- mode: number | "Amount" | "Rate" | "Surplus";
3476
- sharing: string | number;
3477
- who: {
3478
- GuardIdentifier: number;
3479
- } | {
3480
- Entity: {
3481
- name_or_address?: string | undefined;
3482
- local_mark_first?: boolean | undefined;
3483
- };
3484
- } | {
3485
- Signer: "signer";
3486
- };
3487
- }[];
3488
- max?: string | number | null | undefined;
3489
- fix?: string | number | undefined;
3490
- }[];
3491
- threshold?: string | number | undefined;
3492
- } | null | undefined;
3493
- arbitrations?: unknown;
3494
- sales?: {
3495
- op: "add";
3496
- sales: {
3497
- name: string;
3498
- wip: string;
3499
- price: string | number;
3500
- wip_hash: string;
3501
- stock: string | number;
3502
- suspension: boolean;
3503
- }[];
3504
- } | {
3505
- op: "set";
3506
- sales: {
3507
- name: string;
3508
- wip: string;
3509
- price: string | number;
3510
- wip_hash: string;
3511
- stock: string | number;
3512
- suspension: boolean;
3513
- }[];
3514
- } | {
3515
- op: "remove";
3516
- sales_name: string[];
3517
- } | {
3518
- op: "clear";
3519
- } | undefined;
3520
- discount?: {
3521
- name: string;
3522
- recipient: {
3523
- entities: {
3524
- name_or_address?: string | undefined;
3525
- local_mark_first?: boolean | undefined;
3526
- }[];
3527
- check_all_founded?: boolean | undefined;
3528
- };
3529
- count: number;
3530
- discount_type: number | "FIXED" | "RATES";
3531
- transferable: boolean;
3532
- discount_value: string | number;
3533
- time_ms_end: number;
3534
- benchmark?: string | number | undefined;
3535
- time_ms_start?: number | undefined;
3536
- } | undefined;
3537
- rewards?: unknown;
3538
- pause?: boolean | undefined;
3539
- compensation_fund_receive?: {
3540
- received: {
3541
- id: string;
3542
- balance: string | number;
3543
- payment: string;
3544
- }[];
3545
- balance: string | number;
3546
- token_type: string;
3547
- } | "recently" | undefined;
3548
- compensation_fund_add?: {
3549
- balance: string | number;
3550
- } | {
3551
- coin: string;
3552
- } | undefined;
3553
- customer_required?: string[] | undefined;
3554
- um?: string | null | undefined;
3555
- owner_receive?: {
3556
- received: {
3557
- id: string;
3558
- balance: string | number;
3559
- payment: string;
3560
- }[];
3561
- balance: string | number;
3562
- token_type: string;
3563
- } | "recently" | {
3564
- type: string;
3565
- id: string;
3566
- content_raw?: any;
3567
- }[] | undefined;
3568
- repositories?: unknown;
3569
- location?: string | undefined;
3570
- compensation_fund_withdraw?: {
3571
- payment_info: {
3572
- index: string | number;
3573
- remark: string;
3574
- for_object?: string | null | undefined;
3575
- for_guard?: string | null | undefined;
3576
- };
3577
- receipt: {
3578
- name_or_address?: string | undefined;
3579
- local_mark_first?: boolean | undefined;
3580
- };
3581
- } | undefined;
3582
- setting_lock_duration_add?: number | undefined;
3583
- order_new?: {
3584
- buy: {
3585
- items: {
3586
- name: string;
3587
- wip_hash: string;
3588
- stock: string | number;
3589
- }[];
3590
- total_pay: {
3591
- balance: string | number;
3592
- } | {
3593
- coin: string;
3594
- };
3595
- discount?: string | undefined;
3596
- payment_remark?: string | undefined;
3597
- payment_index?: number | undefined;
3598
- };
3599
- transfer?: {
3600
- name_or_address?: string | undefined;
3601
- local_mark_first?: boolean | undefined;
3602
- } | undefined;
3603
- order_required_info?: string | undefined;
3604
- agents?: {
3605
- entities: {
3606
- name_or_address?: string | undefined;
3607
- local_mark_first?: boolean | undefined;
3608
- }[];
3609
- check_all_founded?: boolean | undefined;
3610
- } | undefined;
3611
- namedNewOrder?: {
3612
- name?: string | undefined;
3613
- replaceExistName?: boolean | undefined;
3614
- tags?: string[] | undefined;
3615
- onChain?: boolean | undefined;
3616
- } | undefined;
3617
- namedNewAllocation?: {
3618
- name?: string | undefined;
3619
- replaceExistName?: boolean | undefined;
3620
- tags?: string[] | undefined;
3621
- onChain?: boolean | undefined;
3622
- } | undefined;
3623
- namedNewProgress?: {
3624
- name?: string | undefined;
3625
- replaceExistName?: boolean | undefined;
3626
- tags?: string[] | undefined;
3627
- onChain?: boolean | undefined;
3628
- } | undefined;
3629
- } | undefined;
3630
- discount_destroy?: string[] | undefined;
3631
- };
3632
- submission?: {
3633
- type: "submission";
3634
- guard: {
3635
- object: string;
3636
- impack: boolean;
3637
- }[];
3638
- submission: {
3639
- guard: string;
3640
- submission: {
3641
- identifier: number;
3642
- b_submission: boolean;
3643
- value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("@wowok/wowok").ValueType.Bool | import("@wowok/wowok").ValueType.Address | import("@wowok/wowok").ValueType.String | import("@wowok/wowok").ValueType.U8 | import("@wowok/wowok").ValueType.U16 | import("@wowok/wowok").ValueType.U32 | import("@wowok/wowok").ValueType.U64 | import("@wowok/wowok").ValueType.U128 | import("@wowok/wowok").ValueType.U256 | import("@wowok/wowok").ValueType.VecBool | import("@wowok/wowok").ValueType.VecAddress | import("@wowok/wowok").ValueType.VecString | import("@wowok/wowok").ValueType.VecU8 | import("@wowok/wowok").ValueType.VecU16 | import("@wowok/wowok").ValueType.VecU32 | import("@wowok/wowok").ValueType.VecU64 | import("@wowok/wowok").ValueType.VecU128 | import("@wowok/wowok").ValueType.VecU256 | import("@wowok/wowok").ValueType.VecVecU8 | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8";
3644
- value?: string | number | boolean | {
3645
- name_or_address?: string | undefined;
3646
- local_mark_first?: boolean | undefined;
3647
- } | {
3648
- entities: {
3649
- name_or_address?: string | undefined;
3650
- local_mark_first?: boolean | undefined;
3651
- }[];
3652
- check_all_founded?: boolean | undefined;
3653
- } | string[] | boolean[] | number[] | number[][] | undefined;
3654
- name?: string | undefined;
3655
- object_type?: import("@wowok/wowok").ObjectType | undefined;
3656
- }[];
3657
- }[];
3658
- } | undefined;
3659
- env?: {
3660
- no_cache?: boolean | undefined;
3661
- network?: import("@wowok/wowok").ENTRYPOINT | undefined;
3662
- account?: string | undefined;
3663
- permission_guard?: string[] | undefined;
3664
- referrer?: string | undefined;
3665
- confirmed?: boolean | undefined;
3666
- user_intent_phrases?: string[] | undefined;
3667
- project?: string | undefined;
3668
- client_schema_version?: string | undefined;
3669
- schema_strict_mode?: boolean | undefined;
3670
- dry_run?: boolean | undefined;
3671
- } | undefined;
3672
- }>;
580
+ object_type: z.ZodOptional<z.ZodEnum<{
581
+ Permission: import("@wowok/wowok").ObjectType.Permission;
582
+ Repository: import("@wowok/wowok").ObjectType.Repository;
583
+ Arb: import("@wowok/wowok").ObjectType.Arb;
584
+ Arbitration: import("@wowok/wowok").ObjectType.Arbitration;
585
+ Service: import("@wowok/wowok").ObjectType.Service;
586
+ Machine: import("@wowok/wowok").ObjectType.Machine;
587
+ Order: import("@wowok/wowok").ObjectType.Order;
588
+ Progress: import("@wowok/wowok").ObjectType.Progress;
589
+ Payment: import("@wowok/wowok").ObjectType.Payment;
590
+ Treasury: import("@wowok/wowok").ObjectType.Treasury;
591
+ Guard: import("@wowok/wowok").ObjectType.Guard;
592
+ Demand: import("@wowok/wowok").ObjectType.Demand;
593
+ Passport: import("@wowok/wowok").ObjectType.Passport;
594
+ Allocation: import("@wowok/wowok").ObjectType.Allocation;
595
+ Resource: import("@wowok/wowok").ObjectType.Resource;
596
+ Reward: import("@wowok/wowok").ObjectType.Reward;
597
+ Discount: import("@wowok/wowok").ObjectType.Discount;
598
+ EntityRegistrar: import("@wowok/wowok").ObjectType.EntityRegistrar;
599
+ EntityLinker: import("@wowok/wowok").ObjectType.EntityLinker;
600
+ Proof: import("@wowok/wowok").ObjectType.Proof;
601
+ Contact: import("@wowok/wowok").ObjectType.Contact;
602
+ WReceivedObject: import("@wowok/wowok").ObjectType.WReceivedObject;
603
+ TableItem_ProgressHistory: import("@wowok/wowok").ObjectType.TableItem_ProgressHistory;
604
+ TableItem_PermissionPerm: import("@wowok/wowok").ObjectType.TableItem_PermissionPerm;
605
+ TableItem_DemandPresenter: import("@wowok/wowok").ObjectType.TableItem_DemandPresenter;
606
+ TableItem_MachineNode: import("@wowok/wowok").ObjectType.TableItem_MachineNode;
607
+ TableItem_TreasuryHistory: import("@wowok/wowok").ObjectType.TableItem_TreasuryHistory;
608
+ TableItem_RepositoryData: import("@wowok/wowok").ObjectType.TableItem_RepositoryData;
609
+ TableItem_RewardRecord: import("@wowok/wowok").ObjectType.TableItem_RewardRecord;
610
+ TableItem_EntityLinker: import("@wowok/wowok").ObjectType.TableItem_EntityLinker;
611
+ TableItem_AddressMark: import("@wowok/wowok").ObjectType.TableItem_AddressMark;
612
+ TableItem_EntityRegistrar: import("@wowok/wowok").ObjectType.TableItem_EntityRegistrar;
613
+ }>>;
614
+ }, z.core.$strict>>;
615
+ }, z.core.$strict>>;
616
+ }, z.core.$strict>>;
617
+ }, z.core.$strict>;