@remit/api-zod-schemas 0.0.60 → 0.0.62
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 +34 -5
- 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 +1779 -457
- package/schemas.d.ts.map +1 -1
- package/schemas.js +494 -457
- package/schemas.js.map +1 -1
- package/schemas.ts +504 -461
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;
|
|
@@ -670,6 +671,37 @@ export declare const QuarantineResponseSchema: z.ZodObject<{
|
|
|
670
671
|
sizeBytes?: number | undefined;
|
|
671
672
|
messageIdHash?: string | undefined;
|
|
672
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
|
+
}>;
|
|
673
705
|
export declare const QuarantineListResponseSchema: z.ZodObject<{
|
|
674
706
|
entries: z.ZodArray<z.ZodObject<{
|
|
675
707
|
quarantineId: z.ZodString;
|
|
@@ -759,6 +791,38 @@ export declare const QuarantineListResponseSchema: z.ZodObject<{
|
|
|
759
791
|
sizeBytes?: number | undefined;
|
|
760
792
|
messageIdHash?: string | undefined;
|
|
761
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;
|
|
762
826
|
}, "strip", z.ZodTypeAny, {
|
|
763
827
|
entries: {
|
|
764
828
|
accountConfigId: string;
|
|
@@ -788,6 +852,18 @@ export declare const QuarantineListResponseSchema: z.ZodObject<{
|
|
|
788
852
|
sizeBytes?: number | undefined;
|
|
789
853
|
messageIdHash?: string | undefined;
|
|
790
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;
|
|
791
867
|
}, {
|
|
792
868
|
entries: {
|
|
793
869
|
accountConfigId: string;
|
|
@@ -817,6 +893,18 @@ export declare const QuarantineListResponseSchema: z.ZodObject<{
|
|
|
817
893
|
sizeBytes?: number | undefined;
|
|
818
894
|
messageIdHash?: string | undefined;
|
|
819
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;
|
|
820
908
|
}>;
|
|
821
909
|
export declare const QuarantineSchema: z.ZodObject<{
|
|
822
910
|
quarantineId: z.ZodString;
|
|
@@ -906,6 +994,37 @@ export declare const QuarantineSchema: z.ZodObject<{
|
|
|
906
994
|
sizeBytes?: number | undefined;
|
|
907
995
|
messageIdHash?: string | undefined;
|
|
908
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
|
+
}>;
|
|
909
1028
|
export declare const AccountConfigResponseSchema: z.ZodObject<{
|
|
910
1029
|
accountConfigId: z.ZodString;
|
|
911
1030
|
userId: z.ZodString;
|
|
@@ -1337,6 +1456,7 @@ export declare const ConfigDescriptionResponseSchema: z.ZodObject<{
|
|
|
1337
1456
|
signatureHtml?: string | undefined;
|
|
1338
1457
|
composeLanguages?: string[] | undefined;
|
|
1339
1458
|
}>, "many">;
|
|
1459
|
+
buildCommit: z.ZodString;
|
|
1340
1460
|
pendingImport: z.ZodOptional<z.ZodObject<{
|
|
1341
1461
|
importId: z.ZodString;
|
|
1342
1462
|
folderPaths: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1347,7 +1467,6 @@ export declare const ConfigDescriptionResponseSchema: z.ZodObject<{
|
|
|
1347
1467
|
importId: string;
|
|
1348
1468
|
folderPaths: string[];
|
|
1349
1469
|
}>>;
|
|
1350
|
-
semanticSearchEnabled: z.ZodBoolean;
|
|
1351
1470
|
}, "strip", z.ZodTypeAny, {
|
|
1352
1471
|
accountConfig: {
|
|
1353
1472
|
accountConfigId: string;
|
|
@@ -1406,7 +1525,7 @@ export declare const ConfigDescriptionResponseSchema: z.ZodObject<{
|
|
|
1406
1525
|
signatureHtml?: string | undefined;
|
|
1407
1526
|
composeLanguages?: string[] | undefined;
|
|
1408
1527
|
}[];
|
|
1409
|
-
|
|
1528
|
+
buildCommit: string;
|
|
1410
1529
|
pendingImport?: {
|
|
1411
1530
|
importId: string;
|
|
1412
1531
|
folderPaths: string[];
|
|
@@ -1469,7 +1588,7 @@ export declare const ConfigDescriptionResponseSchema: z.ZodObject<{
|
|
|
1469
1588
|
signatureHtml?: string | undefined;
|
|
1470
1589
|
composeLanguages?: string[] | undefined;
|
|
1471
1590
|
}[];
|
|
1472
|
-
|
|
1591
|
+
buildCommit: string;
|
|
1473
1592
|
pendingImport?: {
|
|
1474
1593
|
importId: string;
|
|
1475
1594
|
folderPaths: string[];
|
|
@@ -1713,6 +1832,11 @@ export declare const ConfigImportReportSchema: z.ZodObject<{
|
|
|
1713
1832
|
message: string;
|
|
1714
1833
|
details?: Record<string, string> | undefined;
|
|
1715
1834
|
}[];
|
|
1835
|
+
warnings: {
|
|
1836
|
+
code: string;
|
|
1837
|
+
message: string;
|
|
1838
|
+
details?: Record<string, string> | undefined;
|
|
1839
|
+
}[];
|
|
1716
1840
|
schemaVersion: number;
|
|
1717
1841
|
applied: boolean;
|
|
1718
1842
|
items: {
|
|
@@ -1721,11 +1845,6 @@ export declare const ConfigImportReportSchema: z.ZodObject<{
|
|
|
1721
1845
|
verdict: string;
|
|
1722
1846
|
reason?: string | undefined;
|
|
1723
1847
|
}[];
|
|
1724
|
-
warnings: {
|
|
1725
|
-
code: string;
|
|
1726
|
-
message: string;
|
|
1727
|
-
details?: Record<string, string> | undefined;
|
|
1728
|
-
}[];
|
|
1729
1848
|
accountsNeedingCredentials: string[];
|
|
1730
1849
|
importId?: string | undefined;
|
|
1731
1850
|
}, {
|
|
@@ -1735,6 +1854,11 @@ export declare const ConfigImportReportSchema: z.ZodObject<{
|
|
|
1735
1854
|
message: string;
|
|
1736
1855
|
details?: Record<string, string> | undefined;
|
|
1737
1856
|
}[];
|
|
1857
|
+
warnings: {
|
|
1858
|
+
code: string;
|
|
1859
|
+
message: string;
|
|
1860
|
+
details?: Record<string, string> | undefined;
|
|
1861
|
+
}[];
|
|
1738
1862
|
schemaVersion: number;
|
|
1739
1863
|
applied: boolean;
|
|
1740
1864
|
items: {
|
|
@@ -1743,11 +1867,6 @@ export declare const ConfigImportReportSchema: z.ZodObject<{
|
|
|
1743
1867
|
verdict: string;
|
|
1744
1868
|
reason?: string | undefined;
|
|
1745
1869
|
}[];
|
|
1746
|
-
warnings: {
|
|
1747
|
-
code: string;
|
|
1748
|
-
message: string;
|
|
1749
|
-
details?: Record<string, string> | undefined;
|
|
1750
|
-
}[];
|
|
1751
1870
|
accountsNeedingCredentials: string[];
|
|
1752
1871
|
importId?: string | undefined;
|
|
1753
1872
|
}>;
|
|
@@ -1803,7 +1922,7 @@ export declare const SystemUpdateRunSchema: z.ZodObject<{
|
|
|
1803
1922
|
fromVersion: z.ZodString;
|
|
1804
1923
|
targetVersion: z.ZodString;
|
|
1805
1924
|
phase: z.ZodEnum<["checking", "pulling", "snapshotting", "stopping", "starting", "verifying", "committing", "rollingBack", "recovering"]>;
|
|
1806
|
-
outcome: z.ZodUnion<[z.ZodEnum<["succeeded", "rolledBack", "rollbackFailed", "abandoned"]>, z.
|
|
1925
|
+
outcome: z.ZodUnion<[z.ZodEnum<["succeeded", "rolledBack", "rollbackFailed", "abandoned"]>, z.ZodNull]>;
|
|
1807
1926
|
startedAt: z.ZodString;
|
|
1808
1927
|
updatedAt: z.ZodString;
|
|
1809
1928
|
message: z.ZodString;
|
|
@@ -1815,9 +1934,9 @@ export declare const SystemUpdateRunSchema: z.ZodObject<{
|
|
|
1815
1934
|
fromVersion: string;
|
|
1816
1935
|
targetVersion: string;
|
|
1817
1936
|
phase: "checking" | "pulling" | "snapshotting" | "stopping" | "starting" | "verifying" | "committing" | "rollingBack" | "recovering";
|
|
1937
|
+
outcome: "succeeded" | "rolledBack" | "rollbackFailed" | "abandoned" | null;
|
|
1818
1938
|
startedAt: string;
|
|
1819
1939
|
logCommand: string;
|
|
1820
|
-
outcome?: unknown;
|
|
1821
1940
|
}, {
|
|
1822
1941
|
message: string;
|
|
1823
1942
|
updatedAt: string;
|
|
@@ -1825,9 +1944,9 @@ export declare const SystemUpdateRunSchema: z.ZodObject<{
|
|
|
1825
1944
|
fromVersion: string;
|
|
1826
1945
|
targetVersion: string;
|
|
1827
1946
|
phase: "checking" | "pulling" | "snapshotting" | "stopping" | "starting" | "verifying" | "committing" | "rollingBack" | "recovering";
|
|
1947
|
+
outcome: "succeeded" | "rolledBack" | "rollbackFailed" | "abandoned" | null;
|
|
1828
1948
|
startedAt: string;
|
|
1829
1949
|
logCommand: string;
|
|
1830
|
-
outcome?: unknown;
|
|
1831
1950
|
}>;
|
|
1832
1951
|
export declare const SystemUpdateResponseSchema: z.ZodObject<{
|
|
1833
1952
|
currentVersion: z.ZodString;
|
|
@@ -1868,7 +1987,7 @@ export declare const SystemUpdateResponseSchema: z.ZodObject<{
|
|
|
1868
1987
|
fromVersion: z.ZodString;
|
|
1869
1988
|
targetVersion: z.ZodString;
|
|
1870
1989
|
phase: z.ZodEnum<["checking", "pulling", "snapshotting", "stopping", "starting", "verifying", "committing", "rollingBack", "recovering"]>;
|
|
1871
|
-
outcome: z.ZodUnion<[z.ZodEnum<["succeeded", "rolledBack", "rollbackFailed", "abandoned"]>, z.
|
|
1990
|
+
outcome: z.ZodUnion<[z.ZodEnum<["succeeded", "rolledBack", "rollbackFailed", "abandoned"]>, z.ZodNull]>;
|
|
1872
1991
|
startedAt: z.ZodString;
|
|
1873
1992
|
updatedAt: z.ZodString;
|
|
1874
1993
|
message: z.ZodString;
|
|
@@ -1880,9 +1999,9 @@ export declare const SystemUpdateResponseSchema: z.ZodObject<{
|
|
|
1880
1999
|
fromVersion: string;
|
|
1881
2000
|
targetVersion: string;
|
|
1882
2001
|
phase: "checking" | "pulling" | "snapshotting" | "stopping" | "starting" | "verifying" | "committing" | "rollingBack" | "recovering";
|
|
2002
|
+
outcome: "succeeded" | "rolledBack" | "rollbackFailed" | "abandoned" | null;
|
|
1883
2003
|
startedAt: string;
|
|
1884
2004
|
logCommand: string;
|
|
1885
|
-
outcome?: unknown;
|
|
1886
2005
|
}, {
|
|
1887
2006
|
message: string;
|
|
1888
2007
|
updatedAt: string;
|
|
@@ -1890,10 +2009,10 @@ export declare const SystemUpdateResponseSchema: z.ZodObject<{
|
|
|
1890
2009
|
fromVersion: string;
|
|
1891
2010
|
targetVersion: string;
|
|
1892
2011
|
phase: "checking" | "pulling" | "snapshotting" | "stopping" | "starting" | "verifying" | "committing" | "rollingBack" | "recovering";
|
|
2012
|
+
outcome: "succeeded" | "rolledBack" | "rollbackFailed" | "abandoned" | null;
|
|
1893
2013
|
startedAt: string;
|
|
1894
2014
|
logCommand: string;
|
|
1895
|
-
|
|
1896
|
-
}>, z.ZodUnknown]>;
|
|
2015
|
+
}>, z.ZodNull]>;
|
|
1897
2016
|
}, "strip", z.ZodTypeAny, {
|
|
1898
2017
|
currentVersion: string;
|
|
1899
2018
|
check: {
|
|
@@ -1907,8 +2026,18 @@ export declare const SystemUpdateResponseSchema: z.ZodObject<{
|
|
|
1907
2026
|
releaseNotesUrl?: string | undefined;
|
|
1908
2027
|
updateAvailable?: boolean | undefined;
|
|
1909
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;
|
|
1910
2040
|
currentSchemaVersion?: number | undefined;
|
|
1911
|
-
run?: unknown;
|
|
1912
2041
|
}, {
|
|
1913
2042
|
currentVersion: string;
|
|
1914
2043
|
check: {
|
|
@@ -1922,8 +2051,18 @@ export declare const SystemUpdateResponseSchema: z.ZodObject<{
|
|
|
1922
2051
|
releaseNotesUrl?: string | undefined;
|
|
1923
2052
|
updateAvailable?: boolean | undefined;
|
|
1924
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;
|
|
1925
2065
|
currentSchemaVersion?: number | undefined;
|
|
1926
|
-
run?: unknown;
|
|
1927
2066
|
}>;
|
|
1928
2067
|
export declare const ApplyUpdateInputSchema: z.ZodObject<{
|
|
1929
2068
|
targetVersion: z.ZodString;
|
|
@@ -2105,6 +2244,163 @@ export declare const MailboxResponseSchema: z.ZodObject<{
|
|
|
2105
2244
|
specialUse?: ("Drafts" | "Sent" | "Archive" | "Junk" | "Trash" | "All" | "Flagged" | "Important")[] | undefined;
|
|
2106
2245
|
displayNameOverride?: string | undefined;
|
|
2107
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
|
+
}>;
|
|
2108
2404
|
export declare const CreateMailboxInputSchema: z.ZodObject<{
|
|
2109
2405
|
namespaceType: z.ZodEnum<["personal", "other_users", "shared"]>;
|
|
2110
2406
|
fullPath: z.ZodString;
|
|
@@ -2135,23 +2431,35 @@ export declare const RenameMailboxInputSchema: z.ZodObject<{
|
|
|
2135
2431
|
expiresAt?: number | undefined;
|
|
2136
2432
|
setBy?: string | undefined;
|
|
2137
2433
|
reason?: string | undefined;
|
|
2138
|
-
}>, z.
|
|
2139
|
-
displayNameOverride: z.ZodOptional<z.ZodUnion<[z.ZodString, z.
|
|
2434
|
+
}>, z.ZodNull]>>;
|
|
2435
|
+
displayNameOverride: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
2140
2436
|
}, "strip", z.ZodTypeAny, {
|
|
2141
|
-
muted?:
|
|
2437
|
+
muted?: {
|
|
2438
|
+
value: boolean;
|
|
2439
|
+
setAt: number;
|
|
2440
|
+
expiresAt?: number | undefined;
|
|
2441
|
+
setBy?: string | undefined;
|
|
2442
|
+
reason?: string | undefined;
|
|
2443
|
+
} | null | undefined;
|
|
2142
2444
|
fullPath?: string | undefined;
|
|
2143
|
-
displayNameOverride?:
|
|
2445
|
+
displayNameOverride?: string | null | undefined;
|
|
2144
2446
|
}, {
|
|
2145
|
-
muted?:
|
|
2447
|
+
muted?: {
|
|
2448
|
+
value: boolean;
|
|
2449
|
+
setAt: number;
|
|
2450
|
+
expiresAt?: number | undefined;
|
|
2451
|
+
setBy?: string | undefined;
|
|
2452
|
+
reason?: string | undefined;
|
|
2453
|
+
} | null | undefined;
|
|
2146
2454
|
fullPath?: string | undefined;
|
|
2147
|
-
displayNameOverride?:
|
|
2455
|
+
displayNameOverride?: string | null | undefined;
|
|
2148
2456
|
}>;
|
|
2149
2457
|
export declare const AppointFolderRoleInputSchema: z.ZodObject<{
|
|
2150
|
-
mailboxId: z.ZodUnion<[z.ZodString, z.
|
|
2458
|
+
mailboxId: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2151
2459
|
}, "strip", z.ZodTypeAny, {
|
|
2152
|
-
mailboxId
|
|
2460
|
+
mailboxId: string | null;
|
|
2153
2461
|
}, {
|
|
2154
|
-
mailboxId
|
|
2462
|
+
mailboxId: string | null;
|
|
2155
2463
|
}>;
|
|
2156
2464
|
export declare const FilterClauseSchema: z.ZodObject<{
|
|
2157
2465
|
field: z.ZodEnum<["From", "Subject", "HasWords", "ListId", "FromDomain"]>;
|
|
@@ -2172,7 +2480,6 @@ export declare const FilterSchema: z.ZodObject<{
|
|
|
2172
2480
|
ttl: z.ZodOptional<z.ZodNumber>;
|
|
2173
2481
|
state: z.ZodEnum<["Active", "Expired", "Disabled"]>;
|
|
2174
2482
|
disabledReason: z.ZodEnum<["None", "UserDisabled", "AwaitingFolder", "FolderCreateFailed", "FolderMissing"]>;
|
|
2175
|
-
hasAnchor: z.ZodBoolean;
|
|
2176
2483
|
ruleChangedAt: z.ZodNumber;
|
|
2177
2484
|
actionChangedAt: z.ZodNumber;
|
|
2178
2485
|
matchOperator: z.ZodEnum<["And", "Or"]>;
|
|
@@ -2199,7 +2506,6 @@ export declare const FilterSchema: z.ZodObject<{
|
|
|
2199
2506
|
filterId: string;
|
|
2200
2507
|
scope: "Standing" | "Temporary";
|
|
2201
2508
|
disabledReason: "None" | "UserDisabled" | "AwaitingFolder" | "FolderCreateFailed" | "FolderMissing";
|
|
2202
|
-
hasAnchor: boolean;
|
|
2203
2509
|
ruleChangedAt: number;
|
|
2204
2510
|
actionChangedAt: number;
|
|
2205
2511
|
matchOperator: "And" | "Or";
|
|
@@ -2220,7 +2526,6 @@ export declare const FilterSchema: z.ZodObject<{
|
|
|
2220
2526
|
filterId: string;
|
|
2221
2527
|
scope: "Standing" | "Temporary";
|
|
2222
2528
|
disabledReason: "None" | "UserDisabled" | "AwaitingFolder" | "FolderCreateFailed" | "FolderMissing";
|
|
2223
|
-
hasAnchor: boolean;
|
|
2224
2529
|
ruleChangedAt: number;
|
|
2225
2530
|
actionChangedAt: number;
|
|
2226
2531
|
matchOperator: "And" | "Or";
|
|
@@ -2241,7 +2546,6 @@ export declare const FilterResponseSchema: z.ZodObject<{
|
|
|
2241
2546
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
2242
2547
|
state: z.ZodEnum<["Active", "Expired", "Disabled"]>;
|
|
2243
2548
|
disabledReason: z.ZodEnum<["None", "UserDisabled", "AwaitingFolder", "FolderCreateFailed", "FolderMissing"]>;
|
|
2244
|
-
hasAnchor: z.ZodBoolean;
|
|
2245
2549
|
ruleChangedAt: z.ZodNumber;
|
|
2246
2550
|
actionChangedAt: z.ZodNumber;
|
|
2247
2551
|
matchOperator: z.ZodEnum<["And", "Or"]>;
|
|
@@ -2268,7 +2572,6 @@ export declare const FilterResponseSchema: z.ZodObject<{
|
|
|
2268
2572
|
filterId: string;
|
|
2269
2573
|
scope: "Standing" | "Temporary";
|
|
2270
2574
|
disabledReason: "None" | "UserDisabled" | "AwaitingFolder" | "FolderCreateFailed" | "FolderMissing";
|
|
2271
|
-
hasAnchor: boolean;
|
|
2272
2575
|
ruleChangedAt: number;
|
|
2273
2576
|
actionChangedAt: number;
|
|
2274
2577
|
matchOperator: "And" | "Or";
|
|
@@ -2288,7 +2591,6 @@ export declare const FilterResponseSchema: z.ZodObject<{
|
|
|
2288
2591
|
filterId: string;
|
|
2289
2592
|
scope: "Standing" | "Temporary";
|
|
2290
2593
|
disabledReason: "None" | "UserDisabled" | "AwaitingFolder" | "FolderCreateFailed" | "FolderMissing";
|
|
2291
|
-
hasAnchor: boolean;
|
|
2292
2594
|
ruleChangedAt: number;
|
|
2293
2595
|
actionChangedAt: number;
|
|
2294
2596
|
matchOperator: "And" | "Or";
|
|
@@ -2317,7 +2619,6 @@ export declare const CreateFilterInputSchema: z.ZodObject<{
|
|
|
2317
2619
|
}>, "many">;
|
|
2318
2620
|
actionLabelId: z.ZodString;
|
|
2319
2621
|
actionMailboxId: z.ZodString;
|
|
2320
|
-
anchorMessageId: z.ZodOptional<z.ZodString>;
|
|
2321
2622
|
}, "strip", z.ZodTypeAny, {
|
|
2322
2623
|
name: string;
|
|
2323
2624
|
scope: "Standing" | "Temporary";
|
|
@@ -2329,7 +2630,6 @@ export declare const CreateFilterInputSchema: z.ZodObject<{
|
|
|
2329
2630
|
actionLabelId: string;
|
|
2330
2631
|
actionMailboxId: string;
|
|
2331
2632
|
expiresAt?: string | undefined;
|
|
2332
|
-
anchorMessageId?: string | undefined;
|
|
2333
2633
|
}, {
|
|
2334
2634
|
name: string;
|
|
2335
2635
|
scope: "Standing" | "Temporary";
|
|
@@ -2341,7 +2641,6 @@ export declare const CreateFilterInputSchema: z.ZodObject<{
|
|
|
2341
2641
|
actionLabelId: string;
|
|
2342
2642
|
actionMailboxId: string;
|
|
2343
2643
|
expiresAt?: string | undefined;
|
|
2344
|
-
anchorMessageId?: string | undefined;
|
|
2345
2644
|
}>;
|
|
2346
2645
|
export declare const CreateFilterResponseSchema: z.ZodObject<{
|
|
2347
2646
|
filterId: z.ZodString;
|
|
@@ -2351,7 +2650,6 @@ export declare const CreateFilterResponseSchema: z.ZodObject<{
|
|
|
2351
2650
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
2352
2651
|
state: z.ZodEnum<["Active", "Expired", "Disabled"]>;
|
|
2353
2652
|
disabledReason: z.ZodEnum<["None", "UserDisabled", "AwaitingFolder", "FolderCreateFailed", "FolderMissing"]>;
|
|
2354
|
-
hasAnchor: z.ZodBoolean;
|
|
2355
2653
|
ruleChangedAt: z.ZodNumber;
|
|
2356
2654
|
actionChangedAt: z.ZodNumber;
|
|
2357
2655
|
matchOperator: z.ZodEnum<["And", "Or"]>;
|
|
@@ -2379,7 +2677,6 @@ export declare const CreateFilterResponseSchema: z.ZodObject<{
|
|
|
2379
2677
|
filterId: string;
|
|
2380
2678
|
scope: "Standing" | "Temporary";
|
|
2381
2679
|
disabledReason: "None" | "UserDisabled" | "AwaitingFolder" | "FolderCreateFailed" | "FolderMissing";
|
|
2382
|
-
hasAnchor: boolean;
|
|
2383
2680
|
ruleChangedAt: number;
|
|
2384
2681
|
actionChangedAt: number;
|
|
2385
2682
|
matchOperator: "And" | "Or";
|
|
@@ -2400,7 +2697,6 @@ export declare const CreateFilterResponseSchema: z.ZodObject<{
|
|
|
2400
2697
|
filterId: string;
|
|
2401
2698
|
scope: "Standing" | "Temporary";
|
|
2402
2699
|
disabledReason: "None" | "UserDisabled" | "AwaitingFolder" | "FolderCreateFailed" | "FolderMissing";
|
|
2403
|
-
hasAnchor: boolean;
|
|
2404
2700
|
ruleChangedAt: number;
|
|
2405
2701
|
actionChangedAt: number;
|
|
2406
2702
|
matchOperator: "And" | "Or";
|
|
@@ -2528,7 +2824,6 @@ export declare const UpdateLabelInputSchema: z.ZodObject<{
|
|
|
2528
2824
|
}>;
|
|
2529
2825
|
export declare const OrganizeInputSchema: z.ZodObject<{
|
|
2530
2826
|
filterId: z.ZodOptional<z.ZodString>;
|
|
2531
|
-
anchorMessageId: z.ZodOptional<z.ZodString>;
|
|
2532
2827
|
matchOperator: z.ZodEnum<["And", "Or"]>;
|
|
2533
2828
|
literalClauses: z.ZodArray<z.ZodObject<{
|
|
2534
2829
|
field: z.ZodEnum<["From", "Subject", "HasWords", "ListId", "FromDomain"]>;
|
|
@@ -2540,7 +2835,6 @@ export declare const OrganizeInputSchema: z.ZodObject<{
|
|
|
2540
2835
|
value: string;
|
|
2541
2836
|
field: "From" | "Subject" | "HasWords" | "ListId" | "FromDomain";
|
|
2542
2837
|
}>, "many">;
|
|
2543
|
-
similarityThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2544
2838
|
actionLabelId: z.ZodString;
|
|
2545
2839
|
actionMailboxId: z.ZodString;
|
|
2546
2840
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2552,8 +2846,6 @@ export declare const OrganizeInputSchema: z.ZodObject<{
|
|
|
2552
2846
|
actionLabelId: string;
|
|
2553
2847
|
actionMailboxId: string;
|
|
2554
2848
|
filterId?: string | undefined;
|
|
2555
|
-
anchorMessageId?: string | undefined;
|
|
2556
|
-
similarityThreshold?: number | undefined;
|
|
2557
2849
|
}, {
|
|
2558
2850
|
matchOperator: "And" | "Or";
|
|
2559
2851
|
literalClauses: {
|
|
@@ -2563,8 +2855,6 @@ export declare const OrganizeInputSchema: z.ZodObject<{
|
|
|
2563
2855
|
actionLabelId: string;
|
|
2564
2856
|
actionMailboxId: string;
|
|
2565
2857
|
filterId?: string | undefined;
|
|
2566
|
-
anchorMessageId?: string | undefined;
|
|
2567
|
-
similarityThreshold?: number | undefined;
|
|
2568
2858
|
}>;
|
|
2569
2859
|
export declare const CreateOrganizeJobResponseSchema: z.ZodObject<{
|
|
2570
2860
|
statusCode: z.ZodLiteral<202>;
|
|
@@ -2582,18 +2872,12 @@ export declare const CreateOrganizeJobResponseSchema: z.ZodObject<{
|
|
|
2582
2872
|
export declare const OrganizePreviewResponseSchema: z.ZodObject<{
|
|
2583
2873
|
matchedCount: z.ZodNumber;
|
|
2584
2874
|
messageIds: z.ZodArray<z.ZodString, "many">;
|
|
2585
|
-
semanticUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
2586
|
-
semanticIndexEmpty: z.ZodOptional<z.ZodBoolean>;
|
|
2587
2875
|
}, "strip", z.ZodTypeAny, {
|
|
2588
2876
|
matchedCount: number;
|
|
2589
2877
|
messageIds: string[];
|
|
2590
|
-
semanticUnavailable?: boolean | undefined;
|
|
2591
|
-
semanticIndexEmpty?: boolean | undefined;
|
|
2592
2878
|
}, {
|
|
2593
2879
|
matchedCount: number;
|
|
2594
2880
|
messageIds: string[];
|
|
2595
|
-
semanticUnavailable?: boolean | undefined;
|
|
2596
|
-
semanticIndexEmpty?: boolean | undefined;
|
|
2597
2881
|
}>;
|
|
2598
2882
|
export declare const OrganizeJobRequestSchema: z.ZodObject<{
|
|
2599
2883
|
organizeJobId: z.ZodString;
|
|
@@ -2601,7 +2885,6 @@ export declare const OrganizeJobRequestSchema: z.ZodObject<{
|
|
|
2601
2885
|
userId: z.ZodString;
|
|
2602
2886
|
state: z.ZodEnum<["Pending", "Running", "Complete", "Failed"]>;
|
|
2603
2887
|
filterId: z.ZodString;
|
|
2604
|
-
anchorMessageId: z.ZodString;
|
|
2605
2888
|
matchOperator: z.ZodEnum<["And", "Or"]>;
|
|
2606
2889
|
literalClauses: z.ZodArray<z.ZodObject<{
|
|
2607
2890
|
field: z.ZodEnum<["From", "Subject", "HasWords", "ListId", "FromDomain"]>;
|
|
@@ -2613,7 +2896,6 @@ export declare const OrganizeJobRequestSchema: z.ZodObject<{
|
|
|
2613
2896
|
value: string;
|
|
2614
2897
|
field: "From" | "Subject" | "HasWords" | "ListId" | "FromDomain";
|
|
2615
2898
|
}>, "many">;
|
|
2616
|
-
similarityThreshold: z.ZodNumber;
|
|
2617
2899
|
actionLabelId: z.ZodString;
|
|
2618
2900
|
actionMailboxId: z.ZodString;
|
|
2619
2901
|
matchedCount: z.ZodNumber;
|
|
@@ -2639,9 +2921,7 @@ export declare const OrganizeJobRequestSchema: z.ZodObject<{
|
|
|
2639
2921
|
}[];
|
|
2640
2922
|
actionLabelId: string;
|
|
2641
2923
|
actionMailboxId: string;
|
|
2642
|
-
anchorMessageId: string;
|
|
2643
2924
|
organizeJobId: string;
|
|
2644
|
-
similarityThreshold: number;
|
|
2645
2925
|
matchedCount: number;
|
|
2646
2926
|
appliedCount: number;
|
|
2647
2927
|
failedCount: number;
|
|
@@ -2661,9 +2941,7 @@ export declare const OrganizeJobRequestSchema: z.ZodObject<{
|
|
|
2661
2941
|
}[];
|
|
2662
2942
|
actionLabelId: string;
|
|
2663
2943
|
actionMailboxId: string;
|
|
2664
|
-
anchorMessageId: string;
|
|
2665
2944
|
organizeJobId: string;
|
|
2666
|
-
similarityThreshold: number;
|
|
2667
2945
|
matchedCount: number;
|
|
2668
2946
|
appliedCount: number;
|
|
2669
2947
|
failedCount: number;
|
|
@@ -2674,7 +2952,6 @@ export declare const OrganizeJobResponseSchema: z.ZodObject<{
|
|
|
2674
2952
|
userId: z.ZodString;
|
|
2675
2953
|
state: z.ZodEnum<["Pending", "Running", "Complete", "Failed"]>;
|
|
2676
2954
|
filterId: z.ZodString;
|
|
2677
|
-
anchorMessageId: z.ZodString;
|
|
2678
2955
|
matchOperator: z.ZodEnum<["And", "Or"]>;
|
|
2679
2956
|
literalClauses: z.ZodArray<z.ZodObject<{
|
|
2680
2957
|
field: z.ZodEnum<["From", "Subject", "HasWords", "ListId", "FromDomain"]>;
|
|
@@ -2686,7 +2963,6 @@ export declare const OrganizeJobResponseSchema: z.ZodObject<{
|
|
|
2686
2963
|
value: string;
|
|
2687
2964
|
field: "From" | "Subject" | "HasWords" | "ListId" | "FromDomain";
|
|
2688
2965
|
}>, "many">;
|
|
2689
|
-
similarityThreshold: z.ZodNumber;
|
|
2690
2966
|
actionLabelId: z.ZodString;
|
|
2691
2967
|
actionMailboxId: z.ZodString;
|
|
2692
2968
|
matchedCount: z.ZodNumber;
|
|
@@ -2710,9 +2986,7 @@ export declare const OrganizeJobResponseSchema: z.ZodObject<{
|
|
|
2710
2986
|
}[];
|
|
2711
2987
|
actionLabelId: string;
|
|
2712
2988
|
actionMailboxId: string;
|
|
2713
|
-
anchorMessageId: string;
|
|
2714
2989
|
organizeJobId: string;
|
|
2715
|
-
similarityThreshold: number;
|
|
2716
2990
|
matchedCount: number;
|
|
2717
2991
|
appliedCount: number;
|
|
2718
2992
|
failedCount: number;
|
|
@@ -2731,9 +3005,7 @@ export declare const OrganizeJobResponseSchema: z.ZodObject<{
|
|
|
2731
3005
|
}[];
|
|
2732
3006
|
actionLabelId: string;
|
|
2733
3007
|
actionMailboxId: string;
|
|
2734
|
-
anchorMessageId: string;
|
|
2735
3008
|
organizeJobId: string;
|
|
2736
|
-
similarityThreshold: number;
|
|
2737
3009
|
matchedCount: number;
|
|
2738
3010
|
appliedCount: number;
|
|
2739
3011
|
failedCount: number;
|
|
@@ -3647,10 +3919,16 @@ export declare const UpdateAccountInputSchema: z.ZodObject<{
|
|
|
3647
3919
|
expiresAt?: number | undefined;
|
|
3648
3920
|
setBy?: string | undefined;
|
|
3649
3921
|
reason?: string | undefined;
|
|
3650
|
-
}>, z.
|
|
3922
|
+
}>, z.ZodNull]>>;
|
|
3651
3923
|
}, "strip", z.ZodTypeAny, {
|
|
3652
3924
|
password?: string | undefined;
|
|
3653
|
-
muted?:
|
|
3925
|
+
muted?: {
|
|
3926
|
+
value: boolean;
|
|
3927
|
+
setAt: number;
|
|
3928
|
+
expiresAt?: number | undefined;
|
|
3929
|
+
setBy?: string | undefined;
|
|
3930
|
+
reason?: string | undefined;
|
|
3931
|
+
} | null | undefined;
|
|
3654
3932
|
displayName?: string | undefined;
|
|
3655
3933
|
syncedServices?: ("Mail" | "Calendar")[] | undefined;
|
|
3656
3934
|
imapHost?: string | undefined;
|
|
@@ -3670,7 +3948,13 @@ export declare const UpdateAccountInputSchema: z.ZodObject<{
|
|
|
3670
3948
|
smtpPassword?: string | undefined;
|
|
3671
3949
|
}, {
|
|
3672
3950
|
password?: string | undefined;
|
|
3673
|
-
muted?:
|
|
3951
|
+
muted?: {
|
|
3952
|
+
value: boolean;
|
|
3953
|
+
setAt: number;
|
|
3954
|
+
expiresAt?: number | undefined;
|
|
3955
|
+
setBy?: string | undefined;
|
|
3956
|
+
reason?: string | undefined;
|
|
3957
|
+
} | null | undefined;
|
|
3674
3958
|
displayName?: string | undefined;
|
|
3675
3959
|
syncedServices?: ("Mail" | "Calendar")[] | undefined;
|
|
3676
3960
|
imapHost?: string | undefined;
|
|
@@ -3745,11 +4029,11 @@ export declare const ThreadMessageSchema: z.ZodObject<{
|
|
|
3745
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";
|
|
3746
4030
|
hasStars: boolean;
|
|
3747
4031
|
isDeleted: boolean;
|
|
3748
|
-
subject?: string | undefined;
|
|
3749
4032
|
messageIdHeader?: string | undefined;
|
|
3750
4033
|
inReplyTo?: string | undefined;
|
|
3751
4034
|
fromEmail?: string | undefined;
|
|
3752
4035
|
fromName?: string | undefined;
|
|
4036
|
+
subject?: string | undefined;
|
|
3753
4037
|
listId?: string | undefined;
|
|
3754
4038
|
snippet?: string | undefined;
|
|
3755
4039
|
}, {
|
|
@@ -3770,11 +4054,11 @@ export declare const ThreadMessageSchema: z.ZodObject<{
|
|
|
3770
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";
|
|
3771
4055
|
hasStars: boolean;
|
|
3772
4056
|
isDeleted: boolean;
|
|
3773
|
-
subject?: string | undefined;
|
|
3774
4057
|
messageIdHeader?: string | undefined;
|
|
3775
4058
|
inReplyTo?: string | undefined;
|
|
3776
4059
|
fromEmail?: string | undefined;
|
|
3777
4060
|
fromName?: string | undefined;
|
|
4061
|
+
subject?: string | undefined;
|
|
3778
4062
|
listId?: string | undefined;
|
|
3779
4063
|
snippet?: string | undefined;
|
|
3780
4064
|
}>;
|
|
@@ -3963,10 +4247,10 @@ export declare const ThreadMessageResponseSchema: z.ZodObject<{
|
|
|
3963
4247
|
isDeleted: boolean;
|
|
3964
4248
|
senderTrust: "unknown" | "wellknown" | "vip";
|
|
3965
4249
|
abandonedMutation: "none" | "move" | "delete" | "copy";
|
|
3966
|
-
subject?: string | undefined;
|
|
3967
4250
|
accountId?: string | undefined;
|
|
3968
4251
|
fromEmail?: string | undefined;
|
|
3969
4252
|
fromName?: string | undefined;
|
|
4253
|
+
subject?: string | undefined;
|
|
3970
4254
|
snippet?: string | undefined;
|
|
3971
4255
|
authenticity?: {
|
|
3972
4256
|
fromDomain: string;
|
|
@@ -4014,10 +4298,10 @@ export declare const ThreadMessageResponseSchema: z.ZodObject<{
|
|
|
4014
4298
|
isDeleted: boolean;
|
|
4015
4299
|
senderTrust: "unknown" | "wellknown" | "vip";
|
|
4016
4300
|
abandonedMutation: "none" | "move" | "delete" | "copy";
|
|
4017
|
-
subject?: string | undefined;
|
|
4018
4301
|
accountId?: string | undefined;
|
|
4019
4302
|
fromEmail?: string | undefined;
|
|
4020
4303
|
fromName?: string | undefined;
|
|
4304
|
+
subject?: string | undefined;
|
|
4021
4305
|
snippet?: string | undefined;
|
|
4022
4306
|
authenticity?: {
|
|
4023
4307
|
fromDomain: string;
|
|
@@ -4046,8 +4330,9 @@ export declare const ThreadMessageResponseSchema: z.ZodObject<{
|
|
|
4046
4330
|
reportedAt: number;
|
|
4047
4331
|
} | undefined;
|
|
4048
4332
|
}>;
|
|
4049
|
-
export declare const
|
|
4050
|
-
|
|
4333
|
+
export declare const ThreadMessageListResponseSchema: z.ZodObject<{
|
|
4334
|
+
continuationToken: z.ZodOptional<z.ZodString>;
|
|
4335
|
+
items: z.ZodArray<z.ZodObject<{
|
|
4051
4336
|
threadMessageId: z.ZodString;
|
|
4052
4337
|
threadId: z.ZodString;
|
|
4053
4338
|
messageId: z.ZodString;
|
|
@@ -4162,10 +4447,10 @@ export declare const ThreadSearchResponseSchema: z.ZodObject<{
|
|
|
4162
4447
|
isDeleted: boolean;
|
|
4163
4448
|
senderTrust: "unknown" | "wellknown" | "vip";
|
|
4164
4449
|
abandonedMutation: "none" | "move" | "delete" | "copy";
|
|
4165
|
-
subject?: string | undefined;
|
|
4166
4450
|
accountId?: string | undefined;
|
|
4167
4451
|
fromEmail?: string | undefined;
|
|
4168
4452
|
fromName?: string | undefined;
|
|
4453
|
+
subject?: string | undefined;
|
|
4169
4454
|
snippet?: string | undefined;
|
|
4170
4455
|
authenticity?: {
|
|
4171
4456
|
fromDomain: string;
|
|
@@ -4213,10 +4498,10 @@ export declare const ThreadSearchResponseSchema: z.ZodObject<{
|
|
|
4213
4498
|
isDeleted: boolean;
|
|
4214
4499
|
senderTrust: "unknown" | "wellknown" | "vip";
|
|
4215
4500
|
abandonedMutation: "none" | "move" | "delete" | "copy";
|
|
4216
|
-
subject?: string | undefined;
|
|
4217
4501
|
accountId?: string | undefined;
|
|
4218
4502
|
fromEmail?: string | undefined;
|
|
4219
4503
|
fromName?: string | undefined;
|
|
4504
|
+
subject?: string | undefined;
|
|
4220
4505
|
snippet?: string | undefined;
|
|
4221
4506
|
authenticity?: {
|
|
4222
4507
|
fromDomain: string;
|
|
@@ -4244,11 +4529,9 @@ export declare const ThreadSearchResponseSchema: z.ZodObject<{
|
|
|
4244
4529
|
spamReport?: {
|
|
4245
4530
|
reportedAt: number;
|
|
4246
4531
|
} | undefined;
|
|
4247
|
-
}>, "many"
|
|
4248
|
-
continuationToken: z.ZodOptional<z.ZodString>;
|
|
4249
|
-
count: z.ZodOptional<z.ZodNumber>;
|
|
4532
|
+
}>, "many">;
|
|
4250
4533
|
}, "strip", z.ZodTypeAny, {
|
|
4251
|
-
items
|
|
4534
|
+
items: {
|
|
4252
4535
|
muted: boolean;
|
|
4253
4536
|
category: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
4254
4537
|
status: "active" | "deleting" | "deleted" | "moving";
|
|
@@ -4268,10 +4551,10 @@ export declare const ThreadSearchResponseSchema: z.ZodObject<{
|
|
|
4268
4551
|
isDeleted: boolean;
|
|
4269
4552
|
senderTrust: "unknown" | "wellknown" | "vip";
|
|
4270
4553
|
abandonedMutation: "none" | "move" | "delete" | "copy";
|
|
4271
|
-
subject?: string | undefined;
|
|
4272
4554
|
accountId?: string | undefined;
|
|
4273
4555
|
fromEmail?: string | undefined;
|
|
4274
4556
|
fromName?: string | undefined;
|
|
4557
|
+
subject?: string | undefined;
|
|
4275
4558
|
snippet?: string | undefined;
|
|
4276
4559
|
authenticity?: {
|
|
4277
4560
|
fromDomain: string;
|
|
@@ -4299,11 +4582,10 @@ export declare const ThreadSearchResponseSchema: z.ZodObject<{
|
|
|
4299
4582
|
spamReport?: {
|
|
4300
4583
|
reportedAt: number;
|
|
4301
4584
|
} | undefined;
|
|
4302
|
-
}[]
|
|
4585
|
+
}[];
|
|
4303
4586
|
continuationToken?: string | undefined;
|
|
4304
|
-
count?: number | undefined;
|
|
4305
4587
|
}, {
|
|
4306
|
-
items
|
|
4588
|
+
items: {
|
|
4307
4589
|
muted: boolean;
|
|
4308
4590
|
category: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
4309
4591
|
status: "active" | "deleting" | "deleted" | "moving";
|
|
@@ -4323,10 +4605,10 @@ export declare const ThreadSearchResponseSchema: z.ZodObject<{
|
|
|
4323
4605
|
isDeleted: boolean;
|
|
4324
4606
|
senderTrust: "unknown" | "wellknown" | "vip";
|
|
4325
4607
|
abandonedMutation: "none" | "move" | "delete" | "copy";
|
|
4326
|
-
subject?: string | undefined;
|
|
4327
4608
|
accountId?: string | undefined;
|
|
4328
4609
|
fromEmail?: string | undefined;
|
|
4329
4610
|
fromName?: string | undefined;
|
|
4611
|
+
subject?: string | undefined;
|
|
4330
4612
|
snippet?: string | undefined;
|
|
4331
4613
|
authenticity?: {
|
|
4332
4614
|
fromDomain: string;
|
|
@@ -4354,69 +4636,349 @@ export declare const ThreadSearchResponseSchema: z.ZodObject<{
|
|
|
4354
4636
|
spamReport?: {
|
|
4355
4637
|
reportedAt: number;
|
|
4356
4638
|
} | undefined;
|
|
4357
|
-
}[]
|
|
4639
|
+
}[];
|
|
4358
4640
|
continuationToken?: string | undefined;
|
|
4359
|
-
count?: number | undefined;
|
|
4360
|
-
}>;
|
|
4361
|
-
export declare const SemanticSearchResultSchema: z.ZodObject<{
|
|
4362
|
-
messageId: z.ZodString;
|
|
4363
|
-
threadId: z.ZodString;
|
|
4364
|
-
score: z.ZodNumber;
|
|
4365
|
-
matchedChunkType: z.ZodEnum<["sender", "recipient", "subject", "attachment", "body", "entities"]>;
|
|
4366
|
-
mailboxIds: z.ZodArray<z.ZodString, "many">;
|
|
4367
|
-
fromName: z.ZodOptional<z.ZodString>;
|
|
4368
|
-
subject: z.ZodOptional<z.ZodString>;
|
|
4369
|
-
sentDate: z.ZodOptional<z.ZodNumber>;
|
|
4370
|
-
category: z.ZodOptional<z.ZodEnum<["uncategorized", "personal", "newsletter", "marketing", "automated", "transactional", "social"]>>;
|
|
4371
|
-
}, "strip", z.ZodTypeAny, {
|
|
4372
|
-
threadId: string;
|
|
4373
|
-
messageId: string;
|
|
4374
|
-
score: number;
|
|
4375
|
-
matchedChunkType: "sender" | "recipient" | "subject" | "attachment" | "body" | "entities";
|
|
4376
|
-
mailboxIds: string[];
|
|
4377
|
-
subject?: string | undefined;
|
|
4378
|
-
category?: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social" | undefined;
|
|
4379
|
-
fromName?: string | undefined;
|
|
4380
|
-
sentDate?: number | undefined;
|
|
4381
|
-
}, {
|
|
4382
|
-
threadId: string;
|
|
4383
|
-
messageId: string;
|
|
4384
|
-
score: number;
|
|
4385
|
-
matchedChunkType: "sender" | "recipient" | "subject" | "attachment" | "body" | "entities";
|
|
4386
|
-
mailboxIds: string[];
|
|
4387
|
-
subject?: string | undefined;
|
|
4388
|
-
category?: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social" | undefined;
|
|
4389
|
-
fromName?: string | undefined;
|
|
4390
|
-
sentDate?: number | undefined;
|
|
4391
4641
|
}>;
|
|
4392
|
-
export declare const
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
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>;
|
|
4403
4843
|
}, "strip", z.ZodTypeAny, {
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
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;
|
|
4414
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
|
+
}>;
|
|
4954
|
+
export declare const CreateOutboxMessageInputSchema: z.ZodObject<{
|
|
4955
|
+
accountId: z.ZodString;
|
|
4956
|
+
toAddresses: z.ZodArray<z.ZodString, "many">;
|
|
4957
|
+
ccAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4958
|
+
bccAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4959
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
4960
|
+
textBody: z.ZodOptional<z.ZodString>;
|
|
4961
|
+
htmlBody: z.ZodOptional<z.ZodString>;
|
|
4962
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
4963
|
+
references: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4964
|
+
sendImmediately: z.ZodOptional<z.ZodBoolean>;
|
|
4965
|
+
}, "strip", z.ZodTypeAny, {
|
|
4415
4966
|
accountId: string;
|
|
4416
4967
|
toAddresses: string[];
|
|
4968
|
+
references?: string[] | undefined;
|
|
4969
|
+
inReplyTo?: string | undefined;
|
|
4417
4970
|
subject?: string | undefined;
|
|
4971
|
+
ccAddresses?: string[] | undefined;
|
|
4972
|
+
bccAddresses?: string[] | undefined;
|
|
4973
|
+
textBody?: string | undefined;
|
|
4974
|
+
htmlBody?: string | undefined;
|
|
4975
|
+
sendImmediately?: boolean | undefined;
|
|
4976
|
+
}, {
|
|
4977
|
+
accountId: string;
|
|
4978
|
+
toAddresses: string[];
|
|
4418
4979
|
references?: string[] | undefined;
|
|
4419
4980
|
inReplyTo?: string | undefined;
|
|
4981
|
+
subject?: string | undefined;
|
|
4420
4982
|
ccAddresses?: string[] | undefined;
|
|
4421
4983
|
bccAddresses?: string[] | undefined;
|
|
4422
4984
|
textBody?: string | undefined;
|
|
@@ -4461,10 +5023,10 @@ export declare const OutboxMessageSchema: z.ZodObject<{
|
|
|
4461
5023
|
fromAddress: string;
|
|
4462
5024
|
messageIdValue: string;
|
|
4463
5025
|
appendedUid: number;
|
|
4464
|
-
subject?: string | undefined;
|
|
4465
5026
|
lastError?: string | undefined;
|
|
4466
5027
|
inReplyTo?: string | undefined;
|
|
4467
5028
|
fromName?: string | undefined;
|
|
5029
|
+
subject?: string | undefined;
|
|
4468
5030
|
textBody?: string | undefined;
|
|
4469
5031
|
htmlBody?: string | undefined;
|
|
4470
5032
|
replyToAddress?: string | undefined;
|
|
@@ -4485,10 +5047,10 @@ export declare const OutboxMessageSchema: z.ZodObject<{
|
|
|
4485
5047
|
fromAddress: string;
|
|
4486
5048
|
messageIdValue: string;
|
|
4487
5049
|
appendedUid: number;
|
|
4488
|
-
subject?: string | undefined;
|
|
4489
5050
|
lastError?: string | undefined;
|
|
4490
5051
|
inReplyTo?: string | undefined;
|
|
4491
5052
|
fromName?: string | undefined;
|
|
5053
|
+
subject?: string | undefined;
|
|
4492
5054
|
textBody?: string | undefined;
|
|
4493
5055
|
htmlBody?: string | undefined;
|
|
4494
5056
|
replyToAddress?: string | undefined;
|
|
@@ -4591,10 +5153,10 @@ export declare const OutboxMessageResponseSchema: z.ZodObject<{
|
|
|
4591
5153
|
contentId: string;
|
|
4592
5154
|
contentUrl: string;
|
|
4593
5155
|
}[];
|
|
4594
|
-
subject?: string | undefined;
|
|
4595
5156
|
lastError?: string | undefined;
|
|
4596
5157
|
inReplyTo?: string | undefined;
|
|
4597
5158
|
fromName?: string | undefined;
|
|
5159
|
+
subject?: string | undefined;
|
|
4598
5160
|
textBody?: string | undefined;
|
|
4599
5161
|
htmlBody?: string | undefined;
|
|
4600
5162
|
sentAt?: number | undefined;
|
|
@@ -4619,10 +5181,10 @@ export declare const OutboxMessageResponseSchema: z.ZodObject<{
|
|
|
4619
5181
|
contentId: string;
|
|
4620
5182
|
contentUrl: string;
|
|
4621
5183
|
}[];
|
|
4622
|
-
subject?: string | undefined;
|
|
4623
5184
|
lastError?: string | undefined;
|
|
4624
5185
|
inReplyTo?: string | undefined;
|
|
4625
5186
|
fromName?: string | undefined;
|
|
5187
|
+
subject?: string | undefined;
|
|
4626
5188
|
textBody?: string | undefined;
|
|
4627
5189
|
htmlBody?: string | undefined;
|
|
4628
5190
|
sentAt?: number | undefined;
|
|
@@ -4667,6 +5229,174 @@ export declare const OutboxAttachmentSchema: z.ZodObject<{
|
|
|
4667
5229
|
storageKey: string;
|
|
4668
5230
|
reservationExpiresAt: number;
|
|
4669
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
|
+
}>;
|
|
4670
5400
|
export declare const UpdateOutboxMessageInputSchema: z.ZodObject<{
|
|
4671
5401
|
attachmentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4672
5402
|
toAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -4678,9 +5408,9 @@ export declare const UpdateOutboxMessageInputSchema: z.ZodObject<{
|
|
|
4678
5408
|
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
4679
5409
|
references: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4680
5410
|
}, "strip", z.ZodTypeAny, {
|
|
4681
|
-
subject?: string | undefined;
|
|
4682
5411
|
references?: string[] | undefined;
|
|
4683
5412
|
inReplyTo?: string | undefined;
|
|
5413
|
+
subject?: string | undefined;
|
|
4684
5414
|
toAddresses?: string[] | undefined;
|
|
4685
5415
|
ccAddresses?: string[] | undefined;
|
|
4686
5416
|
bccAddresses?: string[] | undefined;
|
|
@@ -4688,9 +5418,9 @@ export declare const UpdateOutboxMessageInputSchema: z.ZodObject<{
|
|
|
4688
5418
|
htmlBody?: string | undefined;
|
|
4689
5419
|
attachmentIds?: string[] | undefined;
|
|
4690
5420
|
}, {
|
|
4691
|
-
subject?: string | undefined;
|
|
4692
5421
|
references?: string[] | undefined;
|
|
4693
5422
|
inReplyTo?: string | undefined;
|
|
5423
|
+
subject?: string | undefined;
|
|
4694
5424
|
toAddresses?: string[] | undefined;
|
|
4695
5425
|
ccAddresses?: string[] | undefined;
|
|
4696
5426
|
bccAddresses?: string[] | undefined;
|
|
@@ -6352,7 +7082,7 @@ export declare const UpdateAddressFlagsInputSchema: z.ZodObject<{
|
|
|
6352
7082
|
expiresAt?: number | undefined;
|
|
6353
7083
|
setBy?: string | undefined;
|
|
6354
7084
|
reason?: string | undefined;
|
|
6355
|
-
}>, z.
|
|
7085
|
+
}>, z.ZodNull]>>;
|
|
6356
7086
|
blocked: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
6357
7087
|
setAt: z.ZodNumber;
|
|
6358
7088
|
setBy: z.ZodOptional<z.ZodString>;
|
|
@@ -6371,7 +7101,7 @@ export declare const UpdateAddressFlagsInputSchema: z.ZodObject<{
|
|
|
6371
7101
|
expiresAt?: number | undefined;
|
|
6372
7102
|
setBy?: string | undefined;
|
|
6373
7103
|
reason?: string | undefined;
|
|
6374
|
-
}>, z.
|
|
7104
|
+
}>, z.ZodNull]>>;
|
|
6375
7105
|
neverSpam: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
6376
7106
|
setAt: z.ZodNumber;
|
|
6377
7107
|
setBy: z.ZodOptional<z.ZodString>;
|
|
@@ -6390,7 +7120,7 @@ export declare const UpdateAddressFlagsInputSchema: z.ZodObject<{
|
|
|
6390
7120
|
expiresAt?: number | undefined;
|
|
6391
7121
|
setBy?: string | undefined;
|
|
6392
7122
|
reason?: string | undefined;
|
|
6393
|
-
}>, z.
|
|
7123
|
+
}>, z.ZodNull]>>;
|
|
6394
7124
|
muted: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
6395
7125
|
setAt: z.ZodNumber;
|
|
6396
7126
|
setBy: z.ZodOptional<z.ZodString>;
|
|
@@ -6409,7 +7139,7 @@ export declare const UpdateAddressFlagsInputSchema: z.ZodObject<{
|
|
|
6409
7139
|
expiresAt?: number | undefined;
|
|
6410
7140
|
setBy?: string | undefined;
|
|
6411
7141
|
reason?: string | undefined;
|
|
6412
|
-
}>, z.
|
|
7142
|
+
}>, z.ZodNull]>>;
|
|
6413
7143
|
vip: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
6414
7144
|
setAt: z.ZodNumber;
|
|
6415
7145
|
setBy: z.ZodOptional<z.ZodString>;
|
|
@@ -6428,7 +7158,7 @@ export declare const UpdateAddressFlagsInputSchema: z.ZodObject<{
|
|
|
6428
7158
|
expiresAt?: number | undefined;
|
|
6429
7159
|
setBy?: string | undefined;
|
|
6430
7160
|
reason?: string | undefined;
|
|
6431
|
-
}>, z.
|
|
7161
|
+
}>, z.ZodNull]>>;
|
|
6432
7162
|
wellknown: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
6433
7163
|
setAt: z.ZodNumber;
|
|
6434
7164
|
setBy: z.ZodOptional<z.ZodString>;
|
|
@@ -6447,7 +7177,7 @@ export declare const UpdateAddressFlagsInputSchema: z.ZodObject<{
|
|
|
6447
7177
|
expiresAt?: number | undefined;
|
|
6448
7178
|
setBy?: string | undefined;
|
|
6449
7179
|
reason?: string | undefined;
|
|
6450
|
-
}>, z.
|
|
7180
|
+
}>, z.ZodNull]>>;
|
|
6451
7181
|
junkOnly: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
6452
7182
|
setAt: z.ZodNumber;
|
|
6453
7183
|
setBy: z.ZodOptional<z.ZodString>;
|
|
@@ -6466,7 +7196,7 @@ export declare const UpdateAddressFlagsInputSchema: z.ZodObject<{
|
|
|
6466
7196
|
expiresAt?: number | undefined;
|
|
6467
7197
|
setBy?: string | undefined;
|
|
6468
7198
|
reason?: string | undefined;
|
|
6469
|
-
}>, z.
|
|
7199
|
+
}>, z.ZodNull]>>;
|
|
6470
7200
|
category: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
6471
7201
|
setAt: z.ZodNumber;
|
|
6472
7202
|
setBy: z.ZodOptional<z.ZodString>;
|
|
@@ -6485,7 +7215,7 @@ export declare const UpdateAddressFlagsInputSchema: z.ZodObject<{
|
|
|
6485
7215
|
expiresAt?: number | undefined;
|
|
6486
7216
|
setBy?: string | undefined;
|
|
6487
7217
|
reason?: string | undefined;
|
|
6488
|
-
}>, z.
|
|
7218
|
+
}>, z.ZodNull]>>;
|
|
6489
7219
|
autoArchive: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
6490
7220
|
setAt: z.ZodNumber;
|
|
6491
7221
|
setBy: z.ZodOptional<z.ZodString>;
|
|
@@ -6504,7 +7234,7 @@ export declare const UpdateAddressFlagsInputSchema: z.ZodObject<{
|
|
|
6504
7234
|
expiresAt?: number | undefined;
|
|
6505
7235
|
setBy?: string | undefined;
|
|
6506
7236
|
reason?: string | undefined;
|
|
6507
|
-
}>, z.
|
|
7237
|
+
}>, z.ZodNull]>>;
|
|
6508
7238
|
unsubscribed: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
6509
7239
|
setAt: z.ZodNumber;
|
|
6510
7240
|
setBy: z.ZodOptional<z.ZodString>;
|
|
@@ -6523,272 +7253,632 @@ export declare const UpdateAddressFlagsInputSchema: z.ZodObject<{
|
|
|
6523
7253
|
expiresAt?: number | undefined;
|
|
6524
7254
|
setBy?: string | undefined;
|
|
6525
7255
|
reason?: string | undefined;
|
|
6526
|
-
}>, z.
|
|
7256
|
+
}>, z.ZodNull]>>;
|
|
6527
7257
|
}, "strip", z.ZodTypeAny, {
|
|
6528
|
-
wellknown?:
|
|
6529
|
-
|
|
6530
|
-
|
|
6531
|
-
|
|
6532
|
-
|
|
6533
|
-
|
|
6534
|
-
|
|
6535
|
-
|
|
6536
|
-
|
|
6537
|
-
|
|
6538
|
-
|
|
6539
|
-
|
|
6540
|
-
|
|
6541
|
-
|
|
6542
|
-
|
|
6543
|
-
|
|
6544
|
-
|
|
6545
|
-
|
|
6546
|
-
|
|
6547
|
-
|
|
6548
|
-
|
|
6549
|
-
|
|
6550
|
-
|
|
6551
|
-
|
|
6552
|
-
|
|
6553
|
-
|
|
6554
|
-
|
|
6555
|
-
|
|
6556
|
-
|
|
6557
|
-
|
|
6558
|
-
|
|
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;
|
|
7328
|
+
}, {
|
|
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>;
|
|
7463
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
7464
|
+
value: z.ZodBoolean;
|
|
7465
|
+
}, "strip", z.ZodTypeAny, {
|
|
7466
|
+
value: boolean;
|
|
7467
|
+
setAt: number;
|
|
7468
|
+
expiresAt?: number | undefined;
|
|
7469
|
+
setBy?: string | undefined;
|
|
7470
|
+
reason?: string | undefined;
|
|
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?: {
|
|
7650
|
+
value: boolean;
|
|
7651
|
+
setAt: number;
|
|
7652
|
+
expiresAt?: number | undefined;
|
|
7653
|
+
setBy?: string | undefined;
|
|
7654
|
+
reason?: string | undefined;
|
|
7655
|
+
} | null | undefined;
|
|
7656
|
+
neverSpam?: {
|
|
6559
7657
|
value: boolean;
|
|
6560
7658
|
setAt: number;
|
|
6561
7659
|
expiresAt?: number | undefined;
|
|
6562
7660
|
setBy?: string | undefined;
|
|
6563
7661
|
reason?: string | undefined;
|
|
6564
|
-
}
|
|
7662
|
+
} | null | undefined;
|
|
7663
|
+
}, {
|
|
7664
|
+
wellknown?: {
|
|
6565
7665
|
value: boolean;
|
|
6566
7666
|
setAt: number;
|
|
6567
7667
|
expiresAt?: number | undefined;
|
|
6568
7668
|
setBy?: string | undefined;
|
|
6569
7669
|
reason?: string | undefined;
|
|
6570
|
-
}
|
|
6571
|
-
|
|
6572
|
-
setAt: z.ZodNumber;
|
|
6573
|
-
setBy: z.ZodOptional<z.ZodString>;
|
|
6574
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
6575
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
6576
|
-
value: z.ZodBoolean;
|
|
6577
|
-
}, "strip", z.ZodTypeAny, {
|
|
7670
|
+
} | null | undefined;
|
|
7671
|
+
vip?: {
|
|
6578
7672
|
value: boolean;
|
|
6579
7673
|
setAt: number;
|
|
6580
7674
|
expiresAt?: number | undefined;
|
|
6581
7675
|
setBy?: string | undefined;
|
|
6582
7676
|
reason?: string | undefined;
|
|
6583
|
-
}
|
|
7677
|
+
} | null | undefined;
|
|
7678
|
+
blocked?: {
|
|
6584
7679
|
value: boolean;
|
|
6585
7680
|
setAt: number;
|
|
6586
7681
|
expiresAt?: number | undefined;
|
|
6587
7682
|
setBy?: string | undefined;
|
|
6588
7683
|
reason?: string | undefined;
|
|
6589
|
-
}
|
|
6590
|
-
|
|
6591
|
-
setAt: z.ZodNumber;
|
|
6592
|
-
setBy: z.ZodOptional<z.ZodString>;
|
|
6593
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
6594
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
6595
|
-
value: z.ZodBoolean;
|
|
6596
|
-
}, "strip", z.ZodTypeAny, {
|
|
7684
|
+
} | null | undefined;
|
|
7685
|
+
trusted?: {
|
|
6597
7686
|
value: boolean;
|
|
6598
7687
|
setAt: number;
|
|
6599
7688
|
expiresAt?: number | undefined;
|
|
6600
7689
|
setBy?: string | undefined;
|
|
6601
7690
|
reason?: string | undefined;
|
|
6602
|
-
}
|
|
7691
|
+
} | null | undefined;
|
|
7692
|
+
muted?: {
|
|
6603
7693
|
value: boolean;
|
|
6604
7694
|
setAt: number;
|
|
6605
7695
|
expiresAt?: number | undefined;
|
|
6606
7696
|
setBy?: string | undefined;
|
|
6607
7697
|
reason?: string | undefined;
|
|
6608
|
-
}
|
|
6609
|
-
|
|
6610
|
-
setAt: z.ZodNumber;
|
|
6611
|
-
setBy: z.ZodOptional<z.ZodString>;
|
|
6612
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
6613
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
6614
|
-
value: z.ZodBoolean;
|
|
6615
|
-
}, "strip", z.ZodTypeAny, {
|
|
7698
|
+
} | null | undefined;
|
|
7699
|
+
junkOnly?: {
|
|
6616
7700
|
value: boolean;
|
|
6617
7701
|
setAt: number;
|
|
6618
7702
|
expiresAt?: number | undefined;
|
|
6619
7703
|
setBy?: string | undefined;
|
|
6620
7704
|
reason?: string | undefined;
|
|
6621
|
-
}
|
|
6622
|
-
|
|
7705
|
+
} | null | undefined;
|
|
7706
|
+
category?: {
|
|
7707
|
+
value: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
6623
7708
|
setAt: number;
|
|
6624
7709
|
expiresAt?: number | undefined;
|
|
6625
7710
|
setBy?: string | undefined;
|
|
6626
7711
|
reason?: string | undefined;
|
|
6627
|
-
}
|
|
6628
|
-
|
|
6629
|
-
setAt: z.ZodNumber;
|
|
6630
|
-
setBy: z.ZodOptional<z.ZodString>;
|
|
6631
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
6632
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
6633
|
-
value: z.ZodBoolean;
|
|
6634
|
-
}, "strip", z.ZodTypeAny, {
|
|
7712
|
+
} | null | undefined;
|
|
7713
|
+
autoArchive?: {
|
|
6635
7714
|
value: boolean;
|
|
6636
7715
|
setAt: number;
|
|
6637
7716
|
expiresAt?: number | undefined;
|
|
6638
7717
|
setBy?: string | undefined;
|
|
6639
7718
|
reason?: string | undefined;
|
|
6640
|
-
}
|
|
7719
|
+
} | null | undefined;
|
|
7720
|
+
unsubscribed?: {
|
|
6641
7721
|
value: boolean;
|
|
6642
7722
|
setAt: number;
|
|
6643
7723
|
expiresAt?: number | undefined;
|
|
6644
7724
|
setBy?: string | undefined;
|
|
6645
7725
|
reason?: string | undefined;
|
|
6646
|
-
}
|
|
6647
|
-
|
|
6648
|
-
setAt: z.ZodNumber;
|
|
6649
|
-
setBy: z.ZodOptional<z.ZodString>;
|
|
6650
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
6651
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
6652
|
-
value: z.ZodBoolean;
|
|
6653
|
-
}, "strip", z.ZodTypeAny, {
|
|
7726
|
+
} | null | undefined;
|
|
7727
|
+
neverSpam?: {
|
|
6654
7728
|
value: boolean;
|
|
6655
7729
|
setAt: number;
|
|
6656
7730
|
expiresAt?: number | undefined;
|
|
6657
7731
|
setBy?: string | undefined;
|
|
6658
7732
|
reason?: string | undefined;
|
|
6659
|
-
}
|
|
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?: {
|
|
6660
7739
|
value: boolean;
|
|
6661
7740
|
setAt: number;
|
|
6662
7741
|
expiresAt?: number | undefined;
|
|
6663
7742
|
setBy?: string | undefined;
|
|
6664
7743
|
reason?: string | undefined;
|
|
6665
|
-
}
|
|
6666
|
-
|
|
6667
|
-
setAt: z.ZodNumber;
|
|
6668
|
-
setBy: z.ZodOptional<z.ZodString>;
|
|
6669
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
6670
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
6671
|
-
value: z.ZodBoolean;
|
|
6672
|
-
}, "strip", z.ZodTypeAny, {
|
|
7744
|
+
} | null | undefined;
|
|
7745
|
+
vip?: {
|
|
6673
7746
|
value: boolean;
|
|
6674
7747
|
setAt: number;
|
|
6675
7748
|
expiresAt?: number | undefined;
|
|
6676
7749
|
setBy?: string | undefined;
|
|
6677
7750
|
reason?: string | undefined;
|
|
6678
|
-
}
|
|
7751
|
+
} | null | undefined;
|
|
7752
|
+
blocked?: {
|
|
6679
7753
|
value: boolean;
|
|
6680
7754
|
setAt: number;
|
|
6681
7755
|
expiresAt?: number | undefined;
|
|
6682
7756
|
setBy?: string | undefined;
|
|
6683
7757
|
reason?: string | undefined;
|
|
6684
|
-
}
|
|
6685
|
-
|
|
6686
|
-
|
|
6687
|
-
setBy: z.ZodOptional<z.ZodString>;
|
|
6688
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
6689
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
6690
|
-
value: z.ZodEnum<["uncategorized", "personal", "newsletter", "marketing", "automated", "transactional", "social"]>;
|
|
6691
|
-
}, "strip", z.ZodTypeAny, {
|
|
6692
|
-
value: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
7758
|
+
} | null | undefined;
|
|
7759
|
+
trusted?: {
|
|
7760
|
+
value: boolean;
|
|
6693
7761
|
setAt: number;
|
|
6694
7762
|
expiresAt?: number | undefined;
|
|
6695
7763
|
setBy?: string | undefined;
|
|
6696
7764
|
reason?: string | undefined;
|
|
6697
|
-
}
|
|
6698
|
-
|
|
7765
|
+
} | null | undefined;
|
|
7766
|
+
muted?: {
|
|
7767
|
+
value: boolean;
|
|
6699
7768
|
setAt: number;
|
|
6700
7769
|
expiresAt?: number | undefined;
|
|
6701
7770
|
setBy?: string | undefined;
|
|
6702
7771
|
reason?: string | undefined;
|
|
6703
|
-
}
|
|
6704
|
-
|
|
6705
|
-
setAt: z.ZodNumber;
|
|
6706
|
-
setBy: z.ZodOptional<z.ZodString>;
|
|
6707
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
6708
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
6709
|
-
value: z.ZodBoolean;
|
|
6710
|
-
}, "strip", z.ZodTypeAny, {
|
|
7772
|
+
} | null | undefined;
|
|
7773
|
+
junkOnly?: {
|
|
6711
7774
|
value: boolean;
|
|
6712
7775
|
setAt: number;
|
|
6713
7776
|
expiresAt?: number | undefined;
|
|
6714
7777
|
setBy?: string | undefined;
|
|
6715
7778
|
reason?: string | undefined;
|
|
6716
|
-
}
|
|
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?: {
|
|
6717
7788
|
value: boolean;
|
|
6718
7789
|
setAt: number;
|
|
6719
7790
|
expiresAt?: number | undefined;
|
|
6720
7791
|
setBy?: string | undefined;
|
|
6721
7792
|
reason?: string | undefined;
|
|
6722
|
-
}
|
|
6723
|
-
unsubscribed
|
|
6724
|
-
setAt: z.ZodNumber;
|
|
6725
|
-
setBy: z.ZodOptional<z.ZodString>;
|
|
6726
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
6727
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
6728
|
-
value: z.ZodBoolean;
|
|
6729
|
-
}, "strip", z.ZodTypeAny, {
|
|
7793
|
+
} | null | undefined;
|
|
7794
|
+
unsubscribed?: {
|
|
6730
7795
|
value: boolean;
|
|
6731
7796
|
setAt: number;
|
|
6732
7797
|
expiresAt?: number | undefined;
|
|
6733
7798
|
setBy?: string | undefined;
|
|
6734
7799
|
reason?: string | undefined;
|
|
6735
|
-
}
|
|
7800
|
+
} | null | undefined;
|
|
7801
|
+
neverSpam?: {
|
|
6736
7802
|
value: boolean;
|
|
6737
7803
|
setAt: number;
|
|
6738
7804
|
expiresAt?: number | undefined;
|
|
6739
7805
|
setBy?: string | undefined;
|
|
6740
7806
|
reason?: string | undefined;
|
|
6741
|
-
}
|
|
6742
|
-
}, "strip", z.ZodTypeAny, {
|
|
6743
|
-
wellknown?: unknown;
|
|
6744
|
-
vip?: unknown;
|
|
6745
|
-
blocked?: unknown;
|
|
6746
|
-
trusted?: unknown;
|
|
6747
|
-
muted?: unknown;
|
|
6748
|
-
junkOnly?: unknown;
|
|
6749
|
-
category?: unknown;
|
|
6750
|
-
autoArchive?: unknown;
|
|
6751
|
-
unsubscribed?: unknown;
|
|
6752
|
-
neverSpam?: unknown;
|
|
6753
|
-
}, {
|
|
6754
|
-
wellknown?: unknown;
|
|
6755
|
-
vip?: unknown;
|
|
6756
|
-
blocked?: unknown;
|
|
6757
|
-
trusted?: unknown;
|
|
6758
|
-
muted?: unknown;
|
|
6759
|
-
junkOnly?: unknown;
|
|
6760
|
-
category?: unknown;
|
|
6761
|
-
autoArchive?: unknown;
|
|
6762
|
-
unsubscribed?: unknown;
|
|
6763
|
-
neverSpam?: unknown;
|
|
6764
|
-
}>>;
|
|
6765
|
-
clearFlags: z.ZodOptional<z.ZodArray<z.ZodEnum<["trusted", "blocked", "muted", "vip", "junkOnly", "category", "autoArchive", "unsubscribed", "neverSpam"]>, "many">>;
|
|
6766
|
-
}, "strip", z.ZodTypeAny, {
|
|
6767
|
-
flags?: {
|
|
6768
|
-
wellknown?: unknown;
|
|
6769
|
-
vip?: unknown;
|
|
6770
|
-
blocked?: unknown;
|
|
6771
|
-
trusted?: unknown;
|
|
6772
|
-
muted?: unknown;
|
|
6773
|
-
junkOnly?: unknown;
|
|
6774
|
-
category?: unknown;
|
|
6775
|
-
autoArchive?: unknown;
|
|
6776
|
-
unsubscribed?: unknown;
|
|
6777
|
-
neverSpam?: unknown;
|
|
7807
|
+
} | null | undefined;
|
|
6778
7808
|
} | undefined;
|
|
6779
7809
|
clearFlags?: ("vip" | "blocked" | "trusted" | "muted" | "junkOnly" | "category" | "autoArchive" | "unsubscribed" | "neverSpam")[] | undefined;
|
|
6780
7810
|
}, {
|
|
6781
7811
|
flags?: {
|
|
6782
|
-
wellknown?:
|
|
6783
|
-
|
|
6784
|
-
|
|
6785
|
-
|
|
6786
|
-
|
|
6787
|
-
|
|
6788
|
-
|
|
6789
|
-
|
|
6790
|
-
|
|
6791
|
-
|
|
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;
|
|
6792
7882
|
} | undefined;
|
|
6793
7883
|
clearFlags?: ("vip" | "blocked" | "trusted" | "muted" | "junkOnly" | "category" | "autoArchive" | "unsubscribed" | "neverSpam")[] | undefined;
|
|
6794
7884
|
}>;
|
|
@@ -6798,7 +7888,6 @@ export declare const MessageSummaryResponseSchema: z.ZodObject<{
|
|
|
6798
7888
|
uid: z.ZodNumber;
|
|
6799
7889
|
rfc822Size: z.ZodNumber;
|
|
6800
7890
|
internalDate: z.ZodNumber;
|
|
6801
|
-
messageIdHeader: z.ZodOptional<z.ZodString>;
|
|
6802
7891
|
status: z.ZodEnum<["active", "deleting", "deleted", "moving"]>;
|
|
6803
7892
|
syncStatus: z.ZodEnum<["synced", "pending", "failed", "abandoned"]>;
|
|
6804
7893
|
abandonedMutation: z.ZodEnum<["none", "move", "delete", "copy"]>;
|
|
@@ -6833,6 +7922,7 @@ export declare const MessageSummaryResponseSchema: z.ZodObject<{
|
|
|
6833
7922
|
signerMessageCount?: number | undefined;
|
|
6834
7923
|
signerFirstSeenAt?: number | undefined;
|
|
6835
7924
|
}>>;
|
|
7925
|
+
messageIdHeader: z.ZodOptional<z.ZodString>;
|
|
6836
7926
|
autoMoved: z.ZodOptional<z.ZodObject<{
|
|
6837
7927
|
action: z.ZodOptional<z.ZodEnum<["MoveToInbox", "MoveToJunk"]>>;
|
|
6838
7928
|
fromPlacement: z.ZodOptional<z.ZodString>;
|
|
@@ -7288,7 +8378,7 @@ export declare const EnvelopeAddressResponseSchema: z.ZodObject<{
|
|
|
7288
8378
|
}, "strip", z.ZodTypeAny, {
|
|
7289
8379
|
addressId: string;
|
|
7290
8380
|
normalizedEmail: string;
|
|
7291
|
-
addressRole: "
|
|
8381
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
7292
8382
|
addressOrder: number;
|
|
7293
8383
|
displayName?: string | undefined;
|
|
7294
8384
|
flags?: {
|
|
@@ -7366,7 +8456,7 @@ export declare const EnvelopeAddressResponseSchema: z.ZodObject<{
|
|
|
7366
8456
|
}, {
|
|
7367
8457
|
addressId: string;
|
|
7368
8458
|
normalizedEmail: string;
|
|
7369
|
-
addressRole: "
|
|
8459
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
7370
8460
|
addressOrder: number;
|
|
7371
8461
|
displayName?: string | undefined;
|
|
7372
8462
|
flags?: {
|
|
@@ -7790,7 +8880,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
7790
8880
|
}, "strip", z.ZodTypeAny, {
|
|
7791
8881
|
addressId: string;
|
|
7792
8882
|
normalizedEmail: string;
|
|
7793
|
-
addressRole: "
|
|
8883
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
7794
8884
|
addressOrder: number;
|
|
7795
8885
|
displayName?: string | undefined;
|
|
7796
8886
|
flags?: {
|
|
@@ -7868,7 +8958,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
7868
8958
|
}, {
|
|
7869
8959
|
addressId: string;
|
|
7870
8960
|
normalizedEmail: string;
|
|
7871
|
-
addressRole: "
|
|
8961
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
7872
8962
|
addressOrder: number;
|
|
7873
8963
|
displayName?: string | undefined;
|
|
7874
8964
|
flags?: {
|
|
@@ -8287,7 +9377,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
8287
9377
|
}, "strip", z.ZodTypeAny, {
|
|
8288
9378
|
addressId: string;
|
|
8289
9379
|
normalizedEmail: string;
|
|
8290
|
-
addressRole: "
|
|
9380
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
8291
9381
|
addressOrder: number;
|
|
8292
9382
|
displayName?: string | undefined;
|
|
8293
9383
|
flags?: {
|
|
@@ -8365,7 +9455,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
8365
9455
|
}, {
|
|
8366
9456
|
addressId: string;
|
|
8367
9457
|
normalizedEmail: string;
|
|
8368
|
-
addressRole: "
|
|
9458
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
8369
9459
|
addressOrder: number;
|
|
8370
9460
|
displayName?: string | undefined;
|
|
8371
9461
|
flags?: {
|
|
@@ -8784,7 +9874,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
8784
9874
|
}, "strip", z.ZodTypeAny, {
|
|
8785
9875
|
addressId: string;
|
|
8786
9876
|
normalizedEmail: string;
|
|
8787
|
-
addressRole: "
|
|
9877
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
8788
9878
|
addressOrder: number;
|
|
8789
9879
|
displayName?: string | undefined;
|
|
8790
9880
|
flags?: {
|
|
@@ -8862,7 +9952,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
8862
9952
|
}, {
|
|
8863
9953
|
addressId: string;
|
|
8864
9954
|
normalizedEmail: string;
|
|
8865
|
-
addressRole: "
|
|
9955
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
8866
9956
|
addressOrder: number;
|
|
8867
9957
|
displayName?: string | undefined;
|
|
8868
9958
|
flags?: {
|
|
@@ -9281,7 +10371,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
9281
10371
|
}, "strip", z.ZodTypeAny, {
|
|
9282
10372
|
addressId: string;
|
|
9283
10373
|
normalizedEmail: string;
|
|
9284
|
-
addressRole: "
|
|
10374
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
9285
10375
|
addressOrder: number;
|
|
9286
10376
|
displayName?: string | undefined;
|
|
9287
10377
|
flags?: {
|
|
@@ -9359,7 +10449,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
9359
10449
|
}, {
|
|
9360
10450
|
addressId: string;
|
|
9361
10451
|
normalizedEmail: string;
|
|
9362
|
-
addressRole: "
|
|
10452
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
9363
10453
|
addressOrder: number;
|
|
9364
10454
|
displayName?: string | undefined;
|
|
9365
10455
|
flags?: {
|
|
@@ -9778,7 +10868,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
9778
10868
|
}, "strip", z.ZodTypeAny, {
|
|
9779
10869
|
addressId: string;
|
|
9780
10870
|
normalizedEmail: string;
|
|
9781
|
-
addressRole: "
|
|
10871
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
9782
10872
|
addressOrder: number;
|
|
9783
10873
|
displayName?: string | undefined;
|
|
9784
10874
|
flags?: {
|
|
@@ -9856,7 +10946,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
9856
10946
|
}, {
|
|
9857
10947
|
addressId: string;
|
|
9858
10948
|
normalizedEmail: string;
|
|
9859
|
-
addressRole: "
|
|
10949
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
9860
10950
|
addressOrder: number;
|
|
9861
10951
|
displayName?: string | undefined;
|
|
9862
10952
|
flags?: {
|
|
@@ -9939,7 +11029,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
9939
11029
|
from: {
|
|
9940
11030
|
addressId: string;
|
|
9941
11031
|
normalizedEmail: string;
|
|
9942
|
-
addressRole: "
|
|
11032
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
9943
11033
|
addressOrder: number;
|
|
9944
11034
|
displayName?: string | undefined;
|
|
9945
11035
|
flags?: {
|
|
@@ -10018,7 +11108,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
10018
11108
|
to: {
|
|
10019
11109
|
addressId: string;
|
|
10020
11110
|
normalizedEmail: string;
|
|
10021
|
-
addressRole: "
|
|
11111
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
10022
11112
|
addressOrder: number;
|
|
10023
11113
|
displayName?: string | undefined;
|
|
10024
11114
|
flags?: {
|
|
@@ -10097,7 +11187,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
10097
11187
|
cc: {
|
|
10098
11188
|
addressId: string;
|
|
10099
11189
|
normalizedEmail: string;
|
|
10100
|
-
addressRole: "
|
|
11190
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
10101
11191
|
addressOrder: number;
|
|
10102
11192
|
displayName?: string | undefined;
|
|
10103
11193
|
flags?: {
|
|
@@ -10176,7 +11266,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
10176
11266
|
bcc: {
|
|
10177
11267
|
addressId: string;
|
|
10178
11268
|
normalizedEmail: string;
|
|
10179
|
-
addressRole: "
|
|
11269
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
10180
11270
|
addressOrder: number;
|
|
10181
11271
|
displayName?: string | undefined;
|
|
10182
11272
|
flags?: {
|
|
@@ -10258,7 +11348,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
10258
11348
|
replyTo: {
|
|
10259
11349
|
addressId: string;
|
|
10260
11350
|
normalizedEmail: string;
|
|
10261
|
-
addressRole: "
|
|
11351
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
10262
11352
|
addressOrder: number;
|
|
10263
11353
|
displayName?: string | undefined;
|
|
10264
11354
|
flags?: {
|
|
@@ -10341,7 +11431,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
10341
11431
|
from: {
|
|
10342
11432
|
addressId: string;
|
|
10343
11433
|
normalizedEmail: string;
|
|
10344
|
-
addressRole: "
|
|
11434
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
10345
11435
|
addressOrder: number;
|
|
10346
11436
|
displayName?: string | undefined;
|
|
10347
11437
|
flags?: {
|
|
@@ -10420,7 +11510,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
10420
11510
|
to: {
|
|
10421
11511
|
addressId: string;
|
|
10422
11512
|
normalizedEmail: string;
|
|
10423
|
-
addressRole: "
|
|
11513
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
10424
11514
|
addressOrder: number;
|
|
10425
11515
|
displayName?: string | undefined;
|
|
10426
11516
|
flags?: {
|
|
@@ -10499,7 +11589,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
10499
11589
|
cc: {
|
|
10500
11590
|
addressId: string;
|
|
10501
11591
|
normalizedEmail: string;
|
|
10502
|
-
addressRole: "
|
|
11592
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
10503
11593
|
addressOrder: number;
|
|
10504
11594
|
displayName?: string | undefined;
|
|
10505
11595
|
flags?: {
|
|
@@ -10578,7 +11668,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
10578
11668
|
bcc: {
|
|
10579
11669
|
addressId: string;
|
|
10580
11670
|
normalizedEmail: string;
|
|
10581
|
-
addressRole: "
|
|
11671
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
10582
11672
|
addressOrder: number;
|
|
10583
11673
|
displayName?: string | undefined;
|
|
10584
11674
|
flags?: {
|
|
@@ -10660,7 +11750,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
10660
11750
|
replyTo: {
|
|
10661
11751
|
addressId: string;
|
|
10662
11752
|
normalizedEmail: string;
|
|
10663
|
-
addressRole: "
|
|
11753
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
10664
11754
|
addressOrder: number;
|
|
10665
11755
|
displayName?: string | undefined;
|
|
10666
11756
|
flags?: {
|
|
@@ -10741,6 +11831,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
10741
11831
|
}>;
|
|
10742
11832
|
export declare const BodyPartResponseSchema: z.ZodObject<{
|
|
10743
11833
|
bodyPartId: z.ZodString;
|
|
11834
|
+
partPath: z.ZodString;
|
|
10744
11835
|
mediaType: z.ZodEnum<["TEXT", "IMAGE", "AUDIO", "VIDEO", "APPLICATION", "MULTIPART", "MESSAGE"]>;
|
|
10745
11836
|
mediaSubtype: z.ZodString;
|
|
10746
11837
|
contentId: z.ZodOptional<z.ZodString>;
|
|
@@ -10752,22 +11843,24 @@ export declare const BodyPartResponseSchema: z.ZodObject<{
|
|
|
10752
11843
|
}, "strip", z.ZodTypeAny, {
|
|
10753
11844
|
contentUrl: string;
|
|
10754
11845
|
bodyPartId: string;
|
|
11846
|
+
partPath: string;
|
|
10755
11847
|
mediaType: "TEXT" | "IMAGE" | "AUDIO" | "VIDEO" | "APPLICATION" | "MULTIPART" | "MESSAGE";
|
|
10756
11848
|
mediaSubtype: string;
|
|
10757
11849
|
sizeOctets: number;
|
|
10758
11850
|
isMultipart: boolean;
|
|
10759
11851
|
contentId?: string | undefined;
|
|
10760
|
-
disposition?: "
|
|
11852
|
+
disposition?: "inline" | "attachment" | undefined;
|
|
10761
11853
|
dispositionFilename?: string | undefined;
|
|
10762
11854
|
}, {
|
|
10763
11855
|
contentUrl: string;
|
|
10764
11856
|
bodyPartId: string;
|
|
11857
|
+
partPath: string;
|
|
10765
11858
|
mediaType: "TEXT" | "IMAGE" | "AUDIO" | "VIDEO" | "APPLICATION" | "MULTIPART" | "MESSAGE";
|
|
10766
11859
|
mediaSubtype: string;
|
|
10767
11860
|
sizeOctets: number;
|
|
10768
11861
|
isMultipart: boolean;
|
|
10769
11862
|
contentId?: string | undefined;
|
|
10770
|
-
disposition?: "
|
|
11863
|
+
disposition?: "inline" | "attachment" | undefined;
|
|
10771
11864
|
dispositionFilename?: string | undefined;
|
|
10772
11865
|
}>;
|
|
10773
11866
|
export declare const MessageReferenceResponseSchema: z.ZodObject<{
|
|
@@ -10790,7 +11883,6 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
10790
11883
|
uid: z.ZodNumber;
|
|
10791
11884
|
rfc822Size: z.ZodNumber;
|
|
10792
11885
|
internalDate: z.ZodNumber;
|
|
10793
|
-
messageIdHeader: z.ZodOptional<z.ZodString>;
|
|
10794
11886
|
status: z.ZodEnum<["active", "deleting", "deleted", "moving"]>;
|
|
10795
11887
|
syncStatus: z.ZodEnum<["synced", "pending", "failed", "abandoned"]>;
|
|
10796
11888
|
abandonedMutation: z.ZodEnum<["none", "move", "delete", "copy"]>;
|
|
@@ -10825,6 +11917,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
10825
11917
|
signerMessageCount?: number | undefined;
|
|
10826
11918
|
signerFirstSeenAt?: number | undefined;
|
|
10827
11919
|
}>>;
|
|
11920
|
+
messageIdHeader: z.ZodOptional<z.ZodString>;
|
|
10828
11921
|
autoMoved: z.ZodOptional<z.ZodObject<{
|
|
10829
11922
|
action: z.ZodOptional<z.ZodEnum<["MoveToInbox", "MoveToJunk"]>>;
|
|
10830
11923
|
fromPlacement: z.ZodOptional<z.ZodString>;
|
|
@@ -11285,7 +12378,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
11285
12378
|
}, "strip", z.ZodTypeAny, {
|
|
11286
12379
|
addressId: string;
|
|
11287
12380
|
normalizedEmail: string;
|
|
11288
|
-
addressRole: "
|
|
12381
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
11289
12382
|
addressOrder: number;
|
|
11290
12383
|
displayName?: string | undefined;
|
|
11291
12384
|
flags?: {
|
|
@@ -11363,7 +12456,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
11363
12456
|
}, {
|
|
11364
12457
|
addressId: string;
|
|
11365
12458
|
normalizedEmail: string;
|
|
11366
|
-
addressRole: "
|
|
12459
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
11367
12460
|
addressOrder: number;
|
|
11368
12461
|
displayName?: string | undefined;
|
|
11369
12462
|
flags?: {
|
|
@@ -11782,7 +12875,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
11782
12875
|
}, "strip", z.ZodTypeAny, {
|
|
11783
12876
|
addressId: string;
|
|
11784
12877
|
normalizedEmail: string;
|
|
11785
|
-
addressRole: "
|
|
12878
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
11786
12879
|
addressOrder: number;
|
|
11787
12880
|
displayName?: string | undefined;
|
|
11788
12881
|
flags?: {
|
|
@@ -11860,7 +12953,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
11860
12953
|
}, {
|
|
11861
12954
|
addressId: string;
|
|
11862
12955
|
normalizedEmail: string;
|
|
11863
|
-
addressRole: "
|
|
12956
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
11864
12957
|
addressOrder: number;
|
|
11865
12958
|
displayName?: string | undefined;
|
|
11866
12959
|
flags?: {
|
|
@@ -12279,7 +13372,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
12279
13372
|
}, "strip", z.ZodTypeAny, {
|
|
12280
13373
|
addressId: string;
|
|
12281
13374
|
normalizedEmail: string;
|
|
12282
|
-
addressRole: "
|
|
13375
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
12283
13376
|
addressOrder: number;
|
|
12284
13377
|
displayName?: string | undefined;
|
|
12285
13378
|
flags?: {
|
|
@@ -12357,7 +13450,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
12357
13450
|
}, {
|
|
12358
13451
|
addressId: string;
|
|
12359
13452
|
normalizedEmail: string;
|
|
12360
|
-
addressRole: "
|
|
13453
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
12361
13454
|
addressOrder: number;
|
|
12362
13455
|
displayName?: string | undefined;
|
|
12363
13456
|
flags?: {
|
|
@@ -12776,7 +13869,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
12776
13869
|
}, "strip", z.ZodTypeAny, {
|
|
12777
13870
|
addressId: string;
|
|
12778
13871
|
normalizedEmail: string;
|
|
12779
|
-
addressRole: "
|
|
13872
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
12780
13873
|
addressOrder: number;
|
|
12781
13874
|
displayName?: string | undefined;
|
|
12782
13875
|
flags?: {
|
|
@@ -12854,7 +13947,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
12854
13947
|
}, {
|
|
12855
13948
|
addressId: string;
|
|
12856
13949
|
normalizedEmail: string;
|
|
12857
|
-
addressRole: "
|
|
13950
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
12858
13951
|
addressOrder: number;
|
|
12859
13952
|
displayName?: string | undefined;
|
|
12860
13953
|
flags?: {
|
|
@@ -13273,7 +14366,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
13273
14366
|
}, "strip", z.ZodTypeAny, {
|
|
13274
14367
|
addressId: string;
|
|
13275
14368
|
normalizedEmail: string;
|
|
13276
|
-
addressRole: "
|
|
14369
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
13277
14370
|
addressOrder: number;
|
|
13278
14371
|
displayName?: string | undefined;
|
|
13279
14372
|
flags?: {
|
|
@@ -13351,7 +14444,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
13351
14444
|
}, {
|
|
13352
14445
|
addressId: string;
|
|
13353
14446
|
normalizedEmail: string;
|
|
13354
|
-
addressRole: "
|
|
14447
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
13355
14448
|
addressOrder: number;
|
|
13356
14449
|
displayName?: string | undefined;
|
|
13357
14450
|
flags?: {
|
|
@@ -13434,7 +14527,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
13434
14527
|
from: {
|
|
13435
14528
|
addressId: string;
|
|
13436
14529
|
normalizedEmail: string;
|
|
13437
|
-
addressRole: "
|
|
14530
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
13438
14531
|
addressOrder: number;
|
|
13439
14532
|
displayName?: string | undefined;
|
|
13440
14533
|
flags?: {
|
|
@@ -13513,7 +14606,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
13513
14606
|
to: {
|
|
13514
14607
|
addressId: string;
|
|
13515
14608
|
normalizedEmail: string;
|
|
13516
|
-
addressRole: "
|
|
14609
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
13517
14610
|
addressOrder: number;
|
|
13518
14611
|
displayName?: string | undefined;
|
|
13519
14612
|
flags?: {
|
|
@@ -13592,7 +14685,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
13592
14685
|
cc: {
|
|
13593
14686
|
addressId: string;
|
|
13594
14687
|
normalizedEmail: string;
|
|
13595
|
-
addressRole: "
|
|
14688
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
13596
14689
|
addressOrder: number;
|
|
13597
14690
|
displayName?: string | undefined;
|
|
13598
14691
|
flags?: {
|
|
@@ -13671,7 +14764,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
13671
14764
|
bcc: {
|
|
13672
14765
|
addressId: string;
|
|
13673
14766
|
normalizedEmail: string;
|
|
13674
|
-
addressRole: "
|
|
14767
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
13675
14768
|
addressOrder: number;
|
|
13676
14769
|
displayName?: string | undefined;
|
|
13677
14770
|
flags?: {
|
|
@@ -13753,7 +14846,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
13753
14846
|
replyTo: {
|
|
13754
14847
|
addressId: string;
|
|
13755
14848
|
normalizedEmail: string;
|
|
13756
|
-
addressRole: "
|
|
14849
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
13757
14850
|
addressOrder: number;
|
|
13758
14851
|
displayName?: string | undefined;
|
|
13759
14852
|
flags?: {
|
|
@@ -13836,7 +14929,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
13836
14929
|
from: {
|
|
13837
14930
|
addressId: string;
|
|
13838
14931
|
normalizedEmail: string;
|
|
13839
|
-
addressRole: "
|
|
14932
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
13840
14933
|
addressOrder: number;
|
|
13841
14934
|
displayName?: string | undefined;
|
|
13842
14935
|
flags?: {
|
|
@@ -13915,7 +15008,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
13915
15008
|
to: {
|
|
13916
15009
|
addressId: string;
|
|
13917
15010
|
normalizedEmail: string;
|
|
13918
|
-
addressRole: "
|
|
15011
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
13919
15012
|
addressOrder: number;
|
|
13920
15013
|
displayName?: string | undefined;
|
|
13921
15014
|
flags?: {
|
|
@@ -13994,7 +15087,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
13994
15087
|
cc: {
|
|
13995
15088
|
addressId: string;
|
|
13996
15089
|
normalizedEmail: string;
|
|
13997
|
-
addressRole: "
|
|
15090
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
13998
15091
|
addressOrder: number;
|
|
13999
15092
|
displayName?: string | undefined;
|
|
14000
15093
|
flags?: {
|
|
@@ -14073,7 +15166,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14073
15166
|
bcc: {
|
|
14074
15167
|
addressId: string;
|
|
14075
15168
|
normalizedEmail: string;
|
|
14076
|
-
addressRole: "
|
|
15169
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
14077
15170
|
addressOrder: number;
|
|
14078
15171
|
displayName?: string | undefined;
|
|
14079
15172
|
flags?: {
|
|
@@ -14155,7 +15248,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14155
15248
|
replyTo: {
|
|
14156
15249
|
addressId: string;
|
|
14157
15250
|
normalizedEmail: string;
|
|
14158
|
-
addressRole: "
|
|
15251
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
14159
15252
|
addressOrder: number;
|
|
14160
15253
|
displayName?: string | undefined;
|
|
14161
15254
|
flags?: {
|
|
@@ -14237,6 +15330,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14237
15330
|
flags: z.ZodArray<z.ZodString, "many">;
|
|
14238
15331
|
bodyParts: z.ZodArray<z.ZodObject<{
|
|
14239
15332
|
bodyPartId: z.ZodString;
|
|
15333
|
+
partPath: z.ZodString;
|
|
14240
15334
|
mediaType: z.ZodEnum<["TEXT", "IMAGE", "AUDIO", "VIDEO", "APPLICATION", "MULTIPART", "MESSAGE"]>;
|
|
14241
15335
|
mediaSubtype: z.ZodString;
|
|
14242
15336
|
contentId: z.ZodOptional<z.ZodString>;
|
|
@@ -14248,22 +15342,24 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14248
15342
|
}, "strip", z.ZodTypeAny, {
|
|
14249
15343
|
contentUrl: string;
|
|
14250
15344
|
bodyPartId: string;
|
|
15345
|
+
partPath: string;
|
|
14251
15346
|
mediaType: "TEXT" | "IMAGE" | "AUDIO" | "VIDEO" | "APPLICATION" | "MULTIPART" | "MESSAGE";
|
|
14252
15347
|
mediaSubtype: string;
|
|
14253
15348
|
sizeOctets: number;
|
|
14254
15349
|
isMultipart: boolean;
|
|
14255
15350
|
contentId?: string | undefined;
|
|
14256
|
-
disposition?: "
|
|
15351
|
+
disposition?: "inline" | "attachment" | undefined;
|
|
14257
15352
|
dispositionFilename?: string | undefined;
|
|
14258
15353
|
}, {
|
|
14259
15354
|
contentUrl: string;
|
|
14260
15355
|
bodyPartId: string;
|
|
15356
|
+
partPath: string;
|
|
14261
15357
|
mediaType: "TEXT" | "IMAGE" | "AUDIO" | "VIDEO" | "APPLICATION" | "MULTIPART" | "MESSAGE";
|
|
14262
15358
|
mediaSubtype: string;
|
|
14263
15359
|
sizeOctets: number;
|
|
14264
15360
|
isMultipart: boolean;
|
|
14265
15361
|
contentId?: string | undefined;
|
|
14266
|
-
disposition?: "
|
|
15362
|
+
disposition?: "inline" | "attachment" | undefined;
|
|
14267
15363
|
dispositionFilename?: string | undefined;
|
|
14268
15364
|
}>, "many">;
|
|
14269
15365
|
references: z.ZodArray<z.ZodObject<{
|
|
@@ -14328,7 +15424,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14328
15424
|
from: {
|
|
14329
15425
|
addressId: string;
|
|
14330
15426
|
normalizedEmail: string;
|
|
14331
|
-
addressRole: "
|
|
15427
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
14332
15428
|
addressOrder: number;
|
|
14333
15429
|
displayName?: string | undefined;
|
|
14334
15430
|
flags?: {
|
|
@@ -14407,7 +15503,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14407
15503
|
to: {
|
|
14408
15504
|
addressId: string;
|
|
14409
15505
|
normalizedEmail: string;
|
|
14410
|
-
addressRole: "
|
|
15506
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
14411
15507
|
addressOrder: number;
|
|
14412
15508
|
displayName?: string | undefined;
|
|
14413
15509
|
flags?: {
|
|
@@ -14486,7 +15582,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14486
15582
|
cc: {
|
|
14487
15583
|
addressId: string;
|
|
14488
15584
|
normalizedEmail: string;
|
|
14489
|
-
addressRole: "
|
|
15585
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
14490
15586
|
addressOrder: number;
|
|
14491
15587
|
displayName?: string | undefined;
|
|
14492
15588
|
flags?: {
|
|
@@ -14565,7 +15661,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14565
15661
|
bcc: {
|
|
14566
15662
|
addressId: string;
|
|
14567
15663
|
normalizedEmail: string;
|
|
14568
|
-
addressRole: "
|
|
15664
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
14569
15665
|
addressOrder: number;
|
|
14570
15666
|
displayName?: string | undefined;
|
|
14571
15667
|
flags?: {
|
|
@@ -14647,7 +15743,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14647
15743
|
replyTo: {
|
|
14648
15744
|
addressId: string;
|
|
14649
15745
|
normalizedEmail: string;
|
|
14650
|
-
addressRole: "
|
|
15746
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
14651
15747
|
addressOrder: number;
|
|
14652
15748
|
displayName?: string | undefined;
|
|
14653
15749
|
flags?: {
|
|
@@ -14729,12 +15825,13 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14729
15825
|
bodyParts: {
|
|
14730
15826
|
contentUrl: string;
|
|
14731
15827
|
bodyPartId: string;
|
|
15828
|
+
partPath: string;
|
|
14732
15829
|
mediaType: "TEXT" | "IMAGE" | "AUDIO" | "VIDEO" | "APPLICATION" | "MULTIPART" | "MESSAGE";
|
|
14733
15830
|
mediaSubtype: string;
|
|
14734
15831
|
sizeOctets: number;
|
|
14735
15832
|
isMultipart: boolean;
|
|
14736
15833
|
contentId?: string | undefined;
|
|
14737
|
-
disposition?: "
|
|
15834
|
+
disposition?: "inline" | "attachment" | undefined;
|
|
14738
15835
|
dispositionFilename?: string | undefined;
|
|
14739
15836
|
}[];
|
|
14740
15837
|
}, {
|
|
@@ -14786,7 +15883,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14786
15883
|
from: {
|
|
14787
15884
|
addressId: string;
|
|
14788
15885
|
normalizedEmail: string;
|
|
14789
|
-
addressRole: "
|
|
15886
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
14790
15887
|
addressOrder: number;
|
|
14791
15888
|
displayName?: string | undefined;
|
|
14792
15889
|
flags?: {
|
|
@@ -14865,7 +15962,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14865
15962
|
to: {
|
|
14866
15963
|
addressId: string;
|
|
14867
15964
|
normalizedEmail: string;
|
|
14868
|
-
addressRole: "
|
|
15965
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
14869
15966
|
addressOrder: number;
|
|
14870
15967
|
displayName?: string | undefined;
|
|
14871
15968
|
flags?: {
|
|
@@ -14944,7 +16041,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
14944
16041
|
cc: {
|
|
14945
16042
|
addressId: string;
|
|
14946
16043
|
normalizedEmail: string;
|
|
14947
|
-
addressRole: "
|
|
16044
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
14948
16045
|
addressOrder: number;
|
|
14949
16046
|
displayName?: string | undefined;
|
|
14950
16047
|
flags?: {
|
|
@@ -15023,7 +16120,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
15023
16120
|
bcc: {
|
|
15024
16121
|
addressId: string;
|
|
15025
16122
|
normalizedEmail: string;
|
|
15026
|
-
addressRole: "
|
|
16123
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
15027
16124
|
addressOrder: number;
|
|
15028
16125
|
displayName?: string | undefined;
|
|
15029
16126
|
flags?: {
|
|
@@ -15105,7 +16202,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
15105
16202
|
replyTo: {
|
|
15106
16203
|
addressId: string;
|
|
15107
16204
|
normalizedEmail: string;
|
|
15108
|
-
addressRole: "
|
|
16205
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
15109
16206
|
addressOrder: number;
|
|
15110
16207
|
displayName?: string | undefined;
|
|
15111
16208
|
flags?: {
|
|
@@ -15187,12 +16284,13 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
15187
16284
|
bodyParts: {
|
|
15188
16285
|
contentUrl: string;
|
|
15189
16286
|
bodyPartId: string;
|
|
16287
|
+
partPath: string;
|
|
15190
16288
|
mediaType: "TEXT" | "IMAGE" | "AUDIO" | "VIDEO" | "APPLICATION" | "MULTIPART" | "MESSAGE";
|
|
15191
16289
|
mediaSubtype: string;
|
|
15192
16290
|
sizeOctets: number;
|
|
15193
16291
|
isMultipart: boolean;
|
|
15194
16292
|
contentId?: string | undefined;
|
|
15195
|
-
disposition?: "
|
|
16293
|
+
disposition?: "inline" | "attachment" | undefined;
|
|
15196
16294
|
dispositionFilename?: string | undefined;
|
|
15197
16295
|
}[];
|
|
15198
16296
|
}>;
|
|
@@ -15250,15 +16348,263 @@ export declare const MessageFilterMoveSchema: z.ZodObject<{
|
|
|
15250
16348
|
destinationMailboxId: z.ZodString;
|
|
15251
16349
|
decidedAt: z.ZodNumber;
|
|
15252
16350
|
}, "strip", z.ZodTypeAny, {
|
|
15253
|
-
filterId: string;
|
|
15254
|
-
destinationMailboxId: string;
|
|
15255
|
-
decidedAt: number;
|
|
15256
|
-
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;
|
|
15257
16547
|
}, {
|
|
15258
|
-
|
|
15259
|
-
|
|
15260
|
-
|
|
15261
|
-
|
|
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;
|
|
15262
16608
|
}>;
|
|
15263
16609
|
export declare const MessageSchema: z.ZodObject<{
|
|
15264
16610
|
messageId: z.ZodString;
|
|
@@ -15267,7 +16613,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
15267
16613
|
sequenceNumber: z.ZodNumber;
|
|
15268
16614
|
rfc822Size: z.ZodNumber;
|
|
15269
16615
|
internalDate: z.ZodNumber;
|
|
15270
|
-
messageIdHeader: z.ZodOptional<z.ZodString>;
|
|
15271
16616
|
envelopeId: z.ZodString;
|
|
15272
16617
|
rootBodyPartId: z.ZodString;
|
|
15273
16618
|
bodyStorageKey: z.ZodOptional<z.ZodString>;
|
|
@@ -15386,6 +16731,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
15386
16731
|
}>>;
|
|
15387
16732
|
createdAt: z.ZodNumber;
|
|
15388
16733
|
updatedAt: z.ZodNumber;
|
|
16734
|
+
messageIdHeader: z.ZodOptional<z.ZodString>;
|
|
15389
16735
|
}, "strip", z.ZodTypeAny, {
|
|
15390
16736
|
category: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
15391
16737
|
status: "active" | "deleting" | "deleted" | "moving";
|
|
@@ -15538,14 +16884,14 @@ export declare const BodyPartSchema: z.ZodObject<{
|
|
|
15538
16884
|
transferEncoding: "7BIT" | "8BIT" | "BINARY" | "BASE64" | "QUOTED-PRINTABLE";
|
|
15539
16885
|
messageId: string;
|
|
15540
16886
|
bodyPartId: string;
|
|
16887
|
+
partPath: string;
|
|
15541
16888
|
mediaType: "TEXT" | "IMAGE" | "AUDIO" | "VIDEO" | "APPLICATION" | "MULTIPART" | "MESSAGE";
|
|
15542
16889
|
mediaSubtype: string;
|
|
15543
16890
|
sizeOctets: number;
|
|
15544
16891
|
isMultipart: boolean;
|
|
15545
|
-
partPath: string;
|
|
15546
16892
|
location?: string | undefined;
|
|
15547
16893
|
contentId?: string | undefined;
|
|
15548
|
-
disposition?: "
|
|
16894
|
+
disposition?: "inline" | "attachment" | undefined;
|
|
15549
16895
|
dispositionFilename?: string | undefined;
|
|
15550
16896
|
parentBodyPartId?: string | undefined;
|
|
15551
16897
|
contentDescription?: string | undefined;
|
|
@@ -15559,14 +16905,14 @@ export declare const BodyPartSchema: z.ZodObject<{
|
|
|
15559
16905
|
transferEncoding: "7BIT" | "8BIT" | "BINARY" | "BASE64" | "QUOTED-PRINTABLE";
|
|
15560
16906
|
messageId: string;
|
|
15561
16907
|
bodyPartId: string;
|
|
16908
|
+
partPath: string;
|
|
15562
16909
|
mediaType: "TEXT" | "IMAGE" | "AUDIO" | "VIDEO" | "APPLICATION" | "MULTIPART" | "MESSAGE";
|
|
15563
16910
|
mediaSubtype: string;
|
|
15564
16911
|
sizeOctets: number;
|
|
15565
16912
|
isMultipart: boolean;
|
|
15566
|
-
partPath: string;
|
|
15567
16913
|
location?: string | undefined;
|
|
15568
16914
|
contentId?: string | undefined;
|
|
15569
|
-
disposition?: "
|
|
16915
|
+
disposition?: "inline" | "attachment" | undefined;
|
|
15570
16916
|
dispositionFilename?: string | undefined;
|
|
15571
16917
|
parentBodyPartId?: string | undefined;
|
|
15572
16918
|
contentDescription?: string | undefined;
|
|
@@ -15971,7 +17317,7 @@ export declare const EnvelopeAddressSchema: z.ZodObject<{
|
|
|
15971
17317
|
createdAt: number;
|
|
15972
17318
|
updatedAt: number;
|
|
15973
17319
|
messageId: string;
|
|
15974
|
-
addressRole: "
|
|
17320
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
15975
17321
|
addressOrder: number;
|
|
15976
17322
|
envelopeAddressId: string;
|
|
15977
17323
|
displayName?: string | undefined;
|
|
@@ -15981,7 +17327,7 @@ export declare const EnvelopeAddressSchema: z.ZodObject<{
|
|
|
15981
17327
|
createdAt: number;
|
|
15982
17328
|
updatedAt: number;
|
|
15983
17329
|
messageId: string;
|
|
15984
|
-
addressRole: "
|
|
17330
|
+
addressRole: "from" | "sender" | "reply_to" | "to" | "cc" | "bcc";
|
|
15985
17331
|
addressOrder: number;
|
|
15986
17332
|
envelopeAddressId: string;
|
|
15987
17333
|
displayName?: string | undefined;
|
|
@@ -16255,7 +17601,6 @@ export declare const AccountSettingSchema: z.ZodObject<{
|
|
|
16255
17601
|
createdAt: z.ZodNumber;
|
|
16256
17602
|
updatedAt: z.ZodNumber;
|
|
16257
17603
|
}, "strip", z.ZodTypeAny, {
|
|
16258
|
-
name: string;
|
|
16259
17604
|
value: {
|
|
16260
17605
|
value: boolean;
|
|
16261
17606
|
kind: "Boolean";
|
|
@@ -16281,12 +17626,12 @@ export declare const AccountSettingSchema: z.ZodObject<{
|
|
|
16281
17626
|
};
|
|
16282
17627
|
kind: "MutedFlag";
|
|
16283
17628
|
};
|
|
17629
|
+
name: string;
|
|
16284
17630
|
accountConfigId: string;
|
|
16285
17631
|
createdAt: number;
|
|
16286
17632
|
updatedAt: number;
|
|
16287
17633
|
accountSettingId: string;
|
|
16288
17634
|
}, {
|
|
16289
|
-
name: string;
|
|
16290
17635
|
value: {
|
|
16291
17636
|
value: boolean;
|
|
16292
17637
|
kind: "Boolean";
|
|
@@ -16312,6 +17657,7 @@ export declare const AccountSettingSchema: z.ZodObject<{
|
|
|
16312
17657
|
};
|
|
16313
17658
|
kind: "MutedFlag";
|
|
16314
17659
|
};
|
|
17660
|
+
name: string;
|
|
16315
17661
|
accountConfigId: string;
|
|
16316
17662
|
createdAt: number;
|
|
16317
17663
|
updatedAt: number;
|
|
@@ -16549,6 +17895,35 @@ export declare const BodyPartParameterSchema: z.ZodObject<{
|
|
|
16549
17895
|
parameterName: string;
|
|
16550
17896
|
parameterValue: string;
|
|
16551
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
|
+
}>;
|
|
17911
|
+
export declare const MessageSearchTextSchema: z.ZodObject<{
|
|
17912
|
+
messageId: z.ZodString;
|
|
17913
|
+
text: z.ZodString;
|
|
17914
|
+
createdAt: z.ZodNumber;
|
|
17915
|
+
updatedAt: z.ZodNumber;
|
|
17916
|
+
}, "strip", z.ZodTypeAny, {
|
|
17917
|
+
createdAt: number;
|
|
17918
|
+
updatedAt: number;
|
|
17919
|
+
messageId: string;
|
|
17920
|
+
text: string;
|
|
17921
|
+
}, {
|
|
17922
|
+
createdAt: number;
|
|
17923
|
+
updatedAt: number;
|
|
17924
|
+
messageId: string;
|
|
17925
|
+
text: string;
|
|
17926
|
+
}>;
|
|
16552
17927
|
export declare const RawMessageStorageSchema: z.ZodObject<{
|
|
16553
17928
|
rawStorageId: z.ZodString;
|
|
16554
17929
|
messageId: z.ZodString;
|
|
@@ -16635,31 +18010,6 @@ export declare const BodyPartStorageSchema: z.ZodObject<{
|
|
|
16635
18010
|
isDeduped: boolean;
|
|
16636
18011
|
dedupHash?: string | undefined;
|
|
16637
18012
|
}>;
|
|
16638
|
-
export declare const BodyPartContentSchema: z.ZodObject<{
|
|
16639
|
-
bodyPartContentId: z.ZodString;
|
|
16640
|
-
messageId: z.ZodString;
|
|
16641
|
-
bodyPartId: z.ZodString;
|
|
16642
|
-
content: z.ZodString;
|
|
16643
|
-
contentLength: z.ZodNumber;
|
|
16644
|
-
createdAt: z.ZodNumber;
|
|
16645
|
-
updatedAt: z.ZodNumber;
|
|
16646
|
-
}, "strip", z.ZodTypeAny, {
|
|
16647
|
-
createdAt: number;
|
|
16648
|
-
updatedAt: number;
|
|
16649
|
-
messageId: string;
|
|
16650
|
-
bodyPartId: string;
|
|
16651
|
-
bodyPartContentId: string;
|
|
16652
|
-
content: string;
|
|
16653
|
-
contentLength: number;
|
|
16654
|
-
}, {
|
|
16655
|
-
createdAt: number;
|
|
16656
|
-
updatedAt: number;
|
|
16657
|
-
messageId: string;
|
|
16658
|
-
bodyPartId: string;
|
|
16659
|
-
bodyPartContentId: string;
|
|
16660
|
-
content: string;
|
|
16661
|
-
contentLength: number;
|
|
16662
|
-
}>;
|
|
16663
18013
|
export declare const CalendarEventIndexSchema: z.ZodObject<{
|
|
16664
18014
|
calendarId: z.ZodString;
|
|
16665
18015
|
calendarObjectId: z.ZodString;
|
|
@@ -16747,34 +18097,6 @@ export declare const MessageLabelSchema: z.ZodObject<{
|
|
|
16747
18097
|
messageLabelId: string;
|
|
16748
18098
|
appliedByFilterId?: string | undefined;
|
|
16749
18099
|
}>;
|
|
16750
|
-
export declare const FilterAnchorSchema: z.ZodObject<{
|
|
16751
|
-
accountConfigId: z.ZodString;
|
|
16752
|
-
filterId: z.ZodString;
|
|
16753
|
-
anchorEmbedding: z.ZodArray<z.ZodNumber, "many">;
|
|
16754
|
-
anchorEmbeddingId: z.ZodString;
|
|
16755
|
-
anchorSourceText: z.ZodString;
|
|
16756
|
-
anchorMessageId: z.ZodString;
|
|
16757
|
-
createdAt: z.ZodNumber;
|
|
16758
|
-
updatedAt: z.ZodNumber;
|
|
16759
|
-
}, "strip", z.ZodTypeAny, {
|
|
16760
|
-
accountConfigId: string;
|
|
16761
|
-
createdAt: number;
|
|
16762
|
-
updatedAt: number;
|
|
16763
|
-
filterId: string;
|
|
16764
|
-
anchorMessageId: string;
|
|
16765
|
-
anchorEmbedding: number[];
|
|
16766
|
-
anchorEmbeddingId: string;
|
|
16767
|
-
anchorSourceText: string;
|
|
16768
|
-
}, {
|
|
16769
|
-
accountConfigId: string;
|
|
16770
|
-
createdAt: number;
|
|
16771
|
-
updatedAt: number;
|
|
16772
|
-
filterId: string;
|
|
16773
|
-
anchorMessageId: string;
|
|
16774
|
-
anchorEmbedding: number[];
|
|
16775
|
-
anchorEmbeddingId: string;
|
|
16776
|
-
anchorSourceText: string;
|
|
16777
|
-
}>;
|
|
16778
18100
|
export declare const MicrosoftOAuthStartRequestSchema: z.ZodObject<{
|
|
16779
18101
|
email: z.ZodOptional<z.ZodString>;
|
|
16780
18102
|
services: z.ZodOptional<z.ZodArray<z.ZodEnum<["Mail", "Calendar"]>, "many">>;
|