@wowok/agent-mcp 2.3.16 → 2.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/dist/customer/index.d.ts +9 -0
  2. package/dist/customer/index.js +9 -0
  3. package/dist/customer/industry-risks.d.ts +4 -0
  4. package/dist/customer/industry-risks.js +45 -31
  5. package/dist/customer/order-monitor.js +57 -57
  6. package/dist/customer/order-strategy.js +89 -89
  7. package/dist/customer/post-purchase.js +97 -97
  8. package/dist/customer/reminder-system.js +26 -26
  9. package/dist/customer/risk-assessment.js +46 -46
  10. package/dist/customer/types.d.ts +4 -4
  11. package/dist/customer/types.js +4 -4
  12. package/dist/customer/user-preferences.d.ts +3 -0
  13. package/dist/customer/user-preferences.js +59 -50
  14. package/dist/experience/intent-distill.js +6 -6
  15. package/dist/experience/realtime-feedback.js +17 -0
  16. package/dist/index.js +360 -273
  17. package/dist/knowledge/acquisition-flywheel.d.ts +3 -0
  18. package/dist/knowledge/acquisition-flywheel.js +73 -64
  19. package/dist/knowledge/arbitration-trust.js +10 -10
  20. package/dist/knowledge/demand-matching.js +8 -8
  21. package/dist/knowledge/dynamic-pricing.js +18 -18
  22. package/dist/knowledge/flywheel-loop.js +11 -11
  23. package/dist/knowledge/glossary.js +22 -22
  24. package/dist/knowledge/guard-ledger.d.ts +19 -0
  25. package/dist/knowledge/guard-ledger.js +246 -0
  26. package/dist/knowledge/guard-lint.d.ts +76 -0
  27. package/dist/knowledge/guard-lint.js +590 -0
  28. package/dist/knowledge/guard-puzzle.d.ts +188 -0
  29. package/dist/knowledge/guard-puzzle.js +804 -0
  30. package/dist/knowledge/guard-risk.d.ts +67 -0
  31. package/dist/knowledge/guard-risk.js +1046 -0
  32. package/dist/knowledge/guard-templates.d.ts +37 -0
  33. package/dist/knowledge/guard-templates.js +329 -0
  34. package/dist/knowledge/guard-translation.d.ts +58 -0
  35. package/dist/knowledge/guard-translation.js +1118 -0
  36. package/dist/knowledge/index.d.ts +17 -0
  37. package/dist/knowledge/index.js +17 -0
  38. package/dist/knowledge/industry-evolution.js +29 -29
  39. package/dist/knowledge/industry-generalizer.js +52 -52
  40. package/dist/knowledge/industry-registry.d.ts +1 -2
  41. package/dist/knowledge/industry-registry.js +43 -36
  42. package/dist/knowledge/intent-metrics.js +67 -67
  43. package/dist/knowledge/process-model.js +80 -80
  44. package/dist/knowledge/reputation-rules.js +9 -9
  45. package/dist/knowledge/reward-templates.js +51 -51
  46. package/dist/knowledge/safety-rules.js +63 -2
  47. package/dist/knowledge/tool-constraints.js +17 -11
  48. package/dist/knowledge/trust-metrics.js +26 -26
  49. package/dist/safety/confirm-gate.d.ts +4 -2
  50. package/dist/safety/confirm-gate.js +48 -4
  51. package/dist/schema/call/allocation.d.ts +24 -14
  52. package/dist/schema/call/arbitration.d.ts +142 -132
  53. package/dist/schema/call/base.d.ts +901 -43
  54. package/dist/schema/call/base.js +77 -13
  55. package/dist/schema/call/bridge-handler.js +15 -2
  56. package/dist/schema/call/bridge.d.ts +795 -27
  57. package/dist/schema/call/bridge.js +37 -0
  58. package/dist/schema/call/contact.d.ts +10 -0
  59. package/dist/schema/call/demand.d.ts +94 -84
  60. package/dist/schema/call/guard.d.ts +229 -46
  61. package/dist/schema/call/guard.js +50 -0
  62. package/dist/schema/call/handler.js +46 -14
  63. package/dist/schema/call/machine.d.ts +158 -138
  64. package/dist/schema/call/order.d.ts +10 -0
  65. package/dist/schema/call/payment.d.ts +10 -0
  66. package/dist/schema/call/permission.d.ts +314 -304
  67. package/dist/schema/call/personal.d.ts +10 -0
  68. package/dist/schema/call/progress.d.ts +10 -0
  69. package/dist/schema/call/proof.d.ts +20 -0
  70. package/dist/schema/call/repository.d.ts +32 -22
  71. package/dist/schema/call/reward.d.ts +10 -0
  72. package/dist/schema/call/semantic.d.ts +9 -2
  73. package/dist/schema/call/semantic.js +617 -25
  74. package/dist/schema/call/service.d.ts +20 -10
  75. package/dist/schema/call/treasury.d.ts +10 -0
  76. package/dist/schema/config/index.d.ts +18 -0
  77. package/dist/schema/config/index.js +17 -0
  78. package/dist/schema/index.d.ts +6 -0
  79. package/dist/schema/index.js +5 -0
  80. package/dist/schema/local/index.d.ts +9 -9
  81. package/dist/schema/local/index.js +9 -0
  82. package/dist/schema/local/wip.d.ts +39 -19
  83. package/dist/schema/local/wip.js +5 -5
  84. package/dist/schema/messenger/index.d.ts +376 -55
  85. package/dist/schema/messenger/index.js +19 -19
  86. package/dist/schema/operations.d.ts +1881 -681
  87. package/dist/schema/operations.js +91 -96
  88. package/dist/schema/project/index.d.ts +21 -0
  89. package/dist/schema/project/index.js +32 -0
  90. package/dist/schema/query/index.d.ts +1074 -168
  91. package/dist/schema/query/index.js +8 -8
  92. package/dist/schema/schema-query/index.d.ts +33 -0
  93. package/dist/schema/schema-query/index.js +36 -0
  94. package/dist/schema/schema-version.d.ts +25 -0
  95. package/dist/schema/schema-version.js +76 -0
  96. package/dist/schema/trust/index.d.ts +407 -0
  97. package/dist/schema/trust/index.js +113 -0
  98. package/dist/schema/utils/guard-parser.js +4 -4
  99. package/dist/schema/utils/node-parser.js +14 -14
  100. package/dist/schemas/bridge_operation.output.json +233 -9
  101. package/dist/schemas/bridge_operation.schema.json +67 -8
  102. package/dist/schemas/config_operation.output.json +18 -0
  103. package/dist/schemas/config_operation.schema.json +34 -0
  104. package/dist/schemas/guard-node-schema.json +82 -0
  105. package/dist/schemas/guard2file.schema.json +8 -0
  106. package/dist/schemas/index.json +19 -1
  107. package/dist/schemas/machineNode2file.schema.json +8 -0
  108. package/dist/schemas/messenger_operation.output.json +236 -10
  109. package/dist/schemas/onchain_events.output.json +718 -0
  110. package/dist/schemas/onchain_operations.output.json +286 -11
  111. package/dist/schemas/onchain_operations.schema.json +19 -16
  112. package/dist/schemas/onchain_operations_allocation.schema.json +8 -0
  113. package/dist/schemas/onchain_operations_arbitration.schema.json +8 -0
  114. package/dist/schemas/onchain_operations_contact.schema.json +8 -0
  115. package/dist/schemas/onchain_operations_demand.schema.json +8 -0
  116. package/dist/schemas/onchain_operations_gen_passport.schema.json +16 -0
  117. package/dist/schemas/onchain_operations_guard.schema.json +11 -16
  118. package/dist/schemas/onchain_operations_machine.schema.json +8 -0
  119. package/dist/schemas/onchain_operations_order.schema.json +8 -0
  120. package/dist/schemas/onchain_operations_payment.schema.json +8 -0
  121. package/dist/schemas/onchain_operations_permission.schema.json +8 -0
  122. package/dist/schemas/onchain_operations_personal.schema.json +8 -0
  123. package/dist/schemas/onchain_operations_progress.schema.json +8 -0
  124. package/dist/schemas/onchain_operations_repository.schema.json +8 -0
  125. package/dist/schemas/onchain_operations_reward.schema.json +8 -0
  126. package/dist/schemas/onchain_operations_service.schema.json +8 -0
  127. package/dist/schemas/onchain_operations_treasury.schema.json +8 -0
  128. package/dist/schemas/onchain_table_data.output.json +718 -0
  129. package/dist/schemas/project_operation.output.json +18 -0
  130. package/dist/schemas/project_operation.schema.json +42 -0
  131. package/dist/schemas/query_toolkit.schema.json +360 -368
  132. package/dist/schemas/schema_query.schema.json +6 -3
  133. package/dist/schemas/trust_score.output.json +327 -0
  134. package/dist/schemas/trust_score.schema.json +46 -0
  135. package/dist/schemas/wip_file.output.json +24 -1
  136. 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 BridgeOperationTypeSchema: z.ZodEnum<["cross_chain_wow_to_evm", "cross_chain_evm_to_wow", "claim_wow_to_evm", "withdraw", "query_active_evm_account", "query_supported_evm_chains", "query_supported_tokens", "query_transfer_list", "query_transfer_status", "manage_evm_rpc"]>;
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;
@@ -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>>>;
@@ -184,6 +210,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
184
210
  confirmed: z.ZodOptional<z.ZodBoolean>;
185
211
  user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
186
212
  project: z.ZodOptional<z.ZodString>;
213
+ client_schema_version: z.ZodOptional<z.ZodString>;
214
+ schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
187
215
  }, "strict", z.ZodTypeAny, {
188
216
  account: string;
189
217
  no_cache?: boolean | undefined;
@@ -193,6 +221,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
193
221
  confirmed?: boolean | undefined;
194
222
  user_intent_phrases?: string[] | undefined;
195
223
  project?: string | undefined;
224
+ client_schema_version?: string | undefined;
225
+ schema_strict_mode?: boolean | undefined;
196
226
  }, {
197
227
  no_cache?: boolean | undefined;
198
228
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
@@ -202,12 +232,16 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
202
232
  confirmed?: boolean | undefined;
203
233
  user_intent_phrases?: string[] | undefined;
204
234
  project?: string | undefined;
235
+ client_schema_version?: string | undefined;
236
+ schema_strict_mode?: boolean | undefined;
205
237
  }>>;
206
238
  }, "strip", z.ZodTypeAny, {
207
239
  data: {
208
240
  amount: string;
209
241
  token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
210
242
  withdrawTo?: string | undefined;
243
+ idempotencyKey?: string | undefined;
244
+ idempotentByParams?: boolean | undefined;
211
245
  };
212
246
  operation_type: "cross_chain_wow_to_evm";
213
247
  env?: {
@@ -219,12 +253,16 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
219
253
  confirmed?: boolean | undefined;
220
254
  user_intent_phrases?: string[] | undefined;
221
255
  project?: string | undefined;
256
+ client_schema_version?: string | undefined;
257
+ schema_strict_mode?: boolean | undefined;
222
258
  } | undefined;
223
259
  }, {
224
260
  data: {
225
261
  amount: string;
226
262
  token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
227
263
  withdrawTo?: string | undefined;
264
+ idempotencyKey?: string | undefined;
265
+ idempotentByParams?: boolean | undefined;
228
266
  };
229
267
  operation_type: "cross_chain_wow_to_evm";
230
268
  env?: {
@@ -236,6 +274,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
236
274
  confirmed?: boolean | undefined;
237
275
  user_intent_phrases?: string[] | undefined;
238
276
  project?: string | undefined;
277
+ client_schema_version?: string | undefined;
278
+ schema_strict_mode?: boolean | undefined;
239
279
  } | undefined;
240
280
  }>, z.ZodObject<{
241
281
  operation_type: z.ZodLiteral<"cross_chain_evm_to_wow">;
@@ -243,13 +283,19 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
243
283
  token: z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>;
244
284
  amount: z.ZodString;
245
285
  recipientWowAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
286
+ idempotencyKey: z.ZodOptional<z.ZodString>;
287
+ idempotentByParams: z.ZodOptional<z.ZodBoolean>;
246
288
  }, "strict", z.ZodTypeAny, {
247
289
  amount: string;
248
290
  token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
291
+ idempotencyKey?: string | undefined;
292
+ idempotentByParams?: boolean | undefined;
249
293
  recipientWowAddress?: string | undefined;
250
294
  }, {
251
295
  amount: string;
252
296
  token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
297
+ idempotencyKey?: string | undefined;
298
+ idempotentByParams?: boolean | undefined;
253
299
  recipientWowAddress?: string | undefined;
254
300
  }>;
255
301
  env: z.ZodOptional<z.ZodObject<{
@@ -261,6 +307,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
261
307
  confirmed: z.ZodOptional<z.ZodBoolean>;
262
308
  user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
263
309
  project: z.ZodOptional<z.ZodString>;
310
+ client_schema_version: z.ZodOptional<z.ZodString>;
311
+ schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
264
312
  }, "strict", z.ZodTypeAny, {
265
313
  account: string;
266
314
  no_cache?: boolean | undefined;
@@ -270,6 +318,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
270
318
  confirmed?: boolean | undefined;
271
319
  user_intent_phrases?: string[] | undefined;
272
320
  project?: string | undefined;
321
+ client_schema_version?: string | undefined;
322
+ schema_strict_mode?: boolean | undefined;
273
323
  }, {
274
324
  no_cache?: boolean | undefined;
275
325
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
@@ -279,11 +329,15 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
279
329
  confirmed?: boolean | undefined;
280
330
  user_intent_phrases?: string[] | undefined;
281
331
  project?: string | undefined;
332
+ client_schema_version?: string | undefined;
333
+ schema_strict_mode?: boolean | undefined;
282
334
  }>>;
283
335
  }, "strip", z.ZodTypeAny, {
284
336
  data: {
285
337
  amount: string;
286
338
  token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
339
+ idempotencyKey?: string | undefined;
340
+ idempotentByParams?: boolean | undefined;
287
341
  recipientWowAddress?: string | undefined;
288
342
  };
289
343
  operation_type: "cross_chain_evm_to_wow";
@@ -296,11 +350,15 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
296
350
  confirmed?: boolean | undefined;
297
351
  user_intent_phrases?: string[] | undefined;
298
352
  project?: string | undefined;
353
+ client_schema_version?: string | undefined;
354
+ schema_strict_mode?: boolean | undefined;
299
355
  } | undefined;
300
356
  }, {
301
357
  data: {
302
358
  amount: string;
303
359
  token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
360
+ idempotencyKey?: string | undefined;
361
+ idempotentByParams?: boolean | undefined;
304
362
  recipientWowAddress?: string | undefined;
305
363
  };
306
364
  operation_type: "cross_chain_evm_to_wow";
@@ -313,6 +371,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
313
371
  confirmed?: boolean | undefined;
314
372
  user_intent_phrases?: string[] | undefined;
315
373
  project?: string | undefined;
374
+ client_schema_version?: string | undefined;
375
+ schema_strict_mode?: boolean | undefined;
316
376
  } | undefined;
317
377
  }>, z.ZodObject<{
318
378
  operation_type: z.ZodLiteral<"claim_wow_to_evm">;
@@ -332,6 +392,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
332
392
  confirmed: z.ZodOptional<z.ZodBoolean>;
333
393
  user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
334
394
  project: z.ZodOptional<z.ZodString>;
395
+ client_schema_version: z.ZodOptional<z.ZodString>;
396
+ schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
335
397
  }, "strict", z.ZodTypeAny, {
336
398
  account: string;
337
399
  no_cache?: boolean | undefined;
@@ -341,6 +403,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
341
403
  confirmed?: boolean | undefined;
342
404
  user_intent_phrases?: string[] | undefined;
343
405
  project?: string | undefined;
406
+ client_schema_version?: string | undefined;
407
+ schema_strict_mode?: boolean | undefined;
344
408
  }, {
345
409
  no_cache?: boolean | undefined;
346
410
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
@@ -350,6 +414,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
350
414
  confirmed?: boolean | undefined;
351
415
  user_intent_phrases?: string[] | undefined;
352
416
  project?: string | undefined;
417
+ client_schema_version?: string | undefined;
418
+ schema_strict_mode?: boolean | undefined;
353
419
  }>>;
354
420
  }, "strip", z.ZodTypeAny, {
355
421
  data: {
@@ -365,6 +431,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
365
431
  confirmed?: boolean | undefined;
366
432
  user_intent_phrases?: string[] | undefined;
367
433
  project?: string | undefined;
434
+ client_schema_version?: string | undefined;
435
+ schema_strict_mode?: boolean | undefined;
368
436
  } | undefined;
369
437
  }, {
370
438
  data: {
@@ -380,6 +448,85 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
380
448
  confirmed?: boolean | undefined;
381
449
  user_intent_phrases?: string[] | undefined;
382
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;
383
530
  } | undefined;
384
531
  }>, z.ZodObject<{
385
532
  operation_type: z.ZodLiteral<"withdraw">;
@@ -641,6 +788,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
641
788
  amount: string;
642
789
  token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
643
790
  withdrawTo?: string | undefined;
791
+ idempotencyKey?: string | undefined;
792
+ idempotentByParams?: boolean | undefined;
644
793
  };
645
794
  operation_type: "cross_chain_wow_to_evm";
646
795
  env?: {
@@ -652,11 +801,15 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
652
801
  confirmed?: boolean | undefined;
653
802
  user_intent_phrases?: string[] | undefined;
654
803
  project?: string | undefined;
804
+ client_schema_version?: string | undefined;
805
+ schema_strict_mode?: boolean | undefined;
655
806
  } | undefined;
656
807
  } | {
657
808
  data: {
658
809
  amount: string;
659
810
  token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
811
+ idempotencyKey?: string | undefined;
812
+ idempotentByParams?: boolean | undefined;
660
813
  recipientWowAddress?: string | undefined;
661
814
  };
662
815
  operation_type: "cross_chain_evm_to_wow";
@@ -669,6 +822,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
669
822
  confirmed?: boolean | undefined;
670
823
  user_intent_phrases?: string[] | undefined;
671
824
  project?: string | undefined;
825
+ client_schema_version?: string | undefined;
826
+ schema_strict_mode?: boolean | undefined;
672
827
  } | undefined;
673
828
  } | {
674
829
  data: {
@@ -684,6 +839,25 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
684
839
  confirmed?: boolean | undefined;
685
840
  user_intent_phrases?: string[] | undefined;
686
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;
687
861
  } | undefined;
688
862
  } | {
689
863
  data: {
@@ -765,6 +939,7 @@ export declare const BridgeLatestStateSchema: z.ZodObject<{
765
939
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
766
940
  error?: string | undefined;
767
941
  updatedAt?: number | undefined;
942
+ hint?: string | undefined;
768
943
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
769
944
  stepDescription?: string | undefined;
770
945
  sourceTxHash?: string | undefined;
@@ -774,12 +949,12 @@ export declare const BridgeLatestStateSchema: z.ZodObject<{
774
949
  claimReceipt?: any;
775
950
  ethReceipt?: any;
776
951
  wowReceipt?: any;
777
- hint?: string | undefined;
778
952
  }, {
779
953
  status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
780
954
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
781
955
  error?: string | undefined;
782
956
  updatedAt?: number | undefined;
957
+ hint?: string | undefined;
783
958
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
784
959
  stepDescription?: string | undefined;
785
960
  sourceTxHash?: string | undefined;
@@ -789,7 +964,6 @@ export declare const BridgeLatestStateSchema: z.ZodObject<{
789
964
  claimReceipt?: any;
790
965
  ethReceipt?: any;
791
966
  wowReceipt?: any;
792
- hint?: string | undefined;
793
967
  }>;
794
968
  export declare const BridgeTransferRecordSchema: z.ZodObject<{
795
969
  transferId: z.ZodString;
@@ -799,6 +973,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
799
973
  recipientEth: z.ZodOptional<z.ZodString>;
800
974
  recipientWow: z.ZodOptional<z.ZodString>;
801
975
  intermediateEthAccount: z.ZodString;
976
+ idempotencyKey: z.ZodOptional<z.ZodString>;
802
977
  step: z.ZodEnum<["init", "deposit", "claimed", "withdraw", "withdrawn"]>;
803
978
  status: z.ZodEnum<["pending", "in_progress", "success", "failed"]>;
804
979
  depositTxHash: z.ZodOptional<z.ZodString>;
@@ -830,6 +1005,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
830
1005
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
831
1006
  error?: string | undefined;
832
1007
  updatedAt?: number | undefined;
1008
+ hint?: string | undefined;
833
1009
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
834
1010
  stepDescription?: string | undefined;
835
1011
  sourceTxHash?: string | undefined;
@@ -839,12 +1015,12 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
839
1015
  claimReceipt?: any;
840
1016
  ethReceipt?: any;
841
1017
  wowReceipt?: any;
842
- hint?: string | undefined;
843
1018
  }, {
844
1019
  status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
845
1020
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
846
1021
  error?: string | undefined;
847
1022
  updatedAt?: number | undefined;
1023
+ hint?: string | undefined;
848
1024
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
849
1025
  stepDescription?: string | undefined;
850
1026
  sourceTxHash?: string | undefined;
@@ -854,7 +1030,6 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
854
1030
  claimReceipt?: any;
855
1031
  ethReceipt?: any;
856
1032
  wowReceipt?: any;
857
- hint?: string | undefined;
858
1033
  }>>;
859
1034
  }, "strict", z.ZodTypeAny, {
860
1035
  status: "success" | "in_progress" | "failed" | "pending";
@@ -867,6 +1042,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
867
1042
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
868
1043
  intermediateEthAccount: string;
869
1044
  error?: string | undefined;
1045
+ idempotencyKey?: string | undefined;
870
1046
  bridgeSeq?: string | undefined;
871
1047
  claimTxDigest?: string | undefined;
872
1048
  recipientEth?: string | undefined;
@@ -880,6 +1056,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
880
1056
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
881
1057
  error?: string | undefined;
882
1058
  updatedAt?: number | undefined;
1059
+ hint?: string | undefined;
883
1060
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
884
1061
  stepDescription?: string | undefined;
885
1062
  sourceTxHash?: string | undefined;
@@ -889,7 +1066,6 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
889
1066
  claimReceipt?: any;
890
1067
  ethReceipt?: any;
891
1068
  wowReceipt?: any;
892
- hint?: string | undefined;
893
1069
  } | undefined;
894
1070
  }, {
895
1071
  status: "success" | "in_progress" | "failed" | "pending";
@@ -902,6 +1078,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
902
1078
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
903
1079
  intermediateEthAccount: string;
904
1080
  error?: string | undefined;
1081
+ idempotencyKey?: string | undefined;
905
1082
  bridgeSeq?: string | undefined;
906
1083
  claimTxDigest?: string | undefined;
907
1084
  recipientEth?: string | undefined;
@@ -915,6 +1092,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
915
1092
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
916
1093
  error?: string | undefined;
917
1094
  updatedAt?: number | undefined;
1095
+ hint?: string | undefined;
918
1096
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
919
1097
  stepDescription?: string | undefined;
920
1098
  sourceTxHash?: string | undefined;
@@ -924,7 +1102,6 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
924
1102
  claimReceipt?: any;
925
1103
  ethReceipt?: any;
926
1104
  wowReceipt?: any;
927
- hint?: string | undefined;
928
1105
  } | undefined;
929
1106
  }>;
930
1107
  export declare const BridgeWowToEvmResultSchema: z.ZodObject<{
@@ -932,29 +1109,41 @@ export declare const BridgeWowToEvmResultSchema: z.ZodObject<{
932
1109
  bridgeSeq: z.ZodString;
933
1110
  activeEvmAccount: z.ZodString;
934
1111
  transferId: z.ZodString;
1112
+ idempotentHit: z.ZodOptional<z.ZodBoolean>;
1113
+ idempotencyKey: z.ZodOptional<z.ZodString>;
935
1114
  }, "strict", z.ZodTypeAny, {
936
1115
  transferId: string;
937
1116
  bridgeSeq: string;
938
1117
  depositTxDigest: string;
939
1118
  activeEvmAccount: string;
1119
+ idempotencyKey?: string | undefined;
1120
+ idempotentHit?: boolean | undefined;
940
1121
  }, {
941
1122
  transferId: string;
942
1123
  bridgeSeq: string;
943
1124
  depositTxDigest: string;
944
1125
  activeEvmAccount: string;
1126
+ idempotencyKey?: string | undefined;
1127
+ idempotentHit?: boolean | undefined;
945
1128
  }>;
946
1129
  export declare const BridgeEvmToWowResultSchema: z.ZodObject<{
947
1130
  depositTxHash: z.ZodString;
948
1131
  activeEvmAccount: z.ZodString;
949
1132
  transferId: z.ZodString;
1133
+ idempotentHit: z.ZodOptional<z.ZodBoolean>;
1134
+ idempotencyKey: z.ZodOptional<z.ZodString>;
950
1135
  }, "strict", z.ZodTypeAny, {
951
1136
  transferId: string;
952
1137
  depositTxHash: string;
953
1138
  activeEvmAccount: string;
1139
+ idempotencyKey?: string | undefined;
1140
+ idempotentHit?: boolean | undefined;
954
1141
  }, {
955
1142
  transferId: string;
956
1143
  depositTxHash: string;
957
1144
  activeEvmAccount: string;
1145
+ idempotencyKey?: string | undefined;
1146
+ idempotentHit?: boolean | undefined;
958
1147
  }>;
959
1148
  export declare const BridgeClaimWowToEvmResultSchema: z.ZodObject<{
960
1149
  claimTxHash: z.ZodString;
@@ -1121,6 +1310,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
1121
1310
  recipientEth: z.ZodOptional<z.ZodString>;
1122
1311
  recipientWow: z.ZodOptional<z.ZodString>;
1123
1312
  intermediateEthAccount: z.ZodString;
1313
+ idempotencyKey: z.ZodOptional<z.ZodString>;
1124
1314
  step: z.ZodEnum<["init", "deposit", "claimed", "withdraw", "withdrawn"]>;
1125
1315
  status: z.ZodEnum<["pending", "in_progress", "success", "failed"]>;
1126
1316
  depositTxHash: z.ZodOptional<z.ZodString>;
@@ -1152,6 +1342,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
1152
1342
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1153
1343
  error?: string | undefined;
1154
1344
  updatedAt?: number | undefined;
1345
+ hint?: string | undefined;
1155
1346
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1156
1347
  stepDescription?: string | undefined;
1157
1348
  sourceTxHash?: string | undefined;
@@ -1161,12 +1352,12 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
1161
1352
  claimReceipt?: any;
1162
1353
  ethReceipt?: any;
1163
1354
  wowReceipt?: any;
1164
- hint?: string | undefined;
1165
1355
  }, {
1166
1356
  status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1167
1357
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1168
1358
  error?: string | undefined;
1169
1359
  updatedAt?: number | undefined;
1360
+ hint?: string | undefined;
1170
1361
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1171
1362
  stepDescription?: string | undefined;
1172
1363
  sourceTxHash?: string | undefined;
@@ -1176,7 +1367,6 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
1176
1367
  claimReceipt?: any;
1177
1368
  ethReceipt?: any;
1178
1369
  wowReceipt?: any;
1179
- hint?: string | undefined;
1180
1370
  }>>;
1181
1371
  }, "strict", z.ZodTypeAny, {
1182
1372
  status: "success" | "in_progress" | "failed" | "pending";
@@ -1189,6 +1379,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
1189
1379
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
1190
1380
  intermediateEthAccount: string;
1191
1381
  error?: string | undefined;
1382
+ idempotencyKey?: string | undefined;
1192
1383
  bridgeSeq?: string | undefined;
1193
1384
  claimTxDigest?: string | undefined;
1194
1385
  recipientEth?: string | undefined;
@@ -1202,6 +1393,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
1202
1393
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1203
1394
  error?: string | undefined;
1204
1395
  updatedAt?: number | undefined;
1396
+ hint?: string | undefined;
1205
1397
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1206
1398
  stepDescription?: string | undefined;
1207
1399
  sourceTxHash?: string | undefined;
@@ -1211,7 +1403,6 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
1211
1403
  claimReceipt?: any;
1212
1404
  ethReceipt?: any;
1213
1405
  wowReceipt?: any;
1214
- hint?: string | undefined;
1215
1406
  } | undefined;
1216
1407
  }, {
1217
1408
  status: "success" | "in_progress" | "failed" | "pending";
@@ -1224,6 +1415,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
1224
1415
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
1225
1416
  intermediateEthAccount: string;
1226
1417
  error?: string | undefined;
1418
+ idempotencyKey?: string | undefined;
1227
1419
  bridgeSeq?: string | undefined;
1228
1420
  claimTxDigest?: string | undefined;
1229
1421
  recipientEth?: string | undefined;
@@ -1237,6 +1429,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
1237
1429
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1238
1430
  error?: string | undefined;
1239
1431
  updatedAt?: number | undefined;
1432
+ hint?: string | undefined;
1240
1433
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1241
1434
  stepDescription?: string | undefined;
1242
1435
  sourceTxHash?: string | undefined;
@@ -1246,7 +1439,6 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
1246
1439
  claimReceipt?: any;
1247
1440
  ethReceipt?: any;
1248
1441
  wowReceipt?: any;
1249
- hint?: string | undefined;
1250
1442
  } | undefined;
1251
1443
  }>, "many">;
1252
1444
  export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodObject<{
@@ -1257,6 +1449,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
1257
1449
  recipientEth: z.ZodOptional<z.ZodString>;
1258
1450
  recipientWow: z.ZodOptional<z.ZodString>;
1259
1451
  intermediateEthAccount: z.ZodString;
1452
+ idempotencyKey: z.ZodOptional<z.ZodString>;
1260
1453
  step: z.ZodEnum<["init", "deposit", "claimed", "withdraw", "withdrawn"]>;
1261
1454
  status: z.ZodEnum<["pending", "in_progress", "success", "failed"]>;
1262
1455
  depositTxHash: z.ZodOptional<z.ZodString>;
@@ -1288,6 +1481,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
1288
1481
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1289
1482
  error?: string | undefined;
1290
1483
  updatedAt?: number | undefined;
1484
+ hint?: string | undefined;
1291
1485
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1292
1486
  stepDescription?: string | undefined;
1293
1487
  sourceTxHash?: string | undefined;
@@ -1297,12 +1491,12 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
1297
1491
  claimReceipt?: any;
1298
1492
  ethReceipt?: any;
1299
1493
  wowReceipt?: any;
1300
- hint?: string | undefined;
1301
1494
  }, {
1302
1495
  status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1303
1496
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1304
1497
  error?: string | undefined;
1305
1498
  updatedAt?: number | undefined;
1499
+ hint?: string | undefined;
1306
1500
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1307
1501
  stepDescription?: string | undefined;
1308
1502
  sourceTxHash?: string | undefined;
@@ -1312,7 +1506,6 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
1312
1506
  claimReceipt?: any;
1313
1507
  ethReceipt?: any;
1314
1508
  wowReceipt?: any;
1315
- hint?: string | undefined;
1316
1509
  }>>;
1317
1510
  }, "strict", z.ZodTypeAny, {
1318
1511
  status: "success" | "in_progress" | "failed" | "pending";
@@ -1325,6 +1518,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
1325
1518
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
1326
1519
  intermediateEthAccount: string;
1327
1520
  error?: string | undefined;
1521
+ idempotencyKey?: string | undefined;
1328
1522
  bridgeSeq?: string | undefined;
1329
1523
  claimTxDigest?: string | undefined;
1330
1524
  recipientEth?: string | undefined;
@@ -1338,6 +1532,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
1338
1532
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1339
1533
  error?: string | undefined;
1340
1534
  updatedAt?: number | undefined;
1535
+ hint?: string | undefined;
1341
1536
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1342
1537
  stepDescription?: string | undefined;
1343
1538
  sourceTxHash?: string | undefined;
@@ -1347,7 +1542,6 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
1347
1542
  claimReceipt?: any;
1348
1543
  ethReceipt?: any;
1349
1544
  wowReceipt?: any;
1350
- hint?: string | undefined;
1351
1545
  } | undefined;
1352
1546
  }, {
1353
1547
  status: "success" | "in_progress" | "failed" | "pending";
@@ -1360,6 +1554,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
1360
1554
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
1361
1555
  intermediateEthAccount: string;
1362
1556
  error?: string | undefined;
1557
+ idempotencyKey?: string | undefined;
1363
1558
  bridgeSeq?: string | undefined;
1364
1559
  claimTxDigest?: string | undefined;
1365
1560
  recipientEth?: string | undefined;
@@ -1373,6 +1568,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
1373
1568
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1374
1569
  error?: string | undefined;
1375
1570
  updatedAt?: number | undefined;
1571
+ hint?: string | undefined;
1376
1572
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1377
1573
  stepDescription?: string | undefined;
1378
1574
  sourceTxHash?: string | undefined;
@@ -1382,7 +1578,6 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
1382
1578
  claimReceipt?: any;
1383
1579
  ethReceipt?: any;
1384
1580
  wowReceipt?: any;
1385
- hint?: string | undefined;
1386
1581
  } | undefined;
1387
1582
  }>>;
1388
1583
  export declare const BridgeManageEvmRpcResultSchema: z.ZodObject<{
@@ -1405,16 +1600,22 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1405
1600
  bridgeSeq: z.ZodString;
1406
1601
  activeEvmAccount: z.ZodString;
1407
1602
  transferId: z.ZodString;
1603
+ idempotentHit: z.ZodOptional<z.ZodBoolean>;
1604
+ idempotencyKey: z.ZodOptional<z.ZodString>;
1408
1605
  }, "strict", z.ZodTypeAny, {
1409
1606
  transferId: string;
1410
1607
  bridgeSeq: string;
1411
1608
  depositTxDigest: string;
1412
1609
  activeEvmAccount: string;
1610
+ idempotencyKey?: string | undefined;
1611
+ idempotentHit?: boolean | undefined;
1413
1612
  }, {
1414
1613
  transferId: string;
1415
1614
  bridgeSeq: string;
1416
1615
  depositTxDigest: string;
1417
1616
  activeEvmAccount: string;
1617
+ idempotencyKey?: string | undefined;
1618
+ idempotentHit?: boolean | undefined;
1418
1619
  }>;
1419
1620
  message: z.ZodOptional<z.ZodString>;
1420
1621
  }, "strip", z.ZodTypeAny, {
@@ -1423,6 +1624,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1423
1624
  bridgeSeq: string;
1424
1625
  depositTxDigest: string;
1425
1626
  activeEvmAccount: string;
1627
+ idempotencyKey?: string | undefined;
1628
+ idempotentHit?: boolean | undefined;
1426
1629
  };
1427
1630
  operation_type: "cross_chain_wow_to_evm";
1428
1631
  message?: string | undefined;
@@ -1432,6 +1635,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1432
1635
  bridgeSeq: string;
1433
1636
  depositTxDigest: string;
1434
1637
  activeEvmAccount: string;
1638
+ idempotencyKey?: string | undefined;
1639
+ idempotentHit?: boolean | undefined;
1435
1640
  };
1436
1641
  operation_type: "cross_chain_wow_to_evm";
1437
1642
  message?: string | undefined;
@@ -1441,14 +1646,20 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1441
1646
  depositTxHash: z.ZodString;
1442
1647
  activeEvmAccount: z.ZodString;
1443
1648
  transferId: z.ZodString;
1649
+ idempotentHit: z.ZodOptional<z.ZodBoolean>;
1650
+ idempotencyKey: z.ZodOptional<z.ZodString>;
1444
1651
  }, "strict", z.ZodTypeAny, {
1445
1652
  transferId: string;
1446
1653
  depositTxHash: string;
1447
1654
  activeEvmAccount: string;
1655
+ idempotencyKey?: string | undefined;
1656
+ idempotentHit?: boolean | undefined;
1448
1657
  }, {
1449
1658
  transferId: string;
1450
1659
  depositTxHash: string;
1451
1660
  activeEvmAccount: string;
1661
+ idempotencyKey?: string | undefined;
1662
+ idempotentHit?: boolean | undefined;
1452
1663
  }>;
1453
1664
  message: z.ZodOptional<z.ZodString>;
1454
1665
  }, "strip", z.ZodTypeAny, {
@@ -1456,6 +1667,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1456
1667
  transferId: string;
1457
1668
  depositTxHash: string;
1458
1669
  activeEvmAccount: string;
1670
+ idempotencyKey?: string | undefined;
1671
+ idempotentHit?: boolean | undefined;
1459
1672
  };
1460
1673
  operation_type: "cross_chain_evm_to_wow";
1461
1674
  message?: string | undefined;
@@ -1464,6 +1677,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1464
1677
  transferId: string;
1465
1678
  depositTxHash: string;
1466
1679
  activeEvmAccount: string;
1680
+ idempotencyKey?: string | undefined;
1681
+ idempotentHit?: boolean | undefined;
1467
1682
  };
1468
1683
  operation_type: "cross_chain_evm_to_wow";
1469
1684
  message?: string | undefined;
@@ -1494,6 +1709,228 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1494
1709
  };
1495
1710
  operation_type: "claim_wow_to_evm";
1496
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
+ hint?: string | undefined;
1755
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1756
+ stepDescription?: string | undefined;
1757
+ sourceTxHash?: string | undefined;
1758
+ bridgeSeq?: string | undefined;
1759
+ confirmations?: number | undefined;
1760
+ claimTxDigest?: string | undefined;
1761
+ claimReceipt?: any;
1762
+ ethReceipt?: any;
1763
+ wowReceipt?: any;
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
+ hint?: string | undefined;
1770
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1771
+ stepDescription?: string | undefined;
1772
+ sourceTxHash?: string | undefined;
1773
+ bridgeSeq?: string | undefined;
1774
+ confirmations?: number | undefined;
1775
+ claimTxDigest?: string | undefined;
1776
+ claimReceipt?: any;
1777
+ ethReceipt?: any;
1778
+ wowReceipt?: any;
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
+ hint?: string | undefined;
1806
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1807
+ stepDescription?: string | undefined;
1808
+ sourceTxHash?: string | undefined;
1809
+ bridgeSeq?: string | undefined;
1810
+ confirmations?: number | undefined;
1811
+ claimTxDigest?: string | undefined;
1812
+ claimReceipt?: any;
1813
+ ethReceipt?: any;
1814
+ wowReceipt?: any;
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
+ hint?: string | undefined;
1842
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1843
+ stepDescription?: string | undefined;
1844
+ sourceTxHash?: string | undefined;
1845
+ bridgeSeq?: string | undefined;
1846
+ confirmations?: number | undefined;
1847
+ claimTxDigest?: string | undefined;
1848
+ claimReceipt?: any;
1849
+ ethReceipt?: any;
1850
+ wowReceipt?: any;
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
+ hint?: string | undefined;
1881
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1882
+ stepDescription?: string | undefined;
1883
+ sourceTxHash?: string | undefined;
1884
+ bridgeSeq?: string | undefined;
1885
+ confirmations?: number | undefined;
1886
+ claimTxDigest?: string | undefined;
1887
+ claimReceipt?: any;
1888
+ ethReceipt?: any;
1889
+ wowReceipt?: any;
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
+ hint?: string | undefined;
1921
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1922
+ stepDescription?: string | undefined;
1923
+ sourceTxHash?: string | undefined;
1924
+ bridgeSeq?: string | undefined;
1925
+ confirmations?: number | undefined;
1926
+ claimTxDigest?: string | undefined;
1927
+ claimReceipt?: any;
1928
+ ethReceipt?: any;
1929
+ wowReceipt?: any;
1930
+ } | undefined;
1931
+ };
1932
+ operation_type: "resume_transfer";
1933
+ message?: string | undefined;
1497
1934
  }>, z.ZodObject<{
1498
1935
  operation_type: z.ZodLiteral<"withdraw">;
1499
1936
  result: z.ZodObject<{
@@ -1765,6 +2202,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1765
2202
  recipientEth: z.ZodOptional<z.ZodString>;
1766
2203
  recipientWow: z.ZodOptional<z.ZodString>;
1767
2204
  intermediateEthAccount: z.ZodString;
2205
+ idempotencyKey: z.ZodOptional<z.ZodString>;
1768
2206
  step: z.ZodEnum<["init", "deposit", "claimed", "withdraw", "withdrawn"]>;
1769
2207
  status: z.ZodEnum<["pending", "in_progress", "success", "failed"]>;
1770
2208
  depositTxHash: z.ZodOptional<z.ZodString>;
@@ -1796,6 +2234,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1796
2234
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1797
2235
  error?: string | undefined;
1798
2236
  updatedAt?: number | undefined;
2237
+ hint?: string | undefined;
1799
2238
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1800
2239
  stepDescription?: string | undefined;
1801
2240
  sourceTxHash?: string | undefined;
@@ -1805,12 +2244,12 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1805
2244
  claimReceipt?: any;
1806
2245
  ethReceipt?: any;
1807
2246
  wowReceipt?: any;
1808
- hint?: string | undefined;
1809
2247
  }, {
1810
2248
  status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1811
2249
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1812
2250
  error?: string | undefined;
1813
2251
  updatedAt?: number | undefined;
2252
+ hint?: string | undefined;
1814
2253
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1815
2254
  stepDescription?: string | undefined;
1816
2255
  sourceTxHash?: string | undefined;
@@ -1820,7 +2259,6 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1820
2259
  claimReceipt?: any;
1821
2260
  ethReceipt?: any;
1822
2261
  wowReceipt?: any;
1823
- hint?: string | undefined;
1824
2262
  }>>;
1825
2263
  }, "strict", z.ZodTypeAny, {
1826
2264
  status: "success" | "in_progress" | "failed" | "pending";
@@ -1833,6 +2271,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1833
2271
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
1834
2272
  intermediateEthAccount: string;
1835
2273
  error?: string | undefined;
2274
+ idempotencyKey?: string | undefined;
1836
2275
  bridgeSeq?: string | undefined;
1837
2276
  claimTxDigest?: string | undefined;
1838
2277
  recipientEth?: string | undefined;
@@ -1846,6 +2285,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1846
2285
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1847
2286
  error?: string | undefined;
1848
2287
  updatedAt?: number | undefined;
2288
+ hint?: string | undefined;
1849
2289
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1850
2290
  stepDescription?: string | undefined;
1851
2291
  sourceTxHash?: string | undefined;
@@ -1855,7 +2295,6 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1855
2295
  claimReceipt?: any;
1856
2296
  ethReceipt?: any;
1857
2297
  wowReceipt?: any;
1858
- hint?: string | undefined;
1859
2298
  } | undefined;
1860
2299
  }, {
1861
2300
  status: "success" | "in_progress" | "failed" | "pending";
@@ -1868,6 +2307,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1868
2307
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
1869
2308
  intermediateEthAccount: string;
1870
2309
  error?: string | undefined;
2310
+ idempotencyKey?: string | undefined;
1871
2311
  bridgeSeq?: string | undefined;
1872
2312
  claimTxDigest?: string | undefined;
1873
2313
  recipientEth?: string | undefined;
@@ -1881,6 +2321,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1881
2321
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1882
2322
  error?: string | undefined;
1883
2323
  updatedAt?: number | undefined;
2324
+ hint?: string | undefined;
1884
2325
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1885
2326
  stepDescription?: string | undefined;
1886
2327
  sourceTxHash?: string | undefined;
@@ -1890,7 +2331,6 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1890
2331
  claimReceipt?: any;
1891
2332
  ethReceipt?: any;
1892
2333
  wowReceipt?: any;
1893
- hint?: string | undefined;
1894
2334
  } | undefined;
1895
2335
  }>, "many">;
1896
2336
  message: z.ZodOptional<z.ZodString>;
@@ -1906,6 +2346,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1906
2346
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
1907
2347
  intermediateEthAccount: string;
1908
2348
  error?: string | undefined;
2349
+ idempotencyKey?: string | undefined;
1909
2350
  bridgeSeq?: string | undefined;
1910
2351
  claimTxDigest?: string | undefined;
1911
2352
  recipientEth?: string | undefined;
@@ -1919,6 +2360,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1919
2360
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1920
2361
  error?: string | undefined;
1921
2362
  updatedAt?: number | undefined;
2363
+ hint?: string | undefined;
1922
2364
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1923
2365
  stepDescription?: string | undefined;
1924
2366
  sourceTxHash?: string | undefined;
@@ -1928,7 +2370,6 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1928
2370
  claimReceipt?: any;
1929
2371
  ethReceipt?: any;
1930
2372
  wowReceipt?: any;
1931
- hint?: string | undefined;
1932
2373
  } | undefined;
1933
2374
  }[];
1934
2375
  operation_type: "query_transfer_list";
@@ -1945,6 +2386,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1945
2386
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
1946
2387
  intermediateEthAccount: string;
1947
2388
  error?: string | undefined;
2389
+ idempotencyKey?: string | undefined;
1948
2390
  bridgeSeq?: string | undefined;
1949
2391
  claimTxDigest?: string | undefined;
1950
2392
  recipientEth?: string | undefined;
@@ -1958,6 +2400,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1958
2400
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1959
2401
  error?: string | undefined;
1960
2402
  updatedAt?: number | undefined;
2403
+ hint?: string | undefined;
1961
2404
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1962
2405
  stepDescription?: string | undefined;
1963
2406
  sourceTxHash?: string | undefined;
@@ -1967,7 +2410,6 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1967
2410
  claimReceipt?: any;
1968
2411
  ethReceipt?: any;
1969
2412
  wowReceipt?: any;
1970
- hint?: string | undefined;
1971
2413
  } | undefined;
1972
2414
  }[];
1973
2415
  operation_type: "query_transfer_list";
@@ -1982,6 +2424,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1982
2424
  recipientEth: z.ZodOptional<z.ZodString>;
1983
2425
  recipientWow: z.ZodOptional<z.ZodString>;
1984
2426
  intermediateEthAccount: z.ZodString;
2427
+ idempotencyKey: z.ZodOptional<z.ZodString>;
1985
2428
  step: z.ZodEnum<["init", "deposit", "claimed", "withdraw", "withdrawn"]>;
1986
2429
  status: z.ZodEnum<["pending", "in_progress", "success", "failed"]>;
1987
2430
  depositTxHash: z.ZodOptional<z.ZodString>;
@@ -2013,6 +2456,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2013
2456
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2014
2457
  error?: string | undefined;
2015
2458
  updatedAt?: number | undefined;
2459
+ hint?: string | undefined;
2016
2460
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
2017
2461
  stepDescription?: string | undefined;
2018
2462
  sourceTxHash?: string | undefined;
@@ -2022,12 +2466,12 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2022
2466
  claimReceipt?: any;
2023
2467
  ethReceipt?: any;
2024
2468
  wowReceipt?: any;
2025
- hint?: string | undefined;
2026
2469
  }, {
2027
2470
  status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
2028
2471
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2029
2472
  error?: string | undefined;
2030
2473
  updatedAt?: number | undefined;
2474
+ hint?: string | undefined;
2031
2475
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
2032
2476
  stepDescription?: string | undefined;
2033
2477
  sourceTxHash?: string | undefined;
@@ -2037,7 +2481,6 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2037
2481
  claimReceipt?: any;
2038
2482
  ethReceipt?: any;
2039
2483
  wowReceipt?: any;
2040
- hint?: string | undefined;
2041
2484
  }>>;
2042
2485
  }, "strict", z.ZodTypeAny, {
2043
2486
  status: "success" | "in_progress" | "failed" | "pending";
@@ -2050,6 +2493,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2050
2493
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
2051
2494
  intermediateEthAccount: string;
2052
2495
  error?: string | undefined;
2496
+ idempotencyKey?: string | undefined;
2053
2497
  bridgeSeq?: string | undefined;
2054
2498
  claimTxDigest?: string | undefined;
2055
2499
  recipientEth?: string | undefined;
@@ -2063,6 +2507,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2063
2507
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2064
2508
  error?: string | undefined;
2065
2509
  updatedAt?: number | undefined;
2510
+ hint?: string | undefined;
2066
2511
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
2067
2512
  stepDescription?: string | undefined;
2068
2513
  sourceTxHash?: string | undefined;
@@ -2072,7 +2517,6 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2072
2517
  claimReceipt?: any;
2073
2518
  ethReceipt?: any;
2074
2519
  wowReceipt?: any;
2075
- hint?: string | undefined;
2076
2520
  } | undefined;
2077
2521
  }, {
2078
2522
  status: "success" | "in_progress" | "failed" | "pending";
@@ -2085,6 +2529,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2085
2529
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
2086
2530
  intermediateEthAccount: string;
2087
2531
  error?: string | undefined;
2532
+ idempotencyKey?: string | undefined;
2088
2533
  bridgeSeq?: string | undefined;
2089
2534
  claimTxDigest?: string | undefined;
2090
2535
  recipientEth?: string | undefined;
@@ -2098,6 +2543,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2098
2543
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2099
2544
  error?: string | undefined;
2100
2545
  updatedAt?: number | undefined;
2546
+ hint?: string | undefined;
2101
2547
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
2102
2548
  stepDescription?: string | undefined;
2103
2549
  sourceTxHash?: string | undefined;
@@ -2107,7 +2553,6 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2107
2553
  claimReceipt?: any;
2108
2554
  ethReceipt?: any;
2109
2555
  wowReceipt?: any;
2110
- hint?: string | undefined;
2111
2556
  } | undefined;
2112
2557
  }>>;
2113
2558
  message: z.ZodOptional<z.ZodString>;
@@ -2123,6 +2568,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2123
2568
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
2124
2569
  intermediateEthAccount: string;
2125
2570
  error?: string | undefined;
2571
+ idempotencyKey?: string | undefined;
2126
2572
  bridgeSeq?: string | undefined;
2127
2573
  claimTxDigest?: string | undefined;
2128
2574
  recipientEth?: string | undefined;
@@ -2136,6 +2582,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2136
2582
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2137
2583
  error?: string | undefined;
2138
2584
  updatedAt?: number | undefined;
2585
+ hint?: string | undefined;
2139
2586
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
2140
2587
  stepDescription?: string | undefined;
2141
2588
  sourceTxHash?: string | undefined;
@@ -2145,7 +2592,6 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2145
2592
  claimReceipt?: any;
2146
2593
  ethReceipt?: any;
2147
2594
  wowReceipt?: any;
2148
- hint?: string | undefined;
2149
2595
  } | undefined;
2150
2596
  } | null;
2151
2597
  operation_type: "query_transfer_status";
@@ -2162,6 +2608,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2162
2608
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
2163
2609
  intermediateEthAccount: string;
2164
2610
  error?: string | undefined;
2611
+ idempotencyKey?: string | undefined;
2165
2612
  bridgeSeq?: string | undefined;
2166
2613
  claimTxDigest?: string | undefined;
2167
2614
  recipientEth?: string | undefined;
@@ -2175,6 +2622,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2175
2622
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2176
2623
  error?: string | undefined;
2177
2624
  updatedAt?: number | undefined;
2625
+ hint?: string | undefined;
2178
2626
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
2179
2627
  stepDescription?: string | undefined;
2180
2628
  sourceTxHash?: string | undefined;
@@ -2184,7 +2632,6 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2184
2632
  claimReceipt?: any;
2185
2633
  ethReceipt?: any;
2186
2634
  wowReceipt?: any;
2187
- hint?: string | undefined;
2188
2635
  } | undefined;
2189
2636
  } | null;
2190
2637
  operation_type: "query_transfer_status";
@@ -2505,6 +2952,171 @@ export declare const BridgeCallOutputSchema: z.ZodObject<{
2505
2952
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
2506
2953
  role_advice?: string[] | undefined;
2507
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
+ }>>;
2508
3120
  }, "strict", z.ZodTypeAny, {
2509
3121
  status: "success" | "partial" | "failed" | "pending_input";
2510
3122
  intent: string;
@@ -2588,6 +3200,45 @@ export declare const BridgeCallOutputSchema: z.ZodObject<{
2588
3200
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
2589
3201
  role_advice?: string[] | undefined;
2590
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;
2591
3242
  }, {
2592
3243
  status: "success" | "partial" | "failed" | "pending_input";
2593
3244
  intent: string;
@@ -2671,6 +3322,45 @@ export declare const BridgeCallOutputSchema: z.ZodObject<{
2671
3322
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
2672
3323
  role_advice?: string[] | undefined;
2673
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;
2674
3364
  }>>;
2675
3365
  }, "strip", z.ZodTypeAny, {
2676
3366
  result: {
@@ -2767,6 +3457,45 @@ export declare const BridgeCallOutputSchema: z.ZodObject<{
2767
3457
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
2768
3458
  role_advice?: string[] | undefined;
2769
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;
2770
3499
  } | undefined;
2771
3500
  }, {
2772
3501
  result: {
@@ -2863,6 +3592,45 @@ export declare const BridgeCallOutputSchema: z.ZodObject<{
2863
3592
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
2864
3593
  role_advice?: string[] | undefined;
2865
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;
2866
3634
  } | undefined;
2867
3635
  }>;
2868
3636
  export type BridgeOperations = z.infer<typeof BridgeOperationsSchema>;