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