@remit/api-zod-schemas 0.0.59 → 0.0.61
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 +35 -6
- package/middleware.d.ts +43 -0
- package/middleware.d.ts.map +1 -0
- package/middleware.js +801 -0
- package/middleware.js.map +1 -0
- package/middleware.ts +918 -0
- package/package.json +6 -2
- package/schemas.d.ts +1757 -435
- package/schemas.d.ts.map +1 -1
- package/schemas.js +496 -459
- package/schemas.js.map +1 -1
- package/schemas.ts +506 -463
package/schemas.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare const AccountExportStateSchema: z.ZodEnum<["Pending", "Processing
|
|
|
7
7
|
export declare const CanonicalMailboxRoleSchema: z.ZodEnum<["Inbox", "Drafts", "Sent", "Archive", "Junk", "Trash", "All", "Flagged"]>;
|
|
8
8
|
export declare const QuarantineFailureStageSchema: z.ZodEnum<["BodyParse"]>;
|
|
9
9
|
export declare const QuarantineFailureCodeSchema: z.ZodEnum<["UnknownCharset", "UnreadableBody"]>;
|
|
10
|
+
export declare const SyncWarningStageSchema: z.ZodEnum<["Header", "Body"]>;
|
|
10
11
|
export declare const AccountConfigStateSchema: z.ZodEnum<["active", "deleting"]>;
|
|
11
12
|
export declare const AccountAuthTypeSchema: z.ZodEnum<["password", "oauthMicrosoft"]>;
|
|
12
13
|
export declare const AccountServiceSchema: z.ZodEnum<["Mail", "Calendar"]>;
|
|
@@ -45,7 +46,6 @@ export declare const MessageStatusSchema: z.ZodEnum<["active", "deleting", "dele
|
|
|
45
46
|
export declare const MessageSyncStatusSchema: z.ZodEnum<["synced", "pending", "failed", "abandoned"]>;
|
|
46
47
|
export declare const MessageMutationSchema: z.ZodEnum<["none", "move", "delete", "copy"]>;
|
|
47
48
|
export declare const PlacementActionSchema: z.ZodEnum<["MoveToInbox", "MoveToJunk"]>;
|
|
48
|
-
export declare const SemanticSearchChunkTypeSchema: z.ZodEnum<["sender", "recipient", "subject", "attachment", "body", "entities"]>;
|
|
49
49
|
export declare const OutboxMessageStatusSchema: z.ZodEnum<["draft", "queued", "sending", "sent", "unfiled", "failed", "blocked"]>;
|
|
50
50
|
export declare const OutboxAttachmentStateSchema: z.ZodEnum<["Pending", "Stored"]>;
|
|
51
51
|
export declare const OutboxAttachmentRejectionReasonSchema: z.ZodEnum<["EmptyFile", "UnusableFilename", "FileTooLarge", "MessageTooLarge", "TooManyAttachments", "ReservationExpired", "UploadMissing", "SizeMismatch"]>;
|
|
@@ -75,21 +75,22 @@ export declare const SenderOverrideSchema: z.ZodEnum<["none", "blocked", "neverS
|
|
|
75
75
|
export declare const AccountSettingNameSchema: z.ZodEnum<["Theme", "Density", "DefaultComposerFormat", "PinnedFolders", "AccountSignaturePlainText", "AccountSignatureHtml", "AccountDisplayName", "AccountMuted", "AccountComposeLanguages", "MailboxDisplayName", "MailboxMuted", "FolderRoleAppointment", "FolderRoleAppointmentLabel", "MailboxRole"]>;
|
|
76
76
|
export declare const ConfigImportStateSchema: z.ZodEnum<["Pending", "Complete"]>;
|
|
77
77
|
export declare const ConfigImportRefKindSchema: z.ZodEnum<["FolderRole", "MailboxOverride", "FilterAction"]>;
|
|
78
|
+
export declare const SyncWarningStateSchema: z.ZodEnum<["Retrying", "GaveUp"]>;
|
|
78
79
|
export declare const MessagePlacementMoveStateSchema: z.ZodEnum<["pending", "queued", "processing", "processed"]>;
|
|
79
80
|
export declare const FlagPushOperationSchema: z.ZodEnum<["add", "remove"]>;
|
|
80
81
|
export declare const MessageFlagPushStateSchema: z.ZodEnum<["pending", "queued", "processing", "processed"]>;
|
|
81
82
|
export declare const CognitoAuthorizerSchema: z.ZodObject<{
|
|
82
|
-
type: z.
|
|
83
|
-
in: z.
|
|
83
|
+
type: z.ZodLiteral<"apiKey">;
|
|
84
|
+
in: z.ZodLiteral<"header">;
|
|
84
85
|
name: z.ZodLiteral<"Authorization">;
|
|
85
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
|
+
type: "apiKey";
|
|
88
|
+
in: "header";
|
|
86
89
|
name: "Authorization";
|
|
87
|
-
type?: unknown;
|
|
88
|
-
in?: unknown;
|
|
89
90
|
}, {
|
|
91
|
+
type: "apiKey";
|
|
92
|
+
in: "header";
|
|
90
93
|
name: "Authorization";
|
|
91
|
-
type?: unknown;
|
|
92
|
-
in?: unknown;
|
|
93
94
|
}>;
|
|
94
95
|
export declare const ApiErrorSchema: z.ZodObject<{
|
|
95
96
|
code: z.ZodString;
|
|
@@ -307,7 +308,23 @@ export declare const PreconditionFailedErrorSchema: z.ZodObject<{
|
|
|
307
308
|
statusCode: 412;
|
|
308
309
|
details?: Record<string, string> | undefined;
|
|
309
310
|
}>;
|
|
310
|
-
export declare const
|
|
311
|
+
export declare const MessageNotFoundErrorSchema: z.ZodObject<{
|
|
312
|
+
statusCode: z.ZodLiteral<404>;
|
|
313
|
+
code: z.ZodString;
|
|
314
|
+
message: z.ZodString;
|
|
315
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
316
|
+
}, "strip", z.ZodTypeAny, {
|
|
317
|
+
code: string;
|
|
318
|
+
message: string;
|
|
319
|
+
statusCode: 404;
|
|
320
|
+
details?: Record<string, string> | undefined;
|
|
321
|
+
}, {
|
|
322
|
+
code: string;
|
|
323
|
+
message: string;
|
|
324
|
+
statusCode: 404;
|
|
325
|
+
details?: Record<string, string> | undefined;
|
|
326
|
+
}>;
|
|
327
|
+
export declare const MessagePlacementConflictSchema: z.ZodObject<{
|
|
311
328
|
statusCode: z.ZodLiteral<409>;
|
|
312
329
|
code: z.ZodString;
|
|
313
330
|
message: z.ZodString;
|
|
@@ -323,7 +340,7 @@ export declare const DeleteMessagesConflictSchema: z.ZodObject<{
|
|
|
323
340
|
statusCode: 409;
|
|
324
341
|
details?: Record<string, string> | undefined;
|
|
325
342
|
}>;
|
|
326
|
-
export declare const
|
|
343
|
+
export declare const DeleteMessagesConflictSchema: z.ZodObject<{
|
|
327
344
|
statusCode: z.ZodLiteral<409>;
|
|
328
345
|
code: z.ZodString;
|
|
329
346
|
message: z.ZodString;
|
|
@@ -654,6 +671,37 @@ export declare const QuarantineResponseSchema: z.ZodObject<{
|
|
|
654
671
|
sizeBytes?: number | undefined;
|
|
655
672
|
messageIdHash?: string | undefined;
|
|
656
673
|
}>;
|
|
674
|
+
export declare const SyncWarningResponseSchema: z.ZodObject<{
|
|
675
|
+
syncWarningId: z.ZodString;
|
|
676
|
+
accountConfigId: z.ZodString;
|
|
677
|
+
accountId: z.ZodString;
|
|
678
|
+
mailboxId: z.ZodString;
|
|
679
|
+
uidValidity: z.ZodNumber;
|
|
680
|
+
uid: z.ZodNumber;
|
|
681
|
+
stage: z.ZodEnum<["Header", "Body"]>;
|
|
682
|
+
attempts: z.ZodNumber;
|
|
683
|
+
createdAt: z.ZodNumber;
|
|
684
|
+
}, "strip", z.ZodTypeAny, {
|
|
685
|
+
accountConfigId: string;
|
|
686
|
+
createdAt: number;
|
|
687
|
+
accountId: string;
|
|
688
|
+
mailboxId: string;
|
|
689
|
+
uidValidity: number;
|
|
690
|
+
uid: number;
|
|
691
|
+
attempts: number;
|
|
692
|
+
syncWarningId: string;
|
|
693
|
+
stage: "Header" | "Body";
|
|
694
|
+
}, {
|
|
695
|
+
accountConfigId: string;
|
|
696
|
+
createdAt: number;
|
|
697
|
+
accountId: string;
|
|
698
|
+
mailboxId: string;
|
|
699
|
+
uidValidity: number;
|
|
700
|
+
uid: number;
|
|
701
|
+
attempts: number;
|
|
702
|
+
syncWarningId: string;
|
|
703
|
+
stage: "Header" | "Body";
|
|
704
|
+
}>;
|
|
657
705
|
export declare const QuarantineListResponseSchema: z.ZodObject<{
|
|
658
706
|
entries: z.ZodArray<z.ZodObject<{
|
|
659
707
|
quarantineId: z.ZodString;
|
|
@@ -743,6 +791,38 @@ export declare const QuarantineListResponseSchema: z.ZodObject<{
|
|
|
743
791
|
sizeBytes?: number | undefined;
|
|
744
792
|
messageIdHash?: string | undefined;
|
|
745
793
|
}>, "many">;
|
|
794
|
+
warnings: z.ZodArray<z.ZodObject<{
|
|
795
|
+
syncWarningId: z.ZodString;
|
|
796
|
+
accountConfigId: z.ZodString;
|
|
797
|
+
accountId: z.ZodString;
|
|
798
|
+
mailboxId: z.ZodString;
|
|
799
|
+
uidValidity: z.ZodNumber;
|
|
800
|
+
uid: z.ZodNumber;
|
|
801
|
+
stage: z.ZodEnum<["Header", "Body"]>;
|
|
802
|
+
attempts: z.ZodNumber;
|
|
803
|
+
createdAt: z.ZodNumber;
|
|
804
|
+
}, "strip", z.ZodTypeAny, {
|
|
805
|
+
accountConfigId: string;
|
|
806
|
+
createdAt: number;
|
|
807
|
+
accountId: string;
|
|
808
|
+
mailboxId: string;
|
|
809
|
+
uidValidity: number;
|
|
810
|
+
uid: number;
|
|
811
|
+
attempts: number;
|
|
812
|
+
syncWarningId: string;
|
|
813
|
+
stage: "Header" | "Body";
|
|
814
|
+
}, {
|
|
815
|
+
accountConfigId: string;
|
|
816
|
+
createdAt: number;
|
|
817
|
+
accountId: string;
|
|
818
|
+
mailboxId: string;
|
|
819
|
+
uidValidity: number;
|
|
820
|
+
uid: number;
|
|
821
|
+
attempts: number;
|
|
822
|
+
syncWarningId: string;
|
|
823
|
+
stage: "Header" | "Body";
|
|
824
|
+
}>, "many">;
|
|
825
|
+
warningsTotal: z.ZodNumber;
|
|
746
826
|
}, "strip", z.ZodTypeAny, {
|
|
747
827
|
entries: {
|
|
748
828
|
accountConfigId: string;
|
|
@@ -772,6 +852,18 @@ export declare const QuarantineListResponseSchema: z.ZodObject<{
|
|
|
772
852
|
sizeBytes?: number | undefined;
|
|
773
853
|
messageIdHash?: string | undefined;
|
|
774
854
|
}[];
|
|
855
|
+
warnings: {
|
|
856
|
+
accountConfigId: string;
|
|
857
|
+
createdAt: number;
|
|
858
|
+
accountId: string;
|
|
859
|
+
mailboxId: string;
|
|
860
|
+
uidValidity: number;
|
|
861
|
+
uid: number;
|
|
862
|
+
attempts: number;
|
|
863
|
+
syncWarningId: string;
|
|
864
|
+
stage: "Header" | "Body";
|
|
865
|
+
}[];
|
|
866
|
+
warningsTotal: number;
|
|
775
867
|
}, {
|
|
776
868
|
entries: {
|
|
777
869
|
accountConfigId: string;
|
|
@@ -801,6 +893,18 @@ export declare const QuarantineListResponseSchema: z.ZodObject<{
|
|
|
801
893
|
sizeBytes?: number | undefined;
|
|
802
894
|
messageIdHash?: string | undefined;
|
|
803
895
|
}[];
|
|
896
|
+
warnings: {
|
|
897
|
+
accountConfigId: string;
|
|
898
|
+
createdAt: number;
|
|
899
|
+
accountId: string;
|
|
900
|
+
mailboxId: string;
|
|
901
|
+
uidValidity: number;
|
|
902
|
+
uid: number;
|
|
903
|
+
attempts: number;
|
|
904
|
+
syncWarningId: string;
|
|
905
|
+
stage: "Header" | "Body";
|
|
906
|
+
}[];
|
|
907
|
+
warningsTotal: number;
|
|
804
908
|
}>;
|
|
805
909
|
export declare const QuarantineSchema: z.ZodObject<{
|
|
806
910
|
quarantineId: z.ZodString;
|
|
@@ -890,6 +994,37 @@ export declare const QuarantineSchema: z.ZodObject<{
|
|
|
890
994
|
sizeBytes?: number | undefined;
|
|
891
995
|
messageIdHash?: string | undefined;
|
|
892
996
|
}>;
|
|
997
|
+
export declare const SyncWarningSchema: z.ZodObject<{
|
|
998
|
+
syncWarningId: z.ZodString;
|
|
999
|
+
accountConfigId: z.ZodString;
|
|
1000
|
+
accountId: z.ZodString;
|
|
1001
|
+
mailboxId: z.ZodString;
|
|
1002
|
+
uidValidity: z.ZodNumber;
|
|
1003
|
+
uid: z.ZodNumber;
|
|
1004
|
+
stage: z.ZodEnum<["Header", "Body"]>;
|
|
1005
|
+
attempts: z.ZodNumber;
|
|
1006
|
+
createdAt: z.ZodNumber;
|
|
1007
|
+
}, "strip", z.ZodTypeAny, {
|
|
1008
|
+
accountConfigId: string;
|
|
1009
|
+
createdAt: number;
|
|
1010
|
+
accountId: string;
|
|
1011
|
+
mailboxId: string;
|
|
1012
|
+
uidValidity: number;
|
|
1013
|
+
uid: number;
|
|
1014
|
+
attempts: number;
|
|
1015
|
+
syncWarningId: string;
|
|
1016
|
+
stage: "Header" | "Body";
|
|
1017
|
+
}, {
|
|
1018
|
+
accountConfigId: string;
|
|
1019
|
+
createdAt: number;
|
|
1020
|
+
accountId: string;
|
|
1021
|
+
mailboxId: string;
|
|
1022
|
+
uidValidity: number;
|
|
1023
|
+
uid: number;
|
|
1024
|
+
attempts: number;
|
|
1025
|
+
syncWarningId: string;
|
|
1026
|
+
stage: "Header" | "Body";
|
|
1027
|
+
}>;
|
|
893
1028
|
export declare const AccountConfigResponseSchema: z.ZodObject<{
|
|
894
1029
|
accountConfigId: z.ZodString;
|
|
895
1030
|
userId: z.ZodString;
|
|
@@ -1321,6 +1456,7 @@ export declare const ConfigDescriptionResponseSchema: z.ZodObject<{
|
|
|
1321
1456
|
signatureHtml?: string | undefined;
|
|
1322
1457
|
composeLanguages?: string[] | undefined;
|
|
1323
1458
|
}>, "many">;
|
|
1459
|
+
buildCommit: z.ZodString;
|
|
1324
1460
|
pendingImport: z.ZodOptional<z.ZodObject<{
|
|
1325
1461
|
importId: z.ZodString;
|
|
1326
1462
|
folderPaths: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1331,7 +1467,6 @@ export declare const ConfigDescriptionResponseSchema: z.ZodObject<{
|
|
|
1331
1467
|
importId: string;
|
|
1332
1468
|
folderPaths: string[];
|
|
1333
1469
|
}>>;
|
|
1334
|
-
semanticSearchEnabled: z.ZodBoolean;
|
|
1335
1470
|
}, "strip", z.ZodTypeAny, {
|
|
1336
1471
|
accountConfig: {
|
|
1337
1472
|
accountConfigId: string;
|
|
@@ -1390,7 +1525,7 @@ export declare const ConfigDescriptionResponseSchema: z.ZodObject<{
|
|
|
1390
1525
|
signatureHtml?: string | undefined;
|
|
1391
1526
|
composeLanguages?: string[] | undefined;
|
|
1392
1527
|
}[];
|
|
1393
|
-
|
|
1528
|
+
buildCommit: string;
|
|
1394
1529
|
pendingImport?: {
|
|
1395
1530
|
importId: string;
|
|
1396
1531
|
folderPaths: string[];
|
|
@@ -1453,7 +1588,7 @@ export declare const ConfigDescriptionResponseSchema: z.ZodObject<{
|
|
|
1453
1588
|
signatureHtml?: string | undefined;
|
|
1454
1589
|
composeLanguages?: string[] | undefined;
|
|
1455
1590
|
}[];
|
|
1456
|
-
|
|
1591
|
+
buildCommit: string;
|
|
1457
1592
|
pendingImport?: {
|
|
1458
1593
|
importId: string;
|
|
1459
1594
|
folderPaths: string[];
|
|
@@ -1697,6 +1832,11 @@ export declare const ConfigImportReportSchema: z.ZodObject<{
|
|
|
1697
1832
|
message: string;
|
|
1698
1833
|
details?: Record<string, string> | undefined;
|
|
1699
1834
|
}[];
|
|
1835
|
+
warnings: {
|
|
1836
|
+
code: string;
|
|
1837
|
+
message: string;
|
|
1838
|
+
details?: Record<string, string> | undefined;
|
|
1839
|
+
}[];
|
|
1700
1840
|
schemaVersion: number;
|
|
1701
1841
|
applied: boolean;
|
|
1702
1842
|
items: {
|
|
@@ -1705,11 +1845,6 @@ export declare const ConfigImportReportSchema: z.ZodObject<{
|
|
|
1705
1845
|
verdict: string;
|
|
1706
1846
|
reason?: string | undefined;
|
|
1707
1847
|
}[];
|
|
1708
|
-
warnings: {
|
|
1709
|
-
code: string;
|
|
1710
|
-
message: string;
|
|
1711
|
-
details?: Record<string, string> | undefined;
|
|
1712
|
-
}[];
|
|
1713
1848
|
accountsNeedingCredentials: string[];
|
|
1714
1849
|
importId?: string | undefined;
|
|
1715
1850
|
}, {
|
|
@@ -1719,6 +1854,11 @@ export declare const ConfigImportReportSchema: z.ZodObject<{
|
|
|
1719
1854
|
message: string;
|
|
1720
1855
|
details?: Record<string, string> | undefined;
|
|
1721
1856
|
}[];
|
|
1857
|
+
warnings: {
|
|
1858
|
+
code: string;
|
|
1859
|
+
message: string;
|
|
1860
|
+
details?: Record<string, string> | undefined;
|
|
1861
|
+
}[];
|
|
1722
1862
|
schemaVersion: number;
|
|
1723
1863
|
applied: boolean;
|
|
1724
1864
|
items: {
|
|
@@ -1727,11 +1867,6 @@ export declare const ConfigImportReportSchema: z.ZodObject<{
|
|
|
1727
1867
|
verdict: string;
|
|
1728
1868
|
reason?: string | undefined;
|
|
1729
1869
|
}[];
|
|
1730
|
-
warnings: {
|
|
1731
|
-
code: string;
|
|
1732
|
-
message: string;
|
|
1733
|
-
details?: Record<string, string> | undefined;
|
|
1734
|
-
}[];
|
|
1735
1870
|
accountsNeedingCredentials: string[];
|
|
1736
1871
|
importId?: string | undefined;
|
|
1737
1872
|
}>;
|
|
@@ -1787,7 +1922,7 @@ export declare const SystemUpdateRunSchema: z.ZodObject<{
|
|
|
1787
1922
|
fromVersion: z.ZodString;
|
|
1788
1923
|
targetVersion: z.ZodString;
|
|
1789
1924
|
phase: z.ZodEnum<["checking", "pulling", "snapshotting", "stopping", "starting", "verifying", "committing", "rollingBack", "recovering"]>;
|
|
1790
|
-
outcome: z.ZodUnion<[z.ZodEnum<["succeeded", "rolledBack", "rollbackFailed", "abandoned"]>, z.
|
|
1925
|
+
outcome: z.ZodUnion<[z.ZodEnum<["succeeded", "rolledBack", "rollbackFailed", "abandoned"]>, z.ZodNull]>;
|
|
1791
1926
|
startedAt: z.ZodString;
|
|
1792
1927
|
updatedAt: z.ZodString;
|
|
1793
1928
|
message: z.ZodString;
|
|
@@ -1799,9 +1934,9 @@ export declare const SystemUpdateRunSchema: z.ZodObject<{
|
|
|
1799
1934
|
fromVersion: string;
|
|
1800
1935
|
targetVersion: string;
|
|
1801
1936
|
phase: "checking" | "pulling" | "snapshotting" | "stopping" | "starting" | "verifying" | "committing" | "rollingBack" | "recovering";
|
|
1937
|
+
outcome: "succeeded" | "rolledBack" | "rollbackFailed" | "abandoned" | null;
|
|
1802
1938
|
startedAt: string;
|
|
1803
1939
|
logCommand: string;
|
|
1804
|
-
outcome?: unknown;
|
|
1805
1940
|
}, {
|
|
1806
1941
|
message: string;
|
|
1807
1942
|
updatedAt: string;
|
|
@@ -1809,9 +1944,9 @@ export declare const SystemUpdateRunSchema: z.ZodObject<{
|
|
|
1809
1944
|
fromVersion: string;
|
|
1810
1945
|
targetVersion: string;
|
|
1811
1946
|
phase: "checking" | "pulling" | "snapshotting" | "stopping" | "starting" | "verifying" | "committing" | "rollingBack" | "recovering";
|
|
1947
|
+
outcome: "succeeded" | "rolledBack" | "rollbackFailed" | "abandoned" | null;
|
|
1812
1948
|
startedAt: string;
|
|
1813
1949
|
logCommand: string;
|
|
1814
|
-
outcome?: unknown;
|
|
1815
1950
|
}>;
|
|
1816
1951
|
export declare const SystemUpdateResponseSchema: z.ZodObject<{
|
|
1817
1952
|
currentVersion: z.ZodString;
|
|
@@ -1852,7 +1987,7 @@ export declare const SystemUpdateResponseSchema: z.ZodObject<{
|
|
|
1852
1987
|
fromVersion: z.ZodString;
|
|
1853
1988
|
targetVersion: z.ZodString;
|
|
1854
1989
|
phase: z.ZodEnum<["checking", "pulling", "snapshotting", "stopping", "starting", "verifying", "committing", "rollingBack", "recovering"]>;
|
|
1855
|
-
outcome: z.ZodUnion<[z.ZodEnum<["succeeded", "rolledBack", "rollbackFailed", "abandoned"]>, z.
|
|
1990
|
+
outcome: z.ZodUnion<[z.ZodEnum<["succeeded", "rolledBack", "rollbackFailed", "abandoned"]>, z.ZodNull]>;
|
|
1856
1991
|
startedAt: z.ZodString;
|
|
1857
1992
|
updatedAt: z.ZodString;
|
|
1858
1993
|
message: z.ZodString;
|
|
@@ -1864,9 +1999,9 @@ export declare const SystemUpdateResponseSchema: z.ZodObject<{
|
|
|
1864
1999
|
fromVersion: string;
|
|
1865
2000
|
targetVersion: string;
|
|
1866
2001
|
phase: "checking" | "pulling" | "snapshotting" | "stopping" | "starting" | "verifying" | "committing" | "rollingBack" | "recovering";
|
|
2002
|
+
outcome: "succeeded" | "rolledBack" | "rollbackFailed" | "abandoned" | null;
|
|
1867
2003
|
startedAt: string;
|
|
1868
2004
|
logCommand: string;
|
|
1869
|
-
outcome?: unknown;
|
|
1870
2005
|
}, {
|
|
1871
2006
|
message: string;
|
|
1872
2007
|
updatedAt: string;
|
|
@@ -1874,10 +2009,10 @@ export declare const SystemUpdateResponseSchema: z.ZodObject<{
|
|
|
1874
2009
|
fromVersion: string;
|
|
1875
2010
|
targetVersion: string;
|
|
1876
2011
|
phase: "checking" | "pulling" | "snapshotting" | "stopping" | "starting" | "verifying" | "committing" | "rollingBack" | "recovering";
|
|
2012
|
+
outcome: "succeeded" | "rolledBack" | "rollbackFailed" | "abandoned" | null;
|
|
1877
2013
|
startedAt: string;
|
|
1878
2014
|
logCommand: string;
|
|
1879
|
-
|
|
1880
|
-
}>, z.ZodUnknown]>;
|
|
2015
|
+
}>, z.ZodNull]>;
|
|
1881
2016
|
}, "strip", z.ZodTypeAny, {
|
|
1882
2017
|
currentVersion: string;
|
|
1883
2018
|
check: {
|
|
@@ -1891,8 +2026,18 @@ export declare const SystemUpdateResponseSchema: z.ZodObject<{
|
|
|
1891
2026
|
releaseNotesUrl?: string | undefined;
|
|
1892
2027
|
updateAvailable?: boolean | undefined;
|
|
1893
2028
|
};
|
|
2029
|
+
run: {
|
|
2030
|
+
message: string;
|
|
2031
|
+
updatedAt: string;
|
|
2032
|
+
runId: string;
|
|
2033
|
+
fromVersion: string;
|
|
2034
|
+
targetVersion: string;
|
|
2035
|
+
phase: "checking" | "pulling" | "snapshotting" | "stopping" | "starting" | "verifying" | "committing" | "rollingBack" | "recovering";
|
|
2036
|
+
outcome: "succeeded" | "rolledBack" | "rollbackFailed" | "abandoned" | null;
|
|
2037
|
+
startedAt: string;
|
|
2038
|
+
logCommand: string;
|
|
2039
|
+
} | null;
|
|
1894
2040
|
currentSchemaVersion?: number | undefined;
|
|
1895
|
-
run?: unknown;
|
|
1896
2041
|
}, {
|
|
1897
2042
|
currentVersion: string;
|
|
1898
2043
|
check: {
|
|
@@ -1906,8 +2051,18 @@ export declare const SystemUpdateResponseSchema: z.ZodObject<{
|
|
|
1906
2051
|
releaseNotesUrl?: string | undefined;
|
|
1907
2052
|
updateAvailable?: boolean | undefined;
|
|
1908
2053
|
};
|
|
2054
|
+
run: {
|
|
2055
|
+
message: string;
|
|
2056
|
+
updatedAt: string;
|
|
2057
|
+
runId: string;
|
|
2058
|
+
fromVersion: string;
|
|
2059
|
+
targetVersion: string;
|
|
2060
|
+
phase: "checking" | "pulling" | "snapshotting" | "stopping" | "starting" | "verifying" | "committing" | "rollingBack" | "recovering";
|
|
2061
|
+
outcome: "succeeded" | "rolledBack" | "rollbackFailed" | "abandoned" | null;
|
|
2062
|
+
startedAt: string;
|
|
2063
|
+
logCommand: string;
|
|
2064
|
+
} | null;
|
|
1909
2065
|
currentSchemaVersion?: number | undefined;
|
|
1910
|
-
run?: unknown;
|
|
1911
2066
|
}>;
|
|
1912
2067
|
export declare const ApplyUpdateInputSchema: z.ZodObject<{
|
|
1913
2068
|
targetVersion: z.ZodString;
|
|
@@ -2089,6 +2244,163 @@ export declare const MailboxResponseSchema: z.ZodObject<{
|
|
|
2089
2244
|
specialUse?: ("Drafts" | "Sent" | "Archive" | "Junk" | "Trash" | "All" | "Flagged" | "Important")[] | undefined;
|
|
2090
2245
|
displayNameOverride?: string | undefined;
|
|
2091
2246
|
}>;
|
|
2247
|
+
export declare const MailboxListResponseSchema: z.ZodObject<{
|
|
2248
|
+
continuationToken: z.ZodOptional<z.ZodString>;
|
|
2249
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2250
|
+
mailboxId: z.ZodString;
|
|
2251
|
+
accountId: z.ZodString;
|
|
2252
|
+
namespaceType: z.ZodEnum<["personal", "other_users", "shared"]>;
|
|
2253
|
+
namespacePrefix: z.ZodString;
|
|
2254
|
+
hierarchyDelimiter: z.ZodString;
|
|
2255
|
+
fullPath: z.ZodString;
|
|
2256
|
+
messageCount: z.ZodNumber;
|
|
2257
|
+
unseenCount: z.ZodNumber;
|
|
2258
|
+
deletedCount: z.ZodNumber;
|
|
2259
|
+
lastSyncUid: z.ZodNumber;
|
|
2260
|
+
highWaterMarkUid: z.ZodNumber;
|
|
2261
|
+
lastMessageSyncAt: z.ZodNumber;
|
|
2262
|
+
syncStatus: z.ZodEnum<["synced", "pending", "failed", "deleting"]>;
|
|
2263
|
+
pendingPath: z.ZodOptional<z.ZodString>;
|
|
2264
|
+
syncFailureReason: z.ZodString;
|
|
2265
|
+
specialUse: z.ZodOptional<z.ZodArray<z.ZodEnum<["All", "Archive", "Drafts", "Flagged", "Junk", "Sent", "Trash", "Important"]>, "many">>;
|
|
2266
|
+
createdAt: z.ZodNumber;
|
|
2267
|
+
updatedAt: z.ZodNumber;
|
|
2268
|
+
muted: z.ZodOptional<z.ZodObject<{
|
|
2269
|
+
setAt: z.ZodNumber;
|
|
2270
|
+
setBy: z.ZodOptional<z.ZodString>;
|
|
2271
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
2272
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2273
|
+
value: z.ZodBoolean;
|
|
2274
|
+
}, "strip", z.ZodTypeAny, {
|
|
2275
|
+
value: boolean;
|
|
2276
|
+
setAt: number;
|
|
2277
|
+
expiresAt?: number | undefined;
|
|
2278
|
+
setBy?: string | undefined;
|
|
2279
|
+
reason?: string | undefined;
|
|
2280
|
+
}, {
|
|
2281
|
+
value: boolean;
|
|
2282
|
+
setAt: number;
|
|
2283
|
+
expiresAt?: number | undefined;
|
|
2284
|
+
setBy?: string | undefined;
|
|
2285
|
+
reason?: string | undefined;
|
|
2286
|
+
}>>;
|
|
2287
|
+
displayNameOverride: z.ZodOptional<z.ZodString>;
|
|
2288
|
+
}, "strip", z.ZodTypeAny, {
|
|
2289
|
+
createdAt: number;
|
|
2290
|
+
updatedAt: number;
|
|
2291
|
+
accountId: string;
|
|
2292
|
+
mailboxId: string;
|
|
2293
|
+
namespaceType: "personal" | "other_users" | "shared";
|
|
2294
|
+
namespacePrefix: string;
|
|
2295
|
+
hierarchyDelimiter: string;
|
|
2296
|
+
fullPath: string;
|
|
2297
|
+
messageCount: number;
|
|
2298
|
+
unseenCount: number;
|
|
2299
|
+
deletedCount: number;
|
|
2300
|
+
lastSyncUid: number;
|
|
2301
|
+
highWaterMarkUid: number;
|
|
2302
|
+
lastMessageSyncAt: number;
|
|
2303
|
+
syncStatus: "deleting" | "failed" | "synced" | "pending";
|
|
2304
|
+
syncFailureReason: string;
|
|
2305
|
+
muted?: {
|
|
2306
|
+
value: boolean;
|
|
2307
|
+
setAt: number;
|
|
2308
|
+
expiresAt?: number | undefined;
|
|
2309
|
+
setBy?: string | undefined;
|
|
2310
|
+
reason?: string | undefined;
|
|
2311
|
+
} | undefined;
|
|
2312
|
+
pendingPath?: string | undefined;
|
|
2313
|
+
specialUse?: ("Drafts" | "Sent" | "Archive" | "Junk" | "Trash" | "All" | "Flagged" | "Important")[] | undefined;
|
|
2314
|
+
displayNameOverride?: string | undefined;
|
|
2315
|
+
}, {
|
|
2316
|
+
createdAt: number;
|
|
2317
|
+
updatedAt: number;
|
|
2318
|
+
accountId: string;
|
|
2319
|
+
mailboxId: string;
|
|
2320
|
+
namespaceType: "personal" | "other_users" | "shared";
|
|
2321
|
+
namespacePrefix: string;
|
|
2322
|
+
hierarchyDelimiter: string;
|
|
2323
|
+
fullPath: string;
|
|
2324
|
+
messageCount: number;
|
|
2325
|
+
unseenCount: number;
|
|
2326
|
+
deletedCount: number;
|
|
2327
|
+
lastSyncUid: number;
|
|
2328
|
+
highWaterMarkUid: number;
|
|
2329
|
+
lastMessageSyncAt: number;
|
|
2330
|
+
syncStatus: "deleting" | "failed" | "synced" | "pending";
|
|
2331
|
+
syncFailureReason: string;
|
|
2332
|
+
muted?: {
|
|
2333
|
+
value: boolean;
|
|
2334
|
+
setAt: number;
|
|
2335
|
+
expiresAt?: number | undefined;
|
|
2336
|
+
setBy?: string | undefined;
|
|
2337
|
+
reason?: string | undefined;
|
|
2338
|
+
} | undefined;
|
|
2339
|
+
pendingPath?: string | undefined;
|
|
2340
|
+
specialUse?: ("Drafts" | "Sent" | "Archive" | "Junk" | "Trash" | "All" | "Flagged" | "Important")[] | undefined;
|
|
2341
|
+
displayNameOverride?: string | undefined;
|
|
2342
|
+
}>, "many">;
|
|
2343
|
+
}, "strip", z.ZodTypeAny, {
|
|
2344
|
+
items: {
|
|
2345
|
+
createdAt: number;
|
|
2346
|
+
updatedAt: number;
|
|
2347
|
+
accountId: string;
|
|
2348
|
+
mailboxId: string;
|
|
2349
|
+
namespaceType: "personal" | "other_users" | "shared";
|
|
2350
|
+
namespacePrefix: string;
|
|
2351
|
+
hierarchyDelimiter: string;
|
|
2352
|
+
fullPath: string;
|
|
2353
|
+
messageCount: number;
|
|
2354
|
+
unseenCount: number;
|
|
2355
|
+
deletedCount: number;
|
|
2356
|
+
lastSyncUid: number;
|
|
2357
|
+
highWaterMarkUid: number;
|
|
2358
|
+
lastMessageSyncAt: number;
|
|
2359
|
+
syncStatus: "deleting" | "failed" | "synced" | "pending";
|
|
2360
|
+
syncFailureReason: string;
|
|
2361
|
+
muted?: {
|
|
2362
|
+
value: boolean;
|
|
2363
|
+
setAt: number;
|
|
2364
|
+
expiresAt?: number | undefined;
|
|
2365
|
+
setBy?: string | undefined;
|
|
2366
|
+
reason?: string | undefined;
|
|
2367
|
+
} | undefined;
|
|
2368
|
+
pendingPath?: string | undefined;
|
|
2369
|
+
specialUse?: ("Drafts" | "Sent" | "Archive" | "Junk" | "Trash" | "All" | "Flagged" | "Important")[] | undefined;
|
|
2370
|
+
displayNameOverride?: string | undefined;
|
|
2371
|
+
}[];
|
|
2372
|
+
continuationToken?: string | undefined;
|
|
2373
|
+
}, {
|
|
2374
|
+
items: {
|
|
2375
|
+
createdAt: number;
|
|
2376
|
+
updatedAt: number;
|
|
2377
|
+
accountId: string;
|
|
2378
|
+
mailboxId: string;
|
|
2379
|
+
namespaceType: "personal" | "other_users" | "shared";
|
|
2380
|
+
namespacePrefix: string;
|
|
2381
|
+
hierarchyDelimiter: string;
|
|
2382
|
+
fullPath: string;
|
|
2383
|
+
messageCount: number;
|
|
2384
|
+
unseenCount: number;
|
|
2385
|
+
deletedCount: number;
|
|
2386
|
+
lastSyncUid: number;
|
|
2387
|
+
highWaterMarkUid: number;
|
|
2388
|
+
lastMessageSyncAt: number;
|
|
2389
|
+
syncStatus: "deleting" | "failed" | "synced" | "pending";
|
|
2390
|
+
syncFailureReason: string;
|
|
2391
|
+
muted?: {
|
|
2392
|
+
value: boolean;
|
|
2393
|
+
setAt: number;
|
|
2394
|
+
expiresAt?: number | undefined;
|
|
2395
|
+
setBy?: string | undefined;
|
|
2396
|
+
reason?: string | undefined;
|
|
2397
|
+
} | undefined;
|
|
2398
|
+
pendingPath?: string | undefined;
|
|
2399
|
+
specialUse?: ("Drafts" | "Sent" | "Archive" | "Junk" | "Trash" | "All" | "Flagged" | "Important")[] | undefined;
|
|
2400
|
+
displayNameOverride?: string | undefined;
|
|
2401
|
+
}[];
|
|
2402
|
+
continuationToken?: string | undefined;
|
|
2403
|
+
}>;
|
|
2092
2404
|
export declare const CreateMailboxInputSchema: z.ZodObject<{
|
|
2093
2405
|
namespaceType: z.ZodEnum<["personal", "other_users", "shared"]>;
|
|
2094
2406
|
fullPath: z.ZodString;
|
|
@@ -2119,23 +2431,35 @@ export declare const RenameMailboxInputSchema: z.ZodObject<{
|
|
|
2119
2431
|
expiresAt?: number | undefined;
|
|
2120
2432
|
setBy?: string | undefined;
|
|
2121
2433
|
reason?: string | undefined;
|
|
2122
|
-
}>, z.
|
|
2123
|
-
displayNameOverride: z.ZodOptional<z.ZodUnion<[z.ZodString, z.
|
|
2434
|
+
}>, z.ZodNull]>>;
|
|
2435
|
+
displayNameOverride: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
2124
2436
|
}, "strip", z.ZodTypeAny, {
|
|
2125
|
-
muted?:
|
|
2437
|
+
muted?: {
|
|
2438
|
+
value: boolean;
|
|
2439
|
+
setAt: number;
|
|
2440
|
+
expiresAt?: number | undefined;
|
|
2441
|
+
setBy?: string | undefined;
|
|
2442
|
+
reason?: string | undefined;
|
|
2443
|
+
} | null | undefined;
|
|
2126
2444
|
fullPath?: string | undefined;
|
|
2127
|
-
displayNameOverride?:
|
|
2445
|
+
displayNameOverride?: string | null | undefined;
|
|
2128
2446
|
}, {
|
|
2129
|
-
muted?:
|
|
2447
|
+
muted?: {
|
|
2448
|
+
value: boolean;
|
|
2449
|
+
setAt: number;
|
|
2450
|
+
expiresAt?: number | undefined;
|
|
2451
|
+
setBy?: string | undefined;
|
|
2452
|
+
reason?: string | undefined;
|
|
2453
|
+
} | null | undefined;
|
|
2130
2454
|
fullPath?: string | undefined;
|
|
2131
|
-
displayNameOverride?:
|
|
2455
|
+
displayNameOverride?: string | null | undefined;
|
|
2132
2456
|
}>;
|
|
2133
2457
|
export declare const AppointFolderRoleInputSchema: z.ZodObject<{
|
|
2134
|
-
mailboxId: z.ZodUnion<[z.ZodString, z.
|
|
2458
|
+
mailboxId: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2135
2459
|
}, "strip", z.ZodTypeAny, {
|
|
2136
|
-
mailboxId
|
|
2460
|
+
mailboxId: string | null;
|
|
2137
2461
|
}, {
|
|
2138
|
-
mailboxId
|
|
2462
|
+
mailboxId: string | null;
|
|
2139
2463
|
}>;
|
|
2140
2464
|
export declare const FilterClauseSchema: z.ZodObject<{
|
|
2141
2465
|
field: z.ZodEnum<["From", "Subject", "HasWords", "ListId", "FromDomain"]>;
|
|
@@ -2156,7 +2480,6 @@ export declare const FilterSchema: z.ZodObject<{
|
|
|
2156
2480
|
ttl: z.ZodOptional<z.ZodNumber>;
|
|
2157
2481
|
state: z.ZodEnum<["Active", "Expired", "Disabled"]>;
|
|
2158
2482
|
disabledReason: z.ZodEnum<["None", "UserDisabled", "AwaitingFolder", "FolderCreateFailed", "FolderMissing"]>;
|
|
2159
|
-
hasAnchor: z.ZodBoolean;
|
|
2160
2483
|
ruleChangedAt: z.ZodNumber;
|
|
2161
2484
|
actionChangedAt: z.ZodNumber;
|
|
2162
2485
|
matchOperator: z.ZodEnum<["And", "Or"]>;
|
|
@@ -2183,7 +2506,6 @@ export declare const FilterSchema: z.ZodObject<{
|
|
|
2183
2506
|
filterId: string;
|
|
2184
2507
|
scope: "Standing" | "Temporary";
|
|
2185
2508
|
disabledReason: "None" | "UserDisabled" | "AwaitingFolder" | "FolderCreateFailed" | "FolderMissing";
|
|
2186
|
-
hasAnchor: boolean;
|
|
2187
2509
|
ruleChangedAt: number;
|
|
2188
2510
|
actionChangedAt: number;
|
|
2189
2511
|
matchOperator: "And" | "Or";
|
|
@@ -2204,7 +2526,6 @@ export declare const FilterSchema: z.ZodObject<{
|
|
|
2204
2526
|
filterId: string;
|
|
2205
2527
|
scope: "Standing" | "Temporary";
|
|
2206
2528
|
disabledReason: "None" | "UserDisabled" | "AwaitingFolder" | "FolderCreateFailed" | "FolderMissing";
|
|
2207
|
-
hasAnchor: boolean;
|
|
2208
2529
|
ruleChangedAt: number;
|
|
2209
2530
|
actionChangedAt: number;
|
|
2210
2531
|
matchOperator: "And" | "Or";
|
|
@@ -2225,7 +2546,6 @@ export declare const FilterResponseSchema: z.ZodObject<{
|
|
|
2225
2546
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
2226
2547
|
state: z.ZodEnum<["Active", "Expired", "Disabled"]>;
|
|
2227
2548
|
disabledReason: z.ZodEnum<["None", "UserDisabled", "AwaitingFolder", "FolderCreateFailed", "FolderMissing"]>;
|
|
2228
|
-
hasAnchor: z.ZodBoolean;
|
|
2229
2549
|
ruleChangedAt: z.ZodNumber;
|
|
2230
2550
|
actionChangedAt: z.ZodNumber;
|
|
2231
2551
|
matchOperator: z.ZodEnum<["And", "Or"]>;
|
|
@@ -2252,7 +2572,6 @@ export declare const FilterResponseSchema: z.ZodObject<{
|
|
|
2252
2572
|
filterId: string;
|
|
2253
2573
|
scope: "Standing" | "Temporary";
|
|
2254
2574
|
disabledReason: "None" | "UserDisabled" | "AwaitingFolder" | "FolderCreateFailed" | "FolderMissing";
|
|
2255
|
-
hasAnchor: boolean;
|
|
2256
2575
|
ruleChangedAt: number;
|
|
2257
2576
|
actionChangedAt: number;
|
|
2258
2577
|
matchOperator: "And" | "Or";
|
|
@@ -2272,7 +2591,6 @@ export declare const FilterResponseSchema: z.ZodObject<{
|
|
|
2272
2591
|
filterId: string;
|
|
2273
2592
|
scope: "Standing" | "Temporary";
|
|
2274
2593
|
disabledReason: "None" | "UserDisabled" | "AwaitingFolder" | "FolderCreateFailed" | "FolderMissing";
|
|
2275
|
-
hasAnchor: boolean;
|
|
2276
2594
|
ruleChangedAt: number;
|
|
2277
2595
|
actionChangedAt: number;
|
|
2278
2596
|
matchOperator: "And" | "Or";
|
|
@@ -2301,7 +2619,6 @@ export declare const CreateFilterInputSchema: z.ZodObject<{
|
|
|
2301
2619
|
}>, "many">;
|
|
2302
2620
|
actionLabelId: z.ZodString;
|
|
2303
2621
|
actionMailboxId: z.ZodString;
|
|
2304
|
-
anchorMessageId: z.ZodOptional<z.ZodString>;
|
|
2305
2622
|
}, "strip", z.ZodTypeAny, {
|
|
2306
2623
|
name: string;
|
|
2307
2624
|
scope: "Standing" | "Temporary";
|
|
@@ -2313,7 +2630,6 @@ export declare const CreateFilterInputSchema: z.ZodObject<{
|
|
|
2313
2630
|
actionLabelId: string;
|
|
2314
2631
|
actionMailboxId: string;
|
|
2315
2632
|
expiresAt?: string | undefined;
|
|
2316
|
-
anchorMessageId?: string | undefined;
|
|
2317
2633
|
}, {
|
|
2318
2634
|
name: string;
|
|
2319
2635
|
scope: "Standing" | "Temporary";
|
|
@@ -2325,7 +2641,6 @@ export declare const CreateFilterInputSchema: z.ZodObject<{
|
|
|
2325
2641
|
actionLabelId: string;
|
|
2326
2642
|
actionMailboxId: string;
|
|
2327
2643
|
expiresAt?: string | undefined;
|
|
2328
|
-
anchorMessageId?: string | undefined;
|
|
2329
2644
|
}>;
|
|
2330
2645
|
export declare const CreateFilterResponseSchema: z.ZodObject<{
|
|
2331
2646
|
filterId: z.ZodString;
|
|
@@ -2335,7 +2650,6 @@ export declare const CreateFilterResponseSchema: z.ZodObject<{
|
|
|
2335
2650
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
2336
2651
|
state: z.ZodEnum<["Active", "Expired", "Disabled"]>;
|
|
2337
2652
|
disabledReason: z.ZodEnum<["None", "UserDisabled", "AwaitingFolder", "FolderCreateFailed", "FolderMissing"]>;
|
|
2338
|
-
hasAnchor: z.ZodBoolean;
|
|
2339
2653
|
ruleChangedAt: z.ZodNumber;
|
|
2340
2654
|
actionChangedAt: z.ZodNumber;
|
|
2341
2655
|
matchOperator: z.ZodEnum<["And", "Or"]>;
|
|
@@ -2363,7 +2677,6 @@ export declare const CreateFilterResponseSchema: z.ZodObject<{
|
|
|
2363
2677
|
filterId: string;
|
|
2364
2678
|
scope: "Standing" | "Temporary";
|
|
2365
2679
|
disabledReason: "None" | "UserDisabled" | "AwaitingFolder" | "FolderCreateFailed" | "FolderMissing";
|
|
2366
|
-
hasAnchor: boolean;
|
|
2367
2680
|
ruleChangedAt: number;
|
|
2368
2681
|
actionChangedAt: number;
|
|
2369
2682
|
matchOperator: "And" | "Or";
|
|
@@ -2384,7 +2697,6 @@ export declare const CreateFilterResponseSchema: z.ZodObject<{
|
|
|
2384
2697
|
filterId: string;
|
|
2385
2698
|
scope: "Standing" | "Temporary";
|
|
2386
2699
|
disabledReason: "None" | "UserDisabled" | "AwaitingFolder" | "FolderCreateFailed" | "FolderMissing";
|
|
2387
|
-
hasAnchor: boolean;
|
|
2388
2700
|
ruleChangedAt: number;
|
|
2389
2701
|
actionChangedAt: number;
|
|
2390
2702
|
matchOperator: "And" | "Or";
|
|
@@ -2512,7 +2824,6 @@ export declare const UpdateLabelInputSchema: z.ZodObject<{
|
|
|
2512
2824
|
}>;
|
|
2513
2825
|
export declare const OrganizeInputSchema: z.ZodObject<{
|
|
2514
2826
|
filterId: z.ZodOptional<z.ZodString>;
|
|
2515
|
-
anchorMessageId: z.ZodOptional<z.ZodString>;
|
|
2516
2827
|
matchOperator: z.ZodEnum<["And", "Or"]>;
|
|
2517
2828
|
literalClauses: z.ZodArray<z.ZodObject<{
|
|
2518
2829
|
field: z.ZodEnum<["From", "Subject", "HasWords", "ListId", "FromDomain"]>;
|
|
@@ -2524,7 +2835,6 @@ export declare const OrganizeInputSchema: z.ZodObject<{
|
|
|
2524
2835
|
value: string;
|
|
2525
2836
|
field: "From" | "Subject" | "HasWords" | "ListId" | "FromDomain";
|
|
2526
2837
|
}>, "many">;
|
|
2527
|
-
similarityThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2528
2838
|
actionLabelId: z.ZodString;
|
|
2529
2839
|
actionMailboxId: z.ZodString;
|
|
2530
2840
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2536,8 +2846,6 @@ export declare const OrganizeInputSchema: z.ZodObject<{
|
|
|
2536
2846
|
actionLabelId: string;
|
|
2537
2847
|
actionMailboxId: string;
|
|
2538
2848
|
filterId?: string | undefined;
|
|
2539
|
-
anchorMessageId?: string | undefined;
|
|
2540
|
-
similarityThreshold?: number | undefined;
|
|
2541
2849
|
}, {
|
|
2542
2850
|
matchOperator: "And" | "Or";
|
|
2543
2851
|
literalClauses: {
|
|
@@ -2547,8 +2855,6 @@ export declare const OrganizeInputSchema: z.ZodObject<{
|
|
|
2547
2855
|
actionLabelId: string;
|
|
2548
2856
|
actionMailboxId: string;
|
|
2549
2857
|
filterId?: string | undefined;
|
|
2550
|
-
anchorMessageId?: string | undefined;
|
|
2551
|
-
similarityThreshold?: number | undefined;
|
|
2552
2858
|
}>;
|
|
2553
2859
|
export declare const CreateOrganizeJobResponseSchema: z.ZodObject<{
|
|
2554
2860
|
statusCode: z.ZodLiteral<202>;
|
|
@@ -2566,18 +2872,12 @@ export declare const CreateOrganizeJobResponseSchema: z.ZodObject<{
|
|
|
2566
2872
|
export declare const OrganizePreviewResponseSchema: z.ZodObject<{
|
|
2567
2873
|
matchedCount: z.ZodNumber;
|
|
2568
2874
|
messageIds: z.ZodArray<z.ZodString, "many">;
|
|
2569
|
-
semanticUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
2570
|
-
semanticIndexEmpty: z.ZodOptional<z.ZodBoolean>;
|
|
2571
2875
|
}, "strip", z.ZodTypeAny, {
|
|
2572
2876
|
matchedCount: number;
|
|
2573
2877
|
messageIds: string[];
|
|
2574
|
-
semanticUnavailable?: boolean | undefined;
|
|
2575
|
-
semanticIndexEmpty?: boolean | undefined;
|
|
2576
2878
|
}, {
|
|
2577
2879
|
matchedCount: number;
|
|
2578
2880
|
messageIds: string[];
|
|
2579
|
-
semanticUnavailable?: boolean | undefined;
|
|
2580
|
-
semanticIndexEmpty?: boolean | undefined;
|
|
2581
2881
|
}>;
|
|
2582
2882
|
export declare const OrganizeJobRequestSchema: z.ZodObject<{
|
|
2583
2883
|
organizeJobId: z.ZodString;
|
|
@@ -2585,7 +2885,6 @@ export declare const OrganizeJobRequestSchema: z.ZodObject<{
|
|
|
2585
2885
|
userId: z.ZodString;
|
|
2586
2886
|
state: z.ZodEnum<["Pending", "Running", "Complete", "Failed"]>;
|
|
2587
2887
|
filterId: z.ZodString;
|
|
2588
|
-
anchorMessageId: z.ZodString;
|
|
2589
2888
|
matchOperator: z.ZodEnum<["And", "Or"]>;
|
|
2590
2889
|
literalClauses: z.ZodArray<z.ZodObject<{
|
|
2591
2890
|
field: z.ZodEnum<["From", "Subject", "HasWords", "ListId", "FromDomain"]>;
|
|
@@ -2597,7 +2896,6 @@ export declare const OrganizeJobRequestSchema: z.ZodObject<{
|
|
|
2597
2896
|
value: string;
|
|
2598
2897
|
field: "From" | "Subject" | "HasWords" | "ListId" | "FromDomain";
|
|
2599
2898
|
}>, "many">;
|
|
2600
|
-
similarityThreshold: z.ZodNumber;
|
|
2601
2899
|
actionLabelId: z.ZodString;
|
|
2602
2900
|
actionMailboxId: z.ZodString;
|
|
2603
2901
|
matchedCount: z.ZodNumber;
|
|
@@ -2623,9 +2921,7 @@ export declare const OrganizeJobRequestSchema: z.ZodObject<{
|
|
|
2623
2921
|
}[];
|
|
2624
2922
|
actionLabelId: string;
|
|
2625
2923
|
actionMailboxId: string;
|
|
2626
|
-
anchorMessageId: string;
|
|
2627
2924
|
organizeJobId: string;
|
|
2628
|
-
similarityThreshold: number;
|
|
2629
2925
|
matchedCount: number;
|
|
2630
2926
|
appliedCount: number;
|
|
2631
2927
|
failedCount: number;
|
|
@@ -2645,9 +2941,7 @@ export declare const OrganizeJobRequestSchema: z.ZodObject<{
|
|
|
2645
2941
|
}[];
|
|
2646
2942
|
actionLabelId: string;
|
|
2647
2943
|
actionMailboxId: string;
|
|
2648
|
-
anchorMessageId: string;
|
|
2649
2944
|
organizeJobId: string;
|
|
2650
|
-
similarityThreshold: number;
|
|
2651
2945
|
matchedCount: number;
|
|
2652
2946
|
appliedCount: number;
|
|
2653
2947
|
failedCount: number;
|
|
@@ -2658,7 +2952,6 @@ export declare const OrganizeJobResponseSchema: z.ZodObject<{
|
|
|
2658
2952
|
userId: z.ZodString;
|
|
2659
2953
|
state: z.ZodEnum<["Pending", "Running", "Complete", "Failed"]>;
|
|
2660
2954
|
filterId: z.ZodString;
|
|
2661
|
-
anchorMessageId: z.ZodString;
|
|
2662
2955
|
matchOperator: z.ZodEnum<["And", "Or"]>;
|
|
2663
2956
|
literalClauses: z.ZodArray<z.ZodObject<{
|
|
2664
2957
|
field: z.ZodEnum<["From", "Subject", "HasWords", "ListId", "FromDomain"]>;
|
|
@@ -2670,7 +2963,6 @@ export declare const OrganizeJobResponseSchema: z.ZodObject<{
|
|
|
2670
2963
|
value: string;
|
|
2671
2964
|
field: "From" | "Subject" | "HasWords" | "ListId" | "FromDomain";
|
|
2672
2965
|
}>, "many">;
|
|
2673
|
-
similarityThreshold: z.ZodNumber;
|
|
2674
2966
|
actionLabelId: z.ZodString;
|
|
2675
2967
|
actionMailboxId: z.ZodString;
|
|
2676
2968
|
matchedCount: z.ZodNumber;
|
|
@@ -2694,9 +2986,7 @@ export declare const OrganizeJobResponseSchema: z.ZodObject<{
|
|
|
2694
2986
|
}[];
|
|
2695
2987
|
actionLabelId: string;
|
|
2696
2988
|
actionMailboxId: string;
|
|
2697
|
-
anchorMessageId: string;
|
|
2698
2989
|
organizeJobId: string;
|
|
2699
|
-
similarityThreshold: number;
|
|
2700
2990
|
matchedCount: number;
|
|
2701
2991
|
appliedCount: number;
|
|
2702
2992
|
failedCount: number;
|
|
@@ -2715,9 +3005,7 @@ export declare const OrganizeJobResponseSchema: z.ZodObject<{
|
|
|
2715
3005
|
}[];
|
|
2716
3006
|
actionLabelId: string;
|
|
2717
3007
|
actionMailboxId: string;
|
|
2718
|
-
anchorMessageId: string;
|
|
2719
3008
|
organizeJobId: string;
|
|
2720
|
-
similarityThreshold: number;
|
|
2721
3009
|
matchedCount: number;
|
|
2722
3010
|
appliedCount: number;
|
|
2723
3011
|
failedCount: number;
|
|
@@ -3631,10 +3919,16 @@ export declare const UpdateAccountInputSchema: z.ZodObject<{
|
|
|
3631
3919
|
expiresAt?: number | undefined;
|
|
3632
3920
|
setBy?: string | undefined;
|
|
3633
3921
|
reason?: string | undefined;
|
|
3634
|
-
}>, z.
|
|
3922
|
+
}>, z.ZodNull]>>;
|
|
3635
3923
|
}, "strip", z.ZodTypeAny, {
|
|
3636
3924
|
password?: string | undefined;
|
|
3637
|
-
muted?:
|
|
3925
|
+
muted?: {
|
|
3926
|
+
value: boolean;
|
|
3927
|
+
setAt: number;
|
|
3928
|
+
expiresAt?: number | undefined;
|
|
3929
|
+
setBy?: string | undefined;
|
|
3930
|
+
reason?: string | undefined;
|
|
3931
|
+
} | null | undefined;
|
|
3638
3932
|
displayName?: string | undefined;
|
|
3639
3933
|
syncedServices?: ("Mail" | "Calendar")[] | undefined;
|
|
3640
3934
|
imapHost?: string | undefined;
|
|
@@ -3654,8 +3948,14 @@ export declare const UpdateAccountInputSchema: z.ZodObject<{
|
|
|
3654
3948
|
smtpPassword?: string | undefined;
|
|
3655
3949
|
}, {
|
|
3656
3950
|
password?: string | undefined;
|
|
3657
|
-
muted?:
|
|
3658
|
-
|
|
3951
|
+
muted?: {
|
|
3952
|
+
value: boolean;
|
|
3953
|
+
setAt: number;
|
|
3954
|
+
expiresAt?: number | undefined;
|
|
3955
|
+
setBy?: string | undefined;
|
|
3956
|
+
reason?: string | undefined;
|
|
3957
|
+
} | null | undefined;
|
|
3958
|
+
displayName?: string | undefined;
|
|
3659
3959
|
syncedServices?: ("Mail" | "Calendar")[] | undefined;
|
|
3660
3960
|
imapHost?: string | undefined;
|
|
3661
3961
|
imapPort?: number | undefined;
|
|
@@ -3729,11 +4029,11 @@ export declare const ThreadMessageSchema: z.ZodObject<{
|
|
|
3729
4029
|
star: "none" | "yellow" | "orange" | "red" | "purple" | "blue" | "teal" | "green" | "yellow_bang" | "red_bang" | "purple_question" | "blue_info" | "orange_guillemet" | "green_check" | "yellow_check" | "blue_star";
|
|
3730
4030
|
hasStars: boolean;
|
|
3731
4031
|
isDeleted: boolean;
|
|
3732
|
-
subject?: string | undefined;
|
|
3733
4032
|
messageIdHeader?: string | undefined;
|
|
3734
4033
|
inReplyTo?: string | undefined;
|
|
3735
4034
|
fromEmail?: string | undefined;
|
|
3736
4035
|
fromName?: string | undefined;
|
|
4036
|
+
subject?: string | undefined;
|
|
3737
4037
|
listId?: string | undefined;
|
|
3738
4038
|
snippet?: string | undefined;
|
|
3739
4039
|
}, {
|
|
@@ -3754,11 +4054,11 @@ export declare const ThreadMessageSchema: z.ZodObject<{
|
|
|
3754
4054
|
star: "none" | "yellow" | "orange" | "red" | "purple" | "blue" | "teal" | "green" | "yellow_bang" | "red_bang" | "purple_question" | "blue_info" | "orange_guillemet" | "green_check" | "yellow_check" | "blue_star";
|
|
3755
4055
|
hasStars: boolean;
|
|
3756
4056
|
isDeleted: boolean;
|
|
3757
|
-
subject?: string | undefined;
|
|
3758
4057
|
messageIdHeader?: string | undefined;
|
|
3759
4058
|
inReplyTo?: string | undefined;
|
|
3760
4059
|
fromEmail?: string | undefined;
|
|
3761
4060
|
fromName?: string | undefined;
|
|
4061
|
+
subject?: string | undefined;
|
|
3762
4062
|
listId?: string | undefined;
|
|
3763
4063
|
snippet?: string | undefined;
|
|
3764
4064
|
}>;
|
|
@@ -3947,10 +4247,10 @@ export declare const ThreadMessageResponseSchema: z.ZodObject<{
|
|
|
3947
4247
|
isDeleted: boolean;
|
|
3948
4248
|
senderTrust: "unknown" | "wellknown" | "vip";
|
|
3949
4249
|
abandonedMutation: "none" | "move" | "delete" | "copy";
|
|
3950
|
-
subject?: string | undefined;
|
|
3951
4250
|
accountId?: string | undefined;
|
|
3952
4251
|
fromEmail?: string | undefined;
|
|
3953
4252
|
fromName?: string | undefined;
|
|
4253
|
+
subject?: string | undefined;
|
|
3954
4254
|
snippet?: string | undefined;
|
|
3955
4255
|
authenticity?: {
|
|
3956
4256
|
fromDomain: string;
|
|
@@ -3998,10 +4298,10 @@ export declare const ThreadMessageResponseSchema: z.ZodObject<{
|
|
|
3998
4298
|
isDeleted: boolean;
|
|
3999
4299
|
senderTrust: "unknown" | "wellknown" | "vip";
|
|
4000
4300
|
abandonedMutation: "none" | "move" | "delete" | "copy";
|
|
4001
|
-
subject?: string | undefined;
|
|
4002
4301
|
accountId?: string | undefined;
|
|
4003
4302
|
fromEmail?: string | undefined;
|
|
4004
4303
|
fromName?: string | undefined;
|
|
4304
|
+
subject?: string | undefined;
|
|
4005
4305
|
snippet?: string | undefined;
|
|
4006
4306
|
authenticity?: {
|
|
4007
4307
|
fromDomain: string;
|
|
@@ -4030,8 +4330,9 @@ export declare const ThreadMessageResponseSchema: z.ZodObject<{
|
|
|
4030
4330
|
reportedAt: number;
|
|
4031
4331
|
} | undefined;
|
|
4032
4332
|
}>;
|
|
4033
|
-
export declare const
|
|
4034
|
-
|
|
4333
|
+
export declare const ThreadMessageListResponseSchema: z.ZodObject<{
|
|
4334
|
+
continuationToken: z.ZodOptional<z.ZodString>;
|
|
4335
|
+
items: z.ZodArray<z.ZodObject<{
|
|
4035
4336
|
threadMessageId: z.ZodString;
|
|
4036
4337
|
threadId: z.ZodString;
|
|
4037
4338
|
messageId: z.ZodString;
|
|
@@ -4146,10 +4447,10 @@ export declare const ThreadSearchResponseSchema: z.ZodObject<{
|
|
|
4146
4447
|
isDeleted: boolean;
|
|
4147
4448
|
senderTrust: "unknown" | "wellknown" | "vip";
|
|
4148
4449
|
abandonedMutation: "none" | "move" | "delete" | "copy";
|
|
4149
|
-
subject?: string | undefined;
|
|
4150
4450
|
accountId?: string | undefined;
|
|
4151
4451
|
fromEmail?: string | undefined;
|
|
4152
4452
|
fromName?: string | undefined;
|
|
4453
|
+
subject?: string | undefined;
|
|
4153
4454
|
snippet?: string | undefined;
|
|
4154
4455
|
authenticity?: {
|
|
4155
4456
|
fromDomain: string;
|
|
@@ -4197,10 +4498,10 @@ export declare const ThreadSearchResponseSchema: z.ZodObject<{
|
|
|
4197
4498
|
isDeleted: boolean;
|
|
4198
4499
|
senderTrust: "unknown" | "wellknown" | "vip";
|
|
4199
4500
|
abandonedMutation: "none" | "move" | "delete" | "copy";
|
|
4200
|
-
subject?: string | undefined;
|
|
4201
4501
|
accountId?: string | undefined;
|
|
4202
4502
|
fromEmail?: string | undefined;
|
|
4203
4503
|
fromName?: string | undefined;
|
|
4504
|
+
subject?: string | undefined;
|
|
4204
4505
|
snippet?: string | undefined;
|
|
4205
4506
|
authenticity?: {
|
|
4206
4507
|
fromDomain: string;
|
|
@@ -4228,11 +4529,9 @@ export declare const ThreadSearchResponseSchema: z.ZodObject<{
|
|
|
4228
4529
|
spamReport?: {
|
|
4229
4530
|
reportedAt: number;
|
|
4230
4531
|
} | undefined;
|
|
4231
|
-
}>, "many"
|
|
4232
|
-
continuationToken: z.ZodOptional<z.ZodString>;
|
|
4233
|
-
count: z.ZodOptional<z.ZodNumber>;
|
|
4532
|
+
}>, "many">;
|
|
4234
4533
|
}, "strip", z.ZodTypeAny, {
|
|
4235
|
-
items
|
|
4534
|
+
items: {
|
|
4236
4535
|
muted: boolean;
|
|
4237
4536
|
category: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
4238
4537
|
status: "active" | "deleting" | "deleted" | "moving";
|
|
@@ -4252,10 +4551,10 @@ export declare const ThreadSearchResponseSchema: z.ZodObject<{
|
|
|
4252
4551
|
isDeleted: boolean;
|
|
4253
4552
|
senderTrust: "unknown" | "wellknown" | "vip";
|
|
4254
4553
|
abandonedMutation: "none" | "move" | "delete" | "copy";
|
|
4255
|
-
subject?: string | undefined;
|
|
4256
4554
|
accountId?: string | undefined;
|
|
4257
4555
|
fromEmail?: string | undefined;
|
|
4258
4556
|
fromName?: string | undefined;
|
|
4557
|
+
subject?: string | undefined;
|
|
4259
4558
|
snippet?: string | undefined;
|
|
4260
4559
|
authenticity?: {
|
|
4261
4560
|
fromDomain: string;
|
|
@@ -4283,11 +4582,10 @@ export declare const ThreadSearchResponseSchema: z.ZodObject<{
|
|
|
4283
4582
|
spamReport?: {
|
|
4284
4583
|
reportedAt: number;
|
|
4285
4584
|
} | undefined;
|
|
4286
|
-
}[]
|
|
4585
|
+
}[];
|
|
4287
4586
|
continuationToken?: string | undefined;
|
|
4288
|
-
count?: number | undefined;
|
|
4289
4587
|
}, {
|
|
4290
|
-
items
|
|
4588
|
+
items: {
|
|
4291
4589
|
muted: boolean;
|
|
4292
4590
|
category: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
4293
4591
|
status: "active" | "deleting" | "deleted" | "moving";
|
|
@@ -4307,10 +4605,10 @@ export declare const ThreadSearchResponseSchema: z.ZodObject<{
|
|
|
4307
4605
|
isDeleted: boolean;
|
|
4308
4606
|
senderTrust: "unknown" | "wellknown" | "vip";
|
|
4309
4607
|
abandonedMutation: "none" | "move" | "delete" | "copy";
|
|
4310
|
-
subject?: string | undefined;
|
|
4311
4608
|
accountId?: string | undefined;
|
|
4312
4609
|
fromEmail?: string | undefined;
|
|
4313
4610
|
fromName?: string | undefined;
|
|
4611
|
+
subject?: string | undefined;
|
|
4314
4612
|
snippet?: string | undefined;
|
|
4315
4613
|
authenticity?: {
|
|
4316
4614
|
fromDomain: string;
|
|
@@ -4338,41 +4636,321 @@ export declare const ThreadSearchResponseSchema: z.ZodObject<{
|
|
|
4338
4636
|
spamReport?: {
|
|
4339
4637
|
reportedAt: number;
|
|
4340
4638
|
} | undefined;
|
|
4341
|
-
}[]
|
|
4639
|
+
}[];
|
|
4342
4640
|
continuationToken?: string | undefined;
|
|
4343
|
-
count?: number | undefined;
|
|
4344
4641
|
}>;
|
|
4345
|
-
export declare const
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4642
|
+
export declare const ThreadSearchResponseSchema: z.ZodObject<{
|
|
4643
|
+
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4644
|
+
threadMessageId: z.ZodString;
|
|
4645
|
+
threadId: z.ZodString;
|
|
4646
|
+
messageId: z.ZodString;
|
|
4647
|
+
accountConfigId: z.ZodString;
|
|
4648
|
+
mailboxId: z.ZodString;
|
|
4649
|
+
fromEmail: z.ZodOptional<z.ZodString>;
|
|
4650
|
+
fromName: z.ZodOptional<z.ZodString>;
|
|
4651
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
4652
|
+
sentDate: z.ZodNumber;
|
|
4653
|
+
isRead: z.ZodBoolean;
|
|
4654
|
+
hasAttachment: z.ZodBoolean;
|
|
4655
|
+
star: z.ZodEnum<["none", "yellow", "orange", "red", "purple", "blue", "teal", "green", "yellow_bang", "red_bang", "purple_question", "blue_info", "orange_guillemet", "green_check", "yellow_check", "blue_star"]>;
|
|
4656
|
+
hasStars: z.ZodBoolean;
|
|
4657
|
+
isDeleted: z.ZodBoolean;
|
|
4658
|
+
snippet: z.ZodOptional<z.ZodString>;
|
|
4659
|
+
createdAt: z.ZodNumber;
|
|
4660
|
+
updatedAt: z.ZodNumber;
|
|
4661
|
+
category: z.ZodEnum<["uncategorized", "personal", "newsletter", "marketing", "automated", "transactional", "social"]>;
|
|
4662
|
+
senderTrust: z.ZodEnum<["unknown", "wellknown", "vip"]>;
|
|
4663
|
+
muted: z.ZodBoolean;
|
|
4664
|
+
authenticity: z.ZodOptional<z.ZodObject<{
|
|
4665
|
+
fromDomain: z.ZodString;
|
|
4666
|
+
dkimDomain: z.ZodOptional<z.ZodString>;
|
|
4667
|
+
dkimMismatch: z.ZodBoolean;
|
|
4668
|
+
displayNameCorrespondence: z.ZodOptional<z.ZodEnum<["Corresponds", "Lookalike", "ForeignAddress", "Unrelated", "NoClaim"]>>;
|
|
4669
|
+
offDomainLinkDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4670
|
+
signerDomain: z.ZodOptional<z.ZodString>;
|
|
4671
|
+
envelopeDomain: z.ZodOptional<z.ZodString>;
|
|
4672
|
+
signerMessageCount: z.ZodOptional<z.ZodNumber>;
|
|
4673
|
+
signerFirstSeenAt: z.ZodOptional<z.ZodNumber>;
|
|
4674
|
+
}, "strip", z.ZodTypeAny, {
|
|
4675
|
+
fromDomain: string;
|
|
4676
|
+
dkimMismatch: boolean;
|
|
4677
|
+
dkimDomain?: string | undefined;
|
|
4678
|
+
displayNameCorrespondence?: "Corresponds" | "Lookalike" | "ForeignAddress" | "Unrelated" | "NoClaim" | undefined;
|
|
4679
|
+
offDomainLinkDomains?: string[] | undefined;
|
|
4680
|
+
signerDomain?: string | undefined;
|
|
4681
|
+
envelopeDomain?: string | undefined;
|
|
4682
|
+
signerMessageCount?: number | undefined;
|
|
4683
|
+
signerFirstSeenAt?: number | undefined;
|
|
4684
|
+
}, {
|
|
4685
|
+
fromDomain: string;
|
|
4686
|
+
dkimMismatch: boolean;
|
|
4687
|
+
dkimDomain?: string | undefined;
|
|
4688
|
+
displayNameCorrespondence?: "Corresponds" | "Lookalike" | "ForeignAddress" | "Unrelated" | "NoClaim" | undefined;
|
|
4689
|
+
offDomainLinkDomains?: string[] | undefined;
|
|
4690
|
+
signerDomain?: string | undefined;
|
|
4691
|
+
envelopeDomain?: string | undefined;
|
|
4692
|
+
signerMessageCount?: number | undefined;
|
|
4693
|
+
signerFirstSeenAt?: number | undefined;
|
|
4694
|
+
}>>;
|
|
4695
|
+
status: z.ZodEnum<["active", "deleting", "deleted", "moving"]>;
|
|
4696
|
+
syncStatus: z.ZodEnum<["synced", "pending", "failed", "abandoned"]>;
|
|
4697
|
+
abandonedMutation: z.ZodEnum<["none", "move", "delete", "copy"]>;
|
|
4698
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
4699
|
+
autoMoved: z.ZodOptional<z.ZodObject<{
|
|
4700
|
+
action: z.ZodOptional<z.ZodEnum<["MoveToInbox", "MoveToJunk"]>>;
|
|
4701
|
+
fromPlacement: z.ZodOptional<z.ZodString>;
|
|
4702
|
+
fromMailboxId: z.ZodOptional<z.ZodString>;
|
|
4703
|
+
destinationMailboxId: z.ZodOptional<z.ZodString>;
|
|
4704
|
+
filterId: z.ZodOptional<z.ZodString>;
|
|
4705
|
+
}, "strip", z.ZodTypeAny, {
|
|
4706
|
+
filterId?: string | undefined;
|
|
4707
|
+
action?: "MoveToInbox" | "MoveToJunk" | undefined;
|
|
4708
|
+
fromPlacement?: string | undefined;
|
|
4709
|
+
fromMailboxId?: string | undefined;
|
|
4710
|
+
destinationMailboxId?: string | undefined;
|
|
4711
|
+
}, {
|
|
4712
|
+
filterId?: string | undefined;
|
|
4713
|
+
action?: "MoveToInbox" | "MoveToJunk" | undefined;
|
|
4714
|
+
fromPlacement?: string | undefined;
|
|
4715
|
+
fromMailboxId?: string | undefined;
|
|
4716
|
+
destinationMailboxId?: string | undefined;
|
|
4717
|
+
}>>;
|
|
4718
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4719
|
+
labelId: z.ZodString;
|
|
4720
|
+
name: z.ZodString;
|
|
4721
|
+
color: z.ZodEnum<["Default", "Red", "Orange", "Yellow", "Green", "Teal", "Blue", "Purple", "Gray"]>;
|
|
4722
|
+
}, "strip", z.ZodTypeAny, {
|
|
4723
|
+
name: string;
|
|
4724
|
+
labelId: string;
|
|
4725
|
+
color: "Default" | "Red" | "Orange" | "Yellow" | "Green" | "Teal" | "Blue" | "Purple" | "Gray";
|
|
4726
|
+
}, {
|
|
4727
|
+
name: string;
|
|
4728
|
+
labelId: string;
|
|
4729
|
+
color: "Default" | "Red" | "Orange" | "Yellow" | "Green" | "Teal" | "Blue" | "Purple" | "Gray";
|
|
4730
|
+
}>, "many">>;
|
|
4731
|
+
spamReport: z.ZodOptional<z.ZodObject<{
|
|
4732
|
+
reportedAt: z.ZodNumber;
|
|
4733
|
+
}, "strip", z.ZodTypeAny, {
|
|
4734
|
+
reportedAt: number;
|
|
4735
|
+
}, {
|
|
4736
|
+
reportedAt: number;
|
|
4737
|
+
}>>;
|
|
4738
|
+
}, "strip", z.ZodTypeAny, {
|
|
4739
|
+
muted: boolean;
|
|
4740
|
+
category: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
4741
|
+
status: "active" | "deleting" | "deleted" | "moving";
|
|
4742
|
+
accountConfigId: string;
|
|
4743
|
+
createdAt: number;
|
|
4744
|
+
updatedAt: number;
|
|
4745
|
+
mailboxId: string;
|
|
4746
|
+
syncStatus: "failed" | "abandoned" | "synced" | "pending";
|
|
4747
|
+
threadMessageId: string;
|
|
4748
|
+
threadId: string;
|
|
4749
|
+
messageId: string;
|
|
4750
|
+
sentDate: number;
|
|
4751
|
+
isRead: boolean;
|
|
4752
|
+
hasAttachment: boolean;
|
|
4753
|
+
star: "none" | "yellow" | "orange" | "red" | "purple" | "blue" | "teal" | "green" | "yellow_bang" | "red_bang" | "purple_question" | "blue_info" | "orange_guillemet" | "green_check" | "yellow_check" | "blue_star";
|
|
4754
|
+
hasStars: boolean;
|
|
4755
|
+
isDeleted: boolean;
|
|
4756
|
+
senderTrust: "unknown" | "wellknown" | "vip";
|
|
4757
|
+
abandonedMutation: "none" | "move" | "delete" | "copy";
|
|
4758
|
+
accountId?: string | undefined;
|
|
4759
|
+
fromEmail?: string | undefined;
|
|
4760
|
+
fromName?: string | undefined;
|
|
4761
|
+
subject?: string | undefined;
|
|
4762
|
+
snippet?: string | undefined;
|
|
4763
|
+
authenticity?: {
|
|
4764
|
+
fromDomain: string;
|
|
4765
|
+
dkimMismatch: boolean;
|
|
4766
|
+
dkimDomain?: string | undefined;
|
|
4767
|
+
displayNameCorrespondence?: "Corresponds" | "Lookalike" | "ForeignAddress" | "Unrelated" | "NoClaim" | undefined;
|
|
4768
|
+
offDomainLinkDomains?: string[] | undefined;
|
|
4769
|
+
signerDomain?: string | undefined;
|
|
4770
|
+
envelopeDomain?: string | undefined;
|
|
4771
|
+
signerMessageCount?: number | undefined;
|
|
4772
|
+
signerFirstSeenAt?: number | undefined;
|
|
4773
|
+
} | undefined;
|
|
4774
|
+
autoMoved?: {
|
|
4775
|
+
filterId?: string | undefined;
|
|
4776
|
+
action?: "MoveToInbox" | "MoveToJunk" | undefined;
|
|
4777
|
+
fromPlacement?: string | undefined;
|
|
4778
|
+
fromMailboxId?: string | undefined;
|
|
4779
|
+
destinationMailboxId?: string | undefined;
|
|
4780
|
+
} | undefined;
|
|
4781
|
+
labels?: {
|
|
4782
|
+
name: string;
|
|
4783
|
+
labelId: string;
|
|
4784
|
+
color: "Default" | "Red" | "Orange" | "Yellow" | "Green" | "Teal" | "Blue" | "Purple" | "Gray";
|
|
4785
|
+
}[] | undefined;
|
|
4786
|
+
spamReport?: {
|
|
4787
|
+
reportedAt: number;
|
|
4788
|
+
} | undefined;
|
|
4789
|
+
}, {
|
|
4790
|
+
muted: boolean;
|
|
4791
|
+
category: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
4792
|
+
status: "active" | "deleting" | "deleted" | "moving";
|
|
4793
|
+
accountConfigId: string;
|
|
4794
|
+
createdAt: number;
|
|
4795
|
+
updatedAt: number;
|
|
4796
|
+
mailboxId: string;
|
|
4797
|
+
syncStatus: "failed" | "abandoned" | "synced" | "pending";
|
|
4798
|
+
threadMessageId: string;
|
|
4799
|
+
threadId: string;
|
|
4800
|
+
messageId: string;
|
|
4801
|
+
sentDate: number;
|
|
4802
|
+
isRead: boolean;
|
|
4803
|
+
hasAttachment: boolean;
|
|
4804
|
+
star: "none" | "yellow" | "orange" | "red" | "purple" | "blue" | "teal" | "green" | "yellow_bang" | "red_bang" | "purple_question" | "blue_info" | "orange_guillemet" | "green_check" | "yellow_check" | "blue_star";
|
|
4805
|
+
hasStars: boolean;
|
|
4806
|
+
isDeleted: boolean;
|
|
4807
|
+
senderTrust: "unknown" | "wellknown" | "vip";
|
|
4808
|
+
abandonedMutation: "none" | "move" | "delete" | "copy";
|
|
4809
|
+
accountId?: string | undefined;
|
|
4810
|
+
fromEmail?: string | undefined;
|
|
4811
|
+
fromName?: string | undefined;
|
|
4812
|
+
subject?: string | undefined;
|
|
4813
|
+
snippet?: string | undefined;
|
|
4814
|
+
authenticity?: {
|
|
4815
|
+
fromDomain: string;
|
|
4816
|
+
dkimMismatch: boolean;
|
|
4817
|
+
dkimDomain?: string | undefined;
|
|
4818
|
+
displayNameCorrespondence?: "Corresponds" | "Lookalike" | "ForeignAddress" | "Unrelated" | "NoClaim" | undefined;
|
|
4819
|
+
offDomainLinkDomains?: string[] | undefined;
|
|
4820
|
+
signerDomain?: string | undefined;
|
|
4821
|
+
envelopeDomain?: string | undefined;
|
|
4822
|
+
signerMessageCount?: number | undefined;
|
|
4823
|
+
signerFirstSeenAt?: number | undefined;
|
|
4824
|
+
} | undefined;
|
|
4825
|
+
autoMoved?: {
|
|
4826
|
+
filterId?: string | undefined;
|
|
4827
|
+
action?: "MoveToInbox" | "MoveToJunk" | undefined;
|
|
4828
|
+
fromPlacement?: string | undefined;
|
|
4829
|
+
fromMailboxId?: string | undefined;
|
|
4830
|
+
destinationMailboxId?: string | undefined;
|
|
4831
|
+
} | undefined;
|
|
4832
|
+
labels?: {
|
|
4833
|
+
name: string;
|
|
4834
|
+
labelId: string;
|
|
4835
|
+
color: "Default" | "Red" | "Orange" | "Yellow" | "Green" | "Teal" | "Blue" | "Purple" | "Gray";
|
|
4836
|
+
}[] | undefined;
|
|
4837
|
+
spamReport?: {
|
|
4838
|
+
reportedAt: number;
|
|
4839
|
+
} | undefined;
|
|
4840
|
+
}>, "many">>;
|
|
4841
|
+
continuationToken: z.ZodOptional<z.ZodString>;
|
|
4842
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
4355
4843
|
}, "strip", z.ZodTypeAny, {
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4844
|
+
items?: {
|
|
4845
|
+
muted: boolean;
|
|
4846
|
+
category: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
4847
|
+
status: "active" | "deleting" | "deleted" | "moving";
|
|
4848
|
+
accountConfigId: string;
|
|
4849
|
+
createdAt: number;
|
|
4850
|
+
updatedAt: number;
|
|
4851
|
+
mailboxId: string;
|
|
4852
|
+
syncStatus: "failed" | "abandoned" | "synced" | "pending";
|
|
4853
|
+
threadMessageId: string;
|
|
4854
|
+
threadId: string;
|
|
4855
|
+
messageId: string;
|
|
4856
|
+
sentDate: number;
|
|
4857
|
+
isRead: boolean;
|
|
4858
|
+
hasAttachment: boolean;
|
|
4859
|
+
star: "none" | "yellow" | "orange" | "red" | "purple" | "blue" | "teal" | "green" | "yellow_bang" | "red_bang" | "purple_question" | "blue_info" | "orange_guillemet" | "green_check" | "yellow_check" | "blue_star";
|
|
4860
|
+
hasStars: boolean;
|
|
4861
|
+
isDeleted: boolean;
|
|
4862
|
+
senderTrust: "unknown" | "wellknown" | "vip";
|
|
4863
|
+
abandonedMutation: "none" | "move" | "delete" | "copy";
|
|
4864
|
+
accountId?: string | undefined;
|
|
4865
|
+
fromEmail?: string | undefined;
|
|
4866
|
+
fromName?: string | undefined;
|
|
4867
|
+
subject?: string | undefined;
|
|
4868
|
+
snippet?: string | undefined;
|
|
4869
|
+
authenticity?: {
|
|
4870
|
+
fromDomain: string;
|
|
4871
|
+
dkimMismatch: boolean;
|
|
4872
|
+
dkimDomain?: string | undefined;
|
|
4873
|
+
displayNameCorrespondence?: "Corresponds" | "Lookalike" | "ForeignAddress" | "Unrelated" | "NoClaim" | undefined;
|
|
4874
|
+
offDomainLinkDomains?: string[] | undefined;
|
|
4875
|
+
signerDomain?: string | undefined;
|
|
4876
|
+
envelopeDomain?: string | undefined;
|
|
4877
|
+
signerMessageCount?: number | undefined;
|
|
4878
|
+
signerFirstSeenAt?: number | undefined;
|
|
4879
|
+
} | undefined;
|
|
4880
|
+
autoMoved?: {
|
|
4881
|
+
filterId?: string | undefined;
|
|
4882
|
+
action?: "MoveToInbox" | "MoveToJunk" | undefined;
|
|
4883
|
+
fromPlacement?: string | undefined;
|
|
4884
|
+
fromMailboxId?: string | undefined;
|
|
4885
|
+
destinationMailboxId?: string | undefined;
|
|
4886
|
+
} | undefined;
|
|
4887
|
+
labels?: {
|
|
4888
|
+
name: string;
|
|
4889
|
+
labelId: string;
|
|
4890
|
+
color: "Default" | "Red" | "Orange" | "Yellow" | "Green" | "Teal" | "Blue" | "Purple" | "Gray";
|
|
4891
|
+
}[] | undefined;
|
|
4892
|
+
spamReport?: {
|
|
4893
|
+
reportedAt: number;
|
|
4894
|
+
} | undefined;
|
|
4895
|
+
}[] | undefined;
|
|
4896
|
+
continuationToken?: string | undefined;
|
|
4897
|
+
count?: number | undefined;
|
|
4898
|
+
}, {
|
|
4899
|
+
items?: {
|
|
4900
|
+
muted: boolean;
|
|
4901
|
+
category: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
4902
|
+
status: "active" | "deleting" | "deleted" | "moving";
|
|
4903
|
+
accountConfigId: string;
|
|
4904
|
+
createdAt: number;
|
|
4905
|
+
updatedAt: number;
|
|
4906
|
+
mailboxId: string;
|
|
4907
|
+
syncStatus: "failed" | "abandoned" | "synced" | "pending";
|
|
4908
|
+
threadMessageId: string;
|
|
4909
|
+
threadId: string;
|
|
4910
|
+
messageId: string;
|
|
4911
|
+
sentDate: number;
|
|
4912
|
+
isRead: boolean;
|
|
4913
|
+
hasAttachment: boolean;
|
|
4914
|
+
star: "none" | "yellow" | "orange" | "red" | "purple" | "blue" | "teal" | "green" | "yellow_bang" | "red_bang" | "purple_question" | "blue_info" | "orange_guillemet" | "green_check" | "yellow_check" | "blue_star";
|
|
4915
|
+
hasStars: boolean;
|
|
4916
|
+
isDeleted: boolean;
|
|
4917
|
+
senderTrust: "unknown" | "wellknown" | "vip";
|
|
4918
|
+
abandonedMutation: "none" | "move" | "delete" | "copy";
|
|
4919
|
+
accountId?: string | undefined;
|
|
4920
|
+
fromEmail?: string | undefined;
|
|
4921
|
+
fromName?: string | undefined;
|
|
4922
|
+
subject?: string | undefined;
|
|
4923
|
+
snippet?: string | undefined;
|
|
4924
|
+
authenticity?: {
|
|
4925
|
+
fromDomain: string;
|
|
4926
|
+
dkimMismatch: boolean;
|
|
4927
|
+
dkimDomain?: string | undefined;
|
|
4928
|
+
displayNameCorrespondence?: "Corresponds" | "Lookalike" | "ForeignAddress" | "Unrelated" | "NoClaim" | undefined;
|
|
4929
|
+
offDomainLinkDomains?: string[] | undefined;
|
|
4930
|
+
signerDomain?: string | undefined;
|
|
4931
|
+
envelopeDomain?: string | undefined;
|
|
4932
|
+
signerMessageCount?: number | undefined;
|
|
4933
|
+
signerFirstSeenAt?: number | undefined;
|
|
4934
|
+
} | undefined;
|
|
4935
|
+
autoMoved?: {
|
|
4936
|
+
filterId?: string | undefined;
|
|
4937
|
+
action?: "MoveToInbox" | "MoveToJunk" | undefined;
|
|
4938
|
+
fromPlacement?: string | undefined;
|
|
4939
|
+
fromMailboxId?: string | undefined;
|
|
4940
|
+
destinationMailboxId?: string | undefined;
|
|
4941
|
+
} | undefined;
|
|
4942
|
+
labels?: {
|
|
4943
|
+
name: string;
|
|
4944
|
+
labelId: string;
|
|
4945
|
+
color: "Default" | "Red" | "Orange" | "Yellow" | "Green" | "Teal" | "Blue" | "Purple" | "Gray";
|
|
4946
|
+
}[] | undefined;
|
|
4947
|
+
spamReport?: {
|
|
4948
|
+
reportedAt: number;
|
|
4949
|
+
} | undefined;
|
|
4950
|
+
}[] | undefined;
|
|
4951
|
+
continuationToken?: string | undefined;
|
|
4952
|
+
count?: number | undefined;
|
|
4953
|
+
}>;
|
|
4376
4954
|
export declare const CreateOutboxMessageInputSchema: z.ZodObject<{
|
|
4377
4955
|
accountId: z.ZodString;
|
|
4378
4956
|
toAddresses: z.ZodArray<z.ZodString, "many">;
|
|
@@ -4387,9 +4965,9 @@ export declare const CreateOutboxMessageInputSchema: z.ZodObject<{
|
|
|
4387
4965
|
}, "strip", z.ZodTypeAny, {
|
|
4388
4966
|
accountId: string;
|
|
4389
4967
|
toAddresses: string[];
|
|
4390
|
-
subject?: string | undefined;
|
|
4391
4968
|
references?: string[] | undefined;
|
|
4392
4969
|
inReplyTo?: string | undefined;
|
|
4970
|
+
subject?: string | undefined;
|
|
4393
4971
|
ccAddresses?: string[] | undefined;
|
|
4394
4972
|
bccAddresses?: string[] | undefined;
|
|
4395
4973
|
textBody?: string | undefined;
|
|
@@ -4398,9 +4976,9 @@ export declare const CreateOutboxMessageInputSchema: z.ZodObject<{
|
|
|
4398
4976
|
}, {
|
|
4399
4977
|
accountId: string;
|
|
4400
4978
|
toAddresses: string[];
|
|
4401
|
-
subject?: string | undefined;
|
|
4402
4979
|
references?: string[] | undefined;
|
|
4403
4980
|
inReplyTo?: string | undefined;
|
|
4981
|
+
subject?: string | undefined;
|
|
4404
4982
|
ccAddresses?: string[] | undefined;
|
|
4405
4983
|
bccAddresses?: string[] | undefined;
|
|
4406
4984
|
textBody?: string | undefined;
|
|
@@ -4445,10 +5023,10 @@ export declare const OutboxMessageSchema: z.ZodObject<{
|
|
|
4445
5023
|
fromAddress: string;
|
|
4446
5024
|
messageIdValue: string;
|
|
4447
5025
|
appendedUid: number;
|
|
4448
|
-
subject?: string | undefined;
|
|
4449
5026
|
lastError?: string | undefined;
|
|
4450
5027
|
inReplyTo?: string | undefined;
|
|
4451
5028
|
fromName?: string | undefined;
|
|
5029
|
+
subject?: string | undefined;
|
|
4452
5030
|
textBody?: string | undefined;
|
|
4453
5031
|
htmlBody?: string | undefined;
|
|
4454
5032
|
replyToAddress?: string | undefined;
|
|
@@ -4469,10 +5047,10 @@ export declare const OutboxMessageSchema: z.ZodObject<{
|
|
|
4469
5047
|
fromAddress: string;
|
|
4470
5048
|
messageIdValue: string;
|
|
4471
5049
|
appendedUid: number;
|
|
4472
|
-
subject?: string | undefined;
|
|
4473
5050
|
lastError?: string | undefined;
|
|
4474
5051
|
inReplyTo?: string | undefined;
|
|
4475
5052
|
fromName?: string | undefined;
|
|
5053
|
+
subject?: string | undefined;
|
|
4476
5054
|
textBody?: string | undefined;
|
|
4477
5055
|
htmlBody?: string | undefined;
|
|
4478
5056
|
replyToAddress?: string | undefined;
|
|
@@ -4575,10 +5153,10 @@ export declare const OutboxMessageResponseSchema: z.ZodObject<{
|
|
|
4575
5153
|
contentId: string;
|
|
4576
5154
|
contentUrl: string;
|
|
4577
5155
|
}[];
|
|
4578
|
-
subject?: string | undefined;
|
|
4579
5156
|
lastError?: string | undefined;
|
|
4580
5157
|
inReplyTo?: string | undefined;
|
|
4581
5158
|
fromName?: string | undefined;
|
|
5159
|
+
subject?: string | undefined;
|
|
4582
5160
|
textBody?: string | undefined;
|
|
4583
5161
|
htmlBody?: string | undefined;
|
|
4584
5162
|
sentAt?: number | undefined;
|
|
@@ -4603,10 +5181,10 @@ export declare const OutboxMessageResponseSchema: z.ZodObject<{
|
|
|
4603
5181
|
contentId: string;
|
|
4604
5182
|
contentUrl: string;
|
|
4605
5183
|
}[];
|
|
4606
|
-
subject?: string | undefined;
|
|
4607
5184
|
lastError?: string | undefined;
|
|
4608
5185
|
inReplyTo?: string | undefined;
|
|
4609
5186
|
fromName?: string | undefined;
|
|
5187
|
+
subject?: string | undefined;
|
|
4610
5188
|
textBody?: string | undefined;
|
|
4611
5189
|
htmlBody?: string | undefined;
|
|
4612
5190
|
sentAt?: number | undefined;
|
|
@@ -4651,6 +5229,174 @@ export declare const OutboxAttachmentSchema: z.ZodObject<{
|
|
|
4651
5229
|
storageKey: string;
|
|
4652
5230
|
reservationExpiresAt: number;
|
|
4653
5231
|
}>;
|
|
5232
|
+
export declare const OutboxMessageListResponseSchema: z.ZodObject<{
|
|
5233
|
+
continuationToken: z.ZodOptional<z.ZodString>;
|
|
5234
|
+
items: z.ZodArray<z.ZodObject<{
|
|
5235
|
+
outboxMessageId: z.ZodString;
|
|
5236
|
+
accountId: z.ZodString;
|
|
5237
|
+
fromAddress: z.ZodString;
|
|
5238
|
+
fromName: z.ZodOptional<z.ZodString>;
|
|
5239
|
+
toAddresses: z.ZodArray<z.ZodString, "many">;
|
|
5240
|
+
ccAddresses: z.ZodArray<z.ZodString, "many">;
|
|
5241
|
+
bccAddresses: z.ZodArray<z.ZodString, "many">;
|
|
5242
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
5243
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
5244
|
+
references: z.ZodArray<z.ZodString, "many">;
|
|
5245
|
+
textBody: z.ZodOptional<z.ZodString>;
|
|
5246
|
+
htmlBody: z.ZodOptional<z.ZodString>;
|
|
5247
|
+
status: z.ZodEnum<["draft", "queued", "sending", "sent", "unfiled", "failed", "blocked"]>;
|
|
5248
|
+
lastError: z.ZodOptional<z.ZodString>;
|
|
5249
|
+
sentAt: z.ZodOptional<z.ZodNumber>;
|
|
5250
|
+
createdAt: z.ZodNumber;
|
|
5251
|
+
updatedAt: z.ZodNumber;
|
|
5252
|
+
attachments: z.ZodArray<z.ZodObject<{
|
|
5253
|
+
outboxAttachmentId: z.ZodString;
|
|
5254
|
+
outboxMessageId: z.ZodString;
|
|
5255
|
+
filename: z.ZodString;
|
|
5256
|
+
contentType: z.ZodString;
|
|
5257
|
+
sizeBytes: z.ZodNumber;
|
|
5258
|
+
state: z.ZodEnum<["Pending", "Stored"]>;
|
|
5259
|
+
contentId: z.ZodString;
|
|
5260
|
+
contentUrl: z.ZodString;
|
|
5261
|
+
}, "strip", z.ZodTypeAny, {
|
|
5262
|
+
state: "Pending" | "Stored";
|
|
5263
|
+
contentType: string;
|
|
5264
|
+
sizeBytes: number;
|
|
5265
|
+
outboxMessageId: string;
|
|
5266
|
+
outboxAttachmentId: string;
|
|
5267
|
+
filename: string;
|
|
5268
|
+
contentId: string;
|
|
5269
|
+
contentUrl: string;
|
|
5270
|
+
}, {
|
|
5271
|
+
state: "Pending" | "Stored";
|
|
5272
|
+
contentType: string;
|
|
5273
|
+
sizeBytes: number;
|
|
5274
|
+
outboxMessageId: string;
|
|
5275
|
+
outboxAttachmentId: string;
|
|
5276
|
+
filename: string;
|
|
5277
|
+
contentId: string;
|
|
5278
|
+
contentUrl: string;
|
|
5279
|
+
}>, "many">;
|
|
5280
|
+
}, "strip", z.ZodTypeAny, {
|
|
5281
|
+
references: string[];
|
|
5282
|
+
status: "failed" | "draft" | "queued" | "sending" | "sent" | "unfiled" | "blocked";
|
|
5283
|
+
createdAt: number;
|
|
5284
|
+
updatedAt: number;
|
|
5285
|
+
accountId: string;
|
|
5286
|
+
toAddresses: string[];
|
|
5287
|
+
ccAddresses: string[];
|
|
5288
|
+
bccAddresses: string[];
|
|
5289
|
+
outboxMessageId: string;
|
|
5290
|
+
fromAddress: string;
|
|
5291
|
+
attachments: {
|
|
5292
|
+
state: "Pending" | "Stored";
|
|
5293
|
+
contentType: string;
|
|
5294
|
+
sizeBytes: number;
|
|
5295
|
+
outboxMessageId: string;
|
|
5296
|
+
outboxAttachmentId: string;
|
|
5297
|
+
filename: string;
|
|
5298
|
+
contentId: string;
|
|
5299
|
+
contentUrl: string;
|
|
5300
|
+
}[];
|
|
5301
|
+
lastError?: string | undefined;
|
|
5302
|
+
inReplyTo?: string | undefined;
|
|
5303
|
+
fromName?: string | undefined;
|
|
5304
|
+
subject?: string | undefined;
|
|
5305
|
+
textBody?: string | undefined;
|
|
5306
|
+
htmlBody?: string | undefined;
|
|
5307
|
+
sentAt?: number | undefined;
|
|
5308
|
+
}, {
|
|
5309
|
+
references: string[];
|
|
5310
|
+
status: "failed" | "draft" | "queued" | "sending" | "sent" | "unfiled" | "blocked";
|
|
5311
|
+
createdAt: number;
|
|
5312
|
+
updatedAt: number;
|
|
5313
|
+
accountId: string;
|
|
5314
|
+
toAddresses: string[];
|
|
5315
|
+
ccAddresses: string[];
|
|
5316
|
+
bccAddresses: string[];
|
|
5317
|
+
outboxMessageId: string;
|
|
5318
|
+
fromAddress: string;
|
|
5319
|
+
attachments: {
|
|
5320
|
+
state: "Pending" | "Stored";
|
|
5321
|
+
contentType: string;
|
|
5322
|
+
sizeBytes: number;
|
|
5323
|
+
outboxMessageId: string;
|
|
5324
|
+
outboxAttachmentId: string;
|
|
5325
|
+
filename: string;
|
|
5326
|
+
contentId: string;
|
|
5327
|
+
contentUrl: string;
|
|
5328
|
+
}[];
|
|
5329
|
+
lastError?: string | undefined;
|
|
5330
|
+
inReplyTo?: string | undefined;
|
|
5331
|
+
fromName?: string | undefined;
|
|
5332
|
+
subject?: string | undefined;
|
|
5333
|
+
textBody?: string | undefined;
|
|
5334
|
+
htmlBody?: string | undefined;
|
|
5335
|
+
sentAt?: number | undefined;
|
|
5336
|
+
}>, "many">;
|
|
5337
|
+
}, "strip", z.ZodTypeAny, {
|
|
5338
|
+
items: {
|
|
5339
|
+
references: string[];
|
|
5340
|
+
status: "failed" | "draft" | "queued" | "sending" | "sent" | "unfiled" | "blocked";
|
|
5341
|
+
createdAt: number;
|
|
5342
|
+
updatedAt: number;
|
|
5343
|
+
accountId: string;
|
|
5344
|
+
toAddresses: string[];
|
|
5345
|
+
ccAddresses: string[];
|
|
5346
|
+
bccAddresses: string[];
|
|
5347
|
+
outboxMessageId: string;
|
|
5348
|
+
fromAddress: string;
|
|
5349
|
+
attachments: {
|
|
5350
|
+
state: "Pending" | "Stored";
|
|
5351
|
+
contentType: string;
|
|
5352
|
+
sizeBytes: number;
|
|
5353
|
+
outboxMessageId: string;
|
|
5354
|
+
outboxAttachmentId: string;
|
|
5355
|
+
filename: string;
|
|
5356
|
+
contentId: string;
|
|
5357
|
+
contentUrl: string;
|
|
5358
|
+
}[];
|
|
5359
|
+
lastError?: string | undefined;
|
|
5360
|
+
inReplyTo?: string | undefined;
|
|
5361
|
+
fromName?: string | undefined;
|
|
5362
|
+
subject?: string | undefined;
|
|
5363
|
+
textBody?: string | undefined;
|
|
5364
|
+
htmlBody?: string | undefined;
|
|
5365
|
+
sentAt?: number | undefined;
|
|
5366
|
+
}[];
|
|
5367
|
+
continuationToken?: string | undefined;
|
|
5368
|
+
}, {
|
|
5369
|
+
items: {
|
|
5370
|
+
references: string[];
|
|
5371
|
+
status: "failed" | "draft" | "queued" | "sending" | "sent" | "unfiled" | "blocked";
|
|
5372
|
+
createdAt: number;
|
|
5373
|
+
updatedAt: number;
|
|
5374
|
+
accountId: string;
|
|
5375
|
+
toAddresses: string[];
|
|
5376
|
+
ccAddresses: string[];
|
|
5377
|
+
bccAddresses: string[];
|
|
5378
|
+
outboxMessageId: string;
|
|
5379
|
+
fromAddress: string;
|
|
5380
|
+
attachments: {
|
|
5381
|
+
state: "Pending" | "Stored";
|
|
5382
|
+
contentType: string;
|
|
5383
|
+
sizeBytes: number;
|
|
5384
|
+
outboxMessageId: string;
|
|
5385
|
+
outboxAttachmentId: string;
|
|
5386
|
+
filename: string;
|
|
5387
|
+
contentId: string;
|
|
5388
|
+
contentUrl: string;
|
|
5389
|
+
}[];
|
|
5390
|
+
lastError?: string | undefined;
|
|
5391
|
+
inReplyTo?: string | undefined;
|
|
5392
|
+
fromName?: string | undefined;
|
|
5393
|
+
subject?: string | undefined;
|
|
5394
|
+
textBody?: string | undefined;
|
|
5395
|
+
htmlBody?: string | undefined;
|
|
5396
|
+
sentAt?: number | undefined;
|
|
5397
|
+
}[];
|
|
5398
|
+
continuationToken?: string | undefined;
|
|
5399
|
+
}>;
|
|
4654
5400
|
export declare const UpdateOutboxMessageInputSchema: z.ZodObject<{
|
|
4655
5401
|
attachmentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4656
5402
|
toAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -4662,9 +5408,9 @@ export declare const UpdateOutboxMessageInputSchema: z.ZodObject<{
|
|
|
4662
5408
|
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
4663
5409
|
references: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4664
5410
|
}, "strip", z.ZodTypeAny, {
|
|
4665
|
-
subject?: string | undefined;
|
|
4666
5411
|
references?: string[] | undefined;
|
|
4667
5412
|
inReplyTo?: string | undefined;
|
|
5413
|
+
subject?: string | undefined;
|
|
4668
5414
|
toAddresses?: string[] | undefined;
|
|
4669
5415
|
ccAddresses?: string[] | undefined;
|
|
4670
5416
|
bccAddresses?: string[] | undefined;
|
|
@@ -4672,9 +5418,9 @@ export declare const UpdateOutboxMessageInputSchema: z.ZodObject<{
|
|
|
4672
5418
|
htmlBody?: string | undefined;
|
|
4673
5419
|
attachmentIds?: string[] | undefined;
|
|
4674
5420
|
}, {
|
|
4675
|
-
subject?: string | undefined;
|
|
4676
5421
|
references?: string[] | undefined;
|
|
4677
5422
|
inReplyTo?: string | undefined;
|
|
5423
|
+
subject?: string | undefined;
|
|
4678
5424
|
toAddresses?: string[] | undefined;
|
|
4679
5425
|
ccAddresses?: string[] | undefined;
|
|
4680
5426
|
bccAddresses?: string[] | undefined;
|
|
@@ -6336,7 +7082,7 @@ export declare const UpdateAddressFlagsInputSchema: z.ZodObject<{
|
|
|
6336
7082
|
expiresAt?: number | undefined;
|
|
6337
7083
|
setBy?: string | undefined;
|
|
6338
7084
|
reason?: string | undefined;
|
|
6339
|
-
}>, z.
|
|
7085
|
+
}>, z.ZodNull]>>;
|
|
6340
7086
|
blocked: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
6341
7087
|
setAt: z.ZodNumber;
|
|
6342
7088
|
setBy: z.ZodOptional<z.ZodString>;
|
|
@@ -6355,7 +7101,7 @@ export declare const UpdateAddressFlagsInputSchema: z.ZodObject<{
|
|
|
6355
7101
|
expiresAt?: number | undefined;
|
|
6356
7102
|
setBy?: string | undefined;
|
|
6357
7103
|
reason?: string | undefined;
|
|
6358
|
-
}>, z.
|
|
7104
|
+
}>, z.ZodNull]>>;
|
|
6359
7105
|
neverSpam: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
6360
7106
|
setAt: z.ZodNumber;
|
|
6361
7107
|
setBy: z.ZodOptional<z.ZodString>;
|
|
@@ -6374,7 +7120,7 @@ export declare const UpdateAddressFlagsInputSchema: z.ZodObject<{
|
|
|
6374
7120
|
expiresAt?: number | undefined;
|
|
6375
7121
|
setBy?: string | undefined;
|
|
6376
7122
|
reason?: string | undefined;
|
|
6377
|
-
}>, z.
|
|
7123
|
+
}>, z.ZodNull]>>;
|
|
6378
7124
|
muted: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
6379
7125
|
setAt: z.ZodNumber;
|
|
6380
7126
|
setBy: z.ZodOptional<z.ZodString>;
|
|
@@ -6393,7 +7139,7 @@ export declare const UpdateAddressFlagsInputSchema: z.ZodObject<{
|
|
|
6393
7139
|
expiresAt?: number | undefined;
|
|
6394
7140
|
setBy?: string | undefined;
|
|
6395
7141
|
reason?: string | undefined;
|
|
6396
|
-
}>, z.
|
|
7142
|
+
}>, z.ZodNull]>>;
|
|
6397
7143
|
vip: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
6398
7144
|
setAt: z.ZodNumber;
|
|
6399
7145
|
setBy: z.ZodOptional<z.ZodString>;
|
|
@@ -6412,7 +7158,7 @@ export declare const UpdateAddressFlagsInputSchema: z.ZodObject<{
|
|
|
6412
7158
|
expiresAt?: number | undefined;
|
|
6413
7159
|
setBy?: string | undefined;
|
|
6414
7160
|
reason?: string | undefined;
|
|
6415
|
-
}>, z.
|
|
7161
|
+
}>, z.ZodNull]>>;
|
|
6416
7162
|
wellknown: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
6417
7163
|
setAt: z.ZodNumber;
|
|
6418
7164
|
setBy: z.ZodOptional<z.ZodString>;
|
|
@@ -6431,7 +7177,7 @@ export declare const UpdateAddressFlagsInputSchema: z.ZodObject<{
|
|
|
6431
7177
|
expiresAt?: number | undefined;
|
|
6432
7178
|
setBy?: string | undefined;
|
|
6433
7179
|
reason?: string | undefined;
|
|
6434
|
-
}>, z.
|
|
7180
|
+
}>, z.ZodNull]>>;
|
|
6435
7181
|
junkOnly: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
6436
7182
|
setAt: z.ZodNumber;
|
|
6437
7183
|
setBy: z.ZodOptional<z.ZodString>;
|
|
@@ -6450,7 +7196,7 @@ export declare const UpdateAddressFlagsInputSchema: z.ZodObject<{
|
|
|
6450
7196
|
expiresAt?: number | undefined;
|
|
6451
7197
|
setBy?: string | undefined;
|
|
6452
7198
|
reason?: string | undefined;
|
|
6453
|
-
}>, z.
|
|
7199
|
+
}>, z.ZodNull]>>;
|
|
6454
7200
|
category: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
6455
7201
|
setAt: z.ZodNumber;
|
|
6456
7202
|
setBy: z.ZodOptional<z.ZodString>;
|
|
@@ -6469,7 +7215,7 @@ export declare const UpdateAddressFlagsInputSchema: z.ZodObject<{
|
|
|
6469
7215
|
expiresAt?: number | undefined;
|
|
6470
7216
|
setBy?: string | undefined;
|
|
6471
7217
|
reason?: string | undefined;
|
|
6472
|
-
}>, z.
|
|
7218
|
+
}>, z.ZodNull]>>;
|
|
6473
7219
|
autoArchive: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
6474
7220
|
setAt: z.ZodNumber;
|
|
6475
7221
|
setBy: z.ZodOptional<z.ZodString>;
|
|
@@ -6488,7 +7234,7 @@ export declare const UpdateAddressFlagsInputSchema: z.ZodObject<{
|
|
|
6488
7234
|
expiresAt?: number | undefined;
|
|
6489
7235
|
setBy?: string | undefined;
|
|
6490
7236
|
reason?: string | undefined;
|
|
6491
|
-
}>, z.
|
|
7237
|
+
}>, z.ZodNull]>>;
|
|
6492
7238
|
unsubscribed: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
6493
7239
|
setAt: z.ZodNumber;
|
|
6494
7240
|
setBy: z.ZodOptional<z.ZodString>;
|
|
@@ -6507,36 +7253,213 @@ export declare const UpdateAddressFlagsInputSchema: z.ZodObject<{
|
|
|
6507
7253
|
expiresAt?: number | undefined;
|
|
6508
7254
|
setBy?: string | undefined;
|
|
6509
7255
|
reason?: string | undefined;
|
|
6510
|
-
}>, z.
|
|
7256
|
+
}>, z.ZodNull]>>;
|
|
6511
7257
|
}, "strip", z.ZodTypeAny, {
|
|
6512
|
-
wellknown?:
|
|
6513
|
-
|
|
6514
|
-
|
|
6515
|
-
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
|
|
6519
|
-
|
|
6520
|
-
|
|
6521
|
-
|
|
7258
|
+
wellknown?: {
|
|
7259
|
+
value: boolean;
|
|
7260
|
+
setAt: number;
|
|
7261
|
+
expiresAt?: number | undefined;
|
|
7262
|
+
setBy?: string | undefined;
|
|
7263
|
+
reason?: string | undefined;
|
|
7264
|
+
} | null | undefined;
|
|
7265
|
+
vip?: {
|
|
7266
|
+
value: boolean;
|
|
7267
|
+
setAt: number;
|
|
7268
|
+
expiresAt?: number | undefined;
|
|
7269
|
+
setBy?: string | undefined;
|
|
7270
|
+
reason?: string | undefined;
|
|
7271
|
+
} | null | undefined;
|
|
7272
|
+
blocked?: {
|
|
7273
|
+
value: boolean;
|
|
7274
|
+
setAt: number;
|
|
7275
|
+
expiresAt?: number | undefined;
|
|
7276
|
+
setBy?: string | undefined;
|
|
7277
|
+
reason?: string | undefined;
|
|
7278
|
+
} | null | undefined;
|
|
7279
|
+
trusted?: {
|
|
7280
|
+
value: boolean;
|
|
7281
|
+
setAt: number;
|
|
7282
|
+
expiresAt?: number | undefined;
|
|
7283
|
+
setBy?: string | undefined;
|
|
7284
|
+
reason?: string | undefined;
|
|
7285
|
+
} | null | undefined;
|
|
7286
|
+
muted?: {
|
|
7287
|
+
value: boolean;
|
|
7288
|
+
setAt: number;
|
|
7289
|
+
expiresAt?: number | undefined;
|
|
7290
|
+
setBy?: string | undefined;
|
|
7291
|
+
reason?: string | undefined;
|
|
7292
|
+
} | null | undefined;
|
|
7293
|
+
junkOnly?: {
|
|
7294
|
+
value: boolean;
|
|
7295
|
+
setAt: number;
|
|
7296
|
+
expiresAt?: number | undefined;
|
|
7297
|
+
setBy?: string | undefined;
|
|
7298
|
+
reason?: string | undefined;
|
|
7299
|
+
} | null | undefined;
|
|
7300
|
+
category?: {
|
|
7301
|
+
value: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
7302
|
+
setAt: number;
|
|
7303
|
+
expiresAt?: number | undefined;
|
|
7304
|
+
setBy?: string | undefined;
|
|
7305
|
+
reason?: string | undefined;
|
|
7306
|
+
} | null | undefined;
|
|
7307
|
+
autoArchive?: {
|
|
7308
|
+
value: boolean;
|
|
7309
|
+
setAt: number;
|
|
7310
|
+
expiresAt?: number | undefined;
|
|
7311
|
+
setBy?: string | undefined;
|
|
7312
|
+
reason?: string | undefined;
|
|
7313
|
+
} | null | undefined;
|
|
7314
|
+
unsubscribed?: {
|
|
7315
|
+
value: boolean;
|
|
7316
|
+
setAt: number;
|
|
7317
|
+
expiresAt?: number | undefined;
|
|
7318
|
+
setBy?: string | undefined;
|
|
7319
|
+
reason?: string | undefined;
|
|
7320
|
+
} | null | undefined;
|
|
7321
|
+
neverSpam?: {
|
|
7322
|
+
value: boolean;
|
|
7323
|
+
setAt: number;
|
|
7324
|
+
expiresAt?: number | undefined;
|
|
7325
|
+
setBy?: string | undefined;
|
|
7326
|
+
reason?: string | undefined;
|
|
7327
|
+
} | null | undefined;
|
|
6522
7328
|
}, {
|
|
6523
|
-
wellknown?:
|
|
6524
|
-
|
|
6525
|
-
|
|
6526
|
-
|
|
6527
|
-
|
|
6528
|
-
|
|
6529
|
-
|
|
6530
|
-
|
|
6531
|
-
|
|
6532
|
-
|
|
6533
|
-
|
|
6534
|
-
|
|
6535
|
-
|
|
6536
|
-
|
|
6537
|
-
|
|
6538
|
-
|
|
6539
|
-
|
|
7329
|
+
wellknown?: {
|
|
7330
|
+
value: boolean;
|
|
7331
|
+
setAt: number;
|
|
7332
|
+
expiresAt?: number | undefined;
|
|
7333
|
+
setBy?: string | undefined;
|
|
7334
|
+
reason?: string | undefined;
|
|
7335
|
+
} | null | undefined;
|
|
7336
|
+
vip?: {
|
|
7337
|
+
value: boolean;
|
|
7338
|
+
setAt: number;
|
|
7339
|
+
expiresAt?: number | undefined;
|
|
7340
|
+
setBy?: string | undefined;
|
|
7341
|
+
reason?: string | undefined;
|
|
7342
|
+
} | null | undefined;
|
|
7343
|
+
blocked?: {
|
|
7344
|
+
value: boolean;
|
|
7345
|
+
setAt: number;
|
|
7346
|
+
expiresAt?: number | undefined;
|
|
7347
|
+
setBy?: string | undefined;
|
|
7348
|
+
reason?: string | undefined;
|
|
7349
|
+
} | null | undefined;
|
|
7350
|
+
trusted?: {
|
|
7351
|
+
value: boolean;
|
|
7352
|
+
setAt: number;
|
|
7353
|
+
expiresAt?: number | undefined;
|
|
7354
|
+
setBy?: string | undefined;
|
|
7355
|
+
reason?: string | undefined;
|
|
7356
|
+
} | null | undefined;
|
|
7357
|
+
muted?: {
|
|
7358
|
+
value: boolean;
|
|
7359
|
+
setAt: number;
|
|
7360
|
+
expiresAt?: number | undefined;
|
|
7361
|
+
setBy?: string | undefined;
|
|
7362
|
+
reason?: string | undefined;
|
|
7363
|
+
} | null | undefined;
|
|
7364
|
+
junkOnly?: {
|
|
7365
|
+
value: boolean;
|
|
7366
|
+
setAt: number;
|
|
7367
|
+
expiresAt?: number | undefined;
|
|
7368
|
+
setBy?: string | undefined;
|
|
7369
|
+
reason?: string | undefined;
|
|
7370
|
+
} | null | undefined;
|
|
7371
|
+
category?: {
|
|
7372
|
+
value: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
7373
|
+
setAt: number;
|
|
7374
|
+
expiresAt?: number | undefined;
|
|
7375
|
+
setBy?: string | undefined;
|
|
7376
|
+
reason?: string | undefined;
|
|
7377
|
+
} | null | undefined;
|
|
7378
|
+
autoArchive?: {
|
|
7379
|
+
value: boolean;
|
|
7380
|
+
setAt: number;
|
|
7381
|
+
expiresAt?: number | undefined;
|
|
7382
|
+
setBy?: string | undefined;
|
|
7383
|
+
reason?: string | undefined;
|
|
7384
|
+
} | null | undefined;
|
|
7385
|
+
unsubscribed?: {
|
|
7386
|
+
value: boolean;
|
|
7387
|
+
setAt: number;
|
|
7388
|
+
expiresAt?: number | undefined;
|
|
7389
|
+
setBy?: string | undefined;
|
|
7390
|
+
reason?: string | undefined;
|
|
7391
|
+
} | null | undefined;
|
|
7392
|
+
neverSpam?: {
|
|
7393
|
+
value: boolean;
|
|
7394
|
+
setAt: number;
|
|
7395
|
+
expiresAt?: number | undefined;
|
|
7396
|
+
setBy?: string | undefined;
|
|
7397
|
+
reason?: string | undefined;
|
|
7398
|
+
} | null | undefined;
|
|
7399
|
+
}>;
|
|
7400
|
+
export declare const UpdateAddressInputSchema: z.ZodObject<{
|
|
7401
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
7402
|
+
trusted: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
7403
|
+
setAt: z.ZodNumber;
|
|
7404
|
+
setBy: z.ZodOptional<z.ZodString>;
|
|
7405
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
7406
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
7407
|
+
value: z.ZodBoolean;
|
|
7408
|
+
}, "strip", z.ZodTypeAny, {
|
|
7409
|
+
value: boolean;
|
|
7410
|
+
setAt: number;
|
|
7411
|
+
expiresAt?: number | undefined;
|
|
7412
|
+
setBy?: string | undefined;
|
|
7413
|
+
reason?: string | undefined;
|
|
7414
|
+
}, {
|
|
7415
|
+
value: boolean;
|
|
7416
|
+
setAt: number;
|
|
7417
|
+
expiresAt?: number | undefined;
|
|
7418
|
+
setBy?: string | undefined;
|
|
7419
|
+
reason?: string | undefined;
|
|
7420
|
+
}>, z.ZodNull]>>;
|
|
7421
|
+
blocked: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
7422
|
+
setAt: z.ZodNumber;
|
|
7423
|
+
setBy: z.ZodOptional<z.ZodString>;
|
|
7424
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
7425
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
7426
|
+
value: z.ZodBoolean;
|
|
7427
|
+
}, "strip", z.ZodTypeAny, {
|
|
7428
|
+
value: boolean;
|
|
7429
|
+
setAt: number;
|
|
7430
|
+
expiresAt?: number | undefined;
|
|
7431
|
+
setBy?: string | undefined;
|
|
7432
|
+
reason?: string | undefined;
|
|
7433
|
+
}, {
|
|
7434
|
+
value: boolean;
|
|
7435
|
+
setAt: number;
|
|
7436
|
+
expiresAt?: number | undefined;
|
|
7437
|
+
setBy?: string | undefined;
|
|
7438
|
+
reason?: string | undefined;
|
|
7439
|
+
}>, z.ZodNull]>>;
|
|
7440
|
+
neverSpam: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
7441
|
+
setAt: z.ZodNumber;
|
|
7442
|
+
setBy: z.ZodOptional<z.ZodString>;
|
|
7443
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
7444
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
7445
|
+
value: z.ZodBoolean;
|
|
7446
|
+
}, "strip", z.ZodTypeAny, {
|
|
7447
|
+
value: boolean;
|
|
7448
|
+
setAt: number;
|
|
7449
|
+
expiresAt?: number | undefined;
|
|
7450
|
+
setBy?: string | undefined;
|
|
7451
|
+
reason?: string | undefined;
|
|
7452
|
+
}, {
|
|
7453
|
+
value: boolean;
|
|
7454
|
+
setAt: number;
|
|
7455
|
+
expiresAt?: number | undefined;
|
|
7456
|
+
setBy?: string | undefined;
|
|
7457
|
+
reason?: string | undefined;
|
|
7458
|
+
}>, z.ZodNull]>>;
|
|
7459
|
+
muted: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
7460
|
+
setAt: z.ZodNumber;
|
|
7461
|
+
setBy: z.ZodOptional<z.ZodString>;
|
|
7462
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
6540
7463
|
reason: z.ZodOptional<z.ZodString>;
|
|
6541
7464
|
value: z.ZodBoolean;
|
|
6542
7465
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6545,234 +7468,417 @@ export declare const UpdateAddressInputSchema: z.ZodObject<{
|
|
|
6545
7468
|
expiresAt?: number | undefined;
|
|
6546
7469
|
setBy?: string | undefined;
|
|
6547
7470
|
reason?: string | undefined;
|
|
6548
|
-
}, {
|
|
7471
|
+
}, {
|
|
7472
|
+
value: boolean;
|
|
7473
|
+
setAt: number;
|
|
7474
|
+
expiresAt?: number | undefined;
|
|
7475
|
+
setBy?: string | undefined;
|
|
7476
|
+
reason?: string | undefined;
|
|
7477
|
+
}>, z.ZodNull]>>;
|
|
7478
|
+
vip: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
7479
|
+
setAt: z.ZodNumber;
|
|
7480
|
+
setBy: z.ZodOptional<z.ZodString>;
|
|
7481
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
7482
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
7483
|
+
value: z.ZodBoolean;
|
|
7484
|
+
}, "strip", z.ZodTypeAny, {
|
|
7485
|
+
value: boolean;
|
|
7486
|
+
setAt: number;
|
|
7487
|
+
expiresAt?: number | undefined;
|
|
7488
|
+
setBy?: string | undefined;
|
|
7489
|
+
reason?: string | undefined;
|
|
7490
|
+
}, {
|
|
7491
|
+
value: boolean;
|
|
7492
|
+
setAt: number;
|
|
7493
|
+
expiresAt?: number | undefined;
|
|
7494
|
+
setBy?: string | undefined;
|
|
7495
|
+
reason?: string | undefined;
|
|
7496
|
+
}>, z.ZodNull]>>;
|
|
7497
|
+
wellknown: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
7498
|
+
setAt: z.ZodNumber;
|
|
7499
|
+
setBy: z.ZodOptional<z.ZodString>;
|
|
7500
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
7501
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
7502
|
+
value: z.ZodBoolean;
|
|
7503
|
+
}, "strip", z.ZodTypeAny, {
|
|
7504
|
+
value: boolean;
|
|
7505
|
+
setAt: number;
|
|
7506
|
+
expiresAt?: number | undefined;
|
|
7507
|
+
setBy?: string | undefined;
|
|
7508
|
+
reason?: string | undefined;
|
|
7509
|
+
}, {
|
|
7510
|
+
value: boolean;
|
|
7511
|
+
setAt: number;
|
|
7512
|
+
expiresAt?: number | undefined;
|
|
7513
|
+
setBy?: string | undefined;
|
|
7514
|
+
reason?: string | undefined;
|
|
7515
|
+
}>, z.ZodNull]>>;
|
|
7516
|
+
junkOnly: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
7517
|
+
setAt: z.ZodNumber;
|
|
7518
|
+
setBy: z.ZodOptional<z.ZodString>;
|
|
7519
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
7520
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
7521
|
+
value: z.ZodBoolean;
|
|
7522
|
+
}, "strip", z.ZodTypeAny, {
|
|
7523
|
+
value: boolean;
|
|
7524
|
+
setAt: number;
|
|
7525
|
+
expiresAt?: number | undefined;
|
|
7526
|
+
setBy?: string | undefined;
|
|
7527
|
+
reason?: string | undefined;
|
|
7528
|
+
}, {
|
|
7529
|
+
value: boolean;
|
|
7530
|
+
setAt: number;
|
|
7531
|
+
expiresAt?: number | undefined;
|
|
7532
|
+
setBy?: string | undefined;
|
|
7533
|
+
reason?: string | undefined;
|
|
7534
|
+
}>, z.ZodNull]>>;
|
|
7535
|
+
category: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
7536
|
+
setAt: z.ZodNumber;
|
|
7537
|
+
setBy: z.ZodOptional<z.ZodString>;
|
|
7538
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
7539
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
7540
|
+
value: z.ZodEnum<["uncategorized", "personal", "newsletter", "marketing", "automated", "transactional", "social"]>;
|
|
7541
|
+
}, "strip", z.ZodTypeAny, {
|
|
7542
|
+
value: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
7543
|
+
setAt: number;
|
|
7544
|
+
expiresAt?: number | undefined;
|
|
7545
|
+
setBy?: string | undefined;
|
|
7546
|
+
reason?: string | undefined;
|
|
7547
|
+
}, {
|
|
7548
|
+
value: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
7549
|
+
setAt: number;
|
|
7550
|
+
expiresAt?: number | undefined;
|
|
7551
|
+
setBy?: string | undefined;
|
|
7552
|
+
reason?: string | undefined;
|
|
7553
|
+
}>, z.ZodNull]>>;
|
|
7554
|
+
autoArchive: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
7555
|
+
setAt: z.ZodNumber;
|
|
7556
|
+
setBy: z.ZodOptional<z.ZodString>;
|
|
7557
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
7558
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
7559
|
+
value: z.ZodBoolean;
|
|
7560
|
+
}, "strip", z.ZodTypeAny, {
|
|
7561
|
+
value: boolean;
|
|
7562
|
+
setAt: number;
|
|
7563
|
+
expiresAt?: number | undefined;
|
|
7564
|
+
setBy?: string | undefined;
|
|
7565
|
+
reason?: string | undefined;
|
|
7566
|
+
}, {
|
|
7567
|
+
value: boolean;
|
|
7568
|
+
setAt: number;
|
|
7569
|
+
expiresAt?: number | undefined;
|
|
7570
|
+
setBy?: string | undefined;
|
|
7571
|
+
reason?: string | undefined;
|
|
7572
|
+
}>, z.ZodNull]>>;
|
|
7573
|
+
unsubscribed: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
7574
|
+
setAt: z.ZodNumber;
|
|
7575
|
+
setBy: z.ZodOptional<z.ZodString>;
|
|
7576
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
7577
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
7578
|
+
value: z.ZodBoolean;
|
|
7579
|
+
}, "strip", z.ZodTypeAny, {
|
|
7580
|
+
value: boolean;
|
|
7581
|
+
setAt: number;
|
|
7582
|
+
expiresAt?: number | undefined;
|
|
7583
|
+
setBy?: string | undefined;
|
|
7584
|
+
reason?: string | undefined;
|
|
7585
|
+
}, {
|
|
7586
|
+
value: boolean;
|
|
7587
|
+
setAt: number;
|
|
7588
|
+
expiresAt?: number | undefined;
|
|
7589
|
+
setBy?: string | undefined;
|
|
7590
|
+
reason?: string | undefined;
|
|
7591
|
+
}>, z.ZodNull]>>;
|
|
7592
|
+
}, "strip", z.ZodTypeAny, {
|
|
7593
|
+
wellknown?: {
|
|
7594
|
+
value: boolean;
|
|
7595
|
+
setAt: number;
|
|
7596
|
+
expiresAt?: number | undefined;
|
|
7597
|
+
setBy?: string | undefined;
|
|
7598
|
+
reason?: string | undefined;
|
|
7599
|
+
} | null | undefined;
|
|
7600
|
+
vip?: {
|
|
7601
|
+
value: boolean;
|
|
7602
|
+
setAt: number;
|
|
7603
|
+
expiresAt?: number | undefined;
|
|
7604
|
+
setBy?: string | undefined;
|
|
7605
|
+
reason?: string | undefined;
|
|
7606
|
+
} | null | undefined;
|
|
7607
|
+
blocked?: {
|
|
7608
|
+
value: boolean;
|
|
7609
|
+
setAt: number;
|
|
7610
|
+
expiresAt?: number | undefined;
|
|
7611
|
+
setBy?: string | undefined;
|
|
7612
|
+
reason?: string | undefined;
|
|
7613
|
+
} | null | undefined;
|
|
7614
|
+
trusted?: {
|
|
7615
|
+
value: boolean;
|
|
7616
|
+
setAt: number;
|
|
7617
|
+
expiresAt?: number | undefined;
|
|
7618
|
+
setBy?: string | undefined;
|
|
7619
|
+
reason?: string | undefined;
|
|
7620
|
+
} | null | undefined;
|
|
7621
|
+
muted?: {
|
|
7622
|
+
value: boolean;
|
|
7623
|
+
setAt: number;
|
|
7624
|
+
expiresAt?: number | undefined;
|
|
7625
|
+
setBy?: string | undefined;
|
|
7626
|
+
reason?: string | undefined;
|
|
7627
|
+
} | null | undefined;
|
|
7628
|
+
junkOnly?: {
|
|
7629
|
+
value: boolean;
|
|
7630
|
+
setAt: number;
|
|
7631
|
+
expiresAt?: number | undefined;
|
|
7632
|
+
setBy?: string | undefined;
|
|
7633
|
+
reason?: string | undefined;
|
|
7634
|
+
} | null | undefined;
|
|
7635
|
+
category?: {
|
|
7636
|
+
value: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
7637
|
+
setAt: number;
|
|
7638
|
+
expiresAt?: number | undefined;
|
|
7639
|
+
setBy?: string | undefined;
|
|
7640
|
+
reason?: string | undefined;
|
|
7641
|
+
} | null | undefined;
|
|
7642
|
+
autoArchive?: {
|
|
7643
|
+
value: boolean;
|
|
7644
|
+
setAt: number;
|
|
7645
|
+
expiresAt?: number | undefined;
|
|
7646
|
+
setBy?: string | undefined;
|
|
7647
|
+
reason?: string | undefined;
|
|
7648
|
+
} | null | undefined;
|
|
7649
|
+
unsubscribed?: {
|
|
6549
7650
|
value: boolean;
|
|
6550
7651
|
setAt: number;
|
|
6551
7652
|
expiresAt?: number | undefined;
|
|
6552
7653
|
setBy?: string | undefined;
|
|
6553
7654
|
reason?: string | undefined;
|
|
6554
|
-
}
|
|
6555
|
-
|
|
6556
|
-
setAt: z.ZodNumber;
|
|
6557
|
-
setBy: z.ZodOptional<z.ZodString>;
|
|
6558
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
6559
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
6560
|
-
value: z.ZodBoolean;
|
|
6561
|
-
}, "strip", z.ZodTypeAny, {
|
|
7655
|
+
} | null | undefined;
|
|
7656
|
+
neverSpam?: {
|
|
6562
7657
|
value: boolean;
|
|
6563
7658
|
setAt: number;
|
|
6564
7659
|
expiresAt?: number | undefined;
|
|
6565
7660
|
setBy?: string | undefined;
|
|
6566
7661
|
reason?: string | undefined;
|
|
6567
|
-
}
|
|
7662
|
+
} | null | undefined;
|
|
7663
|
+
}, {
|
|
7664
|
+
wellknown?: {
|
|
6568
7665
|
value: boolean;
|
|
6569
7666
|
setAt: number;
|
|
6570
7667
|
expiresAt?: number | undefined;
|
|
6571
7668
|
setBy?: string | undefined;
|
|
6572
7669
|
reason?: string | undefined;
|
|
6573
|
-
}
|
|
6574
|
-
|
|
6575
|
-
setAt: z.ZodNumber;
|
|
6576
|
-
setBy: z.ZodOptional<z.ZodString>;
|
|
6577
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
6578
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
6579
|
-
value: z.ZodBoolean;
|
|
6580
|
-
}, "strip", z.ZodTypeAny, {
|
|
7670
|
+
} | null | undefined;
|
|
7671
|
+
vip?: {
|
|
6581
7672
|
value: boolean;
|
|
6582
7673
|
setAt: number;
|
|
6583
7674
|
expiresAt?: number | undefined;
|
|
6584
7675
|
setBy?: string | undefined;
|
|
6585
7676
|
reason?: string | undefined;
|
|
6586
|
-
}
|
|
7677
|
+
} | null | undefined;
|
|
7678
|
+
blocked?: {
|
|
6587
7679
|
value: boolean;
|
|
6588
7680
|
setAt: number;
|
|
6589
7681
|
expiresAt?: number | undefined;
|
|
6590
7682
|
setBy?: string | undefined;
|
|
6591
7683
|
reason?: string | undefined;
|
|
6592
|
-
}
|
|
6593
|
-
|
|
6594
|
-
setAt: z.ZodNumber;
|
|
6595
|
-
setBy: z.ZodOptional<z.ZodString>;
|
|
6596
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
6597
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
6598
|
-
value: z.ZodBoolean;
|
|
6599
|
-
}, "strip", z.ZodTypeAny, {
|
|
7684
|
+
} | null | undefined;
|
|
7685
|
+
trusted?: {
|
|
6600
7686
|
value: boolean;
|
|
6601
7687
|
setAt: number;
|
|
6602
7688
|
expiresAt?: number | undefined;
|
|
6603
7689
|
setBy?: string | undefined;
|
|
6604
7690
|
reason?: string | undefined;
|
|
6605
|
-
}
|
|
7691
|
+
} | null | undefined;
|
|
7692
|
+
muted?: {
|
|
6606
7693
|
value: boolean;
|
|
6607
7694
|
setAt: number;
|
|
6608
7695
|
expiresAt?: number | undefined;
|
|
6609
7696
|
setBy?: string | undefined;
|
|
6610
7697
|
reason?: string | undefined;
|
|
6611
|
-
}
|
|
6612
|
-
|
|
6613
|
-
setAt: z.ZodNumber;
|
|
6614
|
-
setBy: z.ZodOptional<z.ZodString>;
|
|
6615
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
6616
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
6617
|
-
value: z.ZodBoolean;
|
|
6618
|
-
}, "strip", z.ZodTypeAny, {
|
|
7698
|
+
} | null | undefined;
|
|
7699
|
+
junkOnly?: {
|
|
6619
7700
|
value: boolean;
|
|
6620
7701
|
setAt: number;
|
|
6621
7702
|
expiresAt?: number | undefined;
|
|
6622
7703
|
setBy?: string | undefined;
|
|
6623
7704
|
reason?: string | undefined;
|
|
6624
|
-
}
|
|
7705
|
+
} | null | undefined;
|
|
7706
|
+
category?: {
|
|
7707
|
+
value: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
7708
|
+
setAt: number;
|
|
7709
|
+
expiresAt?: number | undefined;
|
|
7710
|
+
setBy?: string | undefined;
|
|
7711
|
+
reason?: string | undefined;
|
|
7712
|
+
} | null | undefined;
|
|
7713
|
+
autoArchive?: {
|
|
6625
7714
|
value: boolean;
|
|
6626
7715
|
setAt: number;
|
|
6627
7716
|
expiresAt?: number | undefined;
|
|
6628
7717
|
setBy?: string | undefined;
|
|
6629
7718
|
reason?: string | undefined;
|
|
6630
|
-
}
|
|
6631
|
-
|
|
6632
|
-
setAt: z.ZodNumber;
|
|
6633
|
-
setBy: z.ZodOptional<z.ZodString>;
|
|
6634
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
6635
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
6636
|
-
value: z.ZodBoolean;
|
|
6637
|
-
}, "strip", z.ZodTypeAny, {
|
|
7719
|
+
} | null | undefined;
|
|
7720
|
+
unsubscribed?: {
|
|
6638
7721
|
value: boolean;
|
|
6639
7722
|
setAt: number;
|
|
6640
7723
|
expiresAt?: number | undefined;
|
|
6641
7724
|
setBy?: string | undefined;
|
|
6642
7725
|
reason?: string | undefined;
|
|
6643
|
-
}
|
|
7726
|
+
} | null | undefined;
|
|
7727
|
+
neverSpam?: {
|
|
6644
7728
|
value: boolean;
|
|
6645
7729
|
setAt: number;
|
|
6646
7730
|
expiresAt?: number | undefined;
|
|
6647
7731
|
setBy?: string | undefined;
|
|
6648
7732
|
reason?: string | undefined;
|
|
6649
|
-
}
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
|
|
6653
|
-
|
|
6654
|
-
|
|
6655
|
-
value: z.ZodBoolean;
|
|
6656
|
-
}, "strip", z.ZodTypeAny, {
|
|
7733
|
+
} | null | undefined;
|
|
7734
|
+
}>>;
|
|
7735
|
+
clearFlags: z.ZodOptional<z.ZodArray<z.ZodEnum<["trusted", "blocked", "muted", "vip", "junkOnly", "category", "autoArchive", "unsubscribed", "neverSpam"]>, "many">>;
|
|
7736
|
+
}, "strip", z.ZodTypeAny, {
|
|
7737
|
+
flags?: {
|
|
7738
|
+
wellknown?: {
|
|
6657
7739
|
value: boolean;
|
|
6658
7740
|
setAt: number;
|
|
6659
7741
|
expiresAt?: number | undefined;
|
|
6660
7742
|
setBy?: string | undefined;
|
|
6661
7743
|
reason?: string | undefined;
|
|
6662
|
-
}
|
|
7744
|
+
} | null | undefined;
|
|
7745
|
+
vip?: {
|
|
6663
7746
|
value: boolean;
|
|
6664
7747
|
setAt: number;
|
|
6665
7748
|
expiresAt?: number | undefined;
|
|
6666
7749
|
setBy?: string | undefined;
|
|
6667
7750
|
reason?: string | undefined;
|
|
6668
|
-
}
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
setBy: z.ZodOptional<z.ZodString>;
|
|
6672
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
6673
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
6674
|
-
value: z.ZodEnum<["uncategorized", "personal", "newsletter", "marketing", "automated", "transactional", "social"]>;
|
|
6675
|
-
}, "strip", z.ZodTypeAny, {
|
|
6676
|
-
value: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
7751
|
+
} | null | undefined;
|
|
7752
|
+
blocked?: {
|
|
7753
|
+
value: boolean;
|
|
6677
7754
|
setAt: number;
|
|
6678
7755
|
expiresAt?: number | undefined;
|
|
6679
7756
|
setBy?: string | undefined;
|
|
6680
7757
|
reason?: string | undefined;
|
|
6681
|
-
}
|
|
6682
|
-
|
|
7758
|
+
} | null | undefined;
|
|
7759
|
+
trusted?: {
|
|
7760
|
+
value: boolean;
|
|
6683
7761
|
setAt: number;
|
|
6684
7762
|
expiresAt?: number | undefined;
|
|
6685
7763
|
setBy?: string | undefined;
|
|
6686
7764
|
reason?: string | undefined;
|
|
6687
|
-
}
|
|
6688
|
-
|
|
6689
|
-
setAt: z.ZodNumber;
|
|
6690
|
-
setBy: z.ZodOptional<z.ZodString>;
|
|
6691
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
6692
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
6693
|
-
value: z.ZodBoolean;
|
|
6694
|
-
}, "strip", z.ZodTypeAny, {
|
|
7765
|
+
} | null | undefined;
|
|
7766
|
+
muted?: {
|
|
6695
7767
|
value: boolean;
|
|
6696
7768
|
setAt: number;
|
|
6697
7769
|
expiresAt?: number | undefined;
|
|
6698
7770
|
setBy?: string | undefined;
|
|
6699
7771
|
reason?: string | undefined;
|
|
6700
|
-
}
|
|
7772
|
+
} | null | undefined;
|
|
7773
|
+
junkOnly?: {
|
|
6701
7774
|
value: boolean;
|
|
6702
7775
|
setAt: number;
|
|
6703
7776
|
expiresAt?: number | undefined;
|
|
6704
7777
|
setBy?: string | undefined;
|
|
6705
7778
|
reason?: string | undefined;
|
|
6706
|
-
}
|
|
6707
|
-
|
|
6708
|
-
|
|
6709
|
-
|
|
6710
|
-
expiresAt
|
|
6711
|
-
|
|
6712
|
-
|
|
6713
|
-
}
|
|
7779
|
+
} | null | undefined;
|
|
7780
|
+
category?: {
|
|
7781
|
+
value: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
7782
|
+
setAt: number;
|
|
7783
|
+
expiresAt?: number | undefined;
|
|
7784
|
+
setBy?: string | undefined;
|
|
7785
|
+
reason?: string | undefined;
|
|
7786
|
+
} | null | undefined;
|
|
7787
|
+
autoArchive?: {
|
|
6714
7788
|
value: boolean;
|
|
6715
7789
|
setAt: number;
|
|
6716
7790
|
expiresAt?: number | undefined;
|
|
6717
7791
|
setBy?: string | undefined;
|
|
6718
7792
|
reason?: string | undefined;
|
|
6719
|
-
}
|
|
7793
|
+
} | null | undefined;
|
|
7794
|
+
unsubscribed?: {
|
|
6720
7795
|
value: boolean;
|
|
6721
7796
|
setAt: number;
|
|
6722
7797
|
expiresAt?: number | undefined;
|
|
6723
7798
|
setBy?: string | undefined;
|
|
6724
7799
|
reason?: string | undefined;
|
|
6725
|
-
}
|
|
6726
|
-
|
|
6727
|
-
|
|
6728
|
-
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
6732
|
-
|
|
6733
|
-
category?: unknown;
|
|
6734
|
-
autoArchive?: unknown;
|
|
6735
|
-
unsubscribed?: unknown;
|
|
6736
|
-
neverSpam?: unknown;
|
|
6737
|
-
}, {
|
|
6738
|
-
wellknown?: unknown;
|
|
6739
|
-
vip?: unknown;
|
|
6740
|
-
blocked?: unknown;
|
|
6741
|
-
trusted?: unknown;
|
|
6742
|
-
muted?: unknown;
|
|
6743
|
-
junkOnly?: unknown;
|
|
6744
|
-
category?: unknown;
|
|
6745
|
-
autoArchive?: unknown;
|
|
6746
|
-
unsubscribed?: unknown;
|
|
6747
|
-
neverSpam?: unknown;
|
|
6748
|
-
}>>;
|
|
6749
|
-
clearFlags: z.ZodOptional<z.ZodArray<z.ZodEnum<["trusted", "blocked", "muted", "vip", "junkOnly", "category", "autoArchive", "unsubscribed", "neverSpam"]>, "many">>;
|
|
6750
|
-
}, "strip", z.ZodTypeAny, {
|
|
6751
|
-
flags?: {
|
|
6752
|
-
wellknown?: unknown;
|
|
6753
|
-
vip?: unknown;
|
|
6754
|
-
blocked?: unknown;
|
|
6755
|
-
trusted?: unknown;
|
|
6756
|
-
muted?: unknown;
|
|
6757
|
-
junkOnly?: unknown;
|
|
6758
|
-
category?: unknown;
|
|
6759
|
-
autoArchive?: unknown;
|
|
6760
|
-
unsubscribed?: unknown;
|
|
6761
|
-
neverSpam?: unknown;
|
|
7800
|
+
} | null | undefined;
|
|
7801
|
+
neverSpam?: {
|
|
7802
|
+
value: boolean;
|
|
7803
|
+
setAt: number;
|
|
7804
|
+
expiresAt?: number | undefined;
|
|
7805
|
+
setBy?: string | undefined;
|
|
7806
|
+
reason?: string | undefined;
|
|
7807
|
+
} | null | undefined;
|
|
6762
7808
|
} | undefined;
|
|
6763
7809
|
clearFlags?: ("vip" | "blocked" | "trusted" | "muted" | "junkOnly" | "category" | "autoArchive" | "unsubscribed" | "neverSpam")[] | undefined;
|
|
6764
7810
|
}, {
|
|
6765
7811
|
flags?: {
|
|
6766
|
-
wellknown?:
|
|
6767
|
-
|
|
6768
|
-
|
|
6769
|
-
|
|
6770
|
-
|
|
6771
|
-
|
|
6772
|
-
|
|
6773
|
-
|
|
6774
|
-
|
|
6775
|
-
|
|
7812
|
+
wellknown?: {
|
|
7813
|
+
value: boolean;
|
|
7814
|
+
setAt: number;
|
|
7815
|
+
expiresAt?: number | undefined;
|
|
7816
|
+
setBy?: string | undefined;
|
|
7817
|
+
reason?: string | undefined;
|
|
7818
|
+
} | null | undefined;
|
|
7819
|
+
vip?: {
|
|
7820
|
+
value: boolean;
|
|
7821
|
+
setAt: number;
|
|
7822
|
+
expiresAt?: number | undefined;
|
|
7823
|
+
setBy?: string | undefined;
|
|
7824
|
+
reason?: string | undefined;
|
|
7825
|
+
} | null | undefined;
|
|
7826
|
+
blocked?: {
|
|
7827
|
+
value: boolean;
|
|
7828
|
+
setAt: number;
|
|
7829
|
+
expiresAt?: number | undefined;
|
|
7830
|
+
setBy?: string | undefined;
|
|
7831
|
+
reason?: string | undefined;
|
|
7832
|
+
} | null | undefined;
|
|
7833
|
+
trusted?: {
|
|
7834
|
+
value: boolean;
|
|
7835
|
+
setAt: number;
|
|
7836
|
+
expiresAt?: number | undefined;
|
|
7837
|
+
setBy?: string | undefined;
|
|
7838
|
+
reason?: string | undefined;
|
|
7839
|
+
} | null | undefined;
|
|
7840
|
+
muted?: {
|
|
7841
|
+
value: boolean;
|
|
7842
|
+
setAt: number;
|
|
7843
|
+
expiresAt?: number | undefined;
|
|
7844
|
+
setBy?: string | undefined;
|
|
7845
|
+
reason?: string | undefined;
|
|
7846
|
+
} | null | undefined;
|
|
7847
|
+
junkOnly?: {
|
|
7848
|
+
value: boolean;
|
|
7849
|
+
setAt: number;
|
|
7850
|
+
expiresAt?: number | undefined;
|
|
7851
|
+
setBy?: string | undefined;
|
|
7852
|
+
reason?: string | undefined;
|
|
7853
|
+
} | null | undefined;
|
|
7854
|
+
category?: {
|
|
7855
|
+
value: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
7856
|
+
setAt: number;
|
|
7857
|
+
expiresAt?: number | undefined;
|
|
7858
|
+
setBy?: string | undefined;
|
|
7859
|
+
reason?: string | undefined;
|
|
7860
|
+
} | null | undefined;
|
|
7861
|
+
autoArchive?: {
|
|
7862
|
+
value: boolean;
|
|
7863
|
+
setAt: number;
|
|
7864
|
+
expiresAt?: number | undefined;
|
|
7865
|
+
setBy?: string | undefined;
|
|
7866
|
+
reason?: string | undefined;
|
|
7867
|
+
} | null | undefined;
|
|
7868
|
+
unsubscribed?: {
|
|
7869
|
+
value: boolean;
|
|
7870
|
+
setAt: number;
|
|
7871
|
+
expiresAt?: number | undefined;
|
|
7872
|
+
setBy?: string | undefined;
|
|
7873
|
+
reason?: string | undefined;
|
|
7874
|
+
} | null | undefined;
|
|
7875
|
+
neverSpam?: {
|
|
7876
|
+
value: boolean;
|
|
7877
|
+
setAt: number;
|
|
7878
|
+
expiresAt?: number | undefined;
|
|
7879
|
+
setBy?: string | undefined;
|
|
7880
|
+
reason?: string | undefined;
|
|
7881
|
+
} | null | undefined;
|
|
6776
7882
|
} | undefined;
|
|
6777
7883
|
clearFlags?: ("vip" | "blocked" | "trusted" | "muted" | "junkOnly" | "category" | "autoArchive" | "unsubscribed" | "neverSpam")[] | undefined;
|
|
6778
7884
|
}>;
|
|
@@ -6782,7 +7888,6 @@ export declare const MessageSummaryResponseSchema: z.ZodObject<{
|
|
|
6782
7888
|
uid: z.ZodNumber;
|
|
6783
7889
|
rfc822Size: z.ZodNumber;
|
|
6784
7890
|
internalDate: z.ZodNumber;
|
|
6785
|
-
messageIdHeader: z.ZodOptional<z.ZodString>;
|
|
6786
7891
|
status: z.ZodEnum<["active", "deleting", "deleted", "moving"]>;
|
|
6787
7892
|
syncStatus: z.ZodEnum<["synced", "pending", "failed", "abandoned"]>;
|
|
6788
7893
|
abandonedMutation: z.ZodEnum<["none", "move", "delete", "copy"]>;
|
|
@@ -6817,6 +7922,7 @@ export declare const MessageSummaryResponseSchema: z.ZodObject<{
|
|
|
6817
7922
|
signerMessageCount?: number | undefined;
|
|
6818
7923
|
signerFirstSeenAt?: number | undefined;
|
|
6819
7924
|
}>>;
|
|
7925
|
+
messageIdHeader: z.ZodOptional<z.ZodString>;
|
|
6820
7926
|
autoMoved: z.ZodOptional<z.ZodObject<{
|
|
6821
7927
|
action: z.ZodOptional<z.ZodEnum<["MoveToInbox", "MoveToJunk"]>>;
|
|
6822
7928
|
fromPlacement: z.ZodOptional<z.ZodString>;
|
|
@@ -7272,7 +8378,7 @@ export declare const EnvelopeAddressResponseSchema: z.ZodObject<{
|
|
|
7272
8378
|
}, "strip", z.ZodTypeAny, {
|
|
7273
8379
|
addressId: string;
|
|
7274
8380
|
normalizedEmail: string;
|
|
7275
|
-
addressRole: "
|
|
8381
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
7276
8382
|
addressOrder: number;
|
|
7277
8383
|
displayName?: string | undefined;
|
|
7278
8384
|
flags?: {
|
|
@@ -7350,7 +8456,7 @@ export declare const EnvelopeAddressResponseSchema: z.ZodObject<{
|
|
|
7350
8456
|
}, {
|
|
7351
8457
|
addressId: string;
|
|
7352
8458
|
normalizedEmail: string;
|
|
7353
|
-
addressRole: "
|
|
8459
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
7354
8460
|
addressOrder: number;
|
|
7355
8461
|
displayName?: string | undefined;
|
|
7356
8462
|
flags?: {
|
|
@@ -7774,7 +8880,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
7774
8880
|
}, "strip", z.ZodTypeAny, {
|
|
7775
8881
|
addressId: string;
|
|
7776
8882
|
normalizedEmail: string;
|
|
7777
|
-
addressRole: "
|
|
8883
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
7778
8884
|
addressOrder: number;
|
|
7779
8885
|
displayName?: string | undefined;
|
|
7780
8886
|
flags?: {
|
|
@@ -7852,7 +8958,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
7852
8958
|
}, {
|
|
7853
8959
|
addressId: string;
|
|
7854
8960
|
normalizedEmail: string;
|
|
7855
|
-
addressRole: "
|
|
8961
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
7856
8962
|
addressOrder: number;
|
|
7857
8963
|
displayName?: string | undefined;
|
|
7858
8964
|
flags?: {
|
|
@@ -8271,7 +9377,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
8271
9377
|
}, "strip", z.ZodTypeAny, {
|
|
8272
9378
|
addressId: string;
|
|
8273
9379
|
normalizedEmail: string;
|
|
8274
|
-
addressRole: "
|
|
9380
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
8275
9381
|
addressOrder: number;
|
|
8276
9382
|
displayName?: string | undefined;
|
|
8277
9383
|
flags?: {
|
|
@@ -8349,7 +9455,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
8349
9455
|
}, {
|
|
8350
9456
|
addressId: string;
|
|
8351
9457
|
normalizedEmail: string;
|
|
8352
|
-
addressRole: "
|
|
9458
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
8353
9459
|
addressOrder: number;
|
|
8354
9460
|
displayName?: string | undefined;
|
|
8355
9461
|
flags?: {
|
|
@@ -8768,7 +9874,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
8768
9874
|
}, "strip", z.ZodTypeAny, {
|
|
8769
9875
|
addressId: string;
|
|
8770
9876
|
normalizedEmail: string;
|
|
8771
|
-
addressRole: "
|
|
9877
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
8772
9878
|
addressOrder: number;
|
|
8773
9879
|
displayName?: string | undefined;
|
|
8774
9880
|
flags?: {
|
|
@@ -8846,7 +9952,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
8846
9952
|
}, {
|
|
8847
9953
|
addressId: string;
|
|
8848
9954
|
normalizedEmail: string;
|
|
8849
|
-
addressRole: "
|
|
9955
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
8850
9956
|
addressOrder: number;
|
|
8851
9957
|
displayName?: string | undefined;
|
|
8852
9958
|
flags?: {
|
|
@@ -9265,7 +10371,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
9265
10371
|
}, "strip", z.ZodTypeAny, {
|
|
9266
10372
|
addressId: string;
|
|
9267
10373
|
normalizedEmail: string;
|
|
9268
|
-
addressRole: "
|
|
10374
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
9269
10375
|
addressOrder: number;
|
|
9270
10376
|
displayName?: string | undefined;
|
|
9271
10377
|
flags?: {
|
|
@@ -9343,7 +10449,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
9343
10449
|
}, {
|
|
9344
10450
|
addressId: string;
|
|
9345
10451
|
normalizedEmail: string;
|
|
9346
|
-
addressRole: "
|
|
10452
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
9347
10453
|
addressOrder: number;
|
|
9348
10454
|
displayName?: string | undefined;
|
|
9349
10455
|
flags?: {
|
|
@@ -9762,7 +10868,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
9762
10868
|
}, "strip", z.ZodTypeAny, {
|
|
9763
10869
|
addressId: string;
|
|
9764
10870
|
normalizedEmail: string;
|
|
9765
|
-
addressRole: "
|
|
10871
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
9766
10872
|
addressOrder: number;
|
|
9767
10873
|
displayName?: string | undefined;
|
|
9768
10874
|
flags?: {
|
|
@@ -9840,7 +10946,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
9840
10946
|
}, {
|
|
9841
10947
|
addressId: string;
|
|
9842
10948
|
normalizedEmail: string;
|
|
9843
|
-
addressRole: "
|
|
10949
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
9844
10950
|
addressOrder: number;
|
|
9845
10951
|
displayName?: string | undefined;
|
|
9846
10952
|
flags?: {
|
|
@@ -9923,7 +11029,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
9923
11029
|
from: {
|
|
9924
11030
|
addressId: string;
|
|
9925
11031
|
normalizedEmail: string;
|
|
9926
|
-
addressRole: "
|
|
11032
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
9927
11033
|
addressOrder: number;
|
|
9928
11034
|
displayName?: string | undefined;
|
|
9929
11035
|
flags?: {
|
|
@@ -10002,7 +11108,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
10002
11108
|
to: {
|
|
10003
11109
|
addressId: string;
|
|
10004
11110
|
normalizedEmail: string;
|
|
10005
|
-
addressRole: "
|
|
11111
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
10006
11112
|
addressOrder: number;
|
|
10007
11113
|
displayName?: string | undefined;
|
|
10008
11114
|
flags?: {
|
|
@@ -10081,7 +11187,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
10081
11187
|
cc: {
|
|
10082
11188
|
addressId: string;
|
|
10083
11189
|
normalizedEmail: string;
|
|
10084
|
-
addressRole: "
|
|
11190
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
10085
11191
|
addressOrder: number;
|
|
10086
11192
|
displayName?: string | undefined;
|
|
10087
11193
|
flags?: {
|
|
@@ -10160,7 +11266,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
10160
11266
|
bcc: {
|
|
10161
11267
|
addressId: string;
|
|
10162
11268
|
normalizedEmail: string;
|
|
10163
|
-
addressRole: "
|
|
11269
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
10164
11270
|
addressOrder: number;
|
|
10165
11271
|
displayName?: string | undefined;
|
|
10166
11272
|
flags?: {
|
|
@@ -10242,7 +11348,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
10242
11348
|
replyTo: {
|
|
10243
11349
|
addressId: string;
|
|
10244
11350
|
normalizedEmail: string;
|
|
10245
|
-
addressRole: "
|
|
11351
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
10246
11352
|
addressOrder: number;
|
|
10247
11353
|
displayName?: string | undefined;
|
|
10248
11354
|
flags?: {
|
|
@@ -10325,7 +11431,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
10325
11431
|
from: {
|
|
10326
11432
|
addressId: string;
|
|
10327
11433
|
normalizedEmail: string;
|
|
10328
|
-
addressRole: "
|
|
11434
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
10329
11435
|
addressOrder: number;
|
|
10330
11436
|
displayName?: string | undefined;
|
|
10331
11437
|
flags?: {
|
|
@@ -10404,7 +11510,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
10404
11510
|
to: {
|
|
10405
11511
|
addressId: string;
|
|
10406
11512
|
normalizedEmail: string;
|
|
10407
|
-
addressRole: "
|
|
11513
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
10408
11514
|
addressOrder: number;
|
|
10409
11515
|
displayName?: string | undefined;
|
|
10410
11516
|
flags?: {
|
|
@@ -10483,7 +11589,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
10483
11589
|
cc: {
|
|
10484
11590
|
addressId: string;
|
|
10485
11591
|
normalizedEmail: string;
|
|
10486
|
-
addressRole: "
|
|
11592
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
10487
11593
|
addressOrder: number;
|
|
10488
11594
|
displayName?: string | undefined;
|
|
10489
11595
|
flags?: {
|
|
@@ -10562,7 +11668,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
10562
11668
|
bcc: {
|
|
10563
11669
|
addressId: string;
|
|
10564
11670
|
normalizedEmail: string;
|
|
10565
|
-
addressRole: "
|
|
11671
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
10566
11672
|
addressOrder: number;
|
|
10567
11673
|
displayName?: string | undefined;
|
|
10568
11674
|
flags?: {
|
|
@@ -10644,7 +11750,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
10644
11750
|
replyTo: {
|
|
10645
11751
|
addressId: string;
|
|
10646
11752
|
normalizedEmail: string;
|
|
10647
|
-
addressRole: "
|
|
11753
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
10648
11754
|
addressOrder: number;
|
|
10649
11755
|
displayName?: string | undefined;
|
|
10650
11756
|
flags?: {
|
|
@@ -10725,6 +11831,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
10725
11831
|
}>;
|
|
10726
11832
|
export declare const BodyPartResponseSchema: z.ZodObject<{
|
|
10727
11833
|
bodyPartId: z.ZodString;
|
|
11834
|
+
partPath: z.ZodString;
|
|
10728
11835
|
mediaType: z.ZodEnum<["TEXT", "IMAGE", "AUDIO", "VIDEO", "APPLICATION", "MULTIPART", "MESSAGE"]>;
|
|
10729
11836
|
mediaSubtype: z.ZodString;
|
|
10730
11837
|
contentId: z.ZodOptional<z.ZodString>;
|
|
@@ -10736,22 +11843,24 @@ export declare const BodyPartResponseSchema: z.ZodObject<{
|
|
|
10736
11843
|
}, "strip", z.ZodTypeAny, {
|
|
10737
11844
|
contentUrl: string;
|
|
10738
11845
|
bodyPartId: string;
|
|
11846
|
+
partPath: string;
|
|
10739
11847
|
mediaType: "TEXT" | "IMAGE" | "AUDIO" | "VIDEO" | "APPLICATION" | "MULTIPART" | "MESSAGE";
|
|
10740
11848
|
mediaSubtype: string;
|
|
10741
11849
|
sizeOctets: number;
|
|
10742
11850
|
isMultipart: boolean;
|
|
10743
11851
|
contentId?: string | undefined;
|
|
10744
|
-
disposition?: "
|
|
11852
|
+
disposition?: "inline" | "attachment" | undefined;
|
|
10745
11853
|
dispositionFilename?: string | undefined;
|
|
10746
11854
|
}, {
|
|
10747
11855
|
contentUrl: string;
|
|
10748
11856
|
bodyPartId: string;
|
|
11857
|
+
partPath: string;
|
|
10749
11858
|
mediaType: "TEXT" | "IMAGE" | "AUDIO" | "VIDEO" | "APPLICATION" | "MULTIPART" | "MESSAGE";
|
|
10750
11859
|
mediaSubtype: string;
|
|
10751
11860
|
sizeOctets: number;
|
|
10752
11861
|
isMultipart: boolean;
|
|
10753
11862
|
contentId?: string | undefined;
|
|
10754
|
-
disposition?: "
|
|
11863
|
+
disposition?: "inline" | "attachment" | undefined;
|
|
10755
11864
|
dispositionFilename?: string | undefined;
|
|
10756
11865
|
}>;
|
|
10757
11866
|
export declare const MessageReferenceResponseSchema: z.ZodObject<{
|
|
@@ -10774,7 +11883,6 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
10774
11883
|
uid: z.ZodNumber;
|
|
10775
11884
|
rfc822Size: z.ZodNumber;
|
|
10776
11885
|
internalDate: z.ZodNumber;
|
|
10777
|
-
messageIdHeader: z.ZodOptional<z.ZodString>;
|
|
10778
11886
|
status: z.ZodEnum<["active", "deleting", "deleted", "moving"]>;
|
|
10779
11887
|
syncStatus: z.ZodEnum<["synced", "pending", "failed", "abandoned"]>;
|
|
10780
11888
|
abandonedMutation: z.ZodEnum<["none", "move", "delete", "copy"]>;
|
|
@@ -10809,6 +11917,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
10809
11917
|
signerMessageCount?: number | undefined;
|
|
10810
11918
|
signerFirstSeenAt?: number | undefined;
|
|
10811
11919
|
}>>;
|
|
11920
|
+
messageIdHeader: z.ZodOptional<z.ZodString>;
|
|
10812
11921
|
autoMoved: z.ZodOptional<z.ZodObject<{
|
|
10813
11922
|
action: z.ZodOptional<z.ZodEnum<["MoveToInbox", "MoveToJunk"]>>;
|
|
10814
11923
|
fromPlacement: z.ZodOptional<z.ZodString>;
|
|
@@ -11269,7 +12378,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
11269
12378
|
}, "strip", z.ZodTypeAny, {
|
|
11270
12379
|
addressId: string;
|
|
11271
12380
|
normalizedEmail: string;
|
|
11272
|
-
addressRole: "
|
|
12381
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
11273
12382
|
addressOrder: number;
|
|
11274
12383
|
displayName?: string | undefined;
|
|
11275
12384
|
flags?: {
|
|
@@ -11347,7 +12456,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
11347
12456
|
}, {
|
|
11348
12457
|
addressId: string;
|
|
11349
12458
|
normalizedEmail: string;
|
|
11350
|
-
addressRole: "
|
|
12459
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
11351
12460
|
addressOrder: number;
|
|
11352
12461
|
displayName?: string | undefined;
|
|
11353
12462
|
flags?: {
|
|
@@ -11766,7 +12875,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
11766
12875
|
}, "strip", z.ZodTypeAny, {
|
|
11767
12876
|
addressId: string;
|
|
11768
12877
|
normalizedEmail: string;
|
|
11769
|
-
addressRole: "
|
|
12878
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
11770
12879
|
addressOrder: number;
|
|
11771
12880
|
displayName?: string | undefined;
|
|
11772
12881
|
flags?: {
|
|
@@ -11844,7 +12953,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
11844
12953
|
}, {
|
|
11845
12954
|
addressId: string;
|
|
11846
12955
|
normalizedEmail: string;
|
|
11847
|
-
addressRole: "
|
|
12956
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
11848
12957
|
addressOrder: number;
|
|
11849
12958
|
displayName?: string | undefined;
|
|
11850
12959
|
flags?: {
|
|
@@ -12263,7 +13372,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
12263
13372
|
}, "strip", z.ZodTypeAny, {
|
|
12264
13373
|
addressId: string;
|
|
12265
13374
|
normalizedEmail: string;
|
|
12266
|
-
addressRole: "
|
|
13375
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
12267
13376
|
addressOrder: number;
|
|
12268
13377
|
displayName?: string | undefined;
|
|
12269
13378
|
flags?: {
|
|
@@ -12341,7 +13450,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
12341
13450
|
}, {
|
|
12342
13451
|
addressId: string;
|
|
12343
13452
|
normalizedEmail: string;
|
|
12344
|
-
addressRole: "
|
|
13453
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
12345
13454
|
addressOrder: number;
|
|
12346
13455
|
displayName?: string | undefined;
|
|
12347
13456
|
flags?: {
|
|
@@ -12760,7 +13869,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
12760
13869
|
}, "strip", z.ZodTypeAny, {
|
|
12761
13870
|
addressId: string;
|
|
12762
13871
|
normalizedEmail: string;
|
|
12763
|
-
addressRole: "
|
|
13872
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
12764
13873
|
addressOrder: number;
|
|
12765
13874
|
displayName?: string | undefined;
|
|
12766
13875
|
flags?: {
|
|
@@ -12838,7 +13947,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
12838
13947
|
}, {
|
|
12839
13948
|
addressId: string;
|
|
12840
13949
|
normalizedEmail: string;
|
|
12841
|
-
addressRole: "
|
|
13950
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
12842
13951
|
addressOrder: number;
|
|
12843
13952
|
displayName?: string | undefined;
|
|
12844
13953
|
flags?: {
|
|
@@ -13257,7 +14366,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
13257
14366
|
}, "strip", z.ZodTypeAny, {
|
|
13258
14367
|
addressId: string;
|
|
13259
14368
|
normalizedEmail: string;
|
|
13260
|
-
addressRole: "
|
|
14369
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
13261
14370
|
addressOrder: number;
|
|
13262
14371
|
displayName?: string | undefined;
|
|
13263
14372
|
flags?: {
|
|
@@ -13335,7 +14444,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
13335
14444
|
}, {
|
|
13336
14445
|
addressId: string;
|
|
13337
14446
|
normalizedEmail: string;
|
|
13338
|
-
addressRole: "
|
|
14447
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
13339
14448
|
addressOrder: number;
|
|
13340
14449
|
displayName?: string | undefined;
|
|
13341
14450
|
flags?: {
|
|
@@ -13418,7 +14527,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
13418
14527
|
from: {
|
|
13419
14528
|
addressId: string;
|
|
13420
14529
|
normalizedEmail: string;
|
|
13421
|
-
addressRole: "
|
|
14530
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
13422
14531
|
addressOrder: number;
|
|
13423
14532
|
displayName?: string | undefined;
|
|
13424
14533
|
flags?: {
|
|
@@ -13497,7 +14606,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
13497
14606
|
to: {
|
|
13498
14607
|
addressId: string;
|
|
13499
14608
|
normalizedEmail: string;
|
|
13500
|
-
addressRole: "
|
|
14609
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
13501
14610
|
addressOrder: number;
|
|
13502
14611
|
displayName?: string | undefined;
|
|
13503
14612
|
flags?: {
|
|
@@ -13576,7 +14685,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
13576
14685
|
cc: {
|
|
13577
14686
|
addressId: string;
|
|
13578
14687
|
normalizedEmail: string;
|
|
13579
|
-
addressRole: "
|
|
14688
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
13580
14689
|
addressOrder: number;
|
|
13581
14690
|
displayName?: string | undefined;
|
|
13582
14691
|
flags?: {
|
|
@@ -13655,7 +14764,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
13655
14764
|
bcc: {
|
|
13656
14765
|
addressId: string;
|
|
13657
14766
|
normalizedEmail: string;
|
|
13658
|
-
addressRole: "
|
|
14767
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
13659
14768
|
addressOrder: number;
|
|
13660
14769
|
displayName?: string | undefined;
|
|
13661
14770
|
flags?: {
|
|
@@ -13737,7 +14846,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
13737
14846
|
replyTo: {
|
|
13738
14847
|
addressId: string;
|
|
13739
14848
|
normalizedEmail: string;
|
|
13740
|
-
addressRole: "
|
|
14849
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
13741
14850
|
addressOrder: number;
|
|
13742
14851
|
displayName?: string | undefined;
|
|
13743
14852
|
flags?: {
|
|
@@ -13820,7 +14929,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
13820
14929
|
from: {
|
|
13821
14930
|
addressId: string;
|
|
13822
14931
|
normalizedEmail: string;
|
|
13823
|
-
addressRole: "
|
|
14932
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
13824
14933
|
addressOrder: number;
|
|
13825
14934
|
displayName?: string | undefined;
|
|
13826
14935
|
flags?: {
|
|
@@ -13899,7 +15008,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
13899
15008
|
to: {
|
|
13900
15009
|
addressId: string;
|
|
13901
15010
|
normalizedEmail: string;
|
|
13902
|
-
addressRole: "
|
|
15011
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
13903
15012
|
addressOrder: number;
|
|
13904
15013
|
displayName?: string | undefined;
|
|
13905
15014
|
flags?: {
|
|
@@ -13978,7 +15087,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
13978
15087
|
cc: {
|
|
13979
15088
|
addressId: string;
|
|
13980
15089
|
normalizedEmail: string;
|
|
13981
|
-
addressRole: "
|
|
15090
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
13982
15091
|
addressOrder: number;
|
|
13983
15092
|
displayName?: string | undefined;
|
|
13984
15093
|
flags?: {
|
|
@@ -14057,7 +15166,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14057
15166
|
bcc: {
|
|
14058
15167
|
addressId: string;
|
|
14059
15168
|
normalizedEmail: string;
|
|
14060
|
-
addressRole: "
|
|
15169
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
14061
15170
|
addressOrder: number;
|
|
14062
15171
|
displayName?: string | undefined;
|
|
14063
15172
|
flags?: {
|
|
@@ -14139,7 +15248,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14139
15248
|
replyTo: {
|
|
14140
15249
|
addressId: string;
|
|
14141
15250
|
normalizedEmail: string;
|
|
14142
|
-
addressRole: "
|
|
15251
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
14143
15252
|
addressOrder: number;
|
|
14144
15253
|
displayName?: string | undefined;
|
|
14145
15254
|
flags?: {
|
|
@@ -14221,6 +15330,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14221
15330
|
flags: z.ZodArray<z.ZodString, "many">;
|
|
14222
15331
|
bodyParts: z.ZodArray<z.ZodObject<{
|
|
14223
15332
|
bodyPartId: z.ZodString;
|
|
15333
|
+
partPath: z.ZodString;
|
|
14224
15334
|
mediaType: z.ZodEnum<["TEXT", "IMAGE", "AUDIO", "VIDEO", "APPLICATION", "MULTIPART", "MESSAGE"]>;
|
|
14225
15335
|
mediaSubtype: z.ZodString;
|
|
14226
15336
|
contentId: z.ZodOptional<z.ZodString>;
|
|
@@ -14232,22 +15342,24 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14232
15342
|
}, "strip", z.ZodTypeAny, {
|
|
14233
15343
|
contentUrl: string;
|
|
14234
15344
|
bodyPartId: string;
|
|
15345
|
+
partPath: string;
|
|
14235
15346
|
mediaType: "TEXT" | "IMAGE" | "AUDIO" | "VIDEO" | "APPLICATION" | "MULTIPART" | "MESSAGE";
|
|
14236
15347
|
mediaSubtype: string;
|
|
14237
15348
|
sizeOctets: number;
|
|
14238
15349
|
isMultipart: boolean;
|
|
14239
15350
|
contentId?: string | undefined;
|
|
14240
|
-
disposition?: "
|
|
15351
|
+
disposition?: "inline" | "attachment" | undefined;
|
|
14241
15352
|
dispositionFilename?: string | undefined;
|
|
14242
15353
|
}, {
|
|
14243
15354
|
contentUrl: string;
|
|
14244
15355
|
bodyPartId: string;
|
|
15356
|
+
partPath: string;
|
|
14245
15357
|
mediaType: "TEXT" | "IMAGE" | "AUDIO" | "VIDEO" | "APPLICATION" | "MULTIPART" | "MESSAGE";
|
|
14246
15358
|
mediaSubtype: string;
|
|
14247
15359
|
sizeOctets: number;
|
|
14248
15360
|
isMultipart: boolean;
|
|
14249
15361
|
contentId?: string | undefined;
|
|
14250
|
-
disposition?: "
|
|
15362
|
+
disposition?: "inline" | "attachment" | undefined;
|
|
14251
15363
|
dispositionFilename?: string | undefined;
|
|
14252
15364
|
}>, "many">;
|
|
14253
15365
|
references: z.ZodArray<z.ZodObject<{
|
|
@@ -14312,7 +15424,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14312
15424
|
from: {
|
|
14313
15425
|
addressId: string;
|
|
14314
15426
|
normalizedEmail: string;
|
|
14315
|
-
addressRole: "
|
|
15427
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
14316
15428
|
addressOrder: number;
|
|
14317
15429
|
displayName?: string | undefined;
|
|
14318
15430
|
flags?: {
|
|
@@ -14391,7 +15503,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14391
15503
|
to: {
|
|
14392
15504
|
addressId: string;
|
|
14393
15505
|
normalizedEmail: string;
|
|
14394
|
-
addressRole: "
|
|
15506
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
14395
15507
|
addressOrder: number;
|
|
14396
15508
|
displayName?: string | undefined;
|
|
14397
15509
|
flags?: {
|
|
@@ -14470,7 +15582,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14470
15582
|
cc: {
|
|
14471
15583
|
addressId: string;
|
|
14472
15584
|
normalizedEmail: string;
|
|
14473
|
-
addressRole: "
|
|
15585
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
14474
15586
|
addressOrder: number;
|
|
14475
15587
|
displayName?: string | undefined;
|
|
14476
15588
|
flags?: {
|
|
@@ -14549,7 +15661,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14549
15661
|
bcc: {
|
|
14550
15662
|
addressId: string;
|
|
14551
15663
|
normalizedEmail: string;
|
|
14552
|
-
addressRole: "
|
|
15664
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
14553
15665
|
addressOrder: number;
|
|
14554
15666
|
displayName?: string | undefined;
|
|
14555
15667
|
flags?: {
|
|
@@ -14631,7 +15743,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14631
15743
|
replyTo: {
|
|
14632
15744
|
addressId: string;
|
|
14633
15745
|
normalizedEmail: string;
|
|
14634
|
-
addressRole: "
|
|
15746
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
14635
15747
|
addressOrder: number;
|
|
14636
15748
|
displayName?: string | undefined;
|
|
14637
15749
|
flags?: {
|
|
@@ -14713,12 +15825,13 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14713
15825
|
bodyParts: {
|
|
14714
15826
|
contentUrl: string;
|
|
14715
15827
|
bodyPartId: string;
|
|
15828
|
+
partPath: string;
|
|
14716
15829
|
mediaType: "TEXT" | "IMAGE" | "AUDIO" | "VIDEO" | "APPLICATION" | "MULTIPART" | "MESSAGE";
|
|
14717
15830
|
mediaSubtype: string;
|
|
14718
15831
|
sizeOctets: number;
|
|
14719
15832
|
isMultipart: boolean;
|
|
14720
15833
|
contentId?: string | undefined;
|
|
14721
|
-
disposition?: "
|
|
15834
|
+
disposition?: "inline" | "attachment" | undefined;
|
|
14722
15835
|
dispositionFilename?: string | undefined;
|
|
14723
15836
|
}[];
|
|
14724
15837
|
}, {
|
|
@@ -14770,7 +15883,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14770
15883
|
from: {
|
|
14771
15884
|
addressId: string;
|
|
14772
15885
|
normalizedEmail: string;
|
|
14773
|
-
addressRole: "
|
|
15886
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
14774
15887
|
addressOrder: number;
|
|
14775
15888
|
displayName?: string | undefined;
|
|
14776
15889
|
flags?: {
|
|
@@ -14849,7 +15962,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14849
15962
|
to: {
|
|
14850
15963
|
addressId: string;
|
|
14851
15964
|
normalizedEmail: string;
|
|
14852
|
-
addressRole: "
|
|
15965
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
14853
15966
|
addressOrder: number;
|
|
14854
15967
|
displayName?: string | undefined;
|
|
14855
15968
|
flags?: {
|
|
@@ -14928,7 +16041,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14928
16041
|
cc: {
|
|
14929
16042
|
addressId: string;
|
|
14930
16043
|
normalizedEmail: string;
|
|
14931
|
-
addressRole: "
|
|
16044
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
14932
16045
|
addressOrder: number;
|
|
14933
16046
|
displayName?: string | undefined;
|
|
14934
16047
|
flags?: {
|
|
@@ -15007,7 +16120,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
15007
16120
|
bcc: {
|
|
15008
16121
|
addressId: string;
|
|
15009
16122
|
normalizedEmail: string;
|
|
15010
|
-
addressRole: "
|
|
16123
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
15011
16124
|
addressOrder: number;
|
|
15012
16125
|
displayName?: string | undefined;
|
|
15013
16126
|
flags?: {
|
|
@@ -15089,7 +16202,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
15089
16202
|
replyTo: {
|
|
15090
16203
|
addressId: string;
|
|
15091
16204
|
normalizedEmail: string;
|
|
15092
|
-
addressRole: "
|
|
16205
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
15093
16206
|
addressOrder: number;
|
|
15094
16207
|
displayName?: string | undefined;
|
|
15095
16208
|
flags?: {
|
|
@@ -15171,12 +16284,13 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
15171
16284
|
bodyParts: {
|
|
15172
16285
|
contentUrl: string;
|
|
15173
16286
|
bodyPartId: string;
|
|
16287
|
+
partPath: string;
|
|
15174
16288
|
mediaType: "TEXT" | "IMAGE" | "AUDIO" | "VIDEO" | "APPLICATION" | "MULTIPART" | "MESSAGE";
|
|
15175
16289
|
mediaSubtype: string;
|
|
15176
16290
|
sizeOctets: number;
|
|
15177
16291
|
isMultipart: boolean;
|
|
15178
16292
|
contentId?: string | undefined;
|
|
15179
|
-
disposition?: "
|
|
16293
|
+
disposition?: "inline" | "attachment" | undefined;
|
|
15180
16294
|
dispositionFilename?: string | undefined;
|
|
15181
16295
|
}[];
|
|
15182
16296
|
}>;
|
|
@@ -15234,15 +16348,263 @@ export declare const MessageFilterMoveSchema: z.ZodObject<{
|
|
|
15234
16348
|
destinationMailboxId: z.ZodString;
|
|
15235
16349
|
decidedAt: z.ZodNumber;
|
|
15236
16350
|
}, "strip", z.ZodTypeAny, {
|
|
15237
|
-
filterId: string;
|
|
15238
|
-
destinationMailboxId: string;
|
|
15239
|
-
decidedAt: number;
|
|
15240
|
-
sourceMailboxId: string;
|
|
16351
|
+
filterId: string;
|
|
16352
|
+
destinationMailboxId: string;
|
|
16353
|
+
decidedAt: number;
|
|
16354
|
+
sourceMailboxId: string;
|
|
16355
|
+
}, {
|
|
16356
|
+
filterId: string;
|
|
16357
|
+
destinationMailboxId: string;
|
|
16358
|
+
decidedAt: number;
|
|
16359
|
+
sourceMailboxId: string;
|
|
16360
|
+
}>;
|
|
16361
|
+
export declare const MessageRecordSchema: z.ZodObject<{
|
|
16362
|
+
messageId: z.ZodString;
|
|
16363
|
+
mailboxId: z.ZodString;
|
|
16364
|
+
uid: z.ZodNumber;
|
|
16365
|
+
sequenceNumber: z.ZodNumber;
|
|
16366
|
+
rfc822Size: z.ZodNumber;
|
|
16367
|
+
internalDate: z.ZodNumber;
|
|
16368
|
+
envelopeId: z.ZodString;
|
|
16369
|
+
rootBodyPartId: z.ZodString;
|
|
16370
|
+
bodyStorageKey: z.ZodOptional<z.ZodString>;
|
|
16371
|
+
status: z.ZodEnum<["active", "deleting", "deleted", "moving"]>;
|
|
16372
|
+
syncStatus: z.ZodEnum<["synced", "pending", "failed", "abandoned"]>;
|
|
16373
|
+
abandonedMutation: z.ZodEnum<["none", "move", "delete", "copy"]>;
|
|
16374
|
+
originalMailboxId: z.ZodOptional<z.ZodString>;
|
|
16375
|
+
originalUid: z.ZodOptional<z.ZodNumber>;
|
|
16376
|
+
category: z.ZodEnum<["uncategorized", "personal", "newsletter", "marketing", "automated", "transactional", "social"]>;
|
|
16377
|
+
classificationState: z.ZodEnum<["NotExamined", "Examined"]>;
|
|
16378
|
+
authenticity: z.ZodOptional<z.ZodObject<{
|
|
16379
|
+
fromDomain: z.ZodString;
|
|
16380
|
+
dkimDomain: z.ZodOptional<z.ZodString>;
|
|
16381
|
+
dkimMismatch: z.ZodBoolean;
|
|
16382
|
+
displayNameCorrespondence: z.ZodOptional<z.ZodEnum<["Corresponds", "Lookalike", "ForeignAddress", "Unrelated", "NoClaim"]>>;
|
|
16383
|
+
offDomainLinkDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16384
|
+
signerDomain: z.ZodOptional<z.ZodString>;
|
|
16385
|
+
envelopeDomain: z.ZodOptional<z.ZodString>;
|
|
16386
|
+
signerMessageCount: z.ZodOptional<z.ZodNumber>;
|
|
16387
|
+
signerFirstSeenAt: z.ZodOptional<z.ZodNumber>;
|
|
16388
|
+
}, "strip", z.ZodTypeAny, {
|
|
16389
|
+
fromDomain: string;
|
|
16390
|
+
dkimMismatch: boolean;
|
|
16391
|
+
dkimDomain?: string | undefined;
|
|
16392
|
+
displayNameCorrespondence?: "Corresponds" | "Lookalike" | "ForeignAddress" | "Unrelated" | "NoClaim" | undefined;
|
|
16393
|
+
offDomainLinkDomains?: string[] | undefined;
|
|
16394
|
+
signerDomain?: string | undefined;
|
|
16395
|
+
envelopeDomain?: string | undefined;
|
|
16396
|
+
signerMessageCount?: number | undefined;
|
|
16397
|
+
signerFirstSeenAt?: number | undefined;
|
|
16398
|
+
}, {
|
|
16399
|
+
fromDomain: string;
|
|
16400
|
+
dkimMismatch: boolean;
|
|
16401
|
+
dkimDomain?: string | undefined;
|
|
16402
|
+
displayNameCorrespondence?: "Corresponds" | "Lookalike" | "ForeignAddress" | "Unrelated" | "NoClaim" | undefined;
|
|
16403
|
+
offDomainLinkDomains?: string[] | undefined;
|
|
16404
|
+
signerDomain?: string | undefined;
|
|
16405
|
+
envelopeDomain?: string | undefined;
|
|
16406
|
+
signerMessageCount?: number | undefined;
|
|
16407
|
+
signerFirstSeenAt?: number | undefined;
|
|
16408
|
+
}>>;
|
|
16409
|
+
authenticityVerdict: z.ZodEnum<["NotEvaluated", "NotChecked", "Aligned", "Authenticated", "Routine", "Caution", "Impersonation"]>;
|
|
16410
|
+
authResult: z.ZodOptional<z.ZodObject<{
|
|
16411
|
+
dmarc: z.ZodOptional<z.ZodEnum<["Pass", "Fail", "None", "Neutral", "Softfail"]>>;
|
|
16412
|
+
spf: z.ZodOptional<z.ZodEnum<["Pass", "Fail", "None", "Neutral", "Softfail"]>>;
|
|
16413
|
+
dkim: z.ZodOptional<z.ZodEnum<["Pass", "Fail", "None", "Neutral", "Softfail"]>>;
|
|
16414
|
+
}, "strip", z.ZodTypeAny, {
|
|
16415
|
+
dmarc?: "None" | "Pass" | "Fail" | "Neutral" | "Softfail" | undefined;
|
|
16416
|
+
spf?: "None" | "Pass" | "Fail" | "Neutral" | "Softfail" | undefined;
|
|
16417
|
+
dkim?: "None" | "Pass" | "Fail" | "Neutral" | "Softfail" | undefined;
|
|
16418
|
+
}, {
|
|
16419
|
+
dmarc?: "None" | "Pass" | "Fail" | "Neutral" | "Softfail" | undefined;
|
|
16420
|
+
spf?: "None" | "Pass" | "Fail" | "Neutral" | "Softfail" | undefined;
|
|
16421
|
+
dkim?: "None" | "Pass" | "Fail" | "Neutral" | "Softfail" | undefined;
|
|
16422
|
+
}>>;
|
|
16423
|
+
providerSpam: z.ZodOptional<z.ZodObject<{
|
|
16424
|
+
classified: z.ZodBoolean;
|
|
16425
|
+
score: z.ZodOptional<z.ZodString>;
|
|
16426
|
+
source: z.ZodOptional<z.ZodString>;
|
|
16427
|
+
}, "strip", z.ZodTypeAny, {
|
|
16428
|
+
classified: boolean;
|
|
16429
|
+
source?: string | undefined;
|
|
16430
|
+
score?: string | undefined;
|
|
16431
|
+
}, {
|
|
16432
|
+
classified: boolean;
|
|
16433
|
+
source?: string | undefined;
|
|
16434
|
+
score?: string | undefined;
|
|
16435
|
+
}>>;
|
|
16436
|
+
hasListUnsubscribe: z.ZodBoolean;
|
|
16437
|
+
movedByRemit: z.ZodBoolean;
|
|
16438
|
+
placementVerdict: z.ZodOptional<z.ZodObject<{
|
|
16439
|
+
action: z.ZodEnum<["MoveToInbox", "MoveToJunk"]>;
|
|
16440
|
+
confidence: z.ZodEnum<["Confident", "Unsure"]>;
|
|
16441
|
+
fromPlacement: z.ZodString;
|
|
16442
|
+
reasons: z.ZodArray<z.ZodString, "many">;
|
|
16443
|
+
dryRun: z.ZodBoolean;
|
|
16444
|
+
decidedAt: z.ZodNumber;
|
|
16445
|
+
}, "strip", z.ZodTypeAny, {
|
|
16446
|
+
action: "MoveToInbox" | "MoveToJunk";
|
|
16447
|
+
fromPlacement: string;
|
|
16448
|
+
confidence: "Confident" | "Unsure";
|
|
16449
|
+
reasons: string[];
|
|
16450
|
+
dryRun: boolean;
|
|
16451
|
+
decidedAt: number;
|
|
16452
|
+
}, {
|
|
16453
|
+
action: "MoveToInbox" | "MoveToJunk";
|
|
16454
|
+
fromPlacement: string;
|
|
16455
|
+
confidence: "Confident" | "Unsure";
|
|
16456
|
+
reasons: string[];
|
|
16457
|
+
dryRun: boolean;
|
|
16458
|
+
decidedAt: number;
|
|
16459
|
+
}>>;
|
|
16460
|
+
filterMove: z.ZodOptional<z.ZodObject<{
|
|
16461
|
+
filterId: z.ZodString;
|
|
16462
|
+
sourceMailboxId: z.ZodString;
|
|
16463
|
+
destinationMailboxId: z.ZodString;
|
|
16464
|
+
decidedAt: z.ZodNumber;
|
|
16465
|
+
}, "strip", z.ZodTypeAny, {
|
|
16466
|
+
filterId: string;
|
|
16467
|
+
destinationMailboxId: string;
|
|
16468
|
+
decidedAt: number;
|
|
16469
|
+
sourceMailboxId: string;
|
|
16470
|
+
}, {
|
|
16471
|
+
filterId: string;
|
|
16472
|
+
destinationMailboxId: string;
|
|
16473
|
+
decidedAt: number;
|
|
16474
|
+
sourceMailboxId: string;
|
|
16475
|
+
}>>;
|
|
16476
|
+
placementDecidedAt: z.ZodOptional<z.ZodNumber>;
|
|
16477
|
+
spamReport: z.ZodOptional<z.ZodObject<{
|
|
16478
|
+
reportedAt: z.ZodNumber;
|
|
16479
|
+
}, "strip", z.ZodTypeAny, {
|
|
16480
|
+
reportedAt: number;
|
|
16481
|
+
}, {
|
|
16482
|
+
reportedAt: number;
|
|
16483
|
+
}>>;
|
|
16484
|
+
createdAt: z.ZodNumber;
|
|
16485
|
+
updatedAt: z.ZodNumber;
|
|
16486
|
+
}, "strip", z.ZodTypeAny, {
|
|
16487
|
+
category: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
16488
|
+
status: "active" | "deleting" | "deleted" | "moving";
|
|
16489
|
+
createdAt: number;
|
|
16490
|
+
updatedAt: number;
|
|
16491
|
+
mailboxId: string;
|
|
16492
|
+
uid: number;
|
|
16493
|
+
syncStatus: "failed" | "abandoned" | "synced" | "pending";
|
|
16494
|
+
messageId: string;
|
|
16495
|
+
internalDate: number;
|
|
16496
|
+
abandonedMutation: "none" | "move" | "delete" | "copy";
|
|
16497
|
+
rfc822Size: number;
|
|
16498
|
+
sequenceNumber: number;
|
|
16499
|
+
envelopeId: string;
|
|
16500
|
+
rootBodyPartId: string;
|
|
16501
|
+
classificationState: "NotExamined" | "Examined";
|
|
16502
|
+
authenticityVerdict: "NotEvaluated" | "NotChecked" | "Aligned" | "Authenticated" | "Routine" | "Caution" | "Impersonation";
|
|
16503
|
+
hasListUnsubscribe: boolean;
|
|
16504
|
+
movedByRemit: boolean;
|
|
16505
|
+
authenticity?: {
|
|
16506
|
+
fromDomain: string;
|
|
16507
|
+
dkimMismatch: boolean;
|
|
16508
|
+
dkimDomain?: string | undefined;
|
|
16509
|
+
displayNameCorrespondence?: "Corresponds" | "Lookalike" | "ForeignAddress" | "Unrelated" | "NoClaim" | undefined;
|
|
16510
|
+
offDomainLinkDomains?: string[] | undefined;
|
|
16511
|
+
signerDomain?: string | undefined;
|
|
16512
|
+
envelopeDomain?: string | undefined;
|
|
16513
|
+
signerMessageCount?: number | undefined;
|
|
16514
|
+
signerFirstSeenAt?: number | undefined;
|
|
16515
|
+
} | undefined;
|
|
16516
|
+
spamReport?: {
|
|
16517
|
+
reportedAt: number;
|
|
16518
|
+
} | undefined;
|
|
16519
|
+
bodyStorageKey?: string | undefined;
|
|
16520
|
+
originalMailboxId?: string | undefined;
|
|
16521
|
+
originalUid?: number | undefined;
|
|
16522
|
+
authResult?: {
|
|
16523
|
+
dmarc?: "None" | "Pass" | "Fail" | "Neutral" | "Softfail" | undefined;
|
|
16524
|
+
spf?: "None" | "Pass" | "Fail" | "Neutral" | "Softfail" | undefined;
|
|
16525
|
+
dkim?: "None" | "Pass" | "Fail" | "Neutral" | "Softfail" | undefined;
|
|
16526
|
+
} | undefined;
|
|
16527
|
+
providerSpam?: {
|
|
16528
|
+
classified: boolean;
|
|
16529
|
+
source?: string | undefined;
|
|
16530
|
+
score?: string | undefined;
|
|
16531
|
+
} | undefined;
|
|
16532
|
+
placementVerdict?: {
|
|
16533
|
+
action: "MoveToInbox" | "MoveToJunk";
|
|
16534
|
+
fromPlacement: string;
|
|
16535
|
+
confidence: "Confident" | "Unsure";
|
|
16536
|
+
reasons: string[];
|
|
16537
|
+
dryRun: boolean;
|
|
16538
|
+
decidedAt: number;
|
|
16539
|
+
} | undefined;
|
|
16540
|
+
filterMove?: {
|
|
16541
|
+
filterId: string;
|
|
16542
|
+
destinationMailboxId: string;
|
|
16543
|
+
decidedAt: number;
|
|
16544
|
+
sourceMailboxId: string;
|
|
16545
|
+
} | undefined;
|
|
16546
|
+
placementDecidedAt?: number | undefined;
|
|
15241
16547
|
}, {
|
|
15242
|
-
|
|
15243
|
-
|
|
15244
|
-
|
|
15245
|
-
|
|
16548
|
+
category: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
16549
|
+
status: "active" | "deleting" | "deleted" | "moving";
|
|
16550
|
+
createdAt: number;
|
|
16551
|
+
updatedAt: number;
|
|
16552
|
+
mailboxId: string;
|
|
16553
|
+
uid: number;
|
|
16554
|
+
syncStatus: "failed" | "abandoned" | "synced" | "pending";
|
|
16555
|
+
messageId: string;
|
|
16556
|
+
internalDate: number;
|
|
16557
|
+
abandonedMutation: "none" | "move" | "delete" | "copy";
|
|
16558
|
+
rfc822Size: number;
|
|
16559
|
+
sequenceNumber: number;
|
|
16560
|
+
envelopeId: string;
|
|
16561
|
+
rootBodyPartId: string;
|
|
16562
|
+
classificationState: "NotExamined" | "Examined";
|
|
16563
|
+
authenticityVerdict: "NotEvaluated" | "NotChecked" | "Aligned" | "Authenticated" | "Routine" | "Caution" | "Impersonation";
|
|
16564
|
+
hasListUnsubscribe: boolean;
|
|
16565
|
+
movedByRemit: boolean;
|
|
16566
|
+
authenticity?: {
|
|
16567
|
+
fromDomain: string;
|
|
16568
|
+
dkimMismatch: boolean;
|
|
16569
|
+
dkimDomain?: string | undefined;
|
|
16570
|
+
displayNameCorrespondence?: "Corresponds" | "Lookalike" | "ForeignAddress" | "Unrelated" | "NoClaim" | undefined;
|
|
16571
|
+
offDomainLinkDomains?: string[] | undefined;
|
|
16572
|
+
signerDomain?: string | undefined;
|
|
16573
|
+
envelopeDomain?: string | undefined;
|
|
16574
|
+
signerMessageCount?: number | undefined;
|
|
16575
|
+
signerFirstSeenAt?: number | undefined;
|
|
16576
|
+
} | undefined;
|
|
16577
|
+
spamReport?: {
|
|
16578
|
+
reportedAt: number;
|
|
16579
|
+
} | undefined;
|
|
16580
|
+
bodyStorageKey?: string | undefined;
|
|
16581
|
+
originalMailboxId?: string | undefined;
|
|
16582
|
+
originalUid?: number | undefined;
|
|
16583
|
+
authResult?: {
|
|
16584
|
+
dmarc?: "None" | "Pass" | "Fail" | "Neutral" | "Softfail" | undefined;
|
|
16585
|
+
spf?: "None" | "Pass" | "Fail" | "Neutral" | "Softfail" | undefined;
|
|
16586
|
+
dkim?: "None" | "Pass" | "Fail" | "Neutral" | "Softfail" | undefined;
|
|
16587
|
+
} | undefined;
|
|
16588
|
+
providerSpam?: {
|
|
16589
|
+
classified: boolean;
|
|
16590
|
+
source?: string | undefined;
|
|
16591
|
+
score?: string | undefined;
|
|
16592
|
+
} | undefined;
|
|
16593
|
+
placementVerdict?: {
|
|
16594
|
+
action: "MoveToInbox" | "MoveToJunk";
|
|
16595
|
+
fromPlacement: string;
|
|
16596
|
+
confidence: "Confident" | "Unsure";
|
|
16597
|
+
reasons: string[];
|
|
16598
|
+
dryRun: boolean;
|
|
16599
|
+
decidedAt: number;
|
|
16600
|
+
} | undefined;
|
|
16601
|
+
filterMove?: {
|
|
16602
|
+
filterId: string;
|
|
16603
|
+
destinationMailboxId: string;
|
|
16604
|
+
decidedAt: number;
|
|
16605
|
+
sourceMailboxId: string;
|
|
16606
|
+
} | undefined;
|
|
16607
|
+
placementDecidedAt?: number | undefined;
|
|
15246
16608
|
}>;
|
|
15247
16609
|
export declare const MessageSchema: z.ZodObject<{
|
|
15248
16610
|
messageId: z.ZodString;
|
|
@@ -15251,7 +16613,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
15251
16613
|
sequenceNumber: z.ZodNumber;
|
|
15252
16614
|
rfc822Size: z.ZodNumber;
|
|
15253
16615
|
internalDate: z.ZodNumber;
|
|
15254
|
-
messageIdHeader: z.ZodOptional<z.ZodString>;
|
|
15255
16616
|
envelopeId: z.ZodString;
|
|
15256
16617
|
rootBodyPartId: z.ZodString;
|
|
15257
16618
|
bodyStorageKey: z.ZodOptional<z.ZodString>;
|
|
@@ -15370,6 +16731,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
15370
16731
|
}>>;
|
|
15371
16732
|
createdAt: z.ZodNumber;
|
|
15372
16733
|
updatedAt: z.ZodNumber;
|
|
16734
|
+
messageIdHeader: z.ZodOptional<z.ZodString>;
|
|
15373
16735
|
}, "strip", z.ZodTypeAny, {
|
|
15374
16736
|
category: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
15375
16737
|
status: "active" | "deleting" | "deleted" | "moving";
|
|
@@ -15522,14 +16884,14 @@ export declare const BodyPartSchema: z.ZodObject<{
|
|
|
15522
16884
|
transferEncoding: "7BIT" | "8BIT" | "BINARY" | "BASE64" | "QUOTED-PRINTABLE";
|
|
15523
16885
|
messageId: string;
|
|
15524
16886
|
bodyPartId: string;
|
|
16887
|
+
partPath: string;
|
|
15525
16888
|
mediaType: "TEXT" | "IMAGE" | "AUDIO" | "VIDEO" | "APPLICATION" | "MULTIPART" | "MESSAGE";
|
|
15526
16889
|
mediaSubtype: string;
|
|
15527
16890
|
sizeOctets: number;
|
|
15528
16891
|
isMultipart: boolean;
|
|
15529
|
-
partPath: string;
|
|
15530
16892
|
location?: string | undefined;
|
|
15531
16893
|
contentId?: string | undefined;
|
|
15532
|
-
disposition?: "
|
|
16894
|
+
disposition?: "inline" | "attachment" | undefined;
|
|
15533
16895
|
dispositionFilename?: string | undefined;
|
|
15534
16896
|
parentBodyPartId?: string | undefined;
|
|
15535
16897
|
contentDescription?: string | undefined;
|
|
@@ -15543,14 +16905,14 @@ export declare const BodyPartSchema: z.ZodObject<{
|
|
|
15543
16905
|
transferEncoding: "7BIT" | "8BIT" | "BINARY" | "BASE64" | "QUOTED-PRINTABLE";
|
|
15544
16906
|
messageId: string;
|
|
15545
16907
|
bodyPartId: string;
|
|
16908
|
+
partPath: string;
|
|
15546
16909
|
mediaType: "TEXT" | "IMAGE" | "AUDIO" | "VIDEO" | "APPLICATION" | "MULTIPART" | "MESSAGE";
|
|
15547
16910
|
mediaSubtype: string;
|
|
15548
16911
|
sizeOctets: number;
|
|
15549
16912
|
isMultipart: boolean;
|
|
15550
|
-
partPath: string;
|
|
15551
16913
|
location?: string | undefined;
|
|
15552
16914
|
contentId?: string | undefined;
|
|
15553
|
-
disposition?: "
|
|
16915
|
+
disposition?: "inline" | "attachment" | undefined;
|
|
15554
16916
|
dispositionFilename?: string | undefined;
|
|
15555
16917
|
parentBodyPartId?: string | undefined;
|
|
15556
16918
|
contentDescription?: string | undefined;
|
|
@@ -15955,7 +17317,7 @@ export declare const EnvelopeAddressSchema: z.ZodObject<{
|
|
|
15955
17317
|
createdAt: number;
|
|
15956
17318
|
updatedAt: number;
|
|
15957
17319
|
messageId: string;
|
|
15958
|
-
addressRole: "
|
|
17320
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
15959
17321
|
addressOrder: number;
|
|
15960
17322
|
envelopeAddressId: string;
|
|
15961
17323
|
displayName?: string | undefined;
|
|
@@ -15965,7 +17327,7 @@ export declare const EnvelopeAddressSchema: z.ZodObject<{
|
|
|
15965
17327
|
createdAt: number;
|
|
15966
17328
|
updatedAt: number;
|
|
15967
17329
|
messageId: string;
|
|
15968
|
-
addressRole: "
|
|
17330
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
15969
17331
|
addressOrder: number;
|
|
15970
17332
|
envelopeAddressId: string;
|
|
15971
17333
|
displayName?: string | undefined;
|
|
@@ -16239,7 +17601,6 @@ export declare const AccountSettingSchema: z.ZodObject<{
|
|
|
16239
17601
|
createdAt: z.ZodNumber;
|
|
16240
17602
|
updatedAt: z.ZodNumber;
|
|
16241
17603
|
}, "strip", z.ZodTypeAny, {
|
|
16242
|
-
name: string;
|
|
16243
17604
|
value: {
|
|
16244
17605
|
value: boolean;
|
|
16245
17606
|
kind: "Boolean";
|
|
@@ -16265,12 +17626,12 @@ export declare const AccountSettingSchema: z.ZodObject<{
|
|
|
16265
17626
|
};
|
|
16266
17627
|
kind: "MutedFlag";
|
|
16267
17628
|
};
|
|
17629
|
+
name: string;
|
|
16268
17630
|
accountConfigId: string;
|
|
16269
17631
|
createdAt: number;
|
|
16270
17632
|
updatedAt: number;
|
|
16271
17633
|
accountSettingId: string;
|
|
16272
17634
|
}, {
|
|
16273
|
-
name: string;
|
|
16274
17635
|
value: {
|
|
16275
17636
|
value: boolean;
|
|
16276
17637
|
kind: "Boolean";
|
|
@@ -16296,6 +17657,7 @@ export declare const AccountSettingSchema: z.ZodObject<{
|
|
|
16296
17657
|
};
|
|
16297
17658
|
kind: "MutedFlag";
|
|
16298
17659
|
};
|
|
17660
|
+
name: string;
|
|
16299
17661
|
accountConfigId: string;
|
|
16300
17662
|
createdAt: number;
|
|
16301
17663
|
updatedAt: number;
|
|
@@ -16533,6 +17895,19 @@ export declare const BodyPartParameterSchema: z.ZodObject<{
|
|
|
16533
17895
|
parameterName: string;
|
|
16534
17896
|
parameterValue: string;
|
|
16535
17897
|
}>;
|
|
17898
|
+
export declare const BodyStructureRefetchSchema: z.ZodObject<{
|
|
17899
|
+
messageId: z.ZodString;
|
|
17900
|
+
createdAt: z.ZodNumber;
|
|
17901
|
+
updatedAt: z.ZodNumber;
|
|
17902
|
+
}, "strip", z.ZodTypeAny, {
|
|
17903
|
+
createdAt: number;
|
|
17904
|
+
updatedAt: number;
|
|
17905
|
+
messageId: string;
|
|
17906
|
+
}, {
|
|
17907
|
+
createdAt: number;
|
|
17908
|
+
updatedAt: number;
|
|
17909
|
+
messageId: string;
|
|
17910
|
+
}>;
|
|
16536
17911
|
export declare const RawMessageStorageSchema: z.ZodObject<{
|
|
16537
17912
|
rawStorageId: z.ZodString;
|
|
16538
17913
|
messageId: z.ZodString;
|
|
@@ -16619,31 +17994,6 @@ export declare const BodyPartStorageSchema: z.ZodObject<{
|
|
|
16619
17994
|
isDeduped: boolean;
|
|
16620
17995
|
dedupHash?: string | undefined;
|
|
16621
17996
|
}>;
|
|
16622
|
-
export declare const BodyPartContentSchema: z.ZodObject<{
|
|
16623
|
-
bodyPartContentId: z.ZodString;
|
|
16624
|
-
messageId: z.ZodString;
|
|
16625
|
-
bodyPartId: z.ZodString;
|
|
16626
|
-
content: z.ZodString;
|
|
16627
|
-
contentLength: z.ZodNumber;
|
|
16628
|
-
createdAt: z.ZodNumber;
|
|
16629
|
-
updatedAt: z.ZodNumber;
|
|
16630
|
-
}, "strip", z.ZodTypeAny, {
|
|
16631
|
-
createdAt: number;
|
|
16632
|
-
updatedAt: number;
|
|
16633
|
-
messageId: string;
|
|
16634
|
-
bodyPartId: string;
|
|
16635
|
-
bodyPartContentId: string;
|
|
16636
|
-
content: string;
|
|
16637
|
-
contentLength: number;
|
|
16638
|
-
}, {
|
|
16639
|
-
createdAt: number;
|
|
16640
|
-
updatedAt: number;
|
|
16641
|
-
messageId: string;
|
|
16642
|
-
bodyPartId: string;
|
|
16643
|
-
bodyPartContentId: string;
|
|
16644
|
-
content: string;
|
|
16645
|
-
contentLength: number;
|
|
16646
|
-
}>;
|
|
16647
17997
|
export declare const CalendarEventIndexSchema: z.ZodObject<{
|
|
16648
17998
|
calendarId: z.ZodString;
|
|
16649
17999
|
calendarObjectId: z.ZodString;
|
|
@@ -16731,34 +18081,6 @@ export declare const MessageLabelSchema: z.ZodObject<{
|
|
|
16731
18081
|
messageLabelId: string;
|
|
16732
18082
|
appliedByFilterId?: string | undefined;
|
|
16733
18083
|
}>;
|
|
16734
|
-
export declare const FilterAnchorSchema: z.ZodObject<{
|
|
16735
|
-
accountConfigId: z.ZodString;
|
|
16736
|
-
filterId: z.ZodString;
|
|
16737
|
-
anchorEmbedding: z.ZodArray<z.ZodNumber, "many">;
|
|
16738
|
-
anchorEmbeddingId: z.ZodString;
|
|
16739
|
-
anchorSourceText: z.ZodString;
|
|
16740
|
-
anchorMessageId: z.ZodString;
|
|
16741
|
-
createdAt: z.ZodNumber;
|
|
16742
|
-
updatedAt: z.ZodNumber;
|
|
16743
|
-
}, "strip", z.ZodTypeAny, {
|
|
16744
|
-
accountConfigId: string;
|
|
16745
|
-
createdAt: number;
|
|
16746
|
-
updatedAt: number;
|
|
16747
|
-
filterId: string;
|
|
16748
|
-
anchorMessageId: string;
|
|
16749
|
-
anchorEmbedding: number[];
|
|
16750
|
-
anchorEmbeddingId: string;
|
|
16751
|
-
anchorSourceText: string;
|
|
16752
|
-
}, {
|
|
16753
|
-
accountConfigId: string;
|
|
16754
|
-
createdAt: number;
|
|
16755
|
-
updatedAt: number;
|
|
16756
|
-
filterId: string;
|
|
16757
|
-
anchorMessageId: string;
|
|
16758
|
-
anchorEmbedding: number[];
|
|
16759
|
-
anchorEmbeddingId: string;
|
|
16760
|
-
anchorSourceText: string;
|
|
16761
|
-
}>;
|
|
16762
18084
|
export declare const MicrosoftOAuthStartRequestSchema: z.ZodObject<{
|
|
16763
18085
|
email: z.ZodOptional<z.ZodString>;
|
|
16764
18086
|
services: z.ZodOptional<z.ZodArray<z.ZodEnum<["Mail", "Calendar"]>, "many">>;
|