@wowok/agent-mcp 2.3.14 → 2.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/index.d.ts +1 -0
- package/dist/config/index.js +1 -0
- package/dist/config/runtime.d.ts +26 -0
- package/dist/config/runtime.js +217 -0
- package/dist/customer/index.d.ts +9 -0
- package/dist/customer/index.js +9 -0
- package/dist/customer/industry-risks.d.ts +40 -0
- package/dist/customer/industry-risks.js +438 -0
- package/dist/customer/info-puzzle.d.ts +102 -0
- package/dist/customer/info-puzzle.js +312 -0
- package/dist/customer/order-monitor.d.ts +75 -0
- package/dist/customer/order-monitor.js +327 -0
- package/dist/customer/order-strategy.d.ts +36 -0
- package/dist/customer/order-strategy.js +373 -0
- package/dist/customer/post-purchase.d.ts +42 -0
- package/dist/customer/post-purchase.js +350 -0
- package/dist/customer/reminder-system.d.ts +42 -0
- package/dist/customer/reminder-system.js +295 -0
- package/dist/customer/risk-assessment.d.ts +8 -0
- package/dist/customer/risk-assessment.js +337 -0
- package/dist/customer/types.d.ts +193 -0
- package/dist/customer/types.js +13 -0
- package/dist/customer/user-preferences.d.ts +70 -0
- package/dist/customer/user-preferences.js +460 -0
- package/dist/experience/experience-reuse.d.ts +10 -0
- package/dist/experience/experience-reuse.js +103 -0
- package/dist/experience/index.d.ts +6 -0
- package/dist/experience/index.js +5 -0
- package/dist/experience/intent-distill.d.ts +3 -0
- package/dist/experience/intent-distill.js +83 -0
- package/dist/experience/realtime-feedback.d.ts +5 -0
- package/dist/experience/realtime-feedback.js +94 -0
- package/dist/experience/types.d.ts +50 -0
- package/dist/experience/types.js +1 -0
- package/dist/experience/user-profile.d.ts +25 -0
- package/dist/experience/user-profile.js +171 -0
- package/dist/index.js +842 -371
- package/dist/knowledge/acquisition-flywheel.d.ts +53 -0
- package/dist/knowledge/acquisition-flywheel.js +192 -0
- package/dist/knowledge/arbitration-trust.d.ts +24 -0
- package/dist/knowledge/arbitration-trust.js +117 -0
- package/dist/knowledge/audit-rules.d.ts +28 -0
- package/dist/knowledge/audit-rules.js +141 -0
- package/dist/knowledge/demand-matching.d.ts +29 -0
- package/dist/knowledge/demand-matching.js +132 -0
- package/dist/knowledge/dynamic-pricing.d.ts +31 -0
- package/dist/knowledge/dynamic-pricing.js +87 -0
- package/dist/knowledge/flywheel-loop.d.ts +87 -0
- package/dist/knowledge/flywheel-loop.js +378 -0
- package/dist/knowledge/glossary.d.ts +18 -0
- package/dist/knowledge/glossary.js +209 -0
- package/dist/knowledge/guard-ledger.d.ts +19 -0
- package/dist/knowledge/guard-ledger.js +219 -0
- package/dist/knowledge/guard-puzzle.d.ts +93 -0
- package/dist/knowledge/guard-puzzle.js +278 -0
- package/dist/knowledge/guard-risk.d.ts +60 -0
- package/dist/knowledge/guard-risk.js +474 -0
- package/dist/knowledge/guard-translation.d.ts +46 -0
- package/dist/knowledge/guard-translation.js +487 -0
- package/dist/knowledge/index.d.ts +77 -0
- package/dist/knowledge/index.js +79 -0
- package/dist/knowledge/industry-evolution.d.ts +82 -0
- package/dist/knowledge/industry-evolution.js +323 -0
- package/dist/knowledge/industry-generalizer.d.ts +17 -0
- package/dist/knowledge/industry-generalizer.js +381 -0
- package/dist/knowledge/industry-registry.d.ts +48 -0
- package/dist/knowledge/industry-registry.js +187 -0
- package/dist/knowledge/intent-metrics.d.ts +42 -0
- package/dist/knowledge/intent-metrics.js +566 -0
- package/dist/knowledge/process-model.d.ts +24 -0
- package/dist/knowledge/process-model.js +160 -0
- package/dist/knowledge/reputation-rules.d.ts +42 -0
- package/dist/knowledge/reputation-rules.js +99 -0
- package/dist/knowledge/reward-templates.d.ts +25 -0
- package/dist/knowledge/reward-templates.js +125 -0
- package/dist/knowledge/safety-rules.d.ts +36 -0
- package/dist/knowledge/safety-rules.js +232 -0
- package/dist/knowledge/tool-constraints.d.ts +30 -0
- package/dist/knowledge/tool-constraints.js +175 -0
- package/dist/knowledge/trust-metrics.d.ts +37 -0
- package/dist/knowledge/trust-metrics.js +138 -0
- package/dist/loop-engineering/diagnose.d.ts +3 -2
- package/dist/loop-engineering/diagnose.js +94 -0
- package/dist/loop-engineering/improve.d.ts +1 -1
- package/dist/loop-engineering/improve.js +52 -1
- package/dist/project/graph.d.ts +71 -0
- package/dist/project/graph.js +314 -0
- package/dist/project/index.d.ts +62 -0
- package/dist/project/index.js +167 -0
- package/dist/project/namespace.d.ts +62 -0
- package/dist/project/namespace.js +181 -0
- package/dist/project/query.d.ts +40 -0
- package/dist/project/query.js +110 -0
- package/dist/safety/confirm-gate.d.ts +17 -0
- package/dist/safety/confirm-gate.js +88 -0
- package/dist/safety/index.d.ts +3 -0
- package/dist/safety/index.js +3 -0
- package/dist/safety/preview.d.ts +2 -0
- package/dist/safety/preview.js +36 -0
- package/dist/schema/call/allocation.d.ts +39 -14
- package/dist/schema/call/arbitration.d.ts +187 -162
- package/dist/schema/call/base.d.ts +1971 -87
- package/dist/schema/call/base.js +135 -3
- package/dist/schema/call/bridge-handler.js +15 -2
- package/dist/schema/call/bridge.d.ts +1478 -53
- package/dist/schema/call/bridge.js +50 -2
- package/dist/schema/call/contact.d.ts +25 -0
- package/dist/schema/call/demand.d.ts +79 -54
- package/dist/schema/call/guard.d.ts +125 -50
- package/dist/schema/call/handler.d.ts +3 -0
- package/dist/schema/call/handler.js +60 -14
- package/dist/schema/call/machine.d.ts +988 -938
- package/dist/schema/call/order.d.ts +25 -0
- package/dist/schema/call/payment.d.ts +25 -0
- package/dist/schema/call/permission.d.ts +244 -219
- package/dist/schema/call/personal.d.ts +25 -0
- package/dist/schema/call/progress.d.ts +25 -0
- package/dist/schema/call/proof.d.ts +62 -12
- package/dist/schema/call/proof.js +3 -3
- package/dist/schema/call/repository.d.ts +101 -76
- package/dist/schema/call/reward.d.ts +55 -30
- package/dist/schema/call/semantic.d.ts +10 -2
- package/dist/schema/call/semantic.js +616 -11
- package/dist/schema/call/service.d.ts +442 -417
- package/dist/schema/call/treasury.d.ts +25 -0
- package/dist/schema/common/index.js +3 -3
- package/dist/schema/config/index.d.ts +18 -0
- package/dist/schema/config/index.js +17 -0
- package/dist/schema/index.d.ts +6 -0
- package/dist/schema/index.js +5 -0
- package/dist/schema/local/index.d.ts +237 -81
- package/dist/schema/local/index.js +42 -6
- package/dist/schema/messenger/index.d.ts +1018 -79
- package/dist/schema/messenger/index.js +26 -17
- package/dist/schema/operations.d.ts +3192 -1746
- package/dist/schema/operations.js +93 -98
- package/dist/schema/project/index.d.ts +21 -0
- package/dist/schema/project/index.js +32 -0
- package/dist/schema/query/index.d.ts +2762 -1856
- package/dist/schema/query/index.js +38 -35
- package/dist/schema/schema-query/index.d.ts +33 -0
- package/dist/schema/schema-query/index.js +36 -0
- package/dist/schema/schema-version.d.ts +25 -0
- package/dist/schema/schema-version.js +76 -0
- package/dist/schema/trust/index.d.ts +407 -0
- package/dist/schema/trust/index.js +113 -0
- package/dist/schemas/account_operation.output.json +25 -16
- package/dist/schemas/account_operation.schema.json +1 -1
- package/dist/schemas/bridge_operation.output.json +744 -0
- package/dist/schemas/bridge_operation.schema.json +82 -8
- package/dist/schemas/config_operation.output.json +18 -0
- package/dist/schemas/config_operation.schema.json +34 -0
- package/dist/schemas/guard-node-schema.json +82 -0
- package/dist/schemas/guard2file.schema.json +23 -0
- package/dist/schemas/index.json +19 -1
- package/dist/schemas/local_info_operation.output.json +23 -0
- package/dist/schemas/local_info_operation.schema.json +1 -1
- package/dist/schemas/local_mark_operation.output.json +24 -1
- package/dist/schemas/local_mark_operation.schema.json +4 -4
- package/dist/schemas/machineNode2file.schema.json +23 -0
- package/dist/schemas/messenger_operation.output.json +752 -0
- package/dist/schemas/onchain_events.output.json +718 -0
- package/dist/schemas/onchain_operations.output.json +627 -18
- package/dist/schemas/onchain_operations.schema.json +115 -39
- package/dist/schemas/onchain_operations_allocation.schema.json +23 -0
- package/dist/schemas/onchain_operations_arbitration.schema.json +23 -0
- package/dist/schemas/onchain_operations_contact.schema.json +23 -0
- package/dist/schemas/onchain_operations_demand.schema.json +23 -0
- package/dist/schemas/onchain_operations_gen_passport.schema.json +46 -0
- package/dist/schemas/onchain_operations_guard.schema.json +26 -16
- package/dist/schemas/onchain_operations_machine.schema.json +89 -23
- package/dist/schemas/onchain_operations_order.schema.json +23 -0
- package/dist/schemas/onchain_operations_payment.schema.json +23 -0
- package/dist/schemas/onchain_operations_permission.schema.json +23 -0
- package/dist/schemas/onchain_operations_personal.schema.json +23 -0
- package/dist/schemas/onchain_operations_progress.schema.json +23 -0
- package/dist/schemas/onchain_operations_repository.schema.json +23 -0
- package/dist/schemas/onchain_operations_reward.schema.json +23 -0
- package/dist/schemas/onchain_operations_service.schema.json +23 -0
- package/dist/schemas/onchain_operations_treasury.schema.json +23 -0
- package/dist/schemas/onchain_table_data.output.json +939 -69
- package/dist/schemas/onchain_table_data.schema.json +2 -2
- package/dist/schemas/project_operation.output.json +18 -0
- package/dist/schemas/project_operation.schema.json +42 -0
- package/dist/schemas/query_toolkit.schema.json +360 -368
- package/dist/schemas/schema_query.schema.json +6 -3
- package/dist/schemas/trust_score.output.json +327 -0
- package/dist/schemas/trust_score.schema.json +46 -0
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { CallEnvSchema } from "./base.js";
|
|
2
|
+
import { CallEnvSchema, SemanticSummarySchema } from "./base.js";
|
|
3
3
|
import { WowAddressSchema } from "../common/index.js";
|
|
4
4
|
export const BridgeTokenSchema = z.enum(["ETH", "WETH", "WBTC", "USDC", "USDT"])
|
|
5
5
|
.describe("Cross-chain token identifier. ETH=native ETH; WETH/WBTC/USDC/USDT=ERC20. Decimals are handled by SDK config.");
|
|
@@ -11,10 +11,13 @@ export const EvmAddressSchema = z.string()
|
|
|
11
11
|
.describe("EVM address (0x + 40 hex)");
|
|
12
12
|
export const BridgeAmountSchema = z.string()
|
|
13
13
|
.describe("Cross-chain amount as a string in the smallest unit (e.g. wei / token minimal unit). Example: 1 ETH = '1000000000000000000'");
|
|
14
|
+
export const BridgeIdempotencyKeySchema = z.string().min(1).max(128)
|
|
15
|
+
.describe("Idempotency key (1-128 chars). Prevents duplicate transfers on retry. If a successful transfer with this key exists, returns it immediately (idempotentHit=true).");
|
|
14
16
|
export const BridgeOperationTypeSchema = z.enum([
|
|
15
17
|
"cross_chain_wow_to_evm",
|
|
16
18
|
"cross_chain_evm_to_wow",
|
|
17
19
|
"claim_wow_to_evm",
|
|
20
|
+
"resume_transfer",
|
|
18
21
|
"withdraw",
|
|
19
22
|
"query_active_evm_account",
|
|
20
23
|
"query_supported_evm_chains",
|
|
@@ -28,6 +31,10 @@ export const BridgeWowToEvmDataSchema = z.object({
|
|
|
28
31
|
amount: BridgeAmountSchema.describe("Cross-chain amount (WOW-side smallest unit, wowDecimals)"),
|
|
29
32
|
withdrawTo: EvmAddressSchema.optional()
|
|
30
33
|
.describe("Final withdrawal EVM address; if omitted, assets remain in activeEvmAccount. When provided, the SDK uses the activeEvmAccount key to transfer to this address."),
|
|
34
|
+
idempotencyKey: BridgeIdempotencyKeySchema.optional()
|
|
35
|
+
.describe("Idempotency key to prevent duplicate deposits on retry. If a successful transfer with this key exists, returns it immediately (idempotentHit=true)."),
|
|
36
|
+
idempotentByParams: z.boolean().optional()
|
|
37
|
+
.describe("If true, auto-generates an idempotency key from token+amount+withdrawTo. Use when you want implicit idempotency without managing explicit keys."),
|
|
31
38
|
}).strict().describe("WOW→EVM cross-chain (step 1: deposit only). " +
|
|
32
39
|
"Returns immediately with depositTxDigest + bridgeSeq + transferId. " +
|
|
33
40
|
"This operation only locks assets on WOW; it does NOT complete the cross-chain. " +
|
|
@@ -40,6 +47,10 @@ export const BridgeEvmToWowDataSchema = z.object({
|
|
|
40
47
|
amount: BridgeAmountSchema.describe("Cross-chain amount (EVM-side smallest unit, evmDecimals)"),
|
|
41
48
|
recipientWowAddress: WowAddressSchema.optional()
|
|
42
49
|
.describe("WOW recipient address or account name; defaults to env.account if omitted"),
|
|
50
|
+
idempotencyKey: BridgeIdempotencyKeySchema.optional()
|
|
51
|
+
.describe("Idempotency key to prevent duplicate deposits on retry. If a successful transfer with this key exists, returns it immediately (idempotentHit=true)."),
|
|
52
|
+
idempotentByParams: z.boolean().optional()
|
|
53
|
+
.describe("If true, auto-generates an idempotency key from token+amount+recipientWowAddress. Use when you want implicit idempotency without managing explicit keys."),
|
|
43
54
|
}).strict().describe("EVM→WOW cross-chain (single step: deposit). " +
|
|
44
55
|
"Returns immediately with depositTxHash + transferId. " +
|
|
45
56
|
"Bridge will automatically claim on WOW (no WOW gas needed, no user action required). " +
|
|
@@ -59,6 +70,17 @@ export const BridgeClaimWowToEvmDataSchema = z.object({
|
|
|
59
70
|
"After claim_wow_to_evm returns, the claim tx has been submitted and confirmed (1 block) on EVM. " +
|
|
60
71
|
"Use query_transfer_status(refresh=true) to verify latestState.step = 'completed'. " +
|
|
61
72
|
"[Gas requirements] Requires activeEvmAccount to have target-chain gas (for the claim transaction).");
|
|
73
|
+
export const BridgeResumeTransferDataSchema = z.object({
|
|
74
|
+
transferId: z.string().describe("Transfer ID to resume (br_<timestamp>_<counter>)"),
|
|
75
|
+
}).strict().describe("Resume an interrupted transfer from its current step. " +
|
|
76
|
+
"Use this when a transfer was interrupted (e.g. MCP restart, network error) and you want to continue from where it left off. " +
|
|
77
|
+
"The SDK determines the current step and attempts to advance it: " +
|
|
78
|
+
"- If deposit step failed: retries the deposit " +
|
|
79
|
+
"- If deposit is pending/confirmed: waits for bridge signatures and proceeds to claim " +
|
|
80
|
+
"- If claim step is ready: executes the claim " +
|
|
81
|
+
"- If transfer is already complete: returns the existing record (idempotentHit=true) " +
|
|
82
|
+
"[Returns] The updated transfer record after attempting to advance it. " +
|
|
83
|
+
"[Requires env] WOW env is needed for WOW-side operations; EVM-side operations use activeEvmAccount.");
|
|
62
84
|
export const BridgeWithdrawDataSchema = z.object({
|
|
63
85
|
to: EvmAddressSchema.describe("Withdrawal target EVM address"),
|
|
64
86
|
amount: BridgeAmountSchema.describe("Withdrawal amount (smallest unit)"),
|
|
@@ -186,6 +208,11 @@ export const BridgeOperationsSchema = z.preprocess((input) => {
|
|
|
186
208
|
data: BridgeClaimWowToEvmDataSchema,
|
|
187
209
|
env: CallEnvSchema.optional(),
|
|
188
210
|
}).describe("WOW→EVM claim (step 2): claim assets on EVM after bridge signed. Requires activeEvmAccount to have EVM gas. [Requires WOW mainnet env]"),
|
|
211
|
+
z.object({
|
|
212
|
+
operation_type: z.literal("resume_transfer"),
|
|
213
|
+
data: BridgeResumeTransferDataSchema,
|
|
214
|
+
env: CallEnvSchema.optional(),
|
|
215
|
+
}).describe("Resume an interrupted transfer from its current step. Safe to retry. [Requires WOW mainnet env for WOW-side operations]"),
|
|
189
216
|
z.object({
|
|
190
217
|
operation_type: z.literal("withdraw"),
|
|
191
218
|
data: BridgeWithdrawDataSchema,
|
|
@@ -258,6 +285,7 @@ export const BridgeTransferRecordSchema = z.object({
|
|
|
258
285
|
recipientEth: z.string().optional().describe("ETH-side recipient address"),
|
|
259
286
|
recipientWow: z.string().optional().describe("WOW-side recipient address"),
|
|
260
287
|
intermediateEthAccount: z.string().describe("Intermediate EVM account (activeEvmAccount)"),
|
|
288
|
+
idempotencyKey: z.string().optional().describe("Idempotency key used for this transfer (if any)"),
|
|
261
289
|
step: z.enum(["init", "deposit", "claimed", "withdraw", "withdrawn"]).describe("Current step in the transfer lifecycle: " +
|
|
262
290
|
"init=just created; " +
|
|
263
291
|
"deposit=source chain deposit in progress; " +
|
|
@@ -283,11 +311,15 @@ export const BridgeWowToEvmResultSchema = z.object({
|
|
|
283
311
|
bridgeSeq: z.string().describe("Bridge sequence number"),
|
|
284
312
|
activeEvmAccount: z.string().describe("activeEvmAccount address that will receive the assets"),
|
|
285
313
|
transferId: z.string().describe("Transfer ID (br_<timestamp>_<counter>). Save this for claim_wow_to_evm (step 2) and query_transfer_status"),
|
|
314
|
+
idempotentHit: z.boolean().optional().describe("true if this result was returned from idempotency cache (no new deposit executed)"),
|
|
315
|
+
idempotencyKey: z.string().optional().describe("Idempotency key used (if any)"),
|
|
286
316
|
}).strict().describe("WOW→EVM cross-chain step 1 result (deposit only, claim pending)");
|
|
287
317
|
export const BridgeEvmToWowResultSchema = z.object({
|
|
288
318
|
depositTxHash: z.string().describe("EVM deposit tx hash"),
|
|
289
319
|
activeEvmAccount: z.string().describe("activeEvmAccount address that initiated the deposit"),
|
|
290
320
|
transferId: z.string().describe("Transfer ID (br_<timestamp>_<counter>). Save this for query_transfer_status"),
|
|
321
|
+
idempotentHit: z.boolean().optional().describe("true if this result was returned from idempotency cache (no new deposit executed)"),
|
|
322
|
+
idempotencyKey: z.string().optional().describe("Idempotency key used (if any)"),
|
|
291
323
|
}).strict().describe("EVM→WOW cross-chain result (deposit submitted, auto-claim in progress)");
|
|
292
324
|
export const BridgeClaimWowToEvmResultSchema = z.object({
|
|
293
325
|
claimTxHash: z.string().describe("EVM claim tx hash"),
|
|
@@ -357,6 +389,11 @@ export const BridgeOutputSchema = z.discriminatedUnion("operation_type", [
|
|
|
357
389
|
result: BridgeClaimWowToEvmResultSchema,
|
|
358
390
|
message: z.string().optional().describe("Result summary or hint message"),
|
|
359
391
|
}).describe("WOW→EVM claim (step 2) result"),
|
|
392
|
+
z.object({
|
|
393
|
+
operation_type: z.literal("resume_transfer"),
|
|
394
|
+
result: BridgeTransferRecordSchema,
|
|
395
|
+
message: z.string().optional().describe("Result summary or hint message"),
|
|
396
|
+
}).describe("Resume interrupted transfer result"),
|
|
360
397
|
z.object({
|
|
361
398
|
operation_type: z.literal("withdraw"),
|
|
362
399
|
result: BridgeWithdrawResultSchema,
|
|
@@ -398,11 +435,22 @@ export const BridgeCallOutputSchema = z.object({
|
|
|
398
435
|
result: z.discriminatedUnion("type", [
|
|
399
436
|
z.object({
|
|
400
437
|
type: z.literal("data"),
|
|
401
|
-
data: z.
|
|
438
|
+
data: z.unknown().describe("Operation result data (structure varies by operation_type)"),
|
|
402
439
|
}).describe("Successful result"),
|
|
403
440
|
z.object({
|
|
404
441
|
type: z.literal("error"),
|
|
405
442
|
error: z.string().describe("Error message"),
|
|
443
|
+
error_code: z
|
|
444
|
+
.enum([
|
|
445
|
+
"invalid_parameter", "guard_rejected", "state_conflict",
|
|
446
|
+
"insufficient_balance", "object_not_found", "permission_denied",
|
|
447
|
+
"immutable_violation", "network_error", "unknown",
|
|
448
|
+
])
|
|
449
|
+
.optional()
|
|
450
|
+
.describe("Error classification for programmatic recovery"),
|
|
451
|
+
retryable: z.boolean().optional().describe("Whether the operation can be retried as-is"),
|
|
452
|
+
recovery_hint: z.string().optional().describe("Recovery suggestion for AI or user"),
|
|
406
453
|
}).describe("Error result"),
|
|
407
454
|
]).describe("Bridge operation result (data or error)"),
|
|
455
|
+
semantic: SemanticSummarySchema.optional().describe("Business semantic summary for bridge operation"),
|
|
408
456
|
}).describe("Bridge operation output (matches CallOutput structure returned by the handler)");
|
|
@@ -602,18 +602,33 @@ export declare const CallContact_InputSchema: z.ZodObject<{
|
|
|
602
602
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
603
603
|
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
|
|
604
604
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
605
|
+
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
606
|
+
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
607
|
+
project: z.ZodOptional<z.ZodString>;
|
|
608
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
609
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
605
610
|
}, "strict", z.ZodTypeAny, {
|
|
606
611
|
account: string;
|
|
607
612
|
no_cache?: boolean | undefined;
|
|
608
613
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
609
614
|
permission_guard?: string[] | undefined;
|
|
610
615
|
referrer?: string | undefined;
|
|
616
|
+
confirmed?: boolean | undefined;
|
|
617
|
+
user_intent_phrases?: string[] | undefined;
|
|
618
|
+
project?: string | undefined;
|
|
619
|
+
client_schema_version?: string | undefined;
|
|
620
|
+
schema_strict_mode?: boolean | undefined;
|
|
611
621
|
}, {
|
|
612
622
|
no_cache?: boolean | undefined;
|
|
613
623
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
614
624
|
account?: string | undefined;
|
|
615
625
|
permission_guard?: string[] | undefined;
|
|
616
626
|
referrer?: string | undefined;
|
|
627
|
+
confirmed?: boolean | undefined;
|
|
628
|
+
user_intent_phrases?: string[] | undefined;
|
|
629
|
+
project?: string | undefined;
|
|
630
|
+
client_schema_version?: string | undefined;
|
|
631
|
+
schema_strict_mode?: boolean | undefined;
|
|
617
632
|
}>>;
|
|
618
633
|
submission: z.ZodOptional<z.ZodObject<{
|
|
619
634
|
type: z.ZodLiteral<"submission">;
|
|
@@ -878,6 +893,11 @@ export declare const CallContact_InputSchema: z.ZodObject<{
|
|
|
878
893
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
879
894
|
permission_guard?: string[] | undefined;
|
|
880
895
|
referrer?: string | undefined;
|
|
896
|
+
confirmed?: boolean | undefined;
|
|
897
|
+
user_intent_phrases?: string[] | undefined;
|
|
898
|
+
project?: string | undefined;
|
|
899
|
+
client_schema_version?: string | undefined;
|
|
900
|
+
schema_strict_mode?: boolean | undefined;
|
|
881
901
|
} | undefined;
|
|
882
902
|
}, {
|
|
883
903
|
data: {
|
|
@@ -962,6 +982,11 @@ export declare const CallContact_InputSchema: z.ZodObject<{
|
|
|
962
982
|
account?: string | undefined;
|
|
963
983
|
permission_guard?: string[] | undefined;
|
|
964
984
|
referrer?: string | undefined;
|
|
985
|
+
confirmed?: boolean | undefined;
|
|
986
|
+
user_intent_phrases?: string[] | undefined;
|
|
987
|
+
project?: string | undefined;
|
|
988
|
+
client_schema_version?: string | undefined;
|
|
989
|
+
schema_strict_mode?: boolean | undefined;
|
|
965
990
|
} | undefined;
|
|
966
991
|
}>;
|
|
967
992
|
export type ImEntry = z.infer<typeof ImEntrySchema>;
|
|
@@ -349,6 +349,15 @@ export declare const CallDemand_DataSchema: z.ZodObject<{
|
|
|
349
349
|
} | undefined;
|
|
350
350
|
};
|
|
351
351
|
description?: string | undefined;
|
|
352
|
+
rewards?: {
|
|
353
|
+
op: "set" | "add";
|
|
354
|
+
objects: string[];
|
|
355
|
+
} | {
|
|
356
|
+
op: "remove";
|
|
357
|
+
objects: string[];
|
|
358
|
+
} | {
|
|
359
|
+
op: "clear";
|
|
360
|
+
} | undefined;
|
|
352
361
|
location?: string | undefined;
|
|
353
362
|
owner_receive?: {
|
|
354
363
|
received: {
|
|
@@ -363,15 +372,6 @@ export declare const CallDemand_DataSchema: z.ZodObject<{
|
|
|
363
372
|
id: string;
|
|
364
373
|
content_raw?: any;
|
|
365
374
|
}[] | undefined;
|
|
366
|
-
rewards?: {
|
|
367
|
-
op: "set" | "add";
|
|
368
|
-
objects: string[];
|
|
369
|
-
} | {
|
|
370
|
-
op: "remove";
|
|
371
|
-
objects: string[];
|
|
372
|
-
} | {
|
|
373
|
-
op: "clear";
|
|
374
|
-
} | undefined;
|
|
375
375
|
guards?: {
|
|
376
376
|
op: "add";
|
|
377
377
|
guard: {
|
|
@@ -419,6 +419,15 @@ export declare const CallDemand_DataSchema: z.ZodObject<{
|
|
|
419
419
|
} | undefined;
|
|
420
420
|
};
|
|
421
421
|
description?: string | undefined;
|
|
422
|
+
rewards?: {
|
|
423
|
+
op: "set" | "add";
|
|
424
|
+
objects: string[];
|
|
425
|
+
} | {
|
|
426
|
+
op: "remove";
|
|
427
|
+
objects: string[];
|
|
428
|
+
} | {
|
|
429
|
+
op: "clear";
|
|
430
|
+
} | undefined;
|
|
422
431
|
location?: string | undefined;
|
|
423
432
|
owner_receive?: {
|
|
424
433
|
received: {
|
|
@@ -433,15 +442,6 @@ export declare const CallDemand_DataSchema: z.ZodObject<{
|
|
|
433
442
|
id: string;
|
|
434
443
|
content_raw?: any;
|
|
435
444
|
}[] | undefined;
|
|
436
|
-
rewards?: {
|
|
437
|
-
op: "set" | "add";
|
|
438
|
-
objects: string[];
|
|
439
|
-
} | {
|
|
440
|
-
op: "remove";
|
|
441
|
-
objects: string[];
|
|
442
|
-
} | {
|
|
443
|
-
op: "clear";
|
|
444
|
-
} | undefined;
|
|
445
445
|
guards?: {
|
|
446
446
|
op: "add";
|
|
447
447
|
guard: {
|
|
@@ -721,6 +721,15 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
|
|
|
721
721
|
} | undefined;
|
|
722
722
|
};
|
|
723
723
|
description?: string | undefined;
|
|
724
|
+
rewards?: {
|
|
725
|
+
op: "set" | "add";
|
|
726
|
+
objects: string[];
|
|
727
|
+
} | {
|
|
728
|
+
op: "remove";
|
|
729
|
+
objects: string[];
|
|
730
|
+
} | {
|
|
731
|
+
op: "clear";
|
|
732
|
+
} | undefined;
|
|
724
733
|
location?: string | undefined;
|
|
725
734
|
owner_receive?: {
|
|
726
735
|
received: {
|
|
@@ -735,15 +744,6 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
|
|
|
735
744
|
id: string;
|
|
736
745
|
content_raw?: any;
|
|
737
746
|
}[] | undefined;
|
|
738
|
-
rewards?: {
|
|
739
|
-
op: "set" | "add";
|
|
740
|
-
objects: string[];
|
|
741
|
-
} | {
|
|
742
|
-
op: "remove";
|
|
743
|
-
objects: string[];
|
|
744
|
-
} | {
|
|
745
|
-
op: "clear";
|
|
746
|
-
} | undefined;
|
|
747
747
|
guards?: {
|
|
748
748
|
op: "add";
|
|
749
749
|
guard: {
|
|
@@ -791,6 +791,15 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
|
|
|
791
791
|
} | undefined;
|
|
792
792
|
};
|
|
793
793
|
description?: string | undefined;
|
|
794
|
+
rewards?: {
|
|
795
|
+
op: "set" | "add";
|
|
796
|
+
objects: string[];
|
|
797
|
+
} | {
|
|
798
|
+
op: "remove";
|
|
799
|
+
objects: string[];
|
|
800
|
+
} | {
|
|
801
|
+
op: "clear";
|
|
802
|
+
} | undefined;
|
|
794
803
|
location?: string | undefined;
|
|
795
804
|
owner_receive?: {
|
|
796
805
|
received: {
|
|
@@ -805,15 +814,6 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
|
|
|
805
814
|
id: string;
|
|
806
815
|
content_raw?: any;
|
|
807
816
|
}[] | undefined;
|
|
808
|
-
rewards?: {
|
|
809
|
-
op: "set" | "add";
|
|
810
|
-
objects: string[];
|
|
811
|
-
} | {
|
|
812
|
-
op: "remove";
|
|
813
|
-
objects: string[];
|
|
814
|
-
} | {
|
|
815
|
-
op: "clear";
|
|
816
|
-
} | undefined;
|
|
817
817
|
guards?: {
|
|
818
818
|
op: "add";
|
|
819
819
|
guard: {
|
|
@@ -853,18 +853,33 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
|
|
|
853
853
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
854
854
|
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
|
|
855
855
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
856
|
+
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
857
|
+
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
858
|
+
project: z.ZodOptional<z.ZodString>;
|
|
859
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
860
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
856
861
|
}, "strict", z.ZodTypeAny, {
|
|
857
862
|
account: string;
|
|
858
863
|
no_cache?: boolean | undefined;
|
|
859
864
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
860
865
|
permission_guard?: string[] | undefined;
|
|
861
866
|
referrer?: string | undefined;
|
|
867
|
+
confirmed?: boolean | undefined;
|
|
868
|
+
user_intent_phrases?: string[] | undefined;
|
|
869
|
+
project?: string | undefined;
|
|
870
|
+
client_schema_version?: string | undefined;
|
|
871
|
+
schema_strict_mode?: boolean | undefined;
|
|
862
872
|
}, {
|
|
863
873
|
no_cache?: boolean | undefined;
|
|
864
874
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
865
875
|
account?: string | undefined;
|
|
866
876
|
permission_guard?: string[] | undefined;
|
|
867
877
|
referrer?: string | undefined;
|
|
878
|
+
confirmed?: boolean | undefined;
|
|
879
|
+
user_intent_phrases?: string[] | undefined;
|
|
880
|
+
project?: string | undefined;
|
|
881
|
+
client_schema_version?: string | undefined;
|
|
882
|
+
schema_strict_mode?: boolean | undefined;
|
|
868
883
|
}>>;
|
|
869
884
|
submission: z.ZodOptional<z.ZodObject<{
|
|
870
885
|
type: z.ZodLiteral<"submission">;
|
|
@@ -1062,6 +1077,15 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
|
|
|
1062
1077
|
} | undefined;
|
|
1063
1078
|
};
|
|
1064
1079
|
description?: string | undefined;
|
|
1080
|
+
rewards?: {
|
|
1081
|
+
op: "set" | "add";
|
|
1082
|
+
objects: string[];
|
|
1083
|
+
} | {
|
|
1084
|
+
op: "remove";
|
|
1085
|
+
objects: string[];
|
|
1086
|
+
} | {
|
|
1087
|
+
op: "clear";
|
|
1088
|
+
} | undefined;
|
|
1065
1089
|
location?: string | undefined;
|
|
1066
1090
|
owner_receive?: {
|
|
1067
1091
|
received: {
|
|
@@ -1076,15 +1100,6 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
|
|
|
1076
1100
|
id: string;
|
|
1077
1101
|
content_raw?: any;
|
|
1078
1102
|
}[] | undefined;
|
|
1079
|
-
rewards?: {
|
|
1080
|
-
op: "set" | "add";
|
|
1081
|
-
objects: string[];
|
|
1082
|
-
} | {
|
|
1083
|
-
op: "remove";
|
|
1084
|
-
objects: string[];
|
|
1085
|
-
} | {
|
|
1086
|
-
op: "clear";
|
|
1087
|
-
} | undefined;
|
|
1088
1103
|
guards?: {
|
|
1089
1104
|
op: "add";
|
|
1090
1105
|
guard: {
|
|
@@ -1151,6 +1166,11 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
|
|
|
1151
1166
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
1152
1167
|
permission_guard?: string[] | undefined;
|
|
1153
1168
|
referrer?: string | undefined;
|
|
1169
|
+
confirmed?: boolean | undefined;
|
|
1170
|
+
user_intent_phrases?: string[] | undefined;
|
|
1171
|
+
project?: string | undefined;
|
|
1172
|
+
client_schema_version?: string | undefined;
|
|
1173
|
+
schema_strict_mode?: boolean | undefined;
|
|
1154
1174
|
} | undefined;
|
|
1155
1175
|
}, {
|
|
1156
1176
|
data: {
|
|
@@ -1168,6 +1188,15 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
|
|
|
1168
1188
|
} | undefined;
|
|
1169
1189
|
};
|
|
1170
1190
|
description?: string | undefined;
|
|
1191
|
+
rewards?: {
|
|
1192
|
+
op: "set" | "add";
|
|
1193
|
+
objects: string[];
|
|
1194
|
+
} | {
|
|
1195
|
+
op: "remove";
|
|
1196
|
+
objects: string[];
|
|
1197
|
+
} | {
|
|
1198
|
+
op: "clear";
|
|
1199
|
+
} | undefined;
|
|
1171
1200
|
location?: string | undefined;
|
|
1172
1201
|
owner_receive?: {
|
|
1173
1202
|
received: {
|
|
@@ -1182,15 +1211,6 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
|
|
|
1182
1211
|
id: string;
|
|
1183
1212
|
content_raw?: any;
|
|
1184
1213
|
}[] | undefined;
|
|
1185
|
-
rewards?: {
|
|
1186
|
-
op: "set" | "add";
|
|
1187
|
-
objects: string[];
|
|
1188
|
-
} | {
|
|
1189
|
-
op: "remove";
|
|
1190
|
-
objects: string[];
|
|
1191
|
-
} | {
|
|
1192
|
-
op: "clear";
|
|
1193
|
-
} | undefined;
|
|
1194
1214
|
guards?: {
|
|
1195
1215
|
op: "add";
|
|
1196
1216
|
guard: {
|
|
@@ -1257,6 +1277,11 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
|
|
|
1257
1277
|
account?: string | undefined;
|
|
1258
1278
|
permission_guard?: string[] | undefined;
|
|
1259
1279
|
referrer?: string | undefined;
|
|
1280
|
+
confirmed?: boolean | undefined;
|
|
1281
|
+
user_intent_phrases?: string[] | undefined;
|
|
1282
|
+
project?: string | undefined;
|
|
1283
|
+
client_schema_version?: string | undefined;
|
|
1284
|
+
schema_strict_mode?: boolean | undefined;
|
|
1260
1285
|
} | undefined;
|
|
1261
1286
|
}>;
|
|
1262
1287
|
export type CallDemand_Data = z.infer<typeof CallDemand_DataSchema>;
|