@marcoappio/marco-config 4.0.9 → 4.0.10

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.
@@ -0,0 +1,2194 @@
1
+ import * as v from 'valibot';
2
+ import { type AppwriteColumnDefinition, type AppwriteTableDefinition, type AppwriteTableInput, type AppwriteTableKey } from './shared';
3
+ export * from './shared';
4
+ type AppwriteTableFields = AppwriteTableInput['fields'] & v.ObjectEntries;
5
+ type AppwriteObjectSchema<TFields extends AppwriteTableFields> = v.ObjectSchema<TFields, undefined>;
6
+ type AppwriteCheckedObjectSchema<TFields extends AppwriteTableFields> = v.SchemaWithPipe<readonly [AppwriteObjectSchema<TFields>, v.CheckAction<v.InferOutput<AppwriteObjectSchema<TFields>>, undefined>]>;
7
+ declare const wireMetadata: <const TTableId extends string, const TWirePermissions extends AppwriteTableInput["wirePermissions"]>(tableId: TTableId, wirePermissions: TWirePermissions) => {
8
+ $createdAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
9
+ $databaseId: v.LiteralSchema<"marco", undefined>;
10
+ $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
11
+ $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined> | v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.LengthAction<string[], 0, undefined>]>;
12
+ $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
13
+ $tableId: v.LiteralSchema<TTableId, undefined>;
14
+ $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
15
+ };
16
+ type AppwriteDataSchemaFor<TTable extends AppwriteTableInput> = TTable extends {
17
+ readonly dataCheck: (input: unknown) => boolean;
18
+ } ? AppwriteCheckedObjectSchema<TTable['fields']> : AppwriteObjectSchema<TTable['fields']>;
19
+ type AppwriteRowSchemaFor<TTable extends AppwriteTableInput> = v.StrictObjectSchema<ReturnType<typeof wireMetadata> & TTable['fields'], undefined>;
20
+ type AppwriteTableContract<TTables extends Readonly<Record<AppwriteTableKey, AppwriteTableInput>>> = {
21
+ dataSchemas: {
22
+ [TTableKey in AppwriteTableKey]: AppwriteDataSchemaFor<TTables[TTableKey]>;
23
+ };
24
+ rowSchemas: {
25
+ [TTableKey in AppwriteTableKey]: AppwriteRowSchemaFor<TTables[TTableKey]>;
26
+ };
27
+ tables: {
28
+ [TTableKey in AppwriteTableKey]: AppwriteTableDefinition;
29
+ };
30
+ };
31
+ export declare function defineAppwriteTables<const TTables extends Readonly<Record<AppwriteTableKey, AppwriteTableInput>>>(tables: TTables): AppwriteTableContract<TTables>;
32
+ export declare const appwriteTableContract: AppwriteTableContract<{
33
+ commands: {
34
+ readonly fields: {
35
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
36
+ readonly accountId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
37
+ readonly draftId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
38
+ readonly kind: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
39
+ readonly payload: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
40
+ readonly payloadHash: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
41
+ readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACCEPTED", "RUNNING", "SUCCEEDED", "FAILED"], undefined>>;
42
+ readonly attempts: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
43
+ readonly canonicalRevision: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>>;
44
+ readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
45
+ readonly submittedAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
46
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
47
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
48
+ }, undefined>, v.TransformAction<{
49
+ $id: string;
50
+ }, string>]>], undefined>, undefined>>;
51
+ readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
52
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
53
+ }, undefined>, v.TransformAction<{
54
+ $id: string;
55
+ }, string>]>], undefined>>;
56
+ };
57
+ readonly id: "commands_v2";
58
+ readonly indexes: readonly [{
59
+ readonly attributes: readonly ["userId"];
60
+ readonly name: "user";
61
+ readonly type: "key";
62
+ }, {
63
+ readonly attributes: readonly ["userId", "submittedAt"];
64
+ readonly name: "user_submitted";
65
+ readonly type: "key";
66
+ }, {
67
+ readonly attributes: readonly ["accountId", "state"];
68
+ readonly name: "account_state";
69
+ readonly type: "key";
70
+ }, {
71
+ readonly attributes: readonly ["draftId", "canonicalRevision"];
72
+ readonly name: "draft_sequence";
73
+ readonly type: "key";
74
+ }, {
75
+ readonly attributes: readonly ["state", "submittedAt"];
76
+ readonly name: "state_submitted";
77
+ readonly type: "key";
78
+ }];
79
+ readonly key: "commands";
80
+ readonly name: "Commands";
81
+ };
82
+ jobs: {
83
+ readonly fields: {
84
+ readonly commandId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
85
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
86
+ readonly accountId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
87
+ readonly kind: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
88
+ readonly payload: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
89
+ readonly dedupeKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
90
+ readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED"], undefined>>;
91
+ readonly attempts: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
92
+ readonly maxAttempts: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
93
+ readonly nextRunAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
94
+ readonly leaseId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
95
+ readonly leaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
96
+ readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
97
+ };
98
+ readonly id: "jobs_v2";
99
+ readonly indexes: readonly [{
100
+ readonly attributes: readonly ["state", "nextRunAt"];
101
+ readonly name: "state_next_run";
102
+ readonly type: "key";
103
+ }, {
104
+ readonly attributes: readonly ["leaseExpiresAt"];
105
+ readonly name: "lease_expiry";
106
+ readonly type: "key";
107
+ }, {
108
+ readonly attributes: readonly ["state", "leaseExpiresAt"];
109
+ readonly name: "state_lease_expiry";
110
+ readonly type: "key";
111
+ }, {
112
+ readonly attributes: readonly ["userId", "state", "leaseExpiresAt"];
113
+ readonly name: "user_state_lease_expiry";
114
+ readonly type: "key";
115
+ }, {
116
+ readonly attributes: readonly ["state", "leaseExpiresAt", "leaseId", "attempts"];
117
+ readonly name: "recovery_fence";
118
+ readonly type: "key";
119
+ }, {
120
+ readonly attributes: readonly ["commandId"];
121
+ readonly name: "command";
122
+ readonly type: "key";
123
+ }, {
124
+ readonly attributes: readonly ["dedupeKey"];
125
+ readonly name: "dedupe_key_unique";
126
+ readonly type: "unique";
127
+ }, {
128
+ readonly attributes: readonly ["userId"];
129
+ readonly name: "user";
130
+ readonly type: "key";
131
+ }];
132
+ readonly key: "jobs";
133
+ readonly name: "Jobs";
134
+ };
135
+ mailboxSyncCandidates: {
136
+ readonly fields: {
137
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
138
+ readonly accountId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
139
+ readonly generation: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
140
+ readonly lane: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
141
+ readonly labelId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
142
+ readonly mailboxPath: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
143
+ readonly mailboxPriority: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
144
+ readonly mailboxSortKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 257, undefined>]>>;
145
+ readonly providerId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
146
+ readonly receivedAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
147
+ readonly specialUse: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
148
+ readonly uid: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
149
+ readonly uidValidity: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
150
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
151
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
152
+ }, undefined>, v.TransformAction<{
153
+ $id: string;
154
+ }, string>]>], undefined>>;
155
+ readonly label: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
156
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
157
+ }, undefined>, v.TransformAction<{
158
+ $id: string;
159
+ }, string>]>], undefined>>;
160
+ };
161
+ readonly id: "mailbox_sync_candidates_v2";
162
+ readonly indexes: readonly [{
163
+ readonly attributes: readonly ["lane"];
164
+ readonly name: "lane";
165
+ readonly type: "key";
166
+ }, {
167
+ readonly attributes: readonly ["accountId", "lane", "generation", "mailboxPriority", "receivedAt", "labelId", "uid", "uidValidity"];
168
+ readonly name: "account_lane_generation_order";
169
+ readonly type: "key";
170
+ }];
171
+ readonly key: "mailboxSyncCandidates";
172
+ readonly name: "Mailbox sync candidates";
173
+ };
174
+ mailboxSyncLanes: {
175
+ readonly fields: {
176
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
177
+ readonly accountId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
178
+ readonly commandId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
179
+ readonly cursor: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
180
+ readonly generation: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
181
+ readonly lane: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
182
+ readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "COMPLETED", "FAILED"], undefined>>;
183
+ readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
184
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
185
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
186
+ }, undefined>, v.TransformAction<{
187
+ $id: string;
188
+ }, string>]>], undefined>>;
189
+ };
190
+ readonly id: "mailbox_sync_lanes";
191
+ readonly indexes: readonly [{
192
+ readonly attributes: readonly ["accountId", "lane"];
193
+ readonly name: "account_lane_unique";
194
+ readonly type: "unique";
195
+ }, {
196
+ readonly attributes: readonly ["lane", "state"];
197
+ readonly name: "lane_state";
198
+ readonly type: "key";
199
+ }];
200
+ readonly key: "mailboxSyncLanes";
201
+ readonly name: "Mailbox sync lanes";
202
+ readonly wirePermissions: "empty";
203
+ };
204
+ mailboxSyncStates: {
205
+ readonly fields: {
206
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
207
+ readonly accountId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
208
+ readonly provider: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
209
+ readonly providerCursor: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
210
+ readonly uidValidity: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
211
+ readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["INITIAL", "SYNCING", "CURRENT", "ERROR"], undefined>>;
212
+ readonly nextPollAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
213
+ readonly lastEventAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
214
+ readonly lastSyncAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
215
+ readonly materialisationLeaseId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
216
+ readonly materialisationLeaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
217
+ readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
218
+ };
219
+ readonly id: "mailbox_sync_states";
220
+ readonly indexes: readonly [{
221
+ readonly attributes: readonly ["state", "nextPollAt"];
222
+ readonly name: "state_next_poll";
223
+ readonly type: "key";
224
+ }, {
225
+ readonly attributes: readonly ["accountId"];
226
+ readonly name: "account_unique";
227
+ readonly type: "unique";
228
+ }];
229
+ readonly key: "mailboxSyncStates";
230
+ readonly name: "Mailbox sync states";
231
+ };
232
+ pollShardCoordinators: {
233
+ readonly fields: {
234
+ readonly accountCursor: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
235
+ };
236
+ readonly id: "poll_shard_coordinators";
237
+ readonly indexes: readonly [];
238
+ readonly key: "pollShardCoordinators";
239
+ readonly name: "Poll shard coordinators";
240
+ readonly wirePermissions: "empty";
241
+ };
242
+ pollShards: {
243
+ readonly fields: {
244
+ readonly accountIds: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>>;
245
+ readonly generation: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
246
+ readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACTIVE", "STOPPED", "FAILED"], undefined>>;
247
+ readonly leaseId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
248
+ readonly leaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
249
+ readonly lastStartedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
250
+ readonly nextStartAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
251
+ readonly pollingSnapshot: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
252
+ readonly scheduledExecutionId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
253
+ readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
254
+ };
255
+ readonly id: "poll_shards";
256
+ readonly indexes: readonly [{
257
+ readonly attributes: readonly ["state", "nextStartAt"];
258
+ readonly name: "state_next_start";
259
+ readonly type: "key";
260
+ }, {
261
+ readonly attributes: readonly ["leaseExpiresAt"];
262
+ readonly name: "lease_expiry";
263
+ readonly type: "key";
264
+ }];
265
+ readonly key: "pollShards";
266
+ readonly name: "Poll shards";
267
+ readonly wirePermissions: "empty";
268
+ };
269
+ pushNotificationTokens: {
270
+ readonly fields: {
271
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
272
+ readonly token: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
273
+ readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
274
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
275
+ }, undefined>, v.TransformAction<{
276
+ $id: string;
277
+ }, string>]>], undefined>>;
278
+ };
279
+ readonly id: "push_notification_tokens";
280
+ readonly indexes: readonly [{
281
+ readonly attributes: readonly ["userId"];
282
+ readonly name: "user";
283
+ readonly type: "key";
284
+ }, {
285
+ readonly attributes: readonly ["token"];
286
+ readonly name: "token_unique";
287
+ readonly type: "unique";
288
+ }];
289
+ readonly key: "pushNotificationTokens";
290
+ readonly name: "Push notification tokens";
291
+ };
292
+ contacts: {
293
+ readonly fields: {
294
+ readonly normalisedAddress: import("./shared").AppwriteColumnSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>, v.MaxLengthAction<string, 320, undefined>]>, undefined>>;
295
+ readonly displayName: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
296
+ readonly lastContactedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
297
+ readonly messageCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
298
+ readonly profileAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
299
+ readonly searchText: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
300
+ readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
301
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
302
+ }, undefined>, v.TransformAction<{
303
+ $id: string;
304
+ }, string>]>], undefined>>;
305
+ };
306
+ readonly id: "contacts";
307
+ readonly indexes: readonly [{
308
+ readonly attributes: readonly ["profileAssignmentKey", "lastContactedAt"];
309
+ readonly name: "assignment_profile_last_contacted";
310
+ readonly type: "key";
311
+ }, {
312
+ readonly attributes: readonly ["profileAssignmentKey", "normalisedAddress"];
313
+ readonly name: "assignment_profile_address_unique";
314
+ readonly type: "unique";
315
+ }, {
316
+ readonly attributes: readonly ["searchText"];
317
+ readonly name: "search";
318
+ readonly type: "fulltext";
319
+ }];
320
+ readonly key: "contacts";
321
+ readonly name: "Contacts";
322
+ };
323
+ drafts: {
324
+ readonly fields: {
325
+ readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
326
+ readonly type: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["COMPOSE", "REPLY", "FORWARD"], undefined>>;
327
+ readonly envelope: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
328
+ readonly html: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
329
+ readonly attachmentMetadata: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
330
+ readonly contentHash: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
331
+ readonly scheduledAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
332
+ readonly status: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["DRAFT", "SCHEDULED", "SENDING", "SENT", "FAILED", "CANCELLED"], undefined>>;
333
+ readonly revision: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
334
+ readonly sequence: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
335
+ readonly executionLeaseId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
336
+ readonly executionLeaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
337
+ readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
338
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
339
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
340
+ }, undefined>, v.TransformAction<{
341
+ $id: string;
342
+ }, string>]>], undefined>>;
343
+ readonly fromAlias: import("./shared").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
344
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
345
+ }, undefined>, v.TransformAction<{
346
+ $id: string;
347
+ }, string>]>], undefined>, undefined>>;
348
+ readonly referencedMessage: import("./shared").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
349
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
350
+ }, undefined>, v.TransformAction<{
351
+ $id: string;
352
+ }, string>]>], undefined>, undefined>>;
353
+ };
354
+ readonly id: "drafts";
355
+ readonly indexes: readonly [{
356
+ readonly attributes: readonly ["accountAssignmentKey"];
357
+ readonly name: "assignment_account";
358
+ readonly type: "key";
359
+ }, {
360
+ readonly attributes: readonly ["accountAssignmentKey", "status"];
361
+ readonly name: "assignment_account_status";
362
+ readonly type: "key";
363
+ }, {
364
+ readonly attributes: readonly ["scheduledAt"];
365
+ readonly name: "scheduled";
366
+ readonly type: "key";
367
+ }];
368
+ readonly key: "drafts";
369
+ readonly name: "Drafts";
370
+ };
371
+ messageLocations: {
372
+ readonly dataCheck: (location: unknown) => boolean;
373
+ readonly fields: {
374
+ readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
375
+ readonly flagged: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
376
+ readonly labelAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
377
+ readonly messageAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
378
+ readonly seen: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
379
+ readonly threadAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
380
+ readonly uid: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
381
+ readonly uidValidity: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
382
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
383
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
384
+ }, undefined>, v.TransformAction<{
385
+ $id: string;
386
+ }, string>]>], undefined>>;
387
+ readonly label: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
388
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
389
+ }, undefined>, v.TransformAction<{
390
+ $id: string;
391
+ }, string>]>], undefined>>;
392
+ readonly message: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
393
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
394
+ }, undefined>, v.TransformAction<{
395
+ $id: string;
396
+ }, string>]>], undefined>>;
397
+ readonly thread: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
398
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
399
+ }, undefined>, v.TransformAction<{
400
+ $id: string;
401
+ }, string>]>], undefined>>;
402
+ };
403
+ readonly id: "message_locations";
404
+ readonly indexes: readonly [{
405
+ readonly attributes: readonly ["accountAssignmentKey", "labelAssignmentKey", "uidValidity", "uid"];
406
+ readonly name: "assignment_account_label_uid";
407
+ readonly type: "key";
408
+ }, {
409
+ readonly attributes: readonly ["accountAssignmentKey", "threadAssignmentKey"];
410
+ readonly name: "assignment_account_thread";
411
+ readonly type: "key";
412
+ }, {
413
+ readonly attributes: readonly ["threadAssignmentKey", "labelAssignmentKey", "messageAt"];
414
+ readonly name: "assignment_thread_label_latest";
415
+ readonly type: "key";
416
+ }];
417
+ readonly key: "messageLocations";
418
+ readonly name: "Message locations";
419
+ };
420
+ messages: {
421
+ readonly fields: {
422
+ readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
423
+ readonly providerId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
424
+ readonly rfcMessageId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
425
+ readonly sender: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
426
+ readonly senderName: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
427
+ readonly recipients: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
428
+ readonly sentAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
429
+ readonly receivedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
430
+ readonly preview: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
431
+ readonly attachmentMetadata: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
432
+ readonly htmlFileId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
433
+ readonly rawFileId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
434
+ readonly size: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
435
+ readonly subject: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
436
+ readonly revision: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
437
+ readonly threadAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
438
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
439
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
440
+ }, undefined>, v.TransformAction<{
441
+ $id: string;
442
+ }, string>]>], undefined>>;
443
+ readonly thread: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
444
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
445
+ }, undefined>, v.TransformAction<{
446
+ $id: string;
447
+ }, string>]>], undefined>>;
448
+ };
449
+ readonly id: "messages";
450
+ readonly indexes: readonly [{
451
+ readonly attributes: readonly ["threadAssignmentKey", "sentAt"];
452
+ readonly name: "assignment_thread_sent";
453
+ readonly type: "key";
454
+ }, {
455
+ readonly attributes: readonly ["accountAssignmentKey", "providerId"];
456
+ readonly name: "assignment_account_provider_unique";
457
+ readonly type: "unique";
458
+ }, {
459
+ readonly attributes: readonly ["accountAssignmentKey", "rfcMessageId"];
460
+ readonly name: "assignment_account_rfc_message";
461
+ readonly type: "key";
462
+ }];
463
+ readonly key: "messages";
464
+ readonly name: "Messages";
465
+ };
466
+ threadAliases: {
467
+ readonly fields: {
468
+ readonly aliasAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
469
+ readonly latestMessageAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
470
+ readonly threadAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
471
+ readonly alias: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
472
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
473
+ }, undefined>, v.TransformAction<{
474
+ $id: string;
475
+ }, string>]>], undefined>>;
476
+ readonly thread: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
477
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
478
+ }, undefined>, v.TransformAction<{
479
+ $id: string;
480
+ }, string>]>], undefined>>;
481
+ };
482
+ readonly id: "thread_aliases";
483
+ readonly indexes: readonly [{
484
+ readonly attributes: readonly ["threadAssignmentKey", "aliasAssignmentKey"];
485
+ readonly name: "assignment_thread_alias_unique";
486
+ readonly type: "unique";
487
+ }, {
488
+ readonly attributes: readonly ["aliasAssignmentKey", "latestMessageAt"];
489
+ readonly name: "assignment_alias_latest";
490
+ readonly type: "key";
491
+ }];
492
+ readonly key: "threadAliases";
493
+ readonly name: "Thread aliases";
494
+ };
495
+ threadLabels: {
496
+ readonly fields: {
497
+ readonly labelAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
498
+ readonly latestMessageAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
499
+ readonly locationCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
500
+ readonly threadAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
501
+ readonly label: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
502
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
503
+ }, undefined>, v.TransformAction<{
504
+ $id: string;
505
+ }, string>]>], undefined>>;
506
+ readonly thread: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
507
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
508
+ }, undefined>, v.TransformAction<{
509
+ $id: string;
510
+ }, string>]>], undefined>>;
511
+ };
512
+ readonly id: "thread_labels";
513
+ readonly indexes: readonly [{
514
+ readonly attributes: readonly ["threadAssignmentKey", "labelAssignmentKey"];
515
+ readonly name: "assignment_thread_label_unique";
516
+ readonly type: "unique";
517
+ }, {
518
+ readonly attributes: readonly ["labelAssignmentKey", "latestMessageAt"];
519
+ readonly name: "assignment_label_latest";
520
+ readonly type: "key";
521
+ }];
522
+ readonly key: "threadLabels";
523
+ readonly name: "Thread labels";
524
+ };
525
+ threads: {
526
+ readonly fields: {
527
+ readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
528
+ readonly providerId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
529
+ readonly subject: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
530
+ readonly firstMessageAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
531
+ readonly senderEmail: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>, v.MaxLengthAction<string, 320, undefined>]>, undefined>, undefined>>;
532
+ readonly senderName: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
533
+ readonly preview: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
534
+ readonly participants: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
535
+ readonly labelIds: import("./shared").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
536
+ readonly latestMessageAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
537
+ readonly latestMessageId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
538
+ readonly messageCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
539
+ readonly hasAttachments: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
540
+ readonly unseenLocationCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
541
+ readonly flaggedLocationCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
542
+ readonly seen: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
543
+ readonly flagged: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
544
+ readonly archived: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
545
+ readonly spam: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
546
+ readonly trashed: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
547
+ readonly snoozedUntil: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
548
+ readonly revision: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
549
+ readonly searchText: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
550
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
551
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
552
+ }, undefined>, v.TransformAction<{
553
+ $id: string;
554
+ }, string>]>], undefined>>;
555
+ };
556
+ readonly id: "threads";
557
+ readonly indexes: readonly [{
558
+ readonly attributes: readonly ["accountAssignmentKey", "providerId"];
559
+ readonly name: "assignment_account_provider_unique";
560
+ readonly type: "unique";
561
+ }, {
562
+ readonly attributes: readonly ["accountAssignmentKey", "latestMessageAt"];
563
+ readonly name: "assignment_account_latest";
564
+ readonly type: "key";
565
+ }, {
566
+ readonly attributes: readonly ["accountAssignmentKey", "seen", "latestMessageAt"];
567
+ readonly name: "assignment_account_seen_latest";
568
+ readonly type: "key";
569
+ }, {
570
+ readonly attributes: readonly ["accountAssignmentKey", "flagged", "latestMessageAt"];
571
+ readonly name: "assignment_account_flagged_latest";
572
+ readonly type: "key";
573
+ }, {
574
+ readonly attributes: readonly ["accountAssignmentKey", "snoozedUntil", "latestMessageAt"];
575
+ readonly name: "assignment_account_snoozed_latest";
576
+ readonly type: "key";
577
+ }, {
578
+ readonly attributes: readonly ["snoozedUntil"];
579
+ readonly name: "snoozed_due";
580
+ readonly type: "key";
581
+ }, {
582
+ readonly attributes: readonly ["accountAssignmentKey", "archived", "latestMessageAt"];
583
+ readonly name: "assignment_account_archived_latest";
584
+ readonly type: "key";
585
+ }, {
586
+ readonly attributes: readonly ["accountAssignmentKey", "spam", "latestMessageAt"];
587
+ readonly name: "assignment_account_spam_latest";
588
+ readonly type: "key";
589
+ }, {
590
+ readonly attributes: readonly ["accountAssignmentKey", "trashed", "latestMessageAt"];
591
+ readonly name: "assignment_account_trashed_latest";
592
+ readonly type: "key";
593
+ }, {
594
+ readonly attributes: readonly ["searchText"];
595
+ readonly name: "search";
596
+ readonly type: "fulltext";
597
+ }];
598
+ readonly key: "threads";
599
+ readonly name: "Threads";
600
+ };
601
+ accounts: {
602
+ readonly fields: {
603
+ readonly profileAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
604
+ readonly provider: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
605
+ readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["AWAITING_CONNECTION", "CONNECTED", "ERROR", "DISCONNECTED"], undefined>>;
606
+ readonly primaryEmail: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
607
+ readonly displayName: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
608
+ readonly colour: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 64, undefined>]>>;
609
+ readonly pollShardAssignmentId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
610
+ readonly pollShardId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
611
+ readonly lastSuccessfulSyncAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
612
+ readonly lastErrorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
613
+ readonly mailProcessedCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
614
+ readonly mailTotalCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
615
+ readonly initialSyncCompletedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
616
+ readonly credential: import("./shared").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
617
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
618
+ }, undefined>, v.TransformAction<{
619
+ $id: string;
620
+ }, string>]>], undefined>, undefined>>;
621
+ readonly mailboxSyncState: import("./shared").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
622
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
623
+ }, undefined>, v.TransformAction<{
624
+ $id: string;
625
+ }, string>]>], undefined>, undefined>>;
626
+ readonly primaryAlias: import("./shared").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
627
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
628
+ }, undefined>, v.TransformAction<{
629
+ $id: string;
630
+ }, string>]>], undefined>, undefined>>;
631
+ readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
632
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
633
+ }, undefined>, v.TransformAction<{
634
+ $id: string;
635
+ }, string>]>], undefined>>;
636
+ };
637
+ readonly id: "accounts";
638
+ readonly indexes: readonly [{
639
+ readonly attributes: readonly ["profileAssignmentKey"];
640
+ readonly name: "assignment_profile";
641
+ readonly type: "key";
642
+ }, {
643
+ readonly attributes: readonly ["profileAssignmentKey", "state"];
644
+ readonly name: "assignment_profile_state";
645
+ readonly type: "key";
646
+ }, {
647
+ readonly attributes: readonly ["state"];
648
+ readonly name: "state";
649
+ readonly type: "key";
650
+ }, {
651
+ readonly attributes: readonly ["state", "pollShardAssignmentId"];
652
+ readonly name: "state_poll_shard_assignment";
653
+ readonly type: "key";
654
+ }, {
655
+ readonly attributes: readonly ["pollShardAssignmentId"];
656
+ readonly name: "poll_shard_assignment";
657
+ readonly type: "key";
658
+ }, {
659
+ readonly attributes: readonly ["pollShardId"];
660
+ readonly name: "poll_shard";
661
+ readonly type: "key";
662
+ }];
663
+ readonly key: "accounts";
664
+ readonly name: "Accounts";
665
+ };
666
+ aliases: {
667
+ readonly fields: {
668
+ readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
669
+ readonly providerId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
670
+ readonly email: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
671
+ readonly name: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
672
+ readonly signature: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
673
+ readonly isPrimary: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
674
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
675
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
676
+ }, undefined>, v.TransformAction<{
677
+ $id: string;
678
+ }, string>]>], undefined>>;
679
+ };
680
+ readonly id: "aliases";
681
+ readonly indexes: readonly [{
682
+ readonly attributes: readonly ["accountAssignmentKey"];
683
+ readonly name: "assignment_account";
684
+ readonly type: "key";
685
+ }, {
686
+ readonly attributes: readonly ["accountAssignmentKey", "providerId"];
687
+ readonly name: "assignment_account_provider_unique";
688
+ readonly type: "unique";
689
+ }];
690
+ readonly key: "aliases";
691
+ readonly name: "Aliases";
692
+ };
693
+ credentials: {
694
+ readonly fields: {
695
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
696
+ readonly accountId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
697
+ readonly provider: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
698
+ readonly encryptedPayload: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
699
+ readonly expiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
700
+ readonly refreshLeaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
701
+ readonly refreshLeaseId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
702
+ };
703
+ readonly id: "credentials";
704
+ readonly indexes: readonly [{
705
+ readonly attributes: readonly ["userId"];
706
+ readonly name: "user";
707
+ readonly type: "key";
708
+ }, {
709
+ readonly attributes: readonly ["accountId"];
710
+ readonly name: "account_unique";
711
+ readonly type: "unique";
712
+ }];
713
+ readonly key: "credentials";
714
+ readonly name: "Credentials";
715
+ };
716
+ labels: {
717
+ readonly fields: {
718
+ readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
719
+ readonly providerId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
720
+ readonly name: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
721
+ readonly path: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
722
+ readonly specialUse: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
723
+ readonly totalCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
724
+ readonly unreadCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
725
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
726
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
727
+ }, undefined>, v.TransformAction<{
728
+ $id: string;
729
+ }, string>]>], undefined>>;
730
+ };
731
+ readonly id: "labels";
732
+ readonly indexes: readonly [{
733
+ readonly attributes: readonly ["accountAssignmentKey", "specialUse"];
734
+ readonly name: "assignment_account_special_use";
735
+ readonly type: "key";
736
+ }, {
737
+ readonly attributes: readonly ["accountAssignmentKey", "path"];
738
+ readonly name: "assignment_account_path_unique";
739
+ readonly type: "unique";
740
+ }, {
741
+ readonly attributes: readonly ["accountAssignmentKey", "providerId"];
742
+ readonly name: "assignment_account_provider_unique";
743
+ readonly type: "unique";
744
+ }];
745
+ readonly key: "labels";
746
+ readonly name: "Labels";
747
+ };
748
+ oauthStates: {
749
+ readonly fields: {
750
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
751
+ readonly accountId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
752
+ readonly email: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
753
+ readonly expiresAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
754
+ readonly nonceHash: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
755
+ readonly operation: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["CONNECT", "REPLACE"], undefined>>;
756
+ readonly provider: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK"], undefined>>;
757
+ readonly returnUri: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["https://app.marcoapp.io/onboarding/loading"], undefined>>;
758
+ readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
759
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
760
+ }, undefined>, v.TransformAction<{
761
+ $id: string;
762
+ }, string>]>], undefined>>;
763
+ };
764
+ readonly id: "oauth_states";
765
+ readonly indexes: readonly [];
766
+ readonly key: "oauthStates";
767
+ readonly name: "OAuth states";
768
+ };
769
+ profileAvatarCleanups: {
770
+ readonly fields: {
771
+ readonly fileId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
772
+ readonly claimId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
773
+ readonly claimedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
774
+ readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
775
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
776
+ }, undefined>, v.TransformAction<{
777
+ $id: string;
778
+ }, string>]>], undefined>>;
779
+ };
780
+ readonly id: "profile_avatar_cleanups";
781
+ readonly indexes: readonly [];
782
+ readonly key: "profileAvatarCleanups";
783
+ readonly name: "Profile avatar cleanups";
784
+ readonly wirePermissions: "empty";
785
+ };
786
+ profiles: {
787
+ readonly fields: {
788
+ readonly email: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
789
+ readonly avatarFileId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>, undefined>>;
790
+ readonly deletionRequestedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
791
+ readonly name: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
792
+ readonly onboardingState: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
793
+ readonly timezone: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
794
+ };
795
+ readonly id: "profiles";
796
+ readonly indexes: readonly [{
797
+ readonly attributes: readonly ["email"];
798
+ readonly name: "email_unique";
799
+ readonly type: "unique";
800
+ }];
801
+ readonly key: "profiles";
802
+ readonly name: "Profiles";
803
+ };
804
+ savedViews: {
805
+ readonly fields: {
806
+ readonly name: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
807
+ readonly icon: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
808
+ readonly aliasIds: import("./shared").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
809
+ readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
810
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
811
+ }, undefined>, v.TransformAction<{
812
+ $id: string;
813
+ }, string>]>], undefined>>;
814
+ };
815
+ readonly id: "saved_views";
816
+ readonly indexes: readonly [];
817
+ readonly key: "savedViews";
818
+ readonly name: "Saved views";
819
+ };
820
+ }>;
821
+ export declare const appwriteTables: {
822
+ accounts: import("node_modules/type-fest/source/readonly-deep")._ReadonlyObjectDeep<{
823
+ columns: readonly AppwriteColumnDefinition[];
824
+ id: string;
825
+ indexes: readonly import("./shared").AppwriteIndexDefinition[];
826
+ key: AppwriteTableKey;
827
+ name: string;
828
+ relationships: readonly import("./shared").AppwriteRelationshipDefinition[];
829
+ }>;
830
+ aliases: import("node_modules/type-fest/source/readonly-deep")._ReadonlyObjectDeep<{
831
+ columns: readonly AppwriteColumnDefinition[];
832
+ id: string;
833
+ indexes: readonly import("./shared").AppwriteIndexDefinition[];
834
+ key: AppwriteTableKey;
835
+ name: string;
836
+ relationships: readonly import("./shared").AppwriteRelationshipDefinition[];
837
+ }>;
838
+ contacts: import("node_modules/type-fest/source/readonly-deep")._ReadonlyObjectDeep<{
839
+ columns: readonly AppwriteColumnDefinition[];
840
+ id: string;
841
+ indexes: readonly import("./shared").AppwriteIndexDefinition[];
842
+ key: AppwriteTableKey;
843
+ name: string;
844
+ relationships: readonly import("./shared").AppwriteRelationshipDefinition[];
845
+ }>;
846
+ credentials: import("node_modules/type-fest/source/readonly-deep")._ReadonlyObjectDeep<{
847
+ columns: readonly AppwriteColumnDefinition[];
848
+ id: string;
849
+ indexes: readonly import("./shared").AppwriteIndexDefinition[];
850
+ key: AppwriteTableKey;
851
+ name: string;
852
+ relationships: readonly import("./shared").AppwriteRelationshipDefinition[];
853
+ }>;
854
+ drafts: import("node_modules/type-fest/source/readonly-deep")._ReadonlyObjectDeep<{
855
+ columns: readonly AppwriteColumnDefinition[];
856
+ id: string;
857
+ indexes: readonly import("./shared").AppwriteIndexDefinition[];
858
+ key: AppwriteTableKey;
859
+ name: string;
860
+ relationships: readonly import("./shared").AppwriteRelationshipDefinition[];
861
+ }>;
862
+ labels: import("node_modules/type-fest/source/readonly-deep")._ReadonlyObjectDeep<{
863
+ columns: readonly AppwriteColumnDefinition[];
864
+ id: string;
865
+ indexes: readonly import("./shared").AppwriteIndexDefinition[];
866
+ key: AppwriteTableKey;
867
+ name: string;
868
+ relationships: readonly import("./shared").AppwriteRelationshipDefinition[];
869
+ }>;
870
+ messages: import("node_modules/type-fest/source/readonly-deep")._ReadonlyObjectDeep<{
871
+ columns: readonly AppwriteColumnDefinition[];
872
+ id: string;
873
+ indexes: readonly import("./shared").AppwriteIndexDefinition[];
874
+ key: AppwriteTableKey;
875
+ name: string;
876
+ relationships: readonly import("./shared").AppwriteRelationshipDefinition[];
877
+ }>;
878
+ profiles: import("node_modules/type-fest/source/readonly-deep")._ReadonlyObjectDeep<{
879
+ columns: readonly AppwriteColumnDefinition[];
880
+ id: string;
881
+ indexes: readonly import("./shared").AppwriteIndexDefinition[];
882
+ key: AppwriteTableKey;
883
+ name: string;
884
+ relationships: readonly import("./shared").AppwriteRelationshipDefinition[];
885
+ }>;
886
+ threads: import("node_modules/type-fest/source/readonly-deep")._ReadonlyObjectDeep<{
887
+ columns: readonly AppwriteColumnDefinition[];
888
+ id: string;
889
+ indexes: readonly import("./shared").AppwriteIndexDefinition[];
890
+ key: AppwriteTableKey;
891
+ name: string;
892
+ relationships: readonly import("./shared").AppwriteRelationshipDefinition[];
893
+ }>;
894
+ commands: import("node_modules/type-fest/source/readonly-deep")._ReadonlyObjectDeep<{
895
+ columns: readonly AppwriteColumnDefinition[];
896
+ id: string;
897
+ indexes: readonly import("./shared").AppwriteIndexDefinition[];
898
+ key: AppwriteTableKey;
899
+ name: string;
900
+ relationships: readonly import("./shared").AppwriteRelationshipDefinition[];
901
+ }>;
902
+ jobs: import("node_modules/type-fest/source/readonly-deep")._ReadonlyObjectDeep<{
903
+ columns: readonly AppwriteColumnDefinition[];
904
+ id: string;
905
+ indexes: readonly import("./shared").AppwriteIndexDefinition[];
906
+ key: AppwriteTableKey;
907
+ name: string;
908
+ relationships: readonly import("./shared").AppwriteRelationshipDefinition[];
909
+ }>;
910
+ mailboxSyncCandidates: import("node_modules/type-fest/source/readonly-deep")._ReadonlyObjectDeep<{
911
+ columns: readonly AppwriteColumnDefinition[];
912
+ id: string;
913
+ indexes: readonly import("./shared").AppwriteIndexDefinition[];
914
+ key: AppwriteTableKey;
915
+ name: string;
916
+ relationships: readonly import("./shared").AppwriteRelationshipDefinition[];
917
+ }>;
918
+ mailboxSyncLanes: import("node_modules/type-fest/source/readonly-deep")._ReadonlyObjectDeep<{
919
+ columns: readonly AppwriteColumnDefinition[];
920
+ id: string;
921
+ indexes: readonly import("./shared").AppwriteIndexDefinition[];
922
+ key: AppwriteTableKey;
923
+ name: string;
924
+ relationships: readonly import("./shared").AppwriteRelationshipDefinition[];
925
+ }>;
926
+ mailboxSyncStates: import("node_modules/type-fest/source/readonly-deep")._ReadonlyObjectDeep<{
927
+ columns: readonly AppwriteColumnDefinition[];
928
+ id: string;
929
+ indexes: readonly import("./shared").AppwriteIndexDefinition[];
930
+ key: AppwriteTableKey;
931
+ name: string;
932
+ relationships: readonly import("./shared").AppwriteRelationshipDefinition[];
933
+ }>;
934
+ messageLocations: import("node_modules/type-fest/source/readonly-deep")._ReadonlyObjectDeep<{
935
+ columns: readonly AppwriteColumnDefinition[];
936
+ id: string;
937
+ indexes: readonly import("./shared").AppwriteIndexDefinition[];
938
+ key: AppwriteTableKey;
939
+ name: string;
940
+ relationships: readonly import("./shared").AppwriteRelationshipDefinition[];
941
+ }>;
942
+ oauthStates: import("node_modules/type-fest/source/readonly-deep")._ReadonlyObjectDeep<{
943
+ columns: readonly AppwriteColumnDefinition[];
944
+ id: string;
945
+ indexes: readonly import("./shared").AppwriteIndexDefinition[];
946
+ key: AppwriteTableKey;
947
+ name: string;
948
+ relationships: readonly import("./shared").AppwriteRelationshipDefinition[];
949
+ }>;
950
+ pollShardCoordinators: import("node_modules/type-fest/source/readonly-deep")._ReadonlyObjectDeep<{
951
+ columns: readonly AppwriteColumnDefinition[];
952
+ id: string;
953
+ indexes: readonly import("./shared").AppwriteIndexDefinition[];
954
+ key: AppwriteTableKey;
955
+ name: string;
956
+ relationships: readonly import("./shared").AppwriteRelationshipDefinition[];
957
+ }>;
958
+ pollShards: import("node_modules/type-fest/source/readonly-deep")._ReadonlyObjectDeep<{
959
+ columns: readonly AppwriteColumnDefinition[];
960
+ id: string;
961
+ indexes: readonly import("./shared").AppwriteIndexDefinition[];
962
+ key: AppwriteTableKey;
963
+ name: string;
964
+ relationships: readonly import("./shared").AppwriteRelationshipDefinition[];
965
+ }>;
966
+ profileAvatarCleanups: import("node_modules/type-fest/source/readonly-deep")._ReadonlyObjectDeep<{
967
+ columns: readonly AppwriteColumnDefinition[];
968
+ id: string;
969
+ indexes: readonly import("./shared").AppwriteIndexDefinition[];
970
+ key: AppwriteTableKey;
971
+ name: string;
972
+ relationships: readonly import("./shared").AppwriteRelationshipDefinition[];
973
+ }>;
974
+ pushNotificationTokens: import("node_modules/type-fest/source/readonly-deep")._ReadonlyObjectDeep<{
975
+ columns: readonly AppwriteColumnDefinition[];
976
+ id: string;
977
+ indexes: readonly import("./shared").AppwriteIndexDefinition[];
978
+ key: AppwriteTableKey;
979
+ name: string;
980
+ relationships: readonly import("./shared").AppwriteRelationshipDefinition[];
981
+ }>;
982
+ savedViews: import("node_modules/type-fest/source/readonly-deep")._ReadonlyObjectDeep<{
983
+ columns: readonly AppwriteColumnDefinition[];
984
+ id: string;
985
+ indexes: readonly import("./shared").AppwriteIndexDefinition[];
986
+ key: AppwriteTableKey;
987
+ name: string;
988
+ relationships: readonly import("./shared").AppwriteRelationshipDefinition[];
989
+ }>;
990
+ threadAliases: import("node_modules/type-fest/source/readonly-deep")._ReadonlyObjectDeep<{
991
+ columns: readonly AppwriteColumnDefinition[];
992
+ id: string;
993
+ indexes: readonly import("./shared").AppwriteIndexDefinition[];
994
+ key: AppwriteTableKey;
995
+ name: string;
996
+ relationships: readonly import("./shared").AppwriteRelationshipDefinition[];
997
+ }>;
998
+ threadLabels: import("node_modules/type-fest/source/readonly-deep")._ReadonlyObjectDeep<{
999
+ columns: readonly AppwriteColumnDefinition[];
1000
+ id: string;
1001
+ indexes: readonly import("./shared").AppwriteIndexDefinition[];
1002
+ key: AppwriteTableKey;
1003
+ name: string;
1004
+ relationships: readonly import("./shared").AppwriteRelationshipDefinition[];
1005
+ }>;
1006
+ };
1007
+ export declare const appwriteDataSchemas: {
1008
+ accounts: AppwriteObjectSchema<{
1009
+ readonly profileAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1010
+ readonly provider: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
1011
+ readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["AWAITING_CONNECTION", "CONNECTED", "ERROR", "DISCONNECTED"], undefined>>;
1012
+ readonly primaryEmail: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
1013
+ readonly displayName: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1014
+ readonly colour: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 64, undefined>]>>;
1015
+ readonly pollShardAssignmentId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1016
+ readonly pollShardId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1017
+ readonly lastSuccessfulSyncAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1018
+ readonly lastErrorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1019
+ readonly mailProcessedCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1020
+ readonly mailTotalCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1021
+ readonly initialSyncCompletedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1022
+ readonly credential: import("./shared").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1023
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1024
+ }, undefined>, v.TransformAction<{
1025
+ $id: string;
1026
+ }, string>]>], undefined>, undefined>>;
1027
+ readonly mailboxSyncState: import("./shared").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1028
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1029
+ }, undefined>, v.TransformAction<{
1030
+ $id: string;
1031
+ }, string>]>], undefined>, undefined>>;
1032
+ readonly primaryAlias: import("./shared").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1033
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1034
+ }, undefined>, v.TransformAction<{
1035
+ $id: string;
1036
+ }, string>]>], undefined>, undefined>>;
1037
+ readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1038
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1039
+ }, undefined>, v.TransformAction<{
1040
+ $id: string;
1041
+ }, string>]>], undefined>>;
1042
+ }>;
1043
+ aliases: AppwriteObjectSchema<{
1044
+ readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1045
+ readonly providerId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1046
+ readonly email: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
1047
+ readonly name: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1048
+ readonly signature: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1049
+ readonly isPrimary: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1050
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1051
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1052
+ }, undefined>, v.TransformAction<{
1053
+ $id: string;
1054
+ }, string>]>], undefined>>;
1055
+ }>;
1056
+ contacts: AppwriteObjectSchema<{
1057
+ readonly normalisedAddress: import("./shared").AppwriteColumnSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>, v.MaxLengthAction<string, 320, undefined>]>, undefined>>;
1058
+ readonly displayName: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1059
+ readonly lastContactedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1060
+ readonly messageCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1061
+ readonly profileAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1062
+ readonly searchText: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
1063
+ readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1064
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1065
+ }, undefined>, v.TransformAction<{
1066
+ $id: string;
1067
+ }, string>]>], undefined>>;
1068
+ }>;
1069
+ credentials: AppwriteObjectSchema<{
1070
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1071
+ readonly accountId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1072
+ readonly provider: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
1073
+ readonly encryptedPayload: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
1074
+ readonly expiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1075
+ readonly refreshLeaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1076
+ readonly refreshLeaseId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1077
+ }>;
1078
+ drafts: AppwriteObjectSchema<{
1079
+ readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1080
+ readonly type: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["COMPOSE", "REPLY", "FORWARD"], undefined>>;
1081
+ readonly envelope: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
1082
+ readonly html: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
1083
+ readonly attachmentMetadata: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
1084
+ readonly contentHash: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1085
+ readonly scheduledAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1086
+ readonly status: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["DRAFT", "SCHEDULED", "SENDING", "SENT", "FAILED", "CANCELLED"], undefined>>;
1087
+ readonly revision: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1088
+ readonly sequence: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1089
+ readonly executionLeaseId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1090
+ readonly executionLeaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1091
+ readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1092
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1093
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1094
+ }, undefined>, v.TransformAction<{
1095
+ $id: string;
1096
+ }, string>]>], undefined>>;
1097
+ readonly fromAlias: import("./shared").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1098
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1099
+ }, undefined>, v.TransformAction<{
1100
+ $id: string;
1101
+ }, string>]>], undefined>, undefined>>;
1102
+ readonly referencedMessage: import("./shared").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1103
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1104
+ }, undefined>, v.TransformAction<{
1105
+ $id: string;
1106
+ }, string>]>], undefined>, undefined>>;
1107
+ }>;
1108
+ labels: AppwriteObjectSchema<{
1109
+ readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1110
+ readonly providerId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1111
+ readonly name: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1112
+ readonly path: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1113
+ readonly specialUse: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
1114
+ readonly totalCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1115
+ readonly unreadCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1116
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1117
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1118
+ }, undefined>, v.TransformAction<{
1119
+ $id: string;
1120
+ }, string>]>], undefined>>;
1121
+ }>;
1122
+ messages: AppwriteObjectSchema<{
1123
+ readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1124
+ readonly providerId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1125
+ readonly rfcMessageId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1126
+ readonly sender: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1127
+ readonly senderName: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1128
+ readonly recipients: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1129
+ readonly sentAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1130
+ readonly receivedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1131
+ readonly preview: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1132
+ readonly attachmentMetadata: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
1133
+ readonly htmlFileId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1134
+ readonly rawFileId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1135
+ readonly size: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1136
+ readonly subject: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1137
+ readonly revision: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1138
+ readonly threadAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1139
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1140
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1141
+ }, undefined>, v.TransformAction<{
1142
+ $id: string;
1143
+ }, string>]>], undefined>>;
1144
+ readonly thread: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1145
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1146
+ }, undefined>, v.TransformAction<{
1147
+ $id: string;
1148
+ }, string>]>], undefined>>;
1149
+ }>;
1150
+ profiles: AppwriteObjectSchema<{
1151
+ readonly email: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
1152
+ readonly avatarFileId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>, undefined>>;
1153
+ readonly deletionRequestedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1154
+ readonly name: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1155
+ readonly onboardingState: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1156
+ readonly timezone: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1157
+ }>;
1158
+ threads: AppwriteObjectSchema<{
1159
+ readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1160
+ readonly providerId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1161
+ readonly subject: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1162
+ readonly firstMessageAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1163
+ readonly senderEmail: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>, v.MaxLengthAction<string, 320, undefined>]>, undefined>, undefined>>;
1164
+ readonly senderName: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1165
+ readonly preview: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1166
+ readonly participants: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1167
+ readonly labelIds: import("./shared").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1168
+ readonly latestMessageAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1169
+ readonly latestMessageId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1170
+ readonly messageCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1171
+ readonly hasAttachments: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1172
+ readonly unseenLocationCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1173
+ readonly flaggedLocationCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1174
+ readonly seen: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1175
+ readonly flagged: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1176
+ readonly archived: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1177
+ readonly spam: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1178
+ readonly trashed: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1179
+ readonly snoozedUntil: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1180
+ readonly revision: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1181
+ readonly searchText: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1182
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1183
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1184
+ }, undefined>, v.TransformAction<{
1185
+ $id: string;
1186
+ }, string>]>], undefined>>;
1187
+ }>;
1188
+ commands: AppwriteObjectSchema<{
1189
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1190
+ readonly accountId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1191
+ readonly draftId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1192
+ readonly kind: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1193
+ readonly payload: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
1194
+ readonly payloadHash: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1195
+ readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACCEPTED", "RUNNING", "SUCCEEDED", "FAILED"], undefined>>;
1196
+ readonly attempts: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1197
+ readonly canonicalRevision: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>>;
1198
+ readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1199
+ readonly submittedAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1200
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1201
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1202
+ }, undefined>, v.TransformAction<{
1203
+ $id: string;
1204
+ }, string>]>], undefined>, undefined>>;
1205
+ readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1206
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1207
+ }, undefined>, v.TransformAction<{
1208
+ $id: string;
1209
+ }, string>]>], undefined>>;
1210
+ }>;
1211
+ jobs: AppwriteObjectSchema<{
1212
+ readonly commandId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1213
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1214
+ readonly accountId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1215
+ readonly kind: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1216
+ readonly payload: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
1217
+ readonly dedupeKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1218
+ readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED"], undefined>>;
1219
+ readonly attempts: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1220
+ readonly maxAttempts: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1221
+ readonly nextRunAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1222
+ readonly leaseId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1223
+ readonly leaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1224
+ readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1225
+ }>;
1226
+ mailboxSyncCandidates: AppwriteObjectSchema<{
1227
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1228
+ readonly accountId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1229
+ readonly generation: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1230
+ readonly lane: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
1231
+ readonly labelId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1232
+ readonly mailboxPath: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1233
+ readonly mailboxPriority: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1234
+ readonly mailboxSortKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 257, undefined>]>>;
1235
+ readonly providerId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1236
+ readonly receivedAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1237
+ readonly specialUse: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
1238
+ readonly uid: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
1239
+ readonly uidValidity: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
1240
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1241
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1242
+ }, undefined>, v.TransformAction<{
1243
+ $id: string;
1244
+ }, string>]>], undefined>>;
1245
+ readonly label: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1246
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1247
+ }, undefined>, v.TransformAction<{
1248
+ $id: string;
1249
+ }, string>]>], undefined>>;
1250
+ }>;
1251
+ mailboxSyncLanes: AppwriteObjectSchema<{
1252
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1253
+ readonly accountId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1254
+ readonly commandId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1255
+ readonly cursor: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1256
+ readonly generation: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1257
+ readonly lane: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
1258
+ readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "COMPLETED", "FAILED"], undefined>>;
1259
+ readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1260
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1261
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1262
+ }, undefined>, v.TransformAction<{
1263
+ $id: string;
1264
+ }, string>]>], undefined>>;
1265
+ }>;
1266
+ mailboxSyncStates: AppwriteObjectSchema<{
1267
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1268
+ readonly accountId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1269
+ readonly provider: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
1270
+ readonly providerCursor: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1271
+ readonly uidValidity: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1272
+ readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["INITIAL", "SYNCING", "CURRENT", "ERROR"], undefined>>;
1273
+ readonly nextPollAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1274
+ readonly lastEventAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1275
+ readonly lastSyncAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1276
+ readonly materialisationLeaseId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1277
+ readonly materialisationLeaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1278
+ readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1279
+ }>;
1280
+ messageLocations: AppwriteCheckedObjectSchema<{
1281
+ readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1282
+ readonly flagged: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1283
+ readonly labelAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1284
+ readonly messageAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1285
+ readonly seen: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1286
+ readonly threadAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1287
+ readonly uid: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
1288
+ readonly uidValidity: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
1289
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1290
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1291
+ }, undefined>, v.TransformAction<{
1292
+ $id: string;
1293
+ }, string>]>], undefined>>;
1294
+ readonly label: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1295
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1296
+ }, undefined>, v.TransformAction<{
1297
+ $id: string;
1298
+ }, string>]>], undefined>>;
1299
+ readonly message: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1300
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1301
+ }, undefined>, v.TransformAction<{
1302
+ $id: string;
1303
+ }, string>]>], undefined>>;
1304
+ readonly thread: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1305
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1306
+ }, undefined>, v.TransformAction<{
1307
+ $id: string;
1308
+ }, string>]>], undefined>>;
1309
+ }>;
1310
+ oauthStates: AppwriteObjectSchema<{
1311
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1312
+ readonly accountId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1313
+ readonly email: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
1314
+ readonly expiresAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1315
+ readonly nonceHash: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1316
+ readonly operation: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["CONNECT", "REPLACE"], undefined>>;
1317
+ readonly provider: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK"], undefined>>;
1318
+ readonly returnUri: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["https://app.marcoapp.io/onboarding/loading"], undefined>>;
1319
+ readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1320
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1321
+ }, undefined>, v.TransformAction<{
1322
+ $id: string;
1323
+ }, string>]>], undefined>>;
1324
+ }>;
1325
+ pollShardCoordinators: AppwriteObjectSchema<{
1326
+ readonly accountCursor: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1327
+ }>;
1328
+ pollShards: AppwriteObjectSchema<{
1329
+ readonly accountIds: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>>;
1330
+ readonly generation: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1331
+ readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACTIVE", "STOPPED", "FAILED"], undefined>>;
1332
+ readonly leaseId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1333
+ readonly leaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1334
+ readonly lastStartedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1335
+ readonly nextStartAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1336
+ readonly pollingSnapshot: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
1337
+ readonly scheduledExecutionId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1338
+ readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1339
+ }>;
1340
+ profileAvatarCleanups: AppwriteObjectSchema<{
1341
+ readonly fileId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1342
+ readonly claimId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1343
+ readonly claimedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1344
+ readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1345
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1346
+ }, undefined>, v.TransformAction<{
1347
+ $id: string;
1348
+ }, string>]>], undefined>>;
1349
+ }>;
1350
+ pushNotificationTokens: AppwriteObjectSchema<{
1351
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1352
+ readonly token: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1353
+ readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1354
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1355
+ }, undefined>, v.TransformAction<{
1356
+ $id: string;
1357
+ }, string>]>], undefined>>;
1358
+ }>;
1359
+ savedViews: AppwriteObjectSchema<{
1360
+ readonly name: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1361
+ readonly icon: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1362
+ readonly aliasIds: import("./shared").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1363
+ readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1364
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1365
+ }, undefined>, v.TransformAction<{
1366
+ $id: string;
1367
+ }, string>]>], undefined>>;
1368
+ }>;
1369
+ threadAliases: AppwriteObjectSchema<{
1370
+ readonly aliasAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1371
+ readonly latestMessageAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1372
+ readonly threadAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1373
+ readonly alias: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1374
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1375
+ }, undefined>, v.TransformAction<{
1376
+ $id: string;
1377
+ }, string>]>], undefined>>;
1378
+ readonly thread: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1379
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1380
+ }, undefined>, v.TransformAction<{
1381
+ $id: string;
1382
+ }, string>]>], undefined>>;
1383
+ }>;
1384
+ threadLabels: AppwriteObjectSchema<{
1385
+ readonly labelAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1386
+ readonly latestMessageAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1387
+ readonly locationCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1388
+ readonly threadAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1389
+ readonly label: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1390
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1391
+ }, undefined>, v.TransformAction<{
1392
+ $id: string;
1393
+ }, string>]>], undefined>>;
1394
+ readonly thread: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1395
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1396
+ }, undefined>, v.TransformAction<{
1397
+ $id: string;
1398
+ }, string>]>], undefined>>;
1399
+ }>;
1400
+ };
1401
+ export declare const appwriteRowSchemas: {
1402
+ accounts: AppwriteRowSchemaFor<{
1403
+ readonly fields: {
1404
+ readonly profileAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1405
+ readonly provider: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
1406
+ readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["AWAITING_CONNECTION", "CONNECTED", "ERROR", "DISCONNECTED"], undefined>>;
1407
+ readonly primaryEmail: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
1408
+ readonly displayName: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1409
+ readonly colour: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 64, undefined>]>>;
1410
+ readonly pollShardAssignmentId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1411
+ readonly pollShardId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1412
+ readonly lastSuccessfulSyncAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1413
+ readonly lastErrorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1414
+ readonly mailProcessedCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1415
+ readonly mailTotalCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1416
+ readonly initialSyncCompletedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1417
+ readonly credential: import("./shared").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1418
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1419
+ }, undefined>, v.TransformAction<{
1420
+ $id: string;
1421
+ }, string>]>], undefined>, undefined>>;
1422
+ readonly mailboxSyncState: import("./shared").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1423
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1424
+ }, undefined>, v.TransformAction<{
1425
+ $id: string;
1426
+ }, string>]>], undefined>, undefined>>;
1427
+ readonly primaryAlias: import("./shared").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1428
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1429
+ }, undefined>, v.TransformAction<{
1430
+ $id: string;
1431
+ }, string>]>], undefined>, undefined>>;
1432
+ readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1433
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1434
+ }, undefined>, v.TransformAction<{
1435
+ $id: string;
1436
+ }, string>]>], undefined>>;
1437
+ };
1438
+ readonly id: "accounts";
1439
+ readonly indexes: readonly [{
1440
+ readonly attributes: readonly ["profileAssignmentKey"];
1441
+ readonly name: "assignment_profile";
1442
+ readonly type: "key";
1443
+ }, {
1444
+ readonly attributes: readonly ["profileAssignmentKey", "state"];
1445
+ readonly name: "assignment_profile_state";
1446
+ readonly type: "key";
1447
+ }, {
1448
+ readonly attributes: readonly ["state"];
1449
+ readonly name: "state";
1450
+ readonly type: "key";
1451
+ }, {
1452
+ readonly attributes: readonly ["state", "pollShardAssignmentId"];
1453
+ readonly name: "state_poll_shard_assignment";
1454
+ readonly type: "key";
1455
+ }, {
1456
+ readonly attributes: readonly ["pollShardAssignmentId"];
1457
+ readonly name: "poll_shard_assignment";
1458
+ readonly type: "key";
1459
+ }, {
1460
+ readonly attributes: readonly ["pollShardId"];
1461
+ readonly name: "poll_shard";
1462
+ readonly type: "key";
1463
+ }];
1464
+ readonly key: "accounts";
1465
+ readonly name: "Accounts";
1466
+ }>;
1467
+ aliases: AppwriteRowSchemaFor<{
1468
+ readonly fields: {
1469
+ readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1470
+ readonly providerId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1471
+ readonly email: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
1472
+ readonly name: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1473
+ readonly signature: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1474
+ readonly isPrimary: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1475
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1476
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1477
+ }, undefined>, v.TransformAction<{
1478
+ $id: string;
1479
+ }, string>]>], undefined>>;
1480
+ };
1481
+ readonly id: "aliases";
1482
+ readonly indexes: readonly [{
1483
+ readonly attributes: readonly ["accountAssignmentKey"];
1484
+ readonly name: "assignment_account";
1485
+ readonly type: "key";
1486
+ }, {
1487
+ readonly attributes: readonly ["accountAssignmentKey", "providerId"];
1488
+ readonly name: "assignment_account_provider_unique";
1489
+ readonly type: "unique";
1490
+ }];
1491
+ readonly key: "aliases";
1492
+ readonly name: "Aliases";
1493
+ }>;
1494
+ contacts: AppwriteRowSchemaFor<{
1495
+ readonly fields: {
1496
+ readonly normalisedAddress: import("./shared").AppwriteColumnSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>, v.MaxLengthAction<string, 320, undefined>]>, undefined>>;
1497
+ readonly displayName: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1498
+ readonly lastContactedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1499
+ readonly messageCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1500
+ readonly profileAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1501
+ readonly searchText: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
1502
+ readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1503
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1504
+ }, undefined>, v.TransformAction<{
1505
+ $id: string;
1506
+ }, string>]>], undefined>>;
1507
+ };
1508
+ readonly id: "contacts";
1509
+ readonly indexes: readonly [{
1510
+ readonly attributes: readonly ["profileAssignmentKey", "lastContactedAt"];
1511
+ readonly name: "assignment_profile_last_contacted";
1512
+ readonly type: "key";
1513
+ }, {
1514
+ readonly attributes: readonly ["profileAssignmentKey", "normalisedAddress"];
1515
+ readonly name: "assignment_profile_address_unique";
1516
+ readonly type: "unique";
1517
+ }, {
1518
+ readonly attributes: readonly ["searchText"];
1519
+ readonly name: "search";
1520
+ readonly type: "fulltext";
1521
+ }];
1522
+ readonly key: "contacts";
1523
+ readonly name: "Contacts";
1524
+ }>;
1525
+ credentials: AppwriteRowSchemaFor<{
1526
+ readonly fields: {
1527
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1528
+ readonly accountId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1529
+ readonly provider: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
1530
+ readonly encryptedPayload: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
1531
+ readonly expiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1532
+ readonly refreshLeaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1533
+ readonly refreshLeaseId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1534
+ };
1535
+ readonly id: "credentials";
1536
+ readonly indexes: readonly [{
1537
+ readonly attributes: readonly ["userId"];
1538
+ readonly name: "user";
1539
+ readonly type: "key";
1540
+ }, {
1541
+ readonly attributes: readonly ["accountId"];
1542
+ readonly name: "account_unique";
1543
+ readonly type: "unique";
1544
+ }];
1545
+ readonly key: "credentials";
1546
+ readonly name: "Credentials";
1547
+ }>;
1548
+ drafts: AppwriteRowSchemaFor<{
1549
+ readonly fields: {
1550
+ readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1551
+ readonly type: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["COMPOSE", "REPLY", "FORWARD"], undefined>>;
1552
+ readonly envelope: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
1553
+ readonly html: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
1554
+ readonly attachmentMetadata: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
1555
+ readonly contentHash: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1556
+ readonly scheduledAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1557
+ readonly status: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["DRAFT", "SCHEDULED", "SENDING", "SENT", "FAILED", "CANCELLED"], undefined>>;
1558
+ readonly revision: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1559
+ readonly sequence: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1560
+ readonly executionLeaseId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1561
+ readonly executionLeaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1562
+ readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1563
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1564
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1565
+ }, undefined>, v.TransformAction<{
1566
+ $id: string;
1567
+ }, string>]>], undefined>>;
1568
+ readonly fromAlias: import("./shared").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1569
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1570
+ }, undefined>, v.TransformAction<{
1571
+ $id: string;
1572
+ }, string>]>], undefined>, undefined>>;
1573
+ readonly referencedMessage: import("./shared").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1574
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1575
+ }, undefined>, v.TransformAction<{
1576
+ $id: string;
1577
+ }, string>]>], undefined>, undefined>>;
1578
+ };
1579
+ readonly id: "drafts";
1580
+ readonly indexes: readonly [{
1581
+ readonly attributes: readonly ["accountAssignmentKey"];
1582
+ readonly name: "assignment_account";
1583
+ readonly type: "key";
1584
+ }, {
1585
+ readonly attributes: readonly ["accountAssignmentKey", "status"];
1586
+ readonly name: "assignment_account_status";
1587
+ readonly type: "key";
1588
+ }, {
1589
+ readonly attributes: readonly ["scheduledAt"];
1590
+ readonly name: "scheduled";
1591
+ readonly type: "key";
1592
+ }];
1593
+ readonly key: "drafts";
1594
+ readonly name: "Drafts";
1595
+ }>;
1596
+ labels: AppwriteRowSchemaFor<{
1597
+ readonly fields: {
1598
+ readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1599
+ readonly providerId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1600
+ readonly name: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1601
+ readonly path: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1602
+ readonly specialUse: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
1603
+ readonly totalCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1604
+ readonly unreadCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1605
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1606
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1607
+ }, undefined>, v.TransformAction<{
1608
+ $id: string;
1609
+ }, string>]>], undefined>>;
1610
+ };
1611
+ readonly id: "labels";
1612
+ readonly indexes: readonly [{
1613
+ readonly attributes: readonly ["accountAssignmentKey", "specialUse"];
1614
+ readonly name: "assignment_account_special_use";
1615
+ readonly type: "key";
1616
+ }, {
1617
+ readonly attributes: readonly ["accountAssignmentKey", "path"];
1618
+ readonly name: "assignment_account_path_unique";
1619
+ readonly type: "unique";
1620
+ }, {
1621
+ readonly attributes: readonly ["accountAssignmentKey", "providerId"];
1622
+ readonly name: "assignment_account_provider_unique";
1623
+ readonly type: "unique";
1624
+ }];
1625
+ readonly key: "labels";
1626
+ readonly name: "Labels";
1627
+ }>;
1628
+ messages: AppwriteRowSchemaFor<{
1629
+ readonly fields: {
1630
+ readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1631
+ readonly providerId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1632
+ readonly rfcMessageId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1633
+ readonly sender: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1634
+ readonly senderName: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1635
+ readonly recipients: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1636
+ readonly sentAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1637
+ readonly receivedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1638
+ readonly preview: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1639
+ readonly attachmentMetadata: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
1640
+ readonly htmlFileId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1641
+ readonly rawFileId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1642
+ readonly size: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1643
+ readonly subject: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1644
+ readonly revision: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1645
+ readonly threadAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1646
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1647
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1648
+ }, undefined>, v.TransformAction<{
1649
+ $id: string;
1650
+ }, string>]>], undefined>>;
1651
+ readonly thread: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1652
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1653
+ }, undefined>, v.TransformAction<{
1654
+ $id: string;
1655
+ }, string>]>], undefined>>;
1656
+ };
1657
+ readonly id: "messages";
1658
+ readonly indexes: readonly [{
1659
+ readonly attributes: readonly ["threadAssignmentKey", "sentAt"];
1660
+ readonly name: "assignment_thread_sent";
1661
+ readonly type: "key";
1662
+ }, {
1663
+ readonly attributes: readonly ["accountAssignmentKey", "providerId"];
1664
+ readonly name: "assignment_account_provider_unique";
1665
+ readonly type: "unique";
1666
+ }, {
1667
+ readonly attributes: readonly ["accountAssignmentKey", "rfcMessageId"];
1668
+ readonly name: "assignment_account_rfc_message";
1669
+ readonly type: "key";
1670
+ }];
1671
+ readonly key: "messages";
1672
+ readonly name: "Messages";
1673
+ }>;
1674
+ profiles: AppwriteRowSchemaFor<{
1675
+ readonly fields: {
1676
+ readonly email: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
1677
+ readonly avatarFileId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>, undefined>>;
1678
+ readonly deletionRequestedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1679
+ readonly name: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1680
+ readonly onboardingState: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1681
+ readonly timezone: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1682
+ };
1683
+ readonly id: "profiles";
1684
+ readonly indexes: readonly [{
1685
+ readonly attributes: readonly ["email"];
1686
+ readonly name: "email_unique";
1687
+ readonly type: "unique";
1688
+ }];
1689
+ readonly key: "profiles";
1690
+ readonly name: "Profiles";
1691
+ }>;
1692
+ threads: AppwriteRowSchemaFor<{
1693
+ readonly fields: {
1694
+ readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1695
+ readonly providerId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1696
+ readonly subject: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1697
+ readonly firstMessageAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1698
+ readonly senderEmail: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>, v.MaxLengthAction<string, 320, undefined>]>, undefined>, undefined>>;
1699
+ readonly senderName: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1700
+ readonly preview: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1701
+ readonly participants: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1702
+ readonly labelIds: import("./shared").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1703
+ readonly latestMessageAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1704
+ readonly latestMessageId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1705
+ readonly messageCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1706
+ readonly hasAttachments: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1707
+ readonly unseenLocationCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1708
+ readonly flaggedLocationCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1709
+ readonly seen: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1710
+ readonly flagged: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1711
+ readonly archived: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1712
+ readonly spam: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1713
+ readonly trashed: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1714
+ readonly snoozedUntil: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1715
+ readonly revision: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1716
+ readonly searchText: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1717
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1718
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1719
+ }, undefined>, v.TransformAction<{
1720
+ $id: string;
1721
+ }, string>]>], undefined>>;
1722
+ };
1723
+ readonly id: "threads";
1724
+ readonly indexes: readonly [{
1725
+ readonly attributes: readonly ["accountAssignmentKey", "providerId"];
1726
+ readonly name: "assignment_account_provider_unique";
1727
+ readonly type: "unique";
1728
+ }, {
1729
+ readonly attributes: readonly ["accountAssignmentKey", "latestMessageAt"];
1730
+ readonly name: "assignment_account_latest";
1731
+ readonly type: "key";
1732
+ }, {
1733
+ readonly attributes: readonly ["accountAssignmentKey", "seen", "latestMessageAt"];
1734
+ readonly name: "assignment_account_seen_latest";
1735
+ readonly type: "key";
1736
+ }, {
1737
+ readonly attributes: readonly ["accountAssignmentKey", "flagged", "latestMessageAt"];
1738
+ readonly name: "assignment_account_flagged_latest";
1739
+ readonly type: "key";
1740
+ }, {
1741
+ readonly attributes: readonly ["accountAssignmentKey", "snoozedUntil", "latestMessageAt"];
1742
+ readonly name: "assignment_account_snoozed_latest";
1743
+ readonly type: "key";
1744
+ }, {
1745
+ readonly attributes: readonly ["snoozedUntil"];
1746
+ readonly name: "snoozed_due";
1747
+ readonly type: "key";
1748
+ }, {
1749
+ readonly attributes: readonly ["accountAssignmentKey", "archived", "latestMessageAt"];
1750
+ readonly name: "assignment_account_archived_latest";
1751
+ readonly type: "key";
1752
+ }, {
1753
+ readonly attributes: readonly ["accountAssignmentKey", "spam", "latestMessageAt"];
1754
+ readonly name: "assignment_account_spam_latest";
1755
+ readonly type: "key";
1756
+ }, {
1757
+ readonly attributes: readonly ["accountAssignmentKey", "trashed", "latestMessageAt"];
1758
+ readonly name: "assignment_account_trashed_latest";
1759
+ readonly type: "key";
1760
+ }, {
1761
+ readonly attributes: readonly ["searchText"];
1762
+ readonly name: "search";
1763
+ readonly type: "fulltext";
1764
+ }];
1765
+ readonly key: "threads";
1766
+ readonly name: "Threads";
1767
+ }>;
1768
+ commands: AppwriteRowSchemaFor<{
1769
+ readonly fields: {
1770
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1771
+ readonly accountId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1772
+ readonly draftId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1773
+ readonly kind: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1774
+ readonly payload: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
1775
+ readonly payloadHash: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1776
+ readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACCEPTED", "RUNNING", "SUCCEEDED", "FAILED"], undefined>>;
1777
+ readonly attempts: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1778
+ readonly canonicalRevision: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>>;
1779
+ readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1780
+ readonly submittedAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1781
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1782
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1783
+ }, undefined>, v.TransformAction<{
1784
+ $id: string;
1785
+ }, string>]>], undefined>, undefined>>;
1786
+ readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1787
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1788
+ }, undefined>, v.TransformAction<{
1789
+ $id: string;
1790
+ }, string>]>], undefined>>;
1791
+ };
1792
+ readonly id: "commands_v2";
1793
+ readonly indexes: readonly [{
1794
+ readonly attributes: readonly ["userId"];
1795
+ readonly name: "user";
1796
+ readonly type: "key";
1797
+ }, {
1798
+ readonly attributes: readonly ["userId", "submittedAt"];
1799
+ readonly name: "user_submitted";
1800
+ readonly type: "key";
1801
+ }, {
1802
+ readonly attributes: readonly ["accountId", "state"];
1803
+ readonly name: "account_state";
1804
+ readonly type: "key";
1805
+ }, {
1806
+ readonly attributes: readonly ["draftId", "canonicalRevision"];
1807
+ readonly name: "draft_sequence";
1808
+ readonly type: "key";
1809
+ }, {
1810
+ readonly attributes: readonly ["state", "submittedAt"];
1811
+ readonly name: "state_submitted";
1812
+ readonly type: "key";
1813
+ }];
1814
+ readonly key: "commands";
1815
+ readonly name: "Commands";
1816
+ }>;
1817
+ jobs: AppwriteRowSchemaFor<{
1818
+ readonly fields: {
1819
+ readonly commandId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1820
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1821
+ readonly accountId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1822
+ readonly kind: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1823
+ readonly payload: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
1824
+ readonly dedupeKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1825
+ readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED"], undefined>>;
1826
+ readonly attempts: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1827
+ readonly maxAttempts: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1828
+ readonly nextRunAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1829
+ readonly leaseId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1830
+ readonly leaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1831
+ readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1832
+ };
1833
+ readonly id: "jobs_v2";
1834
+ readonly indexes: readonly [{
1835
+ readonly attributes: readonly ["state", "nextRunAt"];
1836
+ readonly name: "state_next_run";
1837
+ readonly type: "key";
1838
+ }, {
1839
+ readonly attributes: readonly ["leaseExpiresAt"];
1840
+ readonly name: "lease_expiry";
1841
+ readonly type: "key";
1842
+ }, {
1843
+ readonly attributes: readonly ["state", "leaseExpiresAt"];
1844
+ readonly name: "state_lease_expiry";
1845
+ readonly type: "key";
1846
+ }, {
1847
+ readonly attributes: readonly ["userId", "state", "leaseExpiresAt"];
1848
+ readonly name: "user_state_lease_expiry";
1849
+ readonly type: "key";
1850
+ }, {
1851
+ readonly attributes: readonly ["state", "leaseExpiresAt", "leaseId", "attempts"];
1852
+ readonly name: "recovery_fence";
1853
+ readonly type: "key";
1854
+ }, {
1855
+ readonly attributes: readonly ["commandId"];
1856
+ readonly name: "command";
1857
+ readonly type: "key";
1858
+ }, {
1859
+ readonly attributes: readonly ["dedupeKey"];
1860
+ readonly name: "dedupe_key_unique";
1861
+ readonly type: "unique";
1862
+ }, {
1863
+ readonly attributes: readonly ["userId"];
1864
+ readonly name: "user";
1865
+ readonly type: "key";
1866
+ }];
1867
+ readonly key: "jobs";
1868
+ readonly name: "Jobs";
1869
+ }>;
1870
+ mailboxSyncCandidates: AppwriteRowSchemaFor<{
1871
+ readonly fields: {
1872
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1873
+ readonly accountId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1874
+ readonly generation: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1875
+ readonly lane: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
1876
+ readonly labelId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1877
+ readonly mailboxPath: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1878
+ readonly mailboxPriority: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1879
+ readonly mailboxSortKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 257, undefined>]>>;
1880
+ readonly providerId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1881
+ readonly receivedAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1882
+ readonly specialUse: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
1883
+ readonly uid: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
1884
+ readonly uidValidity: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
1885
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1886
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1887
+ }, undefined>, v.TransformAction<{
1888
+ $id: string;
1889
+ }, string>]>], undefined>>;
1890
+ readonly label: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1891
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1892
+ }, undefined>, v.TransformAction<{
1893
+ $id: string;
1894
+ }, string>]>], undefined>>;
1895
+ };
1896
+ readonly id: "mailbox_sync_candidates_v2";
1897
+ readonly indexes: readonly [{
1898
+ readonly attributes: readonly ["lane"];
1899
+ readonly name: "lane";
1900
+ readonly type: "key";
1901
+ }, {
1902
+ readonly attributes: readonly ["accountId", "lane", "generation", "mailboxPriority", "receivedAt", "labelId", "uid", "uidValidity"];
1903
+ readonly name: "account_lane_generation_order";
1904
+ readonly type: "key";
1905
+ }];
1906
+ readonly key: "mailboxSyncCandidates";
1907
+ readonly name: "Mailbox sync candidates";
1908
+ }>;
1909
+ mailboxSyncLanes: AppwriteRowSchemaFor<{
1910
+ readonly fields: {
1911
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1912
+ readonly accountId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1913
+ readonly commandId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1914
+ readonly cursor: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1915
+ readonly generation: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1916
+ readonly lane: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
1917
+ readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "COMPLETED", "FAILED"], undefined>>;
1918
+ readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1919
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1920
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1921
+ }, undefined>, v.TransformAction<{
1922
+ $id: string;
1923
+ }, string>]>], undefined>>;
1924
+ };
1925
+ readonly id: "mailbox_sync_lanes";
1926
+ readonly indexes: readonly [{
1927
+ readonly attributes: readonly ["accountId", "lane"];
1928
+ readonly name: "account_lane_unique";
1929
+ readonly type: "unique";
1930
+ }, {
1931
+ readonly attributes: readonly ["lane", "state"];
1932
+ readonly name: "lane_state";
1933
+ readonly type: "key";
1934
+ }];
1935
+ readonly key: "mailboxSyncLanes";
1936
+ readonly name: "Mailbox sync lanes";
1937
+ readonly wirePermissions: "empty";
1938
+ }>;
1939
+ mailboxSyncStates: AppwriteRowSchemaFor<{
1940
+ readonly fields: {
1941
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1942
+ readonly accountId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1943
+ readonly provider: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
1944
+ readonly providerCursor: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1945
+ readonly uidValidity: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1946
+ readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["INITIAL", "SYNCING", "CURRENT", "ERROR"], undefined>>;
1947
+ readonly nextPollAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1948
+ readonly lastEventAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1949
+ readonly lastSyncAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1950
+ readonly materialisationLeaseId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1951
+ readonly materialisationLeaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1952
+ readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1953
+ };
1954
+ readonly id: "mailbox_sync_states";
1955
+ readonly indexes: readonly [{
1956
+ readonly attributes: readonly ["state", "nextPollAt"];
1957
+ readonly name: "state_next_poll";
1958
+ readonly type: "key";
1959
+ }, {
1960
+ readonly attributes: readonly ["accountId"];
1961
+ readonly name: "account_unique";
1962
+ readonly type: "unique";
1963
+ }];
1964
+ readonly key: "mailboxSyncStates";
1965
+ readonly name: "Mailbox sync states";
1966
+ }>;
1967
+ messageLocations: AppwriteRowSchemaFor<{
1968
+ readonly dataCheck: (location: unknown) => boolean;
1969
+ readonly fields: {
1970
+ readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1971
+ readonly flagged: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1972
+ readonly labelAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1973
+ readonly messageAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1974
+ readonly seen: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1975
+ readonly threadAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1976
+ readonly uid: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
1977
+ readonly uidValidity: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
1978
+ readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1979
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1980
+ }, undefined>, v.TransformAction<{
1981
+ $id: string;
1982
+ }, string>]>], undefined>>;
1983
+ readonly label: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1984
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1985
+ }, undefined>, v.TransformAction<{
1986
+ $id: string;
1987
+ }, string>]>], undefined>>;
1988
+ readonly message: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1989
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1990
+ }, undefined>, v.TransformAction<{
1991
+ $id: string;
1992
+ }, string>]>], undefined>>;
1993
+ readonly thread: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1994
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1995
+ }, undefined>, v.TransformAction<{
1996
+ $id: string;
1997
+ }, string>]>], undefined>>;
1998
+ };
1999
+ readonly id: "message_locations";
2000
+ readonly indexes: readonly [{
2001
+ readonly attributes: readonly ["accountAssignmentKey", "labelAssignmentKey", "uidValidity", "uid"];
2002
+ readonly name: "assignment_account_label_uid";
2003
+ readonly type: "key";
2004
+ }, {
2005
+ readonly attributes: readonly ["accountAssignmentKey", "threadAssignmentKey"];
2006
+ readonly name: "assignment_account_thread";
2007
+ readonly type: "key";
2008
+ }, {
2009
+ readonly attributes: readonly ["threadAssignmentKey", "labelAssignmentKey", "messageAt"];
2010
+ readonly name: "assignment_thread_label_latest";
2011
+ readonly type: "key";
2012
+ }];
2013
+ readonly key: "messageLocations";
2014
+ readonly name: "Message locations";
2015
+ }>;
2016
+ oauthStates: AppwriteRowSchemaFor<{
2017
+ readonly fields: {
2018
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2019
+ readonly accountId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2020
+ readonly email: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
2021
+ readonly expiresAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
2022
+ readonly nonceHash: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2023
+ readonly operation: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["CONNECT", "REPLACE"], undefined>>;
2024
+ readonly provider: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK"], undefined>>;
2025
+ readonly returnUri: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["https://app.marcoapp.io/onboarding/loading"], undefined>>;
2026
+ readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2027
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2028
+ }, undefined>, v.TransformAction<{
2029
+ $id: string;
2030
+ }, string>]>], undefined>>;
2031
+ };
2032
+ readonly id: "oauth_states";
2033
+ readonly indexes: readonly [];
2034
+ readonly key: "oauthStates";
2035
+ readonly name: "OAuth states";
2036
+ }>;
2037
+ pollShardCoordinators: AppwriteRowSchemaFor<{
2038
+ readonly fields: {
2039
+ readonly accountCursor: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2040
+ };
2041
+ readonly id: "poll_shard_coordinators";
2042
+ readonly indexes: readonly [];
2043
+ readonly key: "pollShardCoordinators";
2044
+ readonly name: "Poll shard coordinators";
2045
+ readonly wirePermissions: "empty";
2046
+ }>;
2047
+ pollShards: AppwriteRowSchemaFor<{
2048
+ readonly fields: {
2049
+ readonly accountIds: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>>;
2050
+ readonly generation: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2051
+ readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACTIVE", "STOPPED", "FAILED"], undefined>>;
2052
+ readonly leaseId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2053
+ readonly leaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2054
+ readonly lastStartedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2055
+ readonly nextStartAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
2056
+ readonly pollingSnapshot: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
2057
+ readonly scheduledExecutionId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2058
+ readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2059
+ };
2060
+ readonly id: "poll_shards";
2061
+ readonly indexes: readonly [{
2062
+ readonly attributes: readonly ["state", "nextStartAt"];
2063
+ readonly name: "state_next_start";
2064
+ readonly type: "key";
2065
+ }, {
2066
+ readonly attributes: readonly ["leaseExpiresAt"];
2067
+ readonly name: "lease_expiry";
2068
+ readonly type: "key";
2069
+ }];
2070
+ readonly key: "pollShards";
2071
+ readonly name: "Poll shards";
2072
+ readonly wirePermissions: "empty";
2073
+ }>;
2074
+ profileAvatarCleanups: AppwriteRowSchemaFor<{
2075
+ readonly fields: {
2076
+ readonly fileId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2077
+ readonly claimId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2078
+ readonly claimedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2079
+ readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2080
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2081
+ }, undefined>, v.TransformAction<{
2082
+ $id: string;
2083
+ }, string>]>], undefined>>;
2084
+ };
2085
+ readonly id: "profile_avatar_cleanups";
2086
+ readonly indexes: readonly [];
2087
+ readonly key: "profileAvatarCleanups";
2088
+ readonly name: "Profile avatar cleanups";
2089
+ readonly wirePermissions: "empty";
2090
+ }>;
2091
+ pushNotificationTokens: AppwriteRowSchemaFor<{
2092
+ readonly fields: {
2093
+ readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2094
+ readonly token: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2095
+ readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2096
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2097
+ }, undefined>, v.TransformAction<{
2098
+ $id: string;
2099
+ }, string>]>], undefined>>;
2100
+ };
2101
+ readonly id: "push_notification_tokens";
2102
+ readonly indexes: readonly [{
2103
+ readonly attributes: readonly ["userId"];
2104
+ readonly name: "user";
2105
+ readonly type: "key";
2106
+ }, {
2107
+ readonly attributes: readonly ["token"];
2108
+ readonly name: "token_unique";
2109
+ readonly type: "unique";
2110
+ }];
2111
+ readonly key: "pushNotificationTokens";
2112
+ readonly name: "Push notification tokens";
2113
+ }>;
2114
+ savedViews: AppwriteRowSchemaFor<{
2115
+ readonly fields: {
2116
+ readonly name: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2117
+ readonly icon: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2118
+ readonly aliasIds: import("./shared").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2119
+ readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2120
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2121
+ }, undefined>, v.TransformAction<{
2122
+ $id: string;
2123
+ }, string>]>], undefined>>;
2124
+ };
2125
+ readonly id: "saved_views";
2126
+ readonly indexes: readonly [];
2127
+ readonly key: "savedViews";
2128
+ readonly name: "Saved views";
2129
+ }>;
2130
+ threadAliases: AppwriteRowSchemaFor<{
2131
+ readonly fields: {
2132
+ readonly aliasAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2133
+ readonly latestMessageAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
2134
+ readonly threadAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2135
+ readonly alias: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2136
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2137
+ }, undefined>, v.TransformAction<{
2138
+ $id: string;
2139
+ }, string>]>], undefined>>;
2140
+ readonly thread: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2141
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2142
+ }, undefined>, v.TransformAction<{
2143
+ $id: string;
2144
+ }, string>]>], undefined>>;
2145
+ };
2146
+ readonly id: "thread_aliases";
2147
+ readonly indexes: readonly [{
2148
+ readonly attributes: readonly ["threadAssignmentKey", "aliasAssignmentKey"];
2149
+ readonly name: "assignment_thread_alias_unique";
2150
+ readonly type: "unique";
2151
+ }, {
2152
+ readonly attributes: readonly ["aliasAssignmentKey", "latestMessageAt"];
2153
+ readonly name: "assignment_alias_latest";
2154
+ readonly type: "key";
2155
+ }];
2156
+ readonly key: "threadAliases";
2157
+ readonly name: "Thread aliases";
2158
+ }>;
2159
+ threadLabels: AppwriteRowSchemaFor<{
2160
+ readonly fields: {
2161
+ readonly labelAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2162
+ readonly latestMessageAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
2163
+ readonly locationCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2164
+ readonly threadAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2165
+ readonly label: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2166
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2167
+ }, undefined>, v.TransformAction<{
2168
+ $id: string;
2169
+ }, string>]>], undefined>>;
2170
+ readonly thread: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2171
+ readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2172
+ }, undefined>, v.TransformAction<{
2173
+ $id: string;
2174
+ }, string>]>], undefined>>;
2175
+ };
2176
+ readonly id: "thread_labels";
2177
+ readonly indexes: readonly [{
2178
+ readonly attributes: readonly ["threadAssignmentKey", "labelAssignmentKey"];
2179
+ readonly name: "assignment_thread_label_unique";
2180
+ readonly type: "unique";
2181
+ }, {
2182
+ readonly attributes: readonly ["labelAssignmentKey", "latestMessageAt"];
2183
+ readonly name: "assignment_label_latest";
2184
+ readonly type: "key";
2185
+ }];
2186
+ readonly key: "threadLabels";
2187
+ readonly name: "Thread labels";
2188
+ }>;
2189
+ };
2190
+ export type AppwriteDataRow<TTable extends AppwriteTableKey> = v.InferOutput<(typeof appwriteDataSchemas)[TTable]>;
2191
+ export type AppwriteRowTable = AppwriteTableKey;
2192
+ export type AppwriteRow<TTable extends AppwriteRowTable> = v.InferOutput<(typeof appwriteRowSchemas)[TTable]>;
2193
+ export type { AppwriteColumnDefinition };
2194
+ //# sourceMappingURL=index.d.ts.map