@marcoappio/marco-config 2.0.511 → 2.0.513

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.
@@ -1,4 +1,265 @@
1
1
  export declare const marcoZero: {
2
+ readonly mutatorSchemas: {
3
+ account: {
4
+ createAccount: import("valibot").ObjectSchema<{
5
+ readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
6
+ readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
7
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
8
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
9
+ }, undefined>;
10
+ createAlias: import("valibot").ObjectSchema<{
11
+ readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
12
+ readonly alias: import("valibot").ObjectSchema<{
13
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
14
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
15
+ readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
16
+ }, undefined>;
17
+ }, undefined>;
18
+ deleteAccount: import("valibot").ObjectSchema<{
19
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
20
+ }, undefined>;
21
+ deleteAlias: import("valibot").ObjectSchema<{
22
+ readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
23
+ readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
24
+ }, undefined>;
25
+ setAliasName: import("valibot").ObjectSchema<{
26
+ readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
27
+ readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
28
+ readonly displayName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
29
+ }, undefined>;
30
+ setAliasPrimary: import("valibot").ObjectSchema<{
31
+ readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
32
+ readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
33
+ }, undefined>;
34
+ setConnectionConfigImapRaw: import("valibot").ObjectSchema<{
35
+ readonly connectionConfig: import("valibot").ObjectSchema<{
36
+ readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
37
+ readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
38
+ readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
39
+ readonly imapSocketType: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"STARTTLS", undefined>, import("valibot").LiteralSchema<"SSL", undefined>], undefined>;
40
+ readonly imapUser: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
41
+ readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
42
+ readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
43
+ readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
44
+ readonly smtpSocketType: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"STARTTLS", undefined>, import("valibot").LiteralSchema<"SSL", undefined>], undefined>;
45
+ readonly smtpUser: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
46
+ }, undefined>;
47
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
48
+ }, undefined>;
49
+ setConnectionConfigOauth: import("valibot").ObjectSchema<{
50
+ readonly connectionConfig: import("valibot").ObjectSchema<{
51
+ readonly code: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
52
+ readonly provider: import("valibot").PicklistSchema<readonly ["GOOGLE", "OUTLOOK"], undefined>;
53
+ readonly user: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
54
+ }, undefined>;
55
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
56
+ }, undefined>;
57
+ setSettings: import("valibot").ObjectSchema<{
58
+ readonly color: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
59
+ readonly displayName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
60
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
61
+ }, undefined>;
62
+ };
63
+ draft: {
64
+ cancelSend: import("valibot").ObjectSchema<{
65
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
66
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
67
+ }, undefined>;
68
+ createAttachment: import("valibot").ObjectSchema<{
69
+ readonly attachment: import("valibot").ObjectSchema<{
70
+ readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
71
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
72
+ readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
73
+ readonly status: import("valibot").PicklistSchema<readonly ["PENDING", "COMPLETE", "FAILED"], undefined>;
74
+ readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
75
+ }, undefined>;
76
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
77
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
78
+ }, undefined>;
79
+ createDraft: import("valibot").ObjectSchema<{
80
+ readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
81
+ readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
82
+ readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
83
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
84
+ readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
85
+ readonly status: import("valibot").PicklistSchema<readonly ["PENDING", "COMPLETE", "FAILED"], undefined>;
86
+ readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
87
+ }, undefined>, undefined>;
88
+ readonly body: import("valibot").ObjectSchema<{
89
+ readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>;
90
+ readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>;
91
+ readonly content: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 384000, undefined>]>;
92
+ readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
93
+ readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>;
94
+ }, undefined>;
95
+ readonly error: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
96
+ readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
97
+ readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
98
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
99
+ readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
100
+ readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
101
+ readonly status: import("valibot").PicklistSchema<readonly ["DRAFT", "SEND_REQUESTED", "SEND_CONFIRMED", "SEND_FAILED"], undefined>;
102
+ readonly type: import("valibot").PicklistSchema<readonly ["NEW", "REPLY", "FORWARD"], undefined>;
103
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
104
+ }, undefined>;
105
+ deleteAttachment: import("valibot").ObjectSchema<{
106
+ readonly attachmentId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
107
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
108
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
109
+ }, undefined>;
110
+ deleteDraft: import("valibot").ObjectSchema<{
111
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
112
+ }, undefined>;
113
+ scheduleSend: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
114
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
115
+ readonly kind: import("valibot").LiteralSchema<"IMMEDIATE", undefined>;
116
+ readonly undoMs: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
117
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
118
+ }, undefined>, import("valibot").ObjectSchema<{
119
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
120
+ readonly kind: import("valibot").LiteralSchema<"SCHEDULED", undefined>;
121
+ readonly scheduledFor: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
122
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
123
+ }, undefined>], undefined>;
124
+ setContent: import("valibot").ObjectSchema<{
125
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
126
+ readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
127
+ readonly index: import("valibot").NumberSchema<undefined>;
128
+ readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
129
+ readonly value: import("valibot").StringSchema<undefined>;
130
+ }, undefined>, undefined>;
131
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
132
+ }, undefined>;
133
+ setEnvelope: import("valibot").ObjectSchema<{
134
+ readonly envelope: Omit<import("valibot").ObjectSchema<{
135
+ readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>;
136
+ readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>;
137
+ readonly content: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 384000, undefined>]>;
138
+ readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
139
+ readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>;
140
+ }, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
141
+ readonly entries: Omit<{
142
+ readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>;
143
+ readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>;
144
+ readonly content: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 384000, undefined>]>;
145
+ readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
146
+ readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>;
147
+ }, "content">;
148
+ readonly '~standard': import("valibot").StandardProps<{
149
+ bcc: string[];
150
+ cc: string[];
151
+ to: string[];
152
+ subject: string | null;
153
+ }, {
154
+ bcc: string[];
155
+ cc: string[];
156
+ to: string[];
157
+ subject: string | null;
158
+ }>;
159
+ readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
160
+ bcc: string[];
161
+ cc: string[];
162
+ to: string[];
163
+ subject: string | null;
164
+ }, import("valibot").StringIssue | import("valibot").RfcEmailIssue<string> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue | import("valibot").ArrayIssue | import("valibot").NonOptionalIssue>;
165
+ readonly '~types'?: {
166
+ readonly input: {
167
+ bcc: string[];
168
+ cc: string[];
169
+ to: string[];
170
+ subject: string | null;
171
+ };
172
+ readonly output: {
173
+ bcc: string[];
174
+ cc: string[];
175
+ to: string[];
176
+ subject: string | null;
177
+ };
178
+ readonly issue: import("valibot").StringIssue | import("valibot").RfcEmailIssue<string> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue | import("valibot").ArrayIssue | import("valibot").NonOptionalIssue;
179
+ } | undefined;
180
+ };
181
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
182
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
183
+ }, undefined>;
184
+ setFrom: import("valibot").ObjectSchema<{
185
+ readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
186
+ readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
187
+ readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
188
+ readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
189
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
190
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
191
+ }, undefined>;
192
+ };
193
+ thread: {
194
+ addLabel: import("valibot").ObjectSchema<{
195
+ readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
196
+ readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
197
+ }, undefined>, undefined>;
198
+ readonly labelPath: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
199
+ }, undefined>;
200
+ delete: import("valibot").ObjectSchema<{
201
+ readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
202
+ readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
203
+ }, undefined>, undefined>;
204
+ }, undefined>;
205
+ removeLabel: import("valibot").ObjectSchema<{
206
+ readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
207
+ readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
208
+ }, undefined>, undefined>;
209
+ readonly labelPath: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
210
+ }, undefined>;
211
+ setArchive: import("valibot").ObjectSchema<{
212
+ readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
213
+ readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
214
+ }, undefined>, undefined>;
215
+ }, undefined>;
216
+ setFlagged: import("valibot").ObjectSchema<{
217
+ readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
218
+ readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
219
+ }, undefined>, undefined>;
220
+ readonly flagged: import("valibot").BooleanSchema<undefined>;
221
+ }, undefined>;
222
+ setInbox: import("valibot").ObjectSchema<{
223
+ readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
224
+ readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
225
+ }, undefined>, undefined>;
226
+ }, undefined>;
227
+ setSeen: import("valibot").ObjectSchema<{
228
+ readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
229
+ readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
230
+ }, undefined>, undefined>;
231
+ readonly seen: import("valibot").BooleanSchema<undefined>;
232
+ }, undefined>;
233
+ setSpam: import("valibot").ObjectSchema<{
234
+ readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
235
+ readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
236
+ }, undefined>, undefined>;
237
+ }, undefined>;
238
+ setTrash: import("valibot").ObjectSchema<{
239
+ readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
240
+ readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
241
+ }, undefined>, undefined>;
242
+ }, undefined>;
243
+ };
244
+ user: {
245
+ deleteSettingsPushNotificationToken: import("valibot").ObjectSchema<{
246
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
247
+ readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
248
+ }, undefined>;
249
+ setSettingsName: import("valibot").ObjectSchema<{
250
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
251
+ readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
252
+ }, undefined>;
253
+ setSettingsPushNotificationToken: import("valibot").ObjectSchema<{
254
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
255
+ readonly pushNotificationToken: import("valibot").ObjectSchema<{
256
+ readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
257
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
258
+ readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
259
+ }, undefined>;
260
+ }, undefined>;
261
+ };
262
+ };
2
263
  readonly mutators: import("@rocicorp/zero").MutatorRegistry<{
3
264
  readonly account: {
4
265
  readonly createAccount: import("@rocicorp/zero").MutatorDefinition<{
@@ -532,54 +793,6 @@ export declare const marcoZero: {
532
793
  } & {
533
794
  primaryKey: ["id"];
534
795
  };
535
- readonly draftAttachment: {
536
- name: "draftAttachment";
537
- columns: {
538
- readonly draftId: {
539
- type: "string";
540
- optional: false;
541
- customType: string;
542
- } & {
543
- serverName: string;
544
- };
545
- readonly fileName: {
546
- type: "string";
547
- optional: false;
548
- customType: string;
549
- } & {
550
- serverName: string;
551
- };
552
- readonly id: {
553
- type: "string";
554
- optional: false;
555
- customType: string;
556
- };
557
- readonly mimeType: {
558
- type: "string";
559
- optional: false;
560
- customType: string;
561
- } & {
562
- serverName: string;
563
- };
564
- readonly status: {
565
- type: "string";
566
- optional: false;
567
- customType: "PENDING" | "COMPLETE" | "FAILED";
568
- } & {
569
- serverName: string;
570
- };
571
- readonly totalSize: {
572
- type: "number";
573
- optional: false;
574
- customType: number;
575
- } & {
576
- serverName: string;
577
- };
578
- };
579
- primaryKey: readonly [string, ...string[]];
580
- } & {
581
- primaryKey: ["id"];
582
- };
583
796
  readonly userPushNotificationToken: {
584
797
  name: "userPushNotificationToken";
585
798
  columns: {
@@ -917,6 +1130,54 @@ export declare const marcoZero: {
917
1130
  } & {
918
1131
  primaryKey: ["id"];
919
1132
  };
1133
+ readonly draftAttachment: {
1134
+ name: "draftAttachment";
1135
+ columns: {
1136
+ readonly draftId: {
1137
+ type: "string";
1138
+ optional: false;
1139
+ customType: string;
1140
+ } & {
1141
+ serverName: string;
1142
+ };
1143
+ readonly fileName: {
1144
+ type: "string";
1145
+ optional: false;
1146
+ customType: string;
1147
+ } & {
1148
+ serverName: string;
1149
+ };
1150
+ readonly id: {
1151
+ type: "string";
1152
+ optional: false;
1153
+ customType: string;
1154
+ };
1155
+ readonly mimeType: {
1156
+ type: "string";
1157
+ optional: false;
1158
+ customType: string;
1159
+ } & {
1160
+ serverName: string;
1161
+ };
1162
+ readonly status: {
1163
+ type: "string";
1164
+ optional: false;
1165
+ customType: "PENDING" | "COMPLETE" | "FAILED";
1166
+ } & {
1167
+ serverName: string;
1168
+ };
1169
+ readonly totalSize: {
1170
+ type: "number";
1171
+ optional: false;
1172
+ customType: number;
1173
+ } & {
1174
+ serverName: string;
1175
+ };
1176
+ };
1177
+ primaryKey: readonly [string, ...string[]];
1178
+ } & {
1179
+ primaryKey: ["id"];
1180
+ };
920
1181
  readonly thread: {
921
1182
  name: "thread";
922
1183
  columns: {
@@ -1269,13 +1530,13 @@ export declare const marcoZero: {
1269
1530
  }];
1270
1531
  drafts: [{
1271
1532
  readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1272
- readonly destField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
1533
+ readonly destField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
1273
1534
  readonly destSchema: "draft";
1274
1535
  readonly cardinality: "many";
1275
1536
  }];
1276
1537
  pushNotificationTokens: [{
1277
1538
  readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1278
- readonly destField: readonly ("createdAt" | "id" | "token" | "userId")[];
1539
+ readonly destField: readonly ("id" | "createdAt" | "token" | "userId")[];
1279
1540
  readonly destSchema: "userPushNotificationToken";
1280
1541
  readonly cardinality: "many";
1281
1542
  }];
@@ -1286,17 +1547,9 @@ export declare const marcoZero: {
1286
1547
  readonly cardinality: "many";
1287
1548
  }];
1288
1549
  };
1289
- readonly draftAttachment: {
1290
- draft: [{
1291
- readonly sourceField: readonly ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
1292
- readonly destField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
1293
- readonly destSchema: "draft";
1294
- readonly cardinality: "one";
1295
- }];
1296
- };
1297
1550
  readonly userPushNotificationToken: {
1298
1551
  user: [{
1299
- readonly sourceField: readonly ("createdAt" | "id" | "token" | "userId")[];
1552
+ readonly sourceField: readonly ("id" | "createdAt" | "token" | "userId")[];
1300
1553
  readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1301
1554
  readonly destSchema: "user";
1302
1555
  readonly cardinality: "one";
@@ -1319,7 +1572,7 @@ export declare const marcoZero: {
1319
1572
  }];
1320
1573
  drafts: [{
1321
1574
  readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1322
- readonly destField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
1575
+ readonly destField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
1323
1576
  readonly destSchema: "draft";
1324
1577
  readonly cardinality: "many";
1325
1578
  }];
@@ -1365,11 +1618,11 @@ export declare const marcoZero: {
1365
1618
  }];
1366
1619
  threads: [{
1367
1620
  readonly sourceField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
1368
- readonly destField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1621
+ readonly destField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
1369
1622
  readonly destSchema: "threadLabel";
1370
1623
  readonly cardinality: "many";
1371
1624
  }, {
1372
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1625
+ readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
1373
1626
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1374
1627
  readonly destSchema: "thread";
1375
1628
  readonly cardinality: "many";
@@ -1377,24 +1630,32 @@ export declare const marcoZero: {
1377
1630
  };
1378
1631
  readonly draft: {
1379
1632
  account: [{
1380
- readonly sourceField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
1633
+ readonly sourceField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
1381
1634
  readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1382
1635
  readonly destSchema: "account";
1383
1636
  readonly cardinality: "one";
1384
1637
  }];
1385
1638
  attachments: [{
1386
- readonly sourceField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
1639
+ readonly sourceField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
1387
1640
  readonly destField: readonly ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
1388
1641
  readonly destSchema: "draftAttachment";
1389
1642
  readonly cardinality: "many";
1390
1643
  }];
1391
1644
  user: [{
1392
- readonly sourceField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
1645
+ readonly sourceField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
1393
1646
  readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1394
1647
  readonly destSchema: "user";
1395
1648
  readonly cardinality: "one";
1396
1649
  }];
1397
1650
  };
1651
+ readonly draftAttachment: {
1652
+ draft: [{
1653
+ readonly sourceField: readonly ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
1654
+ readonly destField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
1655
+ readonly destSchema: "draft";
1656
+ readonly cardinality: "one";
1657
+ }];
1658
+ };
1398
1659
  readonly thread: {
1399
1660
  account: [{
1400
1661
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
@@ -1404,24 +1665,24 @@ export declare const marcoZero: {
1404
1665
  }];
1405
1666
  labels: [{
1406
1667
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1407
- readonly destField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1668
+ readonly destField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
1408
1669
  readonly destSchema: "threadLabel";
1409
1670
  readonly cardinality: "many";
1410
1671
  }, {
1411
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1672
+ readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
1412
1673
  readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
1413
1674
  readonly destSchema: "accountLabel";
1414
1675
  readonly cardinality: "many";
1415
1676
  }];
1416
1677
  messages: [{
1417
1678
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1418
- readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1679
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1419
1680
  readonly destSchema: "threadMessage";
1420
1681
  readonly cardinality: "many";
1421
1682
  }];
1422
1683
  threadByLabel: [{
1423
1684
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1424
- readonly destField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
1685
+ readonly destField: readonly ("latestMessageDate" | "labelId" | "threadId")[];
1425
1686
  readonly destSchema: "threadByLabel";
1426
1687
  readonly cardinality: "many";
1427
1688
  }];
@@ -1434,19 +1695,19 @@ export declare const marcoZero: {
1434
1695
  };
1435
1696
  readonly threadLabel: {
1436
1697
  label: [{
1437
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1698
+ readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
1438
1699
  readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
1439
1700
  readonly destSchema: "accountLabel";
1440
1701
  readonly cardinality: "one";
1441
1702
  }];
1442
1703
  message: [{
1443
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1444
- readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1704
+ readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
1705
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1445
1706
  readonly destSchema: "threadMessage";
1446
1707
  readonly cardinality: "one";
1447
1708
  }];
1448
1709
  thread: [{
1449
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1710
+ readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
1450
1711
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1451
1712
  readonly destSchema: "thread";
1452
1713
  readonly cardinality: "one";
@@ -1454,13 +1715,13 @@ export declare const marcoZero: {
1454
1715
  };
1455
1716
  readonly threadByLabel: {
1456
1717
  label: [{
1457
- readonly sourceField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
1718
+ readonly sourceField: readonly ("latestMessageDate" | "labelId" | "threadId")[];
1458
1719
  readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
1459
1720
  readonly destSchema: "accountLabel";
1460
1721
  readonly cardinality: "one";
1461
1722
  }];
1462
1723
  thread: [{
1463
- readonly sourceField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
1724
+ readonly sourceField: readonly ("latestMessageDate" | "labelId" | "threadId")[];
1464
1725
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1465
1726
  readonly destSchema: "thread";
1466
1727
  readonly cardinality: "one";
@@ -1468,30 +1729,30 @@ export declare const marcoZero: {
1468
1729
  };
1469
1730
  readonly threadMessage: {
1470
1731
  attachments: [{
1471
- readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1732
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1472
1733
  readonly destField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
1473
1734
  readonly destSchema: "threadMessageAttachment";
1474
1735
  readonly cardinality: "many";
1475
1736
  }];
1476
1737
  labels: [{
1477
- readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1478
- readonly destField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1738
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1739
+ readonly destField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
1479
1740
  readonly destSchema: "threadLabel";
1480
1741
  readonly cardinality: "many";
1481
1742
  }, {
1482
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1743
+ readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
1483
1744
  readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
1484
1745
  readonly destSchema: "accountLabel";
1485
1746
  readonly cardinality: "many";
1486
1747
  }];
1487
1748
  recipients: [{
1488
- readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1749
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1489
1750
  readonly destField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
1490
1751
  readonly destSchema: "threadMessageRecipient";
1491
1752
  readonly cardinality: "many";
1492
1753
  }];
1493
1754
  thread: [{
1494
- readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1755
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1495
1756
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1496
1757
  readonly destSchema: "thread";
1497
1758
  readonly cardinality: "one";
@@ -1500,7 +1761,7 @@ export declare const marcoZero: {
1500
1761
  readonly threadMessageRecipient: {
1501
1762
  message: [{
1502
1763
  readonly sourceField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
1503
- readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1764
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1504
1765
  readonly destSchema: "threadMessage";
1505
1766
  readonly cardinality: "one";
1506
1767
  }];
@@ -1508,7 +1769,7 @@ export declare const marcoZero: {
1508
1769
  readonly threadMessageAttachment: {
1509
1770
  message: [{
1510
1771
  readonly sourceField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
1511
- readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1772
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1512
1773
  readonly destSchema: "threadMessage";
1513
1774
  readonly cardinality: "one";
1514
1775
  }];
@@ -1915,54 +2176,6 @@ export declare const marcoZero: {
1915
2176
  } & {
1916
2177
  primaryKey: ["id"];
1917
2178
  };
1918
- readonly draftAttachment: {
1919
- name: "draftAttachment";
1920
- columns: {
1921
- readonly draftId: {
1922
- type: "string";
1923
- optional: false;
1924
- customType: string;
1925
- } & {
1926
- serverName: string;
1927
- };
1928
- readonly fileName: {
1929
- type: "string";
1930
- optional: false;
1931
- customType: string;
1932
- } & {
1933
- serverName: string;
1934
- };
1935
- readonly id: {
1936
- type: "string";
1937
- optional: false;
1938
- customType: string;
1939
- };
1940
- readonly mimeType: {
1941
- type: "string";
1942
- optional: false;
1943
- customType: string;
1944
- } & {
1945
- serverName: string;
1946
- };
1947
- readonly status: {
1948
- type: "string";
1949
- optional: false;
1950
- customType: "PENDING" | "COMPLETE" | "FAILED";
1951
- } & {
1952
- serverName: string;
1953
- };
1954
- readonly totalSize: {
1955
- type: "number";
1956
- optional: false;
1957
- customType: number;
1958
- } & {
1959
- serverName: string;
1960
- };
1961
- };
1962
- primaryKey: readonly [string, ...string[]];
1963
- } & {
1964
- primaryKey: ["id"];
1965
- };
1966
2179
  readonly userPushNotificationToken: {
1967
2180
  name: "userPushNotificationToken";
1968
2181
  columns: {
@@ -2300,6 +2513,54 @@ export declare const marcoZero: {
2300
2513
  } & {
2301
2514
  primaryKey: ["id"];
2302
2515
  };
2516
+ readonly draftAttachment: {
2517
+ name: "draftAttachment";
2518
+ columns: {
2519
+ readonly draftId: {
2520
+ type: "string";
2521
+ optional: false;
2522
+ customType: string;
2523
+ } & {
2524
+ serverName: string;
2525
+ };
2526
+ readonly fileName: {
2527
+ type: "string";
2528
+ optional: false;
2529
+ customType: string;
2530
+ } & {
2531
+ serverName: string;
2532
+ };
2533
+ readonly id: {
2534
+ type: "string";
2535
+ optional: false;
2536
+ customType: string;
2537
+ };
2538
+ readonly mimeType: {
2539
+ type: "string";
2540
+ optional: false;
2541
+ customType: string;
2542
+ } & {
2543
+ serverName: string;
2544
+ };
2545
+ readonly status: {
2546
+ type: "string";
2547
+ optional: false;
2548
+ customType: "PENDING" | "COMPLETE" | "FAILED";
2549
+ } & {
2550
+ serverName: string;
2551
+ };
2552
+ readonly totalSize: {
2553
+ type: "number";
2554
+ optional: false;
2555
+ customType: number;
2556
+ } & {
2557
+ serverName: string;
2558
+ };
2559
+ };
2560
+ primaryKey: readonly [string, ...string[]];
2561
+ } & {
2562
+ primaryKey: ["id"];
2563
+ };
2303
2564
  readonly thread: {
2304
2565
  name: "thread";
2305
2566
  columns: {
@@ -2652,13 +2913,13 @@ export declare const marcoZero: {
2652
2913
  }];
2653
2914
  drafts: [{
2654
2915
  readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
2655
- readonly destField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
2916
+ readonly destField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
2656
2917
  readonly destSchema: "draft";
2657
2918
  readonly cardinality: "many";
2658
2919
  }];
2659
2920
  pushNotificationTokens: [{
2660
2921
  readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
2661
- readonly destField: readonly ("createdAt" | "id" | "token" | "userId")[];
2922
+ readonly destField: readonly ("id" | "createdAt" | "token" | "userId")[];
2662
2923
  readonly destSchema: "userPushNotificationToken";
2663
2924
  readonly cardinality: "many";
2664
2925
  }];
@@ -2669,17 +2930,9 @@ export declare const marcoZero: {
2669
2930
  readonly cardinality: "many";
2670
2931
  }];
2671
2932
  };
2672
- readonly draftAttachment: {
2673
- draft: [{
2674
- readonly sourceField: readonly ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
2675
- readonly destField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
2676
- readonly destSchema: "draft";
2677
- readonly cardinality: "one";
2678
- }];
2679
- };
2680
2933
  readonly userPushNotificationToken: {
2681
2934
  user: [{
2682
- readonly sourceField: readonly ("createdAt" | "id" | "token" | "userId")[];
2935
+ readonly sourceField: readonly ("id" | "createdAt" | "token" | "userId")[];
2683
2936
  readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
2684
2937
  readonly destSchema: "user";
2685
2938
  readonly cardinality: "one";
@@ -2702,7 +2955,7 @@ export declare const marcoZero: {
2702
2955
  }];
2703
2956
  drafts: [{
2704
2957
  readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
2705
- readonly destField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
2958
+ readonly destField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
2706
2959
  readonly destSchema: "draft";
2707
2960
  readonly cardinality: "many";
2708
2961
  }];
@@ -2748,11 +3001,11 @@ export declare const marcoZero: {
2748
3001
  }];
2749
3002
  threads: [{
2750
3003
  readonly sourceField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
2751
- readonly destField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
3004
+ readonly destField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
2752
3005
  readonly destSchema: "threadLabel";
2753
3006
  readonly cardinality: "many";
2754
3007
  }, {
2755
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
3008
+ readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
2756
3009
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
2757
3010
  readonly destSchema: "thread";
2758
3011
  readonly cardinality: "many";
@@ -2760,24 +3013,32 @@ export declare const marcoZero: {
2760
3013
  };
2761
3014
  readonly draft: {
2762
3015
  account: [{
2763
- readonly sourceField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
3016
+ readonly sourceField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
2764
3017
  readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
2765
3018
  readonly destSchema: "account";
2766
3019
  readonly cardinality: "one";
2767
3020
  }];
2768
3021
  attachments: [{
2769
- readonly sourceField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
3022
+ readonly sourceField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
2770
3023
  readonly destField: readonly ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
2771
3024
  readonly destSchema: "draftAttachment";
2772
3025
  readonly cardinality: "many";
2773
3026
  }];
2774
3027
  user: [{
2775
- readonly sourceField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
3028
+ readonly sourceField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
2776
3029
  readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
2777
3030
  readonly destSchema: "user";
2778
3031
  readonly cardinality: "one";
2779
3032
  }];
2780
3033
  };
3034
+ readonly draftAttachment: {
3035
+ draft: [{
3036
+ readonly sourceField: readonly ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
3037
+ readonly destField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
3038
+ readonly destSchema: "draft";
3039
+ readonly cardinality: "one";
3040
+ }];
3041
+ };
2781
3042
  readonly thread: {
2782
3043
  account: [{
2783
3044
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
@@ -2787,24 +3048,24 @@ export declare const marcoZero: {
2787
3048
  }];
2788
3049
  labels: [{
2789
3050
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
2790
- readonly destField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
3051
+ readonly destField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
2791
3052
  readonly destSchema: "threadLabel";
2792
3053
  readonly cardinality: "many";
2793
3054
  }, {
2794
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
3055
+ readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
2795
3056
  readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
2796
3057
  readonly destSchema: "accountLabel";
2797
3058
  readonly cardinality: "many";
2798
3059
  }];
2799
3060
  messages: [{
2800
3061
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
2801
- readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
3062
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
2802
3063
  readonly destSchema: "threadMessage";
2803
3064
  readonly cardinality: "many";
2804
3065
  }];
2805
3066
  threadByLabel: [{
2806
3067
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
2807
- readonly destField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
3068
+ readonly destField: readonly ("latestMessageDate" | "labelId" | "threadId")[];
2808
3069
  readonly destSchema: "threadByLabel";
2809
3070
  readonly cardinality: "many";
2810
3071
  }];
@@ -2817,19 +3078,19 @@ export declare const marcoZero: {
2817
3078
  };
2818
3079
  readonly threadLabel: {
2819
3080
  label: [{
2820
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
3081
+ readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
2821
3082
  readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
2822
3083
  readonly destSchema: "accountLabel";
2823
3084
  readonly cardinality: "one";
2824
3085
  }];
2825
3086
  message: [{
2826
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
2827
- readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
3087
+ readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
3088
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
2828
3089
  readonly destSchema: "threadMessage";
2829
3090
  readonly cardinality: "one";
2830
3091
  }];
2831
3092
  thread: [{
2832
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
3093
+ readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
2833
3094
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
2834
3095
  readonly destSchema: "thread";
2835
3096
  readonly cardinality: "one";
@@ -2837,13 +3098,13 @@ export declare const marcoZero: {
2837
3098
  };
2838
3099
  readonly threadByLabel: {
2839
3100
  label: [{
2840
- readonly sourceField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
3101
+ readonly sourceField: readonly ("latestMessageDate" | "labelId" | "threadId")[];
2841
3102
  readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
2842
3103
  readonly destSchema: "accountLabel";
2843
3104
  readonly cardinality: "one";
2844
3105
  }];
2845
3106
  thread: [{
2846
- readonly sourceField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
3107
+ readonly sourceField: readonly ("latestMessageDate" | "labelId" | "threadId")[];
2847
3108
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
2848
3109
  readonly destSchema: "thread";
2849
3110
  readonly cardinality: "one";
@@ -2851,30 +3112,30 @@ export declare const marcoZero: {
2851
3112
  };
2852
3113
  readonly threadMessage: {
2853
3114
  attachments: [{
2854
- readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
3115
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
2855
3116
  readonly destField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
2856
3117
  readonly destSchema: "threadMessageAttachment";
2857
3118
  readonly cardinality: "many";
2858
3119
  }];
2859
3120
  labels: [{
2860
- readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
2861
- readonly destField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
3121
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3122
+ readonly destField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
2862
3123
  readonly destSchema: "threadLabel";
2863
3124
  readonly cardinality: "many";
2864
3125
  }, {
2865
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
3126
+ readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
2866
3127
  readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
2867
3128
  readonly destSchema: "accountLabel";
2868
3129
  readonly cardinality: "many";
2869
3130
  }];
2870
3131
  recipients: [{
2871
- readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
3132
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
2872
3133
  readonly destField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
2873
3134
  readonly destSchema: "threadMessageRecipient";
2874
3135
  readonly cardinality: "many";
2875
3136
  }];
2876
3137
  thread: [{
2877
- readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
3138
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
2878
3139
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
2879
3140
  readonly destSchema: "thread";
2880
3141
  readonly cardinality: "one";
@@ -2883,7 +3144,7 @@ export declare const marcoZero: {
2883
3144
  readonly threadMessageRecipient: {
2884
3145
  message: [{
2885
3146
  readonly sourceField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
2886
- readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
3147
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
2887
3148
  readonly destSchema: "threadMessage";
2888
3149
  readonly cardinality: "one";
2889
3150
  }];
@@ -2891,7 +3152,7 @@ export declare const marcoZero: {
2891
3152
  readonly threadMessageAttachment: {
2892
3153
  message: [{
2893
3154
  readonly sourceField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
2894
- readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
3155
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
2895
3156
  readonly destSchema: "threadMessage";
2896
3157
  readonly cardinality: "one";
2897
3158
  }];
@@ -2938,54 +3199,6 @@ export declare const marcoZero: {
2938
3199
  } & {
2939
3200
  primaryKey: ["id"];
2940
3201
  };
2941
- readonly draftAttachment: {
2942
- name: "draftAttachment";
2943
- columns: {
2944
- readonly draftId: {
2945
- type: "string";
2946
- optional: false;
2947
- customType: string;
2948
- } & {
2949
- serverName: string;
2950
- };
2951
- readonly fileName: {
2952
- type: "string";
2953
- optional: false;
2954
- customType: string;
2955
- } & {
2956
- serverName: string;
2957
- };
2958
- readonly id: {
2959
- type: "string";
2960
- optional: false;
2961
- customType: string;
2962
- };
2963
- readonly mimeType: {
2964
- type: "string";
2965
- optional: false;
2966
- customType: string;
2967
- } & {
2968
- serverName: string;
2969
- };
2970
- readonly status: {
2971
- type: "string";
2972
- optional: false;
2973
- customType: "PENDING" | "COMPLETE" | "FAILED";
2974
- } & {
2975
- serverName: string;
2976
- };
2977
- readonly totalSize: {
2978
- type: "number";
2979
- optional: false;
2980
- customType: number;
2981
- } & {
2982
- serverName: string;
2983
- };
2984
- };
2985
- primaryKey: readonly [string, ...string[]];
2986
- } & {
2987
- primaryKey: ["id"];
2988
- };
2989
3202
  readonly userPushNotificationToken: {
2990
3203
  name: "userPushNotificationToken";
2991
3204
  columns: {
@@ -3323,6 +3536,54 @@ export declare const marcoZero: {
3323
3536
  } & {
3324
3537
  primaryKey: ["id"];
3325
3538
  };
3539
+ readonly draftAttachment: {
3540
+ name: "draftAttachment";
3541
+ columns: {
3542
+ readonly draftId: {
3543
+ type: "string";
3544
+ optional: false;
3545
+ customType: string;
3546
+ } & {
3547
+ serverName: string;
3548
+ };
3549
+ readonly fileName: {
3550
+ type: "string";
3551
+ optional: false;
3552
+ customType: string;
3553
+ } & {
3554
+ serverName: string;
3555
+ };
3556
+ readonly id: {
3557
+ type: "string";
3558
+ optional: false;
3559
+ customType: string;
3560
+ };
3561
+ readonly mimeType: {
3562
+ type: "string";
3563
+ optional: false;
3564
+ customType: string;
3565
+ } & {
3566
+ serverName: string;
3567
+ };
3568
+ readonly status: {
3569
+ type: "string";
3570
+ optional: false;
3571
+ customType: "PENDING" | "COMPLETE" | "FAILED";
3572
+ } & {
3573
+ serverName: string;
3574
+ };
3575
+ readonly totalSize: {
3576
+ type: "number";
3577
+ optional: false;
3578
+ customType: number;
3579
+ } & {
3580
+ serverName: string;
3581
+ };
3582
+ };
3583
+ primaryKey: readonly [string, ...string[]];
3584
+ } & {
3585
+ primaryKey: ["id"];
3586
+ };
3326
3587
  readonly thread: {
3327
3588
  name: "thread";
3328
3589
  columns: {
@@ -3675,13 +3936,13 @@ export declare const marcoZero: {
3675
3936
  }];
3676
3937
  drafts: [{
3677
3938
  readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3678
- readonly destField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
3939
+ readonly destField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
3679
3940
  readonly destSchema: "draft";
3680
3941
  readonly cardinality: "many";
3681
3942
  }];
3682
3943
  pushNotificationTokens: [{
3683
3944
  readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3684
- readonly destField: readonly ("createdAt" | "id" | "token" | "userId")[];
3945
+ readonly destField: readonly ("id" | "createdAt" | "token" | "userId")[];
3685
3946
  readonly destSchema: "userPushNotificationToken";
3686
3947
  readonly cardinality: "many";
3687
3948
  }];
@@ -3692,17 +3953,9 @@ export declare const marcoZero: {
3692
3953
  readonly cardinality: "many";
3693
3954
  }];
3694
3955
  };
3695
- readonly draftAttachment: {
3696
- draft: [{
3697
- readonly sourceField: readonly ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
3698
- readonly destField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
3699
- readonly destSchema: "draft";
3700
- readonly cardinality: "one";
3701
- }];
3702
- };
3703
3956
  readonly userPushNotificationToken: {
3704
3957
  user: [{
3705
- readonly sourceField: readonly ("createdAt" | "id" | "token" | "userId")[];
3958
+ readonly sourceField: readonly ("id" | "createdAt" | "token" | "userId")[];
3706
3959
  readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3707
3960
  readonly destSchema: "user";
3708
3961
  readonly cardinality: "one";
@@ -3725,7 +3978,7 @@ export declare const marcoZero: {
3725
3978
  }];
3726
3979
  drafts: [{
3727
3980
  readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
3728
- readonly destField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
3981
+ readonly destField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
3729
3982
  readonly destSchema: "draft";
3730
3983
  readonly cardinality: "many";
3731
3984
  }];
@@ -3771,11 +4024,11 @@ export declare const marcoZero: {
3771
4024
  }];
3772
4025
  threads: [{
3773
4026
  readonly sourceField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
3774
- readonly destField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
4027
+ readonly destField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
3775
4028
  readonly destSchema: "threadLabel";
3776
4029
  readonly cardinality: "many";
3777
4030
  }, {
3778
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
4031
+ readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
3779
4032
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
3780
4033
  readonly destSchema: "thread";
3781
4034
  readonly cardinality: "many";
@@ -3783,24 +4036,32 @@ export declare const marcoZero: {
3783
4036
  };
3784
4037
  readonly draft: {
3785
4038
  account: [{
3786
- readonly sourceField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
4039
+ readonly sourceField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
3787
4040
  readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
3788
4041
  readonly destSchema: "account";
3789
4042
  readonly cardinality: "one";
3790
4043
  }];
3791
4044
  attachments: [{
3792
- readonly sourceField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
4045
+ readonly sourceField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
3793
4046
  readonly destField: readonly ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
3794
4047
  readonly destSchema: "draftAttachment";
3795
4048
  readonly cardinality: "many";
3796
4049
  }];
3797
4050
  user: [{
3798
- readonly sourceField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
4051
+ readonly sourceField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
3799
4052
  readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3800
4053
  readonly destSchema: "user";
3801
4054
  readonly cardinality: "one";
3802
4055
  }];
3803
4056
  };
4057
+ readonly draftAttachment: {
4058
+ draft: [{
4059
+ readonly sourceField: readonly ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
4060
+ readonly destField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
4061
+ readonly destSchema: "draft";
4062
+ readonly cardinality: "one";
4063
+ }];
4064
+ };
3804
4065
  readonly thread: {
3805
4066
  account: [{
3806
4067
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
@@ -3810,24 +4071,24 @@ export declare const marcoZero: {
3810
4071
  }];
3811
4072
  labels: [{
3812
4073
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
3813
- readonly destField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
4074
+ readonly destField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
3814
4075
  readonly destSchema: "threadLabel";
3815
4076
  readonly cardinality: "many";
3816
4077
  }, {
3817
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
4078
+ readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
3818
4079
  readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
3819
4080
  readonly destSchema: "accountLabel";
3820
4081
  readonly cardinality: "many";
3821
4082
  }];
3822
4083
  messages: [{
3823
4084
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
3824
- readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
4085
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3825
4086
  readonly destSchema: "threadMessage";
3826
4087
  readonly cardinality: "many";
3827
4088
  }];
3828
4089
  threadByLabel: [{
3829
4090
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
3830
- readonly destField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
4091
+ readonly destField: readonly ("latestMessageDate" | "labelId" | "threadId")[];
3831
4092
  readonly destSchema: "threadByLabel";
3832
4093
  readonly cardinality: "many";
3833
4094
  }];
@@ -3840,19 +4101,19 @@ export declare const marcoZero: {
3840
4101
  };
3841
4102
  readonly threadLabel: {
3842
4103
  label: [{
3843
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
4104
+ readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
3844
4105
  readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
3845
4106
  readonly destSchema: "accountLabel";
3846
4107
  readonly cardinality: "one";
3847
4108
  }];
3848
4109
  message: [{
3849
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
3850
- readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
4110
+ readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
4111
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3851
4112
  readonly destSchema: "threadMessage";
3852
4113
  readonly cardinality: "one";
3853
4114
  }];
3854
4115
  thread: [{
3855
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
4116
+ readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
3856
4117
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
3857
4118
  readonly destSchema: "thread";
3858
4119
  readonly cardinality: "one";
@@ -3860,13 +4121,13 @@ export declare const marcoZero: {
3860
4121
  };
3861
4122
  readonly threadByLabel: {
3862
4123
  label: [{
3863
- readonly sourceField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
4124
+ readonly sourceField: readonly ("latestMessageDate" | "labelId" | "threadId")[];
3864
4125
  readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
3865
4126
  readonly destSchema: "accountLabel";
3866
4127
  readonly cardinality: "one";
3867
4128
  }];
3868
4129
  thread: [{
3869
- readonly sourceField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
4130
+ readonly sourceField: readonly ("latestMessageDate" | "labelId" | "threadId")[];
3870
4131
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
3871
4132
  readonly destSchema: "thread";
3872
4133
  readonly cardinality: "one";
@@ -3874,30 +4135,30 @@ export declare const marcoZero: {
3874
4135
  };
3875
4136
  readonly threadMessage: {
3876
4137
  attachments: [{
3877
- readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
4138
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3878
4139
  readonly destField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
3879
4140
  readonly destSchema: "threadMessageAttachment";
3880
4141
  readonly cardinality: "many";
3881
4142
  }];
3882
4143
  labels: [{
3883
- readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
3884
- readonly destField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
4144
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
4145
+ readonly destField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
3885
4146
  readonly destSchema: "threadLabel";
3886
4147
  readonly cardinality: "many";
3887
4148
  }, {
3888
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
4149
+ readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
3889
4150
  readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
3890
4151
  readonly destSchema: "accountLabel";
3891
4152
  readonly cardinality: "many";
3892
4153
  }];
3893
4154
  recipients: [{
3894
- readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
4155
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3895
4156
  readonly destField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
3896
4157
  readonly destSchema: "threadMessageRecipient";
3897
4158
  readonly cardinality: "many";
3898
4159
  }];
3899
4160
  thread: [{
3900
- readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
4161
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3901
4162
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
3902
4163
  readonly destSchema: "thread";
3903
4164
  readonly cardinality: "one";
@@ -3906,7 +4167,7 @@ export declare const marcoZero: {
3906
4167
  readonly threadMessageRecipient: {
3907
4168
  message: [{
3908
4169
  readonly sourceField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
3909
- readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
4170
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3910
4171
  readonly destSchema: "threadMessage";
3911
4172
  readonly cardinality: "one";
3912
4173
  }];
@@ -3914,7 +4175,7 @@ export declare const marcoZero: {
3914
4175
  readonly threadMessageAttachment: {
3915
4176
  message: [{
3916
4177
  readonly sourceField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
3917
- readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
4178
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3918
4179
  readonly destSchema: "threadMessage";
3919
4180
  readonly cardinality: "one";
3920
4181
  }];