@wowok/agent-mcp 2.3.14 → 2.3.18
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/index.d.ts +1 -0
- package/dist/config/index.js +1 -0
- package/dist/config/runtime.d.ts +26 -0
- package/dist/config/runtime.js +217 -0
- package/dist/customer/index.d.ts +9 -0
- package/dist/customer/index.js +9 -0
- package/dist/customer/industry-risks.d.ts +40 -0
- package/dist/customer/industry-risks.js +438 -0
- package/dist/customer/info-puzzle.d.ts +102 -0
- package/dist/customer/info-puzzle.js +312 -0
- package/dist/customer/order-monitor.d.ts +75 -0
- package/dist/customer/order-monitor.js +327 -0
- package/dist/customer/order-strategy.d.ts +36 -0
- package/dist/customer/order-strategy.js +373 -0
- package/dist/customer/post-purchase.d.ts +42 -0
- package/dist/customer/post-purchase.js +350 -0
- package/dist/customer/reminder-system.d.ts +42 -0
- package/dist/customer/reminder-system.js +295 -0
- package/dist/customer/risk-assessment.d.ts +8 -0
- package/dist/customer/risk-assessment.js +337 -0
- package/dist/customer/types.d.ts +193 -0
- package/dist/customer/types.js +13 -0
- package/dist/customer/user-preferences.d.ts +70 -0
- package/dist/customer/user-preferences.js +460 -0
- package/dist/experience/experience-reuse.d.ts +10 -0
- package/dist/experience/experience-reuse.js +103 -0
- package/dist/experience/index.d.ts +6 -0
- package/dist/experience/index.js +5 -0
- package/dist/experience/intent-distill.d.ts +3 -0
- package/dist/experience/intent-distill.js +83 -0
- package/dist/experience/realtime-feedback.d.ts +5 -0
- package/dist/experience/realtime-feedback.js +94 -0
- package/dist/experience/types.d.ts +50 -0
- package/dist/experience/types.js +1 -0
- package/dist/experience/user-profile.d.ts +25 -0
- package/dist/experience/user-profile.js +171 -0
- package/dist/index.js +842 -371
- package/dist/knowledge/acquisition-flywheel.d.ts +53 -0
- package/dist/knowledge/acquisition-flywheel.js +192 -0
- package/dist/knowledge/arbitration-trust.d.ts +24 -0
- package/dist/knowledge/arbitration-trust.js +117 -0
- package/dist/knowledge/audit-rules.d.ts +28 -0
- package/dist/knowledge/audit-rules.js +141 -0
- package/dist/knowledge/demand-matching.d.ts +29 -0
- package/dist/knowledge/demand-matching.js +132 -0
- package/dist/knowledge/dynamic-pricing.d.ts +31 -0
- package/dist/knowledge/dynamic-pricing.js +87 -0
- package/dist/knowledge/flywheel-loop.d.ts +87 -0
- package/dist/knowledge/flywheel-loop.js +378 -0
- package/dist/knowledge/glossary.d.ts +18 -0
- package/dist/knowledge/glossary.js +209 -0
- package/dist/knowledge/guard-ledger.d.ts +19 -0
- package/dist/knowledge/guard-ledger.js +219 -0
- package/dist/knowledge/guard-puzzle.d.ts +93 -0
- package/dist/knowledge/guard-puzzle.js +278 -0
- package/dist/knowledge/guard-risk.d.ts +60 -0
- package/dist/knowledge/guard-risk.js +474 -0
- package/dist/knowledge/guard-translation.d.ts +46 -0
- package/dist/knowledge/guard-translation.js +487 -0
- package/dist/knowledge/index.d.ts +77 -0
- package/dist/knowledge/index.js +79 -0
- package/dist/knowledge/industry-evolution.d.ts +82 -0
- package/dist/knowledge/industry-evolution.js +323 -0
- package/dist/knowledge/industry-generalizer.d.ts +17 -0
- package/dist/knowledge/industry-generalizer.js +381 -0
- package/dist/knowledge/industry-registry.d.ts +48 -0
- package/dist/knowledge/industry-registry.js +187 -0
- package/dist/knowledge/intent-metrics.d.ts +42 -0
- package/dist/knowledge/intent-metrics.js +566 -0
- package/dist/knowledge/process-model.d.ts +24 -0
- package/dist/knowledge/process-model.js +160 -0
- package/dist/knowledge/reputation-rules.d.ts +42 -0
- package/dist/knowledge/reputation-rules.js +99 -0
- package/dist/knowledge/reward-templates.d.ts +25 -0
- package/dist/knowledge/reward-templates.js +125 -0
- package/dist/knowledge/safety-rules.d.ts +36 -0
- package/dist/knowledge/safety-rules.js +232 -0
- package/dist/knowledge/tool-constraints.d.ts +30 -0
- package/dist/knowledge/tool-constraints.js +175 -0
- package/dist/knowledge/trust-metrics.d.ts +37 -0
- package/dist/knowledge/trust-metrics.js +138 -0
- package/dist/loop-engineering/diagnose.d.ts +3 -2
- package/dist/loop-engineering/diagnose.js +94 -0
- package/dist/loop-engineering/improve.d.ts +1 -1
- package/dist/loop-engineering/improve.js +52 -1
- package/dist/project/graph.d.ts +71 -0
- package/dist/project/graph.js +314 -0
- package/dist/project/index.d.ts +62 -0
- package/dist/project/index.js +167 -0
- package/dist/project/namespace.d.ts +62 -0
- package/dist/project/namespace.js +181 -0
- package/dist/project/query.d.ts +40 -0
- package/dist/project/query.js +110 -0
- package/dist/safety/confirm-gate.d.ts +17 -0
- package/dist/safety/confirm-gate.js +88 -0
- package/dist/safety/index.d.ts +3 -0
- package/dist/safety/index.js +3 -0
- package/dist/safety/preview.d.ts +2 -0
- package/dist/safety/preview.js +36 -0
- package/dist/schema/call/allocation.d.ts +39 -14
- package/dist/schema/call/arbitration.d.ts +187 -162
- package/dist/schema/call/base.d.ts +1971 -87
- package/dist/schema/call/base.js +135 -3
- package/dist/schema/call/bridge-handler.js +15 -2
- package/dist/schema/call/bridge.d.ts +1478 -53
- package/dist/schema/call/bridge.js +50 -2
- package/dist/schema/call/contact.d.ts +25 -0
- package/dist/schema/call/demand.d.ts +79 -54
- package/dist/schema/call/guard.d.ts +125 -50
- package/dist/schema/call/handler.d.ts +3 -0
- package/dist/schema/call/handler.js +60 -14
- package/dist/schema/call/machine.d.ts +988 -938
- package/dist/schema/call/order.d.ts +25 -0
- package/dist/schema/call/payment.d.ts +25 -0
- package/dist/schema/call/permission.d.ts +244 -219
- package/dist/schema/call/personal.d.ts +25 -0
- package/dist/schema/call/progress.d.ts +25 -0
- package/dist/schema/call/proof.d.ts +62 -12
- package/dist/schema/call/proof.js +3 -3
- package/dist/schema/call/repository.d.ts +101 -76
- package/dist/schema/call/reward.d.ts +55 -30
- package/dist/schema/call/semantic.d.ts +10 -2
- package/dist/schema/call/semantic.js +616 -11
- package/dist/schema/call/service.d.ts +442 -417
- package/dist/schema/call/treasury.d.ts +25 -0
- package/dist/schema/common/index.js +3 -3
- package/dist/schema/config/index.d.ts +18 -0
- package/dist/schema/config/index.js +17 -0
- package/dist/schema/index.d.ts +6 -0
- package/dist/schema/index.js +5 -0
- package/dist/schema/local/index.d.ts +237 -81
- package/dist/schema/local/index.js +42 -6
- package/dist/schema/messenger/index.d.ts +1018 -79
- package/dist/schema/messenger/index.js +26 -17
- package/dist/schema/operations.d.ts +3192 -1746
- package/dist/schema/operations.js +93 -98
- package/dist/schema/project/index.d.ts +21 -0
- package/dist/schema/project/index.js +32 -0
- package/dist/schema/query/index.d.ts +2762 -1856
- package/dist/schema/query/index.js +38 -35
- package/dist/schema/schema-query/index.d.ts +33 -0
- package/dist/schema/schema-query/index.js +36 -0
- package/dist/schema/schema-version.d.ts +25 -0
- package/dist/schema/schema-version.js +76 -0
- package/dist/schema/trust/index.d.ts +407 -0
- package/dist/schema/trust/index.js +113 -0
- package/dist/schemas/account_operation.output.json +25 -16
- package/dist/schemas/account_operation.schema.json +1 -1
- package/dist/schemas/bridge_operation.output.json +744 -0
- package/dist/schemas/bridge_operation.schema.json +82 -8
- package/dist/schemas/config_operation.output.json +18 -0
- package/dist/schemas/config_operation.schema.json +34 -0
- package/dist/schemas/guard-node-schema.json +82 -0
- package/dist/schemas/guard2file.schema.json +23 -0
- package/dist/schemas/index.json +19 -1
- package/dist/schemas/local_info_operation.output.json +23 -0
- package/dist/schemas/local_info_operation.schema.json +1 -1
- package/dist/schemas/local_mark_operation.output.json +24 -1
- package/dist/schemas/local_mark_operation.schema.json +4 -4
- package/dist/schemas/machineNode2file.schema.json +23 -0
- package/dist/schemas/messenger_operation.output.json +752 -0
- package/dist/schemas/onchain_events.output.json +718 -0
- package/dist/schemas/onchain_operations.output.json +627 -18
- package/dist/schemas/onchain_operations.schema.json +115 -39
- package/dist/schemas/onchain_operations_allocation.schema.json +23 -0
- package/dist/schemas/onchain_operations_arbitration.schema.json +23 -0
- package/dist/schemas/onchain_operations_contact.schema.json +23 -0
- package/dist/schemas/onchain_operations_demand.schema.json +23 -0
- package/dist/schemas/onchain_operations_gen_passport.schema.json +46 -0
- package/dist/schemas/onchain_operations_guard.schema.json +26 -16
- package/dist/schemas/onchain_operations_machine.schema.json +89 -23
- package/dist/schemas/onchain_operations_order.schema.json +23 -0
- package/dist/schemas/onchain_operations_payment.schema.json +23 -0
- package/dist/schemas/onchain_operations_permission.schema.json +23 -0
- package/dist/schemas/onchain_operations_personal.schema.json +23 -0
- package/dist/schemas/onchain_operations_progress.schema.json +23 -0
- package/dist/schemas/onchain_operations_repository.schema.json +23 -0
- package/dist/schemas/onchain_operations_reward.schema.json +23 -0
- package/dist/schemas/onchain_operations_service.schema.json +23 -0
- package/dist/schemas/onchain_operations_treasury.schema.json +23 -0
- package/dist/schemas/onchain_table_data.output.json +939 -69
- package/dist/schemas/onchain_table_data.schema.json +2 -2
- package/dist/schemas/project_operation.output.json +18 -0
- package/dist/schemas/project_operation.schema.json +42 -0
- package/dist/schemas/query_toolkit.schema.json +360 -368
- package/dist/schemas/schema_query.schema.json +6 -3
- package/dist/schemas/trust_score.output.json +327 -0
- package/dist/schemas/trust_score.schema.json +46 -0
- package/package.json +2 -2
|
@@ -3,31 +3,44 @@ export declare const BridgeTokenSchema: z.ZodEnum<["ETH", "WETH", "WBTC", "USDC"
|
|
|
3
3
|
export declare const EvmChainSchema: z.ZodDefault<z.ZodEnum<["mainnet"]>>;
|
|
4
4
|
export declare const EvmAddressSchema: z.ZodString;
|
|
5
5
|
export declare const BridgeAmountSchema: z.ZodString;
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const BridgeIdempotencyKeySchema: z.ZodString;
|
|
7
|
+
export declare const BridgeOperationTypeSchema: z.ZodEnum<["cross_chain_wow_to_evm", "cross_chain_evm_to_wow", "claim_wow_to_evm", "resume_transfer", "withdraw", "query_active_evm_account", "query_supported_evm_chains", "query_supported_tokens", "query_transfer_list", "query_transfer_status", "manage_evm_rpc"]>;
|
|
7
8
|
export declare const BridgeWowToEvmDataSchema: z.ZodObject<{
|
|
8
9
|
token: z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>;
|
|
9
10
|
amount: z.ZodString;
|
|
10
11
|
withdrawTo: z.ZodOptional<z.ZodString>;
|
|
12
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
13
|
+
idempotentByParams: z.ZodOptional<z.ZodBoolean>;
|
|
11
14
|
}, "strict", z.ZodTypeAny, {
|
|
12
15
|
amount: string;
|
|
13
16
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
14
17
|
withdrawTo?: string | undefined;
|
|
18
|
+
idempotencyKey?: string | undefined;
|
|
19
|
+
idempotentByParams?: boolean | undefined;
|
|
15
20
|
}, {
|
|
16
21
|
amount: string;
|
|
17
22
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
18
23
|
withdrawTo?: string | undefined;
|
|
24
|
+
idempotencyKey?: string | undefined;
|
|
25
|
+
idempotentByParams?: boolean | undefined;
|
|
19
26
|
}>;
|
|
20
27
|
export declare const BridgeEvmToWowDataSchema: z.ZodObject<{
|
|
21
28
|
token: z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>;
|
|
22
29
|
amount: z.ZodString;
|
|
23
30
|
recipientWowAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
31
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
32
|
+
idempotentByParams: z.ZodOptional<z.ZodBoolean>;
|
|
24
33
|
}, "strict", z.ZodTypeAny, {
|
|
25
34
|
amount: string;
|
|
26
35
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
36
|
+
idempotencyKey?: string | undefined;
|
|
37
|
+
idempotentByParams?: boolean | undefined;
|
|
27
38
|
recipientWowAddress?: string | undefined;
|
|
28
39
|
}, {
|
|
29
40
|
amount: string;
|
|
30
41
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
42
|
+
idempotencyKey?: string | undefined;
|
|
43
|
+
idempotentByParams?: boolean | undefined;
|
|
31
44
|
recipientWowAddress?: string | undefined;
|
|
32
45
|
}>;
|
|
33
46
|
export declare const BridgeClaimWowToEvmDataSchema: z.ZodObject<{
|
|
@@ -37,6 +50,13 @@ export declare const BridgeClaimWowToEvmDataSchema: z.ZodObject<{
|
|
|
37
50
|
}, {
|
|
38
51
|
transferId: string;
|
|
39
52
|
}>;
|
|
53
|
+
export declare const BridgeResumeTransferDataSchema: z.ZodObject<{
|
|
54
|
+
transferId: z.ZodString;
|
|
55
|
+
}, "strict", z.ZodTypeAny, {
|
|
56
|
+
transferId: string;
|
|
57
|
+
}, {
|
|
58
|
+
transferId: string;
|
|
59
|
+
}>;
|
|
40
60
|
export declare const BridgeWithdrawDataSchema: z.ZodObject<{
|
|
41
61
|
to: z.ZodString;
|
|
42
62
|
amount: z.ZodString;
|
|
@@ -80,13 +100,13 @@ export declare const BridgeQueryTransferListDataSchema: z.ZodObject<{
|
|
|
80
100
|
token: z.ZodOptional<z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>>;
|
|
81
101
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
82
102
|
}, "strict", z.ZodTypeAny, {
|
|
83
|
-
status?: "success" | "
|
|
103
|
+
status?: "success" | "in_progress" | "failed" | "pending" | undefined;
|
|
84
104
|
limit?: number | undefined;
|
|
85
105
|
token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
|
|
86
106
|
onlyActive?: boolean | undefined;
|
|
87
107
|
direction?: "withdraw" | "wow_to_evm" | "evm_to_wow" | undefined;
|
|
88
108
|
}, {
|
|
89
|
-
status?: "success" | "
|
|
109
|
+
status?: "success" | "in_progress" | "failed" | "pending" | undefined;
|
|
90
110
|
limit?: number | undefined;
|
|
91
111
|
token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
|
|
92
112
|
onlyActive?: boolean | undefined;
|
|
@@ -166,14 +186,20 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
166
186
|
token: z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>;
|
|
167
187
|
amount: z.ZodString;
|
|
168
188
|
withdrawTo: z.ZodOptional<z.ZodString>;
|
|
189
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
190
|
+
idempotentByParams: z.ZodOptional<z.ZodBoolean>;
|
|
169
191
|
}, "strict", z.ZodTypeAny, {
|
|
170
192
|
amount: string;
|
|
171
193
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
172
194
|
withdrawTo?: string | undefined;
|
|
195
|
+
idempotencyKey?: string | undefined;
|
|
196
|
+
idempotentByParams?: boolean | undefined;
|
|
173
197
|
}, {
|
|
174
198
|
amount: string;
|
|
175
199
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
176
200
|
withdrawTo?: string | undefined;
|
|
201
|
+
idempotencyKey?: string | undefined;
|
|
202
|
+
idempotentByParams?: boolean | undefined;
|
|
177
203
|
}>;
|
|
178
204
|
env: z.ZodOptional<z.ZodObject<{
|
|
179
205
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
@@ -181,24 +207,41 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
181
207
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
182
208
|
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
|
|
183
209
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
210
|
+
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
211
|
+
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
212
|
+
project: z.ZodOptional<z.ZodString>;
|
|
213
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
214
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
184
215
|
}, "strict", z.ZodTypeAny, {
|
|
185
216
|
account: string;
|
|
186
217
|
no_cache?: boolean | undefined;
|
|
187
218
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
188
219
|
permission_guard?: string[] | undefined;
|
|
189
220
|
referrer?: string | undefined;
|
|
221
|
+
confirmed?: boolean | undefined;
|
|
222
|
+
user_intent_phrases?: string[] | undefined;
|
|
223
|
+
project?: string | undefined;
|
|
224
|
+
client_schema_version?: string | undefined;
|
|
225
|
+
schema_strict_mode?: boolean | undefined;
|
|
190
226
|
}, {
|
|
191
227
|
no_cache?: boolean | undefined;
|
|
192
228
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
193
229
|
account?: string | undefined;
|
|
194
230
|
permission_guard?: string[] | undefined;
|
|
195
231
|
referrer?: string | undefined;
|
|
232
|
+
confirmed?: boolean | undefined;
|
|
233
|
+
user_intent_phrases?: string[] | undefined;
|
|
234
|
+
project?: string | undefined;
|
|
235
|
+
client_schema_version?: string | undefined;
|
|
236
|
+
schema_strict_mode?: boolean | undefined;
|
|
196
237
|
}>>;
|
|
197
238
|
}, "strip", z.ZodTypeAny, {
|
|
198
239
|
data: {
|
|
199
240
|
amount: string;
|
|
200
241
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
201
242
|
withdrawTo?: string | undefined;
|
|
243
|
+
idempotencyKey?: string | undefined;
|
|
244
|
+
idempotentByParams?: boolean | undefined;
|
|
202
245
|
};
|
|
203
246
|
operation_type: "cross_chain_wow_to_evm";
|
|
204
247
|
env?: {
|
|
@@ -207,12 +250,19 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
207
250
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
208
251
|
permission_guard?: string[] | undefined;
|
|
209
252
|
referrer?: string | undefined;
|
|
253
|
+
confirmed?: boolean | undefined;
|
|
254
|
+
user_intent_phrases?: string[] | undefined;
|
|
255
|
+
project?: string | undefined;
|
|
256
|
+
client_schema_version?: string | undefined;
|
|
257
|
+
schema_strict_mode?: boolean | undefined;
|
|
210
258
|
} | undefined;
|
|
211
259
|
}, {
|
|
212
260
|
data: {
|
|
213
261
|
amount: string;
|
|
214
262
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
215
263
|
withdrawTo?: string | undefined;
|
|
264
|
+
idempotencyKey?: string | undefined;
|
|
265
|
+
idempotentByParams?: boolean | undefined;
|
|
216
266
|
};
|
|
217
267
|
operation_type: "cross_chain_wow_to_evm";
|
|
218
268
|
env?: {
|
|
@@ -221,6 +271,11 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
221
271
|
account?: string | undefined;
|
|
222
272
|
permission_guard?: string[] | undefined;
|
|
223
273
|
referrer?: string | undefined;
|
|
274
|
+
confirmed?: boolean | undefined;
|
|
275
|
+
user_intent_phrases?: string[] | undefined;
|
|
276
|
+
project?: string | undefined;
|
|
277
|
+
client_schema_version?: string | undefined;
|
|
278
|
+
schema_strict_mode?: boolean | undefined;
|
|
224
279
|
} | undefined;
|
|
225
280
|
}>, z.ZodObject<{
|
|
226
281
|
operation_type: z.ZodLiteral<"cross_chain_evm_to_wow">;
|
|
@@ -228,13 +283,19 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
228
283
|
token: z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>;
|
|
229
284
|
amount: z.ZodString;
|
|
230
285
|
recipientWowAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
286
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
287
|
+
idempotentByParams: z.ZodOptional<z.ZodBoolean>;
|
|
231
288
|
}, "strict", z.ZodTypeAny, {
|
|
232
289
|
amount: string;
|
|
233
290
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
291
|
+
idempotencyKey?: string | undefined;
|
|
292
|
+
idempotentByParams?: boolean | undefined;
|
|
234
293
|
recipientWowAddress?: string | undefined;
|
|
235
294
|
}, {
|
|
236
295
|
amount: string;
|
|
237
296
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
297
|
+
idempotencyKey?: string | undefined;
|
|
298
|
+
idempotentByParams?: boolean | undefined;
|
|
238
299
|
recipientWowAddress?: string | undefined;
|
|
239
300
|
}>;
|
|
240
301
|
env: z.ZodOptional<z.ZodObject<{
|
|
@@ -243,23 +304,40 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
243
304
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
244
305
|
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
|
|
245
306
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
307
|
+
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
308
|
+
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
309
|
+
project: z.ZodOptional<z.ZodString>;
|
|
310
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
311
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
246
312
|
}, "strict", z.ZodTypeAny, {
|
|
247
313
|
account: string;
|
|
248
314
|
no_cache?: boolean | undefined;
|
|
249
315
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
250
316
|
permission_guard?: string[] | undefined;
|
|
251
317
|
referrer?: string | undefined;
|
|
318
|
+
confirmed?: boolean | undefined;
|
|
319
|
+
user_intent_phrases?: string[] | undefined;
|
|
320
|
+
project?: string | undefined;
|
|
321
|
+
client_schema_version?: string | undefined;
|
|
322
|
+
schema_strict_mode?: boolean | undefined;
|
|
252
323
|
}, {
|
|
253
324
|
no_cache?: boolean | undefined;
|
|
254
325
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
255
326
|
account?: string | undefined;
|
|
256
327
|
permission_guard?: string[] | undefined;
|
|
257
328
|
referrer?: string | undefined;
|
|
329
|
+
confirmed?: boolean | undefined;
|
|
330
|
+
user_intent_phrases?: string[] | undefined;
|
|
331
|
+
project?: string | undefined;
|
|
332
|
+
client_schema_version?: string | undefined;
|
|
333
|
+
schema_strict_mode?: boolean | undefined;
|
|
258
334
|
}>>;
|
|
259
335
|
}, "strip", z.ZodTypeAny, {
|
|
260
336
|
data: {
|
|
261
337
|
amount: string;
|
|
262
338
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
339
|
+
idempotencyKey?: string | undefined;
|
|
340
|
+
idempotentByParams?: boolean | undefined;
|
|
263
341
|
recipientWowAddress?: string | undefined;
|
|
264
342
|
};
|
|
265
343
|
operation_type: "cross_chain_evm_to_wow";
|
|
@@ -269,11 +347,18 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
269
347
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
270
348
|
permission_guard?: string[] | undefined;
|
|
271
349
|
referrer?: string | undefined;
|
|
350
|
+
confirmed?: boolean | undefined;
|
|
351
|
+
user_intent_phrases?: string[] | undefined;
|
|
352
|
+
project?: string | undefined;
|
|
353
|
+
client_schema_version?: string | undefined;
|
|
354
|
+
schema_strict_mode?: boolean | undefined;
|
|
272
355
|
} | undefined;
|
|
273
356
|
}, {
|
|
274
357
|
data: {
|
|
275
358
|
amount: string;
|
|
276
359
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
360
|
+
idempotencyKey?: string | undefined;
|
|
361
|
+
idempotentByParams?: boolean | undefined;
|
|
277
362
|
recipientWowAddress?: string | undefined;
|
|
278
363
|
};
|
|
279
364
|
operation_type: "cross_chain_evm_to_wow";
|
|
@@ -283,6 +368,11 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
283
368
|
account?: string | undefined;
|
|
284
369
|
permission_guard?: string[] | undefined;
|
|
285
370
|
referrer?: string | undefined;
|
|
371
|
+
confirmed?: boolean | undefined;
|
|
372
|
+
user_intent_phrases?: string[] | undefined;
|
|
373
|
+
project?: string | undefined;
|
|
374
|
+
client_schema_version?: string | undefined;
|
|
375
|
+
schema_strict_mode?: boolean | undefined;
|
|
286
376
|
} | undefined;
|
|
287
377
|
}>, z.ZodObject<{
|
|
288
378
|
operation_type: z.ZodLiteral<"claim_wow_to_evm">;
|
|
@@ -299,18 +389,33 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
299
389
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
300
390
|
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
|
|
301
391
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
392
|
+
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
393
|
+
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
394
|
+
project: z.ZodOptional<z.ZodString>;
|
|
395
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
396
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
302
397
|
}, "strict", z.ZodTypeAny, {
|
|
303
398
|
account: string;
|
|
304
399
|
no_cache?: boolean | undefined;
|
|
305
400
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
306
401
|
permission_guard?: string[] | undefined;
|
|
307
402
|
referrer?: string | undefined;
|
|
403
|
+
confirmed?: boolean | undefined;
|
|
404
|
+
user_intent_phrases?: string[] | undefined;
|
|
405
|
+
project?: string | undefined;
|
|
406
|
+
client_schema_version?: string | undefined;
|
|
407
|
+
schema_strict_mode?: boolean | undefined;
|
|
308
408
|
}, {
|
|
309
409
|
no_cache?: boolean | undefined;
|
|
310
410
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
311
411
|
account?: string | undefined;
|
|
312
412
|
permission_guard?: string[] | undefined;
|
|
313
413
|
referrer?: string | undefined;
|
|
414
|
+
confirmed?: boolean | undefined;
|
|
415
|
+
user_intent_phrases?: string[] | undefined;
|
|
416
|
+
project?: string | undefined;
|
|
417
|
+
client_schema_version?: string | undefined;
|
|
418
|
+
schema_strict_mode?: boolean | undefined;
|
|
314
419
|
}>>;
|
|
315
420
|
}, "strip", z.ZodTypeAny, {
|
|
316
421
|
data: {
|
|
@@ -323,6 +428,11 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
323
428
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
324
429
|
permission_guard?: string[] | undefined;
|
|
325
430
|
referrer?: string | undefined;
|
|
431
|
+
confirmed?: boolean | undefined;
|
|
432
|
+
user_intent_phrases?: string[] | undefined;
|
|
433
|
+
project?: string | undefined;
|
|
434
|
+
client_schema_version?: string | undefined;
|
|
435
|
+
schema_strict_mode?: boolean | undefined;
|
|
326
436
|
} | undefined;
|
|
327
437
|
}, {
|
|
328
438
|
data: {
|
|
@@ -335,6 +445,88 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
335
445
|
account?: string | undefined;
|
|
336
446
|
permission_guard?: string[] | undefined;
|
|
337
447
|
referrer?: string | undefined;
|
|
448
|
+
confirmed?: boolean | undefined;
|
|
449
|
+
user_intent_phrases?: string[] | undefined;
|
|
450
|
+
project?: string | undefined;
|
|
451
|
+
client_schema_version?: string | undefined;
|
|
452
|
+
schema_strict_mode?: boolean | undefined;
|
|
453
|
+
} | undefined;
|
|
454
|
+
}>, z.ZodObject<{
|
|
455
|
+
operation_type: z.ZodLiteral<"resume_transfer">;
|
|
456
|
+
data: z.ZodObject<{
|
|
457
|
+
transferId: z.ZodString;
|
|
458
|
+
}, "strict", z.ZodTypeAny, {
|
|
459
|
+
transferId: string;
|
|
460
|
+
}, {
|
|
461
|
+
transferId: string;
|
|
462
|
+
}>;
|
|
463
|
+
env: z.ZodOptional<z.ZodObject<{
|
|
464
|
+
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
465
|
+
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
466
|
+
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
467
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
|
|
468
|
+
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
469
|
+
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
470
|
+
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
471
|
+
project: z.ZodOptional<z.ZodString>;
|
|
472
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
473
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
474
|
+
}, "strict", z.ZodTypeAny, {
|
|
475
|
+
account: string;
|
|
476
|
+
no_cache?: boolean | undefined;
|
|
477
|
+
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
478
|
+
permission_guard?: string[] | undefined;
|
|
479
|
+
referrer?: string | undefined;
|
|
480
|
+
confirmed?: boolean | undefined;
|
|
481
|
+
user_intent_phrases?: string[] | undefined;
|
|
482
|
+
project?: string | undefined;
|
|
483
|
+
client_schema_version?: string | undefined;
|
|
484
|
+
schema_strict_mode?: boolean | undefined;
|
|
485
|
+
}, {
|
|
486
|
+
no_cache?: boolean | undefined;
|
|
487
|
+
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
488
|
+
account?: string | undefined;
|
|
489
|
+
permission_guard?: string[] | undefined;
|
|
490
|
+
referrer?: string | undefined;
|
|
491
|
+
confirmed?: boolean | undefined;
|
|
492
|
+
user_intent_phrases?: string[] | undefined;
|
|
493
|
+
project?: string | undefined;
|
|
494
|
+
client_schema_version?: string | undefined;
|
|
495
|
+
schema_strict_mode?: boolean | undefined;
|
|
496
|
+
}>>;
|
|
497
|
+
}, "strip", z.ZodTypeAny, {
|
|
498
|
+
data: {
|
|
499
|
+
transferId: string;
|
|
500
|
+
};
|
|
501
|
+
operation_type: "resume_transfer";
|
|
502
|
+
env?: {
|
|
503
|
+
account: string;
|
|
504
|
+
no_cache?: boolean | undefined;
|
|
505
|
+
network?: import("@wowok/wowok").ENTRYPOINT | 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
|
+
} | undefined;
|
|
514
|
+
}, {
|
|
515
|
+
data: {
|
|
516
|
+
transferId: string;
|
|
517
|
+
};
|
|
518
|
+
operation_type: "resume_transfer";
|
|
519
|
+
env?: {
|
|
520
|
+
no_cache?: boolean | undefined;
|
|
521
|
+
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
522
|
+
account?: string | undefined;
|
|
523
|
+
permission_guard?: string[] | undefined;
|
|
524
|
+
referrer?: string | undefined;
|
|
525
|
+
confirmed?: boolean | undefined;
|
|
526
|
+
user_intent_phrases?: string[] | undefined;
|
|
527
|
+
project?: string | undefined;
|
|
528
|
+
client_schema_version?: string | undefined;
|
|
529
|
+
schema_strict_mode?: boolean | undefined;
|
|
338
530
|
} | undefined;
|
|
339
531
|
}>, z.ZodObject<{
|
|
340
532
|
operation_type: z.ZodLiteral<"withdraw">;
|
|
@@ -433,13 +625,13 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
433
625
|
token: z.ZodOptional<z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>>;
|
|
434
626
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
435
627
|
}, "strict", z.ZodTypeAny, {
|
|
436
|
-
status?: "success" | "
|
|
628
|
+
status?: "success" | "in_progress" | "failed" | "pending" | undefined;
|
|
437
629
|
limit?: number | undefined;
|
|
438
630
|
token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
|
|
439
631
|
onlyActive?: boolean | undefined;
|
|
440
632
|
direction?: "withdraw" | "wow_to_evm" | "evm_to_wow" | undefined;
|
|
441
633
|
}, {
|
|
442
|
-
status?: "success" | "
|
|
634
|
+
status?: "success" | "in_progress" | "failed" | "pending" | undefined;
|
|
443
635
|
limit?: number | undefined;
|
|
444
636
|
token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
|
|
445
637
|
onlyActive?: boolean | undefined;
|
|
@@ -448,7 +640,7 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
448
640
|
}, "strip", z.ZodTypeAny, {
|
|
449
641
|
operation_type: "query_transfer_list";
|
|
450
642
|
data?: {
|
|
451
|
-
status?: "success" | "
|
|
643
|
+
status?: "success" | "in_progress" | "failed" | "pending" | undefined;
|
|
452
644
|
limit?: number | undefined;
|
|
453
645
|
token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
|
|
454
646
|
onlyActive?: boolean | undefined;
|
|
@@ -457,7 +649,7 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
457
649
|
}, {
|
|
458
650
|
operation_type: "query_transfer_list";
|
|
459
651
|
data?: {
|
|
460
|
-
status?: "success" | "
|
|
652
|
+
status?: "success" | "in_progress" | "failed" | "pending" | undefined;
|
|
461
653
|
limit?: number | undefined;
|
|
462
654
|
token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
|
|
463
655
|
onlyActive?: boolean | undefined;
|
|
@@ -596,6 +788,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
596
788
|
amount: string;
|
|
597
789
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
598
790
|
withdrawTo?: string | undefined;
|
|
791
|
+
idempotencyKey?: string | undefined;
|
|
792
|
+
idempotentByParams?: boolean | undefined;
|
|
599
793
|
};
|
|
600
794
|
operation_type: "cross_chain_wow_to_evm";
|
|
601
795
|
env?: {
|
|
@@ -604,11 +798,18 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
604
798
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
605
799
|
permission_guard?: string[] | undefined;
|
|
606
800
|
referrer?: string | undefined;
|
|
801
|
+
confirmed?: boolean | undefined;
|
|
802
|
+
user_intent_phrases?: string[] | undefined;
|
|
803
|
+
project?: string | undefined;
|
|
804
|
+
client_schema_version?: string | undefined;
|
|
805
|
+
schema_strict_mode?: boolean | undefined;
|
|
607
806
|
} | undefined;
|
|
608
807
|
} | {
|
|
609
808
|
data: {
|
|
610
809
|
amount: string;
|
|
611
810
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
811
|
+
idempotencyKey?: string | undefined;
|
|
812
|
+
idempotentByParams?: boolean | undefined;
|
|
612
813
|
recipientWowAddress?: string | undefined;
|
|
613
814
|
};
|
|
614
815
|
operation_type: "cross_chain_evm_to_wow";
|
|
@@ -618,6 +819,11 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
618
819
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
619
820
|
permission_guard?: string[] | undefined;
|
|
620
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
|
+
schema_strict_mode?: boolean | undefined;
|
|
621
827
|
} | undefined;
|
|
622
828
|
} | {
|
|
623
829
|
data: {
|
|
@@ -630,6 +836,28 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
630
836
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
631
837
|
permission_guard?: string[] | undefined;
|
|
632
838
|
referrer?: string | undefined;
|
|
839
|
+
confirmed?: boolean | undefined;
|
|
840
|
+
user_intent_phrases?: string[] | undefined;
|
|
841
|
+
project?: string | undefined;
|
|
842
|
+
client_schema_version?: string | undefined;
|
|
843
|
+
schema_strict_mode?: boolean | undefined;
|
|
844
|
+
} | undefined;
|
|
845
|
+
} | {
|
|
846
|
+
data: {
|
|
847
|
+
transferId: string;
|
|
848
|
+
};
|
|
849
|
+
operation_type: "resume_transfer";
|
|
850
|
+
env?: {
|
|
851
|
+
account: string;
|
|
852
|
+
no_cache?: boolean | undefined;
|
|
853
|
+
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
854
|
+
permission_guard?: string[] | undefined;
|
|
855
|
+
referrer?: string | undefined;
|
|
856
|
+
confirmed?: boolean | undefined;
|
|
857
|
+
user_intent_phrases?: string[] | undefined;
|
|
858
|
+
project?: string | undefined;
|
|
859
|
+
client_schema_version?: string | undefined;
|
|
860
|
+
schema_strict_mode?: boolean | undefined;
|
|
633
861
|
} | undefined;
|
|
634
862
|
} | {
|
|
635
863
|
data: {
|
|
@@ -656,7 +884,7 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
656
884
|
} | {
|
|
657
885
|
operation_type: "query_transfer_list";
|
|
658
886
|
data?: {
|
|
659
|
-
status?: "success" | "
|
|
887
|
+
status?: "success" | "in_progress" | "failed" | "pending" | undefined;
|
|
660
888
|
limit?: number | undefined;
|
|
661
889
|
token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
|
|
662
890
|
onlyActive?: boolean | undefined;
|
|
@@ -707,7 +935,7 @@ export declare const BridgeLatestStateSchema: z.ZodObject<{
|
|
|
707
935
|
hint: z.ZodOptional<z.ZodString>;
|
|
708
936
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
709
937
|
}, "strip", z.ZodTypeAny, {
|
|
710
|
-
status: "
|
|
938
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
711
939
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
712
940
|
error?: string | undefined;
|
|
713
941
|
updatedAt?: number | undefined;
|
|
@@ -722,7 +950,7 @@ export declare const BridgeLatestStateSchema: z.ZodObject<{
|
|
|
722
950
|
wowReceipt?: any;
|
|
723
951
|
hint?: string | undefined;
|
|
724
952
|
}, {
|
|
725
|
-
status: "
|
|
953
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
726
954
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
727
955
|
error?: string | undefined;
|
|
728
956
|
updatedAt?: number | undefined;
|
|
@@ -745,6 +973,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
|
|
|
745
973
|
recipientEth: z.ZodOptional<z.ZodString>;
|
|
746
974
|
recipientWow: z.ZodOptional<z.ZodString>;
|
|
747
975
|
intermediateEthAccount: z.ZodString;
|
|
976
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
748
977
|
step: z.ZodEnum<["init", "deposit", "claimed", "withdraw", "withdrawn"]>;
|
|
749
978
|
status: z.ZodEnum<["pending", "in_progress", "success", "failed"]>;
|
|
750
979
|
depositTxHash: z.ZodOptional<z.ZodString>;
|
|
@@ -772,7 +1001,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
|
|
|
772
1001
|
hint: z.ZodOptional<z.ZodString>;
|
|
773
1002
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
774
1003
|
}, "strip", z.ZodTypeAny, {
|
|
775
|
-
status: "
|
|
1004
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
776
1005
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
777
1006
|
error?: string | undefined;
|
|
778
1007
|
updatedAt?: number | undefined;
|
|
@@ -787,7 +1016,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
|
|
|
787
1016
|
wowReceipt?: any;
|
|
788
1017
|
hint?: string | undefined;
|
|
789
1018
|
}, {
|
|
790
|
-
status: "
|
|
1019
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
791
1020
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
792
1021
|
error?: string | undefined;
|
|
793
1022
|
updatedAt?: number | undefined;
|
|
@@ -803,7 +1032,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
|
|
|
803
1032
|
hint?: string | undefined;
|
|
804
1033
|
}>>;
|
|
805
1034
|
}, "strict", z.ZodTypeAny, {
|
|
806
|
-
status: "success" | "
|
|
1035
|
+
status: "success" | "in_progress" | "failed" | "pending";
|
|
807
1036
|
amount: string;
|
|
808
1037
|
createdAt: number;
|
|
809
1038
|
updatedAt: number;
|
|
@@ -813,6 +1042,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
|
|
|
813
1042
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
814
1043
|
intermediateEthAccount: string;
|
|
815
1044
|
error?: string | undefined;
|
|
1045
|
+
idempotencyKey?: string | undefined;
|
|
816
1046
|
bridgeSeq?: string | undefined;
|
|
817
1047
|
claimTxDigest?: string | undefined;
|
|
818
1048
|
recipientEth?: string | undefined;
|
|
@@ -822,7 +1052,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
|
|
|
822
1052
|
claimTxHash?: string | undefined;
|
|
823
1053
|
withdrawTxHash?: string | undefined;
|
|
824
1054
|
latestState?: {
|
|
825
|
-
status: "
|
|
1055
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
826
1056
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
827
1057
|
error?: string | undefined;
|
|
828
1058
|
updatedAt?: number | undefined;
|
|
@@ -838,7 +1068,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
|
|
|
838
1068
|
hint?: string | undefined;
|
|
839
1069
|
} | undefined;
|
|
840
1070
|
}, {
|
|
841
|
-
status: "success" | "
|
|
1071
|
+
status: "success" | "in_progress" | "failed" | "pending";
|
|
842
1072
|
amount: string;
|
|
843
1073
|
createdAt: number;
|
|
844
1074
|
updatedAt: number;
|
|
@@ -848,6 +1078,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
|
|
|
848
1078
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
849
1079
|
intermediateEthAccount: string;
|
|
850
1080
|
error?: string | undefined;
|
|
1081
|
+
idempotencyKey?: string | undefined;
|
|
851
1082
|
bridgeSeq?: string | undefined;
|
|
852
1083
|
claimTxDigest?: string | undefined;
|
|
853
1084
|
recipientEth?: string | undefined;
|
|
@@ -857,7 +1088,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
|
|
|
857
1088
|
claimTxHash?: string | undefined;
|
|
858
1089
|
withdrawTxHash?: string | undefined;
|
|
859
1090
|
latestState?: {
|
|
860
|
-
status: "
|
|
1091
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
861
1092
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
862
1093
|
error?: string | undefined;
|
|
863
1094
|
updatedAt?: number | undefined;
|
|
@@ -878,29 +1109,41 @@ export declare const BridgeWowToEvmResultSchema: z.ZodObject<{
|
|
|
878
1109
|
bridgeSeq: z.ZodString;
|
|
879
1110
|
activeEvmAccount: z.ZodString;
|
|
880
1111
|
transferId: z.ZodString;
|
|
1112
|
+
idempotentHit: z.ZodOptional<z.ZodBoolean>;
|
|
1113
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
881
1114
|
}, "strict", z.ZodTypeAny, {
|
|
882
1115
|
transferId: string;
|
|
883
1116
|
bridgeSeq: string;
|
|
884
1117
|
depositTxDigest: string;
|
|
885
1118
|
activeEvmAccount: string;
|
|
1119
|
+
idempotencyKey?: string | undefined;
|
|
1120
|
+
idempotentHit?: boolean | undefined;
|
|
886
1121
|
}, {
|
|
887
1122
|
transferId: string;
|
|
888
1123
|
bridgeSeq: string;
|
|
889
1124
|
depositTxDigest: string;
|
|
890
1125
|
activeEvmAccount: string;
|
|
1126
|
+
idempotencyKey?: string | undefined;
|
|
1127
|
+
idempotentHit?: boolean | undefined;
|
|
891
1128
|
}>;
|
|
892
1129
|
export declare const BridgeEvmToWowResultSchema: z.ZodObject<{
|
|
893
1130
|
depositTxHash: z.ZodString;
|
|
894
1131
|
activeEvmAccount: z.ZodString;
|
|
895
1132
|
transferId: z.ZodString;
|
|
1133
|
+
idempotentHit: z.ZodOptional<z.ZodBoolean>;
|
|
1134
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
896
1135
|
}, "strict", z.ZodTypeAny, {
|
|
897
1136
|
transferId: string;
|
|
898
1137
|
depositTxHash: string;
|
|
899
1138
|
activeEvmAccount: string;
|
|
1139
|
+
idempotencyKey?: string | undefined;
|
|
1140
|
+
idempotentHit?: boolean | undefined;
|
|
900
1141
|
}, {
|
|
901
1142
|
transferId: string;
|
|
902
1143
|
depositTxHash: string;
|
|
903
1144
|
activeEvmAccount: string;
|
|
1145
|
+
idempotencyKey?: string | undefined;
|
|
1146
|
+
idempotentHit?: boolean | undefined;
|
|
904
1147
|
}>;
|
|
905
1148
|
export declare const BridgeClaimWowToEvmResultSchema: z.ZodObject<{
|
|
906
1149
|
claimTxHash: z.ZodString;
|
|
@@ -1067,6 +1310,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
|
|
|
1067
1310
|
recipientEth: z.ZodOptional<z.ZodString>;
|
|
1068
1311
|
recipientWow: z.ZodOptional<z.ZodString>;
|
|
1069
1312
|
intermediateEthAccount: z.ZodString;
|
|
1313
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1070
1314
|
step: z.ZodEnum<["init", "deposit", "claimed", "withdraw", "withdrawn"]>;
|
|
1071
1315
|
status: z.ZodEnum<["pending", "in_progress", "success", "failed"]>;
|
|
1072
1316
|
depositTxHash: z.ZodOptional<z.ZodString>;
|
|
@@ -1094,7 +1338,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
|
|
|
1094
1338
|
hint: z.ZodOptional<z.ZodString>;
|
|
1095
1339
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
1096
1340
|
}, "strip", z.ZodTypeAny, {
|
|
1097
|
-
status: "
|
|
1341
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1098
1342
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1099
1343
|
error?: string | undefined;
|
|
1100
1344
|
updatedAt?: number | undefined;
|
|
@@ -1109,7 +1353,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
|
|
|
1109
1353
|
wowReceipt?: any;
|
|
1110
1354
|
hint?: string | undefined;
|
|
1111
1355
|
}, {
|
|
1112
|
-
status: "
|
|
1356
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1113
1357
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1114
1358
|
error?: string | undefined;
|
|
1115
1359
|
updatedAt?: number | undefined;
|
|
@@ -1125,7 +1369,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
|
|
|
1125
1369
|
hint?: string | undefined;
|
|
1126
1370
|
}>>;
|
|
1127
1371
|
}, "strict", z.ZodTypeAny, {
|
|
1128
|
-
status: "success" | "
|
|
1372
|
+
status: "success" | "in_progress" | "failed" | "pending";
|
|
1129
1373
|
amount: string;
|
|
1130
1374
|
createdAt: number;
|
|
1131
1375
|
updatedAt: number;
|
|
@@ -1135,6 +1379,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
|
|
|
1135
1379
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1136
1380
|
intermediateEthAccount: string;
|
|
1137
1381
|
error?: string | undefined;
|
|
1382
|
+
idempotencyKey?: string | undefined;
|
|
1138
1383
|
bridgeSeq?: string | undefined;
|
|
1139
1384
|
claimTxDigest?: string | undefined;
|
|
1140
1385
|
recipientEth?: string | undefined;
|
|
@@ -1144,7 +1389,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
|
|
|
1144
1389
|
claimTxHash?: string | undefined;
|
|
1145
1390
|
withdrawTxHash?: string | undefined;
|
|
1146
1391
|
latestState?: {
|
|
1147
|
-
status: "
|
|
1392
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1148
1393
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1149
1394
|
error?: string | undefined;
|
|
1150
1395
|
updatedAt?: number | undefined;
|
|
@@ -1160,7 +1405,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
|
|
|
1160
1405
|
hint?: string | undefined;
|
|
1161
1406
|
} | undefined;
|
|
1162
1407
|
}, {
|
|
1163
|
-
status: "success" | "
|
|
1408
|
+
status: "success" | "in_progress" | "failed" | "pending";
|
|
1164
1409
|
amount: string;
|
|
1165
1410
|
createdAt: number;
|
|
1166
1411
|
updatedAt: number;
|
|
@@ -1170,6 +1415,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
|
|
|
1170
1415
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1171
1416
|
intermediateEthAccount: string;
|
|
1172
1417
|
error?: string | undefined;
|
|
1418
|
+
idempotencyKey?: string | undefined;
|
|
1173
1419
|
bridgeSeq?: string | undefined;
|
|
1174
1420
|
claimTxDigest?: string | undefined;
|
|
1175
1421
|
recipientEth?: string | undefined;
|
|
@@ -1179,7 +1425,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
|
|
|
1179
1425
|
claimTxHash?: string | undefined;
|
|
1180
1426
|
withdrawTxHash?: string | undefined;
|
|
1181
1427
|
latestState?: {
|
|
1182
|
-
status: "
|
|
1428
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1183
1429
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1184
1430
|
error?: string | undefined;
|
|
1185
1431
|
updatedAt?: number | undefined;
|
|
@@ -1203,6 +1449,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
|
|
|
1203
1449
|
recipientEth: z.ZodOptional<z.ZodString>;
|
|
1204
1450
|
recipientWow: z.ZodOptional<z.ZodString>;
|
|
1205
1451
|
intermediateEthAccount: z.ZodString;
|
|
1452
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1206
1453
|
step: z.ZodEnum<["init", "deposit", "claimed", "withdraw", "withdrawn"]>;
|
|
1207
1454
|
status: z.ZodEnum<["pending", "in_progress", "success", "failed"]>;
|
|
1208
1455
|
depositTxHash: z.ZodOptional<z.ZodString>;
|
|
@@ -1230,7 +1477,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
|
|
|
1230
1477
|
hint: z.ZodOptional<z.ZodString>;
|
|
1231
1478
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
1232
1479
|
}, "strip", z.ZodTypeAny, {
|
|
1233
|
-
status: "
|
|
1480
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1234
1481
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1235
1482
|
error?: string | undefined;
|
|
1236
1483
|
updatedAt?: number | undefined;
|
|
@@ -1245,7 +1492,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
|
|
|
1245
1492
|
wowReceipt?: any;
|
|
1246
1493
|
hint?: string | undefined;
|
|
1247
1494
|
}, {
|
|
1248
|
-
status: "
|
|
1495
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1249
1496
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1250
1497
|
error?: string | undefined;
|
|
1251
1498
|
updatedAt?: number | undefined;
|
|
@@ -1261,7 +1508,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
|
|
|
1261
1508
|
hint?: string | undefined;
|
|
1262
1509
|
}>>;
|
|
1263
1510
|
}, "strict", z.ZodTypeAny, {
|
|
1264
|
-
status: "success" | "
|
|
1511
|
+
status: "success" | "in_progress" | "failed" | "pending";
|
|
1265
1512
|
amount: string;
|
|
1266
1513
|
createdAt: number;
|
|
1267
1514
|
updatedAt: number;
|
|
@@ -1271,6 +1518,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
|
|
|
1271
1518
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1272
1519
|
intermediateEthAccount: string;
|
|
1273
1520
|
error?: string | undefined;
|
|
1521
|
+
idempotencyKey?: string | undefined;
|
|
1274
1522
|
bridgeSeq?: string | undefined;
|
|
1275
1523
|
claimTxDigest?: string | undefined;
|
|
1276
1524
|
recipientEth?: string | undefined;
|
|
@@ -1280,7 +1528,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
|
|
|
1280
1528
|
claimTxHash?: string | undefined;
|
|
1281
1529
|
withdrawTxHash?: string | undefined;
|
|
1282
1530
|
latestState?: {
|
|
1283
|
-
status: "
|
|
1531
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1284
1532
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1285
1533
|
error?: string | undefined;
|
|
1286
1534
|
updatedAt?: number | undefined;
|
|
@@ -1296,7 +1544,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
|
|
|
1296
1544
|
hint?: string | undefined;
|
|
1297
1545
|
} | undefined;
|
|
1298
1546
|
}, {
|
|
1299
|
-
status: "success" | "
|
|
1547
|
+
status: "success" | "in_progress" | "failed" | "pending";
|
|
1300
1548
|
amount: string;
|
|
1301
1549
|
createdAt: number;
|
|
1302
1550
|
updatedAt: number;
|
|
@@ -1306,6 +1554,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
|
|
|
1306
1554
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1307
1555
|
intermediateEthAccount: string;
|
|
1308
1556
|
error?: string | undefined;
|
|
1557
|
+
idempotencyKey?: string | undefined;
|
|
1309
1558
|
bridgeSeq?: string | undefined;
|
|
1310
1559
|
claimTxDigest?: string | undefined;
|
|
1311
1560
|
recipientEth?: string | undefined;
|
|
@@ -1315,7 +1564,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
|
|
|
1315
1564
|
claimTxHash?: string | undefined;
|
|
1316
1565
|
withdrawTxHash?: string | undefined;
|
|
1317
1566
|
latestState?: {
|
|
1318
|
-
status: "
|
|
1567
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1319
1568
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1320
1569
|
error?: string | undefined;
|
|
1321
1570
|
updatedAt?: number | undefined;
|
|
@@ -1351,16 +1600,22 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1351
1600
|
bridgeSeq: z.ZodString;
|
|
1352
1601
|
activeEvmAccount: z.ZodString;
|
|
1353
1602
|
transferId: z.ZodString;
|
|
1603
|
+
idempotentHit: z.ZodOptional<z.ZodBoolean>;
|
|
1604
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1354
1605
|
}, "strict", z.ZodTypeAny, {
|
|
1355
1606
|
transferId: string;
|
|
1356
1607
|
bridgeSeq: string;
|
|
1357
1608
|
depositTxDigest: string;
|
|
1358
1609
|
activeEvmAccount: string;
|
|
1610
|
+
idempotencyKey?: string | undefined;
|
|
1611
|
+
idempotentHit?: boolean | undefined;
|
|
1359
1612
|
}, {
|
|
1360
1613
|
transferId: string;
|
|
1361
1614
|
bridgeSeq: string;
|
|
1362
1615
|
depositTxDigest: string;
|
|
1363
1616
|
activeEvmAccount: string;
|
|
1617
|
+
idempotencyKey?: string | undefined;
|
|
1618
|
+
idempotentHit?: boolean | undefined;
|
|
1364
1619
|
}>;
|
|
1365
1620
|
message: z.ZodOptional<z.ZodString>;
|
|
1366
1621
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1369,6 +1624,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1369
1624
|
bridgeSeq: string;
|
|
1370
1625
|
depositTxDigest: string;
|
|
1371
1626
|
activeEvmAccount: string;
|
|
1627
|
+
idempotencyKey?: string | undefined;
|
|
1628
|
+
idempotentHit?: boolean | undefined;
|
|
1372
1629
|
};
|
|
1373
1630
|
operation_type: "cross_chain_wow_to_evm";
|
|
1374
1631
|
message?: string | undefined;
|
|
@@ -1378,6 +1635,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1378
1635
|
bridgeSeq: string;
|
|
1379
1636
|
depositTxDigest: string;
|
|
1380
1637
|
activeEvmAccount: string;
|
|
1638
|
+
idempotencyKey?: string | undefined;
|
|
1639
|
+
idempotentHit?: boolean | undefined;
|
|
1381
1640
|
};
|
|
1382
1641
|
operation_type: "cross_chain_wow_to_evm";
|
|
1383
1642
|
message?: string | undefined;
|
|
@@ -1387,14 +1646,20 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1387
1646
|
depositTxHash: z.ZodString;
|
|
1388
1647
|
activeEvmAccount: z.ZodString;
|
|
1389
1648
|
transferId: z.ZodString;
|
|
1649
|
+
idempotentHit: z.ZodOptional<z.ZodBoolean>;
|
|
1650
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1390
1651
|
}, "strict", z.ZodTypeAny, {
|
|
1391
1652
|
transferId: string;
|
|
1392
1653
|
depositTxHash: string;
|
|
1393
1654
|
activeEvmAccount: string;
|
|
1655
|
+
idempotencyKey?: string | undefined;
|
|
1656
|
+
idempotentHit?: boolean | undefined;
|
|
1394
1657
|
}, {
|
|
1395
1658
|
transferId: string;
|
|
1396
1659
|
depositTxHash: string;
|
|
1397
1660
|
activeEvmAccount: string;
|
|
1661
|
+
idempotencyKey?: string | undefined;
|
|
1662
|
+
idempotentHit?: boolean | undefined;
|
|
1398
1663
|
}>;
|
|
1399
1664
|
message: z.ZodOptional<z.ZodString>;
|
|
1400
1665
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1402,6 +1667,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1402
1667
|
transferId: string;
|
|
1403
1668
|
depositTxHash: string;
|
|
1404
1669
|
activeEvmAccount: string;
|
|
1670
|
+
idempotencyKey?: string | undefined;
|
|
1671
|
+
idempotentHit?: boolean | undefined;
|
|
1405
1672
|
};
|
|
1406
1673
|
operation_type: "cross_chain_evm_to_wow";
|
|
1407
1674
|
message?: string | undefined;
|
|
@@ -1410,6 +1677,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1410
1677
|
transferId: string;
|
|
1411
1678
|
depositTxHash: string;
|
|
1412
1679
|
activeEvmAccount: string;
|
|
1680
|
+
idempotencyKey?: string | undefined;
|
|
1681
|
+
idempotentHit?: boolean | undefined;
|
|
1413
1682
|
};
|
|
1414
1683
|
operation_type: "cross_chain_evm_to_wow";
|
|
1415
1684
|
message?: string | undefined;
|
|
@@ -1440,6 +1709,228 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1440
1709
|
};
|
|
1441
1710
|
operation_type: "claim_wow_to_evm";
|
|
1442
1711
|
message?: string | undefined;
|
|
1712
|
+
}>, z.ZodObject<{
|
|
1713
|
+
operation_type: z.ZodLiteral<"resume_transfer">;
|
|
1714
|
+
result: z.ZodObject<{
|
|
1715
|
+
transferId: z.ZodString;
|
|
1716
|
+
direction: z.ZodEnum<["wow_to_evm", "evm_to_wow", "withdraw"]>;
|
|
1717
|
+
token: z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>;
|
|
1718
|
+
amount: z.ZodString;
|
|
1719
|
+
recipientEth: z.ZodOptional<z.ZodString>;
|
|
1720
|
+
recipientWow: z.ZodOptional<z.ZodString>;
|
|
1721
|
+
intermediateEthAccount: z.ZodString;
|
|
1722
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1723
|
+
step: z.ZodEnum<["init", "deposit", "claimed", "withdraw", "withdrawn"]>;
|
|
1724
|
+
status: z.ZodEnum<["pending", "in_progress", "success", "failed"]>;
|
|
1725
|
+
depositTxHash: z.ZodOptional<z.ZodString>;
|
|
1726
|
+
depositTxDigest: z.ZodOptional<z.ZodString>;
|
|
1727
|
+
bridgeSeq: z.ZodOptional<z.ZodString>;
|
|
1728
|
+
claimTxHash: z.ZodOptional<z.ZodString>;
|
|
1729
|
+
claimTxDigest: z.ZodOptional<z.ZodString>;
|
|
1730
|
+
withdrawTxHash: z.ZodOptional<z.ZodString>;
|
|
1731
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1732
|
+
createdAt: z.ZodNumber;
|
|
1733
|
+
updatedAt: z.ZodNumber;
|
|
1734
|
+
latestState: z.ZodOptional<z.ZodObject<{
|
|
1735
|
+
status: z.ZodEnum<["not_started", "pending", "confirmed", "signatures_ready", "claiming", "completed", "failed"]>;
|
|
1736
|
+
step: z.ZodEnum<["not_started", "source_tx_pending", "source_tx_confirmed", "node_signing", "signatures_ready", "claim_tx_pending", "completed", "failed"]>;
|
|
1737
|
+
stepDescription: z.ZodOptional<z.ZodString>;
|
|
1738
|
+
direction: z.ZodOptional<z.ZodEnum<["wow_to_evm", "evm_to_wow"]>>;
|
|
1739
|
+
sourceTxHash: z.ZodOptional<z.ZodString>;
|
|
1740
|
+
bridgeSeq: z.ZodOptional<z.ZodString>;
|
|
1741
|
+
confirmations: z.ZodOptional<z.ZodNumber>;
|
|
1742
|
+
claimTxDigest: z.ZodOptional<z.ZodString>;
|
|
1743
|
+
claimReceipt: z.ZodOptional<z.ZodAny>;
|
|
1744
|
+
ethReceipt: z.ZodOptional<z.ZodAny>;
|
|
1745
|
+
wowReceipt: z.ZodOptional<z.ZodAny>;
|
|
1746
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1747
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
1748
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
1749
|
+
}, "strip", z.ZodTypeAny, {
|
|
1750
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1751
|
+
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1752
|
+
error?: string | undefined;
|
|
1753
|
+
updatedAt?: number | undefined;
|
|
1754
|
+
direction?: "wow_to_evm" | "evm_to_wow" | undefined;
|
|
1755
|
+
stepDescription?: string | undefined;
|
|
1756
|
+
sourceTxHash?: string | undefined;
|
|
1757
|
+
bridgeSeq?: string | undefined;
|
|
1758
|
+
confirmations?: number | undefined;
|
|
1759
|
+
claimTxDigest?: string | undefined;
|
|
1760
|
+
claimReceipt?: any;
|
|
1761
|
+
ethReceipt?: any;
|
|
1762
|
+
wowReceipt?: any;
|
|
1763
|
+
hint?: string | undefined;
|
|
1764
|
+
}, {
|
|
1765
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1766
|
+
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1767
|
+
error?: string | undefined;
|
|
1768
|
+
updatedAt?: number | undefined;
|
|
1769
|
+
direction?: "wow_to_evm" | "evm_to_wow" | undefined;
|
|
1770
|
+
stepDescription?: string | undefined;
|
|
1771
|
+
sourceTxHash?: string | undefined;
|
|
1772
|
+
bridgeSeq?: string | undefined;
|
|
1773
|
+
confirmations?: number | undefined;
|
|
1774
|
+
claimTxDigest?: string | undefined;
|
|
1775
|
+
claimReceipt?: any;
|
|
1776
|
+
ethReceipt?: any;
|
|
1777
|
+
wowReceipt?: any;
|
|
1778
|
+
hint?: string | undefined;
|
|
1779
|
+
}>>;
|
|
1780
|
+
}, "strict", z.ZodTypeAny, {
|
|
1781
|
+
status: "success" | "in_progress" | "failed" | "pending";
|
|
1782
|
+
amount: string;
|
|
1783
|
+
createdAt: number;
|
|
1784
|
+
updatedAt: number;
|
|
1785
|
+
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
1786
|
+
transferId: string;
|
|
1787
|
+
direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
|
|
1788
|
+
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1789
|
+
intermediateEthAccount: string;
|
|
1790
|
+
error?: string | undefined;
|
|
1791
|
+
idempotencyKey?: string | undefined;
|
|
1792
|
+
bridgeSeq?: string | undefined;
|
|
1793
|
+
claimTxDigest?: string | undefined;
|
|
1794
|
+
recipientEth?: string | undefined;
|
|
1795
|
+
recipientWow?: string | undefined;
|
|
1796
|
+
depositTxHash?: string | undefined;
|
|
1797
|
+
depositTxDigest?: string | undefined;
|
|
1798
|
+
claimTxHash?: string | undefined;
|
|
1799
|
+
withdrawTxHash?: string | undefined;
|
|
1800
|
+
latestState?: {
|
|
1801
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1802
|
+
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1803
|
+
error?: string | undefined;
|
|
1804
|
+
updatedAt?: number | undefined;
|
|
1805
|
+
direction?: "wow_to_evm" | "evm_to_wow" | undefined;
|
|
1806
|
+
stepDescription?: string | undefined;
|
|
1807
|
+
sourceTxHash?: string | undefined;
|
|
1808
|
+
bridgeSeq?: string | undefined;
|
|
1809
|
+
confirmations?: number | undefined;
|
|
1810
|
+
claimTxDigest?: string | undefined;
|
|
1811
|
+
claimReceipt?: any;
|
|
1812
|
+
ethReceipt?: any;
|
|
1813
|
+
wowReceipt?: any;
|
|
1814
|
+
hint?: string | undefined;
|
|
1815
|
+
} | undefined;
|
|
1816
|
+
}, {
|
|
1817
|
+
status: "success" | "in_progress" | "failed" | "pending";
|
|
1818
|
+
amount: string;
|
|
1819
|
+
createdAt: number;
|
|
1820
|
+
updatedAt: number;
|
|
1821
|
+
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
1822
|
+
transferId: string;
|
|
1823
|
+
direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
|
|
1824
|
+
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1825
|
+
intermediateEthAccount: string;
|
|
1826
|
+
error?: string | undefined;
|
|
1827
|
+
idempotencyKey?: string | undefined;
|
|
1828
|
+
bridgeSeq?: string | undefined;
|
|
1829
|
+
claimTxDigest?: string | undefined;
|
|
1830
|
+
recipientEth?: string | undefined;
|
|
1831
|
+
recipientWow?: string | undefined;
|
|
1832
|
+
depositTxHash?: string | undefined;
|
|
1833
|
+
depositTxDigest?: string | undefined;
|
|
1834
|
+
claimTxHash?: string | undefined;
|
|
1835
|
+
withdrawTxHash?: string | undefined;
|
|
1836
|
+
latestState?: {
|
|
1837
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1838
|
+
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1839
|
+
error?: string | undefined;
|
|
1840
|
+
updatedAt?: number | undefined;
|
|
1841
|
+
direction?: "wow_to_evm" | "evm_to_wow" | undefined;
|
|
1842
|
+
stepDescription?: string | undefined;
|
|
1843
|
+
sourceTxHash?: string | undefined;
|
|
1844
|
+
bridgeSeq?: string | undefined;
|
|
1845
|
+
confirmations?: number | undefined;
|
|
1846
|
+
claimTxDigest?: string | undefined;
|
|
1847
|
+
claimReceipt?: any;
|
|
1848
|
+
ethReceipt?: any;
|
|
1849
|
+
wowReceipt?: any;
|
|
1850
|
+
hint?: string | undefined;
|
|
1851
|
+
} | undefined;
|
|
1852
|
+
}>;
|
|
1853
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1854
|
+
}, "strip", z.ZodTypeAny, {
|
|
1855
|
+
result: {
|
|
1856
|
+
status: "success" | "in_progress" | "failed" | "pending";
|
|
1857
|
+
amount: string;
|
|
1858
|
+
createdAt: number;
|
|
1859
|
+
updatedAt: number;
|
|
1860
|
+
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
1861
|
+
transferId: string;
|
|
1862
|
+
direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
|
|
1863
|
+
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1864
|
+
intermediateEthAccount: string;
|
|
1865
|
+
error?: string | undefined;
|
|
1866
|
+
idempotencyKey?: string | undefined;
|
|
1867
|
+
bridgeSeq?: string | undefined;
|
|
1868
|
+
claimTxDigest?: string | undefined;
|
|
1869
|
+
recipientEth?: string | undefined;
|
|
1870
|
+
recipientWow?: string | undefined;
|
|
1871
|
+
depositTxHash?: string | undefined;
|
|
1872
|
+
depositTxDigest?: string | undefined;
|
|
1873
|
+
claimTxHash?: string | undefined;
|
|
1874
|
+
withdrawTxHash?: string | undefined;
|
|
1875
|
+
latestState?: {
|
|
1876
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1877
|
+
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1878
|
+
error?: string | undefined;
|
|
1879
|
+
updatedAt?: number | undefined;
|
|
1880
|
+
direction?: "wow_to_evm" | "evm_to_wow" | undefined;
|
|
1881
|
+
stepDescription?: string | undefined;
|
|
1882
|
+
sourceTxHash?: string | undefined;
|
|
1883
|
+
bridgeSeq?: string | undefined;
|
|
1884
|
+
confirmations?: number | undefined;
|
|
1885
|
+
claimTxDigest?: string | undefined;
|
|
1886
|
+
claimReceipt?: any;
|
|
1887
|
+
ethReceipt?: any;
|
|
1888
|
+
wowReceipt?: any;
|
|
1889
|
+
hint?: string | undefined;
|
|
1890
|
+
} | undefined;
|
|
1891
|
+
};
|
|
1892
|
+
operation_type: "resume_transfer";
|
|
1893
|
+
message?: string | undefined;
|
|
1894
|
+
}, {
|
|
1895
|
+
result: {
|
|
1896
|
+
status: "success" | "in_progress" | "failed" | "pending";
|
|
1897
|
+
amount: string;
|
|
1898
|
+
createdAt: number;
|
|
1899
|
+
updatedAt: number;
|
|
1900
|
+
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
1901
|
+
transferId: string;
|
|
1902
|
+
direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
|
|
1903
|
+
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1904
|
+
intermediateEthAccount: string;
|
|
1905
|
+
error?: string | undefined;
|
|
1906
|
+
idempotencyKey?: string | undefined;
|
|
1907
|
+
bridgeSeq?: string | undefined;
|
|
1908
|
+
claimTxDigest?: string | undefined;
|
|
1909
|
+
recipientEth?: string | undefined;
|
|
1910
|
+
recipientWow?: string | undefined;
|
|
1911
|
+
depositTxHash?: string | undefined;
|
|
1912
|
+
depositTxDigest?: string | undefined;
|
|
1913
|
+
claimTxHash?: string | undefined;
|
|
1914
|
+
withdrawTxHash?: string | undefined;
|
|
1915
|
+
latestState?: {
|
|
1916
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1917
|
+
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1918
|
+
error?: string | undefined;
|
|
1919
|
+
updatedAt?: number | undefined;
|
|
1920
|
+
direction?: "wow_to_evm" | "evm_to_wow" | undefined;
|
|
1921
|
+
stepDescription?: string | undefined;
|
|
1922
|
+
sourceTxHash?: string | undefined;
|
|
1923
|
+
bridgeSeq?: string | undefined;
|
|
1924
|
+
confirmations?: number | undefined;
|
|
1925
|
+
claimTxDigest?: string | undefined;
|
|
1926
|
+
claimReceipt?: any;
|
|
1927
|
+
ethReceipt?: any;
|
|
1928
|
+
wowReceipt?: any;
|
|
1929
|
+
hint?: string | undefined;
|
|
1930
|
+
} | undefined;
|
|
1931
|
+
};
|
|
1932
|
+
operation_type: "resume_transfer";
|
|
1933
|
+
message?: string | undefined;
|
|
1443
1934
|
}>, z.ZodObject<{
|
|
1444
1935
|
operation_type: z.ZodLiteral<"withdraw">;
|
|
1445
1936
|
result: z.ZodObject<{
|
|
@@ -1711,6 +2202,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1711
2202
|
recipientEth: z.ZodOptional<z.ZodString>;
|
|
1712
2203
|
recipientWow: z.ZodOptional<z.ZodString>;
|
|
1713
2204
|
intermediateEthAccount: z.ZodString;
|
|
2205
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1714
2206
|
step: z.ZodEnum<["init", "deposit", "claimed", "withdraw", "withdrawn"]>;
|
|
1715
2207
|
status: z.ZodEnum<["pending", "in_progress", "success", "failed"]>;
|
|
1716
2208
|
depositTxHash: z.ZodOptional<z.ZodString>;
|
|
@@ -1738,7 +2230,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1738
2230
|
hint: z.ZodOptional<z.ZodString>;
|
|
1739
2231
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
1740
2232
|
}, "strip", z.ZodTypeAny, {
|
|
1741
|
-
status: "
|
|
2233
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1742
2234
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1743
2235
|
error?: string | undefined;
|
|
1744
2236
|
updatedAt?: number | undefined;
|
|
@@ -1753,7 +2245,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1753
2245
|
wowReceipt?: any;
|
|
1754
2246
|
hint?: string | undefined;
|
|
1755
2247
|
}, {
|
|
1756
|
-
status: "
|
|
2248
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1757
2249
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1758
2250
|
error?: string | undefined;
|
|
1759
2251
|
updatedAt?: number | undefined;
|
|
@@ -1769,7 +2261,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1769
2261
|
hint?: string | undefined;
|
|
1770
2262
|
}>>;
|
|
1771
2263
|
}, "strict", z.ZodTypeAny, {
|
|
1772
|
-
status: "success" | "
|
|
2264
|
+
status: "success" | "in_progress" | "failed" | "pending";
|
|
1773
2265
|
amount: string;
|
|
1774
2266
|
createdAt: number;
|
|
1775
2267
|
updatedAt: number;
|
|
@@ -1779,6 +2271,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1779
2271
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1780
2272
|
intermediateEthAccount: string;
|
|
1781
2273
|
error?: string | undefined;
|
|
2274
|
+
idempotencyKey?: string | undefined;
|
|
1782
2275
|
bridgeSeq?: string | undefined;
|
|
1783
2276
|
claimTxDigest?: string | undefined;
|
|
1784
2277
|
recipientEth?: string | undefined;
|
|
@@ -1788,7 +2281,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1788
2281
|
claimTxHash?: string | undefined;
|
|
1789
2282
|
withdrawTxHash?: string | undefined;
|
|
1790
2283
|
latestState?: {
|
|
1791
|
-
status: "
|
|
2284
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1792
2285
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1793
2286
|
error?: string | undefined;
|
|
1794
2287
|
updatedAt?: number | undefined;
|
|
@@ -1804,7 +2297,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1804
2297
|
hint?: string | undefined;
|
|
1805
2298
|
} | undefined;
|
|
1806
2299
|
}, {
|
|
1807
|
-
status: "success" | "
|
|
2300
|
+
status: "success" | "in_progress" | "failed" | "pending";
|
|
1808
2301
|
amount: string;
|
|
1809
2302
|
createdAt: number;
|
|
1810
2303
|
updatedAt: number;
|
|
@@ -1814,6 +2307,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1814
2307
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1815
2308
|
intermediateEthAccount: string;
|
|
1816
2309
|
error?: string | undefined;
|
|
2310
|
+
idempotencyKey?: string | undefined;
|
|
1817
2311
|
bridgeSeq?: string | undefined;
|
|
1818
2312
|
claimTxDigest?: string | undefined;
|
|
1819
2313
|
recipientEth?: string | undefined;
|
|
@@ -1823,7 +2317,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1823
2317
|
claimTxHash?: string | undefined;
|
|
1824
2318
|
withdrawTxHash?: string | undefined;
|
|
1825
2319
|
latestState?: {
|
|
1826
|
-
status: "
|
|
2320
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1827
2321
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1828
2322
|
error?: string | undefined;
|
|
1829
2323
|
updatedAt?: number | undefined;
|
|
@@ -1842,7 +2336,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1842
2336
|
message: z.ZodOptional<z.ZodString>;
|
|
1843
2337
|
}, "strip", z.ZodTypeAny, {
|
|
1844
2338
|
result: {
|
|
1845
|
-
status: "success" | "
|
|
2339
|
+
status: "success" | "in_progress" | "failed" | "pending";
|
|
1846
2340
|
amount: string;
|
|
1847
2341
|
createdAt: number;
|
|
1848
2342
|
updatedAt: number;
|
|
@@ -1852,6 +2346,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1852
2346
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1853
2347
|
intermediateEthAccount: string;
|
|
1854
2348
|
error?: string | undefined;
|
|
2349
|
+
idempotencyKey?: string | undefined;
|
|
1855
2350
|
bridgeSeq?: string | undefined;
|
|
1856
2351
|
claimTxDigest?: string | undefined;
|
|
1857
2352
|
recipientEth?: string | undefined;
|
|
@@ -1861,7 +2356,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1861
2356
|
claimTxHash?: string | undefined;
|
|
1862
2357
|
withdrawTxHash?: string | undefined;
|
|
1863
2358
|
latestState?: {
|
|
1864
|
-
status: "
|
|
2359
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1865
2360
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1866
2361
|
error?: string | undefined;
|
|
1867
2362
|
updatedAt?: number | undefined;
|
|
@@ -1881,7 +2376,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1881
2376
|
message?: string | undefined;
|
|
1882
2377
|
}, {
|
|
1883
2378
|
result: {
|
|
1884
|
-
status: "success" | "
|
|
2379
|
+
status: "success" | "in_progress" | "failed" | "pending";
|
|
1885
2380
|
amount: string;
|
|
1886
2381
|
createdAt: number;
|
|
1887
2382
|
updatedAt: number;
|
|
@@ -1891,6 +2386,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1891
2386
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1892
2387
|
intermediateEthAccount: string;
|
|
1893
2388
|
error?: string | undefined;
|
|
2389
|
+
idempotencyKey?: string | undefined;
|
|
1894
2390
|
bridgeSeq?: string | undefined;
|
|
1895
2391
|
claimTxDigest?: string | undefined;
|
|
1896
2392
|
recipientEth?: string | undefined;
|
|
@@ -1900,7 +2396,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1900
2396
|
claimTxHash?: string | undefined;
|
|
1901
2397
|
withdrawTxHash?: string | undefined;
|
|
1902
2398
|
latestState?: {
|
|
1903
|
-
status: "
|
|
2399
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1904
2400
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1905
2401
|
error?: string | undefined;
|
|
1906
2402
|
updatedAt?: number | undefined;
|
|
@@ -1928,6 +2424,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1928
2424
|
recipientEth: z.ZodOptional<z.ZodString>;
|
|
1929
2425
|
recipientWow: z.ZodOptional<z.ZodString>;
|
|
1930
2426
|
intermediateEthAccount: z.ZodString;
|
|
2427
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1931
2428
|
step: z.ZodEnum<["init", "deposit", "claimed", "withdraw", "withdrawn"]>;
|
|
1932
2429
|
status: z.ZodEnum<["pending", "in_progress", "success", "failed"]>;
|
|
1933
2430
|
depositTxHash: z.ZodOptional<z.ZodString>;
|
|
@@ -1955,7 +2452,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1955
2452
|
hint: z.ZodOptional<z.ZodString>;
|
|
1956
2453
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
1957
2454
|
}, "strip", z.ZodTypeAny, {
|
|
1958
|
-
status: "
|
|
2455
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1959
2456
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1960
2457
|
error?: string | undefined;
|
|
1961
2458
|
updatedAt?: number | undefined;
|
|
@@ -1970,7 +2467,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1970
2467
|
wowReceipt?: any;
|
|
1971
2468
|
hint?: string | undefined;
|
|
1972
2469
|
}, {
|
|
1973
|
-
status: "
|
|
2470
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1974
2471
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1975
2472
|
error?: string | undefined;
|
|
1976
2473
|
updatedAt?: number | undefined;
|
|
@@ -1986,7 +2483,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1986
2483
|
hint?: string | undefined;
|
|
1987
2484
|
}>>;
|
|
1988
2485
|
}, "strict", z.ZodTypeAny, {
|
|
1989
|
-
status: "success" | "
|
|
2486
|
+
status: "success" | "in_progress" | "failed" | "pending";
|
|
1990
2487
|
amount: string;
|
|
1991
2488
|
createdAt: number;
|
|
1992
2489
|
updatedAt: number;
|
|
@@ -1996,6 +2493,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1996
2493
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1997
2494
|
intermediateEthAccount: string;
|
|
1998
2495
|
error?: string | undefined;
|
|
2496
|
+
idempotencyKey?: string | undefined;
|
|
1999
2497
|
bridgeSeq?: string | undefined;
|
|
2000
2498
|
claimTxDigest?: string | undefined;
|
|
2001
2499
|
recipientEth?: string | undefined;
|
|
@@ -2005,7 +2503,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
2005
2503
|
claimTxHash?: string | undefined;
|
|
2006
2504
|
withdrawTxHash?: string | undefined;
|
|
2007
2505
|
latestState?: {
|
|
2008
|
-
status: "
|
|
2506
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
2009
2507
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
2010
2508
|
error?: string | undefined;
|
|
2011
2509
|
updatedAt?: number | undefined;
|
|
@@ -2021,7 +2519,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
2021
2519
|
hint?: string | undefined;
|
|
2022
2520
|
} | undefined;
|
|
2023
2521
|
}, {
|
|
2024
|
-
status: "success" | "
|
|
2522
|
+
status: "success" | "in_progress" | "failed" | "pending";
|
|
2025
2523
|
amount: string;
|
|
2026
2524
|
createdAt: number;
|
|
2027
2525
|
updatedAt: number;
|
|
@@ -2031,6 +2529,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
2031
2529
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
2032
2530
|
intermediateEthAccount: string;
|
|
2033
2531
|
error?: string | undefined;
|
|
2532
|
+
idempotencyKey?: string | undefined;
|
|
2034
2533
|
bridgeSeq?: string | undefined;
|
|
2035
2534
|
claimTxDigest?: string | undefined;
|
|
2036
2535
|
recipientEth?: string | undefined;
|
|
@@ -2040,7 +2539,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
2040
2539
|
claimTxHash?: string | undefined;
|
|
2041
2540
|
withdrawTxHash?: string | undefined;
|
|
2042
2541
|
latestState?: {
|
|
2043
|
-
status: "
|
|
2542
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
2044
2543
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
2045
2544
|
error?: string | undefined;
|
|
2046
2545
|
updatedAt?: number | undefined;
|
|
@@ -2059,7 +2558,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
2059
2558
|
message: z.ZodOptional<z.ZodString>;
|
|
2060
2559
|
}, "strip", z.ZodTypeAny, {
|
|
2061
2560
|
result: {
|
|
2062
|
-
status: "success" | "
|
|
2561
|
+
status: "success" | "in_progress" | "failed" | "pending";
|
|
2063
2562
|
amount: string;
|
|
2064
2563
|
createdAt: number;
|
|
2065
2564
|
updatedAt: number;
|
|
@@ -2069,6 +2568,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
2069
2568
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
2070
2569
|
intermediateEthAccount: string;
|
|
2071
2570
|
error?: string | undefined;
|
|
2571
|
+
idempotencyKey?: string | undefined;
|
|
2072
2572
|
bridgeSeq?: string | undefined;
|
|
2073
2573
|
claimTxDigest?: string | undefined;
|
|
2074
2574
|
recipientEth?: string | undefined;
|
|
@@ -2078,7 +2578,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
2078
2578
|
claimTxHash?: string | undefined;
|
|
2079
2579
|
withdrawTxHash?: string | undefined;
|
|
2080
2580
|
latestState?: {
|
|
2081
|
-
status: "
|
|
2581
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
2082
2582
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
2083
2583
|
error?: string | undefined;
|
|
2084
2584
|
updatedAt?: number | undefined;
|
|
@@ -2098,7 +2598,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
2098
2598
|
message?: string | undefined;
|
|
2099
2599
|
}, {
|
|
2100
2600
|
result: {
|
|
2101
|
-
status: "success" | "
|
|
2601
|
+
status: "success" | "in_progress" | "failed" | "pending";
|
|
2102
2602
|
amount: string;
|
|
2103
2603
|
createdAt: number;
|
|
2104
2604
|
updatedAt: number;
|
|
@@ -2108,6 +2608,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
2108
2608
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
2109
2609
|
intermediateEthAccount: string;
|
|
2110
2610
|
error?: string | undefined;
|
|
2611
|
+
idempotencyKey?: string | undefined;
|
|
2111
2612
|
bridgeSeq?: string | undefined;
|
|
2112
2613
|
claimTxDigest?: string | undefined;
|
|
2113
2614
|
recipientEth?: string | undefined;
|
|
@@ -2117,7 +2618,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
2117
2618
|
claimTxHash?: string | undefined;
|
|
2118
2619
|
withdrawTxHash?: string | undefined;
|
|
2119
2620
|
latestState?: {
|
|
2120
|
-
status: "
|
|
2621
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
2121
2622
|
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
2122
2623
|
error?: string | undefined;
|
|
2123
2624
|
updatedAt?: number | undefined;
|
|
@@ -2172,41 +2673,965 @@ export declare const BridgeCallOutputSchema: z.ZodObject<{
|
|
|
2172
2673
|
message: z.ZodOptional<z.ZodString>;
|
|
2173
2674
|
result: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2174
2675
|
type: z.ZodLiteral<"data">;
|
|
2175
|
-
data: z.
|
|
2676
|
+
data: z.ZodUnknown;
|
|
2176
2677
|
}, "strip", z.ZodTypeAny, {
|
|
2177
2678
|
type: "data";
|
|
2178
|
-
data?:
|
|
2679
|
+
data?: unknown;
|
|
2179
2680
|
}, {
|
|
2180
2681
|
type: "data";
|
|
2181
|
-
data?:
|
|
2682
|
+
data?: unknown;
|
|
2182
2683
|
}>, z.ZodObject<{
|
|
2183
2684
|
type: z.ZodLiteral<"error">;
|
|
2184
2685
|
error: z.ZodString;
|
|
2686
|
+
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "unknown"]>>;
|
|
2687
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2688
|
+
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
2185
2689
|
}, "strip", z.ZodTypeAny, {
|
|
2186
2690
|
type: "error";
|
|
2187
2691
|
error: string;
|
|
2692
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
2693
|
+
retryable?: boolean | undefined;
|
|
2694
|
+
recovery_hint?: string | undefined;
|
|
2188
2695
|
}, {
|
|
2189
2696
|
type: "error";
|
|
2190
2697
|
error: string;
|
|
2698
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
2699
|
+
retryable?: boolean | undefined;
|
|
2700
|
+
recovery_hint?: string | undefined;
|
|
2191
2701
|
}>]>;
|
|
2702
|
+
semantic: z.ZodOptional<z.ZodObject<{
|
|
2703
|
+
intent: z.ZodString;
|
|
2704
|
+
status: z.ZodEnum<["success", "partial", "failed", "pending_input"]>;
|
|
2705
|
+
summary: z.ZodString;
|
|
2706
|
+
created: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2707
|
+
id: z.ZodString;
|
|
2708
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
2709
|
+
role: z.ZodEnum<["Permission", "Guard", "Machine", "Progress", "Service", "Order", "Allocation", "Arbitration", "ArbCase", "Messenger", "Contact", "Demand", "Reward", "Personal", "Repository", "Treasury", "Discount", "Other"]>;
|
|
2710
|
+
relation: z.ZodOptional<z.ZodObject<{
|
|
2711
|
+
parent: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
2712
|
+
relation_type: z.ZodOptional<z.ZodEnum<["machine_of", "guard_of", "allocator_of", "permission_of", "progress_of", "allocation_of", "arb_of", "other"]>>;
|
|
2713
|
+
}, "strip", z.ZodTypeAny, {
|
|
2714
|
+
parent?: string | null | undefined;
|
|
2715
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
2716
|
+
}, {
|
|
2717
|
+
parent?: string | null | undefined;
|
|
2718
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
2719
|
+
}>>;
|
|
2720
|
+
immutable: z.ZodOptional<z.ZodBoolean>;
|
|
2721
|
+
}, "strict", z.ZodTypeAny, {
|
|
2722
|
+
id: string;
|
|
2723
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
2724
|
+
name?: string | null | undefined;
|
|
2725
|
+
relation?: {
|
|
2726
|
+
parent?: string | null | undefined;
|
|
2727
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
2728
|
+
} | undefined;
|
|
2729
|
+
immutable?: boolean | undefined;
|
|
2730
|
+
}, {
|
|
2731
|
+
id: string;
|
|
2732
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
2733
|
+
name?: string | null | undefined;
|
|
2734
|
+
relation?: {
|
|
2735
|
+
parent?: string | null | undefined;
|
|
2736
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
2737
|
+
} | undefined;
|
|
2738
|
+
immutable?: boolean | undefined;
|
|
2739
|
+
}>, "many">>;
|
|
2740
|
+
modified: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2741
|
+
id: z.ZodString;
|
|
2742
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
2743
|
+
role: z.ZodEnum<["Permission", "Guard", "Machine", "Progress", "Service", "Order", "Allocation", "Arbitration", "ArbCase", "Messenger", "Contact", "Demand", "Reward", "Personal", "Repository", "Treasury", "Discount", "Other"]>;
|
|
2744
|
+
relation: z.ZodOptional<z.ZodObject<{
|
|
2745
|
+
parent: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
2746
|
+
relation_type: z.ZodOptional<z.ZodEnum<["machine_of", "guard_of", "allocator_of", "permission_of", "progress_of", "allocation_of", "arb_of", "other"]>>;
|
|
2747
|
+
}, "strip", z.ZodTypeAny, {
|
|
2748
|
+
parent?: string | null | undefined;
|
|
2749
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
2750
|
+
}, {
|
|
2751
|
+
parent?: string | null | undefined;
|
|
2752
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
2753
|
+
}>>;
|
|
2754
|
+
immutable: z.ZodOptional<z.ZodBoolean>;
|
|
2755
|
+
}, "strict", z.ZodTypeAny, {
|
|
2756
|
+
id: string;
|
|
2757
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
2758
|
+
name?: string | null | undefined;
|
|
2759
|
+
relation?: {
|
|
2760
|
+
parent?: string | null | undefined;
|
|
2761
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
2762
|
+
} | undefined;
|
|
2763
|
+
immutable?: boolean | undefined;
|
|
2764
|
+
}, {
|
|
2765
|
+
id: string;
|
|
2766
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
2767
|
+
name?: string | null | undefined;
|
|
2768
|
+
relation?: {
|
|
2769
|
+
parent?: string | null | undefined;
|
|
2770
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
2771
|
+
} | undefined;
|
|
2772
|
+
immutable?: boolean | undefined;
|
|
2773
|
+
}>, "many">>;
|
|
2774
|
+
released: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2775
|
+
amount: z.ZodString;
|
|
2776
|
+
coinType: z.ZodString;
|
|
2777
|
+
role: z.ZodEnum<["payment", "refund", "change", "compensation", "reward", "gas", "deposit", "release", "other"]>;
|
|
2778
|
+
from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2779
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2780
|
+
}, "strict", z.ZodTypeAny, {
|
|
2781
|
+
coinType: string;
|
|
2782
|
+
amount: string;
|
|
2783
|
+
role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
|
|
2784
|
+
from?: string | null | undefined;
|
|
2785
|
+
to?: string | null | undefined;
|
|
2786
|
+
}, {
|
|
2787
|
+
coinType: string;
|
|
2788
|
+
amount: string;
|
|
2789
|
+
role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
|
|
2790
|
+
from?: string | null | undefined;
|
|
2791
|
+
to?: string | null | undefined;
|
|
2792
|
+
}>, "many">>;
|
|
2793
|
+
events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2794
|
+
event_type: z.ZodString;
|
|
2795
|
+
business_meaning: z.ZodString;
|
|
2796
|
+
category: z.ZodEnum<["lifecycle", "state_change", "fund_flow", "permission", "guard", "other"]>;
|
|
2797
|
+
related_object: z.ZodOptional<z.ZodString>;
|
|
2798
|
+
side_effect: z.ZodOptional<z.ZodString>;
|
|
2799
|
+
}, "strict", z.ZodTypeAny, {
|
|
2800
|
+
event_type: string;
|
|
2801
|
+
business_meaning: string;
|
|
2802
|
+
category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
|
|
2803
|
+
related_object?: string | undefined;
|
|
2804
|
+
side_effect?: string | undefined;
|
|
2805
|
+
}, {
|
|
2806
|
+
event_type: string;
|
|
2807
|
+
business_meaning: string;
|
|
2808
|
+
category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
|
|
2809
|
+
related_object?: string | undefined;
|
|
2810
|
+
side_effect?: string | undefined;
|
|
2811
|
+
}>, "many">>;
|
|
2812
|
+
next_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2813
|
+
action: z.ZodString;
|
|
2814
|
+
reason: z.ZodString;
|
|
2815
|
+
tool: z.ZodOptional<z.ZodString>;
|
|
2816
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
2817
|
+
priority: z.ZodEnum<["required", "recommended", "optional"]>;
|
|
2818
|
+
}, "strict", z.ZodTypeAny, {
|
|
2819
|
+
action: string;
|
|
2820
|
+
reason: string;
|
|
2821
|
+
priority: "required" | "recommended" | "optional";
|
|
2822
|
+
tool?: string | undefined;
|
|
2823
|
+
prerequisite?: string | undefined;
|
|
2824
|
+
}, {
|
|
2825
|
+
action: string;
|
|
2826
|
+
reason: string;
|
|
2827
|
+
priority: "required" | "recommended" | "optional";
|
|
2828
|
+
tool?: string | undefined;
|
|
2829
|
+
prerequisite?: string | undefined;
|
|
2830
|
+
}>, "many">>;
|
|
2831
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2832
|
+
experience: z.ZodOptional<z.ZodObject<{
|
|
2833
|
+
advice: z.ZodOptional<z.ZodString>;
|
|
2834
|
+
avoid: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2835
|
+
relevance: z.ZodOptional<z.ZodNumber>;
|
|
2836
|
+
matched_scenario: z.ZodOptional<z.ZodString>;
|
|
2837
|
+
}, "strict", z.ZodTypeAny, {
|
|
2838
|
+
advice?: string | undefined;
|
|
2839
|
+
avoid?: string[] | undefined;
|
|
2840
|
+
relevance?: number | undefined;
|
|
2841
|
+
matched_scenario?: string | undefined;
|
|
2842
|
+
}, {
|
|
2843
|
+
advice?: string | undefined;
|
|
2844
|
+
avoid?: string[] | undefined;
|
|
2845
|
+
relevance?: number | undefined;
|
|
2846
|
+
matched_scenario?: string | undefined;
|
|
2847
|
+
}>>;
|
|
2848
|
+
service_status: z.ZodOptional<z.ZodObject<{
|
|
2849
|
+
active: z.ZodArray<z.ZodString, "many">;
|
|
2850
|
+
inactive: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2851
|
+
}, "strict", z.ZodTypeAny, {
|
|
2852
|
+
active: string[];
|
|
2853
|
+
inactive?: string[] | undefined;
|
|
2854
|
+
}, {
|
|
2855
|
+
active: string[];
|
|
2856
|
+
inactive?: string[] | undefined;
|
|
2857
|
+
}>>;
|
|
2858
|
+
customer_advice: z.ZodOptional<z.ZodObject<{
|
|
2859
|
+
risk_score: z.ZodOptional<z.ZodNumber>;
|
|
2860
|
+
risk_level: z.ZodOptional<z.ZodEnum<["low", "medium_low", "medium_high", "high"]>>;
|
|
2861
|
+
recommendations: z.ZodArray<z.ZodString, "many">;
|
|
2862
|
+
reminders: z.ZodArray<z.ZodObject<{
|
|
2863
|
+
id: z.ZodString;
|
|
2864
|
+
stage: z.ZodEnum<["browse", "evaluate", "preorder", "in_progress", "complete", "after_sale"]>;
|
|
2865
|
+
priority: z.ZodEnum<["required", "recommended", "info", "reminder"]>;
|
|
2866
|
+
message: z.ZodString;
|
|
2867
|
+
action: z.ZodOptional<z.ZodString>;
|
|
2868
|
+
}, "strict", z.ZodTypeAny, {
|
|
2869
|
+
message: string;
|
|
2870
|
+
id: string;
|
|
2871
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
2872
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
2873
|
+
action?: string | undefined;
|
|
2874
|
+
}, {
|
|
2875
|
+
message: string;
|
|
2876
|
+
id: string;
|
|
2877
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
2878
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
2879
|
+
action?: string | undefined;
|
|
2880
|
+
}>, "many">;
|
|
2881
|
+
preference_match: z.ZodOptional<z.ZodObject<{
|
|
2882
|
+
score: z.ZodNumber;
|
|
2883
|
+
matches: z.ZodArray<z.ZodString, "many">;
|
|
2884
|
+
mismatches: z.ZodArray<z.ZodString, "many">;
|
|
2885
|
+
}, "strict", z.ZodTypeAny, {
|
|
2886
|
+
score: number;
|
|
2887
|
+
matches: string[];
|
|
2888
|
+
mismatches: string[];
|
|
2889
|
+
}, {
|
|
2890
|
+
score: number;
|
|
2891
|
+
matches: string[];
|
|
2892
|
+
mismatches: string[];
|
|
2893
|
+
}>>;
|
|
2894
|
+
}, "strict", z.ZodTypeAny, {
|
|
2895
|
+
recommendations: string[];
|
|
2896
|
+
reminders: {
|
|
2897
|
+
message: string;
|
|
2898
|
+
id: string;
|
|
2899
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
2900
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
2901
|
+
action?: string | undefined;
|
|
2902
|
+
}[];
|
|
2903
|
+
risk_score?: number | undefined;
|
|
2904
|
+
risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
|
|
2905
|
+
preference_match?: {
|
|
2906
|
+
score: number;
|
|
2907
|
+
matches: string[];
|
|
2908
|
+
mismatches: string[];
|
|
2909
|
+
} | undefined;
|
|
2910
|
+
}, {
|
|
2911
|
+
recommendations: string[];
|
|
2912
|
+
reminders: {
|
|
2913
|
+
message: string;
|
|
2914
|
+
id: string;
|
|
2915
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
2916
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
2917
|
+
action?: string | undefined;
|
|
2918
|
+
}[];
|
|
2919
|
+
risk_score?: number | undefined;
|
|
2920
|
+
risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
|
|
2921
|
+
preference_match?: {
|
|
2922
|
+
score: number;
|
|
2923
|
+
matches: string[];
|
|
2924
|
+
mismatches: string[];
|
|
2925
|
+
} | undefined;
|
|
2926
|
+
}>>;
|
|
2927
|
+
evolution_context: z.ZodOptional<z.ZodObject<{
|
|
2928
|
+
industry_signal: z.ZodOptional<z.ZodString>;
|
|
2929
|
+
evolution_advice: z.ZodOptional<z.ZodString>;
|
|
2930
|
+
confidence: z.ZodNumber;
|
|
2931
|
+
health_score: z.ZodOptional<z.ZodNumber>;
|
|
2932
|
+
pending_suggestions: z.ZodOptional<z.ZodNumber>;
|
|
2933
|
+
intent: z.ZodOptional<z.ZodEnum<["default", "growth", "retention", "compliance", "efficiency", "trust_building", "custom"]>>;
|
|
2934
|
+
role_advice: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2935
|
+
role: z.ZodOptional<z.ZodEnum<["user", "merchant", "arbitrator"]>>;
|
|
2936
|
+
}, "strict", z.ZodTypeAny, {
|
|
2937
|
+
confidence: number;
|
|
2938
|
+
role?: "user" | "merchant" | "arbitrator" | undefined;
|
|
2939
|
+
industry_signal?: string | undefined;
|
|
2940
|
+
evolution_advice?: string | undefined;
|
|
2941
|
+
health_score?: number | undefined;
|
|
2942
|
+
pending_suggestions?: number | undefined;
|
|
2943
|
+
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
2944
|
+
role_advice?: string[] | undefined;
|
|
2945
|
+
}, {
|
|
2946
|
+
confidence: number;
|
|
2947
|
+
role?: "user" | "merchant" | "arbitrator" | undefined;
|
|
2948
|
+
industry_signal?: string | undefined;
|
|
2949
|
+
evolution_advice?: string | undefined;
|
|
2950
|
+
health_score?: number | undefined;
|
|
2951
|
+
pending_suggestions?: number | undefined;
|
|
2952
|
+
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
2953
|
+
role_advice?: string[] | undefined;
|
|
2954
|
+
}>>;
|
|
2955
|
+
guard_advice: z.ZodOptional<z.ZodObject<{
|
|
2956
|
+
current_round: z.ZodOptional<z.ZodEnum<["R1", "R2", "R3", "R4", "R5", "R6", "R7", "R8", "R9", "R10"]>>;
|
|
2957
|
+
puzzle_status: z.ZodOptional<z.ZodObject<{
|
|
2958
|
+
intent: z.ZodBoolean;
|
|
2959
|
+
binding: z.ZodBoolean;
|
|
2960
|
+
data: z.ZodBoolean;
|
|
2961
|
+
query: z.ZodBoolean;
|
|
2962
|
+
logic: z.ZodBoolean;
|
|
2963
|
+
constraints: z.ZodBoolean;
|
|
2964
|
+
}, "strict", z.ZodTypeAny, {
|
|
2965
|
+
data: boolean;
|
|
2966
|
+
intent: boolean;
|
|
2967
|
+
binding: boolean;
|
|
2968
|
+
query: boolean;
|
|
2969
|
+
logic: boolean;
|
|
2970
|
+
constraints: boolean;
|
|
2971
|
+
}, {
|
|
2972
|
+
data: boolean;
|
|
2973
|
+
intent: boolean;
|
|
2974
|
+
binding: boolean;
|
|
2975
|
+
query: boolean;
|
|
2976
|
+
logic: boolean;
|
|
2977
|
+
constraints: boolean;
|
|
2978
|
+
}>>;
|
|
2979
|
+
matched_scene: z.ZodOptional<z.ZodString>;
|
|
2980
|
+
scene_description: z.ZodOptional<z.ZodString>;
|
|
2981
|
+
scene_constraints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2982
|
+
suggested_patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2983
|
+
available_queries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2984
|
+
id: z.ZodNumber;
|
|
2985
|
+
name: z.ZodString;
|
|
2986
|
+
objectType: z.ZodString;
|
|
2987
|
+
returnType: z.ZodString;
|
|
2988
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2989
|
+
}, "strict", z.ZodTypeAny, {
|
|
2990
|
+
name: string;
|
|
2991
|
+
id: number;
|
|
2992
|
+
objectType: string;
|
|
2993
|
+
returnType: string;
|
|
2994
|
+
description?: string | undefined;
|
|
2995
|
+
}, {
|
|
2996
|
+
name: string;
|
|
2997
|
+
id: number;
|
|
2998
|
+
objectType: string;
|
|
2999
|
+
returnType: string;
|
|
3000
|
+
description?: string | undefined;
|
|
3001
|
+
}>, "many">>;
|
|
3002
|
+
risk_warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3003
|
+
pending_questions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3004
|
+
confirmation_text: z.ZodOptional<z.ZodString>;
|
|
3005
|
+
test_result: z.ZodOptional<z.ZodObject<{
|
|
3006
|
+
status: z.ZodEnum<["pass", "fail", "not_tested"]>;
|
|
3007
|
+
failure_node: z.ZodOptional<z.ZodString>;
|
|
3008
|
+
passport_id: z.ZodOptional<z.ZodString>;
|
|
3009
|
+
}, "strip", z.ZodTypeAny, {
|
|
3010
|
+
status: "pass" | "fail" | "not_tested";
|
|
3011
|
+
failure_node?: string | undefined;
|
|
3012
|
+
passport_id?: string | undefined;
|
|
3013
|
+
}, {
|
|
3014
|
+
status: "pass" | "fail" | "not_tested";
|
|
3015
|
+
failure_node?: string | undefined;
|
|
3016
|
+
passport_id?: string | undefined;
|
|
3017
|
+
}>>;
|
|
3018
|
+
risk_assessment: z.ZodOptional<z.ZodObject<{
|
|
3019
|
+
overall_risk: z.ZodEnum<["critical", "high", "medium", "low", "info"]>;
|
|
3020
|
+
risk_count: z.ZodNumber;
|
|
3021
|
+
critical_count: z.ZodNumber;
|
|
3022
|
+
high_count: z.ZodNumber;
|
|
3023
|
+
needs_human_review: z.ZodBoolean;
|
|
3024
|
+
top_risks: z.ZodArray<z.ZodString, "many">;
|
|
3025
|
+
stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
3026
|
+
}, "strip", z.ZodTypeAny, {
|
|
3027
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
3028
|
+
risk_count: number;
|
|
3029
|
+
critical_count: number;
|
|
3030
|
+
high_count: number;
|
|
3031
|
+
needs_human_review: boolean;
|
|
3032
|
+
top_risks: string[];
|
|
3033
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
3034
|
+
}, {
|
|
3035
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
3036
|
+
risk_count: number;
|
|
3037
|
+
critical_count: number;
|
|
3038
|
+
high_count: number;
|
|
3039
|
+
needs_human_review: boolean;
|
|
3040
|
+
top_risks: string[];
|
|
3041
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
3042
|
+
}>>;
|
|
3043
|
+
}, "strict", z.ZodTypeAny, {
|
|
3044
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
3045
|
+
puzzle_status?: {
|
|
3046
|
+
data: boolean;
|
|
3047
|
+
intent: boolean;
|
|
3048
|
+
binding: boolean;
|
|
3049
|
+
query: boolean;
|
|
3050
|
+
logic: boolean;
|
|
3051
|
+
constraints: boolean;
|
|
3052
|
+
} | undefined;
|
|
3053
|
+
matched_scene?: string | undefined;
|
|
3054
|
+
scene_description?: string | undefined;
|
|
3055
|
+
scene_constraints?: string[] | undefined;
|
|
3056
|
+
suggested_patterns?: string[] | undefined;
|
|
3057
|
+
available_queries?: {
|
|
3058
|
+
name: string;
|
|
3059
|
+
id: number;
|
|
3060
|
+
objectType: string;
|
|
3061
|
+
returnType: string;
|
|
3062
|
+
description?: string | undefined;
|
|
3063
|
+
}[] | undefined;
|
|
3064
|
+
risk_warnings?: string[] | undefined;
|
|
3065
|
+
pending_questions?: string[] | undefined;
|
|
3066
|
+
confirmation_text?: string | undefined;
|
|
3067
|
+
test_result?: {
|
|
3068
|
+
status: "pass" | "fail" | "not_tested";
|
|
3069
|
+
failure_node?: string | undefined;
|
|
3070
|
+
passport_id?: string | undefined;
|
|
3071
|
+
} | undefined;
|
|
3072
|
+
risk_assessment?: {
|
|
3073
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
3074
|
+
risk_count: number;
|
|
3075
|
+
critical_count: number;
|
|
3076
|
+
high_count: number;
|
|
3077
|
+
needs_human_review: boolean;
|
|
3078
|
+
top_risks: string[];
|
|
3079
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
3080
|
+
} | undefined;
|
|
3081
|
+
}, {
|
|
3082
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
3083
|
+
puzzle_status?: {
|
|
3084
|
+
data: boolean;
|
|
3085
|
+
intent: boolean;
|
|
3086
|
+
binding: boolean;
|
|
3087
|
+
query: boolean;
|
|
3088
|
+
logic: boolean;
|
|
3089
|
+
constraints: boolean;
|
|
3090
|
+
} | undefined;
|
|
3091
|
+
matched_scene?: string | undefined;
|
|
3092
|
+
scene_description?: string | undefined;
|
|
3093
|
+
scene_constraints?: string[] | undefined;
|
|
3094
|
+
suggested_patterns?: string[] | undefined;
|
|
3095
|
+
available_queries?: {
|
|
3096
|
+
name: string;
|
|
3097
|
+
id: number;
|
|
3098
|
+
objectType: string;
|
|
3099
|
+
returnType: string;
|
|
3100
|
+
description?: string | undefined;
|
|
3101
|
+
}[] | undefined;
|
|
3102
|
+
risk_warnings?: string[] | undefined;
|
|
3103
|
+
pending_questions?: string[] | undefined;
|
|
3104
|
+
confirmation_text?: string | undefined;
|
|
3105
|
+
test_result?: {
|
|
3106
|
+
status: "pass" | "fail" | "not_tested";
|
|
3107
|
+
failure_node?: string | undefined;
|
|
3108
|
+
passport_id?: string | undefined;
|
|
3109
|
+
} | undefined;
|
|
3110
|
+
risk_assessment?: {
|
|
3111
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
3112
|
+
risk_count: number;
|
|
3113
|
+
critical_count: number;
|
|
3114
|
+
high_count: number;
|
|
3115
|
+
needs_human_review: boolean;
|
|
3116
|
+
top_risks: string[];
|
|
3117
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
3118
|
+
} | undefined;
|
|
3119
|
+
}>>;
|
|
3120
|
+
}, "strict", z.ZodTypeAny, {
|
|
3121
|
+
status: "success" | "partial" | "failed" | "pending_input";
|
|
3122
|
+
intent: string;
|
|
3123
|
+
summary: string;
|
|
3124
|
+
created?: {
|
|
3125
|
+
id: string;
|
|
3126
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
3127
|
+
name?: string | null | undefined;
|
|
3128
|
+
relation?: {
|
|
3129
|
+
parent?: string | null | undefined;
|
|
3130
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
3131
|
+
} | undefined;
|
|
3132
|
+
immutable?: boolean | undefined;
|
|
3133
|
+
}[] | undefined;
|
|
3134
|
+
events?: {
|
|
3135
|
+
event_type: string;
|
|
3136
|
+
business_meaning: string;
|
|
3137
|
+
category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
|
|
3138
|
+
related_object?: string | undefined;
|
|
3139
|
+
side_effect?: string | undefined;
|
|
3140
|
+
}[] | undefined;
|
|
3141
|
+
modified?: {
|
|
3142
|
+
id: string;
|
|
3143
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
3144
|
+
name?: string | null | undefined;
|
|
3145
|
+
relation?: {
|
|
3146
|
+
parent?: string | null | undefined;
|
|
3147
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
3148
|
+
} | undefined;
|
|
3149
|
+
immutable?: boolean | undefined;
|
|
3150
|
+
}[] | undefined;
|
|
3151
|
+
released?: {
|
|
3152
|
+
coinType: string;
|
|
3153
|
+
amount: string;
|
|
3154
|
+
role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
|
|
3155
|
+
from?: string | null | undefined;
|
|
3156
|
+
to?: string | null | undefined;
|
|
3157
|
+
}[] | undefined;
|
|
3158
|
+
next_actions?: {
|
|
3159
|
+
action: string;
|
|
3160
|
+
reason: string;
|
|
3161
|
+
priority: "required" | "recommended" | "optional";
|
|
3162
|
+
tool?: string | undefined;
|
|
3163
|
+
prerequisite?: string | undefined;
|
|
3164
|
+
}[] | undefined;
|
|
3165
|
+
warnings?: string[] | undefined;
|
|
3166
|
+
experience?: {
|
|
3167
|
+
advice?: string | undefined;
|
|
3168
|
+
avoid?: string[] | undefined;
|
|
3169
|
+
relevance?: number | undefined;
|
|
3170
|
+
matched_scenario?: string | undefined;
|
|
3171
|
+
} | undefined;
|
|
3172
|
+
service_status?: {
|
|
3173
|
+
active: string[];
|
|
3174
|
+
inactive?: string[] | undefined;
|
|
3175
|
+
} | undefined;
|
|
3176
|
+
customer_advice?: {
|
|
3177
|
+
recommendations: string[];
|
|
3178
|
+
reminders: {
|
|
3179
|
+
message: string;
|
|
3180
|
+
id: string;
|
|
3181
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
3182
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
3183
|
+
action?: string | undefined;
|
|
3184
|
+
}[];
|
|
3185
|
+
risk_score?: number | undefined;
|
|
3186
|
+
risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
|
|
3187
|
+
preference_match?: {
|
|
3188
|
+
score: number;
|
|
3189
|
+
matches: string[];
|
|
3190
|
+
mismatches: string[];
|
|
3191
|
+
} | undefined;
|
|
3192
|
+
} | undefined;
|
|
3193
|
+
evolution_context?: {
|
|
3194
|
+
confidence: number;
|
|
3195
|
+
role?: "user" | "merchant" | "arbitrator" | undefined;
|
|
3196
|
+
industry_signal?: string | undefined;
|
|
3197
|
+
evolution_advice?: string | undefined;
|
|
3198
|
+
health_score?: number | undefined;
|
|
3199
|
+
pending_suggestions?: number | undefined;
|
|
3200
|
+
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
3201
|
+
role_advice?: string[] | undefined;
|
|
3202
|
+
} | undefined;
|
|
3203
|
+
guard_advice?: {
|
|
3204
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
3205
|
+
puzzle_status?: {
|
|
3206
|
+
data: boolean;
|
|
3207
|
+
intent: boolean;
|
|
3208
|
+
binding: boolean;
|
|
3209
|
+
query: boolean;
|
|
3210
|
+
logic: boolean;
|
|
3211
|
+
constraints: boolean;
|
|
3212
|
+
} | undefined;
|
|
3213
|
+
matched_scene?: string | undefined;
|
|
3214
|
+
scene_description?: string | undefined;
|
|
3215
|
+
scene_constraints?: string[] | undefined;
|
|
3216
|
+
suggested_patterns?: string[] | undefined;
|
|
3217
|
+
available_queries?: {
|
|
3218
|
+
name: string;
|
|
3219
|
+
id: number;
|
|
3220
|
+
objectType: string;
|
|
3221
|
+
returnType: string;
|
|
3222
|
+
description?: string | undefined;
|
|
3223
|
+
}[] | undefined;
|
|
3224
|
+
risk_warnings?: string[] | undefined;
|
|
3225
|
+
pending_questions?: string[] | undefined;
|
|
3226
|
+
confirmation_text?: string | undefined;
|
|
3227
|
+
test_result?: {
|
|
3228
|
+
status: "pass" | "fail" | "not_tested";
|
|
3229
|
+
failure_node?: string | undefined;
|
|
3230
|
+
passport_id?: string | undefined;
|
|
3231
|
+
} | undefined;
|
|
3232
|
+
risk_assessment?: {
|
|
3233
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
3234
|
+
risk_count: number;
|
|
3235
|
+
critical_count: number;
|
|
3236
|
+
high_count: number;
|
|
3237
|
+
needs_human_review: boolean;
|
|
3238
|
+
top_risks: string[];
|
|
3239
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
3240
|
+
} | undefined;
|
|
3241
|
+
} | undefined;
|
|
3242
|
+
}, {
|
|
3243
|
+
status: "success" | "partial" | "failed" | "pending_input";
|
|
3244
|
+
intent: string;
|
|
3245
|
+
summary: string;
|
|
3246
|
+
created?: {
|
|
3247
|
+
id: string;
|
|
3248
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
3249
|
+
name?: string | null | undefined;
|
|
3250
|
+
relation?: {
|
|
3251
|
+
parent?: string | null | undefined;
|
|
3252
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
3253
|
+
} | undefined;
|
|
3254
|
+
immutable?: boolean | undefined;
|
|
3255
|
+
}[] | undefined;
|
|
3256
|
+
events?: {
|
|
3257
|
+
event_type: string;
|
|
3258
|
+
business_meaning: string;
|
|
3259
|
+
category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
|
|
3260
|
+
related_object?: string | undefined;
|
|
3261
|
+
side_effect?: string | undefined;
|
|
3262
|
+
}[] | undefined;
|
|
3263
|
+
modified?: {
|
|
3264
|
+
id: string;
|
|
3265
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
3266
|
+
name?: string | null | undefined;
|
|
3267
|
+
relation?: {
|
|
3268
|
+
parent?: string | null | undefined;
|
|
3269
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
3270
|
+
} | undefined;
|
|
3271
|
+
immutable?: boolean | undefined;
|
|
3272
|
+
}[] | undefined;
|
|
3273
|
+
released?: {
|
|
3274
|
+
coinType: string;
|
|
3275
|
+
amount: string;
|
|
3276
|
+
role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
|
|
3277
|
+
from?: string | null | undefined;
|
|
3278
|
+
to?: string | null | undefined;
|
|
3279
|
+
}[] | undefined;
|
|
3280
|
+
next_actions?: {
|
|
3281
|
+
action: string;
|
|
3282
|
+
reason: string;
|
|
3283
|
+
priority: "required" | "recommended" | "optional";
|
|
3284
|
+
tool?: string | undefined;
|
|
3285
|
+
prerequisite?: string | undefined;
|
|
3286
|
+
}[] | undefined;
|
|
3287
|
+
warnings?: string[] | undefined;
|
|
3288
|
+
experience?: {
|
|
3289
|
+
advice?: string | undefined;
|
|
3290
|
+
avoid?: string[] | undefined;
|
|
3291
|
+
relevance?: number | undefined;
|
|
3292
|
+
matched_scenario?: string | undefined;
|
|
3293
|
+
} | undefined;
|
|
3294
|
+
service_status?: {
|
|
3295
|
+
active: string[];
|
|
3296
|
+
inactive?: string[] | undefined;
|
|
3297
|
+
} | undefined;
|
|
3298
|
+
customer_advice?: {
|
|
3299
|
+
recommendations: string[];
|
|
3300
|
+
reminders: {
|
|
3301
|
+
message: string;
|
|
3302
|
+
id: string;
|
|
3303
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
3304
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
3305
|
+
action?: string | undefined;
|
|
3306
|
+
}[];
|
|
3307
|
+
risk_score?: number | undefined;
|
|
3308
|
+
risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
|
|
3309
|
+
preference_match?: {
|
|
3310
|
+
score: number;
|
|
3311
|
+
matches: string[];
|
|
3312
|
+
mismatches: string[];
|
|
3313
|
+
} | undefined;
|
|
3314
|
+
} | undefined;
|
|
3315
|
+
evolution_context?: {
|
|
3316
|
+
confidence: number;
|
|
3317
|
+
role?: "user" | "merchant" | "arbitrator" | undefined;
|
|
3318
|
+
industry_signal?: string | undefined;
|
|
3319
|
+
evolution_advice?: string | undefined;
|
|
3320
|
+
health_score?: number | undefined;
|
|
3321
|
+
pending_suggestions?: number | undefined;
|
|
3322
|
+
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
3323
|
+
role_advice?: string[] | undefined;
|
|
3324
|
+
} | undefined;
|
|
3325
|
+
guard_advice?: {
|
|
3326
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
3327
|
+
puzzle_status?: {
|
|
3328
|
+
data: boolean;
|
|
3329
|
+
intent: boolean;
|
|
3330
|
+
binding: boolean;
|
|
3331
|
+
query: boolean;
|
|
3332
|
+
logic: boolean;
|
|
3333
|
+
constraints: boolean;
|
|
3334
|
+
} | undefined;
|
|
3335
|
+
matched_scene?: string | undefined;
|
|
3336
|
+
scene_description?: string | undefined;
|
|
3337
|
+
scene_constraints?: string[] | undefined;
|
|
3338
|
+
suggested_patterns?: string[] | undefined;
|
|
3339
|
+
available_queries?: {
|
|
3340
|
+
name: string;
|
|
3341
|
+
id: number;
|
|
3342
|
+
objectType: string;
|
|
3343
|
+
returnType: string;
|
|
3344
|
+
description?: string | undefined;
|
|
3345
|
+
}[] | undefined;
|
|
3346
|
+
risk_warnings?: string[] | undefined;
|
|
3347
|
+
pending_questions?: string[] | undefined;
|
|
3348
|
+
confirmation_text?: string | undefined;
|
|
3349
|
+
test_result?: {
|
|
3350
|
+
status: "pass" | "fail" | "not_tested";
|
|
3351
|
+
failure_node?: string | undefined;
|
|
3352
|
+
passport_id?: string | undefined;
|
|
3353
|
+
} | undefined;
|
|
3354
|
+
risk_assessment?: {
|
|
3355
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
3356
|
+
risk_count: number;
|
|
3357
|
+
critical_count: number;
|
|
3358
|
+
high_count: number;
|
|
3359
|
+
needs_human_review: boolean;
|
|
3360
|
+
top_risks: string[];
|
|
3361
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
3362
|
+
} | undefined;
|
|
3363
|
+
} | undefined;
|
|
3364
|
+
}>>;
|
|
2192
3365
|
}, "strip", z.ZodTypeAny, {
|
|
2193
3366
|
result: {
|
|
2194
3367
|
type: "data";
|
|
2195
|
-
data?:
|
|
3368
|
+
data?: unknown;
|
|
2196
3369
|
} | {
|
|
2197
3370
|
type: "error";
|
|
2198
3371
|
error: string;
|
|
3372
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
3373
|
+
retryable?: boolean | undefined;
|
|
3374
|
+
recovery_hint?: string | undefined;
|
|
2199
3375
|
};
|
|
2200
3376
|
message?: string | undefined;
|
|
3377
|
+
semantic?: {
|
|
3378
|
+
status: "success" | "partial" | "failed" | "pending_input";
|
|
3379
|
+
intent: string;
|
|
3380
|
+
summary: string;
|
|
3381
|
+
created?: {
|
|
3382
|
+
id: string;
|
|
3383
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
3384
|
+
name?: string | null | undefined;
|
|
3385
|
+
relation?: {
|
|
3386
|
+
parent?: string | null | undefined;
|
|
3387
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
3388
|
+
} | undefined;
|
|
3389
|
+
immutable?: boolean | undefined;
|
|
3390
|
+
}[] | undefined;
|
|
3391
|
+
events?: {
|
|
3392
|
+
event_type: string;
|
|
3393
|
+
business_meaning: string;
|
|
3394
|
+
category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
|
|
3395
|
+
related_object?: string | undefined;
|
|
3396
|
+
side_effect?: string | undefined;
|
|
3397
|
+
}[] | undefined;
|
|
3398
|
+
modified?: {
|
|
3399
|
+
id: string;
|
|
3400
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
3401
|
+
name?: string | null | undefined;
|
|
3402
|
+
relation?: {
|
|
3403
|
+
parent?: string | null | undefined;
|
|
3404
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
3405
|
+
} | undefined;
|
|
3406
|
+
immutable?: boolean | undefined;
|
|
3407
|
+
}[] | undefined;
|
|
3408
|
+
released?: {
|
|
3409
|
+
coinType: string;
|
|
3410
|
+
amount: string;
|
|
3411
|
+
role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
|
|
3412
|
+
from?: string | null | undefined;
|
|
3413
|
+
to?: string | null | undefined;
|
|
3414
|
+
}[] | undefined;
|
|
3415
|
+
next_actions?: {
|
|
3416
|
+
action: string;
|
|
3417
|
+
reason: string;
|
|
3418
|
+
priority: "required" | "recommended" | "optional";
|
|
3419
|
+
tool?: string | undefined;
|
|
3420
|
+
prerequisite?: string | undefined;
|
|
3421
|
+
}[] | undefined;
|
|
3422
|
+
warnings?: string[] | undefined;
|
|
3423
|
+
experience?: {
|
|
3424
|
+
advice?: string | undefined;
|
|
3425
|
+
avoid?: string[] | undefined;
|
|
3426
|
+
relevance?: number | undefined;
|
|
3427
|
+
matched_scenario?: string | undefined;
|
|
3428
|
+
} | undefined;
|
|
3429
|
+
service_status?: {
|
|
3430
|
+
active: string[];
|
|
3431
|
+
inactive?: string[] | undefined;
|
|
3432
|
+
} | undefined;
|
|
3433
|
+
customer_advice?: {
|
|
3434
|
+
recommendations: string[];
|
|
3435
|
+
reminders: {
|
|
3436
|
+
message: string;
|
|
3437
|
+
id: string;
|
|
3438
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
3439
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
3440
|
+
action?: string | undefined;
|
|
3441
|
+
}[];
|
|
3442
|
+
risk_score?: number | undefined;
|
|
3443
|
+
risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
|
|
3444
|
+
preference_match?: {
|
|
3445
|
+
score: number;
|
|
3446
|
+
matches: string[];
|
|
3447
|
+
mismatches: string[];
|
|
3448
|
+
} | undefined;
|
|
3449
|
+
} | undefined;
|
|
3450
|
+
evolution_context?: {
|
|
3451
|
+
confidence: number;
|
|
3452
|
+
role?: "user" | "merchant" | "arbitrator" | undefined;
|
|
3453
|
+
industry_signal?: string | undefined;
|
|
3454
|
+
evolution_advice?: string | undefined;
|
|
3455
|
+
health_score?: number | undefined;
|
|
3456
|
+
pending_suggestions?: number | undefined;
|
|
3457
|
+
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
3458
|
+
role_advice?: string[] | undefined;
|
|
3459
|
+
} | undefined;
|
|
3460
|
+
guard_advice?: {
|
|
3461
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
3462
|
+
puzzle_status?: {
|
|
3463
|
+
data: boolean;
|
|
3464
|
+
intent: boolean;
|
|
3465
|
+
binding: boolean;
|
|
3466
|
+
query: boolean;
|
|
3467
|
+
logic: boolean;
|
|
3468
|
+
constraints: boolean;
|
|
3469
|
+
} | undefined;
|
|
3470
|
+
matched_scene?: string | undefined;
|
|
3471
|
+
scene_description?: string | undefined;
|
|
3472
|
+
scene_constraints?: string[] | undefined;
|
|
3473
|
+
suggested_patterns?: string[] | undefined;
|
|
3474
|
+
available_queries?: {
|
|
3475
|
+
name: string;
|
|
3476
|
+
id: number;
|
|
3477
|
+
objectType: string;
|
|
3478
|
+
returnType: string;
|
|
3479
|
+
description?: string | undefined;
|
|
3480
|
+
}[] | undefined;
|
|
3481
|
+
risk_warnings?: string[] | undefined;
|
|
3482
|
+
pending_questions?: string[] | undefined;
|
|
3483
|
+
confirmation_text?: string | undefined;
|
|
3484
|
+
test_result?: {
|
|
3485
|
+
status: "pass" | "fail" | "not_tested";
|
|
3486
|
+
failure_node?: string | undefined;
|
|
3487
|
+
passport_id?: string | undefined;
|
|
3488
|
+
} | undefined;
|
|
3489
|
+
risk_assessment?: {
|
|
3490
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
3491
|
+
risk_count: number;
|
|
3492
|
+
critical_count: number;
|
|
3493
|
+
high_count: number;
|
|
3494
|
+
needs_human_review: boolean;
|
|
3495
|
+
top_risks: string[];
|
|
3496
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
3497
|
+
} | undefined;
|
|
3498
|
+
} | undefined;
|
|
3499
|
+
} | undefined;
|
|
2201
3500
|
}, {
|
|
2202
3501
|
result: {
|
|
2203
3502
|
type: "data";
|
|
2204
|
-
data?:
|
|
3503
|
+
data?: unknown;
|
|
2205
3504
|
} | {
|
|
2206
3505
|
type: "error";
|
|
2207
3506
|
error: string;
|
|
3507
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
3508
|
+
retryable?: boolean | undefined;
|
|
3509
|
+
recovery_hint?: string | undefined;
|
|
2208
3510
|
};
|
|
2209
3511
|
message?: string | undefined;
|
|
3512
|
+
semantic?: {
|
|
3513
|
+
status: "success" | "partial" | "failed" | "pending_input";
|
|
3514
|
+
intent: string;
|
|
3515
|
+
summary: string;
|
|
3516
|
+
created?: {
|
|
3517
|
+
id: string;
|
|
3518
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
3519
|
+
name?: string | null | undefined;
|
|
3520
|
+
relation?: {
|
|
3521
|
+
parent?: string | null | undefined;
|
|
3522
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
3523
|
+
} | undefined;
|
|
3524
|
+
immutable?: boolean | undefined;
|
|
3525
|
+
}[] | undefined;
|
|
3526
|
+
events?: {
|
|
3527
|
+
event_type: string;
|
|
3528
|
+
business_meaning: string;
|
|
3529
|
+
category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
|
|
3530
|
+
related_object?: string | undefined;
|
|
3531
|
+
side_effect?: string | undefined;
|
|
3532
|
+
}[] | undefined;
|
|
3533
|
+
modified?: {
|
|
3534
|
+
id: string;
|
|
3535
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
3536
|
+
name?: string | null | undefined;
|
|
3537
|
+
relation?: {
|
|
3538
|
+
parent?: string | null | undefined;
|
|
3539
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
3540
|
+
} | undefined;
|
|
3541
|
+
immutable?: boolean | undefined;
|
|
3542
|
+
}[] | undefined;
|
|
3543
|
+
released?: {
|
|
3544
|
+
coinType: string;
|
|
3545
|
+
amount: string;
|
|
3546
|
+
role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
|
|
3547
|
+
from?: string | null | undefined;
|
|
3548
|
+
to?: string | null | undefined;
|
|
3549
|
+
}[] | undefined;
|
|
3550
|
+
next_actions?: {
|
|
3551
|
+
action: string;
|
|
3552
|
+
reason: string;
|
|
3553
|
+
priority: "required" | "recommended" | "optional";
|
|
3554
|
+
tool?: string | undefined;
|
|
3555
|
+
prerequisite?: string | undefined;
|
|
3556
|
+
}[] | undefined;
|
|
3557
|
+
warnings?: string[] | undefined;
|
|
3558
|
+
experience?: {
|
|
3559
|
+
advice?: string | undefined;
|
|
3560
|
+
avoid?: string[] | undefined;
|
|
3561
|
+
relevance?: number | undefined;
|
|
3562
|
+
matched_scenario?: string | undefined;
|
|
3563
|
+
} | undefined;
|
|
3564
|
+
service_status?: {
|
|
3565
|
+
active: string[];
|
|
3566
|
+
inactive?: string[] | undefined;
|
|
3567
|
+
} | undefined;
|
|
3568
|
+
customer_advice?: {
|
|
3569
|
+
recommendations: string[];
|
|
3570
|
+
reminders: {
|
|
3571
|
+
message: string;
|
|
3572
|
+
id: string;
|
|
3573
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
3574
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
3575
|
+
action?: string | undefined;
|
|
3576
|
+
}[];
|
|
3577
|
+
risk_score?: number | undefined;
|
|
3578
|
+
risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
|
|
3579
|
+
preference_match?: {
|
|
3580
|
+
score: number;
|
|
3581
|
+
matches: string[];
|
|
3582
|
+
mismatches: string[];
|
|
3583
|
+
} | undefined;
|
|
3584
|
+
} | undefined;
|
|
3585
|
+
evolution_context?: {
|
|
3586
|
+
confidence: number;
|
|
3587
|
+
role?: "user" | "merchant" | "arbitrator" | undefined;
|
|
3588
|
+
industry_signal?: string | undefined;
|
|
3589
|
+
evolution_advice?: string | undefined;
|
|
3590
|
+
health_score?: number | undefined;
|
|
3591
|
+
pending_suggestions?: number | undefined;
|
|
3592
|
+
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
3593
|
+
role_advice?: string[] | undefined;
|
|
3594
|
+
} | undefined;
|
|
3595
|
+
guard_advice?: {
|
|
3596
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
3597
|
+
puzzle_status?: {
|
|
3598
|
+
data: boolean;
|
|
3599
|
+
intent: boolean;
|
|
3600
|
+
binding: boolean;
|
|
3601
|
+
query: boolean;
|
|
3602
|
+
logic: boolean;
|
|
3603
|
+
constraints: boolean;
|
|
3604
|
+
} | undefined;
|
|
3605
|
+
matched_scene?: string | undefined;
|
|
3606
|
+
scene_description?: string | undefined;
|
|
3607
|
+
scene_constraints?: string[] | undefined;
|
|
3608
|
+
suggested_patterns?: string[] | undefined;
|
|
3609
|
+
available_queries?: {
|
|
3610
|
+
name: string;
|
|
3611
|
+
id: number;
|
|
3612
|
+
objectType: string;
|
|
3613
|
+
returnType: string;
|
|
3614
|
+
description?: string | undefined;
|
|
3615
|
+
}[] | undefined;
|
|
3616
|
+
risk_warnings?: string[] | undefined;
|
|
3617
|
+
pending_questions?: string[] | undefined;
|
|
3618
|
+
confirmation_text?: string | undefined;
|
|
3619
|
+
test_result?: {
|
|
3620
|
+
status: "pass" | "fail" | "not_tested";
|
|
3621
|
+
failure_node?: string | undefined;
|
|
3622
|
+
passport_id?: string | undefined;
|
|
3623
|
+
} | undefined;
|
|
3624
|
+
risk_assessment?: {
|
|
3625
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
3626
|
+
risk_count: number;
|
|
3627
|
+
critical_count: number;
|
|
3628
|
+
high_count: number;
|
|
3629
|
+
needs_human_review: boolean;
|
|
3630
|
+
top_risks: string[];
|
|
3631
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
3632
|
+
} | undefined;
|
|
3633
|
+
} | undefined;
|
|
3634
|
+
} | undefined;
|
|
2210
3635
|
}>;
|
|
2211
3636
|
export type BridgeOperations = z.infer<typeof BridgeOperationsSchema>;
|
|
2212
3637
|
export type BridgeOutput = z.infer<typeof BridgeOutputSchema>;
|