@wowok/agent-mcp 3.0.4 → 3.0.6
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/README.md +25 -20
- package/dist/customer/account-events.js +1 -1
- package/dist/evaluation/path-reasoning.d.ts +4 -2
- package/dist/evaluation/path-reasoning.js +1 -1
- package/dist/extensions/constraint-registry.d.ts +2 -2
- package/dist/extensions/constraint-registry.js +1 -1
- package/dist/extensions/custom-registry-file.d.ts +22 -0
- package/dist/extensions/custom-registry-file.js +1 -0
- package/dist/extensions/index.d.ts +2 -1
- package/dist/extensions/index.js +1 -1
- package/dist/extensions/industry-pack.d.ts +7 -0
- package/dist/extensions/industry-pack.js +1 -1
- package/dist/extensions/metric-registry.d.ts +2 -2
- package/dist/extensions/metric-registry.js +1 -1
- package/dist/extensions/modes.js +1 -1
- package/dist/extensions/registry.d.ts +2 -2
- package/dist/extensions/registry.js +1 -1
- package/dist/extensions/types.d.ts +4 -0
- package/dist/goal/GoalEngine.d.ts +13 -1
- package/dist/goal/GoalEngine.js +1 -1
- package/dist/goal/next-steps.d.ts +12 -0
- package/dist/goal/next-steps.js +1 -0
- package/dist/goal/pursue.d.ts +18 -0
- package/dist/goal/pursue.js +1 -0
- package/dist/goal/types.d.ts +72 -0
- package/dist/goal/types.js +1 -1
- package/dist/graph/onchain/analyze.d.ts +44 -0
- package/dist/graph/onchain/analyze.js +1 -0
- package/dist/graph/onchain/analyze.spec.d.ts +1 -0
- package/dist/graph/onchain/analyze.spec.js +1 -0
- package/dist/graph/onchain/anti-cheat.d.ts +39 -0
- package/dist/graph/onchain/anti-cheat.js +1 -0
- package/dist/graph/onchain/anti-cheat.spec.d.ts +1 -0
- package/dist/graph/onchain/anti-cheat.spec.js +1 -0
- package/dist/graph/onchain/dataplane.d.ts +44 -0
- package/dist/graph/onchain/dataplane.js +1 -0
- package/dist/graph/onchain/edge-schema.d.ts +60 -0
- package/dist/graph/onchain/edge-schema.js +1 -0
- package/dist/graph/onchain/expand.d.ts +4 -0
- package/dist/graph/onchain/expand.js +1 -0
- package/dist/graph/onchain/extract.d.ts +21 -0
- package/dist/graph/onchain/extract.js +1 -0
- package/dist/graph/onchain/index.d.ts +17 -0
- package/dist/graph/onchain/index.js +1 -0
- package/dist/graph/onchain/interest.d.ts +10 -0
- package/dist/graph/onchain/interest.js +1 -0
- package/dist/graph/onchain/interest.spec.d.ts +1 -0
- package/dist/graph/onchain/interest.spec.js +1 -0
- package/dist/graph/onchain/onchain.spec.d.ts +1 -0
- package/dist/graph/onchain/onchain.spec.js +1 -0
- package/dist/graph/onchain/order-status.d.ts +53 -0
- package/dist/graph/onchain/order-status.js +1 -0
- package/dist/graph/onchain/project-relationship.d.ts +3 -0
- package/dist/graph/onchain/project-relationship.js +1 -0
- package/dist/graph/onchain/sdk-batch.d.ts +123 -0
- package/dist/graph/onchain/sdk-batch.js +1 -0
- package/dist/graph/onchain/sdk-dataplane.d.ts +43 -0
- package/dist/graph/onchain/sdk-dataplane.js +1 -0
- package/dist/graph/onchain/strategy.d.ts +54 -0
- package/dist/graph/onchain/strategy.js +1 -0
- package/dist/graph/onchain/strategy.spec.d.ts +1 -0
- package/dist/graph/onchain/strategy.spec.js +1 -0
- package/dist/graph/onchain/types.d.ts +238 -0
- package/dist/graph/onchain/types.js +1 -0
- package/dist/graph/onchain/viewport.d.ts +5 -0
- package/dist/graph/onchain/viewport.js +1 -0
- package/dist/harness/recover.js +1 -1
- package/dist/index.js +1 -1
- package/dist/intent/enrich.js +1 -1
- package/dist/keeper/detectors.d.ts +1 -1
- package/dist/keeper/detectors.js +1 -1
- package/dist/knowledge/account-marks.js +1 -1
- package/dist/knowledge/allocation-risk.js +1 -1
- package/dist/knowledge/allocation-templates.js +1 -1
- package/dist/knowledge/anti-cheat.d.ts +2 -37
- package/dist/knowledge/anti-cheat.js +1 -1
- package/dist/knowledge/contract-invariants.js +1 -1
- package/dist/knowledge/getting-started.d.ts +37 -0
- package/dist/knowledge/getting-started.js +1 -0
- package/dist/knowledge/goal-completion.d.ts +12 -0
- package/dist/knowledge/goal-completion.js +1 -1
- package/dist/knowledge/guard-render.d.ts +1 -0
- package/dist/knowledge/guard-render.js +1 -1
- package/dist/knowledge/guard-risk.js +1 -1
- package/dist/knowledge/guard-submission-brief.d.ts +83 -0
- package/dist/knowledge/guard-submission-brief.js +1 -0
- package/dist/knowledge/guard-submission-prompt.d.ts +13 -0
- package/dist/knowledge/guard-submission-prompt.js +1 -1
- package/dist/knowledge/index.d.ts +10 -4
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/industry-strategy.d.ts +91 -0
- package/dist/knowledge/industry-strategy.js +1 -0
- package/dist/knowledge/jsonrpc-enum.js +1 -1
- package/dist/knowledge/market-metrics.d.ts +14 -3
- package/dist/knowledge/market-metrics.js +1 -1
- package/dist/knowledge/migration-preflight.js +1 -1
- package/dist/knowledge/operation-dictionary.d.ts +1 -1
- package/dist/knowledge/payment-tracker.d.ts +63 -0
- package/dist/knowledge/payment-tracker.js +1 -0
- package/dist/knowledge/recipient-constraint.d.ts +160 -0
- package/dist/knowledge/recipient-constraint.js +1 -0
- package/dist/knowledge/safety-rules.d.ts +1 -1
- package/dist/knowledge/safety-rules.js +1 -1
- package/dist/knowledge/scenario-topology.d.ts +6 -1
- package/dist/knowledge/scenario-topology.js +1 -1
- package/dist/knowledge/service-risk-node.d.ts +3 -0
- package/dist/knowledge/service-risk-node.js +1 -0
- package/dist/knowledge/service-risk.d.ts +2 -0
- package/dist/knowledge/service-risk.js +1 -1
- package/dist/knowledge/service-templates.d.ts +2 -0
- package/dist/knowledge/service-templates.js +1 -1
- package/dist/knowledge/strategy-manuals.d.ts +17 -0
- package/dist/knowledge/strategy-manuals.js +1 -0
- package/dist/knowledge/supply-chain.d.ts +3 -1
- package/dist/knowledge/supply-chain.js +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/knowledge/workflow-guidance.d.ts +3 -118
- package/dist/knowledge/workflow-guidance.js +1 -1
- package/dist/knowledge/workspace-lists.d.ts +4 -0
- package/dist/knowledge/workspace-lists.js +1 -1
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/monitor/ScopeResolver.js +1 -1
- package/dist/participation/arbitrator-interest.d.ts +2 -0
- package/dist/participation/arbitrator-interest.js +1 -1
- package/dist/participation/collaborator-interest.d.ts +2 -0
- package/dist/participation/collaborator-interest.js +1 -1
- package/dist/participation/customer-interest.d.ts +2 -0
- package/dist/participation/customer-interest.js +1 -1
- package/dist/participation/merchant-interest.d.ts +2 -0
- package/dist/participation/merchant-interest.js +1 -1
- package/dist/participation/radar-core.d.ts +15 -15
- package/dist/participation/radar-core.js +1 -1
- package/dist/participation/supplier-interest.d.ts +2 -0
- package/dist/participation/supplier-interest.js +1 -1
- package/dist/persona/analyzer.d.ts +2 -1
- package/dist/persona/bridge.d.ts +5 -1
- package/dist/persona/bridge.js +1 -1
- package/dist/persona/defaults.js +1 -1
- package/dist/persona/distill-goal.d.ts +7 -1
- package/dist/persona/distill-goal.js +1 -1
- package/dist/persona/index.d.ts +13 -3
- package/dist/persona/index.js +1 -1
- package/dist/persona/model.d.ts +12 -2
- package/dist/persona/model.js +1 -1
- package/dist/persona/overrides.d.ts +1 -0
- package/dist/persona/overrides.js +1 -1
- package/dist/persona/topology-focus.d.ts +29 -0
- package/dist/persona/topology-focus.js +1 -0
- package/dist/persona/types.d.ts +81 -0
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/context-assembly.js +1 -1
- package/dist/playbooks/service-build/machine-nodes.js +1 -1
- package/dist/playbooks/service-build/machine-panorama.js +1 -1
- package/dist/playbooks/service-build/merchant-guide.d.ts +7 -0
- package/dist/playbooks/service-build/merchant-guide.js +1 -1
- package/dist/playbooks/service-build/object-panorama.js +1 -1
- package/dist/playbooks/service-build/participation-radar.js +1 -1
- package/dist/playbooks/service-build/pipeline-actions.d.ts +2 -2
- package/dist/playbooks/service-build/pipeline-actions.js +1 -1
- package/dist/playbooks/service-build/relationship-profile.d.ts +1 -0
- package/dist/playbooks/service-build/relationship-profile.js +1 -1
- package/dist/playbooks/service-build/risk-aggregator.js +1 -1
- package/dist/playbooks/service-build/service-panorama.d.ts +4 -0
- package/dist/playbooks/service-build/service-panorama.js +1 -1
- package/dist/playbooks/service-build/topology-query.d.ts +14 -0
- package/dist/playbooks/service-build/topology-query.js +1 -0
- package/dist/relationship/derivation.js +1 -1
- package/dist/role/index.d.ts +1 -0
- package/dist/role/index.js +1 -1
- package/dist/role/profiles.d.ts +26 -0
- package/dist/role/profiles.js +1 -0
- package/dist/safety/confirm-gate.d.ts +4 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/call/allocation.d.ts +6 -6
- package/dist/schema/call/allocation.js +1 -1
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +1 -1
- package/dist/schema/call/guard.d.ts +20 -20
- package/dist/schema/call/repository.js +1 -1
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +4 -4
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/employee/index.d.ts +7 -7
- package/dist/schema/evaluation/index.d.ts +26 -13
- package/dist/schema/evaluation/index.js +1 -1
- package/dist/schema/goal/index.d.ts +53 -17
- package/dist/schema/goal/index.js +1 -1
- package/dist/schema/goal/planning.d.ts +7 -7
- package/dist/schema/index.d.ts +1 -0
- package/dist/schema/index.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +13 -6
- package/dist/schema/industry-pack/index.js +1 -1
- package/dist/schema/industry-pack/modes.d.ts +6 -6
- package/dist/schema/intent-radar/index.d.ts +16 -16
- package/dist/schema/local/index.d.ts +8 -4
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/messenger/index.d.ts +428 -72
- package/dist/schema/messenger/index.js +1 -1
- package/dist/schema/operations.d.ts +177 -34
- package/dist/schema/operations.js +1 -1
- package/dist/schema/persona/index.d.ts +15744 -1
- package/dist/schema/persona/index.js +1 -1
- package/dist/schema/query/bi.d.ts +891 -24
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +168 -43
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-query/index.d.ts +16 -0
- package/dist/schema/schema-query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/strategy-review/index.d.ts +137 -0
- package/dist/schema/strategy-review/index.js +1 -0
- package/dist/schema/trust/index.d.ts +6 -6
- package/dist/schema/workflow/index.d.ts +2 -2
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.output.json +8 -4
- package/dist/schemas/account_operation.schema.json +6 -2
- package/dist/schemas/bridge_operation.schema.json +10 -10
- package/dist/schemas/evaluation_operation.output.json +24 -0
- package/dist/schemas/evaluation_operation.schema.json +7 -7
- package/dist/schemas/goal_operation.schema.json +124 -0
- package/dist/schemas/guard2file.schema.json +2 -2
- package/dist/schemas/index.json +7 -1
- package/dist/schemas/industry_pack_operation.output.json +39 -0
- package/dist/schemas/local_mark_operation.schema.json +2 -2
- package/dist/schemas/machineNode2file.schema.json +2 -2
- package/dist/schemas/messenger_operation.output.json +934 -236
- package/dist/schemas/messenger_operation.schema.json +93 -242
- package/dist/schemas/onchain_events.schema.json +1 -1
- package/dist/schemas/onchain_operations.schema.json +54 -54
- package/dist/schemas/onchain_operations_allocation.schema.json +5 -5
- package/dist/schemas/onchain_operations_arbitration.schema.json +2 -2
- package/dist/schemas/onchain_operations_contact.schema.json +2 -2
- package/dist/schemas/onchain_operations_demand.schema.json +2 -2
- package/dist/schemas/onchain_operations_gen_passport.schema.json +2 -2
- package/dist/schemas/onchain_operations_gen_proof.schema.json +2 -2
- package/dist/schemas/onchain_operations_guard.schema.json +2 -2
- package/dist/schemas/onchain_operations_machine.schema.json +8 -8
- package/dist/schemas/onchain_operations_order.schema.json +2 -2
- package/dist/schemas/onchain_operations_payment.schema.json +3 -3
- package/dist/schemas/onchain_operations_permission.schema.json +2 -2
- package/dist/schemas/onchain_operations_personal.schema.json +2 -2
- package/dist/schemas/onchain_operations_progress.schema.json +2 -2
- package/dist/schemas/onchain_operations_proof.schema.json +2 -2
- package/dist/schemas/onchain_operations_repository.schema.json +5 -5
- package/dist/schemas/onchain_operations_reward.schema.json +2 -2
- package/dist/schemas/onchain_operations_service.schema.json +5 -5
- package/dist/schemas/onchain_operations_treasury.schema.json +4 -4
- package/dist/schemas/onchain_table_data.output.json +197 -13
- package/dist/schemas/onchain_table_data.schema.json +43 -43
- package/dist/schemas/persona_operation.output.json +37778 -262
- package/dist/schemas/persona_operation.schema.json +5960 -1
- package/dist/schemas/query_toolkit.output.json +1615 -10
- package/dist/schemas/query_toolkit.schema.json +232 -42
- package/dist/schemas/schema_query.schema.json +25 -1
- package/dist/schemas/strategy_review_operation.output.json +532 -0
- package/dist/schemas/strategy_review_operation.schema.json +66 -0
- package/dist/schemas/wowok_buildin_info.output.json +188 -6
- package/dist/schemas/wowok_buildin_info.schema.json +14 -0
- package/dist/strategy/collectors.d.ts +66 -0
- package/dist/strategy/collectors.js +1 -0
- package/dist/strategy/collectors.spec.d.ts +1 -0
- package/dist/strategy/collectors.spec.js +1 -0
- package/dist/strategy/index.d.ts +5 -0
- package/dist/strategy/index.js +1 -0
- package/dist/strategy/metrics.d.ts +20 -0
- package/dist/strategy/metrics.js +1 -0
- package/dist/strategy/review.d.ts +48 -0
- package/dist/strategy/review.js +1 -0
- package/dist/strategy/scorecard.d.ts +32 -0
- package/dist/strategy/scorecard.js +1 -0
- package/dist/strategy/store.d.ts +26 -0
- package/dist/strategy/store.js +1 -0
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/evaluation.js +1 -1
- package/dist/tools/handlers/goal.js +1 -1
- package/dist/tools/handlers/industry-pack.js +1 -1
- package/dist/tools/handlers/local.js +1 -1
- package/dist/tools/handlers/messenger.js +1 -1
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/permission.js +1 -1
- package/dist/tools/handlers/persona.js +1 -1
- package/dist/tools/handlers/query.d.ts +6 -0
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/schema-query.js +1 -1
- package/dist/tools/handlers/strategy-review.d.ts +2 -0
- package/dist/tools/handlers/strategy-review.js +1 -0
- package/dist/tools/handlers/watch.js +1 -1
- package/dist/tools/handlers/workflow.js +1 -1
- package/dist/tools/index.d.ts +3 -0
- package/dist/tools/index.js +1 -1
- package/dist/tools/registry/agent.js +1 -1
- package/dist/tools/registry/business.js +1 -1
- package/dist/tools/registry/local.js +1 -1
- package/dist/tools/registry/messenger.js +1 -1
- package/dist/tools/registry/onchain.js +1 -1
- package/dist/tools/registry/query.js +1 -1
- package/dist/tools/rules-hook.d.ts +2 -0
- package/dist/tools/rules-hook.js +1 -1
- package/dist/tools/shared.d.ts +2 -1
- package/dist/tools/shared.js +1 -1
- package/dist/tools/wrap.js +1 -1
- package/package.json +2 -2
|
@@ -29,6 +29,33 @@ export declare const RangeTypeSchema: z.ZodEnum<{
|
|
|
29
29
|
messageId: "messageId";
|
|
30
30
|
seqIndex: "seqIndex";
|
|
31
31
|
}>;
|
|
32
|
+
export declare const AttachmentKindSchema: z.ZodEnum<{
|
|
33
|
+
file: "file";
|
|
34
|
+
wip: "wip";
|
|
35
|
+
wts: "wts";
|
|
36
|
+
image: "image";
|
|
37
|
+
video: "video";
|
|
38
|
+
audio: "audio";
|
|
39
|
+
voice: "voice";
|
|
40
|
+
}>;
|
|
41
|
+
export declare const AttachmentDescriptorSchema: z.ZodObject<{
|
|
42
|
+
kind: z.ZodEnum<{
|
|
43
|
+
file: "file";
|
|
44
|
+
wip: "wip";
|
|
45
|
+
wts: "wts";
|
|
46
|
+
image: "image";
|
|
47
|
+
video: "video";
|
|
48
|
+
audio: "audio";
|
|
49
|
+
voice: "voice";
|
|
50
|
+
}>;
|
|
51
|
+
fileName: z.ZodString;
|
|
52
|
+
mimeType: z.ZodString;
|
|
53
|
+
size: z.ZodNumber;
|
|
54
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
55
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
56
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
57
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
58
|
+
}, z.core.$strip>;
|
|
32
59
|
export declare const ZipMetadataSchema: z.ZodObject<{
|
|
33
60
|
fileName: z.ZodString;
|
|
34
61
|
fileSize: z.ZodNumber;
|
|
@@ -45,12 +72,35 @@ export declare const ZipMetadataSchema: z.ZodObject<{
|
|
|
45
72
|
export declare const ReplyToSchema: z.ZodObject<{
|
|
46
73
|
messageId: z.ZodString;
|
|
47
74
|
}, z.core.$strip>;
|
|
75
|
+
export declare const MessageProofRecordSchema: z.ZodObject<{
|
|
76
|
+
address: z.ZodString;
|
|
77
|
+
network: z.ZodOptional<z.ZodString>;
|
|
78
|
+
createdAt: z.ZodNumber;
|
|
79
|
+
}, z.core.$strip>;
|
|
48
80
|
export declare const MessageSchema: z.ZodObject<{
|
|
49
81
|
messageId: z.ZodString;
|
|
50
82
|
fromAddress: z.ZodString;
|
|
51
83
|
toAddress: z.ZodString;
|
|
52
84
|
plaintextHash: z.ZodString;
|
|
53
85
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
86
|
+
attachment: z.ZodOptional<z.ZodObject<{
|
|
87
|
+
kind: z.ZodEnum<{
|
|
88
|
+
file: "file";
|
|
89
|
+
wip: "wip";
|
|
90
|
+
wts: "wts";
|
|
91
|
+
image: "image";
|
|
92
|
+
video: "video";
|
|
93
|
+
audio: "audio";
|
|
94
|
+
voice: "voice";
|
|
95
|
+
}>;
|
|
96
|
+
fileName: z.ZodString;
|
|
97
|
+
mimeType: z.ZodString;
|
|
98
|
+
size: z.ZodNumber;
|
|
99
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
100
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
101
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
102
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
103
|
+
}, z.core.$strip>>;
|
|
54
104
|
replyTo: z.ZodOptional<z.ZodObject<{
|
|
55
105
|
messageId: z.ZodString;
|
|
56
106
|
}, z.core.$strip>>;
|
|
@@ -99,11 +149,103 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
99
149
|
downloadedAt: z.ZodOptional<z.ZodNumber>;
|
|
100
150
|
}, z.core.$strip>>;
|
|
101
151
|
proof: z.ZodOptional<z.ZodString>;
|
|
152
|
+
proofs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
153
|
+
address: z.ZodString;
|
|
154
|
+
network: z.ZodOptional<z.ZodString>;
|
|
155
|
+
createdAt: z.ZodNumber;
|
|
156
|
+
}, z.core.$strip>>>;
|
|
102
157
|
decryptError: z.ZodOptional<z.ZodString>;
|
|
103
158
|
decryptAttempts: z.ZodOptional<z.ZodNumber>;
|
|
104
159
|
lastDecryptAttemptAt: z.ZodOptional<z.ZodNumber>;
|
|
105
160
|
viewedAt: z.ZodOptional<z.ZodNumber>;
|
|
106
161
|
}, z.core.$strip>;
|
|
162
|
+
export declare const PullAccountResultSchema: z.ZodObject<{
|
|
163
|
+
account: z.ZodString;
|
|
164
|
+
pulled: z.ZodNumber;
|
|
165
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
166
|
+
messageId: z.ZodString;
|
|
167
|
+
fromAddress: z.ZodString;
|
|
168
|
+
toAddress: z.ZodString;
|
|
169
|
+
plaintextHash: z.ZodString;
|
|
170
|
+
plaintext: z.ZodOptional<z.ZodString>;
|
|
171
|
+
attachment: z.ZodOptional<z.ZodObject<{
|
|
172
|
+
kind: z.ZodEnum<{
|
|
173
|
+
file: "file";
|
|
174
|
+
wip: "wip";
|
|
175
|
+
wts: "wts";
|
|
176
|
+
image: "image";
|
|
177
|
+
video: "video";
|
|
178
|
+
audio: "audio";
|
|
179
|
+
voice: "voice";
|
|
180
|
+
}>;
|
|
181
|
+
fileName: z.ZodString;
|
|
182
|
+
mimeType: z.ZodString;
|
|
183
|
+
size: z.ZodNumber;
|
|
184
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
185
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
186
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
187
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
188
|
+
}, z.core.$strip>>;
|
|
189
|
+
replyTo: z.ZodOptional<z.ZodObject<{
|
|
190
|
+
messageId: z.ZodString;
|
|
191
|
+
}, z.core.$strip>>;
|
|
192
|
+
guardAddress: z.ZodOptional<z.ZodString>;
|
|
193
|
+
passportAddress: z.ZodOptional<z.ZodString>;
|
|
194
|
+
lastReceivedLeafIndex: z.ZodOptional<z.ZodNumber>;
|
|
195
|
+
direction: z.ZodEnum<{
|
|
196
|
+
received: "received";
|
|
197
|
+
sent: "sent";
|
|
198
|
+
}>;
|
|
199
|
+
status: z.ZodEnum<{
|
|
200
|
+
failed: "failed";
|
|
201
|
+
confirmed: "confirmed";
|
|
202
|
+
read: "read";
|
|
203
|
+
pending: "pending";
|
|
204
|
+
rejected: "rejected";
|
|
205
|
+
decrypted: "decrypted";
|
|
206
|
+
decrypt_failed: "decrypt_failed";
|
|
207
|
+
}>;
|
|
208
|
+
msgType: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<3>]>;
|
|
209
|
+
leafIndex: z.ZodOptional<z.ZodNumber>;
|
|
210
|
+
prevRoot: z.ZodOptional<z.ZodString>;
|
|
211
|
+
newRoot: z.ZodOptional<z.ZodString>;
|
|
212
|
+
serverSignature: z.ZodOptional<z.ZodString>;
|
|
213
|
+
serverTimestamp: z.ZodOptional<z.ZodNumber>;
|
|
214
|
+
serverPublicKey: z.ZodOptional<z.ZodString>;
|
|
215
|
+
arkConfirmed: z.ZodOptional<z.ZodObject<{
|
|
216
|
+
recipient: z.ZodString;
|
|
217
|
+
recipientPublicKey: z.ZodString;
|
|
218
|
+
signature: z.ZodString;
|
|
219
|
+
timestamp: z.ZodNumber;
|
|
220
|
+
}, z.core.$strip>>;
|
|
221
|
+
createdAt: z.ZodNumber;
|
|
222
|
+
receivedAt: z.ZodOptional<z.ZodNumber>;
|
|
223
|
+
zipMetadata: z.ZodOptional<z.ZodObject<{
|
|
224
|
+
fileName: z.ZodString;
|
|
225
|
+
fileSize: z.ZodNumber;
|
|
226
|
+
fileHash: z.ZodString;
|
|
227
|
+
contentType: z.ZodEnum<{
|
|
228
|
+
text: "text";
|
|
229
|
+
wip: "wip";
|
|
230
|
+
zip: "zip";
|
|
231
|
+
wts: "wts";
|
|
232
|
+
}>;
|
|
233
|
+
localCachePath: z.ZodOptional<z.ZodString>;
|
|
234
|
+
downloadedAt: z.ZodOptional<z.ZodNumber>;
|
|
235
|
+
}, z.core.$strip>>;
|
|
236
|
+
proof: z.ZodOptional<z.ZodString>;
|
|
237
|
+
proofs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
238
|
+
address: z.ZodString;
|
|
239
|
+
network: z.ZodOptional<z.ZodString>;
|
|
240
|
+
createdAt: z.ZodNumber;
|
|
241
|
+
}, z.core.$strip>>>;
|
|
242
|
+
decryptError: z.ZodOptional<z.ZodString>;
|
|
243
|
+
decryptAttempts: z.ZodOptional<z.ZodNumber>;
|
|
244
|
+
lastDecryptAttemptAt: z.ZodOptional<z.ZodNumber>;
|
|
245
|
+
viewedAt: z.ZodOptional<z.ZodNumber>;
|
|
246
|
+
}, z.core.$strip>>;
|
|
247
|
+
error: z.ZodOptional<z.ZodString>;
|
|
248
|
+
}, z.core.$strip>;
|
|
107
249
|
export declare const ConversationInfoSchema: z.ZodObject<{
|
|
108
250
|
peerAddress: z.ZodString;
|
|
109
251
|
lastMessageAt: z.ZodNumber;
|
|
@@ -116,6 +258,24 @@ export declare const ConversationInfoSchema: z.ZodObject<{
|
|
|
116
258
|
toAddress: z.ZodString;
|
|
117
259
|
plaintextHash: z.ZodString;
|
|
118
260
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
261
|
+
attachment: z.ZodOptional<z.ZodObject<{
|
|
262
|
+
kind: z.ZodEnum<{
|
|
263
|
+
file: "file";
|
|
264
|
+
wip: "wip";
|
|
265
|
+
wts: "wts";
|
|
266
|
+
image: "image";
|
|
267
|
+
video: "video";
|
|
268
|
+
audio: "audio";
|
|
269
|
+
voice: "voice";
|
|
270
|
+
}>;
|
|
271
|
+
fileName: z.ZodString;
|
|
272
|
+
mimeType: z.ZodString;
|
|
273
|
+
size: z.ZodNumber;
|
|
274
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
275
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
276
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
277
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
278
|
+
}, z.core.$strip>>;
|
|
119
279
|
replyTo: z.ZodOptional<z.ZodObject<{
|
|
120
280
|
messageId: z.ZodString;
|
|
121
281
|
}, z.core.$strip>>;
|
|
@@ -164,6 +324,11 @@ export declare const ConversationInfoSchema: z.ZodObject<{
|
|
|
164
324
|
downloadedAt: z.ZodOptional<z.ZodNumber>;
|
|
165
325
|
}, z.core.$strip>>;
|
|
166
326
|
proof: z.ZodOptional<z.ZodString>;
|
|
327
|
+
proofs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
328
|
+
address: z.ZodString;
|
|
329
|
+
network: z.ZodOptional<z.ZodString>;
|
|
330
|
+
createdAt: z.ZodNumber;
|
|
331
|
+
}, z.core.$strip>>>;
|
|
167
332
|
decryptError: z.ZodOptional<z.ZodString>;
|
|
168
333
|
decryptAttempts: z.ZodOptional<z.ZodNumber>;
|
|
169
334
|
lastDecryptAttemptAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -244,6 +409,8 @@ export declare const MessageFilterSchema: z.ZodObject<{
|
|
|
244
409
|
arkTimestampStart: z.ZodOptional<z.ZodNumber>;
|
|
245
410
|
arkTimestampEnd: z.ZodOptional<z.ZodNumber>;
|
|
246
411
|
proofedOnly: z.ZodOptional<z.ZodBoolean>;
|
|
412
|
+
beforeCreatedAt: z.ZodOptional<z.ZodNumber>;
|
|
413
|
+
beforeMessageId: z.ZodOptional<z.ZodString>;
|
|
247
414
|
hasLastReceivedIndexOnly: z.ZodOptional<z.ZodBoolean>;
|
|
248
415
|
lastReceivedIndexMin: z.ZodOptional<z.ZodNumber>;
|
|
249
416
|
lastReceivedIndexMax: z.ZodOptional<z.ZodNumber>;
|
|
@@ -279,6 +446,8 @@ export declare const SendMessageOptionsSchema: z.ZodObject<{
|
|
|
279
446
|
replyTo: z.ZodOptional<z.ZodObject<{
|
|
280
447
|
messageId: z.ZodString;
|
|
281
448
|
}, z.core.$strip>>;
|
|
449
|
+
smart: z.ZodOptional<z.ZodBoolean>;
|
|
450
|
+
authorize: z.ZodOptional<z.ZodBoolean>;
|
|
282
451
|
}, z.core.$strip>;
|
|
283
452
|
export declare const SendFileOptionsSchema: z.ZodObject<{
|
|
284
453
|
fileName: z.ZodOptional<z.ZodString>;
|
|
@@ -287,6 +456,20 @@ export declare const SendFileOptionsSchema: z.ZodObject<{
|
|
|
287
456
|
zip: "zip";
|
|
288
457
|
wts: "wts";
|
|
289
458
|
}>>;
|
|
459
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
460
|
+
file: "file";
|
|
461
|
+
wip: "wip";
|
|
462
|
+
wts: "wts";
|
|
463
|
+
image: "image";
|
|
464
|
+
video: "video";
|
|
465
|
+
audio: "audio";
|
|
466
|
+
voice: "voice";
|
|
467
|
+
}>>;
|
|
468
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
469
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
470
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
471
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
472
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
290
473
|
guardAddress: z.ZodOptional<z.ZodString>;
|
|
291
474
|
passportAddress: z.ZodOptional<z.ZodString>;
|
|
292
475
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -299,7 +482,7 @@ export declare const SendFileOptionsSchema: z.ZodObject<{
|
|
|
299
482
|
}, z.core.$strip>;
|
|
300
483
|
export declare const SendMessageResultSchema: z.ZodObject<{
|
|
301
484
|
messageId: z.ZodString;
|
|
302
|
-
status: z.ZodEnum<{
|
|
485
|
+
status: z.ZodUnion<[z.ZodEnum<{
|
|
303
486
|
failed: "failed";
|
|
304
487
|
confirmed: "confirmed";
|
|
305
488
|
read: "read";
|
|
@@ -307,7 +490,7 @@ export declare const SendMessageResultSchema: z.ZodObject<{
|
|
|
307
490
|
rejected: "rejected";
|
|
308
491
|
decrypted: "decrypted";
|
|
309
492
|
decrypt_failed: "decrypt_failed";
|
|
310
|
-
}>;
|
|
493
|
+
}>, z.ZodLiteral<"guard_authorization_required">]>;
|
|
311
494
|
merkleData: z.ZodOptional<z.ZodObject<{
|
|
312
495
|
leafIndex: z.ZodNumber;
|
|
313
496
|
prevRoot: z.ZodString;
|
|
@@ -318,6 +501,19 @@ export declare const SendMessageResultSchema: z.ZodObject<{
|
|
|
318
501
|
}, z.core.$strip>>;
|
|
319
502
|
guardList: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
320
503
|
lastReceivedLeafIndex: z.ZodOptional<z.ZodNumber>;
|
|
504
|
+
authRequired: z.ZodOptional<z.ZodBoolean>;
|
|
505
|
+
network: z.ZodOptional<z.ZodEnum<{
|
|
506
|
+
testnet: import("@wowok/wowok").ENTRYPOINT.Testnet;
|
|
507
|
+
localnet: import("@wowok/wowok").ENTRYPOINT.Localnet;
|
|
508
|
+
mainnet: import("@wowok/wowok").ENTRYPOINT.Mainnet;
|
|
509
|
+
}>>;
|
|
510
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
511
|
+
no_local_passport: "no_local_passport";
|
|
512
|
+
local_passport_stale: "local_passport_stale";
|
|
513
|
+
}>>;
|
|
514
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
515
|
+
serverError: z.ZodOptional<z.ZodString>;
|
|
516
|
+
submissions: z.ZodOptional<z.ZodUnknown>;
|
|
321
517
|
}, z.core.$strip>;
|
|
322
518
|
export declare const TimeRangeSchema: z.ZodObject<{
|
|
323
519
|
type: z.ZodLiteral<"time">;
|
|
@@ -606,6 +802,8 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
606
802
|
replyTo: z.ZodOptional<z.ZodObject<{
|
|
607
803
|
messageId: z.ZodString;
|
|
608
804
|
}, z.core.$strip>>;
|
|
805
|
+
smart: z.ZodOptional<z.ZodBoolean>;
|
|
806
|
+
authorize: z.ZodOptional<z.ZodBoolean>;
|
|
609
807
|
}, z.core.$strip>>;
|
|
610
808
|
}, z.core.$strict>, z.ZodObject<{
|
|
611
809
|
goal_id: z.ZodOptional<z.ZodString>;
|
|
@@ -626,6 +824,20 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
626
824
|
zip: "zip";
|
|
627
825
|
wts: "wts";
|
|
628
826
|
}>>;
|
|
827
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
828
|
+
file: "file";
|
|
829
|
+
wip: "wip";
|
|
830
|
+
wts: "wts";
|
|
831
|
+
image: "image";
|
|
832
|
+
video: "video";
|
|
833
|
+
audio: "audio";
|
|
834
|
+
voice: "voice";
|
|
835
|
+
}>>;
|
|
836
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
837
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
838
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
839
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
840
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
629
841
|
guardAddress: z.ZodOptional<z.ZodString>;
|
|
630
842
|
passportAddress: z.ZodOptional<z.ZodString>;
|
|
631
843
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -661,6 +873,8 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
661
873
|
replyTo: z.ZodOptional<z.ZodObject<{
|
|
662
874
|
messageId: z.ZodString;
|
|
663
875
|
}, z.core.$strip>>;
|
|
876
|
+
smart: z.ZodOptional<z.ZodBoolean>;
|
|
877
|
+
authorize: z.ZodOptional<z.ZodBoolean>;
|
|
664
878
|
}, z.core.$strip>>;
|
|
665
879
|
}, z.core.$strict>, z.ZodObject<{
|
|
666
880
|
operation: z.ZodLiteral<"watch_messages">;
|
|
@@ -720,6 +934,8 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
720
934
|
arkTimestampStart: z.ZodOptional<z.ZodNumber>;
|
|
721
935
|
arkTimestampEnd: z.ZodOptional<z.ZodNumber>;
|
|
722
936
|
proofedOnly: z.ZodOptional<z.ZodBoolean>;
|
|
937
|
+
beforeCreatedAt: z.ZodOptional<z.ZodNumber>;
|
|
938
|
+
beforeMessageId: z.ZodOptional<z.ZodString>;
|
|
723
939
|
hasLastReceivedIndexOnly: z.ZodOptional<z.ZodBoolean>;
|
|
724
940
|
lastReceivedIndexMin: z.ZodOptional<z.ZodNumber>;
|
|
725
941
|
lastReceivedIndexMax: z.ZodOptional<z.ZodNumber>;
|
|
@@ -743,68 +959,11 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
743
959
|
skipAutoMarkViewed: z.ZodOptional<z.ZodBoolean>;
|
|
744
960
|
}, z.core.$strip>>;
|
|
745
961
|
}, z.core.$strict>, z.ZodObject<{
|
|
746
|
-
operation: z.ZodLiteral<"
|
|
962
|
+
operation: z.ZodLiteral<"save_attachment">;
|
|
747
963
|
account: z.ZodOptional<z.ZodString>;
|
|
748
|
-
|
|
749
|
-
messageId: z.ZodString;
|
|
750
|
-
fromAddress: z.ZodString;
|
|
751
|
-
toAddress: z.ZodString;
|
|
752
|
-
plaintextHash: z.ZodString;
|
|
753
|
-
plaintext: z.ZodOptional<z.ZodString>;
|
|
754
|
-
replyTo: z.ZodOptional<z.ZodObject<{
|
|
755
|
-
messageId: z.ZodString;
|
|
756
|
-
}, z.core.$strip>>;
|
|
757
|
-
guardAddress: z.ZodOptional<z.ZodString>;
|
|
758
|
-
passportAddress: z.ZodOptional<z.ZodString>;
|
|
759
|
-
lastReceivedLeafIndex: z.ZodOptional<z.ZodNumber>;
|
|
760
|
-
direction: z.ZodEnum<{
|
|
761
|
-
received: "received";
|
|
762
|
-
sent: "sent";
|
|
763
|
-
}>;
|
|
764
|
-
status: z.ZodEnum<{
|
|
765
|
-
failed: "failed";
|
|
766
|
-
confirmed: "confirmed";
|
|
767
|
-
read: "read";
|
|
768
|
-
pending: "pending";
|
|
769
|
-
rejected: "rejected";
|
|
770
|
-
decrypted: "decrypted";
|
|
771
|
-
decrypt_failed: "decrypt_failed";
|
|
772
|
-
}>;
|
|
773
|
-
msgType: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<3>]>;
|
|
774
|
-
leafIndex: z.ZodOptional<z.ZodNumber>;
|
|
775
|
-
prevRoot: z.ZodOptional<z.ZodString>;
|
|
776
|
-
newRoot: z.ZodOptional<z.ZodString>;
|
|
777
|
-
serverSignature: z.ZodOptional<z.ZodString>;
|
|
778
|
-
serverTimestamp: z.ZodOptional<z.ZodNumber>;
|
|
779
|
-
serverPublicKey: z.ZodOptional<z.ZodString>;
|
|
780
|
-
arkConfirmed: z.ZodOptional<z.ZodObject<{
|
|
781
|
-
recipient: z.ZodString;
|
|
782
|
-
recipientPublicKey: z.ZodString;
|
|
783
|
-
signature: z.ZodString;
|
|
784
|
-
timestamp: z.ZodNumber;
|
|
785
|
-
}, z.core.$strip>>;
|
|
786
|
-
createdAt: z.ZodNumber;
|
|
787
|
-
receivedAt: z.ZodOptional<z.ZodNumber>;
|
|
788
|
-
zipMetadata: z.ZodOptional<z.ZodObject<{
|
|
789
|
-
fileName: z.ZodString;
|
|
790
|
-
fileSize: z.ZodNumber;
|
|
791
|
-
fileHash: z.ZodString;
|
|
792
|
-
contentType: z.ZodEnum<{
|
|
793
|
-
text: "text";
|
|
794
|
-
wip: "wip";
|
|
795
|
-
zip: "zip";
|
|
796
|
-
wts: "wts";
|
|
797
|
-
}>;
|
|
798
|
-
localCachePath: z.ZodOptional<z.ZodString>;
|
|
799
|
-
downloadedAt: z.ZodOptional<z.ZodNumber>;
|
|
800
|
-
}, z.core.$strip>>;
|
|
801
|
-
proof: z.ZodOptional<z.ZodString>;
|
|
802
|
-
decryptError: z.ZodOptional<z.ZodString>;
|
|
803
|
-
decryptAttempts: z.ZodOptional<z.ZodNumber>;
|
|
804
|
-
lastDecryptAttemptAt: z.ZodOptional<z.ZodNumber>;
|
|
805
|
-
viewedAt: z.ZodOptional<z.ZodNumber>;
|
|
806
|
-
}, z.core.$strip>]>>;
|
|
964
|
+
messageId: z.ZodString;
|
|
807
965
|
outputDir: z.ZodOptional<z.ZodString>;
|
|
966
|
+
saveAs: z.ZodOptional<z.ZodString>;
|
|
808
967
|
}, z.core.$strict>, z.ZodObject<{
|
|
809
968
|
operation: z.ZodLiteral<"generate_wts">;
|
|
810
969
|
params: z.ZodObject<{
|
|
@@ -1010,6 +1169,9 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
1010
1169
|
operation: z.ZodLiteral<"pull_messages">;
|
|
1011
1170
|
account: z.ZodOptional<z.ZodString>;
|
|
1012
1171
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1172
|
+
allAccounts: z.ZodOptional<z.ZodBoolean>;
|
|
1173
|
+
accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1174
|
+
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
1013
1175
|
}, z.core.$strict>], "operation">;
|
|
1014
1176
|
export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
1015
1177
|
result: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1026,6 +1188,24 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
1026
1188
|
toAddress: z.ZodString;
|
|
1027
1189
|
plaintextHash: z.ZodString;
|
|
1028
1190
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
1191
|
+
attachment: z.ZodOptional<z.ZodObject<{
|
|
1192
|
+
kind: z.ZodEnum<{
|
|
1193
|
+
file: "file";
|
|
1194
|
+
wip: "wip";
|
|
1195
|
+
wts: "wts";
|
|
1196
|
+
image: "image";
|
|
1197
|
+
video: "video";
|
|
1198
|
+
audio: "audio";
|
|
1199
|
+
voice: "voice";
|
|
1200
|
+
}>;
|
|
1201
|
+
fileName: z.ZodString;
|
|
1202
|
+
mimeType: z.ZodString;
|
|
1203
|
+
size: z.ZodNumber;
|
|
1204
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
1205
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1206
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1207
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1208
|
+
}, z.core.$strip>>;
|
|
1029
1209
|
replyTo: z.ZodOptional<z.ZodObject<{
|
|
1030
1210
|
messageId: z.ZodString;
|
|
1031
1211
|
}, z.core.$strip>>;
|
|
@@ -1074,6 +1254,11 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
1074
1254
|
downloadedAt: z.ZodOptional<z.ZodNumber>;
|
|
1075
1255
|
}, z.core.$strip>>;
|
|
1076
1256
|
proof: z.ZodOptional<z.ZodString>;
|
|
1257
|
+
proofs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1258
|
+
address: z.ZodString;
|
|
1259
|
+
network: z.ZodOptional<z.ZodString>;
|
|
1260
|
+
createdAt: z.ZodNumber;
|
|
1261
|
+
}, z.core.$strip>>>;
|
|
1077
1262
|
decryptError: z.ZodOptional<z.ZodString>;
|
|
1078
1263
|
decryptAttempts: z.ZodOptional<z.ZodNumber>;
|
|
1079
1264
|
lastDecryptAttemptAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1084,7 +1269,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
1084
1269
|
operation: z.ZodLiteral<"send_message">;
|
|
1085
1270
|
result: z.ZodObject<{
|
|
1086
1271
|
messageId: z.ZodString;
|
|
1087
|
-
status: z.ZodEnum<{
|
|
1272
|
+
status: z.ZodUnion<[z.ZodEnum<{
|
|
1088
1273
|
failed: "failed";
|
|
1089
1274
|
confirmed: "confirmed";
|
|
1090
1275
|
read: "read";
|
|
@@ -1092,7 +1277,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
1092
1277
|
rejected: "rejected";
|
|
1093
1278
|
decrypted: "decrypted";
|
|
1094
1279
|
decrypt_failed: "decrypt_failed";
|
|
1095
|
-
}>;
|
|
1280
|
+
}>, z.ZodLiteral<"guard_authorization_required">]>;
|
|
1096
1281
|
merkleData: z.ZodOptional<z.ZodObject<{
|
|
1097
1282
|
leafIndex: z.ZodNumber;
|
|
1098
1283
|
prevRoot: z.ZodString;
|
|
@@ -1103,12 +1288,25 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
1103
1288
|
}, z.core.$strip>>;
|
|
1104
1289
|
guardList: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1105
1290
|
lastReceivedLeafIndex: z.ZodOptional<z.ZodNumber>;
|
|
1291
|
+
authRequired: z.ZodOptional<z.ZodBoolean>;
|
|
1292
|
+
network: z.ZodOptional<z.ZodEnum<{
|
|
1293
|
+
testnet: import("@wowok/wowok").ENTRYPOINT.Testnet;
|
|
1294
|
+
localnet: import("@wowok/wowok").ENTRYPOINT.Localnet;
|
|
1295
|
+
mainnet: import("@wowok/wowok").ENTRYPOINT.Mainnet;
|
|
1296
|
+
}>>;
|
|
1297
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
1298
|
+
no_local_passport: "no_local_passport";
|
|
1299
|
+
local_passport_stale: "local_passport_stale";
|
|
1300
|
+
}>>;
|
|
1301
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
1302
|
+
serverError: z.ZodOptional<z.ZodString>;
|
|
1303
|
+
submissions: z.ZodOptional<z.ZodUnknown>;
|
|
1106
1304
|
}, z.core.$strip>;
|
|
1107
1305
|
}, z.core.$strip>, z.ZodObject<{
|
|
1108
1306
|
operation: z.ZodLiteral<"send_file">;
|
|
1109
1307
|
result: z.ZodObject<{
|
|
1110
1308
|
messageId: z.ZodString;
|
|
1111
|
-
status: z.ZodEnum<{
|
|
1309
|
+
status: z.ZodUnion<[z.ZodEnum<{
|
|
1112
1310
|
failed: "failed";
|
|
1113
1311
|
confirmed: "confirmed";
|
|
1114
1312
|
read: "read";
|
|
@@ -1116,7 +1314,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
1116
1314
|
rejected: "rejected";
|
|
1117
1315
|
decrypted: "decrypted";
|
|
1118
1316
|
decrypt_failed: "decrypt_failed";
|
|
1119
|
-
}>;
|
|
1317
|
+
}>, z.ZodLiteral<"guard_authorization_required">]>;
|
|
1120
1318
|
merkleData: z.ZodOptional<z.ZodObject<{
|
|
1121
1319
|
leafIndex: z.ZodNumber;
|
|
1122
1320
|
prevRoot: z.ZodString;
|
|
@@ -1127,12 +1325,25 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
1127
1325
|
}, z.core.$strip>>;
|
|
1128
1326
|
guardList: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1129
1327
|
lastReceivedLeafIndex: z.ZodOptional<z.ZodNumber>;
|
|
1328
|
+
authRequired: z.ZodOptional<z.ZodBoolean>;
|
|
1329
|
+
network: z.ZodOptional<z.ZodEnum<{
|
|
1330
|
+
testnet: import("@wowok/wowok").ENTRYPOINT.Testnet;
|
|
1331
|
+
localnet: import("@wowok/wowok").ENTRYPOINT.Localnet;
|
|
1332
|
+
mainnet: import("@wowok/wowok").ENTRYPOINT.Mainnet;
|
|
1333
|
+
}>>;
|
|
1334
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
1335
|
+
no_local_passport: "no_local_passport";
|
|
1336
|
+
local_passport_stale: "local_passport_stale";
|
|
1337
|
+
}>>;
|
|
1338
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
1339
|
+
serverError: z.ZodOptional<z.ZodString>;
|
|
1340
|
+
submissions: z.ZodOptional<z.ZodUnknown>;
|
|
1130
1341
|
}, z.core.$strip>;
|
|
1131
1342
|
}, z.core.$strip>, z.ZodObject<{
|
|
1132
1343
|
operation: z.ZodLiteral<"send_required_info">;
|
|
1133
1344
|
result: z.ZodObject<{
|
|
1134
1345
|
messageId: z.ZodString;
|
|
1135
|
-
status: z.ZodEnum<{
|
|
1346
|
+
status: z.ZodUnion<[z.ZodEnum<{
|
|
1136
1347
|
failed: "failed";
|
|
1137
1348
|
confirmed: "confirmed";
|
|
1138
1349
|
read: "read";
|
|
@@ -1140,7 +1351,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
1140
1351
|
rejected: "rejected";
|
|
1141
1352
|
decrypted: "decrypted";
|
|
1142
1353
|
decrypt_failed: "decrypt_failed";
|
|
1143
|
-
}>;
|
|
1354
|
+
}>, z.ZodLiteral<"guard_authorization_required">]>;
|
|
1144
1355
|
merkleData: z.ZodOptional<z.ZodObject<{
|
|
1145
1356
|
leafIndex: z.ZodNumber;
|
|
1146
1357
|
prevRoot: z.ZodString;
|
|
@@ -1151,6 +1362,19 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
1151
1362
|
}, z.core.$strip>>;
|
|
1152
1363
|
guardList: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1153
1364
|
lastReceivedLeafIndex: z.ZodOptional<z.ZodNumber>;
|
|
1365
|
+
authRequired: z.ZodOptional<z.ZodBoolean>;
|
|
1366
|
+
network: z.ZodOptional<z.ZodEnum<{
|
|
1367
|
+
testnet: import("@wowok/wowok").ENTRYPOINT.Testnet;
|
|
1368
|
+
localnet: import("@wowok/wowok").ENTRYPOINT.Localnet;
|
|
1369
|
+
mainnet: import("@wowok/wowok").ENTRYPOINT.Mainnet;
|
|
1370
|
+
}>>;
|
|
1371
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
1372
|
+
no_local_passport: "no_local_passport";
|
|
1373
|
+
local_passport_stale: "local_passport_stale";
|
|
1374
|
+
}>>;
|
|
1375
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
1376
|
+
serverError: z.ZodOptional<z.ZodString>;
|
|
1377
|
+
submissions: z.ZodOptional<z.ZodUnknown>;
|
|
1154
1378
|
sent_fields: z.ZodArray<z.ZodString>;
|
|
1155
1379
|
}, z.core.$strip>;
|
|
1156
1380
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1161,6 +1385,24 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
1161
1385
|
toAddress: z.ZodString;
|
|
1162
1386
|
plaintextHash: z.ZodString;
|
|
1163
1387
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
1388
|
+
attachment: z.ZodOptional<z.ZodObject<{
|
|
1389
|
+
kind: z.ZodEnum<{
|
|
1390
|
+
file: "file";
|
|
1391
|
+
wip: "wip";
|
|
1392
|
+
wts: "wts";
|
|
1393
|
+
image: "image";
|
|
1394
|
+
video: "video";
|
|
1395
|
+
audio: "audio";
|
|
1396
|
+
voice: "voice";
|
|
1397
|
+
}>;
|
|
1398
|
+
fileName: z.ZodString;
|
|
1399
|
+
mimeType: z.ZodString;
|
|
1400
|
+
size: z.ZodNumber;
|
|
1401
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
1402
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1403
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1404
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1405
|
+
}, z.core.$strip>>;
|
|
1164
1406
|
replyTo: z.ZodOptional<z.ZodObject<{
|
|
1165
1407
|
messageId: z.ZodString;
|
|
1166
1408
|
}, z.core.$strip>>;
|
|
@@ -1209,14 +1451,19 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
1209
1451
|
downloadedAt: z.ZodOptional<z.ZodNumber>;
|
|
1210
1452
|
}, z.core.$strip>>;
|
|
1211
1453
|
proof: z.ZodOptional<z.ZodString>;
|
|
1454
|
+
proofs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1455
|
+
address: z.ZodString;
|
|
1456
|
+
network: z.ZodOptional<z.ZodString>;
|
|
1457
|
+
createdAt: z.ZodNumber;
|
|
1458
|
+
}, z.core.$strip>>>;
|
|
1212
1459
|
decryptError: z.ZodOptional<z.ZodString>;
|
|
1213
1460
|
decryptAttempts: z.ZodOptional<z.ZodNumber>;
|
|
1214
1461
|
lastDecryptAttemptAt: z.ZodOptional<z.ZodNumber>;
|
|
1215
1462
|
viewedAt: z.ZodOptional<z.ZodNumber>;
|
|
1216
1463
|
}, z.core.$strip>>;
|
|
1217
1464
|
}, z.core.$strip>, z.ZodObject<{
|
|
1218
|
-
operation: z.ZodLiteral<"
|
|
1219
|
-
result: z.
|
|
1465
|
+
operation: z.ZodLiteral<"save_attachment">;
|
|
1466
|
+
result: z.ZodString;
|
|
1220
1467
|
}, z.core.$strip>, z.ZodObject<{
|
|
1221
1468
|
operation: z.ZodLiteral<"generate_wts">;
|
|
1222
1469
|
result: z.ZodObject<{
|
|
@@ -1353,12 +1600,30 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
1353
1600
|
result: z.ZodNumber;
|
|
1354
1601
|
}, z.core.$strip>, z.ZodObject<{
|
|
1355
1602
|
operation: z.ZodLiteral<"pull_messages">;
|
|
1356
|
-
result: z.ZodArray<z.ZodObject<{
|
|
1603
|
+
result: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
1357
1604
|
messageId: z.ZodString;
|
|
1358
1605
|
fromAddress: z.ZodString;
|
|
1359
1606
|
toAddress: z.ZodString;
|
|
1360
1607
|
plaintextHash: z.ZodString;
|
|
1361
1608
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
1609
|
+
attachment: z.ZodOptional<z.ZodObject<{
|
|
1610
|
+
kind: z.ZodEnum<{
|
|
1611
|
+
file: "file";
|
|
1612
|
+
wip: "wip";
|
|
1613
|
+
wts: "wts";
|
|
1614
|
+
image: "image";
|
|
1615
|
+
video: "video";
|
|
1616
|
+
audio: "audio";
|
|
1617
|
+
voice: "voice";
|
|
1618
|
+
}>;
|
|
1619
|
+
fileName: z.ZodString;
|
|
1620
|
+
mimeType: z.ZodString;
|
|
1621
|
+
size: z.ZodNumber;
|
|
1622
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
1623
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1624
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1625
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1626
|
+
}, z.core.$strip>>;
|
|
1362
1627
|
replyTo: z.ZodOptional<z.ZodObject<{
|
|
1363
1628
|
messageId: z.ZodString;
|
|
1364
1629
|
}, z.core.$strip>>;
|
|
@@ -1407,11 +1672,102 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
1407
1672
|
downloadedAt: z.ZodOptional<z.ZodNumber>;
|
|
1408
1673
|
}, z.core.$strip>>;
|
|
1409
1674
|
proof: z.ZodOptional<z.ZodString>;
|
|
1675
|
+
proofs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1676
|
+
address: z.ZodString;
|
|
1677
|
+
network: z.ZodOptional<z.ZodString>;
|
|
1678
|
+
createdAt: z.ZodNumber;
|
|
1679
|
+
}, z.core.$strip>>>;
|
|
1410
1680
|
decryptError: z.ZodOptional<z.ZodString>;
|
|
1411
1681
|
decryptAttempts: z.ZodOptional<z.ZodNumber>;
|
|
1412
1682
|
lastDecryptAttemptAt: z.ZodOptional<z.ZodNumber>;
|
|
1413
1683
|
viewedAt: z.ZodOptional<z.ZodNumber>;
|
|
1414
|
-
}, z.core.$strip
|
|
1684
|
+
}, z.core.$strip>>, z.ZodArray<z.ZodObject<{
|
|
1685
|
+
account: z.ZodString;
|
|
1686
|
+
pulled: z.ZodNumber;
|
|
1687
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
1688
|
+
messageId: z.ZodString;
|
|
1689
|
+
fromAddress: z.ZodString;
|
|
1690
|
+
toAddress: z.ZodString;
|
|
1691
|
+
plaintextHash: z.ZodString;
|
|
1692
|
+
plaintext: z.ZodOptional<z.ZodString>;
|
|
1693
|
+
attachment: z.ZodOptional<z.ZodObject<{
|
|
1694
|
+
kind: z.ZodEnum<{
|
|
1695
|
+
file: "file";
|
|
1696
|
+
wip: "wip";
|
|
1697
|
+
wts: "wts";
|
|
1698
|
+
image: "image";
|
|
1699
|
+
video: "video";
|
|
1700
|
+
audio: "audio";
|
|
1701
|
+
voice: "voice";
|
|
1702
|
+
}>;
|
|
1703
|
+
fileName: z.ZodString;
|
|
1704
|
+
mimeType: z.ZodString;
|
|
1705
|
+
size: z.ZodNumber;
|
|
1706
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
1707
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1708
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1709
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1710
|
+
}, z.core.$strip>>;
|
|
1711
|
+
replyTo: z.ZodOptional<z.ZodObject<{
|
|
1712
|
+
messageId: z.ZodString;
|
|
1713
|
+
}, z.core.$strip>>;
|
|
1714
|
+
guardAddress: z.ZodOptional<z.ZodString>;
|
|
1715
|
+
passportAddress: z.ZodOptional<z.ZodString>;
|
|
1716
|
+
lastReceivedLeafIndex: z.ZodOptional<z.ZodNumber>;
|
|
1717
|
+
direction: z.ZodEnum<{
|
|
1718
|
+
received: "received";
|
|
1719
|
+
sent: "sent";
|
|
1720
|
+
}>;
|
|
1721
|
+
status: z.ZodEnum<{
|
|
1722
|
+
failed: "failed";
|
|
1723
|
+
confirmed: "confirmed";
|
|
1724
|
+
read: "read";
|
|
1725
|
+
pending: "pending";
|
|
1726
|
+
rejected: "rejected";
|
|
1727
|
+
decrypted: "decrypted";
|
|
1728
|
+
decrypt_failed: "decrypt_failed";
|
|
1729
|
+
}>;
|
|
1730
|
+
msgType: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<3>]>;
|
|
1731
|
+
leafIndex: z.ZodOptional<z.ZodNumber>;
|
|
1732
|
+
prevRoot: z.ZodOptional<z.ZodString>;
|
|
1733
|
+
newRoot: z.ZodOptional<z.ZodString>;
|
|
1734
|
+
serverSignature: z.ZodOptional<z.ZodString>;
|
|
1735
|
+
serverTimestamp: z.ZodOptional<z.ZodNumber>;
|
|
1736
|
+
serverPublicKey: z.ZodOptional<z.ZodString>;
|
|
1737
|
+
arkConfirmed: z.ZodOptional<z.ZodObject<{
|
|
1738
|
+
recipient: z.ZodString;
|
|
1739
|
+
recipientPublicKey: z.ZodString;
|
|
1740
|
+
signature: z.ZodString;
|
|
1741
|
+
timestamp: z.ZodNumber;
|
|
1742
|
+
}, z.core.$strip>>;
|
|
1743
|
+
createdAt: z.ZodNumber;
|
|
1744
|
+
receivedAt: z.ZodOptional<z.ZodNumber>;
|
|
1745
|
+
zipMetadata: z.ZodOptional<z.ZodObject<{
|
|
1746
|
+
fileName: z.ZodString;
|
|
1747
|
+
fileSize: z.ZodNumber;
|
|
1748
|
+
fileHash: z.ZodString;
|
|
1749
|
+
contentType: z.ZodEnum<{
|
|
1750
|
+
text: "text";
|
|
1751
|
+
wip: "wip";
|
|
1752
|
+
zip: "zip";
|
|
1753
|
+
wts: "wts";
|
|
1754
|
+
}>;
|
|
1755
|
+
localCachePath: z.ZodOptional<z.ZodString>;
|
|
1756
|
+
downloadedAt: z.ZodOptional<z.ZodNumber>;
|
|
1757
|
+
}, z.core.$strip>>;
|
|
1758
|
+
proof: z.ZodOptional<z.ZodString>;
|
|
1759
|
+
proofs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1760
|
+
address: z.ZodString;
|
|
1761
|
+
network: z.ZodOptional<z.ZodString>;
|
|
1762
|
+
createdAt: z.ZodNumber;
|
|
1763
|
+
}, z.core.$strip>>>;
|
|
1764
|
+
decryptError: z.ZodOptional<z.ZodString>;
|
|
1765
|
+
decryptAttempts: z.ZodOptional<z.ZodNumber>;
|
|
1766
|
+
lastDecryptAttemptAt: z.ZodOptional<z.ZodNumber>;
|
|
1767
|
+
viewedAt: z.ZodOptional<z.ZodNumber>;
|
|
1768
|
+
}, z.core.$strip>>;
|
|
1769
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1770
|
+
}, z.core.$strip>>]>;
|
|
1415
1771
|
}, z.core.$strip>, z.ZodObject<{
|
|
1416
1772
|
operation: z.ZodLiteral<"error">;
|
|
1417
1773
|
error: z.ZodString;
|