@wowok/agent-mcp 3.0.5 → 3.0.6

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 (125) hide show
  1. package/README.md +25 -20
  2. package/dist/customer/account-events.js +1 -1
  3. package/dist/graph/onchain/dataplane.d.ts +2 -2
  4. package/dist/graph/onchain/edge-schema.js +1 -1
  5. package/dist/graph/onchain/expand.js +1 -1
  6. package/dist/graph/onchain/onchain.spec.js +1 -1
  7. package/dist/graph/onchain/sdk-batch.d.ts +7 -1
  8. package/dist/graph/onchain/sdk-batch.js +1 -1
  9. package/dist/graph/onchain/sdk-dataplane.d.ts +6 -3
  10. package/dist/graph/onchain/sdk-dataplane.js +1 -1
  11. package/dist/graph/onchain/types.d.ts +2 -2
  12. package/dist/knowledge/account-marks.js +1 -1
  13. package/dist/knowledge/allocation-risk.js +1 -1
  14. package/dist/knowledge/allocation-templates.js +1 -1
  15. package/dist/knowledge/goal-completion.d.ts +12 -0
  16. package/dist/knowledge/goal-completion.js +1 -1
  17. package/dist/knowledge/guard-risk.js +1 -1
  18. package/dist/knowledge/index.d.ts +4 -0
  19. package/dist/knowledge/index.js +1 -1
  20. package/dist/knowledge/migration-preflight.js +1 -1
  21. package/dist/knowledge/payment-tracker.d.ts +63 -0
  22. package/dist/knowledge/payment-tracker.js +1 -0
  23. package/dist/knowledge/recipient-constraint.d.ts +160 -0
  24. package/dist/knowledge/recipient-constraint.js +1 -0
  25. package/dist/knowledge/safety-rules.d.ts +1 -1
  26. package/dist/knowledge/safety-rules.js +1 -1
  27. package/dist/knowledge/template-registry.js +1 -1
  28. package/dist/knowledge/tools-reference.js +1 -1
  29. package/dist/knowledge/workflow-guidance.js +1 -1
  30. package/dist/knowledge/workspace-lists.d.ts +4 -0
  31. package/dist/knowledge/workspace-lists.js +1 -1
  32. package/dist/monitor/MonitorLoop.js +1 -1
  33. package/dist/participation/arbitrator-interest.d.ts +2 -0
  34. package/dist/participation/arbitrator-interest.js +1 -1
  35. package/dist/participation/collaborator-interest.d.ts +2 -0
  36. package/dist/participation/collaborator-interest.js +1 -1
  37. package/dist/participation/customer-interest.d.ts +2 -0
  38. package/dist/participation/customer-interest.js +1 -1
  39. package/dist/participation/merchant-interest.d.ts +2 -0
  40. package/dist/participation/merchant-interest.js +1 -1
  41. package/dist/participation/supplier-interest.d.ts +2 -0
  42. package/dist/participation/supplier-interest.js +1 -1
  43. package/dist/playbooks/service-build/business-puzzle.js +1 -1
  44. package/dist/playbooks/service-build/context-assembly.js +1 -1
  45. package/dist/playbooks/service-build/merchant-guide.d.ts +7 -0
  46. package/dist/playbooks/service-build/merchant-guide.js +1 -1
  47. package/dist/playbooks/service-build/participation-radar.js +1 -1
  48. package/dist/playbooks/service-build/pipeline-actions.d.ts +2 -2
  49. package/dist/playbooks/service-build/pipeline-actions.js +1 -1
  50. package/dist/playbooks/service-build/relationship-profile.js +1 -1
  51. package/dist/playbooks/service-build/risk-aggregator.js +1 -1
  52. package/dist/playbooks/service-build/topology-query.js +1 -1
  53. package/dist/relationship/derivation.js +1 -1
  54. package/dist/safety/confirm-gate.js +1 -1
  55. package/dist/schema/call/allocation.js +1 -1
  56. package/dist/schema/call/base.js +1 -1
  57. package/dist/schema/call/semantic.js +1 -1
  58. package/dist/schema/call/service.js +1 -1
  59. package/dist/schema/common/index.js +1 -1
  60. package/dist/schema/evaluation/index.d.ts +4 -4
  61. package/dist/schema/evaluation/index.js +1 -1
  62. package/dist/schema/goal/index.d.ts +21 -21
  63. package/dist/schema/goal/planning.d.ts +6 -6
  64. package/dist/schema/industry-pack/index.d.ts +6 -6
  65. package/dist/schema/industry-pack/modes.d.ts +6 -6
  66. package/dist/schema/intent-radar/index.d.ts +16 -16
  67. package/dist/schema/local/index.js +1 -1
  68. package/dist/schema/messenger/index.d.ts +110 -8
  69. package/dist/schema/messenger/index.js +1 -1
  70. package/dist/schema/operations.d.ts +35 -27
  71. package/dist/schema/operations.js +1 -1
  72. package/dist/schema/persona/index.d.ts +155 -155
  73. package/dist/schema/query/bi.d.ts +26 -26
  74. package/dist/schema/query/bi.js +1 -1
  75. package/dist/schema/query/index.d.ts +5 -2
  76. package/dist/schema/query/index.js +1 -1
  77. package/dist/schema/schema-query/index.d.ts +1 -1
  78. package/dist/schema/schema-version.js +1 -1
  79. package/dist/schema/strategy-review/index.d.ts +1 -1
  80. package/dist/schema-query-impl/index.js +1 -1
  81. package/dist/schemas/bridge_operation.schema.json +10 -10
  82. package/dist/schemas/evaluation_operation.schema.json +7 -7
  83. package/dist/schemas/guard2file.schema.json +2 -2
  84. package/dist/schemas/index.json +1 -1
  85. package/dist/schemas/machineNode2file.schema.json +2 -2
  86. package/dist/schemas/messenger_operation.output.json +266 -38
  87. package/dist/schemas/messenger_operation.schema.json +27 -3
  88. package/dist/schemas/onchain_events.schema.json +1 -1
  89. package/dist/schemas/onchain_operations.schema.json +51 -51
  90. package/dist/schemas/onchain_operations_allocation.schema.json +5 -5
  91. package/dist/schemas/onchain_operations_arbitration.schema.json +2 -2
  92. package/dist/schemas/onchain_operations_contact.schema.json +2 -2
  93. package/dist/schemas/onchain_operations_demand.schema.json +2 -2
  94. package/dist/schemas/onchain_operations_gen_passport.schema.json +2 -2
  95. package/dist/schemas/onchain_operations_gen_proof.schema.json +2 -2
  96. package/dist/schemas/onchain_operations_guard.schema.json +2 -2
  97. package/dist/schemas/onchain_operations_machine.schema.json +8 -8
  98. package/dist/schemas/onchain_operations_order.schema.json +2 -2
  99. package/dist/schemas/onchain_operations_payment.schema.json +3 -3
  100. package/dist/schemas/onchain_operations_permission.schema.json +2 -2
  101. package/dist/schemas/onchain_operations_personal.schema.json +2 -2
  102. package/dist/schemas/onchain_operations_progress.schema.json +2 -2
  103. package/dist/schemas/onchain_operations_proof.schema.json +2 -2
  104. package/dist/schemas/onchain_operations_repository.schema.json +2 -2
  105. package/dist/schemas/onchain_operations_reward.schema.json +2 -2
  106. package/dist/schemas/onchain_operations_service.schema.json +5 -5
  107. package/dist/schemas/onchain_operations_treasury.schema.json +4 -4
  108. package/dist/schemas/onchain_table_data.output.json +14 -14
  109. package/dist/schemas/query_toolkit.output.json +35 -8
  110. package/dist/schemas/query_toolkit.schema.json +39 -11
  111. package/dist/strategy/collectors.js +1 -1
  112. package/dist/tools/handlers/config.js +1 -1
  113. package/dist/tools/handlers/evaluation.js +1 -1
  114. package/dist/tools/handlers/messenger.js +1 -1
  115. package/dist/tools/handlers/onchain.js +1 -1
  116. package/dist/tools/handlers/permission.js +1 -1
  117. package/dist/tools/handlers/query.js +1 -1
  118. package/dist/tools/handlers/strategy-review.js +1 -1
  119. package/dist/tools/handlers/workflow.js +1 -1
  120. package/dist/tools/registry/onchain.js +1 -1
  121. package/dist/tools/registry/query.js +1 -1
  122. package/dist/tools/rules-hook.d.ts +2 -0
  123. package/dist/tools/rules-hook.js +1 -1
  124. package/dist/tools/shared.js +1 -1
  125. package/package.json +2 -2
@@ -1 +1 @@
1
- import{EntrypointSchema,ObjectOwnerSchema,NameOrAddressSchema,NameSchema,WowAddressSchema,TokenTypeSchema,FaucetNetworkSchema}from'../common/index.js';import{z}from'zod';import{SemanticSummarySchema as a321a}from'../call/index.js';const SemanticSummarySchema=z['lazy'](()=>a321a);import{ERROR_CODE_VALUES}from'../call/error-codes.js';const LocalOperationErrorFields={'error_code':z['enum'](ERROR_CODE_VALUES)['optional']()['describe']('Error\x20classification\x20for\x20programmatic\x20recovery'),'retryable':z['boolean']()['optional']()['describe']('Whether\x20the\x20operation\x20can\x20be\x20retried\x20as-is'),'recovery_hint':z['string']()['optional']()['describe']('Recovery\x20suggestion\x20for\x20AI\x20or\x20user')};export const LocalMarkConstraints={'nameMaxLength':0x40,'tagMaxLength':0x40,'tagMaxCount':0x32};export const LocalInfoConstraints={'nameMaxLength':0x40,'contentMaxLength':0x12c,'contentMaxCount':0x32,'defaultName':'Address\x20of\x20delivery'};export const AccountConstraints={'nameMaxLength':0x40};export const ErrorResultSchema=z['object']({'error':z['literal'](!![])['describe']('Always\x20true\x20for\x20error\x20responses'),'code':z['string']()['optional']()['describe']('Error\x20code\x20for\x20programmatic\x20handling'),'message':z['string']()['describe']('Human-readable\x20error\x20message'),'details':z['record'](z['string'](),z['string']())['optional']()['describe']('Additional\x20error\x20context')})['describe']('Error\x20response\x20structure');export const createResultSchema=a=>z['union']([z['object']({'success':z['literal'](!![]),'data':a}),ErrorResultSchema]);export const CoinBalanceSchema=z['object']({'coinType':z['string']()['describe']('Coin\x20type'),'coinObjectCount':z['number']()['describe']('Coin\x20object\x20count'),'totalBalance':z['string']()['describe']('Total\x20balance'),'lockedBalance':z['record'](z['string'](),z['string']())['describe']('Locked\x20balance')})['describe']('Coin\x20balance');export const CoinStructSchema=z['object']({'balance':z['string']()['describe']('Coin\x20balance'),'coinObjectId':z['string']()['describe']('Coin\x20object\x20ID'),'coinType':z['string']()['describe']('Coin\x20type'),'digest':z['string']()['describe']('Transaction\x20digest'),'previousTransaction':z['string']()['describe']('Previous\x20transaction\x20digest'),'version':z['union']([z['string'](),z['number']()])['describe']('Coin\x20object\x20version')})['describe']('Coin\x20object');export const PaginatedCoinsSchema=z['object']({'data':z['array'](CoinStructSchema)['describe']('Coin\x20object\x20list'),'hasNextPage':z['boolean']()['describe']('Whether\x20there\x20is\x20a\x20next\x20page'),'nextCursor':z['union']([z['string'](),z['null']()])['optional']()['describe']('Next\x20query\x20cursor')})['describe']('Paginated\x20coin\x20objects');export const FaucetCoinInfoSchema=z['object']({'amount':z['number']()['describe']('Coin\x20amount'),'id':z['string']()['describe']('Coin\x20ID'),'transferTxDigest':z['string']()['describe']('Transfer\x20transaction\x20digest')})['describe']('Testnet\x20faucet\x20coin\x20info');export const EventIdSchema=z['object']({'eventSeq':z['union']([z['string'](),z['number']()])['describe']('Event\x20sequence\x20number'),'txDigest':z['string']()['describe']('Transaction\x20digest')})['describe']('Event\x20ID');export const WowEventSchema=z['discriminatedUnion']('bcsEncoding',[z['object']({'id':EventIdSchema['describe']('Event\x20ID'),'packageId':z['string']()['describe']('Package\x20ID\x20where\x20event\x20originated'),'parsedJson':z['record'](z['string'](),z['unknown']())['describe']('Parsed\x20JSON\x20value\x20of\x20the\x20event'),'sender':z['string']()['describe']('Sender\x27s\x20address'),'timestampMs':z['union']([z['string'](),z['null']()])['optional']()['describe']('UTC\x20timestamp\x20in\x20milliseconds\x20since\x20epoch'),'transactionModule':z['string']()['describe']('Module\x20where\x20event\x20originated'),'type':z['string']()['describe']('Move\x20event\x20type'),'bcs':z['string']()['describe']('BCS\x20encoded\x20event'),'bcsEncoding':z['literal']('base64')['describe']('BCS\x20encoding\x20format')}),z['object']({'id':EventIdSchema['describe']('Event\x20ID'),'packageId':z['string']()['describe']('Package\x20ID\x20where\x20event\x20originated'),'parsedJson':z['record'](z['string'](),z['unknown']())['describe']('Parsed\x20JSON\x20value\x20of\x20the\x20event'),'sender':z['string']()['describe']('Sender\x27s\x20ID'),'timestampMs':z['union']([z['string'](),z['null']()])['optional']()['describe']('UTC\x20timestamp\x20in\x20milliseconds\x20since\x20epoch'),'transactionModule':z['string']()['describe']('Module\x20where\x20event\x20originated'),'type':z['string']()['describe']('Move\x20event\x20type'),'bcs':z['string']()['describe']('BCS\x20encoded\x20event'),'bcsEncoding':z['literal']('base58')['describe']('BCS\x20encoding\x20format')})])['describe']('Blockchain\x20event');export const BalanceChangeSchema=z['object']({'amount':z['string']()['describe']('Balance\x20change\x20value,\x20negative\x20for\x20spending,\x20positive\x20for\x20receiving'),'coinType':z['string']()['describe']('Coin\x20type'),'owner':ObjectOwnerSchema['describe']('Owner\x20of\x20the\x20balance\x20change')})['describe']('Balance\x20change');export const GasCostSummarySchema=z['object']({'computationCost':z['string']()['describe']('Computation/execution\x20cost'),'nonRefundableStorageFee':z['string']()['describe']('Non-refundable\x20storage\x20fee'),'storageCost':z['string']()['describe']('Storage\x20cost'),'storageRebate':z['string']()['describe']('Storage\x20rebate')})['describe']('Transaction\x20fee\x20summary');export const WowObjectRefSchema=z['object']({'digest':z['string']()['describe']('Base64\x20string\x20of\x20object\x20digest'),'objectId':z['string']()['describe']('Hex\x20code\x20string\x20representing\x20object\x20ID'),'version':z['union']([z['string'](),z['number']()])['describe']('Object\x20version')})['describe']('Wow\x20object\x20reference');export const OwnedObjectRefSchema=z['object']({'owner':ObjectOwnerSchema['describe']('Owner'),'reference':WowObjectRefSchema['describe']('Object\x20reference')})['describe']('Owned\x20object\x20reference');export const TransactionBlockEffectsModifiedAtVersionsSchema=z['object']({'objectId':z['string']()['describe']('Object\x20ID'),'sequenceNumber':z['union']([z['string'](),z['number']()])['describe']('Sequence\x20number')})['describe']('Transaction\x20block\x20effects\x20modified\x20versions');export const WowMoveAbortSchema=z['object']({'error_code':z['union']([z['string'](),z['null']()])['optional']()['describe']('Error\x20code'),'function':z['union']([z['string'](),z['null']()])['optional']()['describe']('Function'),'line':z['union']([z['number'](),z['null']()])['optional']()['describe']('Line\x20number'),'module_id':z['union']([z['string'](),z['null']()])['optional']()['describe']('Module\x20ID')})['describe']('Wow\x20Move\x20abort');export const ExecutionStatusSchema=z['object']({'status':z['union']([z['literal']('success'),z['literal']('failure')])['describe']('Execution\x20status'),'error':z['string']()['optional']()['describe']('Error\x20message')})['describe']('Execution\x20status');export const WowGasDataSchema=z['object']({'budget':z['string']()['describe']('Budget'),'owner':z['string']()['describe']('Owner'),'payment':z['array'](WowObjectRefSchema)['describe']('Payment'),'price':z['string']()['describe']('Price')})['describe']('Wow\x20gas\x20data');export const WowTransactionBlockKindSchema=z['object']({'kind':z['string']()['describe']('Transaction\x20type')})['passthrough']()['describe']('Wow\x20transaction\x20block\x20kind');export const TransactionBlockDataSchema=z['object']({'gasData':WowGasDataSchema['describe']('Gas\x20data'),'messageVersion':z['literal']('v1')['describe']('Message\x20version'),'sender':z['string']()['describe']('Sender'),'transaction':WowTransactionBlockKindSchema['describe']('Transaction')})['describe']('Transaction\x20block\x20data');export const WowTransactionBlockSchema=z['object']({'data':TransactionBlockDataSchema['describe']('Transaction\x20data'),'txSignatures':z['array'](z['string']())['describe']('Transaction\x20signatures')})['describe']('Wow\x20transaction\x20block');export const WowObjectChangeSchema=z['discriminatedUnion']('type',[z['object']({'type':z['literal']('published'),'digest':z['string']()['describe']('Digest'),'modules':z['array'](z['string']())['describe']('Modules'),'packageId':z['string']()['describe']('Package\x20ID'),'version':z['union']([z['string'](),z['number']()])['describe']('Version')}),z['object']({'type':z['literal']('transferred'),'digest':z['string']()['describe']('Digest'),'objectId':z['string']()['describe']('Object\x20ID'),'objectType':z['string']()['describe']('Object\x20type'),'recipient':ObjectOwnerSchema['describe']('Recipient'),'sender':z['string']()['describe']('Sender\x20ID'),'version':z['union']([z['string'](),z['number']()])['describe']('Version')}),z['object']({'type':z['literal']('mutated'),'digest':z['string']()['describe']('Digest'),'objectId':z['string']()['describe']('Object\x20ID'),'objectType':z['string']()['describe']('Object\x20type'),'owner':z['union']([ObjectOwnerSchema,z['null']()])['describe']('Owner'),'previousVersion':z['union']([z['string'](),z['number']()])['describe']('Previous\x20version'),'sender':z['string']()['describe']('Sender'),'version':z['union']([z['string'](),z['number']()])['describe']('Version')}),z['object']({'type':z['literal']('deleted'),'objectId':z['string']()['describe']('Object\x20ID'),'objectType':z['string']()['describe']('Object\x20type'),'sender':z['string']()['describe']('Sender'),'version':z['union']([z['string'](),z['number']()])['describe']('Version')}),z['object']({'type':z['literal']('wrapped'),'objectId':z['string']()['describe']('Object\x20ID'),'objectType':z['string']()['describe']('Object\x20type'),'sender':z['string']()['describe']('Sender'),'version':z['union']([z['string'](),z['number']()])['describe']('Version')}),z['object']({'type':z['literal']('created'),'digest':z['string']()['describe']('Digest'),'objectId':z['string']()['describe']('Object\x20ID'),'objectType':z['string']()['describe']('Object\x20type'),'owner':z['union']([ObjectOwnerSchema,z['null']()])['describe']('Owner'),'sender':z['string']()['describe']('Sender'),'version':z['union']([z['string'](),z['number']()])['describe']('Version')})])['describe']('Object\x20change\x20information');export const TransactionEffectsSchema=z['object']({'abortError':z['union']([WowMoveAbortSchema,z['null']()])['optional']()['describe']('Abort\x20error\x20if\x20transaction\x20failed\x20with\x20abort\x20code'),'created':z['array'](OwnedObjectRefSchema)['optional']()['describe']('ObjectRef\x20and\x20owner\x20of\x20newly\x20created\x20objects'),'deleted':z['array'](WowObjectRefSchema)['optional']()['describe']('Object\x20references\x20(old\x20refs)\x20of\x20now\x20deleted\x20objects'),'dependencies':z['array'](z['string']())['optional']()['describe']('Set\x20of\x20transaction\x20digests\x20this\x20transaction\x20depends\x20on'),'eventsDigest':z['union']([z['string'](),z['null']()])['optional']()['describe']('Digest\x20of\x20events\x20emitted\x20during\x20execution'),'executedEpoch':z['union']([z['string'](),z['number']()])['describe']('Epoch\x20in\x20which\x20this\x20transaction\x20was\x20executed'),'gasObject':OwnedObjectRefSchema['describe']('Updated\x20gas\x20object\x20reference'),'gasUsed':GasCostSummarySchema['describe']('Gas\x20used'),'messageVersion':z['literal']('v1')['describe']('Message\x20version'),'modifiedAtVersions':z['array'](TransactionBlockEffectsModifiedAtVersionsSchema)['optional']()['describe']('Version\x20of\x20each\x20modified\x20(mutated\x20or\x20deleted)\x20object\x20before\x20this\x20transaction\x20modified\x20it'),'mutated':z['array'](OwnedObjectRefSchema)['optional']()['describe']('ObjectRef\x20and\x20owner\x20of\x20mutated\x20objects,\x20including\x20gas\x20object'),'sharedObjects':z['array'](WowObjectRefSchema)['optional']()['describe']('Object\x20references\x20of\x20shared\x20objects\x20used\x20in\x20this\x20transaction'),'status':ExecutionStatusSchema['describe']('Execution\x20status'),'transactionDigest':z['string']()['describe']('Transaction\x20digest'),'unwrapped':z['array'](OwnedObjectRefSchema)['optional']()['describe']('ObjectRef\x20and\x20owner\x20of\x20objects\x20unwrapped\x20in\x20this\x20transaction'),'unwrappedThenDeleted':z['array'](WowObjectRefSchema)['optional']()['describe']('Object\x20references\x20of\x20objects\x20previously\x20wrapped\x20in\x20other\x20objects\x20but\x20now\x20deleted'),'wrapped':z['array'](WowObjectRefSchema)['optional']()['describe']('Object\x20references\x20of\x20objects\x20now\x20wrapped\x20in\x20other\x20objects')})['describe']('Transaction\x20effects');export const WowTransactionBlockResponseSchema=z['object']({'balanceChanges':z['union']([z['array'](BalanceChangeSchema),z['null']()])['optional']()['describe']('Balance\x20changes'),'checkpoint':z['union']([z['string'](),z['null']()])['optional']()['describe']('Checkpoint\x20number\x20that\x20this\x20transaction\x20is\x20included\x20in\x20and\x20thus\x20completed'),'confirmedLocalExecution':z['union']([z['boolean'](),z['null']()])['optional']()['describe']('Confirmed\x20local\x20execution'),'digest':z['string']()['describe']('Transaction\x20digest'),'effects':z['union']([TransactionEffectsSchema,z['null']()])['optional']()['describe']('Transaction\x20effects'),'errors':z['array'](z['string']())['optional']()['describe']('Error\x20messages'),'events':z['union']([z['array'](WowEventSchema),z['null']()])['optional']()['describe']('Events'),'objectChanges':z['union']([z['array'](WowObjectChangeSchema),z['null']()])['optional']()['describe']('Object\x20changes'),'rawEffects':z['array'](z['number']())['optional']()['describe']('Raw\x20effects'),'rawTransaction':z['string']()['optional']()['describe']('Raw\x20transaction'),'timestampMs':z['union']([z['string'](),z['null']()])['optional']()['describe']('Timestamp'),'transaction':z['union']([WowTransactionBlockSchema,z['null']()])['optional']()['describe']('Transaction\x20input\x20data')})['describe']('Wow\x20transaction\x20block\x20response');export const MarkParamSchema=z['object']({'name':z['preprocess'](a=>{if(typeof a==='string')return{'value':a,'replaceExistName':![]};return a;},z['object']({'value':z['string']()['max'](LocalMarkConstraints['nameMaxLength'],'Mark\x20name\x20exceeds\x20maximum\x20length\x20of\x20'+LocalMarkConstraints['nameMaxLength']+'\x20bcs\x20characters')['describe']('Mark\x20name\x20value\x20(max\x20'+LocalMarkConstraints['nameMaxLength']+'\x20bcs\x20characters)'),'replaceExistName':z['boolean']()['optional']()['default'](![])['describe']('If\x20true,\x20replace\x20existing\x20mark\x20with\x20same\x20name;\x20if\x20false\x20(default),\x20throw\x20error\x20when\x20name\x20exists')})['optional']()['describe']('Mark\x20naming\x20configuration.\x20Accepts\x20a\x20bare\x20name\x20string\x20(shorthand\x20normalized\x20to\x20{value:\x20name,\x20replaceExistName:\x20false})\x20or\x20the\x20canonical\x20object\x20{value:\x20string,\x20replaceExistName?:\x20boolean}\x20when\x20replacing\x20an\x20existing\x20same-name\x20mark.\x20Examples:\x20{name:\x20\x27my-account\x27}\x20or\x20{name:\x20{value:\x20\x27my-account\x27,\x20replaceExistName:\x20true}}')),'address':WowAddressSchema,'tags':z['array'](z['string']()['max'](LocalMarkConstraints['tagMaxLength'],'Tag\x20exceeds\x20maximum\x20length\x20of\x20'+LocalMarkConstraints['tagMaxLength']+'\x20bcs\x20characters'))['max'](LocalMarkConstraints['tagMaxCount'],'Tag\x20count\x20exceeds\x20maximum\x20of\x20'+LocalMarkConstraints['tagMaxCount'])['optional']()['describe']('Tags\x20for\x20categorization\x20(max\x20'+LocalMarkConstraints['tagMaxCount']+'\x20tags,\x20each\x20max\x20'+LocalMarkConstraints['tagMaxLength']+'\x20bcs\x20characters)')})['describe']('LOCAL\x20ONLY:\x20Parameters\x20for\x20creating\x20or\x20updating\x20a\x20LOCAL\x20mark.\x20This\x20data\x20is\x20stored\x20privately\x20on\x20your\x20device\x20and\x20will\x20NEVER\x20be\x20published\x20to\x20the\x20blockchain.\x20'+'For\x20public\x20on-chain\x20marks,\x20use\x20the\x20\x27personal\x27\x20tool\x20instead.\x20'+'The\x20\x27name\x27\x20field\x20accepts\x20a\x20bare\x20name\x20string\x20(shorthand:\x20{name:\x27my-account\x27})\x20or\x20the\x20canonical\x20object\x20form\x20{value,\x20replaceExistName?}\x20when\x20an\x20existing\x20same-name\x20mark\x20must\x20be\x20replaced.\x20'+'FIX-011\x20cross-network\x20consistency:\x20LocalMark\x20names\x20are\x20scoped\x20per\x20network.\x20'+'When\x20creating\x20marks\x20for\x20the\x20same\x20logical\x20object\x20on\x20different\x20networks\x20(e.g.\x20testnet\x20and\x20mainnet),\x20'+'use\x20the\x20SAME\x20name\x20value\x20to\x20keep\x20name-based\x20references\x20portable.\x20'+'Before\x20creating\x20a\x20mark\x20on\x20mainnet,\x20check\x20if\x20a\x20mark\x20with\x20the\x20same\x20name\x20already\x20exists\x20on\x20testnet\x20'+'(via\x20query_local\x20with\x20network=\x27testnet\x27)\x20and\x20replicate\x20the\x20same\x20name\x20on\x20mainnet\x20for\x20consistency.');export const MarkDataSchema=z['object']({'name':z['string']()['max'](LocalMarkConstraints['nameMaxLength'],'Mark\x20name\x20exceeds\x20maximum\x20length\x20of\x20'+LocalMarkConstraints['nameMaxLength']+'\x20bcs\x20characters')['optional']()['describe']('Mark\x20name\x20(max\x20'+LocalMarkConstraints['nameMaxLength']+'\x20bcs\x20characters)'),'address':WowAddressSchema,'tags':z['array'](z['string']()['max'](LocalMarkConstraints['tagMaxLength'],'Tag\x20exceeds\x20maximum\x20length\x20of\x20'+LocalMarkConstraints['tagMaxLength']+'\x20bcs\x20characters'))['max'](LocalMarkConstraints['tagMaxCount'],'Tag\x20count\x20exceeds\x20maximum\x20of\x20'+LocalMarkConstraints['tagMaxCount'])['optional']()['describe']('Tags\x20for\x20categorization\x20(max\x20'+LocalMarkConstraints['tagMaxCount']+'\x20tags,\x20each\x20max\x20'+LocalMarkConstraints['tagMaxLength']+'\x20bcs\x20characters)'),'createdAt':z['number']()['optional']()['describe']('Unix\x20timestamp\x20(ms)\x20when\x20this\x20mark\x20was\x20created'),'updatedAt':z['number']()['optional']()['describe']('Unix\x20timestamp\x20(ms)\x20when\x20this\x20mark\x20was\x20last\x20modified')})['describe']('LOCAL\x20PRIVATE:\x20Local\x20mark\x20data\x20structure\x20for\x20storing\x20address\x20names\x20and\x20tags\x20privately\x20on\x20your\x20device.\x20This\x20data\x20is\x20NEVER\x20published\x20to\x20the\x20blockchain.\x20CROSS-NETWORK\x20ISOLATION\x20(DOC-02):\x20LocalMark\x20names\x20are\x20scoped\x20per\x20network\x20—\x20the\x20same\x20name\x20\x27my-service\x27\x20can\x20map\x20to\x20different\x20addresses\x20on\x20testnet\x20vs\x20mainnet.\x20When\x20switching\x20networks\x20(e.g.,\x20testnet→mainnet\x20deployment),\x20re-create\x20marks\x20with\x20the\x20same\x20names\x20pointing\x20to\x20the\x20new\x20mainnet\x20addresses.\x20This\x20enables\x20name-based\x20object\x20references\x20that\x20work\x20identically\x20across\x20networks\x20without\x20code\x20changes.');export const InfoDataInnerSchema=z['object']({'default':z['string']()['max'](LocalInfoConstraints['contentMaxLength'],'Default\x20value\x20exceeds\x20maximum\x20length\x20of\x20'+LocalInfoConstraints['contentMaxLength']+'\x20bcs\x20characters')['describe']('Primary/default\x20value\x20for\x20this\x20info\x20(max\x20'+LocalInfoConstraints['contentMaxLength']+'\x20bcs\x20characters)'),'contents':z['array'](z['string']()['max'](LocalInfoConstraints['contentMaxLength'],'Content\x20item\x20exceeds\x20maximum\x20length\x20of\x20'+LocalInfoConstraints['contentMaxLength']+'\x20bcs\x20characters'))['max'](LocalInfoConstraints['contentMaxCount'],'Content\x20count\x20exceeds\x20maximum\x20of\x20'+LocalInfoConstraints['contentMaxCount'])['optional']()['describe']('Additional\x20content\x20values\x20(max\x20'+LocalInfoConstraints['contentMaxCount']+'\x20items,\x20each\x20max\x20'+LocalInfoConstraints['contentMaxLength']+'\x20bcs\x20characters)'),'createdAt':z['number']()['optional']()['describe']('Unix\x20timestamp\x20(ms)\x20when\x20this\x20info\x20was\x20created'),'updatedAt':z['number']()['optional']()['describe']('Unix\x20timestamp\x20(ms)\x20when\x20this\x20info\x20was\x20last\x20modified')})['describe']('Info\x20data\x20inner\x20structure');export const InfoDataSchema=InfoDataInnerSchema['extend']({'name':z['string']()['max'](LocalInfoConstraints['nameMaxLength'],'Info\x20name\x20exceeds\x20maximum\x20length\x20of\x20'+LocalInfoConstraints['nameMaxLength']+'\x20bcs\x20characters')['describe']('Unique\x20identifier\x20for\x20this\x20info\x20entry\x20(max\x20'+LocalInfoConstraints['nameMaxLength']+'\x20bcs\x20characters)')})['describe']('LOCAL\x20PRIVATE:\x20Local\x20info\x20data\x20structure\x20for\x20storing\x20sensitive\x20personal\x20information\x20like\x20delivery\x20addresses,\x20phone\x20numbers,\x20etc.\x20This\x20data\x20is\x20stored\x20ONLY\x20on\x20your\x20device\x20and\x20NEVER\x20published\x20to\x20the\x20blockchain.');export const LocalMarkFilterSchema=z['object']({'name':NameSchema['optional']()['describe']('Filter\x20by\x20mark\x20name\x20(supports\x20fuzzy\x20match)'),'tags':z['array'](z['string']())['optional']()['describe']('Filter\x20by\x20tags\x20-\x20returns\x20marks\x20that\x20contain\x20ANY\x20of\x20the\x20specified\x20tags'),'address':WowAddressSchema['optional']()['describe']('Filter\x20by\x20address\x20(exact\x20match,\x20format:\x200x\x20+\x2064\x20hex\x20characters)'),'createdAt':z['object']({'gte':z['number']()['optional']()['describe']('Filter\x20marks\x20created\x20on\x20or\x20after\x20this\x20timestamp\x20(ms)'),'lte':z['number']()['optional']()['describe']('Filter\x20marks\x20created\x20on\x20or\x20before\x20this\x20timestamp\x20(ms)')})['optional']()['describe']('Filter\x20by\x20creation\x20time\x20range'),'updatedAt':z['object']({'gte':z['number']()['optional']()['describe']('Filter\x20marks\x20updated\x20on\x20or\x20after\x20this\x20timestamp\x20(ms)'),'lte':z['number']()['optional']()['describe']('Filter\x20marks\x20updated\x20on\x20or\x20before\x20this\x20timestamp\x20(ms)')})['optional']()['describe']('Filter\x20by\x20update\x20time\x20range')})['describe']('Filter\x20criteria\x20for\x20querying\x20local\x20marks.\x20Multiple\x20filters\x20are\x20combined\x20with\x20AND\x20logic.');export const LocalInfoFilterSchema=z['object']({'name':NameSchema['optional']()['describe']('Filter\x20by\x20info\x20name\x20(supports\x20fuzzy\x20match)'),'default':z['string']()['optional']()['describe']('Filter\x20by\x20default\x20value\x20(supports\x20fuzzy\x20match)'),'contents':z['array'](z['string']())['optional']()['describe']('Filter\x20by\x20contents\x20-\x20returns\x20info\x20that\x20contains\x20ANY\x20of\x20the\x20specified\x20content\x20items'),'createdAt':z['object']({'gte':z['number']()['optional']()['describe']('Filter\x20info\x20created\x20on\x20or\x20after\x20this\x20timestamp\x20(ms)'),'lte':z['number']()['optional']()['describe']('Filter\x20info\x20created\x20on\x20or\x20before\x20this\x20timestamp\x20(ms)')})['optional']()['describe']('Filter\x20by\x20creation\x20time\x20range'),'updatedAt':z['object']({'gte':z['number']()['optional']()['describe']('Filter\x20info\x20updated\x20on\x20or\x20after\x20this\x20timestamp\x20(ms)'),'lte':z['number']()['optional']()['describe']('Filter\x20info\x20updated\x20on\x20or\x20before\x20this\x20timestamp\x20(ms)')})['optional']()['describe']('Filter\x20by\x20update\x20time\x20range')})['describe']('Filter\x20criteria\x20for\x20querying\x20local\x20info.\x20Multiple\x20filters\x20are\x20combined\x20with\x20AND\x20logic.');export const QueryLocalInfoListSchema=z['object']({'filter':LocalInfoFilterSchema['optional']()['describe']('Local\x20info\x20filter')})['describe']('Query\x20local\x20info\x20list\x20parameters');export const QueryAccountSchema=z['object']({'name_or_address':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20Use\x20empty\x20string\x20\x27\x27\x20for\x20the\x20default\x20account.\x20Defaults\x20to\x20\x27\x27\x20if\x20omitted.'),'balance':z['boolean']()['optional']()['describe']('Whether\x20to\x20query\x20coin\x20balance\x20amount'),'coin':z['object']({'cursor':z['union']([z['string'](),z['null']()])['optional']()['describe']('Query\x20cursor\x20for\x20pagination'),'limit':z['union']([z['number'](),z['null']()])['optional']()['describe']('Maximum\x20number\x20of\x20objects\x20to\x20return')})['optional']()['describe']('Whether\x20to\x20query\x20coin\x20object\x20list'),'token_type':TokenTypeSchema['optional']()['describe']('Token\x20type;\x20default\x20token\x20type\x20is\x200x2::wow::WOW'),'network':EntrypointSchema['optional']()})['describe']('Used\x20to\x20query\x20account\x27s\x20coin\x20balance');export const QueryAccountResultSchema=z['object']({'name_or_address':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20ID'),'address':z['string']()['optional']()['describe']('Account\x20ID'),'balance':CoinBalanceSchema['optional']()['describe']('Coin\x20balance\x20details'),'coin':PaginatedCoinsSchema['optional']()['describe']('Paginated\x20coin\x20object\x20list')})['describe']('Result\x20of\x20querying\x20account\x27s\x20coin\x20balance');export const AccountOperationSchema=z['object']({'gen':z['object']({'name':NameSchema['optional']()['describe']('Account\x20name\x20(max\x20'+AccountConstraints['nameMaxLength']+'\x20characters).\x20Use\x20empty\x20string\x20\x27\x27\x20or\x20omit\x20for\x20the\x20default\x20account.\x20'+'Recommended\x20convention:\x20<role>-<number>\x20(e.g.\x20shop-001,\x20user-001,\x20arb-001)\x20for\x20easy\x20filtering\x20and\x20batch\x20operations.'),'replaceExistName':z['boolean']()['optional']()['describe']('DISCOURAGED.\x20If\x20true,\x20an\x20existing\x20account\x20with\x20the\x20same\x20name\x20will\x20be\x20SUSPENDED\x20(not\x20just\x20renamed)\x20to\x20free\x20the\x20name\x20for\x20the\x20new\x20account.\x20'+'The\x20old\x20account\x20moves\x20to\x20the\x20Suspended\x20tab\x20and\x20cannot\x20sign\x20transactions\x20until\x20resumed\x20with\x20a\x20new\x20name.\x20'+'FORBIDDEN\x20on\x20the\x20default\x20account\x20(name=\x27\x27\x20or\x20omitted)\x20—\x20the\x20default\x20account\x20is\x20unique\x20and\x20cannot\x20be\x20replaced;\x20use\x20suspend()\x20explicitly\x20instead.\x20'+'Prefer\x20versioned\x20names\x20(e.g.\x20\x27shop_v2\x27)\x20over\x20replaceExistName\x20for\x20production.\x20Default:\x20false\x20(throws\x20AccountNameExist\x20on\x20collision).'),'messenger':z['boolean']()['optional']()['describe']('Enable\x20messenger\x20for\x20this\x20account.\x20true=enable,\x20false=disable,\x20omit=unchanged.\x20'+'Account\x20name\x20is\x20used\x20for\x20messenger\x20identity\x20lookup\x20(no\x20separate\x20messenger\x20name).')})['optional']()['describe']('Generate\x20new\x20account'),'faucet':z['preprocess'](a=>{if(a&&typeof a==='object'&&!Array['isArray'](a)){const b=a;b['name']!==undefined&&b['name_or_address']===undefined&&(b['name_or_address']=b['name'],delete b['name']);}return a;},z['object']({'name_or_address':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20Use\x20empty\x20string\x20\x27\x27\x20for\x20the\x20default\x20account.\x20Defaults\x20to\x20\x27\x27\x20if\x20omitted.'),'network':FaucetNetworkSchema})['strict']())['optional']()['describe']('Distribute\x20test\x20coins\x20from\x20faucet\x20to\x20the\x20specified\x20account'),'suspend':z['object']({'name_or_address':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20Use\x20empty\x20string\x20\x27\x27\x20for\x20the\x20default\x20account.\x20Defaults\x20to\x20\x27\x27\x20if\x20omitted.')})['optional']()['describe']('Remove\x20account\x20from\x20active\x20account\x20list\x20(cannot\x20sign\x20transactions),\x20and\x20delete\x20its\x20name'),'resume':z['object']({'address':WowAddressSchema,'name':NameSchema['optional']()['describe']('New\x20name\x20for\x20the\x20resumed\x20account.\x20Omit\x20to\x20leave\x20unnamed.')})['optional']()['describe']('Add\x20account\x20back\x20to\x20active\x20account\x20list'),'rename':z['object']({'name_or_address':NameOrAddressSchema['optional']()['describe']('Source\x20account\x20name\x20or\x20address.\x20Use\x20empty\x20string\x20\x27\x27\x20for\x20the\x20default\x20account.\x20Defaults\x20to\x20\x27\x27\x20if\x20omitted.\x20Can\x20be\x20a\x20name\x20or\x20address.'),'new_name':NameSchema['describe']('New\x20account\x20name\x20(max\x20'+AccountConstraints['nameMaxLength']+'\x20characters).\x20Must\x20be\x20a\x20name\x20(not\x20an\x20address).')})['optional']()['describe']('Rename\x20account.\x20name_or_address\x20can\x20be\x20name\x20or\x20address,\x20new_name\x20must\x20be\x20a\x20name.'),'swap_name':z['object']({'name1':NameSchema['optional']()['describe']('First\x20account\x20name.\x20Use\x20empty\x20string\x20\x27\x27\x20for\x20the\x20default\x20account.'),'name2':NameSchema['optional']()['describe']('Second\x20account\x20name.\x20Use\x20empty\x20string\x20\x27\x27\x20for\x20the\x20default\x20account.')})['optional']()['describe']('Swap\x20the\x20names\x20of\x20two\x20accounts'),'transfer':z['object']({'name_or_address_from':NameOrAddressSchema['optional']()['describe']('Sender\x20account\x20name\x20or\x20address.\x20Use\x20empty\x20string\x20\x27\x27\x20for\x20the\x20default\x20account.'),'name_or_address_to':NameOrAddressSchema['optional']()['describe']('Recipient\x20account\x20name\x20or\x20address.\x20Use\x20empty\x20string\x20\x27\x27\x20for\x20the\x20default\x20account.'),'amount':z['union']([z['number'](),z['string']()])['describe']('Amount\x20of\x20tokens\x20to\x20transfer.\x20Accepts:\x20raw\x20smallest-unit\x20integer\x20(string/number,\x20e.g.\x20\x222500000000\x22),\x20or\x20display\x20format\x20with\x20the\x20token\x20symbol\x20(e.g.\x20\x222.5WOW\x22)\x20—\x20converted\x20with\x20the\x20token\x27s\x20own\x20decimals.\x20Bare\x20decimals\x20like\x20\x222.5\x22\x20or\x202.5\x20are\x20REJECTED\x20(must\x20carry\x20the\x20symbol\x20suffix).'),'token_type':z['string']()['optional']()['describe']('Token\x20type;\x20default\x20token\x20type\x20is\x200x2::wow::WOW'),'network':EntrypointSchema['optional'](),'confirmed':z['boolean']()['optional']()['describe']('ConfirmGate:\x20set\x20to\x20true\x20to\x20proceed\x20after\x20a\x20\x27pending_confirmation\x27\x20result.\x20Token\x20transfers\x20are\x20irreversible\x20on-chain\x20fund\x20movements\x20—\x20the\x20first\x20call\x20returns\x20a\x20pending_confirmation\x20preview\x20(amount,\x20token,\x20recipient);\x20re-call\x20with\x20confirmed=true\x20after\x20user\x20consent.')})['optional']()['describe']('💰\x20FUND\x20MOVEMENT\x20(on-chain,\x20irreversible):\x20transfer\x20tokens\x20from\x20one\x20account\x20to\x20another.\x20Amount\x20parsing:\x20display\x20strings\x20like\x20\x222.5WOW\x22\x20are\x20converted\x20to\x20raw\x20smallest\x20units\x20with\x20the\x20token\x27s\x20decimals;\x20bare\x20decimal\x20numbers\x20are\x20rejected.\x20Requires\x20confirmation\x20—\x20first\x20call\x20previews,\x20re-call\x20with\x20confirmed=true.'),'get':z['object']({'name_or_address':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20Use\x20empty\x20string\x20\x27\x27\x20for\x20the\x20default\x20account.'),'balance_required':z['union']([z['string'](),z['number']()])['describe']('Required\x20coin\x20object\x20balance.\x20Accepts:\x20raw\x20smallest-unit\x20integer\x20(string/number,\x20e.g.\x20\x222500000000\x22),\x20or\x20display\x20format\x20with\x20the\x20token\x20symbol\x20(e.g.\x20\x222.5WOW\x22)\x20—\x20converted\x20with\x20the\x20token\x27s\x20own\x20decimals.\x20Bare\x20decimals\x20like\x20\x222.5\x22\x20or\x202.5\x20are\x20REJECTED\x20(must\x20carry\x20the\x20symbol\x20suffix).'),'token_type':z['string']()['optional']()['describe']('Token\x20type;\x20default\x20token\x20type\x20is\x200x2::wow::WOW'),'network':EntrypointSchema['optional'](),'confirmed':z['boolean']()['optional']()['describe']('ConfirmGate:\x20set\x20to\x20true\x20to\x20proceed\x20after\x20a\x20\x27pending_confirmation\x27\x20result.\x20Producing\x20the\x20coin\x20object\x20is\x20an\x20on-chain\x20transaction\x20(split/merge\x20coins\x20+\x20self-transfer)\x20that\x20is\x20irreversible\x20and\x20spends\x20gas\x20—\x20the\x20first\x20call\x20returns\x20a\x20pending_confirmation\x20preview\x20(amount,\x20token,\x20account);\x20re-call\x20with\x20confirmed=true\x20after\x20user\x20consent.')})['optional']()['describe']('💰\x20FUND\x20MOVEMENT\x20(on-chain,\x20irreversible,\x20spends\x20gas):\x20split/merge\x20the\x20account\x27s\x20coins\x20to\x20produce\x20a\x20coin\x20object\x20carrying\x20AT\x20LEAST\x20the\x20required\x20balance,\x20then\x20self-deliver\x20it\x20to\x20the\x20same\x20account.\x20The\x20account\x27s\x20total\x20balance\x20does\x20not\x20leave\x20the\x20account\x20(minus\x20gas),\x20but\x20a\x20real\x20on-chain\x20transaction\x20IS\x20executed\x20and\x20its\x20digest\x20is\x20returned.\x20Amount\x20parsing:\x20display\x20strings\x20like\x20\x222.5WOW\x22\x20are\x20converted\x20to\x20raw\x20smallest\x20units\x20with\x20the\x20token\x27s\x20decimals;\x20bare\x20decimal\x20numbers\x20are\x20rejected.\x20Requires\x20confirmation\x20—\x20first\x20call\x20previews,\x20re-call\x20with\x20confirmed=true.'),'signData':z['object']({'name_or_address':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20Use\x20empty\x20string\x20\x27\x27\x20for\x20the\x20default\x20account.'),'data':z['string']()['describe']('Data\x20to\x20sign.\x20If\x20data_encoding\x20is\x20not\x20specified,\x20treated\x20as\x20UTF-8\x20string.'),'data_encoding':z['union']([z['literal']('utf8')['describe']('Data\x20is\x20UTF-8\x20encoded\x20string'),z['literal']('base64')['describe']('Data\x20is\x20base64\x20encoded\x20bytes'),z['literal']('hex')['describe']('Data\x20is\x20hex\x20encoded\x20bytes\x20(with\x20or\x20without\x200x\x20prefix)')])['optional']()['describe']('Encoding\x20format\x20of\x20the\x20data\x20field.\x20If\x20not\x20specified,\x20defaults\x20to\x20utf8.')})['optional']()['describe']('Sign\x20data\x20with\x20account\x27s\x20private\x20key'),'messenger':z['object']({'name_or_account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20Use\x20empty\x20string\x20\x27\x27\x20for\x20the\x20default\x20account.\x20Defaults\x20to\x20\x27\x27\x20if\x20omitted.'),'enabled':z['boolean']()['describe']('true\x20to\x20enable\x20messenger,\x20false\x20to\x20disable')})['optional']()['describe']('Enable\x20or\x20disable\x20messenger\x20for\x20an\x20account')})['strict']()['refine'](a=>Object['keys'](a)['length']>0x0,'At\x20least\x20one\x20operation\x20(gen/faucet/suspend/resume/rename/swap_name/transfer/get/signData/messenger)\x20must\x20be\x20specified')['describe']('Account\x20operations\x20(mutations\x20only:\x20gen/faucet/suspend/resume/rename/swap_name/transfer/get/signData/messenger).\x20'+'Parameters\x20MUST\x20be\x20wrapped\x20in\x20the\x20operation\x20type\x20property\x20(e.g.\x20{transfer:\x20{...}},\x20NOT\x20{amount:\x20...}).\x20Unwrapped\x20parameters\x20are\x20rejected.\x20'+'TO\x20LIST\x20ALL\x20ACCOUNTS:\x20use\x20the\x20query_toolkit\x20tool\x20with\x20query_type=\x27account_list\x27\x20(returns\x20name,\x20address,\x20suspended\x20status,\x20messenger\x20status\x20for\x20all\x20local\x20accounts).\x20'+'This\x20separation\x20follows\x20CQRS:\x20account_operation\x20=\x20mutations,\x20query_toolkit\x20=\x20queries.\x20'+'Common\x20workflow\x20after\x20MCP\x20restart:\x20(1)\x20query_toolkit\x20query_type=\x27account_list\x27\x20to\x20see\x20all\x20accounts,\x20(2)\x20account_operation\x20with\x20the\x20appropriate\x20mutation.');export const AccountOperationResultSchema=z['object']({'gen':z['object']({'address':z['string']()['describe']('Newly\x20generated\x20account\x20ID'),'name':NameSchema['optional']()['describe']('Account\x20name'),'messenger':z['boolean']()['optional']()['describe']('Messenger\x20enabled\x20flag')})['optional']()['describe']('Result\x20of\x20generating\x20new\x20account'),'faucet':z['object']({'name_or_address':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address\x20that\x20received\x20faucet\x20coins'),'result':z['array'](FaucetCoinInfoSchema)['describe']('List\x20of\x20distributed\x20test\x20coin\x20info'),'network':FaucetNetworkSchema})['optional']()['describe']('Result\x20of\x20distributing\x20test\x20coins\x20from\x20faucet\x20to\x20the\x20specified\x20account'),'suspend':z['object']({'name_or_address':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address\x20that\x20was\x20suspended'),'success':z['boolean']()['describe']('True\x20if\x20account\x20was\x20successfully\x20suspended,\x20false\x20if\x20account\x20does\x20not\x20exist')})['optional']()['describe']('Result\x20of\x20removing\x20account\x20from\x20active\x20account\x20list\x20(cannot\x20sign\x20transactions)'),'resume':z['object']({'address':WowAddressSchema['describe']('Account\x20ID\x20that\x20was\x20resumed'),'name':NameSchema['optional']()['describe']('New\x20name\x20assigned\x20to\x20the\x20account'),'success':z['boolean']()['describe']('True\x20if\x20account\x20was\x20successfully\x20resumed,\x20false\x20if\x20account\x20does\x20not\x20exist')})['optional']()['describe']('Result\x20of\x20adding\x20account\x20back\x20to\x20active\x20account\x20list'),'rename':z['object']({'name_or_address':NameOrAddressSchema['optional']()['describe']('Source\x20account\x20name\x20or\x20address\x20that\x20was\x20renamed'),'new_name':NameSchema['describe']('New\x20account\x20name'),'success':z['boolean']()['describe']('True\x20if\x20rename\x20was\x20successful,\x20false\x20if\x20account\x20not\x20found\x20or\x20name\x20already\x20exists')})['optional']()['describe']('Result\x20of\x20renaming\x20account'),'swap_name':z['object']({'name1':NameSchema['optional']()['describe']('First\x20account\x20name'),'name2':NameSchema['optional']()['describe']('Second\x20account\x20name'),'success':z['boolean']()['describe']('True\x20if\x20swap\x20was\x20successful,\x20false\x20if\x20either\x20account\x20not\x20found')})['optional']()['describe']('Result\x20of\x20swapping\x20account\x20names'),'transfer':WowTransactionBlockResponseSchema['optional']()['describe']('Result\x20of\x20token\x20transfer\x20transaction'),'get':z['object']({'coin_address':z['string']()['optional']()['describe']('Coin\x20object\x20ID\x20carrying\x20at\x20least\x20the\x20required\x20balance\x20(split/merged\x20+\x20self-delivered\x20on-chain)'),'digest':z['string']()['optional']()['describe']('Digest\x20of\x20the\x20on-chain\x20split/merge\x20+\x20self-delivery\x20transaction\x20that\x20produced\x20coin_address;\x20absent\x20only\x20when\x20no\x20transaction\x20was\x20executed'),'name_or_address':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address'),'balance_required':z['union']([z['string'](),z['number']()])['describe']('Required\x20coin\x20object\x20balance\x20(raw\x20smallest\x20units\x20executed\x20on-chain)'),'token_type':z['string']()['optional']()['describe']('Token\x20type;\x20default\x20token\x20type\x20is\x200x2::wow::WOW'),'network':EntrypointSchema['optional']()})['optional']()['describe']('Result\x20of\x20producing\x20a\x20coin\x20object\x20with\x20the\x20required\x20balance\x20(on-chain\x20split/merge\x20+\x20self-delivery\x20transaction)'),'signData':z['object']({'name_or_address':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address\x20used\x20for\x20signing'),'signature':z['string']()['describe']('Signature\x20in\x20hex\x20format'),'publicKey':z['string']()['describe']('Public\x20key\x20in\x20hex\x20format'),'address':z['string']()['describe']('Account\x20address')})['optional']()['describe']('Result\x20of\x20signing\x20data\x20with\x20account'),'messenger':z['object']({'name_or_account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address'),'enabled':z['boolean']()['describe']('Messenger\x20enabled\x20flag')})['optional']()['describe']('Result\x20of\x20enabling\x20or\x20disabling\x20messenger\x20for\x20an\x20account')})['describe']('Results\x20of\x20account\x20operations');export const LocalMarkOperationSchema=z['object']({'add':z['object']({'op':z['literal']('add')['describe']('Operation\x20type:\x20add\x20marks'),'data':z['array'](MarkParamSchema)['min'](0x1)['describe']('Array\x20of\x20mark\x20data\x20to\x20add\x20(at\x20least\x201\x20item)')})['strict']()['optional']()['describe']('Add\x20one\x20or\x20more\x20marks'),'remove':z['object']({'op':z['literal']('remove')['describe']('Operation\x20type:\x20remove\x20marks'),'names':z['array'](z['string']())['min'](0x1)['describe']('Array\x20of\x20mark\x20names\x20or\x20addresses\x20to\x20remove')})['strict']()['optional']()['describe']('Remove\x20marks\x20by\x20name\x20or\x20address'),'clear':z['object']({'op':z['literal']('clear')['describe']('Operation\x20type:\x20clear\x20all\x20marks')})['strict']()['optional']()['describe']('Remove\x20all\x20marks')})['strict']()['refine'](a=>a['add']!==undefined||a['remove']!==undefined||a['clear']!==undefined,{'message':'Exactly\x20one\x20operation\x20field\x20(add/remove/clear)\x20must\x20be\x20specified.\x20'+'CORRECT\x20format:\x20{add:\x20{op:\x27add\x27,\x20data:[...]}}\x20or\x20{remove:\x20{op:\x27remove\x27,\x20names:[...]}}\x20or\x20{clear:\x20{op:\x27clear\x27}}.\x20'+'INCORRECT\x20flat\x20format\x20{op:\x27add\x27,\x20data:[...]}\x20will\x20silently\x20do\x20nothing.'})['describe']('Local\x20mark\x20operations.\x20Exactly\x20one\x20operation\x20type\x20(add/remove/clear)\x20must\x20be\x20specified\x20as\x20a\x20NESTED\x20field.\x20'+'Example:\x20{add:\x20{op:\x27add\x27,\x20data:[...]}}\x20—\x20NOT\x20flat\x20{op:\x27add\x27,\x20data:[...]}.');export const LocalMarkOperationResultSchema=z['object']({'clear':z['boolean']()['optional']()['describe']('Whether\x20all\x20marks\x20were\x20successfully\x20removed'),'add':z['array'](MarkDataSchema)['optional']()['describe']('List\x20of\x20added\x20mark\x20data'),'remove':z['array'](MarkDataSchema)['optional']()['describe']('List\x20of\x20removed\x20mark\x20data')})['describe']('Results\x20of\x20local\x20mark\x20operations\x20for\x20ID');export const LocalInfoOperationSchema=z['object']({'add':z['object']({'op':z['literal']('add')['describe']('Operation\x20type:\x20add\x20info'),'data':z['array'](InfoDataSchema)['min'](0x1)['describe']('Array\x20of\x20info\x20data\x20to\x20add\x20(at\x20least\x201\x20item)')})['strict']()['optional']()['describe']('Add\x20one\x20or\x20more\x20info\x20entries'),'remove':z['object']({'op':z['literal']('remove')['describe']('Operation\x20type:\x20remove\x20info'),'data':z['array'](z['string']())['min'](0x1)['describe']('Array\x20of\x20info\x20names\x20to\x20remove')})['strict']()['optional']()['describe']('Remove\x20info\x20entries\x20by\x20name'),'reset':z['object']({'op':z['literal']('reset')['describe']('Operation\x20type:\x20reset\x20contents'),'name':z['string']()['describe']('Name\x20of\x20info\x20entry\x20to\x20reset'),'contents':z['array'](z['string']())['describe']('New\x20content\x20list\x20to\x20replace\x20existing\x20contents')})['strict']()['optional']()['describe']('Reset\x20the\x20contents\x20of\x20an\x20existing\x20info\x20entry'),'clear':z['object']({'op':z['literal']('clear')['describe']('Operation\x20type:\x20clear\x20all\x20info')})['strict']()['optional']()['describe']('Remove\x20all\x20info\x20entries')})['strict']()['refine'](a=>a['add']!==undefined||a['remove']!==undefined||a['reset']!==undefined||a['clear']!==undefined,{'message':'Exactly\x20one\x20operation\x20field\x20(add/remove/reset/clear)\x20must\x20be\x20specified.\x20'+'CORRECT\x20format:\x20{add:\x20{op:\x27add\x27,\x20data:[...]}}\x20or\x20{remove:\x20{op:\x27remove\x27,\x20data:[...]}}\x20etc.\x20'+'INCORRECT\x20flat\x20format\x20{op:\x27add\x27,\x20data:[...]}\x20will\x20silently\x20do\x20nothing.'})['describe']('Local\x20info\x20operations.\x20Exactly\x20one\x20operation\x20type\x20(add/remove/reset/clear)\x20must\x20be\x20specified\x20as\x20a\x20NESTED\x20field.\x20'+'Example:\x20{add:\x20{op:\x27add\x27,\x20data:[...]}}\x20—\x20NOT\x20flat\x20{op:\x27add\x27,\x20data:[...]}.');export const LocalInfoOperationResultSchema=z['object']({'success':z['boolean']()['describe']('Whether\x20successful')})['describe']('Results\x20of\x20local\x20info\x20operations');export const HistoryVisitDataSchema=z['object']({'key':z['string']()['min'](0x1)['describe']('Stable\x20identity\x20key\x20of\x20the\x20visited\x20object'),'objType':z['string']()['optional']()['describe']('Object\x20type\x20tag\x20for\x20detail\x20visits\x20(short\x20form,\x20e.g.\x20\x27Machine\x27)'),'address':WowAddressSchema['describe']('Canonical\x200x\x20address\x20of\x20the\x20visited\x20object'),'network':z['string']()['optional']()['describe']('Network\x20of\x20the\x20visit;\x20resolved\x20to\x20the\x20config\x20default\x20when\x20omitted'),'ts':z['number']()['int']()['describe']('Visit\x20timestamp\x20(ms\x20epoch)')})['strict']()['describe']('One\x20history\x20visit\x20(identity-only;\x20display\x20names\x20are\x20resolved\x20live)');export const LocalHistoryOperationSchema=z['object']({'add':z['object']({'op':z['literal']('add')['describe']('Operation\x20type:\x20add\x20history\x20visits'),'data':z['array'](HistoryVisitDataSchema)['min'](0x1)['describe']('Array\x20of\x20visits\x20to\x20record\x20(at\x20least\x201\x20item)')})['strict']()['optional']()['describe']('Record\x20one\x20or\x20more\x20object\x20visits\x20(upsert\x20by\x20key)'),'remove':z['object']({'op':z['literal']('remove')['describe']('Operation\x20type:\x20remove\x20history\x20entries'),'keys':z['array'](z['string']())['min'](0x1)['describe']('Array\x20of\x20history\x20entry\x20keys\x20to\x20remove')})['strict']()['optional']()['describe']('Remove\x20history\x20entries\x20by\x20key'),'clear':z['object']({'op':z['literal']('clear')['describe']('Operation\x20type:\x20clear\x20all\x20history')})['strict']()['optional']()['describe']('Remove\x20all\x20history\x20entries')})['strict']()['refine'](a=>a['add']!==undefined||a['remove']!==undefined||a['clear']!==undefined,{'message':'Exactly\x20one\x20operation\x20field\x20(add/remove/clear)\x20must\x20be\x20specified.\x20'+'Omit\x20every\x20field\x20to\x20LIST\x20stored\x20history.\x20'+'CORRECT\x20format:\x20{add:\x20{op:\x27add\x27,\x20data:[...]}}\x20or\x20{remove:\x20{op:\x27remove\x27,\x20keys:[...]}}\x20or\x20{clear:\x20{op:\x27clear\x27}}.\x20'+'INCORRECT\x20flat\x20format\x20{op:\x27add\x27,\x20data:[...]}\x20will\x20silently\x20do\x20nothing.'})['describe']('Local\x20visit-history\x20operations.\x20Exactly\x20one\x20operation\x20type\x20(add/remove/clear)\x20may\x20be\x20specified\x20as\x20a\x20NESTED\x20field;\x20'+'omit\x20all\x20fields\x20to\x20list\x20history\x20(newest\x20first).\x20'+'Example:\x20{add:\x20{op:\x27add\x27,\x20data:[...]}}\x20—\x20NOT\x20flat\x20{op:\x27add\x27,\x20data:[...]}.');export const HistoryEntryDataSchema=z['object']({'key':z['string']()['describe']('Stable\x20identity\x20key\x20of\x20the\x20visited\x20object'),'objType':z['string']()['optional']()['describe']('Object\x20type\x20tag\x20for\x20detail\x20visits'),'address':z['string']()['describe']('Canonical\x200x\x20address\x20of\x20the\x20visited\x20object'),'network':z['string']()['describe']('Network\x20of\x20the\x20visit'),'ts':z['number']()['int']()['describe']('Visit\x20timestamp\x20(ms\x20epoch)')})['strict']()['describe']('Stored\x20history\x20entry');export const LocalHistoryOperationResultSchema=z['object']({'list':z['array'](HistoryEntryDataSchema)['optional']()['describe']('History\x20entries\x20(newest\x20first);\x20present\x20when\x20no\x20op\x20was\x20given'),'add':z['array'](HistoryEntryDataSchema)['optional']()['describe']('List\x20of\x20upserted\x20history\x20entries'),'remove':z['array'](HistoryEntryDataSchema)['optional']()['describe']('List\x20of\x20removed\x20history\x20entries'),'clear':z['boolean']()['optional']()['describe']('Whether\x20all\x20history\x20entries\x20were\x20removed')})['describe']('Results\x20of\x20local\x20history\x20operations');export const FetchTokenInfoOperationSchema=z['object']({'tokenType':z['union']([TokenTypeSchema,z['null']()])['optional']()['describe']('Token\x20type;\x20default\x20token\x20type\x20is\x200x2::wow::WOW'),'alias':NameSchema['optional']()['describe']('Token\x20alias;\x20used\x20to\x20quickly\x20fetch\x20token\x20info'),'network':EntrypointSchema['optional']()})['describe']('Fetch\x20token\x20info\x20to\x20local\x20and\x20name\x20it');export const QueryLocalMarkListSchema=z['object']({'filter':LocalMarkFilterSchema['optional']()['describe']('Local\x20mark\x20filter')})['describe']('Query\x20local\x20mark\x20list\x20parameters');export const QueryLocalMarkListResultSchema=z['object']({'result':z['array'](MarkDataSchema)['describe']('Local\x20mark\x20list')})['describe']('Query\x20local\x20mark\x20list\x20result');export const AccountFilterSchema=z['object']({'name':NameSchema['optional']()['describe']('Filter\x20by\x20account\x20name\x20(supports\x20fuzzy\x20match)'),'address':WowAddressSchema['optional']()['describe']('Filter\x20by\x20account\x20address\x20(supports\x20partial\x20match,\x20format:\x200x\x20+\x20hex\x20characters)'),'suspended':z['boolean']()['optional']()['describe']('Filter\x20by\x20suspension\x20status.\x20Omit\x20to\x20return\x20all\x20accounts\x20regardless\x20of\x20status'),'hasMessenger':z['boolean']()['optional']()['describe']('Filter\x20accounts\x20with\x20messenger\x20enabled'),'createdAt':z['object']({'gte':z['number']()['optional']()['describe']('Filter\x20accounts\x20created\x20on\x20or\x20after\x20this\x20timestamp\x20(ms)'),'lte':z['number']()['optional']()['describe']('Filter\x20accounts\x20created\x20on\x20or\x20before\x20this\x20timestamp\x20(ms)')})['optional']()['describe']('Filter\x20by\x20creation\x20time\x20range'),'updatedAt':z['object']({'gte':z['number']()['optional']()['describe']('Filter\x20accounts\x20updated\x20on\x20or\x20after\x20this\x20timestamp\x20(ms)'),'lte':z['number']()['optional']()['describe']('Filter\x20accounts\x20updated\x20on\x20or\x20before\x20this\x20timestamp\x20(ms)')})['optional']()['describe']('Filter\x20by\x20update\x20time\x20range'),'includePubkey':z['boolean']()['optional']()['describe']('Include\x20pubkey\x20in\x20results\x20(default:\x20false).\x20Pubkey\x20is\x20large\x20(~900\x20bytes),\x20omit\x20unless\x20needed')})['describe']('Filter\x20criteria\x20for\x20querying\x20accounts.\x20Multiple\x20filters\x20are\x20combined\x20with\x20AND\x20logic.');export const QueryAccountListSchema=z['object']({'filter':AccountFilterSchema['optional']()['describe']('Account\x20filter')})['describe']('Query\x20account\x20list\x20parameters');export const AccountDataSchema=z['object']({'name':z['string']()['optional']()['describe']('Account\x20name'),'address':z['string']()['describe']('Account\x20address'),'pubkey':z['string']()['optional']()['describe']('Account\x20public\x20key'),'secret':z['string']()['optional']()['describe']('Account\x20secret\x20key'),'suspended':z['boolean']()['optional']()['describe']('Whether\x20account\x20is\x20suspended'),'createdAt':z['number']()['optional']()['describe']('Timestamp\x20when\x20account\x20was\x20created'),'updatedAt':z['number']()['optional']()['describe']('Timestamp\x20when\x20account\x20was\x20last\x20updated'),'messenger':z['boolean']()['optional']()['describe']('Whether\x20messenger\x20is\x20enabled\x20for\x20this\x20account'),'suspendedName':z['string']()['optional']()['describe']('Name\x20before\x20suspension\x20(set\x20by\x20suspend,\x20cleared\x20by\x20resume)')})['describe']('Account\x20data');export const QueryAccountListResultSchema=z['object']({'result':z['array'](AccountDataSchema)['describe']('Account\x20list')})['describe']('Query\x20account\x20list\x20result');export const QueryLocalInfoListResultSchema=z['object']({'result':z['array'](InfoDataSchema)['describe']('Local\x20info\x20list')})['describe']('Query\x20local\x20info\x20list\x20result');export const TokenTypeInfoSchema=z['object']({'type':z['string']()['describe']('Token\x20type'),'alias':z['string']()['optional']()['describe']('Token\x20alias'),'name':z['string']()['describe']('Token\x20name'),'symbol':z['string']()['describe']('Token\x20symbol'),'decimals':z['number']()['describe']('Number\x20of\x20decimal\x20places'),'description':z['string']()['describe']('Description\x20of\x20the\x20token'),'iconUrl':z['union']([z['string'](),z['null']()])['optional']()['describe']('URL\x20for\x20the\x20token\x20logo'),'id':z['union']([z['string'](),z['null']()])['optional']()['describe']('Object\x20id\x20for\x20the\x20CoinMetadata\x20object')})['describe']('Token\x20type\x20info');export const TokenDataFilterSchema=z['object']({'alias_or_name':NameSchema['optional']()['describe']('Alias\x20or\x20name\x20filter'),'symbol':z['string']()['optional']()['describe']('Token\x20symbol'),'type':z['string']()['optional']()['describe']('Token\x20type')})['describe']('Token\x20data\x20filter');export const QueryLocalTokenListResultSchema=z['object']({'result':z['array'](TokenTypeInfoSchema)['describe']('Local\x20token\x20list')})['describe']('Query\x20local\x20token\x20list\x20result');export const AccountOperationOutputSchema=z['discriminatedUnion']('status',[z['object']({'status':z['literal']('success'),'data':AccountOperationResultSchema['describe']('Success\x20result\x20data')}),z['object']({'status':z['literal']('error'),'error':z['string']()['describe']('Error\x20message'),...LocalOperationErrorFields}),z['object']({'status':z['literal']('pending_confirmation'),'operation':z['string']()['describe']('Operation\x20that\x20was\x20blocked\x20(e.g.\x20\x27account_transfer\x27)'),'message':z['string']()['describe']('Human-readable\x20confirmation\x20message\x20(amount,\x20token\x20full\x20type,\x20decimals,\x20recipient,\x20warnings)'),'rule_id':z['string']()['describe']('Id\x20of\x20the\x20confirmation\x20rule\x20that\x20matched')})['describe']('Pending\x20confirmation\x20—\x20the\x20on-chain\x20fund\x20movement\x20(transfer\x20or\x20get)\x20was\x20NOT\x20executed.\x20Read\x20message\x20first;\x20if\x20the\x20user\x20consents,\x20re-invoke\x20the\x20SAME\x20call\x20with\x20transfer.confirmed=true\x20or\x20get.confirmed=true.')])['describe']('Account\x20operation\x20output\x20schema\x20with\x20discriminator');export const AccountOperationOutputWrappedSchema=z['object']({'result':AccountOperationOutputSchema,'semantic':SemanticSummarySchema['optional']()['describe']('Business\x20semantic\x20summary\x20for\x20account\x20operation')})['describe']('Account\x20operation\x20output\x20wrapped\x20schema');export const LocalMarkOperationOutputSchema=z['discriminatedUnion']('status',[z['object']({'status':z['literal']('success'),'data':LocalMarkOperationResultSchema['describe']('Success\x20result\x20data')}),z['object']({'status':z['literal']('error'),'error':z['string']()['describe']('Error\x20message'),...LocalOperationErrorFields})])['describe']('Local\x20mark\x20operation\x20output\x20schema\x20with\x20discriminator');export const LocalMarkOperationOutputWrappedSchema=z['object']({'result':LocalMarkOperationOutputSchema,'semantic':SemanticSummarySchema['optional']()['describe']('Business\x20semantic\x20summary\x20for\x20local\x20mark\x20operation')})['describe']('Local\x20mark\x20operation\x20output\x20wrapped\x20schema');export const LocalInfoOperationOutputSchema=z['discriminatedUnion']('status',[z['object']({'status':z['literal']('success'),'data':LocalInfoOperationResultSchema['describe']('Success\x20result\x20data')}),z['object']({'status':z['literal']('error'),'error':z['string']()['describe']('Error\x20message'),...LocalOperationErrorFields})])['describe']('Local\x20info\x20operation\x20output\x20schema\x20with\x20discriminator');export const LocalInfoOperationOutputWrappedSchema=z['object']({'result':LocalInfoOperationOutputSchema,'semantic':SemanticSummarySchema['optional']()['describe']('Business\x20semantic\x20summary\x20for\x20local\x20info\x20operation')})['describe']('Local\x20info\x20operation\x20output\x20wrapped\x20schema');export const LocalHistoryOperationOutputSchema=z['discriminatedUnion']('status',[z['object']({'status':z['literal']('success'),'data':LocalHistoryOperationResultSchema['describe']('Success\x20result\x20data')}),z['object']({'status':z['literal']('error'),'error':z['string']()['describe']('Error\x20message'),...LocalOperationErrorFields})])['describe']('Local\x20history\x20operation\x20output\x20schema\x20with\x20discriminator');export const LocalHistoryOperationOutputWrappedSchema=z['object']({'result':LocalHistoryOperationOutputSchema,'semantic':SemanticSummarySchema['optional']()['describe']('Business\x20semantic\x20summary\x20for\x20local\x20history\x20operation')})['describe']('Local\x20history\x20operation\x20output\x20wrapped\x20schema');export*from'./wip.js';
1
+ import{EntrypointSchema,ObjectOwnerSchema,NameOrAddressSchema,NameSchema,WowAddressSchema,TokenTypeSchema,FaucetNetworkSchema}from'../common/index.js';import{z}from'zod';import{SemanticSummarySchema as a323a}from'../call/index.js';const SemanticSummarySchema=z['lazy'](()=>a323a);import{ERROR_CODE_VALUES}from'../call/error-codes.js';const LocalOperationErrorFields={'error_code':z['enum'](ERROR_CODE_VALUES)['optional']()['describe']('Error\x20classification\x20for\x20programmatic\x20recovery'),'retryable':z['boolean']()['optional']()['describe']('Whether\x20the\x20operation\x20can\x20be\x20retried\x20as-is'),'recovery_hint':z['string']()['optional']()['describe']('Recovery\x20suggestion\x20for\x20AI\x20or\x20user')};export const LocalMarkConstraints={'nameMaxLength':0x40,'tagMaxLength':0x40,'tagMaxCount':0x32};export const LocalInfoConstraints={'nameMaxLength':0x40,'contentMaxLength':0x12c,'contentMaxCount':0x32,'defaultName':'Address\x20of\x20delivery'};export const AccountConstraints={'nameMaxLength':0x40};export const ErrorResultSchema=z['object']({'error':z['literal'](!![])['describe']('Always\x20true\x20for\x20error\x20responses'),'code':z['string']()['optional']()['describe']('Error\x20code\x20for\x20programmatic\x20handling'),'message':z['string']()['describe']('Human-readable\x20error\x20message'),'details':z['record'](z['string'](),z['string']())['optional']()['describe']('Additional\x20error\x20context')})['describe']('Error\x20response\x20structure');export const createResultSchema=a=>z['union']([z['object']({'success':z['literal'](!![]),'data':a}),ErrorResultSchema]);export const CoinBalanceSchema=z['object']({'coinType':z['string']()['describe']('Coin\x20type'),'coinObjectCount':z['number']()['describe']('Coin\x20object\x20count'),'totalBalance':z['string']()['describe']('Total\x20balance'),'lockedBalance':z['record'](z['string'](),z['string']())['describe']('Locked\x20balance')})['describe']('Coin\x20balance');export const CoinStructSchema=z['object']({'balance':z['string']()['describe']('Coin\x20balance'),'coinObjectId':z['string']()['describe']('Coin\x20object\x20ID'),'coinType':z['string']()['describe']('Coin\x20type'),'digest':z['string']()['describe']('Transaction\x20digest'),'previousTransaction':z['string']()['describe']('Previous\x20transaction\x20digest'),'version':z['union']([z['string'](),z['number']()])['describe']('Coin\x20object\x20version')})['describe']('Coin\x20object');export const PaginatedCoinsSchema=z['object']({'data':z['array'](CoinStructSchema)['describe']('Coin\x20object\x20list'),'hasNextPage':z['boolean']()['describe']('Whether\x20there\x20is\x20a\x20next\x20page'),'nextCursor':z['union']([z['string'](),z['null']()])['optional']()['describe']('Next\x20query\x20cursor')})['describe']('Paginated\x20coin\x20objects');export const FaucetCoinInfoSchema=z['object']({'amount':z['number']()['describe']('Coin\x20amount'),'id':z['string']()['describe']('Coin\x20ID'),'transferTxDigest':z['string']()['describe']('Transfer\x20transaction\x20digest')})['describe']('Testnet\x20faucet\x20coin\x20info');export const EventIdSchema=z['object']({'eventSeq':z['union']([z['string'](),z['number']()])['describe']('Event\x20sequence\x20number'),'txDigest':z['string']()['describe']('Transaction\x20digest')})['describe']('Event\x20ID');export const WowEventSchema=z['discriminatedUnion']('bcsEncoding',[z['object']({'id':EventIdSchema['describe']('Event\x20ID'),'packageId':z['string']()['describe']('Package\x20ID\x20where\x20event\x20originated'),'parsedJson':z['record'](z['string'](),z['unknown']())['describe']('Parsed\x20JSON\x20value\x20of\x20the\x20event'),'sender':z['string']()['describe']('Sender\x27s\x20address'),'timestampMs':z['union']([z['string'](),z['null']()])['optional']()['describe']('UTC\x20timestamp\x20in\x20milliseconds\x20since\x20epoch'),'transactionModule':z['string']()['describe']('Module\x20where\x20event\x20originated'),'type':z['string']()['describe']('Move\x20event\x20type'),'bcs':z['string']()['describe']('BCS\x20encoded\x20event'),'bcsEncoding':z['literal']('base64')['describe']('BCS\x20encoding\x20format')}),z['object']({'id':EventIdSchema['describe']('Event\x20ID'),'packageId':z['string']()['describe']('Package\x20ID\x20where\x20event\x20originated'),'parsedJson':z['record'](z['string'](),z['unknown']())['describe']('Parsed\x20JSON\x20value\x20of\x20the\x20event'),'sender':z['string']()['describe']('Sender\x27s\x20ID'),'timestampMs':z['union']([z['string'](),z['null']()])['optional']()['describe']('UTC\x20timestamp\x20in\x20milliseconds\x20since\x20epoch'),'transactionModule':z['string']()['describe']('Module\x20where\x20event\x20originated'),'type':z['string']()['describe']('Move\x20event\x20type'),'bcs':z['string']()['describe']('BCS\x20encoded\x20event'),'bcsEncoding':z['literal']('base58')['describe']('BCS\x20encoding\x20format')})])['describe']('Blockchain\x20event');export const BalanceChangeSchema=z['object']({'amount':z['string']()['describe']('Balance\x20change\x20value,\x20negative\x20for\x20spending,\x20positive\x20for\x20receiving'),'coinType':z['string']()['describe']('Coin\x20type'),'owner':ObjectOwnerSchema['describe']('Owner\x20of\x20the\x20balance\x20change')})['describe']('Balance\x20change');export const GasCostSummarySchema=z['object']({'computationCost':z['string']()['describe']('Computation/execution\x20cost'),'nonRefundableStorageFee':z['string']()['describe']('Non-refundable\x20storage\x20fee'),'storageCost':z['string']()['describe']('Storage\x20cost'),'storageRebate':z['string']()['describe']('Storage\x20rebate')})['describe']('Transaction\x20fee\x20summary');export const WowObjectRefSchema=z['object']({'digest':z['string']()['describe']('Base64\x20string\x20of\x20object\x20digest'),'objectId':z['string']()['describe']('Hex\x20code\x20string\x20representing\x20object\x20ID'),'version':z['union']([z['string'](),z['number']()])['describe']('Object\x20version')})['describe']('Wow\x20object\x20reference');export const OwnedObjectRefSchema=z['object']({'owner':ObjectOwnerSchema['describe']('Owner'),'reference':WowObjectRefSchema['describe']('Object\x20reference')})['describe']('Owned\x20object\x20reference');export const TransactionBlockEffectsModifiedAtVersionsSchema=z['object']({'objectId':z['string']()['describe']('Object\x20ID'),'sequenceNumber':z['union']([z['string'](),z['number']()])['describe']('Sequence\x20number')})['describe']('Transaction\x20block\x20effects\x20modified\x20versions');export const WowMoveAbortSchema=z['object']({'error_code':z['union']([z['string'](),z['null']()])['optional']()['describe']('Error\x20code'),'function':z['union']([z['string'](),z['null']()])['optional']()['describe']('Function'),'line':z['union']([z['number'](),z['null']()])['optional']()['describe']('Line\x20number'),'module_id':z['union']([z['string'](),z['null']()])['optional']()['describe']('Module\x20ID')})['describe']('Wow\x20Move\x20abort');export const ExecutionStatusSchema=z['object']({'status':z['union']([z['literal']('success'),z['literal']('failure')])['describe']('Execution\x20status'),'error':z['string']()['optional']()['describe']('Error\x20message')})['describe']('Execution\x20status');export const WowGasDataSchema=z['object']({'budget':z['string']()['describe']('Budget'),'owner':z['string']()['describe']('Owner'),'payment':z['array'](WowObjectRefSchema)['describe']('Payment'),'price':z['string']()['describe']('Price')})['describe']('Wow\x20gas\x20data');export const WowTransactionBlockKindSchema=z['object']({'kind':z['string']()['describe']('Transaction\x20type')})['passthrough']()['describe']('Wow\x20transaction\x20block\x20kind');export const TransactionBlockDataSchema=z['object']({'gasData':WowGasDataSchema['describe']('Gas\x20data'),'messageVersion':z['literal']('v1')['describe']('Message\x20version'),'sender':z['string']()['describe']('Sender'),'transaction':WowTransactionBlockKindSchema['describe']('Transaction')})['describe']('Transaction\x20block\x20data');export const WowTransactionBlockSchema=z['object']({'data':TransactionBlockDataSchema['describe']('Transaction\x20data'),'txSignatures':z['array'](z['string']())['describe']('Transaction\x20signatures')})['describe']('Wow\x20transaction\x20block');export const WowObjectChangeSchema=z['discriminatedUnion']('type',[z['object']({'type':z['literal']('published'),'digest':z['string']()['describe']('Digest'),'modules':z['array'](z['string']())['describe']('Modules'),'packageId':z['string']()['describe']('Package\x20ID'),'version':z['union']([z['string'](),z['number']()])['describe']('Version')}),z['object']({'type':z['literal']('transferred'),'digest':z['string']()['describe']('Digest'),'objectId':z['string']()['describe']('Object\x20ID'),'objectType':z['string']()['describe']('Object\x20type'),'recipient':ObjectOwnerSchema['describe']('Recipient'),'sender':z['string']()['describe']('Sender\x20ID'),'version':z['union']([z['string'](),z['number']()])['describe']('Version')}),z['object']({'type':z['literal']('mutated'),'digest':z['string']()['describe']('Digest'),'objectId':z['string']()['describe']('Object\x20ID'),'objectType':z['string']()['describe']('Object\x20type'),'owner':z['union']([ObjectOwnerSchema,z['null']()])['describe']('Owner'),'previousVersion':z['union']([z['string'](),z['number']()])['describe']('Previous\x20version'),'sender':z['string']()['describe']('Sender'),'version':z['union']([z['string'](),z['number']()])['describe']('Version')}),z['object']({'type':z['literal']('deleted'),'objectId':z['string']()['describe']('Object\x20ID'),'objectType':z['string']()['describe']('Object\x20type'),'sender':z['string']()['describe']('Sender'),'version':z['union']([z['string'](),z['number']()])['describe']('Version')}),z['object']({'type':z['literal']('wrapped'),'objectId':z['string']()['describe']('Object\x20ID'),'objectType':z['string']()['describe']('Object\x20type'),'sender':z['string']()['describe']('Sender'),'version':z['union']([z['string'](),z['number']()])['describe']('Version')}),z['object']({'type':z['literal']('created'),'digest':z['string']()['describe']('Digest'),'objectId':z['string']()['describe']('Object\x20ID'),'objectType':z['string']()['describe']('Object\x20type'),'owner':z['union']([ObjectOwnerSchema,z['null']()])['describe']('Owner'),'sender':z['string']()['describe']('Sender'),'version':z['union']([z['string'](),z['number']()])['describe']('Version')})])['describe']('Object\x20change\x20information');export const TransactionEffectsSchema=z['object']({'abortError':z['union']([WowMoveAbortSchema,z['null']()])['optional']()['describe']('Abort\x20error\x20if\x20transaction\x20failed\x20with\x20abort\x20code'),'created':z['array'](OwnedObjectRefSchema)['optional']()['describe']('ObjectRef\x20and\x20owner\x20of\x20newly\x20created\x20objects'),'deleted':z['array'](WowObjectRefSchema)['optional']()['describe']('Object\x20references\x20(old\x20refs)\x20of\x20now\x20deleted\x20objects'),'dependencies':z['array'](z['string']())['optional']()['describe']('Set\x20of\x20transaction\x20digests\x20this\x20transaction\x20depends\x20on'),'eventsDigest':z['union']([z['string'](),z['null']()])['optional']()['describe']('Digest\x20of\x20events\x20emitted\x20during\x20execution'),'executedEpoch':z['union']([z['string'](),z['number']()])['describe']('Epoch\x20in\x20which\x20this\x20transaction\x20was\x20executed'),'gasObject':OwnedObjectRefSchema['describe']('Updated\x20gas\x20object\x20reference'),'gasUsed':GasCostSummarySchema['describe']('Gas\x20used'),'messageVersion':z['literal']('v1')['describe']('Message\x20version'),'modifiedAtVersions':z['array'](TransactionBlockEffectsModifiedAtVersionsSchema)['optional']()['describe']('Version\x20of\x20each\x20modified\x20(mutated\x20or\x20deleted)\x20object\x20before\x20this\x20transaction\x20modified\x20it'),'mutated':z['array'](OwnedObjectRefSchema)['optional']()['describe']('ObjectRef\x20and\x20owner\x20of\x20mutated\x20objects,\x20including\x20gas\x20object'),'sharedObjects':z['array'](WowObjectRefSchema)['optional']()['describe']('Object\x20references\x20of\x20shared\x20objects\x20used\x20in\x20this\x20transaction'),'status':ExecutionStatusSchema['describe']('Execution\x20status'),'transactionDigest':z['string']()['describe']('Transaction\x20digest'),'unwrapped':z['array'](OwnedObjectRefSchema)['optional']()['describe']('ObjectRef\x20and\x20owner\x20of\x20objects\x20unwrapped\x20in\x20this\x20transaction'),'unwrappedThenDeleted':z['array'](WowObjectRefSchema)['optional']()['describe']('Object\x20references\x20of\x20objects\x20previously\x20wrapped\x20in\x20other\x20objects\x20but\x20now\x20deleted'),'wrapped':z['array'](WowObjectRefSchema)['optional']()['describe']('Object\x20references\x20of\x20objects\x20now\x20wrapped\x20in\x20other\x20objects')})['describe']('Transaction\x20effects');export const WowTransactionBlockResponseSchema=z['object']({'balanceChanges':z['union']([z['array'](BalanceChangeSchema),z['null']()])['optional']()['describe']('Balance\x20changes'),'checkpoint':z['union']([z['string'](),z['null']()])['optional']()['describe']('Checkpoint\x20number\x20that\x20this\x20transaction\x20is\x20included\x20in\x20and\x20thus\x20completed'),'confirmedLocalExecution':z['union']([z['boolean'](),z['null']()])['optional']()['describe']('Confirmed\x20local\x20execution'),'digest':z['string']()['describe']('Transaction\x20digest'),'effects':z['union']([TransactionEffectsSchema,z['null']()])['optional']()['describe']('Transaction\x20effects'),'errors':z['array'](z['string']())['optional']()['describe']('Error\x20messages'),'events':z['union']([z['array'](WowEventSchema),z['null']()])['optional']()['describe']('Events'),'objectChanges':z['union']([z['array'](WowObjectChangeSchema),z['null']()])['optional']()['describe']('Object\x20changes'),'rawEffects':z['array'](z['number']())['optional']()['describe']('Raw\x20effects'),'rawTransaction':z['string']()['optional']()['describe']('Raw\x20transaction'),'timestampMs':z['union']([z['string'](),z['null']()])['optional']()['describe']('Timestamp'),'transaction':z['union']([WowTransactionBlockSchema,z['null']()])['optional']()['describe']('Transaction\x20input\x20data')})['describe']('Wow\x20transaction\x20block\x20response');export const MarkParamSchema=z['object']({'name':z['preprocess'](a=>{if(typeof a==='string')return{'value':a,'replaceExistName':![]};return a;},z['object']({'value':z['string']()['max'](LocalMarkConstraints['nameMaxLength'],'Mark\x20name\x20exceeds\x20maximum\x20length\x20of\x20'+LocalMarkConstraints['nameMaxLength']+'\x20bcs\x20characters')['describe']('Mark\x20name\x20value\x20(max\x20'+LocalMarkConstraints['nameMaxLength']+'\x20bcs\x20characters)'),'replaceExistName':z['boolean']()['optional']()['default'](![])['describe']('If\x20true,\x20replace\x20existing\x20mark\x20with\x20same\x20name;\x20if\x20false\x20(default),\x20throw\x20error\x20when\x20name\x20exists')})['optional']()['describe']('Mark\x20naming\x20configuration.\x20Accepts\x20a\x20bare\x20name\x20string\x20(shorthand\x20normalized\x20to\x20{value:\x20name,\x20replaceExistName:\x20false})\x20or\x20the\x20canonical\x20object\x20{value:\x20string,\x20replaceExistName?:\x20boolean}\x20when\x20replacing\x20an\x20existing\x20same-name\x20mark.\x20Examples:\x20{name:\x20\x27my-account\x27}\x20or\x20{name:\x20{value:\x20\x27my-account\x27,\x20replaceExistName:\x20true}}')),'address':WowAddressSchema,'tags':z['array'](z['string']()['max'](LocalMarkConstraints['tagMaxLength'],'Tag\x20exceeds\x20maximum\x20length\x20of\x20'+LocalMarkConstraints['tagMaxLength']+'\x20bcs\x20characters'))['max'](LocalMarkConstraints['tagMaxCount'],'Tag\x20count\x20exceeds\x20maximum\x20of\x20'+LocalMarkConstraints['tagMaxCount'])['optional']()['describe']('Tags\x20for\x20categorization\x20(max\x20'+LocalMarkConstraints['tagMaxCount']+'\x20tags,\x20each\x20max\x20'+LocalMarkConstraints['tagMaxLength']+'\x20bcs\x20characters)')})['describe']('LOCAL\x20ONLY:\x20Parameters\x20for\x20creating\x20or\x20updating\x20a\x20LOCAL\x20mark.\x20This\x20data\x20is\x20stored\x20privately\x20on\x20your\x20device\x20and\x20will\x20NEVER\x20be\x20published\x20to\x20the\x20blockchain.\x20'+'For\x20public\x20on-chain\x20marks,\x20use\x20the\x20\x27personal\x27\x20tool\x20instead.\x20'+'The\x20\x27name\x27\x20field\x20accepts\x20a\x20bare\x20name\x20string\x20(shorthand:\x20{name:\x27my-account\x27})\x20or\x20the\x20canonical\x20object\x20form\x20{value,\x20replaceExistName?}\x20when\x20an\x20existing\x20same-name\x20mark\x20must\x20be\x20replaced.\x20'+'FIX-011\x20cross-network\x20consistency:\x20LocalMark\x20names\x20are\x20scoped\x20per\x20network.\x20'+'When\x20creating\x20marks\x20for\x20the\x20same\x20logical\x20object\x20on\x20different\x20networks\x20(e.g.\x20testnet\x20and\x20mainnet),\x20'+'use\x20the\x20SAME\x20name\x20value\x20to\x20keep\x20name-based\x20references\x20portable.\x20'+'Before\x20creating\x20a\x20mark\x20on\x20mainnet,\x20check\x20if\x20a\x20mark\x20with\x20the\x20same\x20name\x20already\x20exists\x20on\x20testnet\x20'+'(via\x20query_local\x20with\x20network=\x27testnet\x27)\x20and\x20replicate\x20the\x20same\x20name\x20on\x20mainnet\x20for\x20consistency.');export const MarkDataSchema=z['object']({'name':z['string']()['max'](LocalMarkConstraints['nameMaxLength'],'Mark\x20name\x20exceeds\x20maximum\x20length\x20of\x20'+LocalMarkConstraints['nameMaxLength']+'\x20bcs\x20characters')['optional']()['describe']('Mark\x20name\x20(max\x20'+LocalMarkConstraints['nameMaxLength']+'\x20bcs\x20characters)'),'address':WowAddressSchema,'tags':z['array'](z['string']()['max'](LocalMarkConstraints['tagMaxLength'],'Tag\x20exceeds\x20maximum\x20length\x20of\x20'+LocalMarkConstraints['tagMaxLength']+'\x20bcs\x20characters'))['max'](LocalMarkConstraints['tagMaxCount'],'Tag\x20count\x20exceeds\x20maximum\x20of\x20'+LocalMarkConstraints['tagMaxCount'])['optional']()['describe']('Tags\x20for\x20categorization\x20(max\x20'+LocalMarkConstraints['tagMaxCount']+'\x20tags,\x20each\x20max\x20'+LocalMarkConstraints['tagMaxLength']+'\x20bcs\x20characters)'),'createdAt':z['number']()['optional']()['describe']('Unix\x20timestamp\x20(ms)\x20when\x20this\x20mark\x20was\x20created'),'updatedAt':z['number']()['optional']()['describe']('Unix\x20timestamp\x20(ms)\x20when\x20this\x20mark\x20was\x20last\x20modified')})['describe']('LOCAL\x20PRIVATE:\x20Local\x20mark\x20data\x20structure\x20for\x20storing\x20address\x20names\x20and\x20tags\x20privately\x20on\x20your\x20device.\x20This\x20data\x20is\x20NEVER\x20published\x20to\x20the\x20blockchain.\x20CROSS-NETWORK\x20ISOLATION\x20(DOC-02):\x20LocalMark\x20names\x20are\x20scoped\x20per\x20network\x20—\x20the\x20same\x20name\x20\x27my-service\x27\x20can\x20map\x20to\x20different\x20addresses\x20on\x20testnet\x20vs\x20mainnet.\x20When\x20switching\x20networks\x20(e.g.,\x20testnet→mainnet\x20deployment),\x20re-create\x20marks\x20with\x20the\x20same\x20names\x20pointing\x20to\x20the\x20new\x20mainnet\x20addresses.\x20This\x20enables\x20name-based\x20object\x20references\x20that\x20work\x20identically\x20across\x20networks\x20without\x20code\x20changes.');export const InfoDataInnerSchema=z['object']({'default':z['string']()['max'](LocalInfoConstraints['contentMaxLength'],'Default\x20value\x20exceeds\x20maximum\x20length\x20of\x20'+LocalInfoConstraints['contentMaxLength']+'\x20bcs\x20characters')['describe']('Primary/default\x20value\x20for\x20this\x20info\x20(max\x20'+LocalInfoConstraints['contentMaxLength']+'\x20bcs\x20characters)'),'contents':z['array'](z['string']()['max'](LocalInfoConstraints['contentMaxLength'],'Content\x20item\x20exceeds\x20maximum\x20length\x20of\x20'+LocalInfoConstraints['contentMaxLength']+'\x20bcs\x20characters'))['max'](LocalInfoConstraints['contentMaxCount'],'Content\x20count\x20exceeds\x20maximum\x20of\x20'+LocalInfoConstraints['contentMaxCount'])['optional']()['describe']('Additional\x20content\x20values\x20(max\x20'+LocalInfoConstraints['contentMaxCount']+'\x20items,\x20each\x20max\x20'+LocalInfoConstraints['contentMaxLength']+'\x20bcs\x20characters)'),'createdAt':z['number']()['optional']()['describe']('Unix\x20timestamp\x20(ms)\x20when\x20this\x20info\x20was\x20created'),'updatedAt':z['number']()['optional']()['describe']('Unix\x20timestamp\x20(ms)\x20when\x20this\x20info\x20was\x20last\x20modified')})['describe']('Info\x20data\x20inner\x20structure');export const InfoDataSchema=InfoDataInnerSchema['extend']({'name':z['string']()['max'](LocalInfoConstraints['nameMaxLength'],'Info\x20name\x20exceeds\x20maximum\x20length\x20of\x20'+LocalInfoConstraints['nameMaxLength']+'\x20bcs\x20characters')['describe']('Unique\x20identifier\x20for\x20this\x20info\x20entry\x20(max\x20'+LocalInfoConstraints['nameMaxLength']+'\x20bcs\x20characters)')})['describe']('LOCAL\x20PRIVATE:\x20Local\x20info\x20data\x20structure\x20for\x20storing\x20sensitive\x20personal\x20information\x20like\x20delivery\x20addresses,\x20phone\x20numbers,\x20etc.\x20This\x20data\x20is\x20stored\x20ONLY\x20on\x20your\x20device\x20and\x20NEVER\x20published\x20to\x20the\x20blockchain.');export const LocalMarkFilterSchema=z['object']({'name':NameSchema['optional']()['describe']('Filter\x20by\x20mark\x20name\x20(supports\x20fuzzy\x20match)'),'tags':z['array'](z['string']())['optional']()['describe']('Filter\x20by\x20tags\x20-\x20returns\x20marks\x20that\x20contain\x20ANY\x20of\x20the\x20specified\x20tags'),'address':WowAddressSchema['optional']()['describe']('Filter\x20by\x20address\x20(exact\x20match,\x20format:\x200x\x20+\x2064\x20hex\x20characters)'),'createdAt':z['object']({'gte':z['number']()['optional']()['describe']('Filter\x20marks\x20created\x20on\x20or\x20after\x20this\x20timestamp\x20(ms)'),'lte':z['number']()['optional']()['describe']('Filter\x20marks\x20created\x20on\x20or\x20before\x20this\x20timestamp\x20(ms)')})['optional']()['describe']('Filter\x20by\x20creation\x20time\x20range'),'updatedAt':z['object']({'gte':z['number']()['optional']()['describe']('Filter\x20marks\x20updated\x20on\x20or\x20after\x20this\x20timestamp\x20(ms)'),'lte':z['number']()['optional']()['describe']('Filter\x20marks\x20updated\x20on\x20or\x20before\x20this\x20timestamp\x20(ms)')})['optional']()['describe']('Filter\x20by\x20update\x20time\x20range')})['describe']('Filter\x20criteria\x20for\x20querying\x20local\x20marks.\x20Multiple\x20filters\x20are\x20combined\x20with\x20AND\x20logic.');export const LocalInfoFilterSchema=z['object']({'name':NameSchema['optional']()['describe']('Filter\x20by\x20info\x20name\x20(supports\x20fuzzy\x20match)'),'default':z['string']()['optional']()['describe']('Filter\x20by\x20default\x20value\x20(supports\x20fuzzy\x20match)'),'contents':z['array'](z['string']())['optional']()['describe']('Filter\x20by\x20contents\x20-\x20returns\x20info\x20that\x20contains\x20ANY\x20of\x20the\x20specified\x20content\x20items'),'createdAt':z['object']({'gte':z['number']()['optional']()['describe']('Filter\x20info\x20created\x20on\x20or\x20after\x20this\x20timestamp\x20(ms)'),'lte':z['number']()['optional']()['describe']('Filter\x20info\x20created\x20on\x20or\x20before\x20this\x20timestamp\x20(ms)')})['optional']()['describe']('Filter\x20by\x20creation\x20time\x20range'),'updatedAt':z['object']({'gte':z['number']()['optional']()['describe']('Filter\x20info\x20updated\x20on\x20or\x20after\x20this\x20timestamp\x20(ms)'),'lte':z['number']()['optional']()['describe']('Filter\x20info\x20updated\x20on\x20or\x20before\x20this\x20timestamp\x20(ms)')})['optional']()['describe']('Filter\x20by\x20update\x20time\x20range')})['describe']('Filter\x20criteria\x20for\x20querying\x20local\x20info.\x20Multiple\x20filters\x20are\x20combined\x20with\x20AND\x20logic.');export const QueryLocalInfoListSchema=z['object']({'filter':LocalInfoFilterSchema['optional']()['describe']('Local\x20info\x20filter')})['describe']('Query\x20local\x20info\x20list\x20parameters');export const QueryAccountSchema=z['object']({'name_or_address':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20Use\x20empty\x20string\x20\x27\x27\x20for\x20the\x20default\x20account.\x20Defaults\x20to\x20\x27\x27\x20if\x20omitted.'),'balance':z['boolean']()['optional']()['describe']('Whether\x20to\x20query\x20coin\x20balance\x20amount'),'coin':z['object']({'cursor':z['union']([z['string'](),z['null']()])['optional']()['describe']('Query\x20cursor\x20for\x20pagination'),'limit':z['union']([z['number'](),z['null']()])['optional']()['describe']('Maximum\x20number\x20of\x20objects\x20to\x20return')})['optional']()['describe']('Whether\x20to\x20query\x20coin\x20object\x20list'),'token_type':TokenTypeSchema['optional']()['describe']('Token\x20type;\x20default\x20token\x20type\x20is\x200x2::wow::WOW'),'network':EntrypointSchema['optional']()})['describe']('Used\x20to\x20query\x20account\x27s\x20coin\x20balance');export const QueryAccountResultSchema=z['object']({'name_or_address':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20ID'),'address':z['string']()['optional']()['describe']('Account\x20ID'),'balance':CoinBalanceSchema['optional']()['describe']('Coin\x20balance\x20details'),'coin':PaginatedCoinsSchema['optional']()['describe']('Paginated\x20coin\x20object\x20list')})['describe']('Result\x20of\x20querying\x20account\x27s\x20coin\x20balance');export const AccountOperationSchema=z['object']({'gen':z['object']({'name':NameSchema['optional']()['describe']('Account\x20name\x20(max\x20'+AccountConstraints['nameMaxLength']+'\x20characters).\x20Use\x20empty\x20string\x20\x27\x27\x20or\x20omit\x20for\x20the\x20default\x20account.\x20'+'Recommended\x20convention:\x20<role>-<number>\x20(e.g.\x20shop-001,\x20user-001,\x20arb-001)\x20for\x20easy\x20filtering\x20and\x20batch\x20operations.'),'replaceExistName':z['boolean']()['optional']()['describe']('DISCOURAGED.\x20If\x20true,\x20an\x20existing\x20account\x20with\x20the\x20same\x20name\x20will\x20be\x20SUSPENDED\x20(not\x20just\x20renamed)\x20to\x20free\x20the\x20name\x20for\x20the\x20new\x20account.\x20'+'The\x20old\x20account\x20moves\x20to\x20the\x20Suspended\x20tab\x20and\x20cannot\x20sign\x20transactions\x20until\x20resumed\x20with\x20a\x20new\x20name.\x20'+'FORBIDDEN\x20on\x20the\x20default\x20account\x20(name=\x27\x27\x20or\x20omitted)\x20—\x20the\x20default\x20account\x20is\x20unique\x20and\x20cannot\x20be\x20replaced;\x20use\x20suspend()\x20explicitly\x20instead.\x20'+'Prefer\x20versioned\x20names\x20(e.g.\x20\x27shop_v2\x27)\x20over\x20replaceExistName\x20for\x20production.\x20Default:\x20false\x20(throws\x20AccountNameExist\x20on\x20collision).'),'messenger':z['boolean']()['optional']()['describe']('Enable\x20messenger\x20for\x20this\x20account.\x20true=enable,\x20false=disable,\x20omit=unchanged.\x20'+'Account\x20name\x20is\x20used\x20for\x20messenger\x20identity\x20lookup\x20(no\x20separate\x20messenger\x20name).')})['optional']()['describe']('Generate\x20new\x20account'),'faucet':z['preprocess'](a=>{if(a&&typeof a==='object'&&!Array['isArray'](a)){const b=a;b['name']!==undefined&&b['name_or_address']===undefined&&(b['name_or_address']=b['name'],delete b['name']);}return a;},z['object']({'name_or_address':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20Use\x20empty\x20string\x20\x27\x27\x20for\x20the\x20default\x20account.\x20Defaults\x20to\x20\x27\x27\x20if\x20omitted.'),'network':FaucetNetworkSchema})['strict']())['optional']()['describe']('Distribute\x20test\x20coins\x20from\x20faucet\x20to\x20the\x20specified\x20account'),'suspend':z['object']({'name_or_address':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20Use\x20empty\x20string\x20\x27\x27\x20for\x20the\x20default\x20account.\x20Defaults\x20to\x20\x27\x27\x20if\x20omitted.')})['optional']()['describe']('Remove\x20account\x20from\x20active\x20account\x20list\x20(cannot\x20sign\x20transactions),\x20and\x20delete\x20its\x20name'),'resume':z['object']({'address':WowAddressSchema,'name':NameSchema['optional']()['describe']('New\x20name\x20for\x20the\x20resumed\x20account.\x20Omit\x20to\x20leave\x20unnamed.')})['optional']()['describe']('Add\x20account\x20back\x20to\x20active\x20account\x20list'),'rename':z['object']({'name_or_address':NameOrAddressSchema['optional']()['describe']('Source\x20account\x20name\x20or\x20address.\x20Use\x20empty\x20string\x20\x27\x27\x20for\x20the\x20default\x20account.\x20Defaults\x20to\x20\x27\x27\x20if\x20omitted.\x20Can\x20be\x20a\x20name\x20or\x20address.'),'new_name':NameSchema['describe']('New\x20account\x20name\x20(max\x20'+AccountConstraints['nameMaxLength']+'\x20characters).\x20Must\x20be\x20a\x20name\x20(not\x20an\x20address).')})['optional']()['describe']('Rename\x20account.\x20name_or_address\x20can\x20be\x20name\x20or\x20address,\x20new_name\x20must\x20be\x20a\x20name.'),'swap_name':z['object']({'name1':NameSchema['optional']()['describe']('First\x20account\x20name.\x20Use\x20empty\x20string\x20\x27\x27\x20for\x20the\x20default\x20account.'),'name2':NameSchema['optional']()['describe']('Second\x20account\x20name.\x20Use\x20empty\x20string\x20\x27\x27\x20for\x20the\x20default\x20account.')})['optional']()['describe']('Swap\x20the\x20names\x20of\x20two\x20accounts'),'transfer':z['object']({'name_or_address_from':NameOrAddressSchema['optional']()['describe']('Sender\x20account\x20name\x20or\x20address.\x20Use\x20empty\x20string\x20\x27\x27\x20for\x20the\x20default\x20account.'),'name_or_address_to':NameOrAddressSchema['optional']()['describe']('Recipient\x20account\x20name\x20or\x20address.\x20Use\x20empty\x20string\x20\x27\x27\x20for\x20the\x20default\x20account.'),'amount':z['union']([z['number'](),z['string']()])['describe']('Amount\x20of\x20tokens\x20to\x20transfer.\x20Accepts:\x20raw\x20smallest-unit\x20integer\x20(string/number,\x20e.g.\x20\x222500000000\x22),\x20or\x20display\x20format\x20with\x20the\x20token\x20symbol\x20(e.g.\x20\x222.5WOW\x22)\x20—\x20converted\x20with\x20the\x20token\x27s\x20own\x20decimals.\x20Bare\x20decimals\x20like\x20\x222.5\x22\x20or\x202.5\x20are\x20REJECTED\x20(must\x20carry\x20the\x20symbol\x20suffix).'),'token_type':z['string']()['optional']()['describe']('Token\x20type;\x20default\x20token\x20type\x20is\x200x2::wow::WOW'),'network':EntrypointSchema['optional'](),'confirmed':z['boolean']()['optional']()['describe']('ConfirmGate:\x20set\x20to\x20true\x20to\x20proceed\x20after\x20a\x20\x27pending_confirmation\x27\x20result.\x20Token\x20transfers\x20are\x20irreversible\x20on-chain\x20fund\x20movements\x20—\x20the\x20first\x20call\x20returns\x20a\x20pending_confirmation\x20preview\x20(amount,\x20token,\x20recipient);\x20re-call\x20with\x20confirmed=true\x20after\x20user\x20consent.')})['optional']()['describe']('💰\x20FUND\x20MOVEMENT\x20(on-chain,\x20irreversible):\x20transfer\x20tokens\x20from\x20one\x20account\x20to\x20another.\x20Amount\x20parsing:\x20display\x20strings\x20like\x20\x222.5WOW\x22\x20are\x20converted\x20to\x20raw\x20smallest\x20units\x20with\x20the\x20token\x27s\x20decimals;\x20bare\x20decimal\x20numbers\x20are\x20rejected.\x20Requires\x20confirmation\x20—\x20first\x20call\x20previews,\x20re-call\x20with\x20confirmed=true.'),'get':z['object']({'name_or_address':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20Use\x20empty\x20string\x20\x27\x27\x20for\x20the\x20default\x20account.'),'balance_required':z['union']([z['string'](),z['number']()])['describe']('Required\x20coin\x20object\x20balance.\x20Accepts:\x20raw\x20smallest-unit\x20integer\x20(string/number,\x20e.g.\x20\x222500000000\x22),\x20or\x20display\x20format\x20with\x20the\x20token\x20symbol\x20(e.g.\x20\x222.5WOW\x22)\x20—\x20converted\x20with\x20the\x20token\x27s\x20own\x20decimals.\x20Bare\x20decimals\x20like\x20\x222.5\x22\x20or\x202.5\x20are\x20REJECTED\x20(must\x20carry\x20the\x20symbol\x20suffix).'),'token_type':z['string']()['optional']()['describe']('Token\x20type;\x20default\x20token\x20type\x20is\x200x2::wow::WOW'),'network':EntrypointSchema['optional'](),'confirmed':z['boolean']()['optional']()['describe']('ConfirmGate:\x20set\x20to\x20true\x20to\x20proceed\x20after\x20a\x20\x27pending_confirmation\x27\x20result.\x20Producing\x20the\x20coin\x20object\x20is\x20an\x20on-chain\x20transaction\x20(split/merge\x20coins\x20+\x20self-transfer)\x20that\x20is\x20irreversible\x20and\x20spends\x20gas\x20—\x20the\x20first\x20call\x20returns\x20a\x20pending_confirmation\x20preview\x20(amount,\x20token,\x20account);\x20re-call\x20with\x20confirmed=true\x20after\x20user\x20consent.')})['optional']()['describe']('💰\x20FUND\x20MOVEMENT\x20(on-chain,\x20irreversible,\x20spends\x20gas):\x20split/merge\x20the\x20account\x27s\x20coins\x20to\x20produce\x20a\x20coin\x20object\x20carrying\x20AT\x20LEAST\x20the\x20required\x20balance,\x20then\x20self-deliver\x20it\x20to\x20the\x20same\x20account.\x20The\x20account\x27s\x20total\x20balance\x20does\x20not\x20leave\x20the\x20account\x20(minus\x20gas),\x20but\x20a\x20real\x20on-chain\x20transaction\x20IS\x20executed\x20and\x20its\x20digest\x20is\x20returned.\x20Amount\x20parsing:\x20display\x20strings\x20like\x20\x222.5WOW\x22\x20are\x20converted\x20to\x20raw\x20smallest\x20units\x20with\x20the\x20token\x27s\x20decimals;\x20bare\x20decimal\x20numbers\x20are\x20rejected.\x20Requires\x20confirmation\x20—\x20first\x20call\x20previews,\x20re-call\x20with\x20confirmed=true.'),'signData':z['object']({'name_or_address':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20Use\x20empty\x20string\x20\x27\x27\x20for\x20the\x20default\x20account.'),'data':z['string']()['describe']('Data\x20to\x20sign.\x20If\x20data_encoding\x20is\x20not\x20specified,\x20treated\x20as\x20UTF-8\x20string.'),'data_encoding':z['union']([z['literal']('utf8')['describe']('Data\x20is\x20UTF-8\x20encoded\x20string'),z['literal']('base64')['describe']('Data\x20is\x20base64\x20encoded\x20bytes'),z['literal']('hex')['describe']('Data\x20is\x20hex\x20encoded\x20bytes\x20(with\x20or\x20without\x200x\x20prefix)')])['optional']()['describe']('Encoding\x20format\x20of\x20the\x20data\x20field.\x20If\x20not\x20specified,\x20defaults\x20to\x20utf8.')})['optional']()['describe']('Sign\x20data\x20with\x20account\x27s\x20private\x20key'),'messenger':z['object']({'name_or_account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20Use\x20empty\x20string\x20\x27\x27\x20for\x20the\x20default\x20account.\x20Defaults\x20to\x20\x27\x27\x20if\x20omitted.'),'enabled':z['boolean']()['describe']('true\x20to\x20enable\x20messenger,\x20false\x20to\x20disable')})['optional']()['describe']('Enable\x20or\x20disable\x20messenger\x20for\x20an\x20account')})['strict']()['refine'](a=>Object['keys'](a)['length']>0x0,'At\x20least\x20one\x20operation\x20(gen/faucet/suspend/resume/rename/swap_name/transfer/get/signData/messenger)\x20must\x20be\x20specified')['describe']('Account\x20operations\x20(mutations\x20only:\x20gen/faucet/suspend/resume/rename/swap_name/transfer/get/signData/messenger).\x20'+'Parameters\x20MUST\x20be\x20wrapped\x20in\x20the\x20operation\x20type\x20property\x20(e.g.\x20{transfer:\x20{...}},\x20NOT\x20{amount:\x20...}).\x20Unwrapped\x20parameters\x20are\x20rejected.\x20'+'TO\x20LIST\x20ALL\x20ACCOUNTS:\x20use\x20the\x20query_toolkit\x20tool\x20with\x20query_type=\x27account_list\x27\x20(returns\x20name,\x20address,\x20suspended\x20status,\x20messenger\x20status\x20for\x20all\x20local\x20accounts).\x20'+'This\x20separation\x20follows\x20CQRS:\x20account_operation\x20=\x20mutations,\x20query_toolkit\x20=\x20queries.\x20'+'Common\x20workflow\x20after\x20MCP\x20restart:\x20(1)\x20query_toolkit\x20query_type=\x27account_list\x27\x20to\x20see\x20all\x20accounts,\x20(2)\x20account_operation\x20with\x20the\x20appropriate\x20mutation.');export const AccountOperationResultSchema=z['object']({'gen':z['object']({'address':z['string']()['describe']('Newly\x20generated\x20account\x20ID'),'name':NameSchema['optional']()['describe']('Account\x20name'),'messenger':z['boolean']()['optional']()['describe']('Messenger\x20enabled\x20flag')})['optional']()['describe']('Result\x20of\x20generating\x20new\x20account'),'faucet':z['object']({'name_or_address':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address\x20that\x20received\x20faucet\x20coins'),'result':z['array'](FaucetCoinInfoSchema)['describe']('List\x20of\x20distributed\x20test\x20coin\x20info'),'network':FaucetNetworkSchema})['optional']()['describe']('Result\x20of\x20distributing\x20test\x20coins\x20from\x20faucet\x20to\x20the\x20specified\x20account'),'suspend':z['object']({'name_or_address':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address\x20that\x20was\x20suspended'),'success':z['boolean']()['describe']('True\x20if\x20account\x20was\x20successfully\x20suspended,\x20false\x20if\x20account\x20does\x20not\x20exist')})['optional']()['describe']('Result\x20of\x20removing\x20account\x20from\x20active\x20account\x20list\x20(cannot\x20sign\x20transactions)'),'resume':z['object']({'address':WowAddressSchema['describe']('Account\x20ID\x20that\x20was\x20resumed'),'name':NameSchema['optional']()['describe']('New\x20name\x20assigned\x20to\x20the\x20account'),'success':z['boolean']()['describe']('True\x20if\x20account\x20was\x20successfully\x20resumed,\x20false\x20if\x20account\x20does\x20not\x20exist')})['optional']()['describe']('Result\x20of\x20adding\x20account\x20back\x20to\x20active\x20account\x20list'),'rename':z['object']({'name_or_address':NameOrAddressSchema['optional']()['describe']('Source\x20account\x20name\x20or\x20address\x20that\x20was\x20renamed'),'new_name':NameSchema['describe']('New\x20account\x20name'),'success':z['boolean']()['describe']('True\x20if\x20rename\x20was\x20successful,\x20false\x20if\x20account\x20not\x20found\x20or\x20name\x20already\x20exists')})['optional']()['describe']('Result\x20of\x20renaming\x20account'),'swap_name':z['object']({'name1':NameSchema['optional']()['describe']('First\x20account\x20name'),'name2':NameSchema['optional']()['describe']('Second\x20account\x20name'),'success':z['boolean']()['describe']('True\x20if\x20swap\x20was\x20successful,\x20false\x20if\x20either\x20account\x20not\x20found')})['optional']()['describe']('Result\x20of\x20swapping\x20account\x20names'),'transfer':WowTransactionBlockResponseSchema['optional']()['describe']('Result\x20of\x20token\x20transfer\x20transaction'),'get':z['object']({'coin_address':z['string']()['optional']()['describe']('Coin\x20object\x20ID\x20carrying\x20at\x20least\x20the\x20required\x20balance\x20(split/merged\x20+\x20self-delivered\x20on-chain)'),'digest':z['string']()['optional']()['describe']('Digest\x20of\x20the\x20on-chain\x20split/merge\x20+\x20self-delivery\x20transaction\x20that\x20produced\x20coin_address;\x20absent\x20only\x20when\x20no\x20transaction\x20was\x20executed'),'name_or_address':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address'),'balance_required':z['union']([z['string'](),z['number']()])['describe']('Required\x20coin\x20object\x20balance\x20(raw\x20smallest\x20units\x20executed\x20on-chain)'),'token_type':z['string']()['optional']()['describe']('Token\x20type;\x20default\x20token\x20type\x20is\x200x2::wow::WOW'),'network':EntrypointSchema['optional']()})['optional']()['describe']('Result\x20of\x20producing\x20a\x20coin\x20object\x20with\x20the\x20required\x20balance\x20(on-chain\x20split/merge\x20+\x20self-delivery\x20transaction)'),'signData':z['object']({'name_or_address':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address\x20used\x20for\x20signing'),'signature':z['string']()['describe']('Signature\x20in\x20hex\x20format'),'publicKey':z['string']()['describe']('Public\x20key\x20in\x20hex\x20format'),'address':z['string']()['describe']('Account\x20address')})['optional']()['describe']('Result\x20of\x20signing\x20data\x20with\x20account'),'messenger':z['object']({'name_or_account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address'),'enabled':z['boolean']()['describe']('Messenger\x20enabled\x20flag')})['optional']()['describe']('Result\x20of\x20enabling\x20or\x20disabling\x20messenger\x20for\x20an\x20account')})['describe']('Results\x20of\x20account\x20operations');export const LocalMarkOperationSchema=z['object']({'add':z['object']({'op':z['literal']('add')['describe']('Operation\x20type:\x20add\x20marks'),'data':z['array'](MarkParamSchema)['min'](0x1)['describe']('Array\x20of\x20mark\x20data\x20to\x20add\x20(at\x20least\x201\x20item)')})['strict']()['optional']()['describe']('Add\x20one\x20or\x20more\x20marks'),'remove':z['object']({'op':z['literal']('remove')['describe']('Operation\x20type:\x20remove\x20marks'),'names':z['array'](z['string']())['min'](0x1)['describe']('Array\x20of\x20mark\x20names\x20or\x20addresses\x20to\x20remove')})['strict']()['optional']()['describe']('Remove\x20marks\x20by\x20name\x20or\x20address'),'clear':z['object']({'op':z['literal']('clear')['describe']('Operation\x20type:\x20clear\x20all\x20marks')})['strict']()['optional']()['describe']('Remove\x20all\x20marks')})['strict']()['refine'](a=>a['add']!==undefined||a['remove']!==undefined||a['clear']!==undefined,{'message':'Exactly\x20one\x20operation\x20field\x20(add/remove/clear)\x20must\x20be\x20specified.\x20'+'CORRECT\x20format:\x20{add:\x20{op:\x27add\x27,\x20data:[...]}}\x20or\x20{remove:\x20{op:\x27remove\x27,\x20names:[...]}}\x20or\x20{clear:\x20{op:\x27clear\x27}}.\x20'+'INCORRECT\x20flat\x20format\x20{op:\x27add\x27,\x20data:[...]}\x20will\x20silently\x20do\x20nothing.'})['describe']('Local\x20mark\x20operations.\x20Exactly\x20one\x20operation\x20type\x20(add/remove/clear)\x20must\x20be\x20specified\x20as\x20a\x20NESTED\x20field.\x20'+'Example:\x20{add:\x20{op:\x27add\x27,\x20data:[...]}}\x20—\x20NOT\x20flat\x20{op:\x27add\x27,\x20data:[...]}.');export const LocalMarkOperationResultSchema=z['object']({'clear':z['boolean']()['optional']()['describe']('Whether\x20all\x20marks\x20were\x20successfully\x20removed'),'add':z['array'](MarkDataSchema)['optional']()['describe']('List\x20of\x20added\x20mark\x20data'),'remove':z['array'](MarkDataSchema)['optional']()['describe']('List\x20of\x20removed\x20mark\x20data')})['describe']('Results\x20of\x20local\x20mark\x20operations\x20for\x20ID');export const LocalInfoOperationSchema=z['object']({'add':z['object']({'op':z['literal']('add')['describe']('Operation\x20type:\x20add\x20info'),'data':z['array'](InfoDataSchema)['min'](0x1)['describe']('Array\x20of\x20info\x20data\x20to\x20add\x20(at\x20least\x201\x20item)')})['strict']()['optional']()['describe']('Add\x20one\x20or\x20more\x20info\x20entries'),'remove':z['object']({'op':z['literal']('remove')['describe']('Operation\x20type:\x20remove\x20info'),'data':z['array'](z['string']())['min'](0x1)['describe']('Array\x20of\x20info\x20names\x20to\x20remove')})['strict']()['optional']()['describe']('Remove\x20info\x20entries\x20by\x20name'),'reset':z['object']({'op':z['literal']('reset')['describe']('Operation\x20type:\x20reset\x20contents'),'name':z['string']()['describe']('Name\x20of\x20info\x20entry\x20to\x20reset'),'contents':z['array'](z['string']())['describe']('New\x20content\x20list\x20to\x20replace\x20existing\x20contents')})['strict']()['optional']()['describe']('Reset\x20the\x20contents\x20of\x20an\x20existing\x20info\x20entry'),'clear':z['object']({'op':z['literal']('clear')['describe']('Operation\x20type:\x20clear\x20all\x20info')})['strict']()['optional']()['describe']('Remove\x20all\x20info\x20entries')})['strict']()['refine'](a=>a['add']!==undefined||a['remove']!==undefined||a['reset']!==undefined||a['clear']!==undefined,{'message':'Exactly\x20one\x20operation\x20field\x20(add/remove/reset/clear)\x20must\x20be\x20specified.\x20'+'CORRECT\x20format:\x20{add:\x20{op:\x27add\x27,\x20data:[...]}}\x20or\x20{remove:\x20{op:\x27remove\x27,\x20data:[...]}}\x20etc.\x20'+'INCORRECT\x20flat\x20format\x20{op:\x27add\x27,\x20data:[...]}\x20will\x20silently\x20do\x20nothing.'})['describe']('Local\x20info\x20operations.\x20Exactly\x20one\x20operation\x20type\x20(add/remove/reset/clear)\x20must\x20be\x20specified\x20as\x20a\x20NESTED\x20field.\x20'+'Example:\x20{add:\x20{op:\x27add\x27,\x20data:[...]}}\x20—\x20NOT\x20flat\x20{op:\x27add\x27,\x20data:[...]}.');export const LocalInfoOperationResultSchema=z['object']({'success':z['boolean']()['describe']('Whether\x20successful')})['describe']('Results\x20of\x20local\x20info\x20operations');export const HistoryVisitDataSchema=z['object']({'key':z['string']()['min'](0x1)['describe']('Stable\x20identity\x20key\x20of\x20the\x20visited\x20object'),'objType':z['string']()['optional']()['describe']('Object\x20type\x20tag\x20for\x20detail\x20visits\x20(short\x20form,\x20e.g.\x20\x27Machine\x27)'),'address':WowAddressSchema['describe']('Canonical\x200x\x20address\x20of\x20the\x20visited\x20object'),'network':z['string']()['optional']()['describe']('Network\x20of\x20the\x20visit;\x20resolved\x20to\x20the\x20config\x20default\x20when\x20omitted'),'ts':z['number']()['int']()['describe']('Visit\x20timestamp\x20(ms\x20epoch)')})['strict']()['describe']('One\x20history\x20visit\x20(identity-only;\x20display\x20names\x20are\x20resolved\x20live)');export const LocalHistoryOperationSchema=z['object']({'add':z['object']({'op':z['literal']('add')['describe']('Operation\x20type:\x20add\x20history\x20visits'),'data':z['array'](HistoryVisitDataSchema)['min'](0x1)['describe']('Array\x20of\x20visits\x20to\x20record\x20(at\x20least\x201\x20item)')})['strict']()['optional']()['describe']('Record\x20one\x20or\x20more\x20object\x20visits\x20(upsert\x20by\x20key)'),'remove':z['object']({'op':z['literal']('remove')['describe']('Operation\x20type:\x20remove\x20history\x20entries'),'keys':z['array'](z['string']())['min'](0x1)['describe']('Array\x20of\x20history\x20entry\x20keys\x20to\x20remove')})['strict']()['optional']()['describe']('Remove\x20history\x20entries\x20by\x20key'),'clear':z['object']({'op':z['literal']('clear')['describe']('Operation\x20type:\x20clear\x20all\x20history')})['strict']()['optional']()['describe']('Remove\x20all\x20history\x20entries')})['strict']()['refine'](a=>a['add']!==undefined||a['remove']!==undefined||a['clear']!==undefined,{'message':'Exactly\x20one\x20operation\x20field\x20(add/remove/clear)\x20must\x20be\x20specified.\x20'+'Omit\x20every\x20field\x20to\x20LIST\x20stored\x20history.\x20'+'CORRECT\x20format:\x20{add:\x20{op:\x27add\x27,\x20data:[...]}}\x20or\x20{remove:\x20{op:\x27remove\x27,\x20keys:[...]}}\x20or\x20{clear:\x20{op:\x27clear\x27}}.\x20'+'INCORRECT\x20flat\x20format\x20{op:\x27add\x27,\x20data:[...]}\x20will\x20silently\x20do\x20nothing.'})['describe']('Local\x20visit-history\x20operations.\x20Exactly\x20one\x20operation\x20type\x20(add/remove/clear)\x20may\x20be\x20specified\x20as\x20a\x20NESTED\x20field;\x20'+'omit\x20all\x20fields\x20to\x20list\x20history\x20(newest\x20first).\x20'+'Example:\x20{add:\x20{op:\x27add\x27,\x20data:[...]}}\x20—\x20NOT\x20flat\x20{op:\x27add\x27,\x20data:[...]}.');export const HistoryEntryDataSchema=z['object']({'key':z['string']()['describe']('Stable\x20identity\x20key\x20of\x20the\x20visited\x20object'),'objType':z['string']()['optional']()['describe']('Object\x20type\x20tag\x20for\x20detail\x20visits'),'address':z['string']()['describe']('Canonical\x200x\x20address\x20of\x20the\x20visited\x20object'),'network':z['string']()['describe']('Network\x20of\x20the\x20visit'),'ts':z['number']()['int']()['describe']('Visit\x20timestamp\x20(ms\x20epoch)')})['strict']()['describe']('Stored\x20history\x20entry');export const LocalHistoryOperationResultSchema=z['object']({'list':z['array'](HistoryEntryDataSchema)['optional']()['describe']('History\x20entries\x20(newest\x20first);\x20present\x20when\x20no\x20op\x20was\x20given'),'add':z['array'](HistoryEntryDataSchema)['optional']()['describe']('List\x20of\x20upserted\x20history\x20entries'),'remove':z['array'](HistoryEntryDataSchema)['optional']()['describe']('List\x20of\x20removed\x20history\x20entries'),'clear':z['boolean']()['optional']()['describe']('Whether\x20all\x20history\x20entries\x20were\x20removed')})['describe']('Results\x20of\x20local\x20history\x20operations');export const FetchTokenInfoOperationSchema=z['object']({'tokenType':z['union']([TokenTypeSchema,z['null']()])['optional']()['describe']('Token\x20type;\x20default\x20token\x20type\x20is\x200x2::wow::WOW'),'alias':NameSchema['optional']()['describe']('Token\x20alias;\x20used\x20to\x20quickly\x20fetch\x20token\x20info'),'network':EntrypointSchema['optional']()})['describe']('Fetch\x20token\x20info\x20to\x20local\x20and\x20name\x20it');export const QueryLocalMarkListSchema=z['object']({'filter':LocalMarkFilterSchema['optional']()['describe']('Local\x20mark\x20filter')})['describe']('Query\x20local\x20mark\x20list\x20parameters');export const QueryLocalMarkListResultSchema=z['object']({'result':z['array'](MarkDataSchema)['describe']('Local\x20mark\x20list')})['describe']('Query\x20local\x20mark\x20list\x20result');export const AccountFilterSchema=z['object']({'name':NameSchema['optional']()['describe']('Filter\x20by\x20account\x20name\x20(supports\x20fuzzy\x20match)'),'address':WowAddressSchema['optional']()['describe']('Filter\x20by\x20account\x20address\x20(supports\x20partial\x20match,\x20format:\x200x\x20+\x20hex\x20characters)'),'suspended':z['boolean']()['optional']()['describe']('Filter\x20by\x20suspension\x20status.\x20Omit\x20to\x20return\x20all\x20accounts\x20regardless\x20of\x20status'),'hasMessenger':z['boolean']()['optional']()['describe']('Filter\x20accounts\x20with\x20messenger\x20enabled'),'createdAt':z['object']({'gte':z['number']()['optional']()['describe']('Filter\x20accounts\x20created\x20on\x20or\x20after\x20this\x20timestamp\x20(ms)'),'lte':z['number']()['optional']()['describe']('Filter\x20accounts\x20created\x20on\x20or\x20before\x20this\x20timestamp\x20(ms)')})['optional']()['describe']('Filter\x20by\x20creation\x20time\x20range'),'updatedAt':z['object']({'gte':z['number']()['optional']()['describe']('Filter\x20accounts\x20updated\x20on\x20or\x20after\x20this\x20timestamp\x20(ms)'),'lte':z['number']()['optional']()['describe']('Filter\x20accounts\x20updated\x20on\x20or\x20before\x20this\x20timestamp\x20(ms)')})['optional']()['describe']('Filter\x20by\x20update\x20time\x20range'),'includePubkey':z['boolean']()['optional']()['describe']('Include\x20pubkey\x20in\x20results\x20(default:\x20false).\x20Pubkey\x20is\x20large\x20(~900\x20bytes),\x20omit\x20unless\x20needed')})['describe']('Filter\x20criteria\x20for\x20querying\x20accounts.\x20Multiple\x20filters\x20are\x20combined\x20with\x20AND\x20logic.');export const QueryAccountListSchema=z['object']({'filter':AccountFilterSchema['optional']()['describe']('Account\x20filter')})['describe']('Query\x20account\x20list\x20parameters');export const AccountDataSchema=z['object']({'name':z['string']()['optional']()['describe']('Account\x20name'),'address':z['string']()['describe']('Account\x20address'),'pubkey':z['string']()['optional']()['describe']('Account\x20public\x20key'),'secret':z['string']()['optional']()['describe']('Account\x20secret\x20key'),'suspended':z['boolean']()['optional']()['describe']('Whether\x20account\x20is\x20suspended'),'createdAt':z['number']()['optional']()['describe']('Timestamp\x20when\x20account\x20was\x20created'),'updatedAt':z['number']()['optional']()['describe']('Timestamp\x20when\x20account\x20was\x20last\x20updated'),'messenger':z['boolean']()['optional']()['describe']('Whether\x20messenger\x20is\x20enabled\x20for\x20this\x20account'),'suspendedName':z['string']()['optional']()['describe']('Name\x20before\x20suspension\x20(set\x20by\x20suspend,\x20cleared\x20by\x20resume)')})['describe']('Account\x20data');export const QueryAccountListResultSchema=z['object']({'result':z['array'](AccountDataSchema)['describe']('Account\x20list')})['describe']('Query\x20account\x20list\x20result');export const QueryLocalInfoListResultSchema=z['object']({'result':z['array'](InfoDataSchema)['describe']('Local\x20info\x20list')})['describe']('Query\x20local\x20info\x20list\x20result');export const TokenTypeInfoSchema=z['object']({'type':z['string']()['describe']('Token\x20type'),'alias':z['string']()['optional']()['describe']('Token\x20alias'),'name':z['string']()['describe']('Token\x20name'),'symbol':z['string']()['describe']('Token\x20symbol'),'decimals':z['number']()['describe']('Number\x20of\x20decimal\x20places'),'description':z['string']()['describe']('Description\x20of\x20the\x20token'),'iconUrl':z['union']([z['string'](),z['null']()])['optional']()['describe']('URL\x20for\x20the\x20token\x20logo'),'id':z['union']([z['string'](),z['null']()])['optional']()['describe']('Object\x20id\x20for\x20the\x20CoinMetadata\x20object')})['describe']('Token\x20type\x20info');export const TokenDataFilterSchema=z['object']({'alias_or_name':NameSchema['optional']()['describe']('Alias\x20or\x20name\x20filter'),'symbol':z['string']()['optional']()['describe']('Token\x20symbol'),'type':z['string']()['optional']()['describe']('Token\x20type')})['describe']('Token\x20data\x20filter');export const QueryLocalTokenListResultSchema=z['object']({'result':z['array'](TokenTypeInfoSchema)['describe']('Local\x20token\x20list')})['describe']('Query\x20local\x20token\x20list\x20result');export const AccountOperationOutputSchema=z['discriminatedUnion']('status',[z['object']({'status':z['literal']('success'),'data':AccountOperationResultSchema['describe']('Success\x20result\x20data')}),z['object']({'status':z['literal']('error'),'error':z['string']()['describe']('Error\x20message'),...LocalOperationErrorFields}),z['object']({'status':z['literal']('pending_confirmation'),'operation':z['string']()['describe']('Operation\x20that\x20was\x20blocked\x20(e.g.\x20\x27account_transfer\x27)'),'message':z['string']()['describe']('Human-readable\x20confirmation\x20message\x20(amount,\x20token\x20full\x20type,\x20decimals,\x20recipient,\x20warnings)'),'rule_id':z['string']()['describe']('Id\x20of\x20the\x20confirmation\x20rule\x20that\x20matched')})['describe']('Pending\x20confirmation\x20—\x20the\x20on-chain\x20fund\x20movement\x20(transfer\x20or\x20get)\x20was\x20NOT\x20executed.\x20Read\x20message\x20first;\x20if\x20the\x20user\x20consents,\x20re-invoke\x20the\x20SAME\x20call\x20with\x20transfer.confirmed=true\x20or\x20get.confirmed=true.')])['describe']('Account\x20operation\x20output\x20schema\x20with\x20discriminator');export const AccountOperationOutputWrappedSchema=z['object']({'result':AccountOperationOutputSchema,'semantic':SemanticSummarySchema['optional']()['describe']('Business\x20semantic\x20summary\x20for\x20account\x20operation')})['describe']('Account\x20operation\x20output\x20wrapped\x20schema');export const LocalMarkOperationOutputSchema=z['discriminatedUnion']('status',[z['object']({'status':z['literal']('success'),'data':LocalMarkOperationResultSchema['describe']('Success\x20result\x20data')}),z['object']({'status':z['literal']('error'),'error':z['string']()['describe']('Error\x20message'),...LocalOperationErrorFields})])['describe']('Local\x20mark\x20operation\x20output\x20schema\x20with\x20discriminator');export const LocalMarkOperationOutputWrappedSchema=z['object']({'result':LocalMarkOperationOutputSchema,'semantic':SemanticSummarySchema['optional']()['describe']('Business\x20semantic\x20summary\x20for\x20local\x20mark\x20operation')})['describe']('Local\x20mark\x20operation\x20output\x20wrapped\x20schema');export const LocalInfoOperationOutputSchema=z['discriminatedUnion']('status',[z['object']({'status':z['literal']('success'),'data':LocalInfoOperationResultSchema['describe']('Success\x20result\x20data')}),z['object']({'status':z['literal']('error'),'error':z['string']()['describe']('Error\x20message'),...LocalOperationErrorFields})])['describe']('Local\x20info\x20operation\x20output\x20schema\x20with\x20discriminator');export const LocalInfoOperationOutputWrappedSchema=z['object']({'result':LocalInfoOperationOutputSchema,'semantic':SemanticSummarySchema['optional']()['describe']('Business\x20semantic\x20summary\x20for\x20local\x20info\x20operation')})['describe']('Local\x20info\x20operation\x20output\x20wrapped\x20schema');export const LocalHistoryOperationOutputSchema=z['discriminatedUnion']('status',[z['object']({'status':z['literal']('success'),'data':LocalHistoryOperationResultSchema['describe']('Success\x20result\x20data')}),z['object']({'status':z['literal']('error'),'error':z['string']()['describe']('Error\x20message'),...LocalOperationErrorFields})])['describe']('Local\x20history\x20operation\x20output\x20schema\x20with\x20discriminator');export const LocalHistoryOperationOutputWrappedSchema=z['object']({'result':LocalHistoryOperationOutputSchema,'semantic':SemanticSummarySchema['optional']()['describe']('Business\x20semantic\x20summary\x20for\x20local\x20history\x20operation')})['describe']('Local\x20history\x20operation\x20output\x20wrapped\x20schema');export*from'./wip.js';