@wowok/agent-mcp 3.3.5 → 3.3.7
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/chain-semantics/eval-order.d.ts +17 -0
- package/dist/chain-semantics/eval-order.js +1 -0
- package/dist/chain-semantics/field-capability.js +1 -1
- package/dist/chain-semantics/freeze-map.js +1 -1
- package/dist/chain-semantics/fund-flow.js +1 -1
- package/dist/chain-semantics/guard-verbs.js +1 -1
- package/dist/chain-semantics/index.d.ts +1 -0
- package/dist/chain-semantics/index.js +1 -1
- package/dist/chain-semantics/object-graph.js +1 -1
- package/dist/composition/audit.js +1 -1
- package/dist/composition/compile.d.ts +2 -1
- package/dist/composition/compile.js +1 -1
- package/dist/composition/materialize.js +1 -1
- package/dist/data/api/api.spec.d.ts +1 -0
- package/dist/data/api/api.spec.js +1 -0
- package/dist/data/api/cli.d.ts +1 -0
- package/dist/data/api/cli.js +1 -0
- package/dist/data/api/head.d.ts +16 -0
- package/dist/data/api/head.js +1 -0
- package/dist/data/api/head.spec.d.ts +1 -0
- package/dist/data/api/head.spec.js +1 -0
- package/dist/data/api/index.d.ts +2 -0
- package/dist/data/api/index.js +1 -0
- package/dist/data/api/match.d.ts +69 -0
- package/dist/data/api/match.js +1 -0
- package/dist/data/api/match.spec.d.ts +1 -0
- package/dist/data/api/match.spec.js +1 -0
- package/dist/data/api/server.d.ts +12 -0
- package/dist/data/api/server.js +1 -0
- package/dist/data/projection/cli.d.ts +1 -0
- package/dist/data/projection/cli.js +1 -0
- package/dist/data/projection/edges.d.ts +8 -0
- package/dist/data/projection/edges.js +1 -0
- package/dist/data/projection/edges.spec.d.ts +1 -0
- package/dist/data/projection/edges.spec.js +1 -0
- package/dist/data/projection/facets.d.ts +18 -0
- package/dist/data/projection/facets.js +1 -0
- package/dist/data/projection/facets.spec.d.ts +1 -0
- package/dist/data/projection/facets.spec.js +1 -0
- package/dist/data/projection/facts.d.ts +40 -0
- package/dist/data/projection/facts.js +1 -0
- package/dist/data/projection/index.d.ts +6 -0
- package/dist/data/projection/index.js +1 -0
- package/dist/data/projection/project.d.ts +10 -0
- package/dist/data/projection/project.js +1 -0
- package/dist/data/projection/projection.spec.d.ts +1 -0
- package/dist/data/projection/projection.spec.js +1 -0
- package/dist/data/projection/schema.d.ts +1 -0
- package/dist/data/projection/schema.js +1 -0
- package/dist/data/projection/store.d.ts +49 -0
- package/dist/data/projection/store.js +1 -0
- package/dist/data/projection/types.d.ts +137 -0
- package/dist/data/projection/types.js +1 -0
- package/dist/data/sync/cdc.d.ts +34 -0
- package/dist/data/sync/cdc.js +1 -0
- package/dist/data/sync/cdc.spec.d.ts +1 -0
- package/dist/data/sync/cdc.spec.js +1 -0
- package/dist/data/sync/graphql-source.d.ts +16 -0
- package/dist/data/sync/graphql-source.js +1 -0
- package/dist/data/sync/index.d.ts +5 -0
- package/dist/data/sync/index.js +1 -0
- package/dist/data/sync/reconciler.d.ts +14 -0
- package/dist/data/sync/reconciler.js +1 -0
- package/dist/data/sync/reconciler.spec.d.ts +1 -0
- package/dist/data/sync/reconciler.spec.js +1 -0
- package/dist/data/sync/schema.d.ts +1 -0
- package/dist/data/sync/schema.js +1 -0
- package/dist/data/sync/store.d.ts +19 -0
- package/dist/data/sync/store.js +1 -0
- package/dist/data/sync/sync.spec.d.ts +1 -0
- package/dist/data/sync/sync.spec.js +1 -0
- package/dist/data/sync/synchronizer.d.ts +10 -0
- package/dist/data/sync/synchronizer.js +1 -0
- package/dist/data/sync/types.d.ts +162 -0
- package/dist/data/sync/types.js +1 -0
- package/dist/evaluation/builtins/demand-match.js +1 -1
- package/dist/evaluation/builtins/graph-service.spec.js +1 -1
- package/dist/evaluation/capability.d.ts +1 -0
- package/dist/evaluation/engine.js +1 -1
- package/dist/evaluation/extract.d.ts +7 -1
- package/dist/evaluation/extract.js +1 -1
- package/dist/evaluation/match-policy.d.ts +142 -0
- package/dist/evaluation/match-policy.js +1 -0
- package/dist/evaluation/match-policy.spec.d.ts +1 -0
- package/dist/evaluation/match-policy.spec.js +1 -0
- package/dist/experience/realtime-feedback.js +1 -1
- package/dist/extensions/business-modules.js +1 -1
- package/dist/graph/onchain/expand.js +1 -1
- package/dist/graph/onchain/exposure.js +1 -1
- package/dist/harness/recover.js +1 -1
- package/dist/intent/types.d.ts +1 -1
- package/dist/intent/types.js +1 -1
- package/dist/keeper/detectors.d.ts +3 -0
- package/dist/keeper/detectors.js +1 -1
- package/dist/keeper/keeper.spec.js +1 -1
- package/dist/knowledge/allocator-rail-verifier.js +1 -1
- package/dist/knowledge/arbitration-ledger.js +1 -1
- package/dist/knowledge/audit-rules.js +1 -1
- package/dist/knowledge/baselines/rules/plan.json +113 -3
- package/dist/knowledge/builtin-templates.d.ts +6 -1
- package/dist/knowledge/builtin-templates.js +1 -1
- package/dist/knowledge/event-semantics.js +1 -1
- package/dist/knowledge/getting-started.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-puzzle.js +1 -1
- package/dist/knowledge/guard-render.js +1 -1
- package/dist/knowledge/guard-risk.js +1 -1
- package/dist/knowledge/guard-templates.d.ts +1 -1
- package/dist/knowledge/guard-templates.js +1 -1
- package/dist/knowledge/guard-translation.js +1 -1
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-generalizer.d.ts +4 -0
- package/dist/knowledge/industry-generalizer.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/jsonrpc-enum.d.ts +26 -10
- package/dist/knowledge/jsonrpc-enum.js +1 -1
- package/dist/knowledge/projection.d.ts +54 -0
- package/dist/knowledge/projection.js +1 -0
- package/dist/knowledge/projection.spec.d.ts +1 -0
- package/dist/knowledge/projection.spec.js +1 -0
- package/dist/knowledge/recipient-constraint.d.ts +1 -1
- package/dist/knowledge/recipient-constraint.js +1 -1
- package/dist/knowledge/semantic-ir.d.ts +113 -0
- package/dist/knowledge/semantic-ir.js +1 -0
- package/dist/knowledge/service-ledger.d.ts +1 -1
- package/dist/knowledge/service-ledger.js +1 -1
- package/dist/knowledge/strategy-manuals.js +1 -1
- package/dist/knowledge/template-loader.d.ts +34 -0
- package/dist/knowledge/template-loader.js +1 -1
- package/dist/knowledge/template-prose.d.ts +50 -0
- package/dist/knowledge/template-prose.js +1 -0
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/template-scanner.d.ts +1 -1
- package/dist/knowledge/template-scanner.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/monitor/normalize.d.ts +1 -1
- package/dist/monitor/normalize.js +1 -1
- package/dist/monitor/types.js +1 -1
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/machine-panorama.js +1 -1
- package/dist/playbooks/service-build/merchant-guide.d.ts +4 -0
- package/dist/playbooks/service-build/merchant-guide.js +1 -1
- package/dist/playbooks/service-build/migration-planner.d.ts +2 -1
- package/dist/playbooks/service-build/migration-planner.js +1 -1
- package/dist/playbooks/service-build/mode-actions.d.ts +7 -0
- package/dist/playbooks/service-build/mode-actions.js +1 -1
- package/dist/playbooks/service-build/object-panorama.d.ts +22 -1
- package/dist/playbooks/service-build/object-panorama.js +1 -1
- package/dist/playbooks/service-build/participation-radar.js +1 -1
- package/dist/playbooks/service-build/relationship-profile.js +1 -1
- package/dist/playbooks/service-build/reverse-mapping-nk4.spec.js +1 -1
- package/dist/playbooks/service-build/reverse-mapping.d.ts +1 -0
- package/dist/playbooks/service-build/reverse-mapping.js +1 -1
- package/dist/playbooks/service-build/service-panorama.js +1 -1
- package/dist/playbooks/service-build/service-quote.js +1 -1
- package/dist/playbooks/service-build/service-quote.spec.js +1 -1
- package/dist/review/index.js +1 -1
- package/dist/role/profiles.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/benchmark-migration/index.d.ts +64 -10
- package/dist/schema/benchmark-migration/index.js +1 -1
- package/dist/schema/call/allocation.js +1 -1
- package/dist/schema/call/arbitration.js +1 -1
- package/dist/schema/call/base.d.ts +8 -0
- package/dist/schema/call/bridge.d.ts +2 -0
- package/dist/schema/call/error-codes.d.ts +1 -1
- package/dist/schema/call/error-codes.js +1 -1
- package/dist/schema/call/proof.js +1 -1
- package/dist/schema/call/reward.d.ts +10 -0
- package/dist/schema/call/reward.js +1 -1
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/evaluation/index.d.ts +341 -0
- package/dist/schema/evaluation/index.js +1 -1
- package/dist/schema/goal/index.d.ts +2 -0
- package/dist/schema/goal/planning.d.ts +3 -0
- package/dist/schema/goal/planning.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +62 -0
- package/dist/schema/industry-pack/modes.d.ts +62 -0
- package/dist/schema/industry-pack/modes.js +1 -1
- package/dist/schema/intent-radar/index.d.ts +3 -0
- package/dist/schema/intent-radar/index.js +1 -1
- package/dist/schema/local/index.d.ts +20 -0
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/operations.d.ts +5 -0
- package/dist/schema/query/bi.d.ts +4 -0
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +145 -47
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.output.json +2 -0
- package/dist/schemas/benchmark_migration_operation.output.json +42 -0
- package/dist/schemas/benchmark_migration_operation.schema.json +208 -5
- package/dist/schemas/bridge_operation.output.json +2 -0
- package/dist/schemas/evaluation_operation.output.json +624 -2
- package/dist/schemas/evaluation_operation.schema.json +598 -4
- package/dist/schemas/goal_operation.schema.json +18 -10
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/industry_pack_operation.output.json +86 -2
- package/dist/schemas/industry_pack_operation.schema.json +199 -0
- package/dist/schemas/intent_radar.output.json +2 -0
- package/dist/schemas/intent_radar.schema.json +1 -0
- package/dist/schemas/local_cache_operation.output.json +2 -0
- package/dist/schemas/local_history_operation.output.json +2 -0
- package/dist/schemas/local_info_operation.output.json +2 -0
- package/dist/schemas/local_mark_operation.output.json +2 -0
- package/dist/schemas/onchain_events.output.json +281 -11
- package/dist/schemas/onchain_events.schema.json +5 -1
- package/dist/schemas/onchain_operations.output.json +2 -0
- package/dist/schemas/onchain_operations.schema.json +914 -314
- package/dist/schemas/onchain_operations_allocation.schema.json +1 -1
- package/dist/schemas/onchain_operations_arbitration.schema.json +1 -1
- package/dist/schemas/onchain_operations_gen_proof.schema.json +1 -1
- package/dist/schemas/onchain_operations_guard.schema.json +660 -94
- package/dist/schemas/onchain_operations_reward.schema.json +35 -1
- package/dist/schemas/onchain_operations_service.schema.json +4 -4
- package/dist/schemas/query_toolkit.output.json +333 -0
- package/dist/tools/handlers/benchmark-migration.d.ts +5 -2
- package/dist/tools/handlers/benchmark-migration.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/evaluation.js +1 -1
- package/dist/tools/handlers/evaluation.spec.js +1 -1
- package/dist/tools/handlers/intent-radar.js +1 -1
- package/dist/tools/handlers/messenger.d.ts +1 -0
- package/dist/tools/handlers/messenger.js +1 -1
- package/dist/tools/handlers/onchain.d.ts +2 -0
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/wip.js +1 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/registry/agent.js +1 -1
- package/dist/tools/registry/business.js +1 -1
- package/dist/tools/registry/query.js +1 -1
- package/dist/tools/wip-verify-ledger.d.ts +14 -0
- package/dist/tools/wip-verify-ledger.js +1 -0
- package/dist/tools/wrap.d.ts +4 -0
- package/dist/tools/wrap.js +1 -1
- package/package.json +7 -2
|
@@ -1889,6 +1889,8 @@ export declare const AccountOperationOutputSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
1889
1889
|
move_abort_unmapped: "move_abort_unmapped";
|
|
1890
1890
|
missing_data: "missing_data";
|
|
1891
1891
|
state_not_visible: "state_not_visible";
|
|
1892
|
+
anchor_unavailable: "anchor_unavailable";
|
|
1893
|
+
delivery_unknown: "delivery_unknown";
|
|
1892
1894
|
}>>;
|
|
1893
1895
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1894
1896
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
@@ -2295,6 +2297,8 @@ export declare const AccountOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
2295
2297
|
move_abort_unmapped: "move_abort_unmapped";
|
|
2296
2298
|
missing_data: "missing_data";
|
|
2297
2299
|
state_not_visible: "state_not_visible";
|
|
2300
|
+
anchor_unavailable: "anchor_unavailable";
|
|
2301
|
+
delivery_unknown: "delivery_unknown";
|
|
2298
2302
|
}>>;
|
|
2299
2303
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2300
2304
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
@@ -2742,6 +2746,8 @@ export declare const LocalMarkOperationOutputSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
2742
2746
|
move_abort_unmapped: "move_abort_unmapped";
|
|
2743
2747
|
missing_data: "missing_data";
|
|
2744
2748
|
state_not_visible: "state_not_visible";
|
|
2749
|
+
anchor_unavailable: "anchor_unavailable";
|
|
2750
|
+
delivery_unknown: "delivery_unknown";
|
|
2745
2751
|
}>>;
|
|
2746
2752
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2747
2753
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
@@ -2801,6 +2807,8 @@ export declare const LocalMarkOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
2801
2807
|
move_abort_unmapped: "move_abort_unmapped";
|
|
2802
2808
|
missing_data: "missing_data";
|
|
2803
2809
|
state_not_visible: "state_not_visible";
|
|
2810
|
+
anchor_unavailable: "anchor_unavailable";
|
|
2811
|
+
delivery_unknown: "delivery_unknown";
|
|
2804
2812
|
}>>;
|
|
2805
2813
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2806
2814
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
@@ -3226,6 +3234,8 @@ export declare const LocalInfoOperationOutputSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
3226
3234
|
move_abort_unmapped: "move_abort_unmapped";
|
|
3227
3235
|
missing_data: "missing_data";
|
|
3228
3236
|
state_not_visible: "state_not_visible";
|
|
3237
|
+
anchor_unavailable: "anchor_unavailable";
|
|
3238
|
+
delivery_unknown: "delivery_unknown";
|
|
3229
3239
|
}>>;
|
|
3230
3240
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
3231
3241
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
@@ -3268,6 +3278,8 @@ export declare const LocalInfoOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
3268
3278
|
move_abort_unmapped: "move_abort_unmapped";
|
|
3269
3279
|
missing_data: "missing_data";
|
|
3270
3280
|
state_not_visible: "state_not_visible";
|
|
3281
|
+
anchor_unavailable: "anchor_unavailable";
|
|
3282
|
+
delivery_unknown: "delivery_unknown";
|
|
3271
3283
|
}>>;
|
|
3272
3284
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
3273
3285
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
@@ -3714,6 +3726,8 @@ export declare const LocalHistoryOperationOutputSchema: z.ZodDiscriminatedUnion<
|
|
|
3714
3726
|
move_abort_unmapped: "move_abort_unmapped";
|
|
3715
3727
|
missing_data: "missing_data";
|
|
3716
3728
|
state_not_visible: "state_not_visible";
|
|
3729
|
+
anchor_unavailable: "anchor_unavailable";
|
|
3730
|
+
delivery_unknown: "delivery_unknown";
|
|
3717
3731
|
}>>;
|
|
3718
3732
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
3719
3733
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
@@ -3777,6 +3791,8 @@ export declare const LocalHistoryOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
3777
3791
|
move_abort_unmapped: "move_abort_unmapped";
|
|
3778
3792
|
missing_data: "missing_data";
|
|
3779
3793
|
state_not_visible: "state_not_visible";
|
|
3794
|
+
anchor_unavailable: "anchor_unavailable";
|
|
3795
|
+
delivery_unknown: "delivery_unknown";
|
|
3780
3796
|
}>>;
|
|
3781
3797
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
3782
3798
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
@@ -4289,6 +4305,8 @@ export declare const LocalCacheOperationOutputSchema: z.ZodDiscriminatedUnion<[z
|
|
|
4289
4305
|
move_abort_unmapped: "move_abort_unmapped";
|
|
4290
4306
|
missing_data: "missing_data";
|
|
4291
4307
|
state_not_visible: "state_not_visible";
|
|
4308
|
+
anchor_unavailable: "anchor_unavailable";
|
|
4309
|
+
delivery_unknown: "delivery_unknown";
|
|
4292
4310
|
}>>;
|
|
4293
4311
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
4294
4312
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
@@ -4353,6 +4371,8 @@ export declare const LocalCacheOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
4353
4371
|
move_abort_unmapped: "move_abort_unmapped";
|
|
4354
4372
|
missing_data: "missing_data";
|
|
4355
4373
|
state_not_visible: "state_not_visible";
|
|
4374
|
+
anchor_unavailable: "anchor_unavailable";
|
|
4375
|
+
delivery_unknown: "delivery_unknown";
|
|
4356
4376
|
}>>;
|
|
4357
4377
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
4358
4378
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{EntrypointSchema,ObjectOwnerSchema,NameOrAddressSchema,NameSchema,WowAddressSchema,TokenTypeSchema,FaucetNetworkSchema}from'../common/index.js';import{z}from'zod';import{SemanticSummarySchema as a423a}from'../call/index.js';const SemanticSummarySchema=z['lazy'](()=>a423a);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']()['min'](0x1,'Mark\x20name\x20value\x20must\x20be\x20a\x20non-empty\x20string\x20(an\x20empty\x20name\x20would\x20create\x20a\x20mark\x20that\x20get(name)\x20can\x20never\x20resolve)')['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'),'_balance_scope_note':z['string']()['optional']()['describe']('Semantic\x20scope\x20note\x20for\x20the\x20balance\x20figure:\x20the\x20total\x20is\x20aggregation-only;\x20independently\x20owned\x20Coin\x20objects\x20'+'may\x20exist\x20outside\x20it.\x20Follow\x20the\x20note\x20(transaction\x20digest\x20or\x20coin-objects\x20query)\x20before\x20concluding\x20funds\x20arrived.')})['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.\x20NOT\x20allowed\x20on\x20the\x20default\x20account\x20(client-only:\x20ask\x20the\x20user\x20to\x20do\x20it\x20in\x20the\x20client\x27s\x20Wallet\x20tab).'),'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.\x20NOT\x20allowed\x20on\x20the\x20default\x20account\x20(client-only:\x20ask\x20the\x20user\x20to\x20do\x20it\x20in\x20the\x20client\x27s\x20Wallet\x20tab).'),'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.\x20NOT\x20allowed\x20when\x20either\x20end\x20is\x20the\x20default\x20account\x20(empty/omitted\x20name)\x20—\x20client-only:\x20ask\x20the\x20user\x20to\x20manage\x20it\x20in\x20the\x20client\x27s\x20Wallet\x20tab.\x20Swap\x20two\x20named\x20(non-default)\x20accounts\x20instead.'),'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.\x20⚠️\x20The\x20numeric\x20part\x20of\x20a\x20suffixed\x20string\x20counts\x20WHOLE\x20tokens,\x20never\x20raw\x20units:\x20\x22320000000WOW\x22\x20=\x20320\x20million\x20WOW\x20(raw\x20320000000000000000\x20at\x20decimals\x209)\x20—\x20to\x20send\x200.32\x20WOW\x20write\x20\x220.32WOW\x22;\x20to\x20pass\x20raw\x20smallest\x20units\x20use\x20the\x20bare\x20integer\x20string\x20\x22320000000\x22\x20(no\x20symbol).\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.\x20NOT\x20a\x20balance\x20query\x20—\x20the\x20returned\x20`balance`\x20is\x20the\x20produced\x20coin\x27s\x20amount,\x20never\x20the\x20account\x27s\x20total;\x20to\x20CHECK\x20an\x20account\x27s\x20balance\x20use\x20the\x20balance\x20query\x20surface\x20(query_toolkit)\x20instead.\x20balance_required\x20must\x20be\x20>\x200\x20—\x20a\x20zero\x20request\x20is\x20rejected.\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.\x20RESULT\x20CONTRACT:\x20on\x20success\x20the\x20result\x20carries\x20`coin_address`,\x20`digest`\x20AND\x20`balance`\x20—\x20the\x20coin\x27s\x20ACTUAL\x20final\x20on-chain\x20amount,\x20read\x20back\x20from\x20the\x20chain.\x20Always\x20compare\x20`balance`\x20against\x20the\x20amount\x20you\x20need;\x20a\x20returned\x20digest\x20does\x20NOT\x20by\x20itself\x20mean\x20the\x20coin\x20is\x20large\x20enough.\x20If\x20the\x20requested\x20amount\x20cannot\x20be\x20covered\x20the\x20call\x20FAILS\x20with\x20the\x20required\x20amount,\x20the\x20account\x27s\x20total,\x20and\x20the\x20largest\x20single\x20coin,\x20and\x20NO\x20transaction\x20is\x20sent\x20(no\x20gas\x20spent)\x20—\x20in\x20that\x20case\x20fund\x20the\x20account\x20first,\x20or\x20request\x20at\x20most\x20the\x20largest\x20single\x20coin.\x20Do\x20not\x20retry\x20the\x20same\x20balance_required\x20after\x20such\x20a\x20failure;\x20re-reading\x20the\x20balance\x20will\x20not\x20change\x20the\x20answer.'),'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['extend']({'network':EntrypointSchema['optional']()['describe']('Chain\x20the\x20transfer\x20transaction\x20executed\x20on,\x20echoed\x20back\x20by\x20the\x20MCP\x20layer\x20so\x20a\x20same-session\x20caller\x20can\x20detect\x20a\x20silently\x20wrong\x20chain\x20(the\x20session\x20default\x20network\x20can\x20change\x20between\x20calls).'),'network_source':z['enum'](['request','session_default'])['optional']()['describe']('Where\x20the\x20echoed\x20network\x20came\x20from:\x20\x27request\x27\x20=\x20the\x20call\x27s\x20explicit\x20transfer.network\x20input;\x20\x27session_default\x27\x20=\x20the\x20SDK\x20session\x20default\x20was\x20used\x20(no\x20transfer.network\x20in\x20the\x20request).')})['optional']()['describe']('Result\x20of\x20token\x20transfer\x20transaction,\x20annotated\x20with\x20the\x20network\x20it\x20executed\x20on\x20and\x20where\x20that\x20network\x20came\x20from'),'get':z['object']({'coin_address':z['string']()['optional']()['describe']('Coin\x20object\x20ID\x20that\x20actually\x20carries\x20at\x20least\x20the\x20required\x20balance\x20(split/merged\x20+\x20self-delivered\x20on-chain).\x20Always\x20cross-check\x20against\x20`balance`.'),'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.\x20A\x20digest\x20alone\x20does\x20NOT\x20prove\x20the\x20coin\x20is\x20large\x20enough\x20—\x20compare\x20`balance`.'),'balance':z['string']()['optional']()['describe']('ACTUAL\x20final\x20on-chain\x20balance\x20of\x20coin_address\x20in\x20raw\x20smallest\x20units,\x20read\x20back\x20from\x20the\x20chain\x20after\x20execution.\x20This\x20is\x20the\x20authoritative\x20amount\x20—\x20assert\x20balance\x20>=\x20the\x20amount\x20you\x20need\x20before\x20relying\x20on\x20it.'),'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']()['describe']('Chain\x20the\x20coin-production\x20transaction\x20executed\x20on,\x20annotated\x20by\x20the\x20MCP\x20layer\x20with\x20the\x20RESOLVED\x20network\x20so\x20a\x20same-session\x20caller\x20can\x20detect\x20a\x20silently\x20wrong\x20chain\x20(the\x20SDK\x20alone\x20echoes\x20only\x20the\x20raw\x20input,\x20which\x20is\x20undefined\x20when\x20omitted).'),'network_source':z['enum'](['request','session_default'])['optional']()['describe']('Where\x20the\x20echoed\x20network\x20came\x20from:\x20\x27request\x27\x20=\x20the\x20call\x27s\x20explicit\x20get.network\x20input;\x20\x27session_default\x27\x20=\x20the\x20SDK\x20session\x20default\x20was\x20used\x20(no\x20get.network\x20in\x20the\x20request).')})['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 MarkPutResultSchema=z['object']({'marked':z['array'](MarkDataSchema)['describe']('Entries\x20created\x20or\x20merged.\x20Any\x20entry\x20WITH\x20a\x20`name`\x20is\x20reachable\x20via\x20get(name).'),'unnamed':z['number']()['describe']('How\x20many\x20of\x20the\x20written\x20entries\x20have\x20NO\x20name\x20and\x20are\x20therefore\x20unreachable\x20via\x20get(name).\x20'+'Non-zero\x20is\x20legitimate\x20only\x20when\x20the\x20caller\x20asked\x20for\x20address-only\x20rows;\x20a\x20malformed\x20`name`\x20is\x20'+'rejected\x20outright\x20rather\x20than\x20landing\x20here\x20(wiki/test/10\x20N-1).')})['describe']('Result\x20of\x20a\x20local\x20mark\x20`add`\x20operation');export const LocalMarkOperationResultSchema=z['object']({'clear':z['boolean']()['optional']()['describe']('Whether\x20all\x20marks\x20were\x20successfully\x20removed'),'add':MarkPutResultSchema['optional']()['describe']('Result\x20of\x20adding\x20marks\x20(written\x20entries\x20+\x20how\x20many\x20carry\x20no\x20name)'),'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'),'account':z['string']()['optional']()['describe']('Account\x20partition\x20for\x20this\x20operation.\x20Local\x20info\x20is\x20isolated\x20per\x20account;\x20'+'omit\x20it\x20to\x20target\x20the\x20process\x20default\x20account\x27s\x20partition.\x20Accepts\x20an\x20account\x20name\x20or\x20address;\x20'+'a\x20ref\x20that\x20does\x20not\x20resolve\x20to\x20a\x20registered\x20account\x20FAILS\x20the\x20call\x20(no\x20silent\x20fallback\x20to\x20the\x20default\x20partition).')})['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:[...]}.\x20'+'Optional\x20top-level\x20\x27account\x27\x20scopes\x20the\x20operation\x20to\x20one\x20account\x27s\x20info\x20partition\x20(ESD-A5).');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 const LocalCachePrefixValues=['objectv2','sharedobject','servicelist','demandlist','arbitlist','table','event','tx','entity','config','token','personal','mark','info','history'];export const LocalCacheOperationSchema=z['object']({'status':z['object']({'op':z['literal']('status')['describe']('Operation\x20type:\x20report\x20cache\x20diagnostics')})['strict']()['optional']()['describe']('Report\x20cache\x20diagnostics:\x20active\x20chain\x20identity,\x20in-memory\x20entry\x20count,\x20persisted\x20row\x20count.\x20Read-only\x20—\x20changes\x20nothing.'),'clear_prefix':z['object']({'op':z['literal']('clear_prefix')['describe']('Operation\x20type:\x20clear\x20one\x20cache\x20prefix'),'prefix':z['enum'](LocalCachePrefixValues)['describe']('Cache\x20prefix\x20to\x20clear\x20(e.g.\x20\x27objectv2\x27\x20for\x20on-chain\x20objects)')})['strict']()['optional']()['describe']('Clear\x20every\x20cached\x20row\x20under\x20ONE\x20prefix,\x20in\x20memory\x20and\x20on\x20disk.\x20Choose\x20\x27objectv2\x27\x20to\x20force\x20a\x20full\x20re-read\x20of\x20on-chain\x20objects.'),'clear':z['object']({'op':z['literal']('clear')['describe']('Operation\x20type:\x20clear\x20the\x20entire\x20read\x20cache')})['strict']()['optional']()['describe']('Clear\x20the\x20ENTIRE\x20read\x20cache\x20(every\x20prefix,\x20every\x20network,\x20memory\x20and\x20disk).\x20Accounts,\x20marks,\x20info\x20and\x20history\x20are\x20NOT\x20affected.'),'refresh_chain_scope':z['object']({'op':z['literal']('refresh_chain_scope')['describe']('Operation\x20type:\x20re-detect\x20the\x20chain\x20identity\x20and\x20re-scope\x20the\x20cache'),'network':EntrypointSchema['optional']()['describe']('Network\x20to\x20re-detect;\x20defaults\x20to\x20the\x20configured\x20network')})['strict']()['optional']()['describe']('Re-fetch\x20the\x20chain\x20identity\x20(w_getChainIdentifier)\x20and\x20install\x20it\x20as\x20the\x20cache\x20scope.\x20If\x20the\x20chain\x20was\x20reset,\x20every\x20previously\x20written\x20row\x20becomes\x20UNREACHABLE\x20automatically\x20and\x20is\x20re-fetched\x20on\x20next\x20read\x20—\x20the\x20automatic\x20half\x20of\x20the\x20reset-recovery\x20fix.'),'clear_inflight':z['object']({'op':z['literal']('clear_inflight')['describe']('Operation\x20type:\x20clear\x20in-flight\x20operation\x20markers')})['strict']()['optional']()['describe']('F-M10\x20(gfm\x20F-25):\x20drop\x20EVERY\x20in-flight\x20operation\x20marker\x20and\x20landed\x20tombstone\x20held\x20by\x20this\x20process.\x20'+'In-flight\x20markers\x20park\x20the\x20signature\x20of\x20a\x20fund-moving\x20call\x20whose\x20outcome\x20was\x20never\x20observed\x20'+'(transport\x20drop\x20after\x20submit)\x20and\x20hold\x20an\x20identical\x20resend\x20for\x20a\x20120s\x20verify-first\x20window;\x20if\x20a\x20'+'stale\x20marker\x20is\x20blocking\x20a\x20deliberate\x20re-run\x20past\x20on-chain\x20verification,\x20this\x20clears\x20it\x20immediately\x20'+'instead\x20of\x20waiting\x20out\x20the\x20window.\x20Device-local\x20only\x20—\x20never\x20on-chain.')})['strict']()['refine'](a=>Object['values'](a)['some'](b=>b!==undefined),{'message':'Exactly\x20one\x20operation\x20field\x20(status/clear_prefix/clear/refresh_chain_scope/clear_inflight)\x20must\x20be\x20specified\x20as\x20a\x20NESTED\x20field.\x20'+'Example:\x20{clear_prefix:\x20{op:\x20\x27clear_prefix\x27,\x20prefix:\x20\x27objectv2\x27}}\x20—\x20NOT\x20flat\x20{op:\x20\x27clear_prefix\x27,\x20prefix:\x20\x27objectv2\x27}.'})['describe']('LOCAL\x20ONLY,\x20NEVER\x20ON-CHAIN:\x20inspect\x20and\x20clear\x20this\x20device\x27s\x20WoWok\x20SDK\x20read\x20cache.\x20'+'Use\x20{status:\x20{op:\x27status\x27}}\x20to\x20diagnose\x20a\x20stale\x20cache,\x20{refresh_chain_scope:\x20{op:\x27refresh_chain_scope\x27}}\x20after\x20the\x20chain\x20node\x20was\x20reset\x20or\x20restarted\x20(this\x20alone\x20fixes\x20\x27object\x200x…\x20version\x200x…\x20is\x20unavailable\x27),\x20{clear_prefix:\x20{...}}\x20to\x20drop\x20one\x20cache\x20family\x20such\x20as\x20on-chain\x20objects,\x20{clear:\x20{op:\x27clear\x27}}\x20to\x20drop\x20everything,\x20or\x20{clear_inflight:\x20{op:\x27clear_inflight\x27}}\x20to\x20release\x20parked\x20in-flight\x20operation\x20markers.\x20'+'Does\x20NOT\x20touch\x20accounts,\x20marks,\x20info\x20or\x20history\x20—\x20those\x20hold\x20user\x20data\x20and\x20have\x20their\x20own\x20tools.');export const LocalCacheOperationResultSchema=z['discriminatedUnion']('op',[z['object']({'op':z['literal']('status'),'chain_identity':z['string']()['nullable']()['describe']('Active\x20chain\x20identity\x20scoping\x20the\x20cache\x20(genesis\x20checkpoint\x20digest),\x20or\x20null\x20when\x20UNSCOPED.\x20Null\x20means\x20the\x20identity\x20could\x20not\x20be\x20fetched\x20(node\x20unreachable\x20at\x20startup)\x20—\x20the\x20cache\x20is\x20then\x20keyed\x20by\x20network\x20name\x20only\x20and\x20is\x20NOT\x20reset-safe.'),'storage_attached':z['boolean']()['describe']('Whether\x20a\x20persistent\x20cache\x20backend\x20is\x20attached\x20(false\x20=\x20memory-only,\x20nothing\x20survives\x20restart)'),'memory_entries':z['number']()['int']()['describe']('Number\x20of\x20rows\x20currently\x20held\x20in\x20the\x20in-process\x20memory\x20cache'),'storage_rows':z['number']()['int']()['nullable']()['describe']('Number\x20of\x20rows\x20persisted\x20on\x20disk,\x20or\x20null\x20when\x20the\x20backend\x20does\x20not\x20report\x20stats'),'storage_bytes':z['number']()['int']()['nullable']()['describe']('Total\x20bytes\x20persisted\x20on\x20disk,\x20or\x20null\x20when\x20the\x20backend\x20does\x20not\x20report\x20stats')})['strict']()['describe']('Cache\x20diagnostics'),z['object']({'op':z['literal']('clear_prefix'),'prefix':z['string']()['describe']('Prefix\x20that\x20was\x20cleared'),'chain_identity':z['string']()['nullable']()['describe']('Chain\x20identity\x20still\x20in\x20effect\x20after\x20the\x20clear')})['strict']()['describe']('Result\x20of\x20clearing\x20one\x20cache\x20prefix'),z['object']({'op':z['literal']('clear'),'cleared':z['boolean']()['describe']('True\x20when\x20both\x20the\x20memory\x20and\x20disk\x20caches\x20were\x20cleared'),'chain_identity':z['string']()['nullable']()['describe']('Chain\x20identity\x20still\x20in\x20effect\x20after\x20the\x20clear')})['strict']()['describe']('Result\x20of\x20clearing\x20the\x20entire\x20read\x20cache'),z['object']({'op':z['literal']('refresh_chain_scope'),'previous_chain_identity':z['string']()['nullable']()['describe']('Chain\x20identity\x20in\x20effect\x20before\x20re-detection'),'chain_identity':z['string']()['nullable']()['describe']('Chain\x20identity\x20in\x20effect\x20after\x20re-detection,\x20or\x20null\x20when\x20the\x20node\x20did\x20not\x20answer'),'changed':z['boolean']()['describe']('True\x20when\x20the\x20identity\x20CHANGED.\x20True\x20means\x20the\x20chain\x20was\x20replaced\x20and\x20every\x20previously\x20written\x20row\x20is\x20now\x20unreachable\x20(orphaned)\x20rather\x20than\x20served\x20—\x20this\x20is\x20the\x20reset-recovery\x20signal.\x20False\x20with\x20a\x20null\x20identity\x20means\x20the\x20node\x20did\x20not\x20answer\x20and\x20the\x20cache\x20remains\x20unscoped.'),'resolved':z['boolean']()['describe']('True\x20when\x20a\x20chain\x20identity\x20was\x20obtained\x20from\x20the\x20node')})['strict']()['describe']('Result\x20of\x20re-detecting\x20the\x20chain\x20identity'),z['object']({'op':z['literal']('clear_inflight'),'cleared':z['number']()['int']()['describe']('Number\x20of\x20in-flight\x20markers\x20plus\x20landed\x20tombstones\x20removed')})['strict']()['describe']('Result\x20of\x20clearing\x20in-flight\x20operation\x20markers')]);export const LocalCacheOperationOutputSchema=z['discriminatedUnion']('status',[z['object']({'status':z['literal']('success'),'data':LocalCacheOperationResultSchema['describe']('Success\x20result\x20data')}),z['object']({'status':z['literal']('error'),'error':z['string']()['describe']('Error\x20message'),...LocalOperationErrorFields})])['describe']('Local\x20cache\x20operation\x20output\x20schema\x20with\x20discriminator');export const LocalCacheOperationOutputWrappedSchema=z['object']({'result':LocalCacheOperationOutputSchema,'semantic':SemanticSummarySchema['optional']()['describe']('Business\x20semantic\x20summary\x20for\x20local\x20cache\x20operation')})['describe']('Local\x20cache\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 a461a}from'../call/index.js';const SemanticSummarySchema=z['lazy'](()=>a461a);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']()['min'](0x1,'Mark\x20name\x20value\x20must\x20be\x20a\x20non-empty\x20string\x20(an\x20empty\x20name\x20would\x20create\x20a\x20mark\x20that\x20get(name)\x20can\x20never\x20resolve)')['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'),'_balance_scope_note':z['string']()['optional']()['describe']('Semantic\x20scope\x20note\x20for\x20the\x20balance\x20figure:\x20the\x20total\x20is\x20aggregation-only;\x20independently\x20owned\x20Coin\x20objects\x20'+'may\x20exist\x20outside\x20it.\x20Follow\x20the\x20note\x20(transaction\x20digest\x20or\x20coin-objects\x20query)\x20before\x20concluding\x20funds\x20arrived.')})['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.\x20NOT\x20allowed\x20on\x20the\x20default\x20account\x20(client-only:\x20ask\x20the\x20user\x20to\x20do\x20it\x20in\x20the\x20client\x27s\x20Wallet\x20tab).'),'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.\x20NOT\x20allowed\x20on\x20the\x20default\x20account\x20(client-only:\x20ask\x20the\x20user\x20to\x20do\x20it\x20in\x20the\x20client\x27s\x20Wallet\x20tab).'),'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.\x20NOT\x20allowed\x20when\x20either\x20end\x20is\x20the\x20default\x20account\x20(empty/omitted\x20name)\x20—\x20client-only:\x20ask\x20the\x20user\x20to\x20manage\x20it\x20in\x20the\x20client\x27s\x20Wallet\x20tab.\x20Swap\x20two\x20named\x20(non-default)\x20accounts\x20instead.'),'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.\x20⚠️\x20The\x20numeric\x20part\x20of\x20a\x20suffixed\x20string\x20counts\x20WHOLE\x20tokens,\x20never\x20raw\x20units:\x20\x22320000000WOW\x22\x20=\x20320\x20million\x20WOW\x20(raw\x20320000000000000000\x20at\x20decimals\x209)\x20—\x20to\x20send\x200.32\x20WOW\x20write\x20\x220.32WOW\x22;\x20to\x20pass\x20raw\x20smallest\x20units\x20use\x20the\x20bare\x20integer\x20string\x20\x22320000000\x22\x20(no\x20symbol).\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.\x20NOT\x20a\x20balance\x20query\x20—\x20the\x20returned\x20`balance`\x20is\x20the\x20produced\x20coin\x27s\x20amount,\x20never\x20the\x20account\x27s\x20total;\x20to\x20CHECK\x20an\x20account\x27s\x20balance\x20use\x20the\x20balance\x20query\x20surface\x20(query_toolkit)\x20instead.\x20balance_required\x20must\x20be\x20>\x200\x20—\x20a\x20zero\x20request\x20is\x20rejected.\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.\x20RESULT\x20CONTRACT:\x20on\x20success\x20the\x20result\x20carries\x20`coin_address`,\x20`digest`\x20AND\x20`balance`\x20—\x20the\x20coin\x27s\x20ACTUAL\x20final\x20on-chain\x20amount,\x20read\x20back\x20from\x20the\x20chain.\x20Always\x20compare\x20`balance`\x20against\x20the\x20amount\x20you\x20need;\x20a\x20returned\x20digest\x20does\x20NOT\x20by\x20itself\x20mean\x20the\x20coin\x20is\x20large\x20enough.\x20If\x20the\x20requested\x20amount\x20cannot\x20be\x20covered\x20the\x20call\x20FAILS\x20with\x20the\x20required\x20amount,\x20the\x20account\x27s\x20total,\x20and\x20the\x20largest\x20single\x20coin,\x20and\x20NO\x20transaction\x20is\x20sent\x20(no\x20gas\x20spent)\x20—\x20in\x20that\x20case\x20fund\x20the\x20account\x20first,\x20or\x20request\x20at\x20most\x20the\x20largest\x20single\x20coin.\x20Do\x20not\x20retry\x20the\x20same\x20balance_required\x20after\x20such\x20a\x20failure;\x20re-reading\x20the\x20balance\x20will\x20not\x20change\x20the\x20answer.'),'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['extend']({'network':EntrypointSchema['optional']()['describe']('Chain\x20the\x20transfer\x20transaction\x20executed\x20on,\x20echoed\x20back\x20by\x20the\x20MCP\x20layer\x20so\x20a\x20same-session\x20caller\x20can\x20detect\x20a\x20silently\x20wrong\x20chain\x20(the\x20session\x20default\x20network\x20can\x20change\x20between\x20calls).'),'network_source':z['enum'](['request','session_default'])['optional']()['describe']('Where\x20the\x20echoed\x20network\x20came\x20from:\x20\x27request\x27\x20=\x20the\x20call\x27s\x20explicit\x20transfer.network\x20input;\x20\x27session_default\x27\x20=\x20the\x20SDK\x20session\x20default\x20was\x20used\x20(no\x20transfer.network\x20in\x20the\x20request).')})['optional']()['describe']('Result\x20of\x20token\x20transfer\x20transaction,\x20annotated\x20with\x20the\x20network\x20it\x20executed\x20on\x20and\x20where\x20that\x20network\x20came\x20from'),'get':z['object']({'coin_address':z['string']()['optional']()['describe']('Coin\x20object\x20ID\x20that\x20actually\x20carries\x20at\x20least\x20the\x20required\x20balance\x20(split/merged\x20+\x20self-delivered\x20on-chain).\x20Always\x20cross-check\x20against\x20`balance`.'),'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.\x20A\x20digest\x20alone\x20does\x20NOT\x20prove\x20the\x20coin\x20is\x20large\x20enough\x20—\x20compare\x20`balance`.'),'balance':z['string']()['optional']()['describe']('ACTUAL\x20final\x20on-chain\x20balance\x20of\x20coin_address\x20in\x20raw\x20smallest\x20units,\x20read\x20back\x20from\x20the\x20chain\x20after\x20execution.\x20This\x20is\x20the\x20authoritative\x20amount\x20—\x20assert\x20balance\x20>=\x20the\x20amount\x20you\x20need\x20before\x20relying\x20on\x20it.'),'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']()['describe']('Chain\x20the\x20coin-production\x20transaction\x20executed\x20on,\x20annotated\x20by\x20the\x20MCP\x20layer\x20with\x20the\x20RESOLVED\x20network\x20so\x20a\x20same-session\x20caller\x20can\x20detect\x20a\x20silently\x20wrong\x20chain\x20(the\x20SDK\x20alone\x20echoes\x20only\x20the\x20raw\x20input,\x20which\x20is\x20undefined\x20when\x20omitted).'),'network_source':z['enum'](['request','session_default'])['optional']()['describe']('Where\x20the\x20echoed\x20network\x20came\x20from:\x20\x27request\x27\x20=\x20the\x20call\x27s\x20explicit\x20get.network\x20input;\x20\x27session_default\x27\x20=\x20the\x20SDK\x20session\x20default\x20was\x20used\x20(no\x20get.network\x20in\x20the\x20request).')})['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 MarkPutResultSchema=z['object']({'marked':z['array'](MarkDataSchema)['describe']('Entries\x20created\x20or\x20merged.\x20Any\x20entry\x20WITH\x20a\x20`name`\x20is\x20reachable\x20via\x20get(name).'),'unnamed':z['number']()['describe']('How\x20many\x20of\x20the\x20written\x20entries\x20have\x20NO\x20name\x20and\x20are\x20therefore\x20unreachable\x20via\x20get(name).\x20'+'Non-zero\x20is\x20legitimate\x20only\x20when\x20the\x20caller\x20asked\x20for\x20address-only\x20rows;\x20a\x20malformed\x20`name`\x20is\x20'+'rejected\x20outright\x20rather\x20than\x20landing\x20here\x20(wiki/test/10\x20N-1).')})['describe']('Result\x20of\x20a\x20local\x20mark\x20`add`\x20operation');export const LocalMarkOperationResultSchema=z['object']({'clear':z['boolean']()['optional']()['describe']('Whether\x20all\x20marks\x20were\x20successfully\x20removed'),'add':MarkPutResultSchema['optional']()['describe']('Result\x20of\x20adding\x20marks\x20(written\x20entries\x20+\x20how\x20many\x20carry\x20no\x20name)'),'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'),'account':z['string']()['optional']()['describe']('Account\x20partition\x20for\x20this\x20operation.\x20Local\x20info\x20is\x20isolated\x20per\x20account;\x20'+'omit\x20it\x20to\x20target\x20the\x20process\x20default\x20account\x27s\x20partition.\x20Accepts\x20an\x20account\x20name\x20or\x20address;\x20'+'a\x20ref\x20that\x20does\x20not\x20resolve\x20to\x20a\x20registered\x20account\x20FAILS\x20the\x20call\x20(no\x20silent\x20fallback\x20to\x20the\x20default\x20partition).')})['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:[...]}.\x20'+'Optional\x20top-level\x20\x27account\x27\x20scopes\x20the\x20operation\x20to\x20one\x20account\x27s\x20info\x20partition\x20(ESD-A5).');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 const LocalCachePrefixValues=['objectv2','sharedobject','servicelist','demandlist','arbitlist','table','event','tx','entity','config','token','personal','mark','info','history'];export const LocalCacheOperationSchema=z['object']({'status':z['object']({'op':z['literal']('status')['describe']('Operation\x20type:\x20report\x20cache\x20diagnostics')})['strict']()['optional']()['describe']('Report\x20cache\x20diagnostics:\x20active\x20chain\x20identity,\x20in-memory\x20entry\x20count,\x20persisted\x20row\x20count.\x20Read-only\x20—\x20changes\x20nothing.'),'clear_prefix':z['object']({'op':z['literal']('clear_prefix')['describe']('Operation\x20type:\x20clear\x20one\x20cache\x20prefix'),'prefix':z['enum'](LocalCachePrefixValues)['describe']('Cache\x20prefix\x20to\x20clear\x20(e.g.\x20\x27objectv2\x27\x20for\x20on-chain\x20objects)')})['strict']()['optional']()['describe']('Clear\x20every\x20cached\x20row\x20under\x20ONE\x20prefix,\x20in\x20memory\x20and\x20on\x20disk.\x20Choose\x20\x27objectv2\x27\x20to\x20force\x20a\x20full\x20re-read\x20of\x20on-chain\x20objects.'),'clear':z['object']({'op':z['literal']('clear')['describe']('Operation\x20type:\x20clear\x20the\x20entire\x20read\x20cache')})['strict']()['optional']()['describe']('Clear\x20the\x20ENTIRE\x20read\x20cache\x20(every\x20prefix,\x20every\x20network,\x20memory\x20and\x20disk).\x20Accounts,\x20marks,\x20info\x20and\x20history\x20are\x20NOT\x20affected.'),'refresh_chain_scope':z['object']({'op':z['literal']('refresh_chain_scope')['describe']('Operation\x20type:\x20re-detect\x20the\x20chain\x20identity\x20and\x20re-scope\x20the\x20cache'),'network':EntrypointSchema['optional']()['describe']('Network\x20to\x20re-detect;\x20defaults\x20to\x20the\x20configured\x20network')})['strict']()['optional']()['describe']('Re-fetch\x20the\x20chain\x20identity\x20(w_getChainIdentifier)\x20and\x20install\x20it\x20as\x20the\x20cache\x20scope.\x20If\x20the\x20chain\x20was\x20reset,\x20every\x20previously\x20written\x20row\x20becomes\x20UNREACHABLE\x20automatically\x20and\x20is\x20re-fetched\x20on\x20next\x20read\x20—\x20the\x20automatic\x20half\x20of\x20the\x20reset-recovery\x20fix.'),'clear_inflight':z['object']({'op':z['literal']('clear_inflight')['describe']('Operation\x20type:\x20clear\x20in-flight\x20operation\x20markers')})['strict']()['optional']()['describe']('F-M10\x20(gfm\x20F-25):\x20drop\x20EVERY\x20in-flight\x20operation\x20marker\x20and\x20landed\x20tombstone\x20held\x20by\x20this\x20process.\x20'+'In-flight\x20markers\x20park\x20the\x20signature\x20of\x20a\x20fund-moving\x20call\x20whose\x20outcome\x20was\x20never\x20observed\x20'+'(transport\x20drop\x20after\x20submit)\x20and\x20hold\x20an\x20identical\x20resend\x20for\x20a\x20120s\x20verify-first\x20window;\x20if\x20a\x20'+'stale\x20marker\x20is\x20blocking\x20a\x20deliberate\x20re-run\x20past\x20on-chain\x20verification,\x20this\x20clears\x20it\x20immediately\x20'+'instead\x20of\x20waiting\x20out\x20the\x20window.\x20Device-local\x20only\x20—\x20never\x20on-chain.')})['strict']()['refine'](a=>Object['values'](a)['some'](b=>b!==undefined),{'message':'Exactly\x20one\x20operation\x20field\x20(status/clear_prefix/clear/refresh_chain_scope/clear_inflight)\x20must\x20be\x20specified\x20as\x20a\x20NESTED\x20field.\x20'+'Example:\x20{clear_prefix:\x20{op:\x20\x27clear_prefix\x27,\x20prefix:\x20\x27objectv2\x27}}\x20—\x20NOT\x20flat\x20{op:\x20\x27clear_prefix\x27,\x20prefix:\x20\x27objectv2\x27}.'})['describe']('LOCAL\x20ONLY,\x20NEVER\x20ON-CHAIN:\x20inspect\x20and\x20clear\x20this\x20device\x27s\x20WoWok\x20SDK\x20read\x20cache.\x20'+'Use\x20{status:\x20{op:\x27status\x27}}\x20to\x20diagnose\x20a\x20stale\x20cache,\x20{refresh_chain_scope:\x20{op:\x27refresh_chain_scope\x27}}\x20after\x20the\x20chain\x20node\x20was\x20reset\x20or\x20restarted\x20(this\x20alone\x20fixes\x20\x27object\x200x…\x20version\x200x…\x20is\x20unavailable\x27),\x20{clear_prefix:\x20{...}}\x20to\x20drop\x20one\x20cache\x20family\x20such\x20as\x20on-chain\x20objects,\x20{clear:\x20{op:\x27clear\x27}}\x20to\x20drop\x20everything,\x20or\x20{clear_inflight:\x20{op:\x27clear_inflight\x27}}\x20to\x20release\x20parked\x20in-flight\x20operation\x20markers.\x20'+'Does\x20NOT\x20touch\x20accounts,\x20marks,\x20info\x20or\x20history\x20—\x20those\x20hold\x20user\x20data\x20and\x20have\x20their\x20own\x20tools.');export const LocalCacheOperationResultSchema=z['discriminatedUnion']('op',[z['object']({'op':z['literal']('status'),'chain_identity':z['string']()['nullable']()['describe']('Active\x20chain\x20identity\x20scoping\x20the\x20cache\x20(genesis\x20checkpoint\x20digest),\x20or\x20null\x20when\x20UNSCOPED.\x20Null\x20means\x20the\x20identity\x20could\x20not\x20be\x20fetched\x20(node\x20unreachable\x20at\x20startup)\x20—\x20the\x20cache\x20is\x20then\x20keyed\x20by\x20network\x20name\x20only\x20and\x20is\x20NOT\x20reset-safe.'),'storage_attached':z['boolean']()['describe']('Whether\x20a\x20persistent\x20cache\x20backend\x20is\x20attached\x20(false\x20=\x20memory-only,\x20nothing\x20survives\x20restart)'),'memory_entries':z['number']()['int']()['describe']('Number\x20of\x20rows\x20currently\x20held\x20in\x20the\x20in-process\x20memory\x20cache'),'storage_rows':z['number']()['int']()['nullable']()['describe']('Number\x20of\x20rows\x20persisted\x20on\x20disk,\x20or\x20null\x20when\x20the\x20backend\x20does\x20not\x20report\x20stats'),'storage_bytes':z['number']()['int']()['nullable']()['describe']('Total\x20bytes\x20persisted\x20on\x20disk,\x20or\x20null\x20when\x20the\x20backend\x20does\x20not\x20report\x20stats')})['strict']()['describe']('Cache\x20diagnostics'),z['object']({'op':z['literal']('clear_prefix'),'prefix':z['string']()['describe']('Prefix\x20that\x20was\x20cleared'),'chain_identity':z['string']()['nullable']()['describe']('Chain\x20identity\x20still\x20in\x20effect\x20after\x20the\x20clear')})['strict']()['describe']('Result\x20of\x20clearing\x20one\x20cache\x20prefix'),z['object']({'op':z['literal']('clear'),'cleared':z['boolean']()['describe']('True\x20when\x20both\x20the\x20memory\x20and\x20disk\x20caches\x20were\x20cleared'),'chain_identity':z['string']()['nullable']()['describe']('Chain\x20identity\x20still\x20in\x20effect\x20after\x20the\x20clear')})['strict']()['describe']('Result\x20of\x20clearing\x20the\x20entire\x20read\x20cache'),z['object']({'op':z['literal']('refresh_chain_scope'),'previous_chain_identity':z['string']()['nullable']()['describe']('Chain\x20identity\x20in\x20effect\x20before\x20re-detection'),'chain_identity':z['string']()['nullable']()['describe']('Chain\x20identity\x20in\x20effect\x20after\x20re-detection,\x20or\x20null\x20when\x20the\x20node\x20did\x20not\x20answer'),'changed':z['boolean']()['describe']('True\x20when\x20the\x20identity\x20CHANGED.\x20True\x20means\x20the\x20chain\x20was\x20replaced\x20and\x20every\x20previously\x20written\x20row\x20is\x20now\x20unreachable\x20(orphaned)\x20rather\x20than\x20served\x20—\x20this\x20is\x20the\x20reset-recovery\x20signal.\x20False\x20with\x20a\x20null\x20identity\x20means\x20the\x20node\x20did\x20not\x20answer\x20and\x20the\x20cache\x20remains\x20unscoped.'),'resolved':z['boolean']()['describe']('True\x20when\x20a\x20chain\x20identity\x20was\x20obtained\x20from\x20the\x20node')})['strict']()['describe']('Result\x20of\x20re-detecting\x20the\x20chain\x20identity'),z['object']({'op':z['literal']('clear_inflight'),'cleared':z['number']()['int']()['describe']('Number\x20of\x20in-flight\x20markers\x20plus\x20landed\x20tombstones\x20removed')})['strict']()['describe']('Result\x20of\x20clearing\x20in-flight\x20operation\x20markers')]);export const LocalCacheOperationOutputSchema=z['discriminatedUnion']('status',[z['object']({'status':z['literal']('success'),'data':LocalCacheOperationResultSchema['describe']('Success\x20result\x20data')}),z['object']({'status':z['literal']('error'),'error':z['string']()['describe']('Error\x20message'),...LocalOperationErrorFields})])['describe']('Local\x20cache\x20operation\x20output\x20schema\x20with\x20discriminator');export const LocalCacheOperationOutputWrappedSchema=z['object']({'result':LocalCacheOperationOutputSchema,'semantic':SemanticSummarySchema['optional']()['describe']('Business\x20semantic\x20summary\x20for\x20local\x20cache\x20operation')})['describe']('Local\x20cache\x20operation\x20output\x20wrapped\x20schema');export*from'./wip.js';
|
|
@@ -1649,6 +1649,11 @@ export declare const OnchainOperationsSchema: z.ZodPreprocess<z.ZodDiscriminated
|
|
|
1649
1649
|
}, z.core.$strip>], "type">;
|
|
1650
1650
|
expiration_time: z.ZodOptional<z.ZodNumber>;
|
|
1651
1651
|
store_from_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1652
|
+
evidence: z.ZodOptional<z.ZodObject<{
|
|
1653
|
+
repo: z.ZodString;
|
|
1654
|
+
key: z.ZodArray<z.ZodNumber>;
|
|
1655
|
+
predicate: z.ZodArray<z.ZodNumber>;
|
|
1656
|
+
}, z.core.$strict>>;
|
|
1652
1657
|
}, z.core.$strip>>>;
|
|
1653
1658
|
guard_remove: z.ZodOptional<z.ZodString>;
|
|
1654
1659
|
guard_expiration_time: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
@@ -1818,6 +1818,8 @@ export declare const ServiceQuoteResultSchema: z.ZodObject<{
|
|
|
1818
1818
|
max_coverable_order_display: z.ZodNullable<z.ZodString>;
|
|
1819
1819
|
required_for_this_basket: z.ZodString;
|
|
1820
1820
|
required_display: z.ZodNullable<z.ZodString>;
|
|
1821
|
+
shortfall: z.ZodString;
|
|
1822
|
+
shortfall_display: z.ZodNullable<z.ZodString>;
|
|
1821
1823
|
covered: z.ZodBoolean;
|
|
1822
1824
|
note: z.ZodString;
|
|
1823
1825
|
}, z.core.$strip>>;
|
|
@@ -1905,6 +1907,8 @@ export declare const BI_QUERY_RESULT_MEMBERS: readonly [z.ZodObject<{
|
|
|
1905
1907
|
max_coverable_order_display: z.ZodNullable<z.ZodString>;
|
|
1906
1908
|
required_for_this_basket: z.ZodString;
|
|
1907
1909
|
required_display: z.ZodNullable<z.ZodString>;
|
|
1910
|
+
shortfall: z.ZodString;
|
|
1911
|
+
shortfall_display: z.ZodNullable<z.ZodString>;
|
|
1908
1912
|
covered: z.ZodBoolean;
|
|
1909
1913
|
note: z.ZodString;
|
|
1910
1914
|
}, z.core.$strip>>;
|