@wowok/agent-mcp 3.3.7 → 3.3.8
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/chain-semantics/fund-flow.js +1 -1
- package/dist/chain-semantics/guard-verbs.js +1 -1
- package/dist/chain-semantics/object-graph.js +1 -1
- package/dist/communication/message-cursors.d.ts +35 -0
- package/dist/communication/message-cursors.js +1 -0
- package/dist/communication/wts-attestation.d.ts +5 -0
- package/dist/communication/wts-attestation.js +1 -1
- package/dist/composition/audit.js +1 -1
- package/dist/composition/compile.d.ts +2 -2
- package/dist/composition/compile.js +1 -1
- package/dist/composition/inflight.d.ts +7 -0
- package/dist/composition/inflight.js +1 -1
- package/dist/composition/materialize.d.ts +4 -1
- package/dist/composition/materialize.js +1 -1
- package/dist/config/index.d.ts +1 -0
- package/dist/config/index.js +1 -1
- package/dist/config/store-policy.d.ts +14 -0
- package/dist/config/store-policy.js +1 -0
- package/dist/config/store-policy.spec.d.ts +1 -0
- package/dist/config/store-policy.spec.js +1 -0
- package/dist/customer/industry-risks.js +1 -1
- package/dist/customer/user-preferences.js +1 -1
- package/dist/evaluation/builtins/graph-service.spec.js +1 -1
- package/dist/evaluation/engine.js +1 -1
- package/dist/experience/realtime-feedback.js +1 -1
- package/dist/extensions/business-modules.d.ts +1 -1
- package/dist/extensions/business-modules.js +1 -1
- package/dist/extensions/industry-pack.js +1 -1
- package/dist/extensions/modes.js +1 -1
- package/dist/graph/onchain/analyze.js +1 -1
- package/dist/graph/onchain/expand.js +1 -1
- package/dist/graph/onchain/exposure.js +1 -1
- package/dist/graph/onchain/facts.d.ts +1 -0
- package/dist/graph/onchain/facts.js +1 -1
- package/dist/graph/onchain/facts.spec.js +1 -1
- package/dist/harness/recover.js +1 -1
- package/dist/knowledge/acquisition-flywheel.js +1 -1
- package/dist/knowledge/allocation-ledger.d.ts +1 -0
- package/dist/knowledge/allocation-ledger.js +1 -1
- package/dist/knowledge/allocator-rail-verifier.d.ts +6 -2
- package/dist/knowledge/allocator-rail-verifier.js +1 -1
- package/dist/knowledge/arbitration-ledger.js +1 -1
- package/dist/knowledge/audit-rules.d.ts +37 -0
- package/dist/knowledge/audit-rules.js +1 -1
- package/dist/knowledge/baselines/rules/plan.json +32 -2
- package/dist/knowledge/builtin-templates.d.ts +13 -1
- package/dist/knowledge/builtin-templates.js +1 -1
- package/dist/knowledge/commission-landing.d.ts +26 -0
- package/dist/knowledge/commission-landing.js +1 -0
- package/dist/knowledge/discount-threshold.js +1 -1
- package/dist/knowledge/fund-layer.d.ts +7 -0
- package/dist/knowledge/fund-layer.js +1 -1
- package/dist/knowledge/getting-started.js +1 -1
- package/dist/knowledge/guard-design-patterns.d.ts +1 -1
- package/dist/knowledge/guard-design-patterns.js +1 -1
- package/dist/knowledge/guard-puzzle.js +1 -1
- package/dist/knowledge/guard-render.d.ts +7 -0
- package/dist/knowledge/guard-render.js +1 -1
- package/dist/knowledge/guard-risk.js +1 -1
- package/dist/knowledge/guard-templates.d.ts +1 -1
- package/dist/knowledge/guard-templates.js +1 -1
- package/dist/knowledge/guard-translation.js +1 -1
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-generalizer.js +1 -1
- package/dist/knowledge/industry-registry.d.ts +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/industry-strategy.js +1 -1
- package/dist/knowledge/jsonrpc-enum.js +1 -1
- package/dist/knowledge/machine-fork-watch.d.ts +9 -0
- package/dist/knowledge/machine-fork-watch.js +1 -0
- package/dist/knowledge/migration-preflight.js +1 -1
- package/dist/knowledge/projection.spec.js +1 -1
- package/dist/knowledge/scenario-modes.d.ts +8 -2
- package/dist/knowledge/scenario-modes.js +1 -1
- package/dist/knowledge/semantic-ir.d.ts +24 -5
- package/dist/knowledge/semantic-ir.js +1 -1
- package/dist/knowledge/service-ledger.js +1 -1
- package/dist/knowledge/strategy-manuals.js +1 -1
- package/dist/knowledge/template-index.js +1 -1
- package/dist/knowledge/template-loader.d.ts +11 -0
- package/dist/knowledge/template-loader.js +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/template-scanner.d.ts +4 -2
- package/dist/knowledge/template-scanner.js +1 -1
- package/dist/knowledge/template-validation.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/machine-panorama.js +1 -1
- package/dist/playbooks/service-build/merchant-guide.d.ts +12 -6
- package/dist/playbooks/service-build/merchant-guide.js +1 -1
- package/dist/playbooks/service-build/migration-planner.d.ts +10 -2
- package/dist/playbooks/service-build/migration-planner.js +1 -1
- package/dist/playbooks/service-build/mode-actions.d.ts +1 -0
- package/dist/playbooks/service-build/mode-actions.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/relationship-profile.js +1 -1
- package/dist/playbooks/service-build/service-panorama.js +1 -1
- package/dist/playbooks/service-build/service-quote.js +1 -1
- package/dist/playbooks/service-build/service-quote.spec.js +1 -1
- package/dist/review/index.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/benchmark-migration/index.d.ts +72 -1
- package/dist/schema/benchmark-migration/index.js +1 -1
- package/dist/schema/call/allocation.d.ts +3 -0
- package/dist/schema/call/allocation.js +1 -1
- package/dist/schema/call/base.d.ts +24 -0
- package/dist/schema/call/bridge.d.ts +6 -0
- package/dist/schema/call/error-codes.d.ts +1 -1
- package/dist/schema/call/error-codes.js +1 -1
- package/dist/schema/call/order.js +1 -1
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/config/index.d.ts +24 -0
- package/dist/schema/config/index.js +1 -1
- package/dist/schema/goal/index.d.ts +14 -0
- package/dist/schema/goal/planning.d.ts +26 -0
- package/dist/schema/goal/planning.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +9 -1
- package/dist/schema/industry-pack/modes.d.ts +9 -1
- package/dist/schema/industry-pack/modes.js +1 -1
- package/dist/schema/local/index.d.ts +60 -0
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/messenger/index.d.ts +278 -1
- package/dist/schema/messenger/index.js +1 -1
- package/dist/schema/operations.d.ts +1 -0
- package/dist/schema/query/bi.d.ts +38 -0
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +3 -0
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/service-clone/index.d.ts +17 -0
- package/dist/schema/service-clone/index.js +1 -1
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.output.json +6 -0
- package/dist/schemas/benchmark_migration_operation.output.json +254 -2
- package/dist/schemas/benchmark_migration_operation.schema.json +87 -5
- package/dist/schemas/bridge_operation.output.json +6 -0
- package/dist/schemas/config_operation.output.json +95 -0
- package/dist/schemas/config_operation.schema.json +16 -1
- package/dist/schemas/goal_operation.schema.json +22 -0
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/industry_pack_operation.output.json +4 -0
- package/dist/schemas/industry_pack_operation.schema.json +40 -3
- package/dist/schemas/local_cache_operation.output.json +6 -0
- package/dist/schemas/local_history_operation.output.json +6 -0
- package/dist/schemas/local_info_operation.output.json +6 -0
- package/dist/schemas/local_mark_operation.output.json +6 -0
- package/dist/schemas/messenger_operation.output.json +609 -1
- package/dist/schemas/messenger_operation.schema.json +96 -1
- package/dist/schemas/onchain_operations.output.json +6 -0
- package/dist/schemas/onchain_operations.schema.json +334 -7
- package/dist/schemas/onchain_operations_allocation.schema.json +10 -1
- package/dist/schemas/onchain_operations_guard.schema.json +318 -0
- package/dist/schemas/onchain_operations_order.schema.json +1 -1
- package/dist/schemas/onchain_operations_service.schema.json +5 -5
- package/dist/schemas/query_toolkit.output.json +271 -8
- package/dist/schemas/service_clone_operation.output.json +79 -0
- package/dist/tools/handlers/benchmark-migration.d.ts +14 -0
- package/dist/tools/handlers/benchmark-migration.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/messenger.js +1 -1
- package/dist/tools/handlers/onchain.d.ts +19 -1
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/query.d.ts +1 -0
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/service-clone.d.ts +18 -0
- package/dist/tools/handlers/service-clone.js +1 -1
- package/dist/tools/registry/business.js +1 -1
- package/dist/tools/wrap.js +1 -1
- package/package.json +2 -2
|
@@ -246,6 +246,131 @@ export declare const PullAccountResultSchema: z.ZodObject<{
|
|
|
246
246
|
}, z.core.$strip>>;
|
|
247
247
|
error: z.ZodOptional<z.ZodString>;
|
|
248
248
|
}, z.core.$strip>;
|
|
249
|
+
export declare const ReadReceiptSchema: z.ZodObject<{
|
|
250
|
+
account: z.ZodString;
|
|
251
|
+
peer: z.ZodString;
|
|
252
|
+
read_through_seq: z.ZodNullable<z.ZodNumber>;
|
|
253
|
+
read_at: z.ZodNullable<z.ZodNumber>;
|
|
254
|
+
peer_read_through_seq: z.ZodNull;
|
|
255
|
+
peer_receipt_available: z.ZodLiteral<false>;
|
|
256
|
+
scope: z.ZodLiteral<"local-session">;
|
|
257
|
+
disclosure: z.ZodString;
|
|
258
|
+
}, z.core.$strip>;
|
|
259
|
+
export declare const MessageGapSchema: z.ZodObject<{
|
|
260
|
+
from_seq: z.ZodNumber;
|
|
261
|
+
to_seq: z.ZodNumber;
|
|
262
|
+
missing_count: z.ZodNumber;
|
|
263
|
+
reason: z.ZodString;
|
|
264
|
+
}, z.core.$strip>;
|
|
265
|
+
export declare const IncrementalMessagesResultSchema: z.ZodObject<{
|
|
266
|
+
mode: z.ZodLiteral<"incremental">;
|
|
267
|
+
account: z.ZodString;
|
|
268
|
+
peer: z.ZodString;
|
|
269
|
+
after: z.ZodNumber;
|
|
270
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
271
|
+
messageId: z.ZodString;
|
|
272
|
+
fromAddress: z.ZodString;
|
|
273
|
+
toAddress: z.ZodString;
|
|
274
|
+
plaintextHash: z.ZodString;
|
|
275
|
+
plaintext: z.ZodOptional<z.ZodString>;
|
|
276
|
+
attachment: z.ZodOptional<z.ZodObject<{
|
|
277
|
+
kind: z.ZodEnum<{
|
|
278
|
+
file: "file";
|
|
279
|
+
wip: "wip";
|
|
280
|
+
wts: "wts";
|
|
281
|
+
image: "image";
|
|
282
|
+
video: "video";
|
|
283
|
+
audio: "audio";
|
|
284
|
+
voice: "voice";
|
|
285
|
+
}>;
|
|
286
|
+
fileName: z.ZodString;
|
|
287
|
+
mimeType: z.ZodString;
|
|
288
|
+
size: z.ZodNumber;
|
|
289
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
290
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
291
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
292
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
293
|
+
}, z.core.$strip>>;
|
|
294
|
+
replyTo: z.ZodOptional<z.ZodObject<{
|
|
295
|
+
messageId: z.ZodString;
|
|
296
|
+
}, z.core.$strip>>;
|
|
297
|
+
guardAddress: z.ZodOptional<z.ZodString>;
|
|
298
|
+
passportAddress: z.ZodOptional<z.ZodString>;
|
|
299
|
+
lastReceivedLeafIndex: z.ZodOptional<z.ZodNumber>;
|
|
300
|
+
direction: z.ZodEnum<{
|
|
301
|
+
received: "received";
|
|
302
|
+
sent: "sent";
|
|
303
|
+
}>;
|
|
304
|
+
status: z.ZodEnum<{
|
|
305
|
+
failed: "failed";
|
|
306
|
+
confirmed: "confirmed";
|
|
307
|
+
rejected: "rejected";
|
|
308
|
+
read: "read";
|
|
309
|
+
pending: "pending";
|
|
310
|
+
decrypted: "decrypted";
|
|
311
|
+
decrypt_failed: "decrypt_failed";
|
|
312
|
+
}>;
|
|
313
|
+
msgType: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<3>]>;
|
|
314
|
+
leafIndex: z.ZodOptional<z.ZodNumber>;
|
|
315
|
+
prevRoot: z.ZodOptional<z.ZodString>;
|
|
316
|
+
newRoot: z.ZodOptional<z.ZodString>;
|
|
317
|
+
serverSignature: z.ZodOptional<z.ZodString>;
|
|
318
|
+
serverTimestamp: z.ZodOptional<z.ZodNumber>;
|
|
319
|
+
serverPublicKey: z.ZodOptional<z.ZodString>;
|
|
320
|
+
arkConfirmed: z.ZodOptional<z.ZodObject<{
|
|
321
|
+
recipient: z.ZodString;
|
|
322
|
+
recipientPublicKey: z.ZodString;
|
|
323
|
+
signature: z.ZodString;
|
|
324
|
+
timestamp: z.ZodNumber;
|
|
325
|
+
}, z.core.$strip>>;
|
|
326
|
+
createdAt: z.ZodNumber;
|
|
327
|
+
receivedAt: z.ZodOptional<z.ZodNumber>;
|
|
328
|
+
zipMetadata: z.ZodOptional<z.ZodObject<{
|
|
329
|
+
fileName: z.ZodString;
|
|
330
|
+
fileSize: z.ZodNumber;
|
|
331
|
+
fileHash: z.ZodString;
|
|
332
|
+
contentType: z.ZodEnum<{
|
|
333
|
+
text: "text";
|
|
334
|
+
wip: "wip";
|
|
335
|
+
zip: "zip";
|
|
336
|
+
wts: "wts";
|
|
337
|
+
}>;
|
|
338
|
+
localCachePath: z.ZodOptional<z.ZodString>;
|
|
339
|
+
downloadedAt: z.ZodOptional<z.ZodNumber>;
|
|
340
|
+
}, z.core.$strip>>;
|
|
341
|
+
proof: z.ZodOptional<z.ZodString>;
|
|
342
|
+
proofs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
343
|
+
address: z.ZodString;
|
|
344
|
+
network: z.ZodOptional<z.ZodString>;
|
|
345
|
+
createdAt: z.ZodNumber;
|
|
346
|
+
}, z.core.$strip>>>;
|
|
347
|
+
decryptError: z.ZodOptional<z.ZodString>;
|
|
348
|
+
decryptAttempts: z.ZodOptional<z.ZodNumber>;
|
|
349
|
+
lastDecryptAttemptAt: z.ZodOptional<z.ZodNumber>;
|
|
350
|
+
viewedAt: z.ZodOptional<z.ZodNumber>;
|
|
351
|
+
}, z.core.$strip>>;
|
|
352
|
+
highest_seq: z.ZodNullable<z.ZodNumber>;
|
|
353
|
+
latest_seq: z.ZodNullable<z.ZodNumber>;
|
|
354
|
+
has_more: z.ZodBoolean;
|
|
355
|
+
gap: z.ZodNullable<z.ZodObject<{
|
|
356
|
+
from_seq: z.ZodNumber;
|
|
357
|
+
to_seq: z.ZodNumber;
|
|
358
|
+
missing_count: z.ZodNumber;
|
|
359
|
+
reason: z.ZodString;
|
|
360
|
+
}, z.core.$strip>>;
|
|
361
|
+
degraded: z.ZodBoolean;
|
|
362
|
+
degraded_reasons: z.ZodArray<z.ZodString>;
|
|
363
|
+
read_receipt: z.ZodObject<{
|
|
364
|
+
account: z.ZodString;
|
|
365
|
+
peer: z.ZodString;
|
|
366
|
+
read_through_seq: z.ZodNullable<z.ZodNumber>;
|
|
367
|
+
read_at: z.ZodNullable<z.ZodNumber>;
|
|
368
|
+
peer_read_through_seq: z.ZodNull;
|
|
369
|
+
peer_receipt_available: z.ZodLiteral<false>;
|
|
370
|
+
scope: z.ZodLiteral<"local-session">;
|
|
371
|
+
disclosure: z.ZodString;
|
|
372
|
+
}, z.core.$strip>;
|
|
373
|
+
}, z.core.$strip>;
|
|
249
374
|
export declare const ConversationInfoSchema: z.ZodObject<{
|
|
250
375
|
peerAddress: z.ZodString;
|
|
251
376
|
lastMessageAt: z.ZodNumber;
|
|
@@ -594,6 +719,8 @@ export declare const WtsFileResultSchema: z.ZodObject<{
|
|
|
594
719
|
start: z.ZodNumber;
|
|
595
720
|
end: z.ZodNumber;
|
|
596
721
|
}, z.core.$strip>;
|
|
722
|
+
sealed_available: z.ZodNullable<z.ZodBoolean>;
|
|
723
|
+
sealed_available_note: z.ZodNullable<z.ZodString>;
|
|
597
724
|
}, z.core.$strip>;
|
|
598
725
|
export declare const WtsSignatureVerificationSchema: z.ZodObject<{
|
|
599
726
|
publicKey: z.ZodString;
|
|
@@ -1285,6 +1412,23 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
1285
1412
|
name_or_address: z.ZodOptional<z.ZodString>;
|
|
1286
1413
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
1287
1414
|
}, z.core.$strict>]>;
|
|
1415
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1416
|
+
operation: z.ZodLiteral<"mark_conversation_read">;
|
|
1417
|
+
account: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
1418
|
+
name_or_address: string;
|
|
1419
|
+
local_mark_first: boolean;
|
|
1420
|
+
}, string>>, z.ZodObject<{
|
|
1421
|
+
name_or_address: z.ZodOptional<z.ZodString>;
|
|
1422
|
+
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
1423
|
+
}, z.core.$strict>]>>;
|
|
1424
|
+
peerAddress: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
1425
|
+
name_or_address: string;
|
|
1426
|
+
local_mark_first: boolean;
|
|
1427
|
+
}, string>>, z.ZodObject<{
|
|
1428
|
+
name_or_address: z.ZodOptional<z.ZodString>;
|
|
1429
|
+
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
1430
|
+
}, z.core.$strict>]>;
|
|
1431
|
+
through_seq: z.ZodOptional<z.ZodNumber>;
|
|
1288
1432
|
}, z.core.$strict>, z.ZodObject<{
|
|
1289
1433
|
operation: z.ZodLiteral<"pull_messages">;
|
|
1290
1434
|
account: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
@@ -1304,6 +1448,14 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
1304
1448
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
1305
1449
|
}, z.core.$strict>]>>>;
|
|
1306
1450
|
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
1451
|
+
peerAddress: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
1452
|
+
name_or_address: string;
|
|
1453
|
+
local_mark_first: boolean;
|
|
1454
|
+
}, string>>, z.ZodObject<{
|
|
1455
|
+
name_or_address: z.ZodOptional<z.ZodString>;
|
|
1456
|
+
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
1457
|
+
}, z.core.$strict>]>>;
|
|
1458
|
+
after: z.ZodOptional<z.ZodNumber>;
|
|
1307
1459
|
}, z.core.$strict>], "operation">;
|
|
1308
1460
|
export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
1309
1461
|
result: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1606,6 +1758,8 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
1606
1758
|
start: z.ZodNumber;
|
|
1607
1759
|
end: z.ZodNumber;
|
|
1608
1760
|
}, z.core.$strip>;
|
|
1761
|
+
sealed_available: z.ZodNullable<z.ZodBoolean>;
|
|
1762
|
+
sealed_available_note: z.ZodNullable<z.ZodString>;
|
|
1609
1763
|
}, z.core.$strip>;
|
|
1610
1764
|
}, z.core.$strip>, z.ZodObject<{
|
|
1611
1765
|
operation: z.ZodLiteral<"verify_wts">;
|
|
@@ -1742,6 +1896,21 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
1742
1896
|
}, z.core.$strip>, z.ZodObject<{
|
|
1743
1897
|
operation: z.ZodLiteral<"mark_conversation_as_viewed">;
|
|
1744
1898
|
result: z.ZodNumber;
|
|
1899
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1900
|
+
operation: z.ZodLiteral<"mark_conversation_read">;
|
|
1901
|
+
result: z.ZodObject<{
|
|
1902
|
+
account: z.ZodString;
|
|
1903
|
+
peer: z.ZodString;
|
|
1904
|
+
read_through_seq: z.ZodNullable<z.ZodNumber>;
|
|
1905
|
+
read_at: z.ZodNullable<z.ZodNumber>;
|
|
1906
|
+
peer_read_through_seq: z.ZodNull;
|
|
1907
|
+
peer_receipt_available: z.ZodLiteral<false>;
|
|
1908
|
+
scope: z.ZodLiteral<"local-session">;
|
|
1909
|
+
disclosure: z.ZodString;
|
|
1910
|
+
marked_count: z.ZodNumber;
|
|
1911
|
+
capped: z.ZodBoolean;
|
|
1912
|
+
requested_through_seq: z.ZodNullable<z.ZodNumber>;
|
|
1913
|
+
}, z.core.$strip>;
|
|
1745
1914
|
}, z.core.$strip>, z.ZodObject<{
|
|
1746
1915
|
operation: z.ZodLiteral<"pull_messages">;
|
|
1747
1916
|
result: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
@@ -1911,7 +2080,115 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
1911
2080
|
viewedAt: z.ZodOptional<z.ZodNumber>;
|
|
1912
2081
|
}, z.core.$strip>>;
|
|
1913
2082
|
error: z.ZodOptional<z.ZodString>;
|
|
1914
|
-
}, z.core.$strip
|
|
2083
|
+
}, z.core.$strip>>, z.ZodObject<{
|
|
2084
|
+
mode: z.ZodLiteral<"incremental">;
|
|
2085
|
+
account: z.ZodString;
|
|
2086
|
+
peer: z.ZodString;
|
|
2087
|
+
after: z.ZodNumber;
|
|
2088
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
2089
|
+
messageId: z.ZodString;
|
|
2090
|
+
fromAddress: z.ZodString;
|
|
2091
|
+
toAddress: z.ZodString;
|
|
2092
|
+
plaintextHash: z.ZodString;
|
|
2093
|
+
plaintext: z.ZodOptional<z.ZodString>;
|
|
2094
|
+
attachment: z.ZodOptional<z.ZodObject<{
|
|
2095
|
+
kind: z.ZodEnum<{
|
|
2096
|
+
file: "file";
|
|
2097
|
+
wip: "wip";
|
|
2098
|
+
wts: "wts";
|
|
2099
|
+
image: "image";
|
|
2100
|
+
video: "video";
|
|
2101
|
+
audio: "audio";
|
|
2102
|
+
voice: "voice";
|
|
2103
|
+
}>;
|
|
2104
|
+
fileName: z.ZodString;
|
|
2105
|
+
mimeType: z.ZodString;
|
|
2106
|
+
size: z.ZodNumber;
|
|
2107
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
2108
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
2109
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2110
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2111
|
+
}, z.core.$strip>>;
|
|
2112
|
+
replyTo: z.ZodOptional<z.ZodObject<{
|
|
2113
|
+
messageId: z.ZodString;
|
|
2114
|
+
}, z.core.$strip>>;
|
|
2115
|
+
guardAddress: z.ZodOptional<z.ZodString>;
|
|
2116
|
+
passportAddress: z.ZodOptional<z.ZodString>;
|
|
2117
|
+
lastReceivedLeafIndex: z.ZodOptional<z.ZodNumber>;
|
|
2118
|
+
direction: z.ZodEnum<{
|
|
2119
|
+
received: "received";
|
|
2120
|
+
sent: "sent";
|
|
2121
|
+
}>;
|
|
2122
|
+
status: z.ZodEnum<{
|
|
2123
|
+
failed: "failed";
|
|
2124
|
+
confirmed: "confirmed";
|
|
2125
|
+
rejected: "rejected";
|
|
2126
|
+
read: "read";
|
|
2127
|
+
pending: "pending";
|
|
2128
|
+
decrypted: "decrypted";
|
|
2129
|
+
decrypt_failed: "decrypt_failed";
|
|
2130
|
+
}>;
|
|
2131
|
+
msgType: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<3>]>;
|
|
2132
|
+
leafIndex: z.ZodOptional<z.ZodNumber>;
|
|
2133
|
+
prevRoot: z.ZodOptional<z.ZodString>;
|
|
2134
|
+
newRoot: z.ZodOptional<z.ZodString>;
|
|
2135
|
+
serverSignature: z.ZodOptional<z.ZodString>;
|
|
2136
|
+
serverTimestamp: z.ZodOptional<z.ZodNumber>;
|
|
2137
|
+
serverPublicKey: z.ZodOptional<z.ZodString>;
|
|
2138
|
+
arkConfirmed: z.ZodOptional<z.ZodObject<{
|
|
2139
|
+
recipient: z.ZodString;
|
|
2140
|
+
recipientPublicKey: z.ZodString;
|
|
2141
|
+
signature: z.ZodString;
|
|
2142
|
+
timestamp: z.ZodNumber;
|
|
2143
|
+
}, z.core.$strip>>;
|
|
2144
|
+
createdAt: z.ZodNumber;
|
|
2145
|
+
receivedAt: z.ZodOptional<z.ZodNumber>;
|
|
2146
|
+
zipMetadata: z.ZodOptional<z.ZodObject<{
|
|
2147
|
+
fileName: z.ZodString;
|
|
2148
|
+
fileSize: z.ZodNumber;
|
|
2149
|
+
fileHash: z.ZodString;
|
|
2150
|
+
contentType: z.ZodEnum<{
|
|
2151
|
+
text: "text";
|
|
2152
|
+
wip: "wip";
|
|
2153
|
+
zip: "zip";
|
|
2154
|
+
wts: "wts";
|
|
2155
|
+
}>;
|
|
2156
|
+
localCachePath: z.ZodOptional<z.ZodString>;
|
|
2157
|
+
downloadedAt: z.ZodOptional<z.ZodNumber>;
|
|
2158
|
+
}, z.core.$strip>>;
|
|
2159
|
+
proof: z.ZodOptional<z.ZodString>;
|
|
2160
|
+
proofs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2161
|
+
address: z.ZodString;
|
|
2162
|
+
network: z.ZodOptional<z.ZodString>;
|
|
2163
|
+
createdAt: z.ZodNumber;
|
|
2164
|
+
}, z.core.$strip>>>;
|
|
2165
|
+
decryptError: z.ZodOptional<z.ZodString>;
|
|
2166
|
+
decryptAttempts: z.ZodOptional<z.ZodNumber>;
|
|
2167
|
+
lastDecryptAttemptAt: z.ZodOptional<z.ZodNumber>;
|
|
2168
|
+
viewedAt: z.ZodOptional<z.ZodNumber>;
|
|
2169
|
+
}, z.core.$strip>>;
|
|
2170
|
+
highest_seq: z.ZodNullable<z.ZodNumber>;
|
|
2171
|
+
latest_seq: z.ZodNullable<z.ZodNumber>;
|
|
2172
|
+
has_more: z.ZodBoolean;
|
|
2173
|
+
gap: z.ZodNullable<z.ZodObject<{
|
|
2174
|
+
from_seq: z.ZodNumber;
|
|
2175
|
+
to_seq: z.ZodNumber;
|
|
2176
|
+
missing_count: z.ZodNumber;
|
|
2177
|
+
reason: z.ZodString;
|
|
2178
|
+
}, z.core.$strip>>;
|
|
2179
|
+
degraded: z.ZodBoolean;
|
|
2180
|
+
degraded_reasons: z.ZodArray<z.ZodString>;
|
|
2181
|
+
read_receipt: z.ZodObject<{
|
|
2182
|
+
account: z.ZodString;
|
|
2183
|
+
peer: z.ZodString;
|
|
2184
|
+
read_through_seq: z.ZodNullable<z.ZodNumber>;
|
|
2185
|
+
read_at: z.ZodNullable<z.ZodNumber>;
|
|
2186
|
+
peer_read_through_seq: z.ZodNull;
|
|
2187
|
+
peer_receipt_available: z.ZodLiteral<false>;
|
|
2188
|
+
scope: z.ZodLiteral<"local-session">;
|
|
2189
|
+
disclosure: z.ZodString;
|
|
2190
|
+
}, z.core.$strip>;
|
|
2191
|
+
}, z.core.$strip>]>;
|
|
1915
2192
|
}, z.core.$strip>, z.ZodObject<{
|
|
1916
2193
|
operation: z.ZodLiteral<"error">;
|
|
1917
2194
|
error: z.ZodString;
|