@wowok/agent-mcp 2.3.16 → 2.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/customer/index.d.ts +9 -0
- package/dist/customer/index.js +9 -0
- package/dist/customer/industry-risks.d.ts +4 -0
- package/dist/customer/industry-risks.js +14 -0
- package/dist/customer/user-preferences.d.ts +3 -0
- package/dist/customer/user-preferences.js +9 -0
- package/dist/experience/realtime-feedback.js +17 -0
- package/dist/index.js +360 -273
- package/dist/knowledge/acquisition-flywheel.d.ts +3 -0
- package/dist/knowledge/acquisition-flywheel.js +9 -0
- package/dist/knowledge/guard-ledger.d.ts +19 -0
- package/dist/knowledge/guard-ledger.js +219 -0
- package/dist/knowledge/guard-puzzle.d.ts +93 -0
- package/dist/knowledge/guard-puzzle.js +278 -0
- package/dist/knowledge/guard-risk.d.ts +60 -0
- package/dist/knowledge/guard-risk.js +474 -0
- package/dist/knowledge/guard-translation.d.ts +46 -0
- package/dist/knowledge/guard-translation.js +487 -0
- package/dist/knowledge/index.d.ts +13 -0
- package/dist/knowledge/index.js +13 -0
- package/dist/knowledge/industry-registry.d.ts +1 -2
- package/dist/knowledge/industry-registry.js +23 -3
- package/dist/knowledge/safety-rules.js +61 -0
- package/dist/knowledge/tool-constraints.js +12 -22
- package/dist/safety/confirm-gate.d.ts +4 -2
- package/dist/safety/confirm-gate.js +48 -4
- package/dist/schema/call/allocation.d.ts +24 -14
- package/dist/schema/call/arbitration.d.ts +142 -132
- package/dist/schema/call/base.d.ts +901 -43
- package/dist/schema/call/base.js +66 -2
- package/dist/schema/call/bridge-handler.js +15 -2
- package/dist/schema/call/bridge.d.ts +769 -1
- package/dist/schema/call/bridge.js +37 -0
- package/dist/schema/call/contact.d.ts +10 -0
- package/dist/schema/call/demand.d.ts +10 -0
- package/dist/schema/call/guard.d.ts +76 -46
- package/dist/schema/call/handler.js +46 -14
- package/dist/schema/call/machine.d.ts +158 -138
- package/dist/schema/call/order.d.ts +10 -0
- package/dist/schema/call/payment.d.ts +10 -0
- package/dist/schema/call/permission.d.ts +232 -222
- package/dist/schema/call/personal.d.ts +10 -0
- package/dist/schema/call/progress.d.ts +10 -0
- package/dist/schema/call/proof.d.ts +20 -0
- package/dist/schema/call/repository.d.ts +32 -22
- package/dist/schema/call/reward.d.ts +10 -0
- package/dist/schema/call/semantic.d.ts +9 -2
- package/dist/schema/call/semantic.js +409 -21
- package/dist/schema/call/service.d.ts +20 -10
- package/dist/schema/call/treasury.d.ts +10 -0
- package/dist/schema/config/index.d.ts +18 -0
- package/dist/schema/config/index.js +17 -0
- package/dist/schema/index.d.ts +6 -0
- package/dist/schema/index.js +5 -0
- package/dist/schema/local/index.d.ts +9 -9
- package/dist/schema/local/index.js +9 -0
- package/dist/schema/messenger/index.d.ts +350 -29
- package/dist/schema/messenger/index.js +17 -17
- package/dist/schema/operations.d.ts +1667 -545
- package/dist/schema/operations.js +91 -96
- package/dist/schema/project/index.d.ts +21 -0
- package/dist/schema/project/index.js +32 -0
- package/dist/schema/query/index.d.ts +1074 -168
- package/dist/schema/query/index.js +8 -8
- package/dist/schema/schema-query/index.d.ts +33 -0
- package/dist/schema/schema-query/index.js +36 -0
- package/dist/schema/schema-version.d.ts +25 -0
- package/dist/schema/schema-version.js +76 -0
- package/dist/schema/trust/index.d.ts +407 -0
- package/dist/schema/trust/index.js +113 -0
- package/dist/schemas/bridge_operation.output.json +224 -0
- package/dist/schemas/bridge_operation.schema.json +67 -8
- package/dist/schemas/config_operation.output.json +18 -0
- package/dist/schemas/config_operation.schema.json +34 -0
- package/dist/schemas/guard-node-schema.json +82 -0
- package/dist/schemas/guard2file.schema.json +8 -0
- package/dist/schemas/index.json +19 -1
- package/dist/schemas/machineNode2file.schema.json +8 -0
- package/dist/schemas/messenger_operation.output.json +224 -0
- package/dist/schemas/onchain_events.output.json +718 -0
- package/dist/schemas/onchain_operations.output.json +277 -2
- package/dist/schemas/onchain_operations.schema.json +19 -16
- package/dist/schemas/onchain_operations_allocation.schema.json +8 -0
- package/dist/schemas/onchain_operations_arbitration.schema.json +8 -0
- package/dist/schemas/onchain_operations_contact.schema.json +8 -0
- package/dist/schemas/onchain_operations_demand.schema.json +8 -0
- package/dist/schemas/onchain_operations_gen_passport.schema.json +16 -0
- package/dist/schemas/onchain_operations_guard.schema.json +11 -16
- package/dist/schemas/onchain_operations_machine.schema.json +8 -0
- package/dist/schemas/onchain_operations_order.schema.json +8 -0
- package/dist/schemas/onchain_operations_payment.schema.json +8 -0
- package/dist/schemas/onchain_operations_permission.schema.json +8 -0
- package/dist/schemas/onchain_operations_personal.schema.json +8 -0
- package/dist/schemas/onchain_operations_progress.schema.json +8 -0
- package/dist/schemas/onchain_operations_repository.schema.json +8 -0
- package/dist/schemas/onchain_operations_reward.schema.json +8 -0
- package/dist/schemas/onchain_operations_service.schema.json +8 -0
- package/dist/schemas/onchain_operations_treasury.schema.json +8 -0
- package/dist/schemas/onchain_table_data.output.json +718 -0
- package/dist/schemas/project_operation.output.json +18 -0
- package/dist/schemas/project_operation.schema.json +42 -0
- package/dist/schemas/query_toolkit.schema.json +360 -368
- package/dist/schemas/schema_query.schema.json +6 -3
- package/dist/schemas/trust_score.output.json +327 -0
- package/dist/schemas/trust_score.schema.json +46 -0
- package/package.json +2 -2
|
@@ -3,31 +3,44 @@ export declare const BridgeTokenSchema: z.ZodEnum<["ETH", "WETH", "WBTC", "USDC"
|
|
|
3
3
|
export declare const EvmChainSchema: z.ZodDefault<z.ZodEnum<["mainnet"]>>;
|
|
4
4
|
export declare const EvmAddressSchema: z.ZodString;
|
|
5
5
|
export declare const BridgeAmountSchema: z.ZodString;
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const BridgeIdempotencyKeySchema: z.ZodString;
|
|
7
|
+
export declare const BridgeOperationTypeSchema: z.ZodEnum<["cross_chain_wow_to_evm", "cross_chain_evm_to_wow", "claim_wow_to_evm", "resume_transfer", "withdraw", "query_active_evm_account", "query_supported_evm_chains", "query_supported_tokens", "query_transfer_list", "query_transfer_status", "manage_evm_rpc"]>;
|
|
7
8
|
export declare const BridgeWowToEvmDataSchema: z.ZodObject<{
|
|
8
9
|
token: z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>;
|
|
9
10
|
amount: z.ZodString;
|
|
10
11
|
withdrawTo: z.ZodOptional<z.ZodString>;
|
|
12
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
13
|
+
idempotentByParams: z.ZodOptional<z.ZodBoolean>;
|
|
11
14
|
}, "strict", z.ZodTypeAny, {
|
|
12
15
|
amount: string;
|
|
13
16
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
14
17
|
withdrawTo?: string | undefined;
|
|
18
|
+
idempotencyKey?: string | undefined;
|
|
19
|
+
idempotentByParams?: boolean | undefined;
|
|
15
20
|
}, {
|
|
16
21
|
amount: string;
|
|
17
22
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
18
23
|
withdrawTo?: string | undefined;
|
|
24
|
+
idempotencyKey?: string | undefined;
|
|
25
|
+
idempotentByParams?: boolean | undefined;
|
|
19
26
|
}>;
|
|
20
27
|
export declare const BridgeEvmToWowDataSchema: z.ZodObject<{
|
|
21
28
|
token: z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>;
|
|
22
29
|
amount: z.ZodString;
|
|
23
30
|
recipientWowAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
31
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
32
|
+
idempotentByParams: z.ZodOptional<z.ZodBoolean>;
|
|
24
33
|
}, "strict", z.ZodTypeAny, {
|
|
25
34
|
amount: string;
|
|
26
35
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
36
|
+
idempotencyKey?: string | undefined;
|
|
37
|
+
idempotentByParams?: boolean | undefined;
|
|
27
38
|
recipientWowAddress?: string | undefined;
|
|
28
39
|
}, {
|
|
29
40
|
amount: string;
|
|
30
41
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
42
|
+
idempotencyKey?: string | undefined;
|
|
43
|
+
idempotentByParams?: boolean | undefined;
|
|
31
44
|
recipientWowAddress?: string | undefined;
|
|
32
45
|
}>;
|
|
33
46
|
export declare const BridgeClaimWowToEvmDataSchema: z.ZodObject<{
|
|
@@ -37,6 +50,13 @@ export declare const BridgeClaimWowToEvmDataSchema: z.ZodObject<{
|
|
|
37
50
|
}, {
|
|
38
51
|
transferId: string;
|
|
39
52
|
}>;
|
|
53
|
+
export declare const BridgeResumeTransferDataSchema: z.ZodObject<{
|
|
54
|
+
transferId: z.ZodString;
|
|
55
|
+
}, "strict", z.ZodTypeAny, {
|
|
56
|
+
transferId: string;
|
|
57
|
+
}, {
|
|
58
|
+
transferId: string;
|
|
59
|
+
}>;
|
|
40
60
|
export declare const BridgeWithdrawDataSchema: z.ZodObject<{
|
|
41
61
|
to: z.ZodString;
|
|
42
62
|
amount: z.ZodString;
|
|
@@ -166,14 +186,20 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
166
186
|
token: z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>;
|
|
167
187
|
amount: z.ZodString;
|
|
168
188
|
withdrawTo: z.ZodOptional<z.ZodString>;
|
|
189
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
190
|
+
idempotentByParams: z.ZodOptional<z.ZodBoolean>;
|
|
169
191
|
}, "strict", z.ZodTypeAny, {
|
|
170
192
|
amount: string;
|
|
171
193
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
172
194
|
withdrawTo?: string | undefined;
|
|
195
|
+
idempotencyKey?: string | undefined;
|
|
196
|
+
idempotentByParams?: boolean | undefined;
|
|
173
197
|
}, {
|
|
174
198
|
amount: string;
|
|
175
199
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
176
200
|
withdrawTo?: string | undefined;
|
|
201
|
+
idempotencyKey?: string | undefined;
|
|
202
|
+
idempotentByParams?: boolean | undefined;
|
|
177
203
|
}>;
|
|
178
204
|
env: z.ZodOptional<z.ZodObject<{
|
|
179
205
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
@@ -184,6 +210,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
184
210
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
185
211
|
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
186
212
|
project: z.ZodOptional<z.ZodString>;
|
|
213
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
214
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
187
215
|
}, "strict", z.ZodTypeAny, {
|
|
188
216
|
account: string;
|
|
189
217
|
no_cache?: boolean | undefined;
|
|
@@ -193,6 +221,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
193
221
|
confirmed?: boolean | undefined;
|
|
194
222
|
user_intent_phrases?: string[] | undefined;
|
|
195
223
|
project?: string | undefined;
|
|
224
|
+
client_schema_version?: string | undefined;
|
|
225
|
+
schema_strict_mode?: boolean | undefined;
|
|
196
226
|
}, {
|
|
197
227
|
no_cache?: boolean | undefined;
|
|
198
228
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
@@ -202,12 +232,16 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
202
232
|
confirmed?: boolean | undefined;
|
|
203
233
|
user_intent_phrases?: string[] | undefined;
|
|
204
234
|
project?: string | undefined;
|
|
235
|
+
client_schema_version?: string | undefined;
|
|
236
|
+
schema_strict_mode?: boolean | undefined;
|
|
205
237
|
}>>;
|
|
206
238
|
}, "strip", z.ZodTypeAny, {
|
|
207
239
|
data: {
|
|
208
240
|
amount: string;
|
|
209
241
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
210
242
|
withdrawTo?: string | undefined;
|
|
243
|
+
idempotencyKey?: string | undefined;
|
|
244
|
+
idempotentByParams?: boolean | undefined;
|
|
211
245
|
};
|
|
212
246
|
operation_type: "cross_chain_wow_to_evm";
|
|
213
247
|
env?: {
|
|
@@ -219,12 +253,16 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
219
253
|
confirmed?: boolean | undefined;
|
|
220
254
|
user_intent_phrases?: string[] | undefined;
|
|
221
255
|
project?: string | undefined;
|
|
256
|
+
client_schema_version?: string | undefined;
|
|
257
|
+
schema_strict_mode?: boolean | undefined;
|
|
222
258
|
} | undefined;
|
|
223
259
|
}, {
|
|
224
260
|
data: {
|
|
225
261
|
amount: string;
|
|
226
262
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
227
263
|
withdrawTo?: string | undefined;
|
|
264
|
+
idempotencyKey?: string | undefined;
|
|
265
|
+
idempotentByParams?: boolean | undefined;
|
|
228
266
|
};
|
|
229
267
|
operation_type: "cross_chain_wow_to_evm";
|
|
230
268
|
env?: {
|
|
@@ -236,6 +274,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
236
274
|
confirmed?: boolean | undefined;
|
|
237
275
|
user_intent_phrases?: string[] | undefined;
|
|
238
276
|
project?: string | undefined;
|
|
277
|
+
client_schema_version?: string | undefined;
|
|
278
|
+
schema_strict_mode?: boolean | undefined;
|
|
239
279
|
} | undefined;
|
|
240
280
|
}>, z.ZodObject<{
|
|
241
281
|
operation_type: z.ZodLiteral<"cross_chain_evm_to_wow">;
|
|
@@ -243,13 +283,19 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
243
283
|
token: z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>;
|
|
244
284
|
amount: z.ZodString;
|
|
245
285
|
recipientWowAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
286
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
287
|
+
idempotentByParams: z.ZodOptional<z.ZodBoolean>;
|
|
246
288
|
}, "strict", z.ZodTypeAny, {
|
|
247
289
|
amount: string;
|
|
248
290
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
291
|
+
idempotencyKey?: string | undefined;
|
|
292
|
+
idempotentByParams?: boolean | undefined;
|
|
249
293
|
recipientWowAddress?: string | undefined;
|
|
250
294
|
}, {
|
|
251
295
|
amount: string;
|
|
252
296
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
297
|
+
idempotencyKey?: string | undefined;
|
|
298
|
+
idempotentByParams?: boolean | undefined;
|
|
253
299
|
recipientWowAddress?: string | undefined;
|
|
254
300
|
}>;
|
|
255
301
|
env: z.ZodOptional<z.ZodObject<{
|
|
@@ -261,6 +307,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
261
307
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
262
308
|
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
263
309
|
project: z.ZodOptional<z.ZodString>;
|
|
310
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
311
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
264
312
|
}, "strict", z.ZodTypeAny, {
|
|
265
313
|
account: string;
|
|
266
314
|
no_cache?: boolean | undefined;
|
|
@@ -270,6 +318,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
270
318
|
confirmed?: boolean | undefined;
|
|
271
319
|
user_intent_phrases?: string[] | undefined;
|
|
272
320
|
project?: string | undefined;
|
|
321
|
+
client_schema_version?: string | undefined;
|
|
322
|
+
schema_strict_mode?: boolean | undefined;
|
|
273
323
|
}, {
|
|
274
324
|
no_cache?: boolean | undefined;
|
|
275
325
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
@@ -279,11 +329,15 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
279
329
|
confirmed?: boolean | undefined;
|
|
280
330
|
user_intent_phrases?: string[] | undefined;
|
|
281
331
|
project?: string | undefined;
|
|
332
|
+
client_schema_version?: string | undefined;
|
|
333
|
+
schema_strict_mode?: boolean | undefined;
|
|
282
334
|
}>>;
|
|
283
335
|
}, "strip", z.ZodTypeAny, {
|
|
284
336
|
data: {
|
|
285
337
|
amount: string;
|
|
286
338
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
339
|
+
idempotencyKey?: string | undefined;
|
|
340
|
+
idempotentByParams?: boolean | undefined;
|
|
287
341
|
recipientWowAddress?: string | undefined;
|
|
288
342
|
};
|
|
289
343
|
operation_type: "cross_chain_evm_to_wow";
|
|
@@ -296,11 +350,15 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
296
350
|
confirmed?: boolean | undefined;
|
|
297
351
|
user_intent_phrases?: string[] | undefined;
|
|
298
352
|
project?: string | undefined;
|
|
353
|
+
client_schema_version?: string | undefined;
|
|
354
|
+
schema_strict_mode?: boolean | undefined;
|
|
299
355
|
} | undefined;
|
|
300
356
|
}, {
|
|
301
357
|
data: {
|
|
302
358
|
amount: string;
|
|
303
359
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
360
|
+
idempotencyKey?: string | undefined;
|
|
361
|
+
idempotentByParams?: boolean | undefined;
|
|
304
362
|
recipientWowAddress?: string | undefined;
|
|
305
363
|
};
|
|
306
364
|
operation_type: "cross_chain_evm_to_wow";
|
|
@@ -313,6 +371,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
313
371
|
confirmed?: boolean | undefined;
|
|
314
372
|
user_intent_phrases?: string[] | undefined;
|
|
315
373
|
project?: string | undefined;
|
|
374
|
+
client_schema_version?: string | undefined;
|
|
375
|
+
schema_strict_mode?: boolean | undefined;
|
|
316
376
|
} | undefined;
|
|
317
377
|
}>, z.ZodObject<{
|
|
318
378
|
operation_type: z.ZodLiteral<"claim_wow_to_evm">;
|
|
@@ -332,6 +392,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
332
392
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
333
393
|
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
334
394
|
project: z.ZodOptional<z.ZodString>;
|
|
395
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
396
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
335
397
|
}, "strict", z.ZodTypeAny, {
|
|
336
398
|
account: string;
|
|
337
399
|
no_cache?: boolean | undefined;
|
|
@@ -341,6 +403,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
341
403
|
confirmed?: boolean | undefined;
|
|
342
404
|
user_intent_phrases?: string[] | undefined;
|
|
343
405
|
project?: string | undefined;
|
|
406
|
+
client_schema_version?: string | undefined;
|
|
407
|
+
schema_strict_mode?: boolean | undefined;
|
|
344
408
|
}, {
|
|
345
409
|
no_cache?: boolean | undefined;
|
|
346
410
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
@@ -350,6 +414,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
350
414
|
confirmed?: boolean | undefined;
|
|
351
415
|
user_intent_phrases?: string[] | undefined;
|
|
352
416
|
project?: string | undefined;
|
|
417
|
+
client_schema_version?: string | undefined;
|
|
418
|
+
schema_strict_mode?: boolean | undefined;
|
|
353
419
|
}>>;
|
|
354
420
|
}, "strip", z.ZodTypeAny, {
|
|
355
421
|
data: {
|
|
@@ -365,6 +431,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
365
431
|
confirmed?: boolean | undefined;
|
|
366
432
|
user_intent_phrases?: string[] | undefined;
|
|
367
433
|
project?: string | undefined;
|
|
434
|
+
client_schema_version?: string | undefined;
|
|
435
|
+
schema_strict_mode?: boolean | undefined;
|
|
368
436
|
} | undefined;
|
|
369
437
|
}, {
|
|
370
438
|
data: {
|
|
@@ -380,6 +448,85 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
380
448
|
confirmed?: boolean | undefined;
|
|
381
449
|
user_intent_phrases?: string[] | undefined;
|
|
382
450
|
project?: string | undefined;
|
|
451
|
+
client_schema_version?: string | undefined;
|
|
452
|
+
schema_strict_mode?: boolean | undefined;
|
|
453
|
+
} | undefined;
|
|
454
|
+
}>, z.ZodObject<{
|
|
455
|
+
operation_type: z.ZodLiteral<"resume_transfer">;
|
|
456
|
+
data: z.ZodObject<{
|
|
457
|
+
transferId: z.ZodString;
|
|
458
|
+
}, "strict", z.ZodTypeAny, {
|
|
459
|
+
transferId: string;
|
|
460
|
+
}, {
|
|
461
|
+
transferId: string;
|
|
462
|
+
}>;
|
|
463
|
+
env: z.ZodOptional<z.ZodObject<{
|
|
464
|
+
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
465
|
+
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
466
|
+
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
467
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
|
|
468
|
+
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
469
|
+
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
470
|
+
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
471
|
+
project: z.ZodOptional<z.ZodString>;
|
|
472
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
473
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
474
|
+
}, "strict", z.ZodTypeAny, {
|
|
475
|
+
account: string;
|
|
476
|
+
no_cache?: boolean | undefined;
|
|
477
|
+
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
478
|
+
permission_guard?: string[] | undefined;
|
|
479
|
+
referrer?: string | undefined;
|
|
480
|
+
confirmed?: boolean | undefined;
|
|
481
|
+
user_intent_phrases?: string[] | undefined;
|
|
482
|
+
project?: string | undefined;
|
|
483
|
+
client_schema_version?: string | undefined;
|
|
484
|
+
schema_strict_mode?: boolean | undefined;
|
|
485
|
+
}, {
|
|
486
|
+
no_cache?: boolean | undefined;
|
|
487
|
+
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
488
|
+
account?: string | undefined;
|
|
489
|
+
permission_guard?: string[] | undefined;
|
|
490
|
+
referrer?: string | undefined;
|
|
491
|
+
confirmed?: boolean | undefined;
|
|
492
|
+
user_intent_phrases?: string[] | undefined;
|
|
493
|
+
project?: string | undefined;
|
|
494
|
+
client_schema_version?: string | undefined;
|
|
495
|
+
schema_strict_mode?: boolean | undefined;
|
|
496
|
+
}>>;
|
|
497
|
+
}, "strip", z.ZodTypeAny, {
|
|
498
|
+
data: {
|
|
499
|
+
transferId: string;
|
|
500
|
+
};
|
|
501
|
+
operation_type: "resume_transfer";
|
|
502
|
+
env?: {
|
|
503
|
+
account: string;
|
|
504
|
+
no_cache?: boolean | undefined;
|
|
505
|
+
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
506
|
+
permission_guard?: string[] | undefined;
|
|
507
|
+
referrer?: string | undefined;
|
|
508
|
+
confirmed?: boolean | undefined;
|
|
509
|
+
user_intent_phrases?: string[] | undefined;
|
|
510
|
+
project?: string | undefined;
|
|
511
|
+
client_schema_version?: string | undefined;
|
|
512
|
+
schema_strict_mode?: boolean | undefined;
|
|
513
|
+
} | undefined;
|
|
514
|
+
}, {
|
|
515
|
+
data: {
|
|
516
|
+
transferId: string;
|
|
517
|
+
};
|
|
518
|
+
operation_type: "resume_transfer";
|
|
519
|
+
env?: {
|
|
520
|
+
no_cache?: boolean | undefined;
|
|
521
|
+
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
522
|
+
account?: string | undefined;
|
|
523
|
+
permission_guard?: string[] | undefined;
|
|
524
|
+
referrer?: string | undefined;
|
|
525
|
+
confirmed?: boolean | undefined;
|
|
526
|
+
user_intent_phrases?: string[] | undefined;
|
|
527
|
+
project?: string | undefined;
|
|
528
|
+
client_schema_version?: string | undefined;
|
|
529
|
+
schema_strict_mode?: boolean | undefined;
|
|
383
530
|
} | undefined;
|
|
384
531
|
}>, z.ZodObject<{
|
|
385
532
|
operation_type: z.ZodLiteral<"withdraw">;
|
|
@@ -641,6 +788,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
641
788
|
amount: string;
|
|
642
789
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
643
790
|
withdrawTo?: string | undefined;
|
|
791
|
+
idempotencyKey?: string | undefined;
|
|
792
|
+
idempotentByParams?: boolean | undefined;
|
|
644
793
|
};
|
|
645
794
|
operation_type: "cross_chain_wow_to_evm";
|
|
646
795
|
env?: {
|
|
@@ -652,11 +801,15 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
652
801
|
confirmed?: boolean | undefined;
|
|
653
802
|
user_intent_phrases?: string[] | undefined;
|
|
654
803
|
project?: string | undefined;
|
|
804
|
+
client_schema_version?: string | undefined;
|
|
805
|
+
schema_strict_mode?: boolean | undefined;
|
|
655
806
|
} | undefined;
|
|
656
807
|
} | {
|
|
657
808
|
data: {
|
|
658
809
|
amount: string;
|
|
659
810
|
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
811
|
+
idempotencyKey?: string | undefined;
|
|
812
|
+
idempotentByParams?: boolean | undefined;
|
|
660
813
|
recipientWowAddress?: string | undefined;
|
|
661
814
|
};
|
|
662
815
|
operation_type: "cross_chain_evm_to_wow";
|
|
@@ -669,6 +822,8 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
669
822
|
confirmed?: boolean | undefined;
|
|
670
823
|
user_intent_phrases?: string[] | undefined;
|
|
671
824
|
project?: string | undefined;
|
|
825
|
+
client_schema_version?: string | undefined;
|
|
826
|
+
schema_strict_mode?: boolean | undefined;
|
|
672
827
|
} | undefined;
|
|
673
828
|
} | {
|
|
674
829
|
data: {
|
|
@@ -684,6 +839,25 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
684
839
|
confirmed?: boolean | undefined;
|
|
685
840
|
user_intent_phrases?: string[] | undefined;
|
|
686
841
|
project?: string | undefined;
|
|
842
|
+
client_schema_version?: string | undefined;
|
|
843
|
+
schema_strict_mode?: boolean | undefined;
|
|
844
|
+
} | undefined;
|
|
845
|
+
} | {
|
|
846
|
+
data: {
|
|
847
|
+
transferId: string;
|
|
848
|
+
};
|
|
849
|
+
operation_type: "resume_transfer";
|
|
850
|
+
env?: {
|
|
851
|
+
account: string;
|
|
852
|
+
no_cache?: boolean | undefined;
|
|
853
|
+
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
854
|
+
permission_guard?: string[] | undefined;
|
|
855
|
+
referrer?: string | undefined;
|
|
856
|
+
confirmed?: boolean | undefined;
|
|
857
|
+
user_intent_phrases?: string[] | undefined;
|
|
858
|
+
project?: string | undefined;
|
|
859
|
+
client_schema_version?: string | undefined;
|
|
860
|
+
schema_strict_mode?: boolean | undefined;
|
|
687
861
|
} | undefined;
|
|
688
862
|
} | {
|
|
689
863
|
data: {
|
|
@@ -799,6 +973,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
|
|
|
799
973
|
recipientEth: z.ZodOptional<z.ZodString>;
|
|
800
974
|
recipientWow: z.ZodOptional<z.ZodString>;
|
|
801
975
|
intermediateEthAccount: z.ZodString;
|
|
976
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
802
977
|
step: z.ZodEnum<["init", "deposit", "claimed", "withdraw", "withdrawn"]>;
|
|
803
978
|
status: z.ZodEnum<["pending", "in_progress", "success", "failed"]>;
|
|
804
979
|
depositTxHash: z.ZodOptional<z.ZodString>;
|
|
@@ -867,6 +1042,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
|
|
|
867
1042
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
868
1043
|
intermediateEthAccount: string;
|
|
869
1044
|
error?: string | undefined;
|
|
1045
|
+
idempotencyKey?: string | undefined;
|
|
870
1046
|
bridgeSeq?: string | undefined;
|
|
871
1047
|
claimTxDigest?: string | undefined;
|
|
872
1048
|
recipientEth?: string | undefined;
|
|
@@ -902,6 +1078,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
|
|
|
902
1078
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
903
1079
|
intermediateEthAccount: string;
|
|
904
1080
|
error?: string | undefined;
|
|
1081
|
+
idempotencyKey?: string | undefined;
|
|
905
1082
|
bridgeSeq?: string | undefined;
|
|
906
1083
|
claimTxDigest?: string | undefined;
|
|
907
1084
|
recipientEth?: string | undefined;
|
|
@@ -932,29 +1109,41 @@ export declare const BridgeWowToEvmResultSchema: z.ZodObject<{
|
|
|
932
1109
|
bridgeSeq: z.ZodString;
|
|
933
1110
|
activeEvmAccount: z.ZodString;
|
|
934
1111
|
transferId: z.ZodString;
|
|
1112
|
+
idempotentHit: z.ZodOptional<z.ZodBoolean>;
|
|
1113
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
935
1114
|
}, "strict", z.ZodTypeAny, {
|
|
936
1115
|
transferId: string;
|
|
937
1116
|
bridgeSeq: string;
|
|
938
1117
|
depositTxDigest: string;
|
|
939
1118
|
activeEvmAccount: string;
|
|
1119
|
+
idempotencyKey?: string | undefined;
|
|
1120
|
+
idempotentHit?: boolean | undefined;
|
|
940
1121
|
}, {
|
|
941
1122
|
transferId: string;
|
|
942
1123
|
bridgeSeq: string;
|
|
943
1124
|
depositTxDigest: string;
|
|
944
1125
|
activeEvmAccount: string;
|
|
1126
|
+
idempotencyKey?: string | undefined;
|
|
1127
|
+
idempotentHit?: boolean | undefined;
|
|
945
1128
|
}>;
|
|
946
1129
|
export declare const BridgeEvmToWowResultSchema: z.ZodObject<{
|
|
947
1130
|
depositTxHash: z.ZodString;
|
|
948
1131
|
activeEvmAccount: z.ZodString;
|
|
949
1132
|
transferId: z.ZodString;
|
|
1133
|
+
idempotentHit: z.ZodOptional<z.ZodBoolean>;
|
|
1134
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
950
1135
|
}, "strict", z.ZodTypeAny, {
|
|
951
1136
|
transferId: string;
|
|
952
1137
|
depositTxHash: string;
|
|
953
1138
|
activeEvmAccount: string;
|
|
1139
|
+
idempotencyKey?: string | undefined;
|
|
1140
|
+
idempotentHit?: boolean | undefined;
|
|
954
1141
|
}, {
|
|
955
1142
|
transferId: string;
|
|
956
1143
|
depositTxHash: string;
|
|
957
1144
|
activeEvmAccount: string;
|
|
1145
|
+
idempotencyKey?: string | undefined;
|
|
1146
|
+
idempotentHit?: boolean | undefined;
|
|
958
1147
|
}>;
|
|
959
1148
|
export declare const BridgeClaimWowToEvmResultSchema: z.ZodObject<{
|
|
960
1149
|
claimTxHash: z.ZodString;
|
|
@@ -1121,6 +1310,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
|
|
|
1121
1310
|
recipientEth: z.ZodOptional<z.ZodString>;
|
|
1122
1311
|
recipientWow: z.ZodOptional<z.ZodString>;
|
|
1123
1312
|
intermediateEthAccount: z.ZodString;
|
|
1313
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1124
1314
|
step: z.ZodEnum<["init", "deposit", "claimed", "withdraw", "withdrawn"]>;
|
|
1125
1315
|
status: z.ZodEnum<["pending", "in_progress", "success", "failed"]>;
|
|
1126
1316
|
depositTxHash: z.ZodOptional<z.ZodString>;
|
|
@@ -1189,6 +1379,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
|
|
|
1189
1379
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1190
1380
|
intermediateEthAccount: string;
|
|
1191
1381
|
error?: string | undefined;
|
|
1382
|
+
idempotencyKey?: string | undefined;
|
|
1192
1383
|
bridgeSeq?: string | undefined;
|
|
1193
1384
|
claimTxDigest?: string | undefined;
|
|
1194
1385
|
recipientEth?: string | undefined;
|
|
@@ -1224,6 +1415,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
|
|
|
1224
1415
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1225
1416
|
intermediateEthAccount: string;
|
|
1226
1417
|
error?: string | undefined;
|
|
1418
|
+
idempotencyKey?: string | undefined;
|
|
1227
1419
|
bridgeSeq?: string | undefined;
|
|
1228
1420
|
claimTxDigest?: string | undefined;
|
|
1229
1421
|
recipientEth?: string | undefined;
|
|
@@ -1257,6 +1449,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
|
|
|
1257
1449
|
recipientEth: z.ZodOptional<z.ZodString>;
|
|
1258
1450
|
recipientWow: z.ZodOptional<z.ZodString>;
|
|
1259
1451
|
intermediateEthAccount: z.ZodString;
|
|
1452
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1260
1453
|
step: z.ZodEnum<["init", "deposit", "claimed", "withdraw", "withdrawn"]>;
|
|
1261
1454
|
status: z.ZodEnum<["pending", "in_progress", "success", "failed"]>;
|
|
1262
1455
|
depositTxHash: z.ZodOptional<z.ZodString>;
|
|
@@ -1325,6 +1518,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
|
|
|
1325
1518
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1326
1519
|
intermediateEthAccount: string;
|
|
1327
1520
|
error?: string | undefined;
|
|
1521
|
+
idempotencyKey?: string | undefined;
|
|
1328
1522
|
bridgeSeq?: string | undefined;
|
|
1329
1523
|
claimTxDigest?: string | undefined;
|
|
1330
1524
|
recipientEth?: string | undefined;
|
|
@@ -1360,6 +1554,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
|
|
|
1360
1554
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1361
1555
|
intermediateEthAccount: string;
|
|
1362
1556
|
error?: string | undefined;
|
|
1557
|
+
idempotencyKey?: string | undefined;
|
|
1363
1558
|
bridgeSeq?: string | undefined;
|
|
1364
1559
|
claimTxDigest?: string | undefined;
|
|
1365
1560
|
recipientEth?: string | undefined;
|
|
@@ -1405,16 +1600,22 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1405
1600
|
bridgeSeq: z.ZodString;
|
|
1406
1601
|
activeEvmAccount: z.ZodString;
|
|
1407
1602
|
transferId: z.ZodString;
|
|
1603
|
+
idempotentHit: z.ZodOptional<z.ZodBoolean>;
|
|
1604
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1408
1605
|
}, "strict", z.ZodTypeAny, {
|
|
1409
1606
|
transferId: string;
|
|
1410
1607
|
bridgeSeq: string;
|
|
1411
1608
|
depositTxDigest: string;
|
|
1412
1609
|
activeEvmAccount: string;
|
|
1610
|
+
idempotencyKey?: string | undefined;
|
|
1611
|
+
idempotentHit?: boolean | undefined;
|
|
1413
1612
|
}, {
|
|
1414
1613
|
transferId: string;
|
|
1415
1614
|
bridgeSeq: string;
|
|
1416
1615
|
depositTxDigest: string;
|
|
1417
1616
|
activeEvmAccount: string;
|
|
1617
|
+
idempotencyKey?: string | undefined;
|
|
1618
|
+
idempotentHit?: boolean | undefined;
|
|
1418
1619
|
}>;
|
|
1419
1620
|
message: z.ZodOptional<z.ZodString>;
|
|
1420
1621
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1423,6 +1624,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1423
1624
|
bridgeSeq: string;
|
|
1424
1625
|
depositTxDigest: string;
|
|
1425
1626
|
activeEvmAccount: string;
|
|
1627
|
+
idempotencyKey?: string | undefined;
|
|
1628
|
+
idempotentHit?: boolean | undefined;
|
|
1426
1629
|
};
|
|
1427
1630
|
operation_type: "cross_chain_wow_to_evm";
|
|
1428
1631
|
message?: string | undefined;
|
|
@@ -1432,6 +1635,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1432
1635
|
bridgeSeq: string;
|
|
1433
1636
|
depositTxDigest: string;
|
|
1434
1637
|
activeEvmAccount: string;
|
|
1638
|
+
idempotencyKey?: string | undefined;
|
|
1639
|
+
idempotentHit?: boolean | undefined;
|
|
1435
1640
|
};
|
|
1436
1641
|
operation_type: "cross_chain_wow_to_evm";
|
|
1437
1642
|
message?: string | undefined;
|
|
@@ -1441,14 +1646,20 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1441
1646
|
depositTxHash: z.ZodString;
|
|
1442
1647
|
activeEvmAccount: z.ZodString;
|
|
1443
1648
|
transferId: z.ZodString;
|
|
1649
|
+
idempotentHit: z.ZodOptional<z.ZodBoolean>;
|
|
1650
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1444
1651
|
}, "strict", z.ZodTypeAny, {
|
|
1445
1652
|
transferId: string;
|
|
1446
1653
|
depositTxHash: string;
|
|
1447
1654
|
activeEvmAccount: string;
|
|
1655
|
+
idempotencyKey?: string | undefined;
|
|
1656
|
+
idempotentHit?: boolean | undefined;
|
|
1448
1657
|
}, {
|
|
1449
1658
|
transferId: string;
|
|
1450
1659
|
depositTxHash: string;
|
|
1451
1660
|
activeEvmAccount: string;
|
|
1661
|
+
idempotencyKey?: string | undefined;
|
|
1662
|
+
idempotentHit?: boolean | undefined;
|
|
1452
1663
|
}>;
|
|
1453
1664
|
message: z.ZodOptional<z.ZodString>;
|
|
1454
1665
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1456,6 +1667,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1456
1667
|
transferId: string;
|
|
1457
1668
|
depositTxHash: string;
|
|
1458
1669
|
activeEvmAccount: string;
|
|
1670
|
+
idempotencyKey?: string | undefined;
|
|
1671
|
+
idempotentHit?: boolean | undefined;
|
|
1459
1672
|
};
|
|
1460
1673
|
operation_type: "cross_chain_evm_to_wow";
|
|
1461
1674
|
message?: string | undefined;
|
|
@@ -1464,6 +1677,8 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1464
1677
|
transferId: string;
|
|
1465
1678
|
depositTxHash: string;
|
|
1466
1679
|
activeEvmAccount: string;
|
|
1680
|
+
idempotencyKey?: string | undefined;
|
|
1681
|
+
idempotentHit?: boolean | undefined;
|
|
1467
1682
|
};
|
|
1468
1683
|
operation_type: "cross_chain_evm_to_wow";
|
|
1469
1684
|
message?: string | undefined;
|
|
@@ -1494,6 +1709,228 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1494
1709
|
};
|
|
1495
1710
|
operation_type: "claim_wow_to_evm";
|
|
1496
1711
|
message?: string | undefined;
|
|
1712
|
+
}>, z.ZodObject<{
|
|
1713
|
+
operation_type: z.ZodLiteral<"resume_transfer">;
|
|
1714
|
+
result: z.ZodObject<{
|
|
1715
|
+
transferId: z.ZodString;
|
|
1716
|
+
direction: z.ZodEnum<["wow_to_evm", "evm_to_wow", "withdraw"]>;
|
|
1717
|
+
token: z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>;
|
|
1718
|
+
amount: z.ZodString;
|
|
1719
|
+
recipientEth: z.ZodOptional<z.ZodString>;
|
|
1720
|
+
recipientWow: z.ZodOptional<z.ZodString>;
|
|
1721
|
+
intermediateEthAccount: z.ZodString;
|
|
1722
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1723
|
+
step: z.ZodEnum<["init", "deposit", "claimed", "withdraw", "withdrawn"]>;
|
|
1724
|
+
status: z.ZodEnum<["pending", "in_progress", "success", "failed"]>;
|
|
1725
|
+
depositTxHash: z.ZodOptional<z.ZodString>;
|
|
1726
|
+
depositTxDigest: z.ZodOptional<z.ZodString>;
|
|
1727
|
+
bridgeSeq: z.ZodOptional<z.ZodString>;
|
|
1728
|
+
claimTxHash: z.ZodOptional<z.ZodString>;
|
|
1729
|
+
claimTxDigest: z.ZodOptional<z.ZodString>;
|
|
1730
|
+
withdrawTxHash: z.ZodOptional<z.ZodString>;
|
|
1731
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1732
|
+
createdAt: z.ZodNumber;
|
|
1733
|
+
updatedAt: z.ZodNumber;
|
|
1734
|
+
latestState: z.ZodOptional<z.ZodObject<{
|
|
1735
|
+
status: z.ZodEnum<["not_started", "pending", "confirmed", "signatures_ready", "claiming", "completed", "failed"]>;
|
|
1736
|
+
step: z.ZodEnum<["not_started", "source_tx_pending", "source_tx_confirmed", "node_signing", "signatures_ready", "claim_tx_pending", "completed", "failed"]>;
|
|
1737
|
+
stepDescription: z.ZodOptional<z.ZodString>;
|
|
1738
|
+
direction: z.ZodOptional<z.ZodEnum<["wow_to_evm", "evm_to_wow"]>>;
|
|
1739
|
+
sourceTxHash: z.ZodOptional<z.ZodString>;
|
|
1740
|
+
bridgeSeq: z.ZodOptional<z.ZodString>;
|
|
1741
|
+
confirmations: z.ZodOptional<z.ZodNumber>;
|
|
1742
|
+
claimTxDigest: z.ZodOptional<z.ZodString>;
|
|
1743
|
+
claimReceipt: z.ZodOptional<z.ZodAny>;
|
|
1744
|
+
ethReceipt: z.ZodOptional<z.ZodAny>;
|
|
1745
|
+
wowReceipt: z.ZodOptional<z.ZodAny>;
|
|
1746
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1747
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
1748
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
1749
|
+
}, "strip", z.ZodTypeAny, {
|
|
1750
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1751
|
+
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1752
|
+
error?: string | undefined;
|
|
1753
|
+
updatedAt?: number | undefined;
|
|
1754
|
+
direction?: "wow_to_evm" | "evm_to_wow" | undefined;
|
|
1755
|
+
stepDescription?: string | undefined;
|
|
1756
|
+
sourceTxHash?: string | undefined;
|
|
1757
|
+
bridgeSeq?: string | undefined;
|
|
1758
|
+
confirmations?: number | undefined;
|
|
1759
|
+
claimTxDigest?: string | undefined;
|
|
1760
|
+
claimReceipt?: any;
|
|
1761
|
+
ethReceipt?: any;
|
|
1762
|
+
wowReceipt?: any;
|
|
1763
|
+
hint?: string | undefined;
|
|
1764
|
+
}, {
|
|
1765
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1766
|
+
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1767
|
+
error?: string | undefined;
|
|
1768
|
+
updatedAt?: number | undefined;
|
|
1769
|
+
direction?: "wow_to_evm" | "evm_to_wow" | undefined;
|
|
1770
|
+
stepDescription?: string | undefined;
|
|
1771
|
+
sourceTxHash?: string | undefined;
|
|
1772
|
+
bridgeSeq?: string | undefined;
|
|
1773
|
+
confirmations?: number | undefined;
|
|
1774
|
+
claimTxDigest?: string | undefined;
|
|
1775
|
+
claimReceipt?: any;
|
|
1776
|
+
ethReceipt?: any;
|
|
1777
|
+
wowReceipt?: any;
|
|
1778
|
+
hint?: string | undefined;
|
|
1779
|
+
}>>;
|
|
1780
|
+
}, "strict", z.ZodTypeAny, {
|
|
1781
|
+
status: "success" | "in_progress" | "failed" | "pending";
|
|
1782
|
+
amount: string;
|
|
1783
|
+
createdAt: number;
|
|
1784
|
+
updatedAt: number;
|
|
1785
|
+
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
1786
|
+
transferId: string;
|
|
1787
|
+
direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
|
|
1788
|
+
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1789
|
+
intermediateEthAccount: string;
|
|
1790
|
+
error?: string | undefined;
|
|
1791
|
+
idempotencyKey?: string | undefined;
|
|
1792
|
+
bridgeSeq?: string | undefined;
|
|
1793
|
+
claimTxDigest?: string | undefined;
|
|
1794
|
+
recipientEth?: string | undefined;
|
|
1795
|
+
recipientWow?: string | undefined;
|
|
1796
|
+
depositTxHash?: string | undefined;
|
|
1797
|
+
depositTxDigest?: string | undefined;
|
|
1798
|
+
claimTxHash?: string | undefined;
|
|
1799
|
+
withdrawTxHash?: string | undefined;
|
|
1800
|
+
latestState?: {
|
|
1801
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1802
|
+
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1803
|
+
error?: string | undefined;
|
|
1804
|
+
updatedAt?: number | undefined;
|
|
1805
|
+
direction?: "wow_to_evm" | "evm_to_wow" | undefined;
|
|
1806
|
+
stepDescription?: string | undefined;
|
|
1807
|
+
sourceTxHash?: string | undefined;
|
|
1808
|
+
bridgeSeq?: string | undefined;
|
|
1809
|
+
confirmations?: number | undefined;
|
|
1810
|
+
claimTxDigest?: string | undefined;
|
|
1811
|
+
claimReceipt?: any;
|
|
1812
|
+
ethReceipt?: any;
|
|
1813
|
+
wowReceipt?: any;
|
|
1814
|
+
hint?: string | undefined;
|
|
1815
|
+
} | undefined;
|
|
1816
|
+
}, {
|
|
1817
|
+
status: "success" | "in_progress" | "failed" | "pending";
|
|
1818
|
+
amount: string;
|
|
1819
|
+
createdAt: number;
|
|
1820
|
+
updatedAt: number;
|
|
1821
|
+
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
1822
|
+
transferId: string;
|
|
1823
|
+
direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
|
|
1824
|
+
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1825
|
+
intermediateEthAccount: string;
|
|
1826
|
+
error?: string | undefined;
|
|
1827
|
+
idempotencyKey?: string | undefined;
|
|
1828
|
+
bridgeSeq?: string | undefined;
|
|
1829
|
+
claimTxDigest?: string | undefined;
|
|
1830
|
+
recipientEth?: string | undefined;
|
|
1831
|
+
recipientWow?: string | undefined;
|
|
1832
|
+
depositTxHash?: string | undefined;
|
|
1833
|
+
depositTxDigest?: string | undefined;
|
|
1834
|
+
claimTxHash?: string | undefined;
|
|
1835
|
+
withdrawTxHash?: string | undefined;
|
|
1836
|
+
latestState?: {
|
|
1837
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1838
|
+
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1839
|
+
error?: string | undefined;
|
|
1840
|
+
updatedAt?: number | undefined;
|
|
1841
|
+
direction?: "wow_to_evm" | "evm_to_wow" | undefined;
|
|
1842
|
+
stepDescription?: string | undefined;
|
|
1843
|
+
sourceTxHash?: string | undefined;
|
|
1844
|
+
bridgeSeq?: string | undefined;
|
|
1845
|
+
confirmations?: number | undefined;
|
|
1846
|
+
claimTxDigest?: string | undefined;
|
|
1847
|
+
claimReceipt?: any;
|
|
1848
|
+
ethReceipt?: any;
|
|
1849
|
+
wowReceipt?: any;
|
|
1850
|
+
hint?: string | undefined;
|
|
1851
|
+
} | undefined;
|
|
1852
|
+
}>;
|
|
1853
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1854
|
+
}, "strip", z.ZodTypeAny, {
|
|
1855
|
+
result: {
|
|
1856
|
+
status: "success" | "in_progress" | "failed" | "pending";
|
|
1857
|
+
amount: string;
|
|
1858
|
+
createdAt: number;
|
|
1859
|
+
updatedAt: number;
|
|
1860
|
+
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
1861
|
+
transferId: string;
|
|
1862
|
+
direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
|
|
1863
|
+
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1864
|
+
intermediateEthAccount: string;
|
|
1865
|
+
error?: string | undefined;
|
|
1866
|
+
idempotencyKey?: string | undefined;
|
|
1867
|
+
bridgeSeq?: string | undefined;
|
|
1868
|
+
claimTxDigest?: string | undefined;
|
|
1869
|
+
recipientEth?: string | undefined;
|
|
1870
|
+
recipientWow?: string | undefined;
|
|
1871
|
+
depositTxHash?: string | undefined;
|
|
1872
|
+
depositTxDigest?: string | undefined;
|
|
1873
|
+
claimTxHash?: string | undefined;
|
|
1874
|
+
withdrawTxHash?: string | undefined;
|
|
1875
|
+
latestState?: {
|
|
1876
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1877
|
+
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1878
|
+
error?: string | undefined;
|
|
1879
|
+
updatedAt?: number | undefined;
|
|
1880
|
+
direction?: "wow_to_evm" | "evm_to_wow" | undefined;
|
|
1881
|
+
stepDescription?: string | undefined;
|
|
1882
|
+
sourceTxHash?: string | undefined;
|
|
1883
|
+
bridgeSeq?: string | undefined;
|
|
1884
|
+
confirmations?: number | undefined;
|
|
1885
|
+
claimTxDigest?: string | undefined;
|
|
1886
|
+
claimReceipt?: any;
|
|
1887
|
+
ethReceipt?: any;
|
|
1888
|
+
wowReceipt?: any;
|
|
1889
|
+
hint?: string | undefined;
|
|
1890
|
+
} | undefined;
|
|
1891
|
+
};
|
|
1892
|
+
operation_type: "resume_transfer";
|
|
1893
|
+
message?: string | undefined;
|
|
1894
|
+
}, {
|
|
1895
|
+
result: {
|
|
1896
|
+
status: "success" | "in_progress" | "failed" | "pending";
|
|
1897
|
+
amount: string;
|
|
1898
|
+
createdAt: number;
|
|
1899
|
+
updatedAt: number;
|
|
1900
|
+
token: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC";
|
|
1901
|
+
transferId: string;
|
|
1902
|
+
direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
|
|
1903
|
+
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1904
|
+
intermediateEthAccount: string;
|
|
1905
|
+
error?: string | undefined;
|
|
1906
|
+
idempotencyKey?: string | undefined;
|
|
1907
|
+
bridgeSeq?: string | undefined;
|
|
1908
|
+
claimTxDigest?: string | undefined;
|
|
1909
|
+
recipientEth?: string | undefined;
|
|
1910
|
+
recipientWow?: string | undefined;
|
|
1911
|
+
depositTxHash?: string | undefined;
|
|
1912
|
+
depositTxDigest?: string | undefined;
|
|
1913
|
+
claimTxHash?: string | undefined;
|
|
1914
|
+
withdrawTxHash?: string | undefined;
|
|
1915
|
+
latestState?: {
|
|
1916
|
+
status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
|
|
1917
|
+
step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
|
|
1918
|
+
error?: string | undefined;
|
|
1919
|
+
updatedAt?: number | undefined;
|
|
1920
|
+
direction?: "wow_to_evm" | "evm_to_wow" | undefined;
|
|
1921
|
+
stepDescription?: string | undefined;
|
|
1922
|
+
sourceTxHash?: string | undefined;
|
|
1923
|
+
bridgeSeq?: string | undefined;
|
|
1924
|
+
confirmations?: number | undefined;
|
|
1925
|
+
claimTxDigest?: string | undefined;
|
|
1926
|
+
claimReceipt?: any;
|
|
1927
|
+
ethReceipt?: any;
|
|
1928
|
+
wowReceipt?: any;
|
|
1929
|
+
hint?: string | undefined;
|
|
1930
|
+
} | undefined;
|
|
1931
|
+
};
|
|
1932
|
+
operation_type: "resume_transfer";
|
|
1933
|
+
message?: string | undefined;
|
|
1497
1934
|
}>, z.ZodObject<{
|
|
1498
1935
|
operation_type: z.ZodLiteral<"withdraw">;
|
|
1499
1936
|
result: z.ZodObject<{
|
|
@@ -1765,6 +2202,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1765
2202
|
recipientEth: z.ZodOptional<z.ZodString>;
|
|
1766
2203
|
recipientWow: z.ZodOptional<z.ZodString>;
|
|
1767
2204
|
intermediateEthAccount: z.ZodString;
|
|
2205
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1768
2206
|
step: z.ZodEnum<["init", "deposit", "claimed", "withdraw", "withdrawn"]>;
|
|
1769
2207
|
status: z.ZodEnum<["pending", "in_progress", "success", "failed"]>;
|
|
1770
2208
|
depositTxHash: z.ZodOptional<z.ZodString>;
|
|
@@ -1833,6 +2271,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1833
2271
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1834
2272
|
intermediateEthAccount: string;
|
|
1835
2273
|
error?: string | undefined;
|
|
2274
|
+
idempotencyKey?: string | undefined;
|
|
1836
2275
|
bridgeSeq?: string | undefined;
|
|
1837
2276
|
claimTxDigest?: string | undefined;
|
|
1838
2277
|
recipientEth?: string | undefined;
|
|
@@ -1868,6 +2307,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1868
2307
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1869
2308
|
intermediateEthAccount: string;
|
|
1870
2309
|
error?: string | undefined;
|
|
2310
|
+
idempotencyKey?: string | undefined;
|
|
1871
2311
|
bridgeSeq?: string | undefined;
|
|
1872
2312
|
claimTxDigest?: string | undefined;
|
|
1873
2313
|
recipientEth?: string | undefined;
|
|
@@ -1906,6 +2346,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1906
2346
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1907
2347
|
intermediateEthAccount: string;
|
|
1908
2348
|
error?: string | undefined;
|
|
2349
|
+
idempotencyKey?: string | undefined;
|
|
1909
2350
|
bridgeSeq?: string | undefined;
|
|
1910
2351
|
claimTxDigest?: string | undefined;
|
|
1911
2352
|
recipientEth?: string | undefined;
|
|
@@ -1945,6 +2386,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1945
2386
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
1946
2387
|
intermediateEthAccount: string;
|
|
1947
2388
|
error?: string | undefined;
|
|
2389
|
+
idempotencyKey?: string | undefined;
|
|
1948
2390
|
bridgeSeq?: string | undefined;
|
|
1949
2391
|
claimTxDigest?: string | undefined;
|
|
1950
2392
|
recipientEth?: string | undefined;
|
|
@@ -1982,6 +2424,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
1982
2424
|
recipientEth: z.ZodOptional<z.ZodString>;
|
|
1983
2425
|
recipientWow: z.ZodOptional<z.ZodString>;
|
|
1984
2426
|
intermediateEthAccount: z.ZodString;
|
|
2427
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1985
2428
|
step: z.ZodEnum<["init", "deposit", "claimed", "withdraw", "withdrawn"]>;
|
|
1986
2429
|
status: z.ZodEnum<["pending", "in_progress", "success", "failed"]>;
|
|
1987
2430
|
depositTxHash: z.ZodOptional<z.ZodString>;
|
|
@@ -2050,6 +2493,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
2050
2493
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
2051
2494
|
intermediateEthAccount: string;
|
|
2052
2495
|
error?: string | undefined;
|
|
2496
|
+
idempotencyKey?: string | undefined;
|
|
2053
2497
|
bridgeSeq?: string | undefined;
|
|
2054
2498
|
claimTxDigest?: string | undefined;
|
|
2055
2499
|
recipientEth?: string | undefined;
|
|
@@ -2085,6 +2529,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
2085
2529
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
2086
2530
|
intermediateEthAccount: string;
|
|
2087
2531
|
error?: string | undefined;
|
|
2532
|
+
idempotencyKey?: string | undefined;
|
|
2088
2533
|
bridgeSeq?: string | undefined;
|
|
2089
2534
|
claimTxDigest?: string | undefined;
|
|
2090
2535
|
recipientEth?: string | undefined;
|
|
@@ -2123,6 +2568,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
2123
2568
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
2124
2569
|
intermediateEthAccount: string;
|
|
2125
2570
|
error?: string | undefined;
|
|
2571
|
+
idempotencyKey?: string | undefined;
|
|
2126
2572
|
bridgeSeq?: string | undefined;
|
|
2127
2573
|
claimTxDigest?: string | undefined;
|
|
2128
2574
|
recipientEth?: string | undefined;
|
|
@@ -2162,6 +2608,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
|
|
|
2162
2608
|
step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
|
|
2163
2609
|
intermediateEthAccount: string;
|
|
2164
2610
|
error?: string | undefined;
|
|
2611
|
+
idempotencyKey?: string | undefined;
|
|
2165
2612
|
bridgeSeq?: string | undefined;
|
|
2166
2613
|
claimTxDigest?: string | undefined;
|
|
2167
2614
|
recipientEth?: string | undefined;
|
|
@@ -2505,6 +2952,171 @@ export declare const BridgeCallOutputSchema: z.ZodObject<{
|
|
|
2505
2952
|
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
2506
2953
|
role_advice?: string[] | undefined;
|
|
2507
2954
|
}>>;
|
|
2955
|
+
guard_advice: z.ZodOptional<z.ZodObject<{
|
|
2956
|
+
current_round: z.ZodOptional<z.ZodEnum<["R1", "R2", "R3", "R4", "R5", "R6", "R7", "R8", "R9", "R10"]>>;
|
|
2957
|
+
puzzle_status: z.ZodOptional<z.ZodObject<{
|
|
2958
|
+
intent: z.ZodBoolean;
|
|
2959
|
+
binding: z.ZodBoolean;
|
|
2960
|
+
data: z.ZodBoolean;
|
|
2961
|
+
query: z.ZodBoolean;
|
|
2962
|
+
logic: z.ZodBoolean;
|
|
2963
|
+
constraints: z.ZodBoolean;
|
|
2964
|
+
}, "strict", z.ZodTypeAny, {
|
|
2965
|
+
data: boolean;
|
|
2966
|
+
intent: boolean;
|
|
2967
|
+
binding: boolean;
|
|
2968
|
+
query: boolean;
|
|
2969
|
+
logic: boolean;
|
|
2970
|
+
constraints: boolean;
|
|
2971
|
+
}, {
|
|
2972
|
+
data: boolean;
|
|
2973
|
+
intent: boolean;
|
|
2974
|
+
binding: boolean;
|
|
2975
|
+
query: boolean;
|
|
2976
|
+
logic: boolean;
|
|
2977
|
+
constraints: boolean;
|
|
2978
|
+
}>>;
|
|
2979
|
+
matched_scene: z.ZodOptional<z.ZodString>;
|
|
2980
|
+
scene_description: z.ZodOptional<z.ZodString>;
|
|
2981
|
+
scene_constraints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2982
|
+
suggested_patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2983
|
+
available_queries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2984
|
+
id: z.ZodNumber;
|
|
2985
|
+
name: z.ZodString;
|
|
2986
|
+
objectType: z.ZodString;
|
|
2987
|
+
returnType: z.ZodString;
|
|
2988
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2989
|
+
}, "strict", z.ZodTypeAny, {
|
|
2990
|
+
name: string;
|
|
2991
|
+
id: number;
|
|
2992
|
+
objectType: string;
|
|
2993
|
+
returnType: string;
|
|
2994
|
+
description?: string | undefined;
|
|
2995
|
+
}, {
|
|
2996
|
+
name: string;
|
|
2997
|
+
id: number;
|
|
2998
|
+
objectType: string;
|
|
2999
|
+
returnType: string;
|
|
3000
|
+
description?: string | undefined;
|
|
3001
|
+
}>, "many">>;
|
|
3002
|
+
risk_warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3003
|
+
pending_questions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3004
|
+
confirmation_text: z.ZodOptional<z.ZodString>;
|
|
3005
|
+
test_result: z.ZodOptional<z.ZodObject<{
|
|
3006
|
+
status: z.ZodEnum<["pass", "fail", "not_tested"]>;
|
|
3007
|
+
failure_node: z.ZodOptional<z.ZodString>;
|
|
3008
|
+
passport_id: z.ZodOptional<z.ZodString>;
|
|
3009
|
+
}, "strip", z.ZodTypeAny, {
|
|
3010
|
+
status: "pass" | "fail" | "not_tested";
|
|
3011
|
+
failure_node?: string | undefined;
|
|
3012
|
+
passport_id?: string | undefined;
|
|
3013
|
+
}, {
|
|
3014
|
+
status: "pass" | "fail" | "not_tested";
|
|
3015
|
+
failure_node?: string | undefined;
|
|
3016
|
+
passport_id?: string | undefined;
|
|
3017
|
+
}>>;
|
|
3018
|
+
risk_assessment: z.ZodOptional<z.ZodObject<{
|
|
3019
|
+
overall_risk: z.ZodEnum<["critical", "high", "medium", "low", "info"]>;
|
|
3020
|
+
risk_count: z.ZodNumber;
|
|
3021
|
+
critical_count: z.ZodNumber;
|
|
3022
|
+
high_count: z.ZodNumber;
|
|
3023
|
+
needs_human_review: z.ZodBoolean;
|
|
3024
|
+
top_risks: z.ZodArray<z.ZodString, "many">;
|
|
3025
|
+
stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
3026
|
+
}, "strip", z.ZodTypeAny, {
|
|
3027
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
3028
|
+
risk_count: number;
|
|
3029
|
+
critical_count: number;
|
|
3030
|
+
high_count: number;
|
|
3031
|
+
needs_human_review: boolean;
|
|
3032
|
+
top_risks: string[];
|
|
3033
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
3034
|
+
}, {
|
|
3035
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
3036
|
+
risk_count: number;
|
|
3037
|
+
critical_count: number;
|
|
3038
|
+
high_count: number;
|
|
3039
|
+
needs_human_review: boolean;
|
|
3040
|
+
top_risks: string[];
|
|
3041
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
3042
|
+
}>>;
|
|
3043
|
+
}, "strict", z.ZodTypeAny, {
|
|
3044
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
3045
|
+
puzzle_status?: {
|
|
3046
|
+
data: boolean;
|
|
3047
|
+
intent: boolean;
|
|
3048
|
+
binding: boolean;
|
|
3049
|
+
query: boolean;
|
|
3050
|
+
logic: boolean;
|
|
3051
|
+
constraints: boolean;
|
|
3052
|
+
} | undefined;
|
|
3053
|
+
matched_scene?: string | undefined;
|
|
3054
|
+
scene_description?: string | undefined;
|
|
3055
|
+
scene_constraints?: string[] | undefined;
|
|
3056
|
+
suggested_patterns?: string[] | undefined;
|
|
3057
|
+
available_queries?: {
|
|
3058
|
+
name: string;
|
|
3059
|
+
id: number;
|
|
3060
|
+
objectType: string;
|
|
3061
|
+
returnType: string;
|
|
3062
|
+
description?: string | undefined;
|
|
3063
|
+
}[] | undefined;
|
|
3064
|
+
risk_warnings?: string[] | undefined;
|
|
3065
|
+
pending_questions?: string[] | undefined;
|
|
3066
|
+
confirmation_text?: string | undefined;
|
|
3067
|
+
test_result?: {
|
|
3068
|
+
status: "pass" | "fail" | "not_tested";
|
|
3069
|
+
failure_node?: string | undefined;
|
|
3070
|
+
passport_id?: string | undefined;
|
|
3071
|
+
} | undefined;
|
|
3072
|
+
risk_assessment?: {
|
|
3073
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
3074
|
+
risk_count: number;
|
|
3075
|
+
critical_count: number;
|
|
3076
|
+
high_count: number;
|
|
3077
|
+
needs_human_review: boolean;
|
|
3078
|
+
top_risks: string[];
|
|
3079
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
3080
|
+
} | undefined;
|
|
3081
|
+
}, {
|
|
3082
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
3083
|
+
puzzle_status?: {
|
|
3084
|
+
data: boolean;
|
|
3085
|
+
intent: boolean;
|
|
3086
|
+
binding: boolean;
|
|
3087
|
+
query: boolean;
|
|
3088
|
+
logic: boolean;
|
|
3089
|
+
constraints: boolean;
|
|
3090
|
+
} | undefined;
|
|
3091
|
+
matched_scene?: string | undefined;
|
|
3092
|
+
scene_description?: string | undefined;
|
|
3093
|
+
scene_constraints?: string[] | undefined;
|
|
3094
|
+
suggested_patterns?: string[] | undefined;
|
|
3095
|
+
available_queries?: {
|
|
3096
|
+
name: string;
|
|
3097
|
+
id: number;
|
|
3098
|
+
objectType: string;
|
|
3099
|
+
returnType: string;
|
|
3100
|
+
description?: string | undefined;
|
|
3101
|
+
}[] | undefined;
|
|
3102
|
+
risk_warnings?: string[] | undefined;
|
|
3103
|
+
pending_questions?: string[] | undefined;
|
|
3104
|
+
confirmation_text?: string | undefined;
|
|
3105
|
+
test_result?: {
|
|
3106
|
+
status: "pass" | "fail" | "not_tested";
|
|
3107
|
+
failure_node?: string | undefined;
|
|
3108
|
+
passport_id?: string | undefined;
|
|
3109
|
+
} | undefined;
|
|
3110
|
+
risk_assessment?: {
|
|
3111
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
3112
|
+
risk_count: number;
|
|
3113
|
+
critical_count: number;
|
|
3114
|
+
high_count: number;
|
|
3115
|
+
needs_human_review: boolean;
|
|
3116
|
+
top_risks: string[];
|
|
3117
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
3118
|
+
} | undefined;
|
|
3119
|
+
}>>;
|
|
2508
3120
|
}, "strict", z.ZodTypeAny, {
|
|
2509
3121
|
status: "success" | "partial" | "failed" | "pending_input";
|
|
2510
3122
|
intent: string;
|
|
@@ -2588,6 +3200,45 @@ export declare const BridgeCallOutputSchema: z.ZodObject<{
|
|
|
2588
3200
|
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
2589
3201
|
role_advice?: string[] | undefined;
|
|
2590
3202
|
} | undefined;
|
|
3203
|
+
guard_advice?: {
|
|
3204
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
3205
|
+
puzzle_status?: {
|
|
3206
|
+
data: boolean;
|
|
3207
|
+
intent: boolean;
|
|
3208
|
+
binding: boolean;
|
|
3209
|
+
query: boolean;
|
|
3210
|
+
logic: boolean;
|
|
3211
|
+
constraints: boolean;
|
|
3212
|
+
} | undefined;
|
|
3213
|
+
matched_scene?: string | undefined;
|
|
3214
|
+
scene_description?: string | undefined;
|
|
3215
|
+
scene_constraints?: string[] | undefined;
|
|
3216
|
+
suggested_patterns?: string[] | undefined;
|
|
3217
|
+
available_queries?: {
|
|
3218
|
+
name: string;
|
|
3219
|
+
id: number;
|
|
3220
|
+
objectType: string;
|
|
3221
|
+
returnType: string;
|
|
3222
|
+
description?: string | undefined;
|
|
3223
|
+
}[] | undefined;
|
|
3224
|
+
risk_warnings?: string[] | undefined;
|
|
3225
|
+
pending_questions?: string[] | undefined;
|
|
3226
|
+
confirmation_text?: string | undefined;
|
|
3227
|
+
test_result?: {
|
|
3228
|
+
status: "pass" | "fail" | "not_tested";
|
|
3229
|
+
failure_node?: string | undefined;
|
|
3230
|
+
passport_id?: string | undefined;
|
|
3231
|
+
} | undefined;
|
|
3232
|
+
risk_assessment?: {
|
|
3233
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
3234
|
+
risk_count: number;
|
|
3235
|
+
critical_count: number;
|
|
3236
|
+
high_count: number;
|
|
3237
|
+
needs_human_review: boolean;
|
|
3238
|
+
top_risks: string[];
|
|
3239
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
3240
|
+
} | undefined;
|
|
3241
|
+
} | undefined;
|
|
2591
3242
|
}, {
|
|
2592
3243
|
status: "success" | "partial" | "failed" | "pending_input";
|
|
2593
3244
|
intent: string;
|
|
@@ -2671,6 +3322,45 @@ export declare const BridgeCallOutputSchema: z.ZodObject<{
|
|
|
2671
3322
|
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
2672
3323
|
role_advice?: string[] | undefined;
|
|
2673
3324
|
} | undefined;
|
|
3325
|
+
guard_advice?: {
|
|
3326
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
3327
|
+
puzzle_status?: {
|
|
3328
|
+
data: boolean;
|
|
3329
|
+
intent: boolean;
|
|
3330
|
+
binding: boolean;
|
|
3331
|
+
query: boolean;
|
|
3332
|
+
logic: boolean;
|
|
3333
|
+
constraints: boolean;
|
|
3334
|
+
} | undefined;
|
|
3335
|
+
matched_scene?: string | undefined;
|
|
3336
|
+
scene_description?: string | undefined;
|
|
3337
|
+
scene_constraints?: string[] | undefined;
|
|
3338
|
+
suggested_patterns?: string[] | undefined;
|
|
3339
|
+
available_queries?: {
|
|
3340
|
+
name: string;
|
|
3341
|
+
id: number;
|
|
3342
|
+
objectType: string;
|
|
3343
|
+
returnType: string;
|
|
3344
|
+
description?: string | undefined;
|
|
3345
|
+
}[] | undefined;
|
|
3346
|
+
risk_warnings?: string[] | undefined;
|
|
3347
|
+
pending_questions?: string[] | undefined;
|
|
3348
|
+
confirmation_text?: string | undefined;
|
|
3349
|
+
test_result?: {
|
|
3350
|
+
status: "pass" | "fail" | "not_tested";
|
|
3351
|
+
failure_node?: string | undefined;
|
|
3352
|
+
passport_id?: string | undefined;
|
|
3353
|
+
} | undefined;
|
|
3354
|
+
risk_assessment?: {
|
|
3355
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
3356
|
+
risk_count: number;
|
|
3357
|
+
critical_count: number;
|
|
3358
|
+
high_count: number;
|
|
3359
|
+
needs_human_review: boolean;
|
|
3360
|
+
top_risks: string[];
|
|
3361
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
3362
|
+
} | undefined;
|
|
3363
|
+
} | undefined;
|
|
2674
3364
|
}>>;
|
|
2675
3365
|
}, "strip", z.ZodTypeAny, {
|
|
2676
3366
|
result: {
|
|
@@ -2767,6 +3457,45 @@ export declare const BridgeCallOutputSchema: z.ZodObject<{
|
|
|
2767
3457
|
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
2768
3458
|
role_advice?: string[] | undefined;
|
|
2769
3459
|
} | undefined;
|
|
3460
|
+
guard_advice?: {
|
|
3461
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
3462
|
+
puzzle_status?: {
|
|
3463
|
+
data: boolean;
|
|
3464
|
+
intent: boolean;
|
|
3465
|
+
binding: boolean;
|
|
3466
|
+
query: boolean;
|
|
3467
|
+
logic: boolean;
|
|
3468
|
+
constraints: boolean;
|
|
3469
|
+
} | undefined;
|
|
3470
|
+
matched_scene?: string | undefined;
|
|
3471
|
+
scene_description?: string | undefined;
|
|
3472
|
+
scene_constraints?: string[] | undefined;
|
|
3473
|
+
suggested_patterns?: string[] | undefined;
|
|
3474
|
+
available_queries?: {
|
|
3475
|
+
name: string;
|
|
3476
|
+
id: number;
|
|
3477
|
+
objectType: string;
|
|
3478
|
+
returnType: string;
|
|
3479
|
+
description?: string | undefined;
|
|
3480
|
+
}[] | undefined;
|
|
3481
|
+
risk_warnings?: string[] | undefined;
|
|
3482
|
+
pending_questions?: string[] | undefined;
|
|
3483
|
+
confirmation_text?: string | undefined;
|
|
3484
|
+
test_result?: {
|
|
3485
|
+
status: "pass" | "fail" | "not_tested";
|
|
3486
|
+
failure_node?: string | undefined;
|
|
3487
|
+
passport_id?: string | undefined;
|
|
3488
|
+
} | undefined;
|
|
3489
|
+
risk_assessment?: {
|
|
3490
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
3491
|
+
risk_count: number;
|
|
3492
|
+
critical_count: number;
|
|
3493
|
+
high_count: number;
|
|
3494
|
+
needs_human_review: boolean;
|
|
3495
|
+
top_risks: string[];
|
|
3496
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
3497
|
+
} | undefined;
|
|
3498
|
+
} | undefined;
|
|
2770
3499
|
} | undefined;
|
|
2771
3500
|
}, {
|
|
2772
3501
|
result: {
|
|
@@ -2863,6 +3592,45 @@ export declare const BridgeCallOutputSchema: z.ZodObject<{
|
|
|
2863
3592
|
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
2864
3593
|
role_advice?: string[] | undefined;
|
|
2865
3594
|
} | undefined;
|
|
3595
|
+
guard_advice?: {
|
|
3596
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
3597
|
+
puzzle_status?: {
|
|
3598
|
+
data: boolean;
|
|
3599
|
+
intent: boolean;
|
|
3600
|
+
binding: boolean;
|
|
3601
|
+
query: boolean;
|
|
3602
|
+
logic: boolean;
|
|
3603
|
+
constraints: boolean;
|
|
3604
|
+
} | undefined;
|
|
3605
|
+
matched_scene?: string | undefined;
|
|
3606
|
+
scene_description?: string | undefined;
|
|
3607
|
+
scene_constraints?: string[] | undefined;
|
|
3608
|
+
suggested_patterns?: string[] | undefined;
|
|
3609
|
+
available_queries?: {
|
|
3610
|
+
name: string;
|
|
3611
|
+
id: number;
|
|
3612
|
+
objectType: string;
|
|
3613
|
+
returnType: string;
|
|
3614
|
+
description?: string | undefined;
|
|
3615
|
+
}[] | undefined;
|
|
3616
|
+
risk_warnings?: string[] | undefined;
|
|
3617
|
+
pending_questions?: string[] | undefined;
|
|
3618
|
+
confirmation_text?: string | undefined;
|
|
3619
|
+
test_result?: {
|
|
3620
|
+
status: "pass" | "fail" | "not_tested";
|
|
3621
|
+
failure_node?: string | undefined;
|
|
3622
|
+
passport_id?: string | undefined;
|
|
3623
|
+
} | undefined;
|
|
3624
|
+
risk_assessment?: {
|
|
3625
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
3626
|
+
risk_count: number;
|
|
3627
|
+
critical_count: number;
|
|
3628
|
+
high_count: number;
|
|
3629
|
+
needs_human_review: boolean;
|
|
3630
|
+
top_risks: string[];
|
|
3631
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
3632
|
+
} | undefined;
|
|
3633
|
+
} | undefined;
|
|
2866
3634
|
} | undefined;
|
|
2867
3635
|
}>;
|
|
2868
3636
|
export type BridgeOperations = z.infer<typeof BridgeOperationsSchema>;
|