@wowok/agent-mcp 2.3.12 → 2.3.14
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/harness/checkpoint.d.ts +8 -0
- package/dist/harness/checkpoint.js +129 -0
- package/dist/harness/index.d.ts +33 -0
- package/dist/harness/index.js +75 -0
- package/dist/harness/plan.d.ts +18 -0
- package/dist/harness/plan.js +252 -0
- package/dist/harness/recover.d.ts +17 -0
- package/dist/harness/recover.js +139 -0
- package/dist/harness/types.d.ts +137 -0
- package/dist/harness/types.js +1 -0
- package/dist/harness/verify.d.ts +42 -0
- package/dist/harness/verify.js +237 -0
- package/dist/index.js +134 -52
- package/dist/loop-engineering/aggregate.d.ts +50 -0
- package/dist/loop-engineering/aggregate.js +132 -0
- package/dist/loop-engineering/diagnose.d.ts +21 -0
- package/dist/loop-engineering/diagnose.js +179 -0
- package/dist/loop-engineering/improve.d.ts +26 -0
- package/dist/loop-engineering/improve.js +178 -0
- package/dist/loop-engineering/index.d.ts +4 -0
- package/dist/loop-engineering/index.js +4 -0
- package/dist/loop-engineering/pipeline.d.ts +17 -0
- package/dist/loop-engineering/pipeline.js +56 -0
- package/dist/mode-market/index.d.ts +3 -0
- package/dist/mode-market/index.js +3 -0
- package/dist/mode-market/registry.d.ts +53 -0
- package/dist/mode-market/registry.js +124 -0
- package/dist/mode-market/review.d.ts +27 -0
- package/dist/mode-market/review.js +214 -0
- package/dist/mode-market/submission.d.ts +25 -0
- package/dist/mode-market/submission.js +85 -0
- package/dist/schema/call/allocation.d.ts +40 -40
- package/dist/schema/call/arbitration.d.ts +90 -90
- package/dist/schema/call/base.d.ts +1054 -0
- package/dist/schema/call/base.js +100 -22
- package/dist/schema/call/bridge-handler.js +36 -18
- package/dist/schema/call/bridge.d.ts +115 -115
- package/dist/schema/call/handler.d.ts +2 -1
- package/dist/schema/call/handler.js +94 -3
- package/dist/schema/call/index.d.ts +1 -0
- package/dist/schema/call/index.js +1 -0
- package/dist/schema/call/machine.d.ts +144 -144
- package/dist/schema/call/order.d.ts +12 -12
- package/dist/schema/call/progress.d.ts +6 -6
- package/dist/schema/call/proof.js +7 -6
- package/dist/schema/call/reward.d.ts +6 -6
- package/dist/schema/call/semantic.d.ts +23 -0
- package/dist/schema/call/semantic.js +764 -0
- package/dist/schema/call/service.d.ts +142 -142
- package/dist/schema/call/treasury.d.ts +204 -204
- package/dist/schema/local/index.d.ts +113 -2
- package/dist/schema/local/index.js +11 -1
- package/dist/schema/messenger/index.d.ts +435 -95
- package/dist/schema/messenger/index.js +20 -8
- package/dist/schema/operations.d.ts +988 -495
- package/dist/schema/operations.js +14 -3
- package/dist/schema/query/index.d.ts +346 -342
- package/dist/schema/query/index.js +4 -1
- package/dist/schemas/account_operation.output.json +3 -0
- package/dist/schemas/account_operation.schema.json +1 -1
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/local_info_operation.output.json +3 -0
- package/dist/schemas/local_mark_operation.output.json +3 -0
- package/dist/schemas/messenger_operation.output.json +21 -0
- package/dist/schemas/messenger_operation.schema.json +43 -8
- package/dist/schemas/onchain_events.output.json +3 -0
- package/dist/schemas/onchain_operations.output.json +464 -21
- package/dist/schemas/onchain_operations.schema.json +21 -17
- package/dist/schemas/onchain_operations_allocation.schema.json +11 -9
- package/dist/schemas/onchain_operations_arbitration.schema.json +11 -9
- package/dist/schemas/onchain_operations_contact.schema.json +11 -9
- package/dist/schemas/onchain_operations_demand.schema.json +11 -9
- package/dist/schemas/onchain_operations_gen_passport.schema.json +21 -17
- package/dist/schemas/onchain_operations_guard.schema.json +11 -9
- package/dist/schemas/onchain_operations_machine.schema.json +11 -9
- package/dist/schemas/onchain_operations_order.schema.json +11 -9
- package/dist/schemas/onchain_operations_payment.schema.json +11 -9
- package/dist/schemas/onchain_operations_permission.schema.json +11 -9
- package/dist/schemas/onchain_operations_personal.schema.json +11 -9
- package/dist/schemas/onchain_operations_progress.schema.json +11 -9
- package/dist/schemas/onchain_operations_repository.schema.json +11 -9
- package/dist/schemas/onchain_operations_reward.schema.json +11 -9
- package/dist/schemas/onchain_operations_service.schema.json +11 -9
- package/dist/schemas/onchain_operations_treasury.schema.json +11 -9
- package/dist/schemas/onchain_table_data.output.json +3 -0
- package/dist/schemas/query_toolkit.schema.json +5 -1
- package/dist/telemetry/index.d.ts +19 -0
- package/dist/telemetry/index.js +112 -0
- package/dist/telemetry/redact.d.ts +2 -0
- package/dist/telemetry/redact.js +23 -0
- package/dist/telemetry/storage.d.ts +8 -0
- package/dist/telemetry/storage.js +80 -0
- package/package.json +6 -3
|
@@ -53,13 +53,13 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
53
53
|
}, "strip", z.ZodTypeAny, {
|
|
54
54
|
signature: string;
|
|
55
55
|
recipient: string;
|
|
56
|
-
recipientPublicKey: string;
|
|
57
56
|
timestamp: number;
|
|
57
|
+
recipientPublicKey: string;
|
|
58
58
|
}, {
|
|
59
59
|
signature: string;
|
|
60
60
|
recipient: string;
|
|
61
|
-
recipientPublicKey: string;
|
|
62
61
|
timestamp: number;
|
|
62
|
+
recipientPublicKey: string;
|
|
63
63
|
}>>;
|
|
64
64
|
createdAt: z.ZodNumber;
|
|
65
65
|
receivedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -91,7 +91,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
91
91
|
lastDecryptAttemptAt: z.ZodOptional<z.ZodNumber>;
|
|
92
92
|
viewedAt: z.ZodOptional<z.ZodNumber>;
|
|
93
93
|
}, "strip", z.ZodTypeAny, {
|
|
94
|
-
status: "
|
|
94
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
95
95
|
createdAt: number;
|
|
96
96
|
direction: "received" | "sent";
|
|
97
97
|
messageId: string;
|
|
@@ -114,8 +114,8 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
114
114
|
arkConfirmed?: {
|
|
115
115
|
signature: string;
|
|
116
116
|
recipient: string;
|
|
117
|
-
recipientPublicKey: string;
|
|
118
117
|
timestamp: number;
|
|
118
|
+
recipientPublicKey: string;
|
|
119
119
|
} | undefined;
|
|
120
120
|
zipMetadata?: {
|
|
121
121
|
fileName: string;
|
|
@@ -130,7 +130,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
130
130
|
lastDecryptAttemptAt?: number | undefined;
|
|
131
131
|
viewedAt?: number | undefined;
|
|
132
132
|
}, {
|
|
133
|
-
status: "
|
|
133
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
134
134
|
createdAt: number;
|
|
135
135
|
direction: "received" | "sent";
|
|
136
136
|
messageId: string;
|
|
@@ -153,8 +153,8 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
153
153
|
arkConfirmed?: {
|
|
154
154
|
signature: string;
|
|
155
155
|
recipient: string;
|
|
156
|
-
recipientPublicKey: string;
|
|
157
156
|
timestamp: number;
|
|
157
|
+
recipientPublicKey: string;
|
|
158
158
|
} | undefined;
|
|
159
159
|
zipMetadata?: {
|
|
160
160
|
fileName: string;
|
|
@@ -201,13 +201,13 @@ export declare const ConversationInfoSchema: z.ZodObject<{
|
|
|
201
201
|
}, "strip", z.ZodTypeAny, {
|
|
202
202
|
signature: string;
|
|
203
203
|
recipient: string;
|
|
204
|
-
recipientPublicKey: string;
|
|
205
204
|
timestamp: number;
|
|
205
|
+
recipientPublicKey: string;
|
|
206
206
|
}, {
|
|
207
207
|
signature: string;
|
|
208
208
|
recipient: string;
|
|
209
|
-
recipientPublicKey: string;
|
|
210
209
|
timestamp: number;
|
|
210
|
+
recipientPublicKey: string;
|
|
211
211
|
}>>;
|
|
212
212
|
createdAt: z.ZodNumber;
|
|
213
213
|
receivedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -239,7 +239,7 @@ export declare const ConversationInfoSchema: z.ZodObject<{
|
|
|
239
239
|
lastDecryptAttemptAt: z.ZodOptional<z.ZodNumber>;
|
|
240
240
|
viewedAt: z.ZodOptional<z.ZodNumber>;
|
|
241
241
|
}, "strip", z.ZodTypeAny, {
|
|
242
|
-
status: "
|
|
242
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
243
243
|
createdAt: number;
|
|
244
244
|
direction: "received" | "sent";
|
|
245
245
|
messageId: string;
|
|
@@ -262,8 +262,8 @@ export declare const ConversationInfoSchema: z.ZodObject<{
|
|
|
262
262
|
arkConfirmed?: {
|
|
263
263
|
signature: string;
|
|
264
264
|
recipient: string;
|
|
265
|
-
recipientPublicKey: string;
|
|
266
265
|
timestamp: number;
|
|
266
|
+
recipientPublicKey: string;
|
|
267
267
|
} | undefined;
|
|
268
268
|
zipMetadata?: {
|
|
269
269
|
fileName: string;
|
|
@@ -278,7 +278,7 @@ export declare const ConversationInfoSchema: z.ZodObject<{
|
|
|
278
278
|
lastDecryptAttemptAt?: number | undefined;
|
|
279
279
|
viewedAt?: number | undefined;
|
|
280
280
|
}, {
|
|
281
|
-
status: "
|
|
281
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
282
282
|
createdAt: number;
|
|
283
283
|
direction: "received" | "sent";
|
|
284
284
|
messageId: string;
|
|
@@ -301,8 +301,8 @@ export declare const ConversationInfoSchema: z.ZodObject<{
|
|
|
301
301
|
arkConfirmed?: {
|
|
302
302
|
signature: string;
|
|
303
303
|
recipient: string;
|
|
304
|
-
recipientPublicKey: string;
|
|
305
304
|
timestamp: number;
|
|
305
|
+
recipientPublicKey: string;
|
|
306
306
|
} | undefined;
|
|
307
307
|
zipMetadata?: {
|
|
308
308
|
fileName: string;
|
|
@@ -324,7 +324,7 @@ export declare const ConversationInfoSchema: z.ZodObject<{
|
|
|
324
324
|
unreadCount: number;
|
|
325
325
|
lastMessagePreview?: string | undefined;
|
|
326
326
|
previewMessages?: {
|
|
327
|
-
status: "
|
|
327
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
328
328
|
createdAt: number;
|
|
329
329
|
direction: "received" | "sent";
|
|
330
330
|
messageId: string;
|
|
@@ -347,8 +347,8 @@ export declare const ConversationInfoSchema: z.ZodObject<{
|
|
|
347
347
|
arkConfirmed?: {
|
|
348
348
|
signature: string;
|
|
349
349
|
recipient: string;
|
|
350
|
-
recipientPublicKey: string;
|
|
351
350
|
timestamp: number;
|
|
351
|
+
recipientPublicKey: string;
|
|
352
352
|
} | undefined;
|
|
353
353
|
zipMetadata?: {
|
|
354
354
|
fileName: string;
|
|
@@ -370,7 +370,7 @@ export declare const ConversationInfoSchema: z.ZodObject<{
|
|
|
370
370
|
unreadCount: number;
|
|
371
371
|
lastMessagePreview?: string | undefined;
|
|
372
372
|
previewMessages?: {
|
|
373
|
-
status: "
|
|
373
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
374
374
|
createdAt: number;
|
|
375
375
|
direction: "received" | "sent";
|
|
376
376
|
messageId: string;
|
|
@@ -393,8 +393,8 @@ export declare const ConversationInfoSchema: z.ZodObject<{
|
|
|
393
393
|
arkConfirmed?: {
|
|
394
394
|
signature: string;
|
|
395
395
|
recipient: string;
|
|
396
|
-
recipientPublicKey: string;
|
|
397
396
|
timestamp: number;
|
|
397
|
+
recipientPublicKey: string;
|
|
398
398
|
} | undefined;
|
|
399
399
|
zipMetadata?: {
|
|
400
400
|
fileName: string;
|
|
@@ -482,20 +482,20 @@ export declare const MessageFilterSchema: z.ZodObject<{
|
|
|
482
482
|
excludeAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
483
483
|
relation: z.ZodOptional<z.ZodEnum<["union", "intersection"]>>;
|
|
484
484
|
}, "strip", z.ZodTypeAny, {
|
|
485
|
+
relation?: "union" | "intersection" | undefined;
|
|
485
486
|
includeAddresses?: string[] | undefined;
|
|
486
487
|
excludeAddresses?: string[] | undefined;
|
|
487
|
-
relation?: "union" | "intersection" | undefined;
|
|
488
488
|
}, {
|
|
489
|
+
relation?: "union" | "intersection" | undefined;
|
|
489
490
|
includeAddresses?: string[] | undefined;
|
|
490
491
|
excludeAddresses?: string[] | undefined;
|
|
491
|
-
relation?: "union" | "intersection" | undefined;
|
|
492
492
|
}>>;
|
|
493
493
|
viewed: z.ZodOptional<z.ZodBoolean>;
|
|
494
494
|
viewedAtStart: z.ZodOptional<z.ZodNumber>;
|
|
495
495
|
viewedAtEnd: z.ZodOptional<z.ZodNumber>;
|
|
496
496
|
skipAutoMarkViewed: z.ZodOptional<z.ZodBoolean>;
|
|
497
497
|
}, "strip", z.ZodTypeAny, {
|
|
498
|
-
status?: "
|
|
498
|
+
status?: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed" | undefined;
|
|
499
499
|
account?: string | undefined;
|
|
500
500
|
limit?: number | undefined;
|
|
501
501
|
direction?: "received" | "sent" | undefined;
|
|
@@ -529,15 +529,15 @@ export declare const MessageFilterSchema: z.ZodObject<{
|
|
|
529
529
|
lastReceivedIndexMax?: number | undefined;
|
|
530
530
|
listFilterMode?: "guard" | "friends" | "stranger" | "any" | undefined;
|
|
531
531
|
customListFilter?: {
|
|
532
|
+
relation?: "union" | "intersection" | undefined;
|
|
532
533
|
includeAddresses?: string[] | undefined;
|
|
533
534
|
excludeAddresses?: string[] | undefined;
|
|
534
|
-
relation?: "union" | "intersection" | undefined;
|
|
535
535
|
} | undefined;
|
|
536
536
|
viewed?: boolean | undefined;
|
|
537
537
|
viewedAtStart?: number | undefined;
|
|
538
538
|
viewedAtEnd?: number | undefined;
|
|
539
539
|
}, {
|
|
540
|
-
status?: "
|
|
540
|
+
status?: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed" | undefined;
|
|
541
541
|
account?: string | undefined;
|
|
542
542
|
limit?: number | undefined;
|
|
543
543
|
direction?: "received" | "sent" | undefined;
|
|
@@ -571,9 +571,9 @@ export declare const MessageFilterSchema: z.ZodObject<{
|
|
|
571
571
|
lastReceivedIndexMax?: number | undefined;
|
|
572
572
|
listFilterMode?: "guard" | "friends" | "stranger" | "any" | undefined;
|
|
573
573
|
customListFilter?: {
|
|
574
|
+
relation?: "union" | "intersection" | undefined;
|
|
574
575
|
includeAddresses?: string[] | undefined;
|
|
575
576
|
excludeAddresses?: string[] | undefined;
|
|
576
|
-
relation?: "union" | "intersection" | undefined;
|
|
577
577
|
} | undefined;
|
|
578
578
|
viewed?: boolean | undefined;
|
|
579
579
|
viewedAtStart?: number | undefined;
|
|
@@ -584,12 +584,15 @@ export declare const SendMessageOptionsSchema: z.ZodObject<{
|
|
|
584
584
|
passportAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
585
585
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
586
586
|
new_messenger_name: z.ZodOptional<z.ZodString>;
|
|
587
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
|
|
587
588
|
}, "strip", z.ZodTypeAny, {
|
|
589
|
+
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
588
590
|
guardAddress?: string | undefined;
|
|
589
591
|
passportAddress?: string | undefined;
|
|
590
592
|
force?: boolean | undefined;
|
|
591
593
|
new_messenger_name?: string | undefined;
|
|
592
594
|
}, {
|
|
595
|
+
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
593
596
|
guardAddress?: string | undefined;
|
|
594
597
|
passportAddress?: string | undefined;
|
|
595
598
|
force?: boolean | undefined;
|
|
@@ -602,7 +605,9 @@ export declare const SendFileOptionsSchema: z.ZodObject<{
|
|
|
602
605
|
passportAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
603
606
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
604
607
|
new_messenger_name: z.ZodOptional<z.ZodString>;
|
|
608
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
|
|
605
609
|
}, "strip", z.ZodTypeAny, {
|
|
610
|
+
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
606
611
|
fileName?: string | undefined;
|
|
607
612
|
contentType?: "wip" | "zip" | "wts" | undefined;
|
|
608
613
|
guardAddress?: string | undefined;
|
|
@@ -610,6 +615,7 @@ export declare const SendFileOptionsSchema: z.ZodObject<{
|
|
|
610
615
|
force?: boolean | undefined;
|
|
611
616
|
new_messenger_name?: string | undefined;
|
|
612
617
|
}, {
|
|
618
|
+
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
613
619
|
fileName?: string | undefined;
|
|
614
620
|
contentType?: "wip" | "zip" | "wts" | undefined;
|
|
615
621
|
guardAddress?: string | undefined;
|
|
@@ -645,7 +651,7 @@ export declare const SendMessageResultSchema: z.ZodObject<{
|
|
|
645
651
|
guardList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
646
652
|
lastReceivedLeafIndex: z.ZodOptional<z.ZodNumber>;
|
|
647
653
|
}, "strip", z.ZodTypeAny, {
|
|
648
|
-
status: "
|
|
654
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
649
655
|
messageId: string;
|
|
650
656
|
lastReceivedLeafIndex?: number | undefined;
|
|
651
657
|
merkleData?: {
|
|
@@ -658,7 +664,7 @@ export declare const SendMessageResultSchema: z.ZodObject<{
|
|
|
658
664
|
} | undefined;
|
|
659
665
|
guardList?: string[] | undefined;
|
|
660
666
|
}, {
|
|
661
|
-
status: "
|
|
667
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
662
668
|
messageId: string;
|
|
663
669
|
lastReceivedLeafIndex?: number | undefined;
|
|
664
670
|
merkleData?: {
|
|
@@ -1478,12 +1484,15 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1478
1484
|
passportAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1479
1485
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
1480
1486
|
new_messenger_name: z.ZodOptional<z.ZodString>;
|
|
1487
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
|
|
1481
1488
|
}, "strip", z.ZodTypeAny, {
|
|
1489
|
+
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
1482
1490
|
guardAddress?: string | undefined;
|
|
1483
1491
|
passportAddress?: string | undefined;
|
|
1484
1492
|
force?: boolean | undefined;
|
|
1485
1493
|
new_messenger_name?: string | undefined;
|
|
1486
1494
|
}, {
|
|
1495
|
+
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
1487
1496
|
guardAddress?: string | undefined;
|
|
1488
1497
|
passportAddress?: string | undefined;
|
|
1489
1498
|
force?: boolean | undefined;
|
|
@@ -1491,12 +1500,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1491
1500
|
}>>;
|
|
1492
1501
|
}, "strip", z.ZodTypeAny, {
|
|
1493
1502
|
content: string;
|
|
1494
|
-
operation: "send_message";
|
|
1495
1503
|
to: string | {
|
|
1496
1504
|
name_or_address?: string | undefined;
|
|
1497
1505
|
local_mark_first?: boolean | undefined;
|
|
1498
1506
|
};
|
|
1507
|
+
operation: "send_message";
|
|
1499
1508
|
options?: {
|
|
1509
|
+
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
1500
1510
|
guardAddress?: string | undefined;
|
|
1501
1511
|
passportAddress?: string | undefined;
|
|
1502
1512
|
force?: boolean | undefined;
|
|
@@ -1505,12 +1515,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1505
1515
|
from?: string | undefined;
|
|
1506
1516
|
}, {
|
|
1507
1517
|
content: string;
|
|
1508
|
-
operation: "send_message";
|
|
1509
1518
|
to: string | {
|
|
1510
1519
|
name_or_address?: string | undefined;
|
|
1511
1520
|
local_mark_first?: boolean | undefined;
|
|
1512
1521
|
};
|
|
1522
|
+
operation: "send_message";
|
|
1513
1523
|
options?: {
|
|
1524
|
+
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
1514
1525
|
guardAddress?: string | undefined;
|
|
1515
1526
|
passportAddress?: string | undefined;
|
|
1516
1527
|
force?: boolean | undefined;
|
|
@@ -1538,7 +1549,9 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1538
1549
|
passportAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1539
1550
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
1540
1551
|
new_messenger_name: z.ZodOptional<z.ZodString>;
|
|
1552
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
|
|
1541
1553
|
}, "strip", z.ZodTypeAny, {
|
|
1554
|
+
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
1542
1555
|
fileName?: string | undefined;
|
|
1543
1556
|
contentType?: "wip" | "zip" | "wts" | undefined;
|
|
1544
1557
|
guardAddress?: string | undefined;
|
|
@@ -1546,6 +1559,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1546
1559
|
force?: boolean | undefined;
|
|
1547
1560
|
new_messenger_name?: string | undefined;
|
|
1548
1561
|
}, {
|
|
1562
|
+
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
1549
1563
|
fileName?: string | undefined;
|
|
1550
1564
|
contentType?: "wip" | "zip" | "wts" | undefined;
|
|
1551
1565
|
guardAddress?: string | undefined;
|
|
@@ -1555,12 +1569,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1555
1569
|
}>>;
|
|
1556
1570
|
}, "strip", z.ZodTypeAny, {
|
|
1557
1571
|
filePath: string;
|
|
1558
|
-
operation: "send_file";
|
|
1559
1572
|
to: string | {
|
|
1560
1573
|
name_or_address?: string | undefined;
|
|
1561
1574
|
local_mark_first?: boolean | undefined;
|
|
1562
1575
|
};
|
|
1576
|
+
operation: "send_file";
|
|
1563
1577
|
options?: {
|
|
1578
|
+
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
1564
1579
|
fileName?: string | undefined;
|
|
1565
1580
|
contentType?: "wip" | "zip" | "wts" | undefined;
|
|
1566
1581
|
guardAddress?: string | undefined;
|
|
@@ -1571,12 +1586,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1571
1586
|
from?: string | undefined;
|
|
1572
1587
|
}, {
|
|
1573
1588
|
filePath: string;
|
|
1574
|
-
operation: "send_file";
|
|
1575
1589
|
to: string | {
|
|
1576
1590
|
name_or_address?: string | undefined;
|
|
1577
1591
|
local_mark_first?: boolean | undefined;
|
|
1578
1592
|
};
|
|
1593
|
+
operation: "send_file";
|
|
1579
1594
|
options?: {
|
|
1595
|
+
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
1580
1596
|
fileName?: string | undefined;
|
|
1581
1597
|
contentType?: "wip" | "zip" | "wts" | undefined;
|
|
1582
1598
|
guardAddress?: string | undefined;
|
|
@@ -1631,20 +1647,20 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1631
1647
|
excludeAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1632
1648
|
relation: z.ZodOptional<z.ZodEnum<["union", "intersection"]>>;
|
|
1633
1649
|
}, "strip", z.ZodTypeAny, {
|
|
1650
|
+
relation?: "union" | "intersection" | undefined;
|
|
1634
1651
|
includeAddresses?: string[] | undefined;
|
|
1635
1652
|
excludeAddresses?: string[] | undefined;
|
|
1636
|
-
relation?: "union" | "intersection" | undefined;
|
|
1637
1653
|
}, {
|
|
1654
|
+
relation?: "union" | "intersection" | undefined;
|
|
1638
1655
|
includeAddresses?: string[] | undefined;
|
|
1639
1656
|
excludeAddresses?: string[] | undefined;
|
|
1640
|
-
relation?: "union" | "intersection" | undefined;
|
|
1641
1657
|
}>>;
|
|
1642
1658
|
viewed: z.ZodOptional<z.ZodBoolean>;
|
|
1643
1659
|
viewedAtStart: z.ZodOptional<z.ZodNumber>;
|
|
1644
1660
|
viewedAtEnd: z.ZodOptional<z.ZodNumber>;
|
|
1645
1661
|
skipAutoMarkViewed: z.ZodOptional<z.ZodBoolean>;
|
|
1646
1662
|
}, "strip", z.ZodTypeAny, {
|
|
1647
|
-
status?: "
|
|
1663
|
+
status?: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed" | undefined;
|
|
1648
1664
|
account?: string | undefined;
|
|
1649
1665
|
limit?: number | undefined;
|
|
1650
1666
|
direction?: "received" | "sent" | undefined;
|
|
@@ -1678,15 +1694,15 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1678
1694
|
lastReceivedIndexMax?: number | undefined;
|
|
1679
1695
|
listFilterMode?: "guard" | "friends" | "stranger" | "any" | undefined;
|
|
1680
1696
|
customListFilter?: {
|
|
1697
|
+
relation?: "union" | "intersection" | undefined;
|
|
1681
1698
|
includeAddresses?: string[] | undefined;
|
|
1682
1699
|
excludeAddresses?: string[] | undefined;
|
|
1683
|
-
relation?: "union" | "intersection" | undefined;
|
|
1684
1700
|
} | undefined;
|
|
1685
1701
|
viewed?: boolean | undefined;
|
|
1686
1702
|
viewedAtStart?: number | undefined;
|
|
1687
1703
|
viewedAtEnd?: number | undefined;
|
|
1688
1704
|
}, {
|
|
1689
|
-
status?: "
|
|
1705
|
+
status?: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed" | undefined;
|
|
1690
1706
|
account?: string | undefined;
|
|
1691
1707
|
limit?: number | undefined;
|
|
1692
1708
|
direction?: "received" | "sent" | undefined;
|
|
@@ -1720,9 +1736,9 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1720
1736
|
lastReceivedIndexMax?: number | undefined;
|
|
1721
1737
|
listFilterMode?: "guard" | "friends" | "stranger" | "any" | undefined;
|
|
1722
1738
|
customListFilter?: {
|
|
1739
|
+
relation?: "union" | "intersection" | undefined;
|
|
1723
1740
|
includeAddresses?: string[] | undefined;
|
|
1724
1741
|
excludeAddresses?: string[] | undefined;
|
|
1725
|
-
relation?: "union" | "intersection" | undefined;
|
|
1726
1742
|
} | undefined;
|
|
1727
1743
|
viewed?: boolean | undefined;
|
|
1728
1744
|
viewedAtStart?: number | undefined;
|
|
@@ -1731,7 +1747,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1731
1747
|
}, "strip", z.ZodTypeAny, {
|
|
1732
1748
|
operation: "watch_messages";
|
|
1733
1749
|
filter?: {
|
|
1734
|
-
status?: "
|
|
1750
|
+
status?: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed" | undefined;
|
|
1735
1751
|
account?: string | undefined;
|
|
1736
1752
|
limit?: number | undefined;
|
|
1737
1753
|
direction?: "received" | "sent" | undefined;
|
|
@@ -1765,9 +1781,9 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1765
1781
|
lastReceivedIndexMax?: number | undefined;
|
|
1766
1782
|
listFilterMode?: "guard" | "friends" | "stranger" | "any" | undefined;
|
|
1767
1783
|
customListFilter?: {
|
|
1784
|
+
relation?: "union" | "intersection" | undefined;
|
|
1768
1785
|
includeAddresses?: string[] | undefined;
|
|
1769
1786
|
excludeAddresses?: string[] | undefined;
|
|
1770
|
-
relation?: "union" | "intersection" | undefined;
|
|
1771
1787
|
} | undefined;
|
|
1772
1788
|
viewed?: boolean | undefined;
|
|
1773
1789
|
viewedAtStart?: number | undefined;
|
|
@@ -1776,7 +1792,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1776
1792
|
}, {
|
|
1777
1793
|
operation: "watch_messages";
|
|
1778
1794
|
filter?: {
|
|
1779
|
-
status?: "
|
|
1795
|
+
status?: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed" | undefined;
|
|
1780
1796
|
account?: string | undefined;
|
|
1781
1797
|
limit?: number | undefined;
|
|
1782
1798
|
direction?: "received" | "sent" | undefined;
|
|
@@ -1810,9 +1826,9 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1810
1826
|
lastReceivedIndexMax?: number | undefined;
|
|
1811
1827
|
listFilterMode?: "guard" | "friends" | "stranger" | "any" | undefined;
|
|
1812
1828
|
customListFilter?: {
|
|
1829
|
+
relation?: "union" | "intersection" | undefined;
|
|
1813
1830
|
includeAddresses?: string[] | undefined;
|
|
1814
1831
|
excludeAddresses?: string[] | undefined;
|
|
1815
|
-
relation?: "union" | "intersection" | undefined;
|
|
1816
1832
|
} | undefined;
|
|
1817
1833
|
viewed?: boolean | undefined;
|
|
1818
1834
|
viewedAtStart?: number | undefined;
|
|
@@ -1847,13 +1863,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1847
1863
|
}, "strip", z.ZodTypeAny, {
|
|
1848
1864
|
signature: string;
|
|
1849
1865
|
recipient: string;
|
|
1850
|
-
recipientPublicKey: string;
|
|
1851
1866
|
timestamp: number;
|
|
1867
|
+
recipientPublicKey: string;
|
|
1852
1868
|
}, {
|
|
1853
1869
|
signature: string;
|
|
1854
1870
|
recipient: string;
|
|
1855
|
-
recipientPublicKey: string;
|
|
1856
1871
|
timestamp: number;
|
|
1872
|
+
recipientPublicKey: string;
|
|
1857
1873
|
}>>;
|
|
1858
1874
|
createdAt: z.ZodNumber;
|
|
1859
1875
|
receivedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1885,7 +1901,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1885
1901
|
lastDecryptAttemptAt: z.ZodOptional<z.ZodNumber>;
|
|
1886
1902
|
viewedAt: z.ZodOptional<z.ZodNumber>;
|
|
1887
1903
|
}, "strip", z.ZodTypeAny, {
|
|
1888
|
-
status: "
|
|
1904
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
1889
1905
|
createdAt: number;
|
|
1890
1906
|
direction: "received" | "sent";
|
|
1891
1907
|
messageId: string;
|
|
@@ -1908,8 +1924,8 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1908
1924
|
arkConfirmed?: {
|
|
1909
1925
|
signature: string;
|
|
1910
1926
|
recipient: string;
|
|
1911
|
-
recipientPublicKey: string;
|
|
1912
1927
|
timestamp: number;
|
|
1928
|
+
recipientPublicKey: string;
|
|
1913
1929
|
} | undefined;
|
|
1914
1930
|
zipMetadata?: {
|
|
1915
1931
|
fileName: string;
|
|
@@ -1924,7 +1940,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1924
1940
|
lastDecryptAttemptAt?: number | undefined;
|
|
1925
1941
|
viewedAt?: number | undefined;
|
|
1926
1942
|
}, {
|
|
1927
|
-
status: "
|
|
1943
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
1928
1944
|
createdAt: number;
|
|
1929
1945
|
direction: "received" | "sent";
|
|
1930
1946
|
messageId: string;
|
|
@@ -1947,8 +1963,8 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1947
1963
|
arkConfirmed?: {
|
|
1948
1964
|
signature: string;
|
|
1949
1965
|
recipient: string;
|
|
1950
|
-
recipientPublicKey: string;
|
|
1951
1966
|
timestamp: number;
|
|
1967
|
+
recipientPublicKey: string;
|
|
1952
1968
|
} | undefined;
|
|
1953
1969
|
zipMetadata?: {
|
|
1954
1970
|
fileName: string;
|
|
@@ -1968,7 +1984,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1968
1984
|
operation: "extract_zip_messages";
|
|
1969
1985
|
outputDir: string;
|
|
1970
1986
|
messages: (string | {
|
|
1971
|
-
status: "
|
|
1987
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
1972
1988
|
createdAt: number;
|
|
1973
1989
|
direction: "received" | "sent";
|
|
1974
1990
|
messageId: string;
|
|
@@ -1991,8 +2007,8 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1991
2007
|
arkConfirmed?: {
|
|
1992
2008
|
signature: string;
|
|
1993
2009
|
recipient: string;
|
|
1994
|
-
recipientPublicKey: string;
|
|
1995
2010
|
timestamp: number;
|
|
2011
|
+
recipientPublicKey: string;
|
|
1996
2012
|
} | undefined;
|
|
1997
2013
|
zipMetadata?: {
|
|
1998
2014
|
fileName: string;
|
|
@@ -2012,7 +2028,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
2012
2028
|
operation: "extract_zip_messages";
|
|
2013
2029
|
outputDir: string;
|
|
2014
2030
|
messages: (string | {
|
|
2015
|
-
status: "
|
|
2031
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
2016
2032
|
createdAt: number;
|
|
2017
2033
|
direction: "received" | "sent";
|
|
2018
2034
|
messageId: string;
|
|
@@ -2035,8 +2051,8 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
2035
2051
|
arkConfirmed?: {
|
|
2036
2052
|
signature: string;
|
|
2037
2053
|
recipient: string;
|
|
2038
|
-
recipientPublicKey: string;
|
|
2039
2054
|
timestamp: number;
|
|
2055
|
+
recipientPublicKey: string;
|
|
2040
2056
|
} | undefined;
|
|
2041
2057
|
zipMetadata?: {
|
|
2042
2058
|
fileName: string;
|
|
@@ -2256,16 +2272,16 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
2256
2272
|
operation: z.ZodLiteral<"proof_message">;
|
|
2257
2273
|
account: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2258
2274
|
messageId: z.ZodString;
|
|
2259
|
-
network: z.
|
|
2275
|
+
network: z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>;
|
|
2260
2276
|
}, "strip", z.ZodTypeAny, {
|
|
2277
|
+
network: import("@wowok/wowok").ENTRYPOINT;
|
|
2261
2278
|
operation: "proof_message";
|
|
2262
2279
|
messageId: string;
|
|
2263
|
-
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
2264
2280
|
account?: string | undefined;
|
|
2265
2281
|
}, {
|
|
2282
|
+
network: import("@wowok/wowok").ENTRYPOINT;
|
|
2266
2283
|
operation: "proof_message";
|
|
2267
2284
|
messageId: string;
|
|
2268
|
-
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
2269
2285
|
account?: string | undefined;
|
|
2270
2286
|
}>, z.ZodObject<{
|
|
2271
2287
|
operation: z.ZodLiteral<"blacklist">;
|
|
@@ -2863,6 +2879,18 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
2863
2879
|
local_mark_first?: boolean | undefined;
|
|
2864
2880
|
};
|
|
2865
2881
|
account?: string | undefined;
|
|
2882
|
+
}>, z.ZodObject<{
|
|
2883
|
+
operation: z.ZodLiteral<"pull_messages">;
|
|
2884
|
+
account: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2885
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2886
|
+
}, "strip", z.ZodTypeAny, {
|
|
2887
|
+
operation: "pull_messages";
|
|
2888
|
+
account?: string | undefined;
|
|
2889
|
+
limit?: number | undefined;
|
|
2890
|
+
}, {
|
|
2891
|
+
operation: "pull_messages";
|
|
2892
|
+
account?: string | undefined;
|
|
2893
|
+
limit?: number | undefined;
|
|
2866
2894
|
}>]>;
|
|
2867
2895
|
export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
2868
2896
|
result: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
@@ -2899,13 +2927,13 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
2899
2927
|
}, "strip", z.ZodTypeAny, {
|
|
2900
2928
|
signature: string;
|
|
2901
2929
|
recipient: string;
|
|
2902
|
-
recipientPublicKey: string;
|
|
2903
2930
|
timestamp: number;
|
|
2931
|
+
recipientPublicKey: string;
|
|
2904
2932
|
}, {
|
|
2905
2933
|
signature: string;
|
|
2906
2934
|
recipient: string;
|
|
2907
|
-
recipientPublicKey: string;
|
|
2908
2935
|
timestamp: number;
|
|
2936
|
+
recipientPublicKey: string;
|
|
2909
2937
|
}>>;
|
|
2910
2938
|
createdAt: z.ZodNumber;
|
|
2911
2939
|
receivedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2937,7 +2965,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
2937
2965
|
lastDecryptAttemptAt: z.ZodOptional<z.ZodNumber>;
|
|
2938
2966
|
viewedAt: z.ZodOptional<z.ZodNumber>;
|
|
2939
2967
|
}, "strip", z.ZodTypeAny, {
|
|
2940
|
-
status: "
|
|
2968
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
2941
2969
|
createdAt: number;
|
|
2942
2970
|
direction: "received" | "sent";
|
|
2943
2971
|
messageId: string;
|
|
@@ -2960,8 +2988,8 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
2960
2988
|
arkConfirmed?: {
|
|
2961
2989
|
signature: string;
|
|
2962
2990
|
recipient: string;
|
|
2963
|
-
recipientPublicKey: string;
|
|
2964
2991
|
timestamp: number;
|
|
2992
|
+
recipientPublicKey: string;
|
|
2965
2993
|
} | undefined;
|
|
2966
2994
|
zipMetadata?: {
|
|
2967
2995
|
fileName: string;
|
|
@@ -2976,7 +3004,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
2976
3004
|
lastDecryptAttemptAt?: number | undefined;
|
|
2977
3005
|
viewedAt?: number | undefined;
|
|
2978
3006
|
}, {
|
|
2979
|
-
status: "
|
|
3007
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
2980
3008
|
createdAt: number;
|
|
2981
3009
|
direction: "received" | "sent";
|
|
2982
3010
|
messageId: string;
|
|
@@ -2999,8 +3027,8 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
2999
3027
|
arkConfirmed?: {
|
|
3000
3028
|
signature: string;
|
|
3001
3029
|
recipient: string;
|
|
3002
|
-
recipientPublicKey: string;
|
|
3003
3030
|
timestamp: number;
|
|
3031
|
+
recipientPublicKey: string;
|
|
3004
3032
|
} | undefined;
|
|
3005
3033
|
zipMetadata?: {
|
|
3006
3034
|
fileName: string;
|
|
@@ -3022,7 +3050,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3022
3050
|
unreadCount: number;
|
|
3023
3051
|
lastMessagePreview?: string | undefined;
|
|
3024
3052
|
previewMessages?: {
|
|
3025
|
-
status: "
|
|
3053
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3026
3054
|
createdAt: number;
|
|
3027
3055
|
direction: "received" | "sent";
|
|
3028
3056
|
messageId: string;
|
|
@@ -3045,8 +3073,8 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3045
3073
|
arkConfirmed?: {
|
|
3046
3074
|
signature: string;
|
|
3047
3075
|
recipient: string;
|
|
3048
|
-
recipientPublicKey: string;
|
|
3049
3076
|
timestamp: number;
|
|
3077
|
+
recipientPublicKey: string;
|
|
3050
3078
|
} | undefined;
|
|
3051
3079
|
zipMetadata?: {
|
|
3052
3080
|
fileName: string;
|
|
@@ -3068,7 +3096,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3068
3096
|
unreadCount: number;
|
|
3069
3097
|
lastMessagePreview?: string | undefined;
|
|
3070
3098
|
previewMessages?: {
|
|
3071
|
-
status: "
|
|
3099
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3072
3100
|
createdAt: number;
|
|
3073
3101
|
direction: "received" | "sent";
|
|
3074
3102
|
messageId: string;
|
|
@@ -3091,8 +3119,8 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3091
3119
|
arkConfirmed?: {
|
|
3092
3120
|
signature: string;
|
|
3093
3121
|
recipient: string;
|
|
3094
|
-
recipientPublicKey: string;
|
|
3095
3122
|
timestamp: number;
|
|
3123
|
+
recipientPublicKey: string;
|
|
3096
3124
|
} | undefined;
|
|
3097
3125
|
zipMetadata?: {
|
|
3098
3126
|
fileName: string;
|
|
@@ -3116,7 +3144,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3116
3144
|
unreadCount: number;
|
|
3117
3145
|
lastMessagePreview?: string | undefined;
|
|
3118
3146
|
previewMessages?: {
|
|
3119
|
-
status: "
|
|
3147
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3120
3148
|
createdAt: number;
|
|
3121
3149
|
direction: "received" | "sent";
|
|
3122
3150
|
messageId: string;
|
|
@@ -3139,8 +3167,8 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3139
3167
|
arkConfirmed?: {
|
|
3140
3168
|
signature: string;
|
|
3141
3169
|
recipient: string;
|
|
3142
|
-
recipientPublicKey: string;
|
|
3143
3170
|
timestamp: number;
|
|
3171
|
+
recipientPublicKey: string;
|
|
3144
3172
|
} | undefined;
|
|
3145
3173
|
zipMetadata?: {
|
|
3146
3174
|
fileName: string;
|
|
@@ -3165,7 +3193,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3165
3193
|
unreadCount: number;
|
|
3166
3194
|
lastMessagePreview?: string | undefined;
|
|
3167
3195
|
previewMessages?: {
|
|
3168
|
-
status: "
|
|
3196
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3169
3197
|
createdAt: number;
|
|
3170
3198
|
direction: "received" | "sent";
|
|
3171
3199
|
messageId: string;
|
|
@@ -3188,8 +3216,8 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3188
3216
|
arkConfirmed?: {
|
|
3189
3217
|
signature: string;
|
|
3190
3218
|
recipient: string;
|
|
3191
|
-
recipientPublicKey: string;
|
|
3192
3219
|
timestamp: number;
|
|
3220
|
+
recipientPublicKey: string;
|
|
3193
3221
|
} | undefined;
|
|
3194
3222
|
zipMetadata?: {
|
|
3195
3223
|
fileName: string;
|
|
@@ -3236,7 +3264,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3236
3264
|
guardList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3237
3265
|
lastReceivedLeafIndex: z.ZodOptional<z.ZodNumber>;
|
|
3238
3266
|
}, "strip", z.ZodTypeAny, {
|
|
3239
|
-
status: "
|
|
3267
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3240
3268
|
messageId: string;
|
|
3241
3269
|
lastReceivedLeafIndex?: number | undefined;
|
|
3242
3270
|
merkleData?: {
|
|
@@ -3249,7 +3277,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3249
3277
|
} | undefined;
|
|
3250
3278
|
guardList?: string[] | undefined;
|
|
3251
3279
|
}, {
|
|
3252
|
-
status: "
|
|
3280
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3253
3281
|
messageId: string;
|
|
3254
3282
|
lastReceivedLeafIndex?: number | undefined;
|
|
3255
3283
|
merkleData?: {
|
|
@@ -3264,7 +3292,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3264
3292
|
}>;
|
|
3265
3293
|
}, "strip", z.ZodTypeAny, {
|
|
3266
3294
|
result: {
|
|
3267
|
-
status: "
|
|
3295
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3268
3296
|
messageId: string;
|
|
3269
3297
|
lastReceivedLeafIndex?: number | undefined;
|
|
3270
3298
|
merkleData?: {
|
|
@@ -3280,7 +3308,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3280
3308
|
operation: "send_message";
|
|
3281
3309
|
}, {
|
|
3282
3310
|
result: {
|
|
3283
|
-
status: "
|
|
3311
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3284
3312
|
messageId: string;
|
|
3285
3313
|
lastReceivedLeafIndex?: number | undefined;
|
|
3286
3314
|
merkleData?: {
|
|
@@ -3324,7 +3352,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3324
3352
|
guardList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3325
3353
|
lastReceivedLeafIndex: z.ZodOptional<z.ZodNumber>;
|
|
3326
3354
|
}, "strip", z.ZodTypeAny, {
|
|
3327
|
-
status: "
|
|
3355
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3328
3356
|
messageId: string;
|
|
3329
3357
|
lastReceivedLeafIndex?: number | undefined;
|
|
3330
3358
|
merkleData?: {
|
|
@@ -3337,7 +3365,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3337
3365
|
} | undefined;
|
|
3338
3366
|
guardList?: string[] | undefined;
|
|
3339
3367
|
}, {
|
|
3340
|
-
status: "
|
|
3368
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3341
3369
|
messageId: string;
|
|
3342
3370
|
lastReceivedLeafIndex?: number | undefined;
|
|
3343
3371
|
merkleData?: {
|
|
@@ -3352,7 +3380,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3352
3380
|
}>;
|
|
3353
3381
|
}, "strip", z.ZodTypeAny, {
|
|
3354
3382
|
result: {
|
|
3355
|
-
status: "
|
|
3383
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3356
3384
|
messageId: string;
|
|
3357
3385
|
lastReceivedLeafIndex?: number | undefined;
|
|
3358
3386
|
merkleData?: {
|
|
@@ -3368,7 +3396,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3368
3396
|
operation: "send_file";
|
|
3369
3397
|
}, {
|
|
3370
3398
|
result: {
|
|
3371
|
-
status: "
|
|
3399
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3372
3400
|
messageId: string;
|
|
3373
3401
|
lastReceivedLeafIndex?: number | undefined;
|
|
3374
3402
|
merkleData?: {
|
|
@@ -3410,13 +3438,13 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3410
3438
|
}, "strip", z.ZodTypeAny, {
|
|
3411
3439
|
signature: string;
|
|
3412
3440
|
recipient: string;
|
|
3413
|
-
recipientPublicKey: string;
|
|
3414
3441
|
timestamp: number;
|
|
3442
|
+
recipientPublicKey: string;
|
|
3415
3443
|
}, {
|
|
3416
3444
|
signature: string;
|
|
3417
3445
|
recipient: string;
|
|
3418
|
-
recipientPublicKey: string;
|
|
3419
3446
|
timestamp: number;
|
|
3447
|
+
recipientPublicKey: string;
|
|
3420
3448
|
}>>;
|
|
3421
3449
|
createdAt: z.ZodNumber;
|
|
3422
3450
|
receivedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3448,7 +3476,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3448
3476
|
lastDecryptAttemptAt: z.ZodOptional<z.ZodNumber>;
|
|
3449
3477
|
viewedAt: z.ZodOptional<z.ZodNumber>;
|
|
3450
3478
|
}, "strip", z.ZodTypeAny, {
|
|
3451
|
-
status: "
|
|
3479
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3452
3480
|
createdAt: number;
|
|
3453
3481
|
direction: "received" | "sent";
|
|
3454
3482
|
messageId: string;
|
|
@@ -3471,8 +3499,8 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3471
3499
|
arkConfirmed?: {
|
|
3472
3500
|
signature: string;
|
|
3473
3501
|
recipient: string;
|
|
3474
|
-
recipientPublicKey: string;
|
|
3475
3502
|
timestamp: number;
|
|
3503
|
+
recipientPublicKey: string;
|
|
3476
3504
|
} | undefined;
|
|
3477
3505
|
zipMetadata?: {
|
|
3478
3506
|
fileName: string;
|
|
@@ -3487,7 +3515,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3487
3515
|
lastDecryptAttemptAt?: number | undefined;
|
|
3488
3516
|
viewedAt?: number | undefined;
|
|
3489
3517
|
}, {
|
|
3490
|
-
status: "
|
|
3518
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3491
3519
|
createdAt: number;
|
|
3492
3520
|
direction: "received" | "sent";
|
|
3493
3521
|
messageId: string;
|
|
@@ -3510,8 +3538,8 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3510
3538
|
arkConfirmed?: {
|
|
3511
3539
|
signature: string;
|
|
3512
3540
|
recipient: string;
|
|
3513
|
-
recipientPublicKey: string;
|
|
3514
3541
|
timestamp: number;
|
|
3542
|
+
recipientPublicKey: string;
|
|
3515
3543
|
} | undefined;
|
|
3516
3544
|
zipMetadata?: {
|
|
3517
3545
|
fileName: string;
|
|
@@ -3528,7 +3556,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3528
3556
|
}>, "many">;
|
|
3529
3557
|
}, "strip", z.ZodTypeAny, {
|
|
3530
3558
|
result: {
|
|
3531
|
-
status: "
|
|
3559
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3532
3560
|
createdAt: number;
|
|
3533
3561
|
direction: "received" | "sent";
|
|
3534
3562
|
messageId: string;
|
|
@@ -3551,8 +3579,8 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3551
3579
|
arkConfirmed?: {
|
|
3552
3580
|
signature: string;
|
|
3553
3581
|
recipient: string;
|
|
3554
|
-
recipientPublicKey: string;
|
|
3555
3582
|
timestamp: number;
|
|
3583
|
+
recipientPublicKey: string;
|
|
3556
3584
|
} | undefined;
|
|
3557
3585
|
zipMetadata?: {
|
|
3558
3586
|
fileName: string;
|
|
@@ -3570,7 +3598,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3570
3598
|
operation: "watch_messages";
|
|
3571
3599
|
}, {
|
|
3572
3600
|
result: {
|
|
3573
|
-
status: "
|
|
3601
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3574
3602
|
createdAt: number;
|
|
3575
3603
|
direction: "received" | "sent";
|
|
3576
3604
|
messageId: string;
|
|
@@ -3593,8 +3621,8 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3593
3621
|
arkConfirmed?: {
|
|
3594
3622
|
signature: string;
|
|
3595
3623
|
recipient: string;
|
|
3596
|
-
recipientPublicKey: string;
|
|
3597
3624
|
timestamp: number;
|
|
3625
|
+
recipientPublicKey: string;
|
|
3598
3626
|
} | undefined;
|
|
3599
3627
|
zipMetadata?: {
|
|
3600
3628
|
fileName: string;
|
|
@@ -4165,6 +4193,234 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
4165
4193
|
}, {
|
|
4166
4194
|
result: number;
|
|
4167
4195
|
operation: "mark_conversation_as_viewed";
|
|
4196
|
+
}>, z.ZodObject<{
|
|
4197
|
+
operation: z.ZodLiteral<"pull_messages">;
|
|
4198
|
+
result: z.ZodArray<z.ZodObject<{
|
|
4199
|
+
messageId: z.ZodString;
|
|
4200
|
+
fromAddress: z.ZodString;
|
|
4201
|
+
toAddress: z.ZodString;
|
|
4202
|
+
plaintextHash: z.ZodString;
|
|
4203
|
+
plaintext: z.ZodOptional<z.ZodString>;
|
|
4204
|
+
guardAddress: z.ZodOptional<z.ZodString>;
|
|
4205
|
+
passportAddress: z.ZodOptional<z.ZodString>;
|
|
4206
|
+
lastReceivedLeafIndex: z.ZodOptional<z.ZodNumber>;
|
|
4207
|
+
direction: z.ZodEnum<["sent", "received"]>;
|
|
4208
|
+
status: z.ZodEnum<["pending", "confirmed", "read", "failed", "rejected", "decrypted", "decrypt_failed"]>;
|
|
4209
|
+
msgType: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<3>]>;
|
|
4210
|
+
leafIndex: z.ZodOptional<z.ZodNumber>;
|
|
4211
|
+
prevRoot: z.ZodOptional<z.ZodString>;
|
|
4212
|
+
newRoot: z.ZodOptional<z.ZodString>;
|
|
4213
|
+
serverSignature: z.ZodOptional<z.ZodString>;
|
|
4214
|
+
serverTimestamp: z.ZodOptional<z.ZodNumber>;
|
|
4215
|
+
serverPublicKey: z.ZodOptional<z.ZodString>;
|
|
4216
|
+
arkConfirmed: z.ZodOptional<z.ZodObject<{
|
|
4217
|
+
recipient: z.ZodString;
|
|
4218
|
+
recipientPublicKey: z.ZodString;
|
|
4219
|
+
signature: z.ZodString;
|
|
4220
|
+
timestamp: z.ZodNumber;
|
|
4221
|
+
}, "strip", z.ZodTypeAny, {
|
|
4222
|
+
signature: string;
|
|
4223
|
+
recipient: string;
|
|
4224
|
+
timestamp: number;
|
|
4225
|
+
recipientPublicKey: string;
|
|
4226
|
+
}, {
|
|
4227
|
+
signature: string;
|
|
4228
|
+
recipient: string;
|
|
4229
|
+
timestamp: number;
|
|
4230
|
+
recipientPublicKey: string;
|
|
4231
|
+
}>>;
|
|
4232
|
+
createdAt: z.ZodNumber;
|
|
4233
|
+
receivedAt: z.ZodOptional<z.ZodNumber>;
|
|
4234
|
+
zipMetadata: z.ZodOptional<z.ZodObject<{
|
|
4235
|
+
fileName: z.ZodString;
|
|
4236
|
+
fileSize: z.ZodNumber;
|
|
4237
|
+
fileHash: z.ZodString;
|
|
4238
|
+
contentType: z.ZodEnum<["text", "zip", "wts", "wip"]>;
|
|
4239
|
+
localCachePath: z.ZodOptional<z.ZodString>;
|
|
4240
|
+
downloadedAt: z.ZodOptional<z.ZodNumber>;
|
|
4241
|
+
}, "strip", z.ZodTypeAny, {
|
|
4242
|
+
fileName: string;
|
|
4243
|
+
fileSize: number;
|
|
4244
|
+
fileHash: string;
|
|
4245
|
+
contentType: "text" | "wip" | "zip" | "wts";
|
|
4246
|
+
localCachePath?: string | undefined;
|
|
4247
|
+
downloadedAt?: number | undefined;
|
|
4248
|
+
}, {
|
|
4249
|
+
fileName: string;
|
|
4250
|
+
fileSize: number;
|
|
4251
|
+
fileHash: string;
|
|
4252
|
+
contentType: "text" | "wip" | "zip" | "wts";
|
|
4253
|
+
localCachePath?: string | undefined;
|
|
4254
|
+
downloadedAt?: number | undefined;
|
|
4255
|
+
}>>;
|
|
4256
|
+
proof: z.ZodOptional<z.ZodString>;
|
|
4257
|
+
decryptError: z.ZodOptional<z.ZodString>;
|
|
4258
|
+
decryptAttempts: z.ZodOptional<z.ZodNumber>;
|
|
4259
|
+
lastDecryptAttemptAt: z.ZodOptional<z.ZodNumber>;
|
|
4260
|
+
viewedAt: z.ZodOptional<z.ZodNumber>;
|
|
4261
|
+
}, "strip", z.ZodTypeAny, {
|
|
4262
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
4263
|
+
createdAt: number;
|
|
4264
|
+
direction: "received" | "sent";
|
|
4265
|
+
messageId: string;
|
|
4266
|
+
fromAddress: string;
|
|
4267
|
+
toAddress: string;
|
|
4268
|
+
plaintextHash: string;
|
|
4269
|
+
msgType: 1 | 3;
|
|
4270
|
+
proof?: string | undefined;
|
|
4271
|
+
receivedAt?: number | undefined;
|
|
4272
|
+
serverTimestamp?: number | undefined;
|
|
4273
|
+
plaintext?: string | undefined;
|
|
4274
|
+
guardAddress?: string | undefined;
|
|
4275
|
+
passportAddress?: string | undefined;
|
|
4276
|
+
lastReceivedLeafIndex?: number | undefined;
|
|
4277
|
+
leafIndex?: number | undefined;
|
|
4278
|
+
prevRoot?: string | undefined;
|
|
4279
|
+
newRoot?: string | undefined;
|
|
4280
|
+
serverSignature?: string | undefined;
|
|
4281
|
+
serverPublicKey?: string | undefined;
|
|
4282
|
+
arkConfirmed?: {
|
|
4283
|
+
signature: string;
|
|
4284
|
+
recipient: string;
|
|
4285
|
+
timestamp: number;
|
|
4286
|
+
recipientPublicKey: string;
|
|
4287
|
+
} | undefined;
|
|
4288
|
+
zipMetadata?: {
|
|
4289
|
+
fileName: string;
|
|
4290
|
+
fileSize: number;
|
|
4291
|
+
fileHash: string;
|
|
4292
|
+
contentType: "text" | "wip" | "zip" | "wts";
|
|
4293
|
+
localCachePath?: string | undefined;
|
|
4294
|
+
downloadedAt?: number | undefined;
|
|
4295
|
+
} | undefined;
|
|
4296
|
+
decryptError?: string | undefined;
|
|
4297
|
+
decryptAttempts?: number | undefined;
|
|
4298
|
+
lastDecryptAttemptAt?: number | undefined;
|
|
4299
|
+
viewedAt?: number | undefined;
|
|
4300
|
+
}, {
|
|
4301
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
4302
|
+
createdAt: number;
|
|
4303
|
+
direction: "received" | "sent";
|
|
4304
|
+
messageId: string;
|
|
4305
|
+
fromAddress: string;
|
|
4306
|
+
toAddress: string;
|
|
4307
|
+
plaintextHash: string;
|
|
4308
|
+
msgType: 1 | 3;
|
|
4309
|
+
proof?: string | undefined;
|
|
4310
|
+
receivedAt?: number | undefined;
|
|
4311
|
+
serverTimestamp?: number | undefined;
|
|
4312
|
+
plaintext?: string | undefined;
|
|
4313
|
+
guardAddress?: string | undefined;
|
|
4314
|
+
passportAddress?: string | undefined;
|
|
4315
|
+
lastReceivedLeafIndex?: number | undefined;
|
|
4316
|
+
leafIndex?: number | undefined;
|
|
4317
|
+
prevRoot?: string | undefined;
|
|
4318
|
+
newRoot?: string | undefined;
|
|
4319
|
+
serverSignature?: string | undefined;
|
|
4320
|
+
serverPublicKey?: string | undefined;
|
|
4321
|
+
arkConfirmed?: {
|
|
4322
|
+
signature: string;
|
|
4323
|
+
recipient: string;
|
|
4324
|
+
timestamp: number;
|
|
4325
|
+
recipientPublicKey: string;
|
|
4326
|
+
} | undefined;
|
|
4327
|
+
zipMetadata?: {
|
|
4328
|
+
fileName: string;
|
|
4329
|
+
fileSize: number;
|
|
4330
|
+
fileHash: string;
|
|
4331
|
+
contentType: "text" | "wip" | "zip" | "wts";
|
|
4332
|
+
localCachePath?: string | undefined;
|
|
4333
|
+
downloadedAt?: number | undefined;
|
|
4334
|
+
} | undefined;
|
|
4335
|
+
decryptError?: string | undefined;
|
|
4336
|
+
decryptAttempts?: number | undefined;
|
|
4337
|
+
lastDecryptAttemptAt?: number | undefined;
|
|
4338
|
+
viewedAt?: number | undefined;
|
|
4339
|
+
}>, "many">;
|
|
4340
|
+
}, "strip", z.ZodTypeAny, {
|
|
4341
|
+
result: {
|
|
4342
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
4343
|
+
createdAt: number;
|
|
4344
|
+
direction: "received" | "sent";
|
|
4345
|
+
messageId: string;
|
|
4346
|
+
fromAddress: string;
|
|
4347
|
+
toAddress: string;
|
|
4348
|
+
plaintextHash: string;
|
|
4349
|
+
msgType: 1 | 3;
|
|
4350
|
+
proof?: string | undefined;
|
|
4351
|
+
receivedAt?: number | undefined;
|
|
4352
|
+
serverTimestamp?: number | undefined;
|
|
4353
|
+
plaintext?: string | undefined;
|
|
4354
|
+
guardAddress?: string | undefined;
|
|
4355
|
+
passportAddress?: string | undefined;
|
|
4356
|
+
lastReceivedLeafIndex?: number | undefined;
|
|
4357
|
+
leafIndex?: number | undefined;
|
|
4358
|
+
prevRoot?: string | undefined;
|
|
4359
|
+
newRoot?: string | undefined;
|
|
4360
|
+
serverSignature?: string | undefined;
|
|
4361
|
+
serverPublicKey?: string | undefined;
|
|
4362
|
+
arkConfirmed?: {
|
|
4363
|
+
signature: string;
|
|
4364
|
+
recipient: string;
|
|
4365
|
+
timestamp: number;
|
|
4366
|
+
recipientPublicKey: string;
|
|
4367
|
+
} | undefined;
|
|
4368
|
+
zipMetadata?: {
|
|
4369
|
+
fileName: string;
|
|
4370
|
+
fileSize: number;
|
|
4371
|
+
fileHash: string;
|
|
4372
|
+
contentType: "text" | "wip" | "zip" | "wts";
|
|
4373
|
+
localCachePath?: string | undefined;
|
|
4374
|
+
downloadedAt?: number | undefined;
|
|
4375
|
+
} | undefined;
|
|
4376
|
+
decryptError?: string | undefined;
|
|
4377
|
+
decryptAttempts?: number | undefined;
|
|
4378
|
+
lastDecryptAttemptAt?: number | undefined;
|
|
4379
|
+
viewedAt?: number | undefined;
|
|
4380
|
+
}[];
|
|
4381
|
+
operation: "pull_messages";
|
|
4382
|
+
}, {
|
|
4383
|
+
result: {
|
|
4384
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
4385
|
+
createdAt: number;
|
|
4386
|
+
direction: "received" | "sent";
|
|
4387
|
+
messageId: string;
|
|
4388
|
+
fromAddress: string;
|
|
4389
|
+
toAddress: string;
|
|
4390
|
+
plaintextHash: string;
|
|
4391
|
+
msgType: 1 | 3;
|
|
4392
|
+
proof?: string | undefined;
|
|
4393
|
+
receivedAt?: number | undefined;
|
|
4394
|
+
serverTimestamp?: number | undefined;
|
|
4395
|
+
plaintext?: string | undefined;
|
|
4396
|
+
guardAddress?: string | undefined;
|
|
4397
|
+
passportAddress?: string | undefined;
|
|
4398
|
+
lastReceivedLeafIndex?: number | undefined;
|
|
4399
|
+
leafIndex?: number | undefined;
|
|
4400
|
+
prevRoot?: string | undefined;
|
|
4401
|
+
newRoot?: string | undefined;
|
|
4402
|
+
serverSignature?: string | undefined;
|
|
4403
|
+
serverPublicKey?: string | undefined;
|
|
4404
|
+
arkConfirmed?: {
|
|
4405
|
+
signature: string;
|
|
4406
|
+
recipient: string;
|
|
4407
|
+
timestamp: number;
|
|
4408
|
+
recipientPublicKey: string;
|
|
4409
|
+
} | undefined;
|
|
4410
|
+
zipMetadata?: {
|
|
4411
|
+
fileName: string;
|
|
4412
|
+
fileSize: number;
|
|
4413
|
+
fileHash: string;
|
|
4414
|
+
contentType: "text" | "wip" | "zip" | "wts";
|
|
4415
|
+
localCachePath?: string | undefined;
|
|
4416
|
+
downloadedAt?: number | undefined;
|
|
4417
|
+
} | undefined;
|
|
4418
|
+
decryptError?: string | undefined;
|
|
4419
|
+
decryptAttempts?: number | undefined;
|
|
4420
|
+
lastDecryptAttemptAt?: number | undefined;
|
|
4421
|
+
viewedAt?: number | undefined;
|
|
4422
|
+
}[];
|
|
4423
|
+
operation: "pull_messages";
|
|
4168
4424
|
}>]>;
|
|
4169
4425
|
}, "strip", z.ZodTypeAny, {
|
|
4170
4426
|
result: {
|
|
@@ -4175,7 +4431,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
4175
4431
|
unreadCount: number;
|
|
4176
4432
|
lastMessagePreview?: string | undefined;
|
|
4177
4433
|
previewMessages?: {
|
|
4178
|
-
status: "
|
|
4434
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
4179
4435
|
createdAt: number;
|
|
4180
4436
|
direction: "received" | "sent";
|
|
4181
4437
|
messageId: string;
|
|
@@ -4198,8 +4454,8 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
4198
4454
|
arkConfirmed?: {
|
|
4199
4455
|
signature: string;
|
|
4200
4456
|
recipient: string;
|
|
4201
|
-
recipientPublicKey: string;
|
|
4202
4457
|
timestamp: number;
|
|
4458
|
+
recipientPublicKey: string;
|
|
4203
4459
|
} | undefined;
|
|
4204
4460
|
zipMetadata?: {
|
|
4205
4461
|
fileName: string;
|
|
@@ -4218,7 +4474,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
4218
4474
|
operation: "watch_conversations";
|
|
4219
4475
|
} | {
|
|
4220
4476
|
result: {
|
|
4221
|
-
status: "
|
|
4477
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
4222
4478
|
messageId: string;
|
|
4223
4479
|
lastReceivedLeafIndex?: number | undefined;
|
|
4224
4480
|
merkleData?: {
|
|
@@ -4234,7 +4490,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
4234
4490
|
operation: "send_message";
|
|
4235
4491
|
} | {
|
|
4236
4492
|
result: {
|
|
4237
|
-
status: "
|
|
4493
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
4238
4494
|
messageId: string;
|
|
4239
4495
|
lastReceivedLeafIndex?: number | undefined;
|
|
4240
4496
|
merkleData?: {
|
|
@@ -4250,7 +4506,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
4250
4506
|
operation: "send_file";
|
|
4251
4507
|
} | {
|
|
4252
4508
|
result: {
|
|
4253
|
-
status: "
|
|
4509
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
4254
4510
|
createdAt: number;
|
|
4255
4511
|
direction: "received" | "sent";
|
|
4256
4512
|
messageId: string;
|
|
@@ -4273,8 +4529,8 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
4273
4529
|
arkConfirmed?: {
|
|
4274
4530
|
signature: string;
|
|
4275
4531
|
recipient: string;
|
|
4276
|
-
recipientPublicKey: string;
|
|
4277
4532
|
timestamp: number;
|
|
4533
|
+
recipientPublicKey: string;
|
|
4278
4534
|
} | undefined;
|
|
4279
4535
|
zipMetadata?: {
|
|
4280
4536
|
fileName: string;
|
|
@@ -4407,6 +4663,48 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
4407
4663
|
} | {
|
|
4408
4664
|
result: number;
|
|
4409
4665
|
operation: "mark_conversation_as_viewed";
|
|
4666
|
+
} | {
|
|
4667
|
+
result: {
|
|
4668
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
4669
|
+
createdAt: number;
|
|
4670
|
+
direction: "received" | "sent";
|
|
4671
|
+
messageId: string;
|
|
4672
|
+
fromAddress: string;
|
|
4673
|
+
toAddress: string;
|
|
4674
|
+
plaintextHash: string;
|
|
4675
|
+
msgType: 1 | 3;
|
|
4676
|
+
proof?: string | undefined;
|
|
4677
|
+
receivedAt?: number | undefined;
|
|
4678
|
+
serverTimestamp?: number | undefined;
|
|
4679
|
+
plaintext?: string | undefined;
|
|
4680
|
+
guardAddress?: string | undefined;
|
|
4681
|
+
passportAddress?: string | undefined;
|
|
4682
|
+
lastReceivedLeafIndex?: number | undefined;
|
|
4683
|
+
leafIndex?: number | undefined;
|
|
4684
|
+
prevRoot?: string | undefined;
|
|
4685
|
+
newRoot?: string | undefined;
|
|
4686
|
+
serverSignature?: string | undefined;
|
|
4687
|
+
serverPublicKey?: string | undefined;
|
|
4688
|
+
arkConfirmed?: {
|
|
4689
|
+
signature: string;
|
|
4690
|
+
recipient: string;
|
|
4691
|
+
timestamp: number;
|
|
4692
|
+
recipientPublicKey: string;
|
|
4693
|
+
} | undefined;
|
|
4694
|
+
zipMetadata?: {
|
|
4695
|
+
fileName: string;
|
|
4696
|
+
fileSize: number;
|
|
4697
|
+
fileHash: string;
|
|
4698
|
+
contentType: "text" | "wip" | "zip" | "wts";
|
|
4699
|
+
localCachePath?: string | undefined;
|
|
4700
|
+
downloadedAt?: number | undefined;
|
|
4701
|
+
} | undefined;
|
|
4702
|
+
decryptError?: string | undefined;
|
|
4703
|
+
decryptAttempts?: number | undefined;
|
|
4704
|
+
lastDecryptAttemptAt?: number | undefined;
|
|
4705
|
+
viewedAt?: number | undefined;
|
|
4706
|
+
}[];
|
|
4707
|
+
operation: "pull_messages";
|
|
4410
4708
|
};
|
|
4411
4709
|
}, {
|
|
4412
4710
|
result: {
|
|
@@ -4417,7 +4715,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
4417
4715
|
unreadCount: number;
|
|
4418
4716
|
lastMessagePreview?: string | undefined;
|
|
4419
4717
|
previewMessages?: {
|
|
4420
|
-
status: "
|
|
4718
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
4421
4719
|
createdAt: number;
|
|
4422
4720
|
direction: "received" | "sent";
|
|
4423
4721
|
messageId: string;
|
|
@@ -4440,8 +4738,8 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
4440
4738
|
arkConfirmed?: {
|
|
4441
4739
|
signature: string;
|
|
4442
4740
|
recipient: string;
|
|
4443
|
-
recipientPublicKey: string;
|
|
4444
4741
|
timestamp: number;
|
|
4742
|
+
recipientPublicKey: string;
|
|
4445
4743
|
} | undefined;
|
|
4446
4744
|
zipMetadata?: {
|
|
4447
4745
|
fileName: string;
|
|
@@ -4460,7 +4758,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
4460
4758
|
operation: "watch_conversations";
|
|
4461
4759
|
} | {
|
|
4462
4760
|
result: {
|
|
4463
|
-
status: "
|
|
4761
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
4464
4762
|
messageId: string;
|
|
4465
4763
|
lastReceivedLeafIndex?: number | undefined;
|
|
4466
4764
|
merkleData?: {
|
|
@@ -4476,7 +4774,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
4476
4774
|
operation: "send_message";
|
|
4477
4775
|
} | {
|
|
4478
4776
|
result: {
|
|
4479
|
-
status: "
|
|
4777
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
4480
4778
|
messageId: string;
|
|
4481
4779
|
lastReceivedLeafIndex?: number | undefined;
|
|
4482
4780
|
merkleData?: {
|
|
@@ -4492,7 +4790,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
4492
4790
|
operation: "send_file";
|
|
4493
4791
|
} | {
|
|
4494
4792
|
result: {
|
|
4495
|
-
status: "
|
|
4793
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
4496
4794
|
createdAt: number;
|
|
4497
4795
|
direction: "received" | "sent";
|
|
4498
4796
|
messageId: string;
|
|
@@ -4515,8 +4813,8 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
4515
4813
|
arkConfirmed?: {
|
|
4516
4814
|
signature: string;
|
|
4517
4815
|
recipient: string;
|
|
4518
|
-
recipientPublicKey: string;
|
|
4519
4816
|
timestamp: number;
|
|
4817
|
+
recipientPublicKey: string;
|
|
4520
4818
|
} | undefined;
|
|
4521
4819
|
zipMetadata?: {
|
|
4522
4820
|
fileName: string;
|
|
@@ -4649,6 +4947,48 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
4649
4947
|
} | {
|
|
4650
4948
|
result: number;
|
|
4651
4949
|
operation: "mark_conversation_as_viewed";
|
|
4950
|
+
} | {
|
|
4951
|
+
result: {
|
|
4952
|
+
status: "failed" | "pending" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
4953
|
+
createdAt: number;
|
|
4954
|
+
direction: "received" | "sent";
|
|
4955
|
+
messageId: string;
|
|
4956
|
+
fromAddress: string;
|
|
4957
|
+
toAddress: string;
|
|
4958
|
+
plaintextHash: string;
|
|
4959
|
+
msgType: 1 | 3;
|
|
4960
|
+
proof?: string | undefined;
|
|
4961
|
+
receivedAt?: number | undefined;
|
|
4962
|
+
serverTimestamp?: number | undefined;
|
|
4963
|
+
plaintext?: string | undefined;
|
|
4964
|
+
guardAddress?: string | undefined;
|
|
4965
|
+
passportAddress?: string | undefined;
|
|
4966
|
+
lastReceivedLeafIndex?: number | undefined;
|
|
4967
|
+
leafIndex?: number | undefined;
|
|
4968
|
+
prevRoot?: string | undefined;
|
|
4969
|
+
newRoot?: string | undefined;
|
|
4970
|
+
serverSignature?: string | undefined;
|
|
4971
|
+
serverPublicKey?: string | undefined;
|
|
4972
|
+
arkConfirmed?: {
|
|
4973
|
+
signature: string;
|
|
4974
|
+
recipient: string;
|
|
4975
|
+
timestamp: number;
|
|
4976
|
+
recipientPublicKey: string;
|
|
4977
|
+
} | undefined;
|
|
4978
|
+
zipMetadata?: {
|
|
4979
|
+
fileName: string;
|
|
4980
|
+
fileSize: number;
|
|
4981
|
+
fileHash: string;
|
|
4982
|
+
contentType: "text" | "wip" | "zip" | "wts";
|
|
4983
|
+
localCachePath?: string | undefined;
|
|
4984
|
+
downloadedAt?: number | undefined;
|
|
4985
|
+
} | undefined;
|
|
4986
|
+
decryptError?: string | undefined;
|
|
4987
|
+
decryptAttempts?: number | undefined;
|
|
4988
|
+
lastDecryptAttemptAt?: number | undefined;
|
|
4989
|
+
viewedAt?: number | undefined;
|
|
4990
|
+
}[];
|
|
4991
|
+
operation: "pull_messages";
|
|
4652
4992
|
};
|
|
4653
4993
|
}>;
|
|
4654
4994
|
export type MessengerOperationInput = z.infer<typeof MessengerOperationInputSchema>;
|