@wowok/agent-mcp 2.3.13 → 2.3.16

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 (194) hide show
  1. package/dist/config/index.d.ts +1 -0
  2. package/dist/config/index.js +1 -0
  3. package/dist/config/runtime.d.ts +26 -0
  4. package/dist/config/runtime.js +217 -0
  5. package/dist/customer/industry-risks.d.ts +36 -0
  6. package/dist/customer/industry-risks.js +424 -0
  7. package/dist/customer/info-puzzle.d.ts +102 -0
  8. package/dist/customer/info-puzzle.js +312 -0
  9. package/dist/customer/order-monitor.d.ts +75 -0
  10. package/dist/customer/order-monitor.js +327 -0
  11. package/dist/customer/order-strategy.d.ts +36 -0
  12. package/dist/customer/order-strategy.js +373 -0
  13. package/dist/customer/post-purchase.d.ts +42 -0
  14. package/dist/customer/post-purchase.js +350 -0
  15. package/dist/customer/reminder-system.d.ts +42 -0
  16. package/dist/customer/reminder-system.js +295 -0
  17. package/dist/customer/risk-assessment.d.ts +8 -0
  18. package/dist/customer/risk-assessment.js +337 -0
  19. package/dist/customer/types.d.ts +193 -0
  20. package/dist/customer/types.js +13 -0
  21. package/dist/customer/user-preferences.d.ts +67 -0
  22. package/dist/customer/user-preferences.js +451 -0
  23. package/dist/experience/experience-reuse.d.ts +10 -0
  24. package/dist/experience/experience-reuse.js +103 -0
  25. package/dist/experience/index.d.ts +6 -0
  26. package/dist/experience/index.js +5 -0
  27. package/dist/experience/intent-distill.d.ts +3 -0
  28. package/dist/experience/intent-distill.js +83 -0
  29. package/dist/experience/realtime-feedback.d.ts +5 -0
  30. package/dist/experience/realtime-feedback.js +77 -0
  31. package/dist/experience/types.d.ts +50 -0
  32. package/dist/experience/types.js +1 -0
  33. package/dist/experience/user-profile.d.ts +25 -0
  34. package/dist/experience/user-profile.js +171 -0
  35. package/dist/harness/checkpoint.d.ts +8 -0
  36. package/dist/harness/checkpoint.js +129 -0
  37. package/dist/harness/index.d.ts +33 -0
  38. package/dist/harness/index.js +75 -0
  39. package/dist/harness/plan.d.ts +18 -0
  40. package/dist/harness/plan.js +252 -0
  41. package/dist/harness/recover.d.ts +17 -0
  42. package/dist/harness/recover.js +139 -0
  43. package/dist/harness/types.d.ts +137 -0
  44. package/dist/harness/types.js +1 -0
  45. package/dist/harness/verify.d.ts +42 -0
  46. package/dist/harness/verify.js +237 -0
  47. package/dist/index.js +667 -201
  48. package/dist/knowledge/acquisition-flywheel.d.ts +50 -0
  49. package/dist/knowledge/acquisition-flywheel.js +183 -0
  50. package/dist/knowledge/arbitration-trust.d.ts +24 -0
  51. package/dist/knowledge/arbitration-trust.js +117 -0
  52. package/dist/knowledge/audit-rules.d.ts +28 -0
  53. package/dist/knowledge/audit-rules.js +141 -0
  54. package/dist/knowledge/demand-matching.d.ts +29 -0
  55. package/dist/knowledge/demand-matching.js +132 -0
  56. package/dist/knowledge/dynamic-pricing.d.ts +31 -0
  57. package/dist/knowledge/dynamic-pricing.js +87 -0
  58. package/dist/knowledge/flywheel-loop.d.ts +87 -0
  59. package/dist/knowledge/flywheel-loop.js +378 -0
  60. package/dist/knowledge/glossary.d.ts +18 -0
  61. package/dist/knowledge/glossary.js +209 -0
  62. package/dist/knowledge/index.d.ts +64 -0
  63. package/dist/knowledge/index.js +66 -0
  64. package/dist/knowledge/industry-evolution.d.ts +82 -0
  65. package/dist/knowledge/industry-evolution.js +323 -0
  66. package/dist/knowledge/industry-generalizer.d.ts +17 -0
  67. package/dist/knowledge/industry-generalizer.js +381 -0
  68. package/dist/knowledge/industry-registry.d.ts +49 -0
  69. package/dist/knowledge/industry-registry.js +167 -0
  70. package/dist/knowledge/intent-metrics.d.ts +42 -0
  71. package/dist/knowledge/intent-metrics.js +566 -0
  72. package/dist/knowledge/process-model.d.ts +24 -0
  73. package/dist/knowledge/process-model.js +160 -0
  74. package/dist/knowledge/reputation-rules.d.ts +42 -0
  75. package/dist/knowledge/reputation-rules.js +99 -0
  76. package/dist/knowledge/reward-templates.d.ts +25 -0
  77. package/dist/knowledge/reward-templates.js +125 -0
  78. package/dist/knowledge/safety-rules.d.ts +36 -0
  79. package/dist/knowledge/safety-rules.js +171 -0
  80. package/dist/knowledge/tool-constraints.d.ts +30 -0
  81. package/dist/knowledge/tool-constraints.js +185 -0
  82. package/dist/knowledge/trust-metrics.d.ts +37 -0
  83. package/dist/knowledge/trust-metrics.js +138 -0
  84. package/dist/loop-engineering/aggregate.d.ts +50 -0
  85. package/dist/loop-engineering/aggregate.js +132 -0
  86. package/dist/loop-engineering/diagnose.d.ts +22 -0
  87. package/dist/loop-engineering/diagnose.js +273 -0
  88. package/dist/loop-engineering/improve.d.ts +26 -0
  89. package/dist/loop-engineering/improve.js +229 -0
  90. package/dist/loop-engineering/index.d.ts +4 -0
  91. package/dist/loop-engineering/index.js +4 -0
  92. package/dist/loop-engineering/pipeline.d.ts +17 -0
  93. package/dist/loop-engineering/pipeline.js +56 -0
  94. package/dist/mode-market/index.d.ts +3 -0
  95. package/dist/mode-market/index.js +3 -0
  96. package/dist/mode-market/registry.d.ts +53 -0
  97. package/dist/mode-market/registry.js +124 -0
  98. package/dist/mode-market/review.d.ts +27 -0
  99. package/dist/mode-market/review.js +214 -0
  100. package/dist/mode-market/submission.d.ts +25 -0
  101. package/dist/mode-market/submission.js +85 -0
  102. package/dist/project/graph.d.ts +71 -0
  103. package/dist/project/graph.js +314 -0
  104. package/dist/project/index.d.ts +62 -0
  105. package/dist/project/index.js +167 -0
  106. package/dist/project/namespace.d.ts +62 -0
  107. package/dist/project/namespace.js +181 -0
  108. package/dist/project/query.d.ts +40 -0
  109. package/dist/project/query.js +110 -0
  110. package/dist/safety/confirm-gate.d.ts +15 -0
  111. package/dist/safety/confirm-gate.js +44 -0
  112. package/dist/safety/index.d.ts +3 -0
  113. package/dist/safety/index.js +3 -0
  114. package/dist/safety/preview.d.ts +2 -0
  115. package/dist/safety/preview.js +36 -0
  116. package/dist/schema/call/allocation.d.ts +55 -40
  117. package/dist/schema/call/arbitration.d.ts +201 -186
  118. package/dist/schema/call/base.d.ts +2104 -24
  119. package/dist/schema/call/base.js +168 -22
  120. package/dist/schema/call/bridge-handler.js +36 -18
  121. package/dist/schema/call/bridge.d.ts +777 -120
  122. package/dist/schema/call/bridge.js +13 -2
  123. package/dist/schema/call/contact.d.ts +15 -0
  124. package/dist/schema/call/demand.d.ts +69 -54
  125. package/dist/schema/call/guard.d.ts +125 -80
  126. package/dist/schema/call/handler.d.ts +5 -1
  127. package/dist/schema/call/handler.js +108 -3
  128. package/dist/schema/call/index.d.ts +1 -0
  129. package/dist/schema/call/index.js +1 -0
  130. package/dist/schema/call/machine.d.ts +830 -800
  131. package/dist/schema/call/order.d.ts +27 -12
  132. package/dist/schema/call/payment.d.ts +15 -0
  133. package/dist/schema/call/permission.d.ts +15 -0
  134. package/dist/schema/call/personal.d.ts +15 -0
  135. package/dist/schema/call/progress.d.ts +21 -6
  136. package/dist/schema/call/proof.d.ts +42 -12
  137. package/dist/schema/call/proof.js +3 -3
  138. package/dist/schema/call/repository.d.ts +91 -76
  139. package/dist/schema/call/reward.d.ts +51 -36
  140. package/dist/schema/call/semantic.d.ts +24 -0
  141. package/dist/schema/call/semantic.js +981 -0
  142. package/dist/schema/call/service.d.ts +444 -429
  143. package/dist/schema/call/treasury.d.ts +219 -204
  144. package/dist/schema/common/index.js +3 -3
  145. package/dist/schema/local/index.d.ts +341 -74
  146. package/dist/schema/local/index.js +44 -7
  147. package/dist/schema/messenger/index.d.ts +1034 -92
  148. package/dist/schema/messenger/index.js +18 -0
  149. package/dist/schema/operations.d.ts +2634 -1817
  150. package/dist/schema/operations.js +16 -5
  151. package/dist/schema/query/index.d.ts +2293 -2289
  152. package/dist/schema/query/index.js +34 -28
  153. package/dist/schemas/account_operation.output.json +28 -16
  154. package/dist/schemas/account_operation.schema.json +2 -2
  155. package/dist/schemas/bridge_operation.output.json +520 -0
  156. package/dist/schemas/bridge_operation.schema.json +15 -0
  157. package/dist/schemas/guard2file.schema.json +15 -0
  158. package/dist/schemas/index.json +1 -1
  159. package/dist/schemas/local_info_operation.output.json +26 -0
  160. package/dist/schemas/local_info_operation.schema.json +1 -1
  161. package/dist/schemas/local_mark_operation.output.json +27 -1
  162. package/dist/schemas/local_mark_operation.schema.json +4 -4
  163. package/dist/schemas/machineNode2file.schema.json +15 -0
  164. package/dist/schemas/messenger_operation.output.json +549 -0
  165. package/dist/schemas/messenger_operation.schema.json +21 -0
  166. package/dist/schemas/onchain_events.output.json +3 -0
  167. package/dist/schemas/onchain_operations.output.json +814 -37
  168. package/dist/schemas/onchain_operations.schema.json +117 -40
  169. package/dist/schemas/onchain_operations_allocation.schema.json +26 -9
  170. package/dist/schemas/onchain_operations_arbitration.schema.json +26 -9
  171. package/dist/schemas/onchain_operations_contact.schema.json +26 -9
  172. package/dist/schemas/onchain_operations_demand.schema.json +26 -9
  173. package/dist/schemas/onchain_operations_gen_passport.schema.json +51 -17
  174. package/dist/schemas/onchain_operations_guard.schema.json +26 -9
  175. package/dist/schemas/onchain_operations_machine.schema.json +92 -32
  176. package/dist/schemas/onchain_operations_order.schema.json +26 -9
  177. package/dist/schemas/onchain_operations_payment.schema.json +26 -9
  178. package/dist/schemas/onchain_operations_permission.schema.json +26 -9
  179. package/dist/schemas/onchain_operations_personal.schema.json +26 -9
  180. package/dist/schemas/onchain_operations_progress.schema.json +26 -9
  181. package/dist/schemas/onchain_operations_repository.schema.json +26 -9
  182. package/dist/schemas/onchain_operations_reward.schema.json +26 -9
  183. package/dist/schemas/onchain_operations_service.schema.json +26 -9
  184. package/dist/schemas/onchain_operations_treasury.schema.json +26 -9
  185. package/dist/schemas/onchain_table_data.output.json +224 -69
  186. package/dist/schemas/onchain_table_data.schema.json +2 -2
  187. package/dist/schemas/query_toolkit.schema.json +5 -1
  188. package/dist/telemetry/index.d.ts +19 -0
  189. package/dist/telemetry/index.js +112 -0
  190. package/dist/telemetry/redact.d.ts +2 -0
  191. package/dist/telemetry/redact.js +23 -0
  192. package/dist/telemetry/storage.d.ts +8 -0
  193. package/dist/telemetry/storage.js +80 -0
  194. package/package.json +6 -3
@@ -10,11 +10,11 @@ export declare const BridgeWowToEvmDataSchema: z.ZodObject<{
10
10
  withdrawTo: z.ZodOptional<z.ZodString>;
11
11
  }, "strict", z.ZodTypeAny, {
12
12
  amount: string;
13
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
13
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
14
14
  withdrawTo?: string | undefined;
15
15
  }, {
16
16
  amount: string;
17
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
17
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
18
18
  withdrawTo?: string | undefined;
19
19
  }>;
20
20
  export declare const BridgeEvmToWowDataSchema: z.ZodObject<{
@@ -23,11 +23,11 @@ export declare const BridgeEvmToWowDataSchema: z.ZodObject<{
23
23
  recipientWowAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
24
24
  }, "strict", z.ZodTypeAny, {
25
25
  amount: string;
26
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
26
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
27
27
  recipientWowAddress?: string | undefined;
28
28
  }, {
29
29
  amount: string;
30
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
30
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
31
31
  recipientWowAddress?: string | undefined;
32
32
  }>;
33
33
  export declare const BridgeClaimWowToEvmDataSchema: z.ZodObject<{
@@ -47,13 +47,13 @@ export declare const BridgeWithdrawDataSchema: z.ZodObject<{
47
47
  amount: string;
48
48
  to: string;
49
49
  network?: "mainnet" | undefined;
50
- token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
50
+ token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
51
51
  tokenAddress?: string | undefined;
52
52
  }, {
53
53
  amount: string;
54
54
  to: string;
55
55
  network?: "mainnet" | undefined;
56
- token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
56
+ token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
57
57
  tokenAddress?: string | undefined;
58
58
  }>;
59
59
  export declare const BridgeQueryActiveEvmAccountDataSchema: z.ZodObject<{
@@ -80,15 +80,15 @@ export declare const BridgeQueryTransferListDataSchema: z.ZodObject<{
80
80
  token: z.ZodOptional<z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>>;
81
81
  limit: z.ZodOptional<z.ZodNumber>;
82
82
  }, "strict", z.ZodTypeAny, {
83
- status?: "success" | "pending" | "in_progress" | "failed" | undefined;
83
+ status?: "success" | "in_progress" | "failed" | "pending" | undefined;
84
84
  limit?: number | undefined;
85
- token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
85
+ token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
86
86
  onlyActive?: boolean | undefined;
87
87
  direction?: "withdraw" | "wow_to_evm" | "evm_to_wow" | undefined;
88
88
  }, {
89
- status?: "success" | "pending" | "in_progress" | "failed" | undefined;
89
+ status?: "success" | "in_progress" | "failed" | "pending" | undefined;
90
90
  limit?: number | undefined;
91
- token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
91
+ token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
92
92
  onlyActive?: boolean | undefined;
93
93
  direction?: "withdraw" | "wow_to_evm" | "evm_to_wow" | undefined;
94
94
  }>;
@@ -168,11 +168,11 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
168
168
  withdrawTo: z.ZodOptional<z.ZodString>;
169
169
  }, "strict", z.ZodTypeAny, {
170
170
  amount: string;
171
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
171
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
172
172
  withdrawTo?: string | undefined;
173
173
  }, {
174
174
  amount: string;
175
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
175
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
176
176
  withdrawTo?: string | undefined;
177
177
  }>;
178
178
  env: z.ZodOptional<z.ZodObject<{
@@ -181,23 +181,32 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
181
181
  no_cache: z.ZodOptional<z.ZodBoolean>;
182
182
  network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
183
183
  referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
184
+ confirmed: z.ZodOptional<z.ZodBoolean>;
185
+ user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
186
+ project: z.ZodOptional<z.ZodString>;
184
187
  }, "strict", z.ZodTypeAny, {
185
188
  account: string;
186
189
  no_cache?: boolean | undefined;
187
190
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
188
191
  permission_guard?: string[] | undefined;
189
192
  referrer?: string | undefined;
193
+ confirmed?: boolean | undefined;
194
+ user_intent_phrases?: string[] | undefined;
195
+ project?: string | undefined;
190
196
  }, {
191
197
  no_cache?: boolean | undefined;
192
198
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
193
199
  account?: string | undefined;
194
200
  permission_guard?: string[] | undefined;
195
201
  referrer?: string | undefined;
202
+ confirmed?: boolean | undefined;
203
+ user_intent_phrases?: string[] | undefined;
204
+ project?: string | undefined;
196
205
  }>>;
197
206
  }, "strip", z.ZodTypeAny, {
198
207
  data: {
199
208
  amount: string;
200
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
209
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
201
210
  withdrawTo?: string | undefined;
202
211
  };
203
212
  operation_type: "cross_chain_wow_to_evm";
@@ -207,11 +216,14 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
207
216
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
208
217
  permission_guard?: string[] | undefined;
209
218
  referrer?: string | undefined;
219
+ confirmed?: boolean | undefined;
220
+ user_intent_phrases?: string[] | undefined;
221
+ project?: string | undefined;
210
222
  } | undefined;
211
223
  }, {
212
224
  data: {
213
225
  amount: string;
214
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
226
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
215
227
  withdrawTo?: string | undefined;
216
228
  };
217
229
  operation_type: "cross_chain_wow_to_evm";
@@ -221,6 +233,9 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
221
233
  account?: string | undefined;
222
234
  permission_guard?: string[] | undefined;
223
235
  referrer?: string | undefined;
236
+ confirmed?: boolean | undefined;
237
+ user_intent_phrases?: string[] | undefined;
238
+ project?: string | undefined;
224
239
  } | undefined;
225
240
  }>, z.ZodObject<{
226
241
  operation_type: z.ZodLiteral<"cross_chain_evm_to_wow">;
@@ -230,11 +245,11 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
230
245
  recipientWowAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
231
246
  }, "strict", z.ZodTypeAny, {
232
247
  amount: string;
233
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
248
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
234
249
  recipientWowAddress?: string | undefined;
235
250
  }, {
236
251
  amount: string;
237
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
252
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
238
253
  recipientWowAddress?: string | undefined;
239
254
  }>;
240
255
  env: z.ZodOptional<z.ZodObject<{
@@ -243,23 +258,32 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
243
258
  no_cache: z.ZodOptional<z.ZodBoolean>;
244
259
  network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
245
260
  referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
261
+ confirmed: z.ZodOptional<z.ZodBoolean>;
262
+ user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
263
+ project: z.ZodOptional<z.ZodString>;
246
264
  }, "strict", z.ZodTypeAny, {
247
265
  account: string;
248
266
  no_cache?: boolean | undefined;
249
267
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
250
268
  permission_guard?: string[] | undefined;
251
269
  referrer?: string | undefined;
270
+ confirmed?: boolean | undefined;
271
+ user_intent_phrases?: string[] | undefined;
272
+ project?: string | undefined;
252
273
  }, {
253
274
  no_cache?: boolean | undefined;
254
275
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
255
276
  account?: string | undefined;
256
277
  permission_guard?: string[] | undefined;
257
278
  referrer?: string | undefined;
279
+ confirmed?: boolean | undefined;
280
+ user_intent_phrases?: string[] | undefined;
281
+ project?: string | undefined;
258
282
  }>>;
259
283
  }, "strip", z.ZodTypeAny, {
260
284
  data: {
261
285
  amount: string;
262
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
286
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
263
287
  recipientWowAddress?: string | undefined;
264
288
  };
265
289
  operation_type: "cross_chain_evm_to_wow";
@@ -269,11 +293,14 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
269
293
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
270
294
  permission_guard?: string[] | undefined;
271
295
  referrer?: string | undefined;
296
+ confirmed?: boolean | undefined;
297
+ user_intent_phrases?: string[] | undefined;
298
+ project?: string | undefined;
272
299
  } | undefined;
273
300
  }, {
274
301
  data: {
275
302
  amount: string;
276
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
303
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
277
304
  recipientWowAddress?: string | undefined;
278
305
  };
279
306
  operation_type: "cross_chain_evm_to_wow";
@@ -283,6 +310,9 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
283
310
  account?: string | undefined;
284
311
  permission_guard?: string[] | undefined;
285
312
  referrer?: string | undefined;
313
+ confirmed?: boolean | undefined;
314
+ user_intent_phrases?: string[] | undefined;
315
+ project?: string | undefined;
286
316
  } | undefined;
287
317
  }>, z.ZodObject<{
288
318
  operation_type: z.ZodLiteral<"claim_wow_to_evm">;
@@ -299,18 +329,27 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
299
329
  no_cache: z.ZodOptional<z.ZodBoolean>;
300
330
  network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
301
331
  referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
332
+ confirmed: z.ZodOptional<z.ZodBoolean>;
333
+ user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
334
+ project: z.ZodOptional<z.ZodString>;
302
335
  }, "strict", z.ZodTypeAny, {
303
336
  account: string;
304
337
  no_cache?: boolean | undefined;
305
338
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
306
339
  permission_guard?: string[] | undefined;
307
340
  referrer?: string | undefined;
341
+ confirmed?: boolean | undefined;
342
+ user_intent_phrases?: string[] | undefined;
343
+ project?: string | undefined;
308
344
  }, {
309
345
  no_cache?: boolean | undefined;
310
346
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
311
347
  account?: string | undefined;
312
348
  permission_guard?: string[] | undefined;
313
349
  referrer?: string | undefined;
350
+ confirmed?: boolean | undefined;
351
+ user_intent_phrases?: string[] | undefined;
352
+ project?: string | undefined;
314
353
  }>>;
315
354
  }, "strip", z.ZodTypeAny, {
316
355
  data: {
@@ -323,6 +362,9 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
323
362
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
324
363
  permission_guard?: string[] | undefined;
325
364
  referrer?: string | undefined;
365
+ confirmed?: boolean | undefined;
366
+ user_intent_phrases?: string[] | undefined;
367
+ project?: string | undefined;
326
368
  } | undefined;
327
369
  }, {
328
370
  data: {
@@ -335,6 +377,9 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
335
377
  account?: string | undefined;
336
378
  permission_guard?: string[] | undefined;
337
379
  referrer?: string | undefined;
380
+ confirmed?: boolean | undefined;
381
+ user_intent_phrases?: string[] | undefined;
382
+ project?: string | undefined;
338
383
  } | undefined;
339
384
  }>, z.ZodObject<{
340
385
  operation_type: z.ZodLiteral<"withdraw">;
@@ -348,13 +393,13 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
348
393
  amount: string;
349
394
  to: string;
350
395
  network?: "mainnet" | undefined;
351
- token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
396
+ token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
352
397
  tokenAddress?: string | undefined;
353
398
  }, {
354
399
  amount: string;
355
400
  to: string;
356
401
  network?: "mainnet" | undefined;
357
- token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
402
+ token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
358
403
  tokenAddress?: string | undefined;
359
404
  }>;
360
405
  }, "strip", z.ZodTypeAny, {
@@ -362,7 +407,7 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
362
407
  amount: string;
363
408
  to: string;
364
409
  network?: "mainnet" | undefined;
365
- token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
410
+ token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
366
411
  tokenAddress?: string | undefined;
367
412
  };
368
413
  operation_type: "withdraw";
@@ -371,7 +416,7 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
371
416
  amount: string;
372
417
  to: string;
373
418
  network?: "mainnet" | undefined;
374
- token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
419
+ token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
375
420
  tokenAddress?: string | undefined;
376
421
  };
377
422
  operation_type: "withdraw";
@@ -433,33 +478,33 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
433
478
  token: z.ZodOptional<z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>>;
434
479
  limit: z.ZodOptional<z.ZodNumber>;
435
480
  }, "strict", z.ZodTypeAny, {
436
- status?: "success" | "pending" | "in_progress" | "failed" | undefined;
481
+ status?: "success" | "in_progress" | "failed" | "pending" | undefined;
437
482
  limit?: number | undefined;
438
- token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
483
+ token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
439
484
  onlyActive?: boolean | undefined;
440
485
  direction?: "withdraw" | "wow_to_evm" | "evm_to_wow" | undefined;
441
486
  }, {
442
- status?: "success" | "pending" | "in_progress" | "failed" | undefined;
487
+ status?: "success" | "in_progress" | "failed" | "pending" | undefined;
443
488
  limit?: number | undefined;
444
- token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
489
+ token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
445
490
  onlyActive?: boolean | undefined;
446
491
  direction?: "withdraw" | "wow_to_evm" | "evm_to_wow" | undefined;
447
492
  }>>;
448
493
  }, "strip", z.ZodTypeAny, {
449
494
  operation_type: "query_transfer_list";
450
495
  data?: {
451
- status?: "success" | "pending" | "in_progress" | "failed" | undefined;
496
+ status?: "success" | "in_progress" | "failed" | "pending" | undefined;
452
497
  limit?: number | undefined;
453
- token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
498
+ token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
454
499
  onlyActive?: boolean | undefined;
455
500
  direction?: "withdraw" | "wow_to_evm" | "evm_to_wow" | undefined;
456
501
  } | undefined;
457
502
  }, {
458
503
  operation_type: "query_transfer_list";
459
504
  data?: {
460
- status?: "success" | "pending" | "in_progress" | "failed" | undefined;
505
+ status?: "success" | "in_progress" | "failed" | "pending" | undefined;
461
506
  limit?: number | undefined;
462
- token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
507
+ token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
463
508
  onlyActive?: boolean | undefined;
464
509
  direction?: "withdraw" | "wow_to_evm" | "evm_to_wow" | undefined;
465
510
  } | undefined;
@@ -594,7 +639,7 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
594
639
  }>]>, {
595
640
  data: {
596
641
  amount: string;
597
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
642
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
598
643
  withdrawTo?: string | undefined;
599
644
  };
600
645
  operation_type: "cross_chain_wow_to_evm";
@@ -604,11 +649,14 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
604
649
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
605
650
  permission_guard?: string[] | undefined;
606
651
  referrer?: string | undefined;
652
+ confirmed?: boolean | undefined;
653
+ user_intent_phrases?: string[] | undefined;
654
+ project?: string | undefined;
607
655
  } | undefined;
608
656
  } | {
609
657
  data: {
610
658
  amount: string;
611
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
659
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
612
660
  recipientWowAddress?: string | undefined;
613
661
  };
614
662
  operation_type: "cross_chain_evm_to_wow";
@@ -618,6 +666,9 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
618
666
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
619
667
  permission_guard?: string[] | undefined;
620
668
  referrer?: string | undefined;
669
+ confirmed?: boolean | undefined;
670
+ user_intent_phrases?: string[] | undefined;
671
+ project?: string | undefined;
621
672
  } | undefined;
622
673
  } | {
623
674
  data: {
@@ -630,13 +681,16 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
630
681
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
631
682
  permission_guard?: string[] | undefined;
632
683
  referrer?: string | undefined;
684
+ confirmed?: boolean | undefined;
685
+ user_intent_phrases?: string[] | undefined;
686
+ project?: string | undefined;
633
687
  } | undefined;
634
688
  } | {
635
689
  data: {
636
690
  amount: string;
637
691
  to: string;
638
692
  network?: "mainnet" | undefined;
639
- token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
693
+ token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
640
694
  tokenAddress?: string | undefined;
641
695
  };
642
696
  operation_type: "withdraw";
@@ -656,9 +710,9 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
656
710
  } | {
657
711
  operation_type: "query_transfer_list";
658
712
  data?: {
659
- status?: "success" | "pending" | "in_progress" | "failed" | undefined;
713
+ status?: "success" | "in_progress" | "failed" | "pending" | undefined;
660
714
  limit?: number | undefined;
661
- token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
715
+ token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
662
716
  onlyActive?: boolean | undefined;
663
717
  direction?: "withdraw" | "wow_to_evm" | "evm_to_wow" | undefined;
664
718
  } | undefined;
@@ -707,8 +761,8 @@ export declare const BridgeLatestStateSchema: z.ZodObject<{
707
761
  hint: z.ZodOptional<z.ZodString>;
708
762
  updatedAt: z.ZodOptional<z.ZodNumber>;
709
763
  }, "strip", z.ZodTypeAny, {
710
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
711
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
764
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
765
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
712
766
  error?: string | undefined;
713
767
  updatedAt?: number | undefined;
714
768
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -722,8 +776,8 @@ export declare const BridgeLatestStateSchema: z.ZodObject<{
722
776
  wowReceipt?: any;
723
777
  hint?: string | undefined;
724
778
  }, {
725
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
726
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
779
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
780
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
727
781
  error?: string | undefined;
728
782
  updatedAt?: number | undefined;
729
783
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -772,8 +826,8 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
772
826
  hint: z.ZodOptional<z.ZodString>;
773
827
  updatedAt: z.ZodOptional<z.ZodNumber>;
774
828
  }, "strip", z.ZodTypeAny, {
775
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
776
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
829
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
830
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
777
831
  error?: string | undefined;
778
832
  updatedAt?: number | undefined;
779
833
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -787,8 +841,8 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
787
841
  wowReceipt?: any;
788
842
  hint?: string | undefined;
789
843
  }, {
790
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
791
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
844
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
845
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
792
846
  error?: string | undefined;
793
847
  updatedAt?: number | undefined;
794
848
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -803,11 +857,11 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
803
857
  hint?: string | undefined;
804
858
  }>>;
805
859
  }, "strict", z.ZodTypeAny, {
806
- status: "success" | "pending" | "in_progress" | "failed";
860
+ status: "success" | "in_progress" | "failed" | "pending";
807
861
  amount: string;
808
862
  createdAt: number;
809
863
  updatedAt: number;
810
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
864
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
811
865
  transferId: string;
812
866
  direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
813
867
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
@@ -822,8 +876,8 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
822
876
  claimTxHash?: string | undefined;
823
877
  withdrawTxHash?: string | undefined;
824
878
  latestState?: {
825
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
826
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
879
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
880
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
827
881
  error?: string | undefined;
828
882
  updatedAt?: number | undefined;
829
883
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -838,11 +892,11 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
838
892
  hint?: string | undefined;
839
893
  } | undefined;
840
894
  }, {
841
- status: "success" | "pending" | "in_progress" | "failed";
895
+ status: "success" | "in_progress" | "failed" | "pending";
842
896
  amount: string;
843
897
  createdAt: number;
844
898
  updatedAt: number;
845
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
899
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
846
900
  transferId: string;
847
901
  direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
848
902
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
@@ -857,8 +911,8 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
857
911
  claimTxHash?: string | undefined;
858
912
  withdrawTxHash?: string | undefined;
859
913
  latestState?: {
860
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
861
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
914
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
915
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
862
916
  error?: string | undefined;
863
917
  updatedAt?: number | undefined;
864
918
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -1094,8 +1148,8 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
1094
1148
  hint: z.ZodOptional<z.ZodString>;
1095
1149
  updatedAt: z.ZodOptional<z.ZodNumber>;
1096
1150
  }, "strip", z.ZodTypeAny, {
1097
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1098
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1151
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1152
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1099
1153
  error?: string | undefined;
1100
1154
  updatedAt?: number | undefined;
1101
1155
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -1109,8 +1163,8 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
1109
1163
  wowReceipt?: any;
1110
1164
  hint?: string | undefined;
1111
1165
  }, {
1112
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1113
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1166
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1167
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1114
1168
  error?: string | undefined;
1115
1169
  updatedAt?: number | undefined;
1116
1170
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -1125,11 +1179,11 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
1125
1179
  hint?: string | undefined;
1126
1180
  }>>;
1127
1181
  }, "strict", z.ZodTypeAny, {
1128
- status: "success" | "pending" | "in_progress" | "failed";
1182
+ status: "success" | "in_progress" | "failed" | "pending";
1129
1183
  amount: string;
1130
1184
  createdAt: number;
1131
1185
  updatedAt: number;
1132
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
1186
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
1133
1187
  transferId: string;
1134
1188
  direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
1135
1189
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
@@ -1144,8 +1198,8 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
1144
1198
  claimTxHash?: string | undefined;
1145
1199
  withdrawTxHash?: string | undefined;
1146
1200
  latestState?: {
1147
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1148
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1201
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1202
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1149
1203
  error?: string | undefined;
1150
1204
  updatedAt?: number | undefined;
1151
1205
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -1160,11 +1214,11 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
1160
1214
  hint?: string | undefined;
1161
1215
  } | undefined;
1162
1216
  }, {
1163
- status: "success" | "pending" | "in_progress" | "failed";
1217
+ status: "success" | "in_progress" | "failed" | "pending";
1164
1218
  amount: string;
1165
1219
  createdAt: number;
1166
1220
  updatedAt: number;
1167
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
1221
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
1168
1222
  transferId: string;
1169
1223
  direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
1170
1224
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
@@ -1179,8 +1233,8 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
1179
1233
  claimTxHash?: string | undefined;
1180
1234
  withdrawTxHash?: string | undefined;
1181
1235
  latestState?: {
1182
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1183
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1236
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1237
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1184
1238
  error?: string | undefined;
1185
1239
  updatedAt?: number | undefined;
1186
1240
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -1230,8 +1284,8 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
1230
1284
  hint: z.ZodOptional<z.ZodString>;
1231
1285
  updatedAt: z.ZodOptional<z.ZodNumber>;
1232
1286
  }, "strip", z.ZodTypeAny, {
1233
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1234
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1287
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1288
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1235
1289
  error?: string | undefined;
1236
1290
  updatedAt?: number | undefined;
1237
1291
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -1245,8 +1299,8 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
1245
1299
  wowReceipt?: any;
1246
1300
  hint?: string | undefined;
1247
1301
  }, {
1248
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1249
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1302
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1303
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1250
1304
  error?: string | undefined;
1251
1305
  updatedAt?: number | undefined;
1252
1306
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -1261,11 +1315,11 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
1261
1315
  hint?: string | undefined;
1262
1316
  }>>;
1263
1317
  }, "strict", z.ZodTypeAny, {
1264
- status: "success" | "pending" | "in_progress" | "failed";
1318
+ status: "success" | "in_progress" | "failed" | "pending";
1265
1319
  amount: string;
1266
1320
  createdAt: number;
1267
1321
  updatedAt: number;
1268
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
1322
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
1269
1323
  transferId: string;
1270
1324
  direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
1271
1325
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
@@ -1280,8 +1334,8 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
1280
1334
  claimTxHash?: string | undefined;
1281
1335
  withdrawTxHash?: string | undefined;
1282
1336
  latestState?: {
1283
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1284
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1337
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1338
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1285
1339
  error?: string | undefined;
1286
1340
  updatedAt?: number | undefined;
1287
1341
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -1296,11 +1350,11 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
1296
1350
  hint?: string | undefined;
1297
1351
  } | undefined;
1298
1352
  }, {
1299
- status: "success" | "pending" | "in_progress" | "failed";
1353
+ status: "success" | "in_progress" | "failed" | "pending";
1300
1354
  amount: string;
1301
1355
  createdAt: number;
1302
1356
  updatedAt: number;
1303
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
1357
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
1304
1358
  transferId: string;
1305
1359
  direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
1306
1360
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
@@ -1315,8 +1369,8 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
1315
1369
  claimTxHash?: string | undefined;
1316
1370
  withdrawTxHash?: string | undefined;
1317
1371
  latestState?: {
1318
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1319
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1372
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1373
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1320
1374
  error?: string | undefined;
1321
1375
  updatedAt?: number | undefined;
1322
1376
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -1738,8 +1792,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1738
1792
  hint: z.ZodOptional<z.ZodString>;
1739
1793
  updatedAt: z.ZodOptional<z.ZodNumber>;
1740
1794
  }, "strip", z.ZodTypeAny, {
1741
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1742
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1795
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1796
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1743
1797
  error?: string | undefined;
1744
1798
  updatedAt?: number | undefined;
1745
1799
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -1753,8 +1807,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1753
1807
  wowReceipt?: any;
1754
1808
  hint?: string | undefined;
1755
1809
  }, {
1756
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1757
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1810
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1811
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1758
1812
  error?: string | undefined;
1759
1813
  updatedAt?: number | undefined;
1760
1814
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -1769,11 +1823,11 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1769
1823
  hint?: string | undefined;
1770
1824
  }>>;
1771
1825
  }, "strict", z.ZodTypeAny, {
1772
- status: "success" | "pending" | "in_progress" | "failed";
1826
+ status: "success" | "in_progress" | "failed" | "pending";
1773
1827
  amount: string;
1774
1828
  createdAt: number;
1775
1829
  updatedAt: number;
1776
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
1830
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
1777
1831
  transferId: string;
1778
1832
  direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
1779
1833
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
@@ -1788,8 +1842,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1788
1842
  claimTxHash?: string | undefined;
1789
1843
  withdrawTxHash?: string | undefined;
1790
1844
  latestState?: {
1791
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1792
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1845
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1846
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1793
1847
  error?: string | undefined;
1794
1848
  updatedAt?: number | undefined;
1795
1849
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -1804,11 +1858,11 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1804
1858
  hint?: string | undefined;
1805
1859
  } | undefined;
1806
1860
  }, {
1807
- status: "success" | "pending" | "in_progress" | "failed";
1861
+ status: "success" | "in_progress" | "failed" | "pending";
1808
1862
  amount: string;
1809
1863
  createdAt: number;
1810
1864
  updatedAt: number;
1811
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
1865
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
1812
1866
  transferId: string;
1813
1867
  direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
1814
1868
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
@@ -1823,8 +1877,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1823
1877
  claimTxHash?: string | undefined;
1824
1878
  withdrawTxHash?: string | undefined;
1825
1879
  latestState?: {
1826
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1827
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1880
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1881
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1828
1882
  error?: string | undefined;
1829
1883
  updatedAt?: number | undefined;
1830
1884
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -1842,11 +1896,11 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1842
1896
  message: z.ZodOptional<z.ZodString>;
1843
1897
  }, "strip", z.ZodTypeAny, {
1844
1898
  result: {
1845
- status: "success" | "pending" | "in_progress" | "failed";
1899
+ status: "success" | "in_progress" | "failed" | "pending";
1846
1900
  amount: string;
1847
1901
  createdAt: number;
1848
1902
  updatedAt: number;
1849
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
1903
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
1850
1904
  transferId: string;
1851
1905
  direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
1852
1906
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
@@ -1861,8 +1915,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1861
1915
  claimTxHash?: string | undefined;
1862
1916
  withdrawTxHash?: string | undefined;
1863
1917
  latestState?: {
1864
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1865
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1918
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1919
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1866
1920
  error?: string | undefined;
1867
1921
  updatedAt?: number | undefined;
1868
1922
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -1881,11 +1935,11 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1881
1935
  message?: string | undefined;
1882
1936
  }, {
1883
1937
  result: {
1884
- status: "success" | "pending" | "in_progress" | "failed";
1938
+ status: "success" | "in_progress" | "failed" | "pending";
1885
1939
  amount: string;
1886
1940
  createdAt: number;
1887
1941
  updatedAt: number;
1888
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
1942
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
1889
1943
  transferId: string;
1890
1944
  direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
1891
1945
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
@@ -1900,8 +1954,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1900
1954
  claimTxHash?: string | undefined;
1901
1955
  withdrawTxHash?: string | undefined;
1902
1956
  latestState?: {
1903
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1904
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1957
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1958
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1905
1959
  error?: string | undefined;
1906
1960
  updatedAt?: number | undefined;
1907
1961
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -1955,8 +2009,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1955
2009
  hint: z.ZodOptional<z.ZodString>;
1956
2010
  updatedAt: z.ZodOptional<z.ZodNumber>;
1957
2011
  }, "strip", z.ZodTypeAny, {
1958
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1959
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2012
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
2013
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1960
2014
  error?: string | undefined;
1961
2015
  updatedAt?: number | undefined;
1962
2016
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -1970,8 +2024,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1970
2024
  wowReceipt?: any;
1971
2025
  hint?: string | undefined;
1972
2026
  }, {
1973
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1974
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2027
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
2028
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1975
2029
  error?: string | undefined;
1976
2030
  updatedAt?: number | undefined;
1977
2031
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -1986,11 +2040,11 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1986
2040
  hint?: string | undefined;
1987
2041
  }>>;
1988
2042
  }, "strict", z.ZodTypeAny, {
1989
- status: "success" | "pending" | "in_progress" | "failed";
2043
+ status: "success" | "in_progress" | "failed" | "pending";
1990
2044
  amount: string;
1991
2045
  createdAt: number;
1992
2046
  updatedAt: number;
1993
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
2047
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
1994
2048
  transferId: string;
1995
2049
  direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
1996
2050
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
@@ -2005,8 +2059,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2005
2059
  claimTxHash?: string | undefined;
2006
2060
  withdrawTxHash?: string | undefined;
2007
2061
  latestState?: {
2008
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
2009
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2062
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
2063
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2010
2064
  error?: string | undefined;
2011
2065
  updatedAt?: number | undefined;
2012
2066
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -2021,11 +2075,11 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2021
2075
  hint?: string | undefined;
2022
2076
  } | undefined;
2023
2077
  }, {
2024
- status: "success" | "pending" | "in_progress" | "failed";
2078
+ status: "success" | "in_progress" | "failed" | "pending";
2025
2079
  amount: string;
2026
2080
  createdAt: number;
2027
2081
  updatedAt: number;
2028
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
2082
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
2029
2083
  transferId: string;
2030
2084
  direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
2031
2085
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
@@ -2040,8 +2094,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2040
2094
  claimTxHash?: string | undefined;
2041
2095
  withdrawTxHash?: string | undefined;
2042
2096
  latestState?: {
2043
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
2044
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2097
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
2098
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2045
2099
  error?: string | undefined;
2046
2100
  updatedAt?: number | undefined;
2047
2101
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -2059,11 +2113,11 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2059
2113
  message: z.ZodOptional<z.ZodString>;
2060
2114
  }, "strip", z.ZodTypeAny, {
2061
2115
  result: {
2062
- status: "success" | "pending" | "in_progress" | "failed";
2116
+ status: "success" | "in_progress" | "failed" | "pending";
2063
2117
  amount: string;
2064
2118
  createdAt: number;
2065
2119
  updatedAt: number;
2066
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
2120
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
2067
2121
  transferId: string;
2068
2122
  direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
2069
2123
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
@@ -2078,8 +2132,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2078
2132
  claimTxHash?: string | undefined;
2079
2133
  withdrawTxHash?: string | undefined;
2080
2134
  latestState?: {
2081
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
2082
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2135
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
2136
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2083
2137
  error?: string | undefined;
2084
2138
  updatedAt?: number | undefined;
2085
2139
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -2098,11 +2152,11 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2098
2152
  message?: string | undefined;
2099
2153
  }, {
2100
2154
  result: {
2101
- status: "success" | "pending" | "in_progress" | "failed";
2155
+ status: "success" | "in_progress" | "failed" | "pending";
2102
2156
  amount: string;
2103
2157
  createdAt: number;
2104
2158
  updatedAt: number;
2105
- token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
2159
+ token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
2106
2160
  transferId: string;
2107
2161
  direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
2108
2162
  step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
@@ -2117,8 +2171,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2117
2171
  claimTxHash?: string | undefined;
2118
2172
  withdrawTxHash?: string | undefined;
2119
2173
  latestState?: {
2120
- status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
2121
- step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2174
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
2175
+ step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2122
2176
  error?: string | undefined;
2123
2177
  updatedAt?: number | undefined;
2124
2178
  direction?: "wow_to_evm" | "evm_to_wow" | undefined;
@@ -2172,41 +2226,644 @@ export declare const BridgeCallOutputSchema: z.ZodObject<{
2172
2226
  message: z.ZodOptional<z.ZodString>;
2173
2227
  result: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2174
2228
  type: z.ZodLiteral<"data">;
2175
- data: z.ZodAny;
2229
+ data: z.ZodUnknown;
2176
2230
  }, "strip", z.ZodTypeAny, {
2177
2231
  type: "data";
2178
- data?: any;
2232
+ data?: unknown;
2179
2233
  }, {
2180
2234
  type: "data";
2181
- data?: any;
2235
+ data?: unknown;
2182
2236
  }>, z.ZodObject<{
2183
2237
  type: z.ZodLiteral<"error">;
2184
2238
  error: z.ZodString;
2239
+ error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "unknown"]>>;
2240
+ retryable: z.ZodOptional<z.ZodBoolean>;
2241
+ recovery_hint: z.ZodOptional<z.ZodString>;
2185
2242
  }, "strip", z.ZodTypeAny, {
2186
2243
  type: "error";
2187
2244
  error: string;
2245
+ error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
2246
+ retryable?: boolean | undefined;
2247
+ recovery_hint?: string | undefined;
2188
2248
  }, {
2189
2249
  type: "error";
2190
2250
  error: string;
2251
+ error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
2252
+ retryable?: boolean | undefined;
2253
+ recovery_hint?: string | undefined;
2191
2254
  }>]>;
2255
+ semantic: z.ZodOptional<z.ZodObject<{
2256
+ intent: z.ZodString;
2257
+ status: z.ZodEnum<["success", "partial", "failed", "pending_input"]>;
2258
+ summary: z.ZodString;
2259
+ created: z.ZodOptional<z.ZodArray<z.ZodObject<{
2260
+ id: z.ZodString;
2261
+ name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
2262
+ role: z.ZodEnum<["Permission", "Guard", "Machine", "Progress", "Service", "Order", "Allocation", "Arbitration", "ArbCase", "Messenger", "Contact", "Demand", "Reward", "Personal", "Repository", "Treasury", "Discount", "Other"]>;
2263
+ relation: z.ZodOptional<z.ZodObject<{
2264
+ parent: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
2265
+ relation_type: z.ZodOptional<z.ZodEnum<["machine_of", "guard_of", "allocator_of", "permission_of", "progress_of", "allocation_of", "arb_of", "other"]>>;
2266
+ }, "strip", z.ZodTypeAny, {
2267
+ parent?: string | null | undefined;
2268
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2269
+ }, {
2270
+ parent?: string | null | undefined;
2271
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2272
+ }>>;
2273
+ immutable: z.ZodOptional<z.ZodBoolean>;
2274
+ }, "strict", z.ZodTypeAny, {
2275
+ id: string;
2276
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2277
+ name?: string | null | undefined;
2278
+ relation?: {
2279
+ parent?: string | null | undefined;
2280
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2281
+ } | undefined;
2282
+ immutable?: boolean | undefined;
2283
+ }, {
2284
+ id: string;
2285
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2286
+ name?: string | null | undefined;
2287
+ relation?: {
2288
+ parent?: string | null | undefined;
2289
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2290
+ } | undefined;
2291
+ immutable?: boolean | undefined;
2292
+ }>, "many">>;
2293
+ modified: z.ZodOptional<z.ZodArray<z.ZodObject<{
2294
+ id: z.ZodString;
2295
+ name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
2296
+ role: z.ZodEnum<["Permission", "Guard", "Machine", "Progress", "Service", "Order", "Allocation", "Arbitration", "ArbCase", "Messenger", "Contact", "Demand", "Reward", "Personal", "Repository", "Treasury", "Discount", "Other"]>;
2297
+ relation: z.ZodOptional<z.ZodObject<{
2298
+ parent: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
2299
+ relation_type: z.ZodOptional<z.ZodEnum<["machine_of", "guard_of", "allocator_of", "permission_of", "progress_of", "allocation_of", "arb_of", "other"]>>;
2300
+ }, "strip", z.ZodTypeAny, {
2301
+ parent?: string | null | undefined;
2302
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2303
+ }, {
2304
+ parent?: string | null | undefined;
2305
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2306
+ }>>;
2307
+ immutable: z.ZodOptional<z.ZodBoolean>;
2308
+ }, "strict", z.ZodTypeAny, {
2309
+ id: string;
2310
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2311
+ name?: string | null | undefined;
2312
+ relation?: {
2313
+ parent?: string | null | undefined;
2314
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2315
+ } | undefined;
2316
+ immutable?: boolean | undefined;
2317
+ }, {
2318
+ id: string;
2319
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2320
+ name?: string | null | undefined;
2321
+ relation?: {
2322
+ parent?: string | null | undefined;
2323
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2324
+ } | undefined;
2325
+ immutable?: boolean | undefined;
2326
+ }>, "many">>;
2327
+ released: z.ZodOptional<z.ZodArray<z.ZodObject<{
2328
+ amount: z.ZodString;
2329
+ coinType: z.ZodString;
2330
+ role: z.ZodEnum<["payment", "refund", "change", "compensation", "reward", "gas", "deposit", "release", "other"]>;
2331
+ from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2332
+ to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2333
+ }, "strict", z.ZodTypeAny, {
2334
+ coinType: string;
2335
+ amount: string;
2336
+ role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
2337
+ from?: string | null | undefined;
2338
+ to?: string | null | undefined;
2339
+ }, {
2340
+ coinType: string;
2341
+ amount: string;
2342
+ role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
2343
+ from?: string | null | undefined;
2344
+ to?: string | null | undefined;
2345
+ }>, "many">>;
2346
+ events: z.ZodOptional<z.ZodArray<z.ZodObject<{
2347
+ event_type: z.ZodString;
2348
+ business_meaning: z.ZodString;
2349
+ category: z.ZodEnum<["lifecycle", "state_change", "fund_flow", "permission", "guard", "other"]>;
2350
+ related_object: z.ZodOptional<z.ZodString>;
2351
+ side_effect: z.ZodOptional<z.ZodString>;
2352
+ }, "strict", z.ZodTypeAny, {
2353
+ event_type: string;
2354
+ business_meaning: string;
2355
+ category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
2356
+ related_object?: string | undefined;
2357
+ side_effect?: string | undefined;
2358
+ }, {
2359
+ event_type: string;
2360
+ business_meaning: string;
2361
+ category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
2362
+ related_object?: string | undefined;
2363
+ side_effect?: string | undefined;
2364
+ }>, "many">>;
2365
+ next_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2366
+ action: z.ZodString;
2367
+ reason: z.ZodString;
2368
+ tool: z.ZodOptional<z.ZodString>;
2369
+ prerequisite: z.ZodOptional<z.ZodString>;
2370
+ priority: z.ZodEnum<["required", "recommended", "optional"]>;
2371
+ }, "strict", z.ZodTypeAny, {
2372
+ action: string;
2373
+ reason: string;
2374
+ priority: "required" | "recommended" | "optional";
2375
+ tool?: string | undefined;
2376
+ prerequisite?: string | undefined;
2377
+ }, {
2378
+ action: string;
2379
+ reason: string;
2380
+ priority: "required" | "recommended" | "optional";
2381
+ tool?: string | undefined;
2382
+ prerequisite?: string | undefined;
2383
+ }>, "many">>;
2384
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2385
+ experience: z.ZodOptional<z.ZodObject<{
2386
+ advice: z.ZodOptional<z.ZodString>;
2387
+ avoid: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2388
+ relevance: z.ZodOptional<z.ZodNumber>;
2389
+ matched_scenario: z.ZodOptional<z.ZodString>;
2390
+ }, "strict", z.ZodTypeAny, {
2391
+ advice?: string | undefined;
2392
+ avoid?: string[] | undefined;
2393
+ relevance?: number | undefined;
2394
+ matched_scenario?: string | undefined;
2395
+ }, {
2396
+ advice?: string | undefined;
2397
+ avoid?: string[] | undefined;
2398
+ relevance?: number | undefined;
2399
+ matched_scenario?: string | undefined;
2400
+ }>>;
2401
+ service_status: z.ZodOptional<z.ZodObject<{
2402
+ active: z.ZodArray<z.ZodString, "many">;
2403
+ inactive: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2404
+ }, "strict", z.ZodTypeAny, {
2405
+ active: string[];
2406
+ inactive?: string[] | undefined;
2407
+ }, {
2408
+ active: string[];
2409
+ inactive?: string[] | undefined;
2410
+ }>>;
2411
+ customer_advice: z.ZodOptional<z.ZodObject<{
2412
+ risk_score: z.ZodOptional<z.ZodNumber>;
2413
+ risk_level: z.ZodOptional<z.ZodEnum<["low", "medium_low", "medium_high", "high"]>>;
2414
+ recommendations: z.ZodArray<z.ZodString, "many">;
2415
+ reminders: z.ZodArray<z.ZodObject<{
2416
+ id: z.ZodString;
2417
+ stage: z.ZodEnum<["browse", "evaluate", "preorder", "in_progress", "complete", "after_sale"]>;
2418
+ priority: z.ZodEnum<["required", "recommended", "info", "reminder"]>;
2419
+ message: z.ZodString;
2420
+ action: z.ZodOptional<z.ZodString>;
2421
+ }, "strict", z.ZodTypeAny, {
2422
+ message: string;
2423
+ id: string;
2424
+ priority: "required" | "recommended" | "info" | "reminder";
2425
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
2426
+ action?: string | undefined;
2427
+ }, {
2428
+ message: string;
2429
+ id: string;
2430
+ priority: "required" | "recommended" | "info" | "reminder";
2431
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
2432
+ action?: string | undefined;
2433
+ }>, "many">;
2434
+ preference_match: z.ZodOptional<z.ZodObject<{
2435
+ score: z.ZodNumber;
2436
+ matches: z.ZodArray<z.ZodString, "many">;
2437
+ mismatches: z.ZodArray<z.ZodString, "many">;
2438
+ }, "strict", z.ZodTypeAny, {
2439
+ score: number;
2440
+ matches: string[];
2441
+ mismatches: string[];
2442
+ }, {
2443
+ score: number;
2444
+ matches: string[];
2445
+ mismatches: string[];
2446
+ }>>;
2447
+ }, "strict", z.ZodTypeAny, {
2448
+ recommendations: string[];
2449
+ reminders: {
2450
+ message: string;
2451
+ id: string;
2452
+ priority: "required" | "recommended" | "info" | "reminder";
2453
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
2454
+ action?: string | undefined;
2455
+ }[];
2456
+ risk_score?: number | undefined;
2457
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
2458
+ preference_match?: {
2459
+ score: number;
2460
+ matches: string[];
2461
+ mismatches: string[];
2462
+ } | undefined;
2463
+ }, {
2464
+ recommendations: string[];
2465
+ reminders: {
2466
+ message: string;
2467
+ id: string;
2468
+ priority: "required" | "recommended" | "info" | "reminder";
2469
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
2470
+ action?: string | undefined;
2471
+ }[];
2472
+ risk_score?: number | undefined;
2473
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
2474
+ preference_match?: {
2475
+ score: number;
2476
+ matches: string[];
2477
+ mismatches: string[];
2478
+ } | undefined;
2479
+ }>>;
2480
+ evolution_context: z.ZodOptional<z.ZodObject<{
2481
+ industry_signal: z.ZodOptional<z.ZodString>;
2482
+ evolution_advice: z.ZodOptional<z.ZodString>;
2483
+ confidence: z.ZodNumber;
2484
+ health_score: z.ZodOptional<z.ZodNumber>;
2485
+ pending_suggestions: z.ZodOptional<z.ZodNumber>;
2486
+ intent: z.ZodOptional<z.ZodEnum<["default", "growth", "retention", "compliance", "efficiency", "trust_building", "custom"]>>;
2487
+ role_advice: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2488
+ role: z.ZodOptional<z.ZodEnum<["user", "merchant", "arbitrator"]>>;
2489
+ }, "strict", z.ZodTypeAny, {
2490
+ confidence: number;
2491
+ role?: "user" | "merchant" | "arbitrator" | undefined;
2492
+ industry_signal?: string | undefined;
2493
+ evolution_advice?: string | undefined;
2494
+ health_score?: number | undefined;
2495
+ pending_suggestions?: number | undefined;
2496
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
2497
+ role_advice?: string[] | undefined;
2498
+ }, {
2499
+ confidence: number;
2500
+ role?: "user" | "merchant" | "arbitrator" | undefined;
2501
+ industry_signal?: string | undefined;
2502
+ evolution_advice?: string | undefined;
2503
+ health_score?: number | undefined;
2504
+ pending_suggestions?: number | undefined;
2505
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
2506
+ role_advice?: string[] | undefined;
2507
+ }>>;
2508
+ }, "strict", z.ZodTypeAny, {
2509
+ status: "success" | "partial" | "failed" | "pending_input";
2510
+ intent: string;
2511
+ summary: string;
2512
+ created?: {
2513
+ id: string;
2514
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2515
+ name?: string | null | undefined;
2516
+ relation?: {
2517
+ parent?: string | null | undefined;
2518
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2519
+ } | undefined;
2520
+ immutable?: boolean | undefined;
2521
+ }[] | undefined;
2522
+ events?: {
2523
+ event_type: string;
2524
+ business_meaning: string;
2525
+ category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
2526
+ related_object?: string | undefined;
2527
+ side_effect?: string | undefined;
2528
+ }[] | undefined;
2529
+ modified?: {
2530
+ id: string;
2531
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2532
+ name?: string | null | undefined;
2533
+ relation?: {
2534
+ parent?: string | null | undefined;
2535
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2536
+ } | undefined;
2537
+ immutable?: boolean | undefined;
2538
+ }[] | undefined;
2539
+ released?: {
2540
+ coinType: string;
2541
+ amount: string;
2542
+ role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
2543
+ from?: string | null | undefined;
2544
+ to?: string | null | undefined;
2545
+ }[] | undefined;
2546
+ next_actions?: {
2547
+ action: string;
2548
+ reason: string;
2549
+ priority: "required" | "recommended" | "optional";
2550
+ tool?: string | undefined;
2551
+ prerequisite?: string | undefined;
2552
+ }[] | undefined;
2553
+ warnings?: string[] | undefined;
2554
+ experience?: {
2555
+ advice?: string | undefined;
2556
+ avoid?: string[] | undefined;
2557
+ relevance?: number | undefined;
2558
+ matched_scenario?: string | undefined;
2559
+ } | undefined;
2560
+ service_status?: {
2561
+ active: string[];
2562
+ inactive?: string[] | undefined;
2563
+ } | undefined;
2564
+ customer_advice?: {
2565
+ recommendations: string[];
2566
+ reminders: {
2567
+ message: string;
2568
+ id: string;
2569
+ priority: "required" | "recommended" | "info" | "reminder";
2570
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
2571
+ action?: string | undefined;
2572
+ }[];
2573
+ risk_score?: number | undefined;
2574
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
2575
+ preference_match?: {
2576
+ score: number;
2577
+ matches: string[];
2578
+ mismatches: string[];
2579
+ } | undefined;
2580
+ } | undefined;
2581
+ evolution_context?: {
2582
+ confidence: number;
2583
+ role?: "user" | "merchant" | "arbitrator" | undefined;
2584
+ industry_signal?: string | undefined;
2585
+ evolution_advice?: string | undefined;
2586
+ health_score?: number | undefined;
2587
+ pending_suggestions?: number | undefined;
2588
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
2589
+ role_advice?: string[] | undefined;
2590
+ } | undefined;
2591
+ }, {
2592
+ status: "success" | "partial" | "failed" | "pending_input";
2593
+ intent: string;
2594
+ summary: string;
2595
+ created?: {
2596
+ id: string;
2597
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2598
+ name?: string | null | undefined;
2599
+ relation?: {
2600
+ parent?: string | null | undefined;
2601
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2602
+ } | undefined;
2603
+ immutable?: boolean | undefined;
2604
+ }[] | undefined;
2605
+ events?: {
2606
+ event_type: string;
2607
+ business_meaning: string;
2608
+ category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
2609
+ related_object?: string | undefined;
2610
+ side_effect?: string | undefined;
2611
+ }[] | undefined;
2612
+ modified?: {
2613
+ id: string;
2614
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2615
+ name?: string | null | undefined;
2616
+ relation?: {
2617
+ parent?: string | null | undefined;
2618
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2619
+ } | undefined;
2620
+ immutable?: boolean | undefined;
2621
+ }[] | undefined;
2622
+ released?: {
2623
+ coinType: string;
2624
+ amount: string;
2625
+ role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
2626
+ from?: string | null | undefined;
2627
+ to?: string | null | undefined;
2628
+ }[] | undefined;
2629
+ next_actions?: {
2630
+ action: string;
2631
+ reason: string;
2632
+ priority: "required" | "recommended" | "optional";
2633
+ tool?: string | undefined;
2634
+ prerequisite?: string | undefined;
2635
+ }[] | undefined;
2636
+ warnings?: string[] | undefined;
2637
+ experience?: {
2638
+ advice?: string | undefined;
2639
+ avoid?: string[] | undefined;
2640
+ relevance?: number | undefined;
2641
+ matched_scenario?: string | undefined;
2642
+ } | undefined;
2643
+ service_status?: {
2644
+ active: string[];
2645
+ inactive?: string[] | undefined;
2646
+ } | undefined;
2647
+ customer_advice?: {
2648
+ recommendations: string[];
2649
+ reminders: {
2650
+ message: string;
2651
+ id: string;
2652
+ priority: "required" | "recommended" | "info" | "reminder";
2653
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
2654
+ action?: string | undefined;
2655
+ }[];
2656
+ risk_score?: number | undefined;
2657
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
2658
+ preference_match?: {
2659
+ score: number;
2660
+ matches: string[];
2661
+ mismatches: string[];
2662
+ } | undefined;
2663
+ } | undefined;
2664
+ evolution_context?: {
2665
+ confidence: number;
2666
+ role?: "user" | "merchant" | "arbitrator" | undefined;
2667
+ industry_signal?: string | undefined;
2668
+ evolution_advice?: string | undefined;
2669
+ health_score?: number | undefined;
2670
+ pending_suggestions?: number | undefined;
2671
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
2672
+ role_advice?: string[] | undefined;
2673
+ } | undefined;
2674
+ }>>;
2192
2675
  }, "strip", z.ZodTypeAny, {
2193
2676
  result: {
2194
2677
  type: "data";
2195
- data?: any;
2678
+ data?: unknown;
2196
2679
  } | {
2197
2680
  type: "error";
2198
2681
  error: string;
2682
+ error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
2683
+ retryable?: boolean | undefined;
2684
+ recovery_hint?: string | undefined;
2199
2685
  };
2200
2686
  message?: string | undefined;
2687
+ semantic?: {
2688
+ status: "success" | "partial" | "failed" | "pending_input";
2689
+ intent: string;
2690
+ summary: string;
2691
+ created?: {
2692
+ id: string;
2693
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2694
+ name?: string | null | undefined;
2695
+ relation?: {
2696
+ parent?: string | null | undefined;
2697
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2698
+ } | undefined;
2699
+ immutable?: boolean | undefined;
2700
+ }[] | undefined;
2701
+ events?: {
2702
+ event_type: string;
2703
+ business_meaning: string;
2704
+ category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
2705
+ related_object?: string | undefined;
2706
+ side_effect?: string | undefined;
2707
+ }[] | undefined;
2708
+ modified?: {
2709
+ id: string;
2710
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2711
+ name?: string | null | undefined;
2712
+ relation?: {
2713
+ parent?: string | null | undefined;
2714
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2715
+ } | undefined;
2716
+ immutable?: boolean | undefined;
2717
+ }[] | undefined;
2718
+ released?: {
2719
+ coinType: string;
2720
+ amount: string;
2721
+ role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
2722
+ from?: string | null | undefined;
2723
+ to?: string | null | undefined;
2724
+ }[] | undefined;
2725
+ next_actions?: {
2726
+ action: string;
2727
+ reason: string;
2728
+ priority: "required" | "recommended" | "optional";
2729
+ tool?: string | undefined;
2730
+ prerequisite?: string | undefined;
2731
+ }[] | undefined;
2732
+ warnings?: string[] | undefined;
2733
+ experience?: {
2734
+ advice?: string | undefined;
2735
+ avoid?: string[] | undefined;
2736
+ relevance?: number | undefined;
2737
+ matched_scenario?: string | undefined;
2738
+ } | undefined;
2739
+ service_status?: {
2740
+ active: string[];
2741
+ inactive?: string[] | undefined;
2742
+ } | undefined;
2743
+ customer_advice?: {
2744
+ recommendations: string[];
2745
+ reminders: {
2746
+ message: string;
2747
+ id: string;
2748
+ priority: "required" | "recommended" | "info" | "reminder";
2749
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
2750
+ action?: string | undefined;
2751
+ }[];
2752
+ risk_score?: number | undefined;
2753
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
2754
+ preference_match?: {
2755
+ score: number;
2756
+ matches: string[];
2757
+ mismatches: string[];
2758
+ } | undefined;
2759
+ } | undefined;
2760
+ evolution_context?: {
2761
+ confidence: number;
2762
+ role?: "user" | "merchant" | "arbitrator" | undefined;
2763
+ industry_signal?: string | undefined;
2764
+ evolution_advice?: string | undefined;
2765
+ health_score?: number | undefined;
2766
+ pending_suggestions?: number | undefined;
2767
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
2768
+ role_advice?: string[] | undefined;
2769
+ } | undefined;
2770
+ } | undefined;
2201
2771
  }, {
2202
2772
  result: {
2203
2773
  type: "data";
2204
- data?: any;
2774
+ data?: unknown;
2205
2775
  } | {
2206
2776
  type: "error";
2207
2777
  error: string;
2778
+ error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
2779
+ retryable?: boolean | undefined;
2780
+ recovery_hint?: string | undefined;
2208
2781
  };
2209
2782
  message?: string | undefined;
2783
+ semantic?: {
2784
+ status: "success" | "partial" | "failed" | "pending_input";
2785
+ intent: string;
2786
+ summary: string;
2787
+ created?: {
2788
+ id: string;
2789
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2790
+ name?: string | null | undefined;
2791
+ relation?: {
2792
+ parent?: string | null | undefined;
2793
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2794
+ } | undefined;
2795
+ immutable?: boolean | undefined;
2796
+ }[] | undefined;
2797
+ events?: {
2798
+ event_type: string;
2799
+ business_meaning: string;
2800
+ category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
2801
+ related_object?: string | undefined;
2802
+ side_effect?: string | undefined;
2803
+ }[] | undefined;
2804
+ modified?: {
2805
+ id: string;
2806
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2807
+ name?: string | null | undefined;
2808
+ relation?: {
2809
+ parent?: string | null | undefined;
2810
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2811
+ } | undefined;
2812
+ immutable?: boolean | undefined;
2813
+ }[] | undefined;
2814
+ released?: {
2815
+ coinType: string;
2816
+ amount: string;
2817
+ role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
2818
+ from?: string | null | undefined;
2819
+ to?: string | null | undefined;
2820
+ }[] | undefined;
2821
+ next_actions?: {
2822
+ action: string;
2823
+ reason: string;
2824
+ priority: "required" | "recommended" | "optional";
2825
+ tool?: string | undefined;
2826
+ prerequisite?: string | undefined;
2827
+ }[] | undefined;
2828
+ warnings?: string[] | undefined;
2829
+ experience?: {
2830
+ advice?: string | undefined;
2831
+ avoid?: string[] | undefined;
2832
+ relevance?: number | undefined;
2833
+ matched_scenario?: string | undefined;
2834
+ } | undefined;
2835
+ service_status?: {
2836
+ active: string[];
2837
+ inactive?: string[] | undefined;
2838
+ } | undefined;
2839
+ customer_advice?: {
2840
+ recommendations: string[];
2841
+ reminders: {
2842
+ message: string;
2843
+ id: string;
2844
+ priority: "required" | "recommended" | "info" | "reminder";
2845
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
2846
+ action?: string | undefined;
2847
+ }[];
2848
+ risk_score?: number | undefined;
2849
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
2850
+ preference_match?: {
2851
+ score: number;
2852
+ matches: string[];
2853
+ mismatches: string[];
2854
+ } | undefined;
2855
+ } | undefined;
2856
+ evolution_context?: {
2857
+ confidence: number;
2858
+ role?: "user" | "merchant" | "arbitrator" | undefined;
2859
+ industry_signal?: string | undefined;
2860
+ evolution_advice?: string | undefined;
2861
+ health_score?: number | undefined;
2862
+ pending_suggestions?: number | undefined;
2863
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
2864
+ role_advice?: string[] | undefined;
2865
+ } | undefined;
2866
+ } | undefined;
2210
2867
  }>;
2211
2868
  export type BridgeOperations = z.infer<typeof BridgeOperationsSchema>;
2212
2869
  export type BridgeOutput = z.infer<typeof BridgeOutputSchema>;