@marcoappio/marco-config 4.0.16 → 4.0.18

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.
Files changed (72) hide show
  1. package/dist/appwrite/appwrite.d.ts +557 -561
  2. package/dist/appwrite/appwrite.d.ts.map +1 -1
  3. package/dist/appwrite/appwrite.js +4 -7
  4. package/dist/appwrite/appwrite.test.js +2 -1
  5. package/dist/appwrite/commands.d.ts +20 -20
  6. package/dist/appwrite/commands.js +5 -5
  7. package/dist/appwrite/commands.test.js +3 -3
  8. package/dist/appwrite/decodedSchemas.js +2 -2
  9. package/dist/appwrite/functions.d.ts +10 -10
  10. package/dist/appwrite/functions.js +6 -6
  11. package/dist/appwrite/functions.test.js +1 -1
  12. package/dist/appwrite/index.d.ts +5 -3
  13. package/dist/appwrite/index.d.ts.map +1 -1
  14. package/dist/appwrite/index.js +4 -3
  15. package/dist/appwrite/tableContract/identity.d.ts +62 -297
  16. package/dist/appwrite/tableContract/identity.d.ts.map +1 -1
  17. package/dist/appwrite/tableContract/identity.js +122 -146
  18. package/dist/appwrite/tableContract/index.d.ts +726 -818
  19. package/dist/appwrite/tableContract/index.d.ts.map +1 -1
  20. package/dist/appwrite/tableContract/index.js +23 -10
  21. package/dist/appwrite/tableContract/index.test.js +40 -4
  22. package/dist/appwrite/tableContract/mailbox.d.ts +88 -411
  23. package/dist/appwrite/tableContract/mailbox.d.ts.map +1 -1
  24. package/dist/appwrite/tableContract/mailbox.js +159 -180
  25. package/dist/appwrite/tableContract/operational.d.ts +76 -351
  26. package/dist/appwrite/tableContract/operational.d.ts.map +1 -1
  27. package/dist/appwrite/tableContract/operational.js +154 -178
  28. package/dist/appwrite/tableContract/shared.d.ts +14 -7
  29. package/dist/appwrite/tableContract/shared.d.ts.map +1 -1
  30. package/dist/appwrite/tableContract/shared.js +2 -2
  31. package/dist/constants/emailProvider.js +1 -1
  32. package/dist/constants/index.js +5 -5
  33. package/dist/index.d.ts +5 -5
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index.js +5 -5
  36. package/dist/index.test.js +67 -6
  37. package/dist/schemas/app.js +1 -1
  38. package/dist/schemas/auth.js +1 -1
  39. package/dist/schemas/emailAccount.d.ts +1 -1
  40. package/dist/schemas/emailAccount.js +5 -5
  41. package/dist/schemas/index.d.ts +3 -3
  42. package/dist/schemas/index.js +9 -9
  43. package/dist/schemas/models/account.js +4 -4
  44. package/dist/schemas/models/contact.js +2 -2
  45. package/dist/schemas/models/draft.js +4 -4
  46. package/dist/schemas/models/index.d.ts +5 -5
  47. package/dist/schemas/models/index.js +5 -5
  48. package/dist/schemas/models/mailboxAddress.test.js +3 -3
  49. package/dist/schemas/models/numericSemantics.test.js +2 -2
  50. package/dist/schemas/models/thread.js +5 -5
  51. package/dist/schemas/models/user.d.ts +1 -1
  52. package/dist/schemas/models/user.js +3 -3
  53. package/dist/schemas/models/user.test.js +2 -2
  54. package/dist/schemas/number.js +1 -1
  55. package/dist/schemas/oauth.js +1 -1
  56. package/dist/schemas/pushNotifications.js +1 -1
  57. package/dist/schemas/scalars.test.js +2 -2
  58. package/dist/schemas/schemaValues.test.js +1 -1
  59. package/dist/schemas/string.js +1 -1
  60. package/dist/types/IMAPSourceLocation.d.ts +1 -1
  61. package/dist/types/index.d.ts +11 -11
  62. package/dist/types/index.js +11 -11
  63. package/dist/utils/accounts/index.d.ts +1 -1
  64. package/dist/utils/accounts/index.js +1 -1
  65. package/dist/utils/index.d.ts +3 -3
  66. package/dist/utils/index.js +3 -3
  67. package/dist/utils/labels/index.d.ts +1 -1
  68. package/dist/utils/threads/index.d.ts +2 -2
  69. package/dist/utils/threads/index.js +2 -2
  70. package/dist/utils/threads/parseLabelIdList/parseLabelIdList.test.js +1 -1
  71. package/dist/utils/threads/processSearchTerm/processSearchTerm.test.js +1 -1
  72. package/package.json +15 -3
@@ -1,329 +1,19 @@
1
1
  import * as v from 'valibot';
2
- export declare const threadAliasesTable: {
3
- readonly fields: {
4
- readonly aliasAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
5
- readonly latestMessageAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
6
- readonly threadAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
7
- 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<{
8
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
9
- }, undefined>, v.TransformAction<{
10
- $id: string;
11
- }, string>]>], undefined>>;
12
- 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<{
13
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
14
- }, undefined>, v.TransformAction<{
15
- $id: string;
16
- }, string>]>], undefined>>;
17
- };
18
- readonly id: "thread_aliases";
19
- readonly indexes: readonly [{
20
- readonly attributes: readonly ["threadAssignmentKey", "aliasAssignmentKey"];
21
- readonly name: "assignment_thread_alias_unique";
22
- readonly type: "unique";
23
- }, {
24
- readonly attributes: readonly ["aliasAssignmentKey", "latestMessageAt"];
25
- readonly name: "assignment_alias_latest";
26
- readonly type: "key";
27
- }];
28
- readonly key: "threadAliases";
29
- readonly name: "Thread aliases";
30
- };
31
- export declare const messageLocationsTable: {
32
- readonly dataCheck: (location: unknown) => boolean;
33
- readonly fields: {
34
- readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
35
- readonly flagged: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
36
- readonly labelAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
37
- readonly messageAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
38
- readonly seen: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
39
- readonly threadAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
40
- readonly uid: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
41
- readonly uidValidity: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
42
- 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<{
43
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
44
- }, undefined>, v.TransformAction<{
45
- $id: string;
46
- }, string>]>], undefined>>;
47
- 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<{
48
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
49
- }, undefined>, v.TransformAction<{
50
- $id: string;
51
- }, string>]>], undefined>>;
52
- 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<{
53
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
54
- }, undefined>, v.TransformAction<{
55
- $id: string;
56
- }, string>]>], undefined>>;
57
- 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<{
58
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
59
- }, undefined>, v.TransformAction<{
60
- $id: string;
61
- }, string>]>], undefined>>;
62
- };
63
- readonly id: "message_locations";
64
- readonly indexes: readonly [{
65
- readonly attributes: readonly ["accountAssignmentKey", "labelAssignmentKey", "uidValidity", "uid"];
66
- readonly name: "assignment_account_label_uid";
67
- readonly type: "key";
68
- }, {
69
- readonly attributes: readonly ["accountAssignmentKey", "threadAssignmentKey"];
70
- readonly name: "assignment_account_thread";
71
- readonly type: "key";
72
- }, {
73
- readonly attributes: readonly ["threadAssignmentKey", "labelAssignmentKey", "messageAt"];
74
- readonly name: "assignment_thread_label_latest";
75
- readonly type: "key";
76
- }];
77
- readonly key: "messageLocations";
78
- readonly name: "Message locations";
79
- };
80
- export declare const contactsTable: {
81
- readonly fields: {
82
- readonly normalisedAddress: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>>;
83
- readonly displayName: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
84
- readonly lastContactedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
85
- readonly messageCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
86
- readonly profileAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
87
- readonly searchText: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
88
- 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<{
89
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
90
- }, undefined>, v.TransformAction<{
91
- $id: string;
92
- }, string>]>], undefined>>;
93
- };
94
- readonly id: "contacts";
95
- readonly indexes: readonly [{
96
- readonly attributes: readonly ["profileAssignmentKey", "lastContactedAt"];
97
- readonly name: "assignment_profile_last_contacted";
98
- readonly type: "key";
99
- }, {
100
- readonly attributes: readonly ["profileAssignmentKey", "normalisedAddress"];
101
- readonly name: "assignment_profile_address_unique";
102
- readonly type: "unique";
103
- }, {
104
- readonly attributes: readonly ["searchText"];
105
- readonly name: "search";
106
- readonly type: "fulltext";
107
- }];
108
- readonly key: "contacts";
109
- readonly name: "Contacts";
110
- };
111
- export declare const draftsTable: {
112
- readonly fields: {
113
- readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
114
- readonly type: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["COMPOSE", "REPLY", "FORWARD"], undefined>>;
115
- readonly envelope: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
116
- readonly html: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
117
- readonly attachmentMetadata: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
118
- readonly contentHash: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
119
- readonly scheduledAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
120
- readonly status: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["DRAFT", "SCHEDULED", "SENDING", "SENT", "FAILED", "CANCELLED"], undefined>>;
121
- readonly revision: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
122
- readonly sequence: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
123
- readonly executionLeaseId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
124
- readonly executionLeaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
125
- readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
126
- 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<{
127
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
128
- }, undefined>, v.TransformAction<{
129
- $id: string;
130
- }, string>]>], undefined>>;
131
- 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<{
132
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
133
- }, undefined>, v.TransformAction<{
134
- $id: string;
135
- }, string>]>], undefined>, undefined>>;
136
- 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<{
137
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
138
- }, undefined>, v.TransformAction<{
139
- $id: string;
140
- }, string>]>], undefined>, undefined>>;
141
- };
142
- readonly id: "drafts";
143
- readonly indexes: readonly [{
144
- readonly attributes: readonly ["accountAssignmentKey"];
145
- readonly name: "assignment_account";
146
- readonly type: "key";
147
- }, {
148
- readonly attributes: readonly ["accountAssignmentKey", "status"];
149
- readonly name: "assignment_account_status";
150
- readonly type: "key";
151
- }, {
152
- readonly attributes: readonly ["scheduledAt"];
153
- readonly name: "scheduled";
154
- readonly type: "key";
155
- }];
156
- readonly key: "drafts";
157
- readonly name: "Drafts";
158
- };
159
- export declare const threadsTable: {
160
- readonly fields: {
161
- readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
162
- readonly providerId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
163
- readonly subject: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
164
- readonly firstMessageAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
165
- readonly senderEmail: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>>;
166
- readonly senderName: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
167
- readonly preview: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
168
- readonly participants: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
169
- readonly labelIds: import("./shared").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
170
- readonly latestMessageAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
171
- readonly latestMessageId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
172
- readonly messageCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
173
- readonly hasAttachments: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
174
- readonly unseenLocationCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
175
- readonly flaggedLocationCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
176
- readonly seen: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
177
- readonly flagged: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
178
- readonly archived: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
179
- readonly spam: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
180
- readonly trashed: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
181
- readonly snoozedUntil: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
182
- readonly revision: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
183
- readonly searchText: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<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: "threads";
191
- readonly indexes: readonly [{
192
- readonly attributes: readonly ["accountAssignmentKey", "providerId"];
193
- readonly name: "assignment_account_provider_unique";
194
- readonly type: "unique";
195
- }, {
196
- readonly attributes: readonly ["accountAssignmentKey", "latestMessageAt"];
197
- readonly name: "assignment_account_latest";
198
- readonly type: "key";
199
- }, {
200
- readonly attributes: readonly ["accountAssignmentKey", "seen", "latestMessageAt"];
201
- readonly name: "assignment_account_seen_latest";
202
- readonly type: "key";
203
- }, {
204
- readonly attributes: readonly ["accountAssignmentKey", "flagged", "latestMessageAt"];
205
- readonly name: "assignment_account_flagged_latest";
206
- readonly type: "key";
207
- }, {
208
- readonly attributes: readonly ["accountAssignmentKey", "snoozedUntil", "latestMessageAt"];
209
- readonly name: "assignment_account_snoozed_latest";
210
- readonly type: "key";
211
- }, {
212
- readonly attributes: readonly ["snoozedUntil"];
213
- readonly name: "snoozed_due";
214
- readonly type: "key";
215
- }, {
216
- readonly attributes: readonly ["accountAssignmentKey", "archived", "latestMessageAt"];
217
- readonly name: "assignment_account_archived_latest";
218
- readonly type: "key";
219
- }, {
220
- readonly attributes: readonly ["accountAssignmentKey", "spam", "latestMessageAt"];
221
- readonly name: "assignment_account_spam_latest";
222
- readonly type: "key";
223
- }, {
224
- readonly attributes: readonly ["accountAssignmentKey", "trashed", "latestMessageAt"];
225
- readonly name: "assignment_account_trashed_latest";
226
- readonly type: "key";
227
- }, {
228
- readonly attributes: readonly ["searchText"];
229
- readonly name: "search";
230
- readonly type: "fulltext";
231
- }];
232
- readonly key: "threads";
233
- readonly name: "Threads";
234
- };
235
- export declare const threadLabelsTable: {
236
- readonly fields: {
237
- readonly labelAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
238
- readonly latestMessageAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
239
- readonly locationCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
240
- readonly threadAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
241
- 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<{
242
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
243
- }, undefined>, v.TransformAction<{
244
- $id: string;
245
- }, string>]>], undefined>>;
246
- 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<{
247
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
248
- }, undefined>, v.TransformAction<{
249
- $id: string;
250
- }, string>]>], undefined>>;
251
- };
252
- readonly id: "thread_labels";
253
- readonly indexes: readonly [{
254
- readonly attributes: readonly ["threadAssignmentKey", "labelAssignmentKey"];
255
- readonly name: "assignment_thread_label_unique";
256
- readonly type: "unique";
257
- }, {
258
- readonly attributes: readonly ["labelAssignmentKey", "latestMessageAt"];
259
- readonly name: "assignment_label_latest";
260
- readonly type: "key";
261
- }];
262
- readonly key: "threadLabels";
263
- readonly name: "Thread labels";
264
- };
265
- export declare const messagesTable: {
266
- readonly fields: {
267
- readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
268
- readonly providerId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
269
- readonly rfcMessageId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
270
- readonly sender: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
271
- readonly senderName: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
272
- readonly recipients: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
273
- readonly sentAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
274
- readonly receivedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
275
- readonly preview: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
276
- readonly attachmentMetadata: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
277
- readonly htmlFileId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
278
- readonly rawFileId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
279
- readonly size: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
280
- readonly subject: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
281
- readonly revision: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
282
- readonly threadAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
283
- 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<{
284
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
285
- }, undefined>, v.TransformAction<{
286
- $id: string;
287
- }, string>]>], undefined>>;
288
- 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<{
289
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
290
- }, undefined>, v.TransformAction<{
291
- $id: string;
292
- }, string>]>], undefined>>;
293
- };
294
- readonly id: "messages";
295
- readonly indexes: readonly [{
296
- readonly attributes: readonly ["threadAssignmentKey", "sentAt"];
297
- readonly name: "assignment_thread_sent";
298
- readonly type: "key";
299
- }, {
300
- readonly attributes: readonly ["accountAssignmentKey", "providerId"];
301
- readonly name: "assignment_account_provider_unique";
302
- readonly type: "unique";
303
- }, {
304
- readonly attributes: readonly ["accountAssignmentKey", "rfcMessageId"];
305
- readonly name: "assignment_account_rfc_message";
306
- readonly type: "key";
307
- }];
308
- readonly key: "messages";
309
- readonly name: "Messages";
310
- };
311
2
  export declare const mailboxTableInputs: {
312
3
  readonly contacts: {
313
4
  readonly fields: {
314
- readonly normalisedAddress: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>>;
315
- readonly displayName: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
316
- readonly lastContactedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
317
- readonly messageCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
318
- readonly profileAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
319
- readonly searchText: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
320
- 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<{
5
+ readonly normalisedAddress: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>>;
6
+ readonly displayName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
7
+ readonly lastContactedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
8
+ readonly messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
9
+ readonly profileAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
10
+ readonly searchText: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
11
+ readonly profile: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
321
12
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
322
13
  }, undefined>, v.TransformAction<{
323
14
  $id: string;
324
15
  }, string>]>], undefined>>;
325
16
  };
326
- readonly id: "contacts";
327
17
  readonly indexes: readonly [{
328
18
  readonly attributes: readonly ["profileAssignmentKey", "lastContactedAt"];
329
19
  readonly name: "assignment_profile_last_contacted";
@@ -337,41 +27,39 @@ export declare const mailboxTableInputs: {
337
27
  readonly name: "search";
338
28
  readonly type: "fulltext";
339
29
  }];
340
- readonly key: "contacts";
341
30
  readonly name: "Contacts";
342
31
  };
343
32
  readonly drafts: {
344
33
  readonly fields: {
345
- readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
346
- readonly type: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["COMPOSE", "REPLY", "FORWARD"], undefined>>;
347
- readonly envelope: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
348
- readonly html: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
349
- readonly attachmentMetadata: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
350
- readonly contentHash: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
351
- readonly scheduledAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
352
- readonly status: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["DRAFT", "SCHEDULED", "SENDING", "SENT", "FAILED", "CANCELLED"], undefined>>;
353
- readonly revision: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
354
- readonly sequence: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
355
- readonly executionLeaseId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
356
- readonly executionLeaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
357
- readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
358
- 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<{
34
+ readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
35
+ readonly type: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["COMPOSE", "REPLY", "FORWARD"], undefined>>;
36
+ readonly envelope: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
37
+ readonly html: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
38
+ readonly attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
39
+ readonly contentHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
40
+ readonly scheduledAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
41
+ readonly status: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["DRAFT", "SCHEDULED", "SENDING", "SENT", "FAILED", "CANCELLED"], undefined>>;
42
+ readonly revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
43
+ readonly sequence: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
44
+ readonly executionLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
45
+ readonly executionLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
46
+ readonly errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
47
+ readonly account: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
359
48
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
360
49
  }, undefined>, v.TransformAction<{
361
50
  $id: string;
362
51
  }, string>]>], undefined>>;
363
- 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<{
52
+ readonly fromAlias: import("./shared.js").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<{
364
53
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
365
54
  }, undefined>, v.TransformAction<{
366
55
  $id: string;
367
56
  }, string>]>], undefined>, undefined>>;
368
- 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<{
57
+ readonly referencedMessage: import("./shared.js").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<{
369
58
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
370
59
  }, undefined>, v.TransformAction<{
371
60
  $id: string;
372
61
  }, string>]>], undefined>, undefined>>;
373
62
  };
374
- readonly id: "drafts";
375
63
  readonly indexes: readonly [{
376
64
  readonly attributes: readonly ["accountAssignmentKey"];
377
65
  readonly name: "assignment_account";
@@ -385,42 +73,40 @@ export declare const mailboxTableInputs: {
385
73
  readonly name: "scheduled";
386
74
  readonly type: "key";
387
75
  }];
388
- readonly key: "drafts";
389
76
  readonly name: "Drafts";
390
77
  };
391
78
  readonly messageLocations: {
392
79
  readonly dataCheck: (location: unknown) => boolean;
393
80
  readonly fields: {
394
- readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
395
- readonly flagged: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
396
- readonly labelAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
397
- readonly messageAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
398
- readonly seen: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
399
- readonly threadAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
400
- readonly uid: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
401
- readonly uidValidity: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
402
- 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<{
81
+ readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
82
+ readonly flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
83
+ readonly labelAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
84
+ readonly messageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
85
+ readonly seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
86
+ readonly threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
87
+ readonly uid: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
88
+ readonly uidValidity: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
89
+ readonly account: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
403
90
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
404
91
  }, undefined>, v.TransformAction<{
405
92
  $id: string;
406
93
  }, string>]>], undefined>>;
407
- 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<{
94
+ readonly label: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
408
95
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
409
96
  }, undefined>, v.TransformAction<{
410
97
  $id: string;
411
98
  }, string>]>], undefined>>;
412
- 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<{
99
+ readonly message: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
413
100
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
414
101
  }, undefined>, v.TransformAction<{
415
102
  $id: string;
416
103
  }, string>]>], undefined>>;
417
- 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<{
104
+ readonly thread: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
418
105
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
419
106
  }, undefined>, v.TransformAction<{
420
107
  $id: string;
421
108
  }, string>]>], undefined>>;
422
109
  };
423
- readonly id: "message_locations";
424
110
  readonly indexes: readonly [{
425
111
  readonly attributes: readonly ["accountAssignmentKey", "labelAssignmentKey", "uidValidity", "uid"];
426
112
  readonly name: "assignment_account_label_uid";
@@ -434,39 +120,37 @@ export declare const mailboxTableInputs: {
434
120
  readonly name: "assignment_thread_label_latest";
435
121
  readonly type: "key";
436
122
  }];
437
- readonly key: "messageLocations";
438
123
  readonly name: "Message locations";
439
124
  };
440
125
  readonly messages: {
441
126
  readonly fields: {
442
- readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
443
- readonly providerId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
444
- readonly rfcMessageId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
445
- readonly sender: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
446
- readonly senderName: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
447
- readonly recipients: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
448
- readonly sentAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
449
- readonly receivedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
450
- readonly preview: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
451
- readonly attachmentMetadata: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
452
- readonly htmlFileId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
453
- readonly rawFileId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
454
- readonly size: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
455
- readonly subject: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
456
- readonly revision: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
457
- readonly threadAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
458
- 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<{
127
+ readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
128
+ readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
129
+ readonly rfcMessageId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
130
+ readonly sender: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
131
+ readonly senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
132
+ readonly recipients: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
133
+ readonly sentAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
134
+ readonly receivedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
135
+ readonly preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
136
+ readonly attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
137
+ readonly htmlFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
138
+ readonly rawFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
139
+ readonly size: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
140
+ readonly subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
141
+ readonly revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
142
+ readonly threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
143
+ readonly account: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
459
144
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
460
145
  }, undefined>, v.TransformAction<{
461
146
  $id: string;
462
147
  }, string>]>], undefined>>;
463
- 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<{
148
+ readonly thread: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
464
149
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
465
150
  }, undefined>, v.TransformAction<{
466
151
  $id: string;
467
152
  }, string>]>], undefined>>;
468
153
  };
469
- readonly id: "messages";
470
154
  readonly indexes: readonly [{
471
155
  readonly attributes: readonly ["threadAssignmentKey", "sentAt"];
472
156
  readonly name: "assignment_thread_sent";
@@ -480,26 +164,24 @@ export declare const mailboxTableInputs: {
480
164
  readonly name: "assignment_account_rfc_message";
481
165
  readonly type: "key";
482
166
  }];
483
- readonly key: "messages";
484
167
  readonly name: "Messages";
485
168
  };
486
169
  readonly threadAliases: {
487
170
  readonly fields: {
488
- readonly aliasAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
489
- readonly latestMessageAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
490
- readonly threadAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
491
- 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<{
171
+ readonly aliasAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
172
+ readonly latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
173
+ readonly threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
174
+ readonly alias: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
492
175
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
493
176
  }, undefined>, v.TransformAction<{
494
177
  $id: string;
495
178
  }, string>]>], undefined>>;
496
- 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<{
179
+ readonly thread: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
497
180
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
498
181
  }, undefined>, v.TransformAction<{
499
182
  $id: string;
500
183
  }, string>]>], undefined>>;
501
184
  };
502
- readonly id: "thread_aliases";
503
185
  readonly indexes: readonly [{
504
186
  readonly attributes: readonly ["threadAssignmentKey", "aliasAssignmentKey"];
505
187
  readonly name: "assignment_thread_alias_unique";
@@ -509,27 +191,25 @@ export declare const mailboxTableInputs: {
509
191
  readonly name: "assignment_alias_latest";
510
192
  readonly type: "key";
511
193
  }];
512
- readonly key: "threadAliases";
513
194
  readonly name: "Thread aliases";
514
195
  };
515
196
  readonly threadLabels: {
516
197
  readonly fields: {
517
- readonly labelAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
518
- readonly latestMessageAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
519
- readonly locationCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
520
- readonly threadAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
521
- 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<{
198
+ readonly labelAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
199
+ readonly latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
200
+ readonly locationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
201
+ readonly threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
202
+ readonly label: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
522
203
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
523
204
  }, undefined>, v.TransformAction<{
524
205
  $id: string;
525
206
  }, string>]>], undefined>>;
526
- 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<{
207
+ readonly thread: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
527
208
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
528
209
  }, undefined>, v.TransformAction<{
529
210
  $id: string;
530
211
  }, string>]>], undefined>>;
531
212
  };
532
- readonly id: "thread_labels";
533
213
  readonly indexes: readonly [{
534
214
  readonly attributes: readonly ["threadAssignmentKey", "labelAssignmentKey"];
535
215
  readonly name: "assignment_thread_label_unique";
@@ -539,41 +219,39 @@ export declare const mailboxTableInputs: {
539
219
  readonly name: "assignment_label_latest";
540
220
  readonly type: "key";
541
221
  }];
542
- readonly key: "threadLabels";
543
222
  readonly name: "Thread labels";
544
223
  };
545
224
  readonly threads: {
546
225
  readonly fields: {
547
- readonly accountAssignmentKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
548
- readonly providerId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
549
- readonly subject: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
550
- readonly firstMessageAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
551
- readonly senderEmail: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>>;
552
- readonly senderName: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
553
- readonly preview: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
554
- readonly participants: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
555
- readonly labelIds: import("./shared").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
556
- readonly latestMessageAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
557
- readonly latestMessageId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
558
- readonly messageCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
559
- readonly hasAttachments: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
560
- readonly unseenLocationCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
561
- readonly flaggedLocationCount: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
562
- readonly seen: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
563
- readonly flagged: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
564
- readonly archived: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
565
- readonly spam: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
566
- readonly trashed: import("./shared").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
567
- readonly snoozedUntil: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
568
- readonly revision: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
569
- readonly searchText: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
570
- 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<{
226
+ readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
227
+ readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
228
+ readonly subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
229
+ readonly firstMessageAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
230
+ readonly senderEmail: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>>;
231
+ readonly senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
232
+ readonly preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
233
+ readonly participants: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
234
+ readonly labelIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
235
+ readonly latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
236
+ readonly latestMessageId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
237
+ readonly messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
238
+ readonly hasAttachments: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
239
+ readonly unseenLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
240
+ readonly flaggedLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
241
+ readonly seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
242
+ readonly flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
243
+ readonly archived: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
244
+ readonly spam: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
245
+ readonly trashed: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
246
+ readonly snoozedUntil: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
247
+ readonly revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
248
+ readonly searchText: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
249
+ readonly account: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
571
250
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
572
251
  }, undefined>, v.TransformAction<{
573
252
  $id: string;
574
253
  }, string>]>], undefined>>;
575
254
  };
576
- readonly id: "threads";
577
255
  readonly indexes: readonly [{
578
256
  readonly attributes: readonly ["accountAssignmentKey", "providerId"];
579
257
  readonly name: "assignment_account_provider_unique";
@@ -615,7 +293,6 @@ export declare const mailboxTableInputs: {
615
293
  readonly name: "search";
616
294
  readonly type: "fulltext";
617
295
  }];
618
- readonly key: "threads";
619
296
  readonly name: "Threads";
620
297
  };
621
298
  };