@wowok/agent-mcp 3.1.7 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/exposure.d.ts +10 -10
- package/dist/config/judgment.d.ts +25 -25
- package/dist/config/rule-engine.d.ts +25 -25
- package/dist/customer/user-preferences.d.ts +2 -2
- package/dist/evaluation/arbitration-game.js +1 -1
- package/dist/evaluation/capability.d.ts +1 -1
- package/dist/evaluation/extract.js +1 -1
- package/dist/evaluation/match-operation.js +1 -1
- package/dist/extensions/industry-pack.d.ts +3 -2
- package/dist/extensions/industry-pack.js +1 -1
- package/dist/extensions/modes.js +1 -1
- package/dist/extensions/registry.js +1 -1
- package/dist/extensions/types.d.ts +1 -0
- package/dist/graph/onchain/analyze.js +1 -1
- package/dist/graph/onchain/analyze.spec.js +1 -1
- package/dist/graph/onchain/edge-schema.js +1 -1
- package/dist/graph/onchain/extract.js +1 -1
- package/dist/graph/onchain/field-manifest.js +1 -1
- package/dist/graph/onchain/project-relationship.js +1 -1
- package/dist/graph/onchain/types.d.ts +1 -1
- package/dist/harness/recover.js +1 -1
- package/dist/keeper/KeeperScan.d.ts +2 -1
- package/dist/keeper/KeeperScan.js +1 -1
- package/dist/keeper/detectors.d.ts +9 -0
- package/dist/keeper/detectors.js +1 -1
- package/dist/keeper/keeper.spec.js +1 -1
- package/dist/keeper/types.d.ts +1 -1
- package/dist/keeper/types.js +1 -1
- package/dist/knowledge/allocation-ledger.d.ts +4 -1
- package/dist/knowledge/allocation-ledger.js +1 -1
- package/dist/knowledge/allocation-puzzle.d.ts +2 -0
- package/dist/knowledge/allocation-puzzle.js +1 -1
- package/dist/knowledge/allocation-risk.d.ts +1 -1
- package/dist/knowledge/allocation-risk.js +1 -1
- package/dist/knowledge/arb-risk.d.ts +3 -1
- package/dist/knowledge/arb-risk.js +1 -1
- package/dist/knowledge/arbitration-ledger.js +1 -1
- package/dist/knowledge/arbitration-risk.js +1 -1
- package/dist/knowledge/arbitration-templates.d.ts +1 -0
- package/dist/knowledge/arbitration-templates.js +1 -1
- package/dist/knowledge/audit-rules.d.ts +13 -2
- package/dist/knowledge/audit-rules.js +1 -1
- package/dist/knowledge/baselines/rules/allocation.json +50 -1
- package/dist/knowledge/baselines/rules/arb.json +20 -1
- package/dist/knowledge/baselines/rules/arbitration.json +27 -0
- package/dist/knowledge/baselines/rules/guard.json +75 -2
- package/dist/knowledge/baselines/rules/machine.json +38 -13
- package/dist/knowledge/baselines/rules/order.json +2 -2
- package/dist/knowledge/builtin-templates.d.ts +3 -1
- package/dist/knowledge/builtin-templates.js +1 -1
- package/dist/knowledge/event-semantics.js +1 -1
- package/dist/knowledge/fund-layer.js +1 -1
- package/dist/knowledge/getting-started.js +1 -1
- package/dist/knowledge/guard-anchor-reach.d.ts +19 -0
- package/dist/knowledge/guard-anchor-reach.js +1 -0
- package/dist/knowledge/guard-bindings.js +1 -1
- package/dist/knowledge/guard-design-patterns.d.ts +1 -1
- package/dist/knowledge/guard-design-patterns.js +1 -1
- package/dist/knowledge/guard-ledger.js +1 -1
- package/dist/knowledge/guard-lint.js +1 -1
- package/dist/knowledge/guard-render.d.ts +6 -0
- package/dist/knowledge/guard-render.js +1 -1
- package/dist/knowledge/guard-risk.js +1 -1
- package/dist/knowledge/guard-submission-prompt.d.ts +6 -0
- package/dist/knowledge/guard-submission-prompt.js +1 -1
- package/dist/knowledge/guard-templates.d.ts +1 -1
- package/dist/knowledge/guard-templates.js +1 -1
- package/dist/knowledge/index.d.ts +4 -4
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-generalizer.js +1 -1
- package/dist/knowledge/industry-registry.d.ts +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/jsonrpc-enum.js +1 -1
- package/dist/knowledge/machine-ledger.js +1 -1
- package/dist/knowledge/machine-risk.js +1 -1
- package/dist/knowledge/machine-templates.js +1 -1
- package/dist/knowledge/order-ledger.js +1 -1
- package/dist/knowledge/order-templates.js +1 -1
- package/dist/knowledge/permission-ledger.js +1 -1
- package/dist/knowledge/release-sentinel.d.ts +12 -0
- package/dist/knowledge/release-sentinel.js +1 -0
- package/dist/knowledge/repository-write-semantics.d.ts +27 -0
- package/dist/knowledge/repository-write-semantics.js +1 -0
- package/dist/knowledge/rule-node-analyzers.d.ts +6 -0
- package/dist/knowledge/rule-node-analyzers.js +1 -1
- package/dist/knowledge/safety-rules.d.ts +5 -1
- package/dist/knowledge/safety-rules.js +1 -1
- package/dist/knowledge/scenario-modes.d.ts +10 -1
- package/dist/knowledge/scenario-modes.js +1 -1
- package/dist/knowledge/service-allocation-semantics.d.ts +36 -0
- package/dist/knowledge/service-allocation-semantics.js +1 -0
- package/dist/knowledge/strategy-manuals.d.ts +3 -5
- package/dist/knowledge/strategy-manuals.js +1 -1
- package/dist/knowledge/template-loader.d.ts +28 -12
- package/dist/knowledge/template-loader.js +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/template-scanner.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/knowledge/workflow-guidance.d.ts +26 -0
- package/dist/knowledge/workflow-guidance.js +1 -1
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/participation/allocation-advice.d.ts +38 -0
- package/dist/participation/allocation-advice.js +1 -0
- package/dist/participation/radar-core.d.ts +2 -0
- package/dist/persona/types.d.ts +3 -2
- package/dist/persona/types.js +1 -1
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/intent-analyzer.js +1 -1
- package/dist/playbooks/service-build/merchant-guide.d.ts +70 -63
- package/dist/playbooks/service-build/merchant-guide.js +1 -1
- package/dist/playbooks/service-build/migration-planner.js +1 -1
- package/dist/playbooks/service-build/mode-actions.d.ts +5 -0
- package/dist/playbooks/service-build/mode-actions.js +1 -1
- package/dist/playbooks/service-build/participation-radar.js +1 -1
- package/dist/playbooks/service-build/semantic-graph.d.ts +1 -0
- package/dist/playbooks/service-build/semantic-graph.js +1 -1
- package/dist/playbooks/service-build/service-quote.d.ts +2 -0
- package/dist/playbooks/service-build/service-quote.js +1 -0
- package/dist/relationship/derivation.d.ts +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/benchmark-migration/index.d.ts +30 -8
- package/dist/schema/benchmark-migration/index.js +1 -1
- package/dist/schema/call/allocation.d.ts +6 -3
- package/dist/schema/call/arbitration.js +1 -1
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/guard.d.ts +8 -8
- package/dist/schema/call/machine.d.ts +56 -0
- package/dist/schema/call/machine.js +1 -1
- package/dist/schema/call/order.js +1 -1
- package/dist/schema/call/payment.js +1 -1
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +84 -22
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/common/tokentype-short-probe.spec.js +1 -0
- package/dist/schema/evaluation/index.d.ts +8 -80
- package/dist/schema/evaluation/index.js +1 -1
- package/dist/schema/goal/index.d.ts +9 -42
- package/dist/schema/goal/planning.d.ts +25 -60
- package/dist/schema/goal/planning.js +1 -1
- package/dist/schema/intent-radar/index.d.ts +2 -20
- package/dist/schema/intent-radar/index.js +1 -1
- package/dist/schema/interaction/index.d.ts +1 -1
- package/dist/schema/keeper/index.d.ts +3 -0
- package/dist/schema/keeper/index.js +1 -1
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/operations.d.ts +74 -14
- package/dist/schema/persona/index.d.ts +279 -384
- package/dist/schema/persona/index.js +1 -1
- package/dist/schema/query/bi.d.ts +149 -10
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +35 -16
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-query/index.d.ts +4 -4
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/watch/index.d.ts +2 -2
- package/dist/schema-query-impl/index.d.ts +1 -0
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.output.json +2 -2
- package/dist/schemas/benchmark_migration_operation.output.json +116 -2
- package/dist/schemas/benchmark_migration_operation.schema.json +2 -10
- package/dist/schemas/bridge_operation.output.json +2 -2
- package/dist/schemas/evaluation_operation.schema.json +7 -70
- package/dist/schemas/goal_operation.schema.json +6 -39
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/intent_radar.output.json +4 -20
- package/dist/schemas/keeper_operation.output.json +2 -2
- package/dist/schemas/keeper_operation.schema.json +9 -4
- package/dist/schemas/local_history_operation.output.json +2 -2
- package/dist/schemas/local_info_operation.output.json +2 -2
- package/dist/schemas/local_mark_operation.output.json +2 -2
- package/dist/schemas/messenger_operation.output.json +2 -2
- package/dist/schemas/monitor_events.output.json +2 -2
- package/dist/schemas/monitor_subscription.output.json +2 -2
- package/dist/schemas/onchain_events.output.json +2 -2
- package/dist/schemas/onchain_operations.output.json +6 -6
- package/dist/schemas/onchain_operations.schema.json +227 -54
- package/dist/schemas/onchain_operations_allocation.schema.json +11 -10
- package/dist/schemas/onchain_operations_arbitration.schema.json +13 -13
- package/dist/schemas/onchain_operations_machine.schema.json +27 -5
- package/dist/schemas/onchain_operations_order.schema.json +1 -1
- package/dist/schemas/onchain_operations_payment.schema.json +2 -2
- package/dist/schemas/onchain_operations_reward.schema.json +1 -1
- package/dist/schemas/onchain_operations_service.schema.json +171 -21
- package/dist/schemas/onchain_operations_treasury.schema.json +1 -1
- package/dist/schemas/onchain_table_data.output.json +57 -4
- package/dist/schemas/persona_operation.output.json +11 -88
- package/dist/schemas/persona_operation.schema.json +4 -32
- package/dist/schemas/query_toolkit.output.json +320 -22
- package/dist/schemas/query_toolkit.schema.json +53 -0
- package/dist/tools/handlers/benchmark-migration.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/dispatch-expectations.spec.js +1 -1
- package/dist/tools/handlers/keeper.d.ts +1 -1
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/schema-query.js +1 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/move-fn-index.gen.js +1 -1
- package/dist/tools/registry/business.js +1 -1
- package/dist/tools/wrap.js +1 -1
- package/package.json +2 -2
- package/dist/knowledge/alloc-audit-policy.spec.js +0 -1
- package/dist/knowledge/event-semantics.spec.d.ts +0 -1
- package/dist/knowledge/event-semantics.spec.js +0 -1
- package/dist/knowledge/facts-sync.spec.d.ts +0 -1
- package/dist/knowledge/facts-sync.spec.js +0 -1
- package/dist/knowledge/guard-design-patterns.spec.d.ts +0 -1
- package/dist/knowledge/guard-design-patterns.spec.js +0 -1
- package/dist/knowledge/guard-eval.spec.d.ts +0 -1
- package/dist/knowledge/guard-eval.spec.js +0 -1
- package/dist/knowledge/rule-node-analyzers.spec.d.ts +0 -1
- package/dist/knowledge/rule-node-analyzers.spec.js +0 -1
- package/dist/knowledge/safety-rules.extract-amount.spec.d.ts +0 -1
- package/dist/knowledge/safety-rules.extract-amount.spec.js +0 -1
- package/dist/knowledge/template-loader.spec.d.ts +0 -1
- package/dist/knowledge/template-loader.spec.js +0 -1
- package/dist/knowledge/template-scanner.spec.d.ts +0 -1
- package/dist/knowledge/template-scanner.spec.js +0 -1
- /package/dist/{knowledge/alloc-audit-policy.spec.d.ts → schema/common/tokentype-short-probe.spec.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{EntrypointSchema,ObjectOwnerSchema,NameOrAddressSchema,NameSchema,WowAddressSchema,TokenTypeSchema,FaucetNetworkSchema}from'../common/index.js';import{z}from'zod';import{SemanticSummarySchema as a387a}from'../call/index.js';const SemanticSummarySchema=z['lazy'](()=>a387a);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.\x20Use\x20the\x20EMPTY\x20STRING\x20\x27\x27\x20in\x20name_or_address_from/to\x20for\x20the\x20default\x20account\x20—\x20the\x20literal\x20\x27DEFAULT\x27\x20is\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.\x20IMPORTANT:\x20balance_required\x20is\x20an\x20AMOUNT\x20string\x20(e.g.\x20\x221WOW\x22\x20or\x20raw\x20smallest-unit\x20integer\x20like\x20\x221000000000\x22).\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'+'DEFAULT\x20ACCOUNT:\x20every\x20name/address\x20field\x20(name_or_address,\x20name_or_address_from,\x20name_or_address_to,\x20name1,\x20name2,\x20name_or_account)\x20accepts\x20the\x20EMPTY\x20STRING\x20\x27\x27\x20to\x20mean\x20the\x20default\x20account\x20—\x20the\x20literal\x20\x27DEFAULT\x27\x20is\x20NOT\x20a\x20valid\x20name\x20and\x20is\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']()['describe']('Local\x20visit-history\x20operations.\x20At\x20most\x20one\x20operation\x20field\x20(add/remove/clear)\x20is\x20specified\x20as\x20a\x20NESTED\x20field;\x20'+'omit\x20ALL\x20fields\x20(pass\x20{})\x20to\x20LIST\x20stored\x20history\x20(newest\x20first).\x20'+'Example:\x20{add:\x20{op:\x27add\x27,\x20data:[...]}}\x20—\x20NOT\x20flat\x20{op:\x27add\x27,\x20data:[...]}\x20(flat\x20form\x20is\x20rejected\x20as\x20unknown\x20fields).');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 a385a}from'../call/index.js';const SemanticSummarySchema=z['lazy'](()=>a385a);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.\x20Use\x20the\x20EMPTY\x20STRING\x20\x27\x27\x20in\x20name_or_address_from/to\x20for\x20the\x20default\x20account\x20—\x20the\x20literal\x20\x27DEFAULT\x27\x20is\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.\x20IMPORTANT:\x20balance_required\x20is\x20an\x20AMOUNT\x20string\x20(e.g.\x20\x221WOW\x22\x20or\x20raw\x20smallest-unit\x20integer\x20like\x20\x221000000000\x22).\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'+'DEFAULT\x20ACCOUNT:\x20every\x20name/address\x20field\x20(name_or_address,\x20name_or_address_from,\x20name_or_address_to,\x20name1,\x20name2,\x20name_or_account)\x20accepts\x20the\x20EMPTY\x20STRING\x20\x27\x27\x20to\x20mean\x20the\x20default\x20account\x20—\x20the\x20literal\x20\x27DEFAULT\x27\x20is\x20NOT\x20a\x20valid\x20name\x20and\x20is\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']()['describe']('Local\x20visit-history\x20operations.\x20At\x20most\x20one\x20operation\x20field\x20(add/remove/clear)\x20is\x20specified\x20as\x20a\x20NESTED\x20field;\x20'+'omit\x20ALL\x20fields\x20(pass\x20{})\x20to\x20LIST\x20stored\x20history\x20(newest\x20first).\x20'+'Example:\x20{add:\x20{op:\x27add\x27,\x20data:[...]}}\x20—\x20NOT\x20flat\x20{op:\x27add\x27,\x20data:[...]}\x20(flat\x20form\x20is\x20rejected\x20as\x20unknown\x20fields).');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';
|
|
@@ -18,11 +18,11 @@ export declare const OnchainOperationsSchema: z.ZodPreprocess<z.ZodDiscriminated
|
|
|
18
18
|
}, z.core.$strict>]>;
|
|
19
19
|
order_new: z.ZodOptional<z.ZodObject<{
|
|
20
20
|
buy: z.ZodObject<{
|
|
21
|
-
items: z.ZodArray<z.ZodObject<{
|
|
21
|
+
items: z.ZodArray<z.ZodPreprocess<z.ZodObject<{
|
|
22
22
|
name: z.ZodString;
|
|
23
|
-
|
|
24
|
-
wip_hash: z.ZodString
|
|
25
|
-
}, z.core.$strict
|
|
23
|
+
quantity: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
24
|
+
wip_hash: z.ZodDefault<z.ZodString>;
|
|
25
|
+
}, z.core.$strict>>>;
|
|
26
26
|
total_pay: z.ZodUnion<readonly [z.ZodObject<{
|
|
27
27
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
28
28
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -90,6 +90,26 @@ export declare const OnchainOperationsSchema: z.ZodPreprocess<z.ZodDiscriminated
|
|
|
90
90
|
sales_name: z.ZodArray<z.ZodString>;
|
|
91
91
|
}, z.core.$strict>, z.ZodObject<{
|
|
92
92
|
op: z.ZodLiteral<"clear">;
|
|
93
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
94
|
+
op: z.ZodLiteral<"price_add">;
|
|
95
|
+
sale_name: z.ZodString;
|
|
96
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
97
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
98
|
+
op: z.ZodLiteral<"price_reduce">;
|
|
99
|
+
sale_name: z.ZodString;
|
|
100
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
101
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
102
|
+
op: z.ZodLiteral<"stock_add">;
|
|
103
|
+
sale_name: z.ZodString;
|
|
104
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
105
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
106
|
+
op: z.ZodLiteral<"stock_reduce">;
|
|
107
|
+
sale_name: z.ZodString;
|
|
108
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
109
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
110
|
+
op: z.ZodLiteral<"sale_suspension">;
|
|
111
|
+
sale_name: z.ZodString;
|
|
112
|
+
suspension: z.ZodBoolean;
|
|
93
113
|
}, z.core.$strict>], "op">>;
|
|
94
114
|
repositories: z.ZodOptional<z.ZodPreprocess<z.ZodUnion<readonly [z.ZodObject<{
|
|
95
115
|
op: z.ZodUnion<readonly [z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
|
|
@@ -162,7 +182,8 @@ export declare const OnchainOperationsSchema: z.ZodPreprocess<z.ZodDiscriminated
|
|
|
162
182
|
Amount: "Amount";
|
|
163
183
|
Surplus: "Surplus";
|
|
164
184
|
Rate: "Rate";
|
|
165
|
-
|
|
185
|
+
RateGross: "RateGross";
|
|
186
|
+
}>, z.ZodPipe<z.ZodNumber, z.ZodTransform<"Amount" | "Surplus" | "Rate" | "RateGross", number>>]>;
|
|
166
187
|
}, z.core.$strip>>;
|
|
167
188
|
fix: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
168
189
|
max: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodNull]>>;
|
|
@@ -372,6 +393,13 @@ export declare const OnchainOperationsSchema: z.ZodPreprocess<z.ZodDiscriminated
|
|
|
372
393
|
op: z.ZodLiteral<"add">;
|
|
373
394
|
nodes: z.ZodArray<z.ZodObject<{
|
|
374
395
|
name: z.ZodString;
|
|
396
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
397
|
+
active: "active";
|
|
398
|
+
draft: "draft";
|
|
399
|
+
delivered: "delivered";
|
|
400
|
+
final: "final";
|
|
401
|
+
cancelled: "cancelled";
|
|
402
|
+
}>>;
|
|
375
403
|
pairs: z.ZodArray<z.ZodObject<{
|
|
376
404
|
prev_node: z.ZodString;
|
|
377
405
|
threshold: z.ZodDefault<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
@@ -392,6 +420,13 @@ export declare const OnchainOperationsSchema: z.ZodPreprocess<z.ZodDiscriminated
|
|
|
392
420
|
op: z.ZodLiteral<"set">;
|
|
393
421
|
nodes: z.ZodArray<z.ZodObject<{
|
|
394
422
|
name: z.ZodString;
|
|
423
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
424
|
+
active: "active";
|
|
425
|
+
draft: "draft";
|
|
426
|
+
delivered: "delivered";
|
|
427
|
+
final: "final";
|
|
428
|
+
cancelled: "cancelled";
|
|
429
|
+
}>>;
|
|
395
430
|
pairs: z.ZodArray<z.ZodObject<{
|
|
396
431
|
prev_node: z.ZodString;
|
|
397
432
|
threshold: z.ZodDefault<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
@@ -1680,7 +1715,8 @@ export declare const OnchainOperationsSchema: z.ZodPreprocess<z.ZodDiscriminated
|
|
|
1680
1715
|
Amount: "Amount";
|
|
1681
1716
|
Surplus: "Surplus";
|
|
1682
1717
|
Rate: "Rate";
|
|
1683
|
-
|
|
1718
|
+
RateGross: "RateGross";
|
|
1719
|
+
}>, z.ZodPipe<z.ZodNumber, z.ZodTransform<"Amount" | "Surplus" | "Rate" | "RateGross", number>>]>;
|
|
1684
1720
|
}, z.core.$strip>>;
|
|
1685
1721
|
fix: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
1686
1722
|
max: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodNull]>>;
|
|
@@ -2041,12 +2077,12 @@ export declare const OnchainOperationsSchema: z.ZodPreprocess<z.ZodDiscriminated
|
|
|
2041
2077
|
guard: "guard";
|
|
2042
2078
|
none: "none";
|
|
2043
2079
|
submission: "submission";
|
|
2080
|
+
buy_guard: "buy_guard";
|
|
2044
2081
|
voting_guard: "voting_guard";
|
|
2045
2082
|
usage_guard: "usage_guard";
|
|
2046
2083
|
order_allocators: "order_allocators";
|
|
2047
|
-
buy_guard: "buy_guard";
|
|
2048
|
-
"Forward.guard": "Forward.guard";
|
|
2049
2084
|
write_guard: "write_guard";
|
|
2085
|
+
"Forward.guard": "Forward.guard";
|
|
2050
2086
|
ServiceGuard: "ServiceGuard";
|
|
2051
2087
|
}>;
|
|
2052
2088
|
rule_sentence: z.ZodOptional<z.ZodString>;
|
|
@@ -3393,6 +3429,18 @@ export declare const WatchQueryOperationsSchema: z.ZodPreprocess<z.ZodDiscrimina
|
|
|
3393
3429
|
mainnet: "mainnet";
|
|
3394
3430
|
localnet: "localnet";
|
|
3395
3431
|
}>>;
|
|
3432
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3433
|
+
query_type: z.ZodLiteral<"service_quote">;
|
|
3434
|
+
service_address: z.ZodString;
|
|
3435
|
+
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3436
|
+
name: z.ZodString;
|
|
3437
|
+
quantity: z.ZodDefault<z.ZodNumber>;
|
|
3438
|
+
}, z.core.$strip>>>;
|
|
3439
|
+
context_network: z.ZodOptional<z.ZodEnum<{
|
|
3440
|
+
testnet: "testnet";
|
|
3441
|
+
mainnet: "mainnet";
|
|
3442
|
+
localnet: "localnet";
|
|
3443
|
+
}>>;
|
|
3396
3444
|
}, z.core.$strict>, z.ZodObject<{
|
|
3397
3445
|
query_type: z.ZodLiteral<"machine_panorama">;
|
|
3398
3446
|
object_address: z.ZodOptional<z.ZodString>;
|
|
@@ -3464,12 +3512,12 @@ export declare const WatchQueryOperationsSchema: z.ZodPreprocess<z.ZodDiscrimina
|
|
|
3464
3512
|
radar_account: z.ZodOptional<z.ZodString>;
|
|
3465
3513
|
relation_kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3466
3514
|
transaction: "transaction";
|
|
3515
|
+
dispute_resolution: "dispute_resolution";
|
|
3467
3516
|
employment: "employment";
|
|
3468
3517
|
process_operation: "process_operation";
|
|
3469
3518
|
agency: "agency";
|
|
3470
3519
|
supply: "supply";
|
|
3471
3520
|
arbitration_delegation: "arbitration_delegation";
|
|
3472
|
-
dispute_resolution: "dispute_resolution";
|
|
3473
3521
|
value_distribution: "value_distribution";
|
|
3474
3522
|
contact_membership: "contact_membership";
|
|
3475
3523
|
}>>>;
|
|
@@ -3554,8 +3602,8 @@ export declare const WatchQueryOperationsSchema: z.ZodPreprocess<z.ZodDiscrimina
|
|
|
3554
3602
|
supplier: "supplier";
|
|
3555
3603
|
collaborator: "collaborator";
|
|
3556
3604
|
arbitrator: "arbitrator";
|
|
3557
|
-
neutral: "neutral";
|
|
3558
3605
|
system: "system";
|
|
3606
|
+
neutral: "neutral";
|
|
3559
3607
|
}>>;
|
|
3560
3608
|
facets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3561
3609
|
visible: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3574,9 +3622,9 @@ export declare const WatchQueryOperationsSchema: z.ZodPreprocess<z.ZodDiscrimina
|
|
|
3574
3622
|
only_analyzers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3575
3623
|
include_raw: z.ZodOptional<z.ZodBoolean>;
|
|
3576
3624
|
table_edges: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3577
|
-
"machine.node": "machine.node";
|
|
3578
3625
|
"permission.entity": "permission.entity";
|
|
3579
3626
|
"demand.presenter": "demand.presenter";
|
|
3627
|
+
"machine.node": "machine.node";
|
|
3580
3628
|
}>>>;
|
|
3581
3629
|
event_edges: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3582
3630
|
"service.order_history": "service.order_history";
|
|
@@ -5328,6 +5376,18 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
|
|
|
5328
5376
|
mainnet: "mainnet";
|
|
5329
5377
|
localnet: "localnet";
|
|
5330
5378
|
}>>;
|
|
5379
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5380
|
+
query_type: z.ZodLiteral<"service_quote">;
|
|
5381
|
+
service_address: z.ZodString;
|
|
5382
|
+
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5383
|
+
name: z.ZodString;
|
|
5384
|
+
quantity: z.ZodDefault<z.ZodNumber>;
|
|
5385
|
+
}, z.core.$strip>>>;
|
|
5386
|
+
context_network: z.ZodOptional<z.ZodEnum<{
|
|
5387
|
+
testnet: "testnet";
|
|
5388
|
+
mainnet: "mainnet";
|
|
5389
|
+
localnet: "localnet";
|
|
5390
|
+
}>>;
|
|
5331
5391
|
}, z.core.$strict>, z.ZodObject<{
|
|
5332
5392
|
query_type: z.ZodLiteral<"machine_panorama">;
|
|
5333
5393
|
object_address: z.ZodOptional<z.ZodString>;
|
|
@@ -5399,12 +5459,12 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
|
|
|
5399
5459
|
radar_account: z.ZodOptional<z.ZodString>;
|
|
5400
5460
|
relation_kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5401
5461
|
transaction: "transaction";
|
|
5462
|
+
dispute_resolution: "dispute_resolution";
|
|
5402
5463
|
employment: "employment";
|
|
5403
5464
|
process_operation: "process_operation";
|
|
5404
5465
|
agency: "agency";
|
|
5405
5466
|
supply: "supply";
|
|
5406
5467
|
arbitration_delegation: "arbitration_delegation";
|
|
5407
|
-
dispute_resolution: "dispute_resolution";
|
|
5408
5468
|
value_distribution: "value_distribution";
|
|
5409
5469
|
contact_membership: "contact_membership";
|
|
5410
5470
|
}>>>;
|
|
@@ -5489,8 +5549,8 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
|
|
|
5489
5549
|
supplier: "supplier";
|
|
5490
5550
|
collaborator: "collaborator";
|
|
5491
5551
|
arbitrator: "arbitrator";
|
|
5492
|
-
neutral: "neutral";
|
|
5493
5552
|
system: "system";
|
|
5553
|
+
neutral: "neutral";
|
|
5494
5554
|
}>>;
|
|
5495
5555
|
facets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5496
5556
|
visible: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5509,9 +5569,9 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
|
|
|
5509
5569
|
only_analyzers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5510
5570
|
include_raw: z.ZodOptional<z.ZodBoolean>;
|
|
5511
5571
|
table_edges: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5512
|
-
"machine.node": "machine.node";
|
|
5513
5572
|
"permission.entity": "permission.entity";
|
|
5514
5573
|
"demand.presenter": "demand.presenter";
|
|
5574
|
+
"machine.node": "machine.node";
|
|
5515
5575
|
}>>>;
|
|
5516
5576
|
event_edges: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5517
5577
|
"service.order_history": "service.order_history";
|