@marcoappio/marco-config 4.0.21 → 4.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/appwrite/appwrite.d.ts +55 -1403
- package/dist/appwrite/appwrite.d.ts.map +1 -1
- package/dist/appwrite/appwrite.test.js +3 -3
- package/dist/appwrite/commands.d.ts +952 -952
- package/dist/appwrite/commands.d.ts.map +1 -1
- package/dist/appwrite/functions.d.ts +503 -503
- package/dist/appwrite/functions.d.ts.map +1 -1
- package/dist/appwrite/queryContracts/queryContracts.d.ts +165 -165
- package/dist/appwrite/queryContracts/queryContracts.d.ts.map +1 -1
- package/dist/appwrite/tableContract/identity.d.ts +62 -62
- package/dist/appwrite/tableContract/identity.d.ts.map +1 -1
- package/dist/appwrite/tableContract/index.d.ts +1307 -1307
- package/dist/appwrite/tableContract/index.d.ts.map +1 -1
- package/dist/appwrite/tableContract/mailbox.d.ts +90 -89
- package/dist/appwrite/tableContract/mailbox.d.ts.map +1 -1
- package/dist/appwrite/tableContract/operational.d.ts +76 -76
- package/dist/appwrite/tableContract/operational.d.ts.map +1 -1
- package/dist/appwrite/tableContract/shared.d.ts +45 -46
- package/dist/appwrite/tableContract/shared.d.ts.map +1 -1
- package/dist/appwrite/tableContract/shared.js +3 -3
- package/dist/constants/emailAccounts.d.ts.map +1 -1
- package/dist/constants/index.d.ts +2 -2
- package/dist/constants/messages.d.ts.map +1 -1
- package/dist/constants/oauth.d.ts +2 -2
- package/dist/constants/oauth.d.ts.map +1 -1
- package/dist/constants/user.d.ts.map +1 -1
- package/dist/schemas/app.d.ts.map +1 -1
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/id.d.ts.map +1 -1
- package/dist/schemas/index.d.ts +16 -16
- package/dist/schemas/models/thread.d.ts +16 -16
- package/dist/schemas/number.d.ts.map +1 -1
- package/dist/schemas/oauth.d.ts.map +1 -1
- package/dist/schemas/pushNotifications.d.ts.map +1 -1
- package/dist/schemas/scalars.d.ts +1 -1
- package/dist/schemas/scalars.d.ts.map +1 -1
- package/dist/schemas/string.d.ts.map +1 -1
- package/dist/types/DraftAttachmentUploadStatus.d.ts +1 -1
- package/dist/types/DraftAttachmentUploadStatus.d.ts.map +1 -1
- package/dist/types/DraftStatus.d.ts +1 -1
- package/dist/types/DraftStatus.d.ts.map +1 -1
- package/dist/types/DraftType.d.ts +1 -1
- package/dist/types/DraftType.d.ts.map +1 -1
- package/dist/types/IMAPConnectionStatus.d.ts +1 -1
- package/dist/types/IMAPConnectionStatus.d.ts.map +1 -1
- package/dist/types/LabelSpecialUse.d.ts +1 -1
- package/dist/types/LabelSpecialUse.d.ts.map +1 -1
- package/dist/types/MarcoPlatform.d.ts +1 -1
- package/dist/types/MarcoPlatform.d.ts.map +1 -1
- package/dist/types/MessageRecipientType.d.ts +1 -1
- package/dist/types/MessageRecipientType.d.ts.map +1 -1
- package/dist/types/OAuthProvider.d.ts +1 -1
- package/dist/types/OAuthProvider.d.ts.map +1 -1
- package/dist/types/UserSettings.d.ts +12 -12
- package/dist/types/UserSettings.d.ts.map +1 -1
- package/package.json +5 -4
|
@@ -2,262 +2,222 @@ import { v } from '../../utils/valibot/index.js';
|
|
|
2
2
|
import { type AppwriteColumnDefinition, type AppwriteTableDefinition, type AppwriteTableInput, type AppwriteTableKey, type AppwriteRelationshipSchema } from './shared.js';
|
|
3
3
|
export * from './shared.js';
|
|
4
4
|
declare const appwriteTableInputs: {
|
|
5
|
-
|
|
5
|
+
accounts: {
|
|
6
6
|
readonly fields: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
readonly draftId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
10
|
-
readonly kind: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
11
|
-
readonly payload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
12
|
-
readonly payloadHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
13
|
-
readonly state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACCEPTED", "RUNNING", "SUCCEEDED", "FAILED"], undefined>>;
|
|
14
|
-
readonly attempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
15
|
-
readonly canonicalRevision: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>>;
|
|
16
|
-
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>>;
|
|
17
|
-
readonly submittedAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
18
|
-
readonly account: 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<{
|
|
7
|
+
colour: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 64, undefined>]>>;
|
|
8
|
+
credential: 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<{
|
|
19
9
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
20
10
|
}, undefined>, v.TransformAction<{
|
|
21
11
|
$id: string;
|
|
22
12
|
}, string>]>], undefined>, undefined>>;
|
|
23
|
-
|
|
13
|
+
displayName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
14
|
+
initialSyncCompletedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
15
|
+
lastErrorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
16
|
+
lastSuccessfulSyncAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
17
|
+
mailboxSyncState: 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<{
|
|
18
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
19
|
+
}, undefined>, v.TransformAction<{
|
|
20
|
+
$id: string;
|
|
21
|
+
}, string>]>], undefined>, undefined>>;
|
|
22
|
+
mailProcessedCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
23
|
+
mailTotalCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
24
|
+
pollShardAssignmentId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
25
|
+
pollShardId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
26
|
+
primaryAlias: 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<{
|
|
27
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
28
|
+
}, undefined>, v.TransformAction<{
|
|
29
|
+
$id: string;
|
|
30
|
+
}, string>]>], undefined>, undefined>>;
|
|
31
|
+
primaryEmail: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
|
|
32
|
+
profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
24
33
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
25
34
|
}, undefined>, v.TransformAction<{
|
|
26
35
|
$id: string;
|
|
27
36
|
}, string>]>], undefined>>;
|
|
37
|
+
profileAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
38
|
+
provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
|
|
39
|
+
state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["AWAITING_CONNECTION", "CONNECTED", "ERROR", "DISCONNECTED"], undefined>>;
|
|
28
40
|
};
|
|
29
41
|
readonly indexes: readonly [{
|
|
30
|
-
readonly attributes: readonly ["
|
|
31
|
-
readonly name: "
|
|
42
|
+
readonly attributes: readonly ["profileAssignmentKey"];
|
|
43
|
+
readonly name: "assignment_profile";
|
|
32
44
|
readonly type: "key";
|
|
33
45
|
}, {
|
|
34
|
-
readonly attributes: readonly ["
|
|
35
|
-
readonly name: "
|
|
46
|
+
readonly attributes: readonly ["profileAssignmentKey", "state"];
|
|
47
|
+
readonly name: "assignment_profile_state";
|
|
36
48
|
readonly type: "key";
|
|
37
49
|
}, {
|
|
38
|
-
readonly attributes: readonly ["
|
|
39
|
-
readonly name: "
|
|
50
|
+
readonly attributes: readonly ["state"];
|
|
51
|
+
readonly name: "state";
|
|
40
52
|
readonly type: "key";
|
|
41
53
|
}, {
|
|
42
|
-
readonly attributes: readonly ["
|
|
43
|
-
readonly name: "
|
|
54
|
+
readonly attributes: readonly ["state", "pollShardAssignmentId"];
|
|
55
|
+
readonly name: "state_poll_shard_assignment";
|
|
44
56
|
readonly type: "key";
|
|
45
57
|
}, {
|
|
46
|
-
readonly attributes: readonly ["
|
|
47
|
-
readonly name: "
|
|
58
|
+
readonly attributes: readonly ["pollShardAssignmentId"];
|
|
59
|
+
readonly name: "poll_shard_assignment";
|
|
60
|
+
readonly type: "key";
|
|
61
|
+
}, {
|
|
62
|
+
readonly attributes: readonly ["pollShardId"];
|
|
63
|
+
readonly name: "poll_shard";
|
|
48
64
|
readonly type: "key";
|
|
49
65
|
}];
|
|
50
|
-
readonly name: "
|
|
66
|
+
readonly name: "Accounts";
|
|
51
67
|
};
|
|
52
|
-
|
|
68
|
+
aliases: {
|
|
53
69
|
readonly fields: {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
readonly leaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
|
|
66
|
-
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>>;
|
|
70
|
+
account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
71
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
72
|
+
}, undefined>, v.TransformAction<{
|
|
73
|
+
$id: string;
|
|
74
|
+
}, string>]>], undefined>>;
|
|
75
|
+
accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
76
|
+
email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
|
|
77
|
+
isPrimary: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
78
|
+
name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
79
|
+
providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
80
|
+
signature: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
67
81
|
};
|
|
68
82
|
readonly indexes: readonly [{
|
|
69
|
-
readonly attributes: readonly ["
|
|
70
|
-
readonly name: "
|
|
71
|
-
readonly type: "key";
|
|
72
|
-
}, {
|
|
73
|
-
readonly attributes: readonly ["leaseExpiresAt"];
|
|
74
|
-
readonly name: "lease_expiry";
|
|
75
|
-
readonly type: "key";
|
|
76
|
-
}, {
|
|
77
|
-
readonly attributes: readonly ["state", "leaseExpiresAt"];
|
|
78
|
-
readonly name: "state_lease_expiry";
|
|
79
|
-
readonly type: "key";
|
|
80
|
-
}, {
|
|
81
|
-
readonly attributes: readonly ["userId", "state", "leaseExpiresAt"];
|
|
82
|
-
readonly name: "user_state_lease_expiry";
|
|
83
|
-
readonly type: "key";
|
|
84
|
-
}, {
|
|
85
|
-
readonly attributes: readonly ["state", "leaseExpiresAt", "leaseId", "attempts"];
|
|
86
|
-
readonly name: "recovery_fence";
|
|
87
|
-
readonly type: "key";
|
|
88
|
-
}, {
|
|
89
|
-
readonly attributes: readonly ["commandId"];
|
|
90
|
-
readonly name: "command";
|
|
83
|
+
readonly attributes: readonly ["accountAssignmentKey"];
|
|
84
|
+
readonly name: "assignment_account";
|
|
91
85
|
readonly type: "key";
|
|
92
86
|
}, {
|
|
93
|
-
readonly attributes: readonly ["
|
|
94
|
-
readonly name: "
|
|
87
|
+
readonly attributes: readonly ["accountAssignmentKey", "providerId"];
|
|
88
|
+
readonly name: "assignment_account_provider_unique";
|
|
95
89
|
readonly type: "unique";
|
|
96
|
-
}, {
|
|
97
|
-
readonly attributes: readonly ["userId"];
|
|
98
|
-
readonly name: "user";
|
|
99
|
-
readonly type: "key";
|
|
100
90
|
}];
|
|
101
|
-
readonly name: "
|
|
91
|
+
readonly name: "Aliases";
|
|
102
92
|
};
|
|
103
|
-
|
|
93
|
+
credentials: {
|
|
104
94
|
readonly fields: {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
readonly mailboxSortKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 257, undefined>]>>;
|
|
113
|
-
readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
114
|
-
readonly receivedAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
115
|
-
readonly specialUse: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
|
|
116
|
-
readonly uid: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
|
|
117
|
-
readonly uidValidity: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
|
|
118
|
-
readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
119
|
-
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
120
|
-
}, undefined>, v.TransformAction<{
|
|
121
|
-
$id: string;
|
|
122
|
-
}, string>]>], undefined>>;
|
|
123
|
-
readonly label: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
124
|
-
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
125
|
-
}, undefined>, v.TransformAction<{
|
|
126
|
-
$id: string;
|
|
127
|
-
}, string>]>], undefined>>;
|
|
95
|
+
accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
96
|
+
encryptedPayload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
97
|
+
expiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
98
|
+
provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
|
|
99
|
+
refreshLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
|
|
100
|
+
refreshLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
101
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
128
102
|
};
|
|
129
103
|
readonly indexes: readonly [{
|
|
130
|
-
readonly attributes: readonly ["
|
|
131
|
-
readonly name: "
|
|
104
|
+
readonly attributes: readonly ["userId"];
|
|
105
|
+
readonly name: "user";
|
|
132
106
|
readonly type: "key";
|
|
133
107
|
}, {
|
|
134
|
-
readonly attributes: readonly ["accountId"
|
|
135
|
-
readonly name: "
|
|
136
|
-
readonly type: "
|
|
108
|
+
readonly attributes: readonly ["accountId"];
|
|
109
|
+
readonly name: "account_unique";
|
|
110
|
+
readonly type: "unique";
|
|
137
111
|
}];
|
|
138
|
-
readonly name: "
|
|
112
|
+
readonly name: "Credentials";
|
|
139
113
|
};
|
|
140
|
-
|
|
114
|
+
labels: {
|
|
141
115
|
readonly fields: {
|
|
142
|
-
|
|
143
|
-
readonly accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
144
|
-
readonly commandId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
145
|
-
readonly cursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
146
|
-
readonly generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
147
|
-
readonly lane: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
|
|
148
|
-
readonly state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "COMPLETED", "FAILED"], undefined>>;
|
|
149
|
-
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>>;
|
|
150
|
-
readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
116
|
+
account: 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
117
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
152
118
|
}, undefined>, v.TransformAction<{
|
|
153
119
|
$id: string;
|
|
154
120
|
}, string>]>], undefined>>;
|
|
121
|
+
accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
122
|
+
name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
123
|
+
path: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
124
|
+
providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
125
|
+
specialUse: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
|
|
126
|
+
totalCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
127
|
+
unreadCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
155
128
|
};
|
|
156
129
|
readonly indexes: readonly [{
|
|
157
|
-
readonly attributes: readonly ["
|
|
158
|
-
readonly name: "
|
|
130
|
+
readonly attributes: readonly ["accountAssignmentKey", "specialUse"];
|
|
131
|
+
readonly name: "assignment_account_special_use";
|
|
132
|
+
readonly type: "key";
|
|
133
|
+
}, {
|
|
134
|
+
readonly attributes: readonly ["accountAssignmentKey", "path"];
|
|
135
|
+
readonly name: "assignment_account_path_unique";
|
|
159
136
|
readonly type: "unique";
|
|
160
137
|
}, {
|
|
161
|
-
readonly attributes: readonly ["
|
|
162
|
-
readonly name: "
|
|
163
|
-
readonly type: "
|
|
138
|
+
readonly attributes: readonly ["accountAssignmentKey", "providerId"];
|
|
139
|
+
readonly name: "assignment_account_provider_unique";
|
|
140
|
+
readonly type: "unique";
|
|
164
141
|
}];
|
|
165
|
-
readonly name: "
|
|
166
|
-
readonly wirePermissions: "empty";
|
|
142
|
+
readonly name: "Labels";
|
|
167
143
|
};
|
|
168
|
-
|
|
144
|
+
oauthStates: {
|
|
169
145
|
readonly fields: {
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
146
|
+
accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
147
|
+
email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
|
|
148
|
+
expiresAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
149
|
+
nonceHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
150
|
+
operation: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["CONNECT", "REPLACE"], undefined>>;
|
|
151
|
+
profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
152
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
153
|
+
}, undefined>, v.TransformAction<{
|
|
154
|
+
$id: string;
|
|
155
|
+
}, string>]>], undefined>>;
|
|
156
|
+
provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK"], undefined>>;
|
|
157
|
+
returnUri: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["https://app.marcoapp.io/onboarding/loading"], undefined>>;
|
|
158
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
182
159
|
};
|
|
183
|
-
readonly indexes: readonly [
|
|
184
|
-
|
|
185
|
-
readonly name: "state_next_poll";
|
|
186
|
-
readonly type: "key";
|
|
187
|
-
}, {
|
|
188
|
-
readonly attributes: readonly ["accountId"];
|
|
189
|
-
readonly name: "account_unique";
|
|
190
|
-
readonly type: "unique";
|
|
191
|
-
}];
|
|
192
|
-
readonly name: "Mailbox sync states";
|
|
160
|
+
readonly indexes: readonly [];
|
|
161
|
+
readonly name: "OAuth states";
|
|
193
162
|
};
|
|
194
|
-
|
|
163
|
+
profileAvatarCleanups: {
|
|
195
164
|
readonly fields: {
|
|
196
|
-
|
|
165
|
+
claimedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
166
|
+
claimId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
167
|
+
fileId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
168
|
+
profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
169
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
170
|
+
}, undefined>, v.TransformAction<{
|
|
171
|
+
$id: string;
|
|
172
|
+
}, string>]>], undefined>>;
|
|
197
173
|
};
|
|
198
174
|
readonly indexes: readonly [];
|
|
199
|
-
readonly name: "
|
|
175
|
+
readonly name: "Profile avatar cleanups";
|
|
200
176
|
readonly wirePermissions: "empty";
|
|
201
177
|
};
|
|
202
|
-
|
|
178
|
+
profiles: {
|
|
203
179
|
readonly fields: {
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
readonly nextStartAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>>;
|
|
211
|
-
readonly pollingSnapshot: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
212
|
-
readonly scheduledExecutionId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
213
|
-
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>>;
|
|
180
|
+
avatarFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>, undefined>>;
|
|
181
|
+
deletionRequestedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
182
|
+
email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
|
|
183
|
+
name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
184
|
+
onboardingState: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
185
|
+
timezone: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
214
186
|
};
|
|
215
187
|
readonly indexes: readonly [{
|
|
216
|
-
readonly attributes: readonly ["
|
|
217
|
-
readonly name: "
|
|
218
|
-
readonly type: "
|
|
219
|
-
}, {
|
|
220
|
-
readonly attributes: readonly ["leaseExpiresAt"];
|
|
221
|
-
readonly name: "lease_expiry";
|
|
222
|
-
readonly type: "key";
|
|
188
|
+
readonly attributes: readonly ["email"];
|
|
189
|
+
readonly name: "email_unique";
|
|
190
|
+
readonly type: "unique";
|
|
223
191
|
}];
|
|
224
|
-
readonly name: "
|
|
225
|
-
readonly wirePermissions: "empty";
|
|
192
|
+
readonly name: "Profiles";
|
|
226
193
|
};
|
|
227
|
-
|
|
194
|
+
savedViews: {
|
|
228
195
|
readonly fields: {
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
196
|
+
aliasIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
197
|
+
icon: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
198
|
+
name: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
199
|
+
profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
232
200
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
233
201
|
}, undefined>, v.TransformAction<{
|
|
234
202
|
$id: string;
|
|
235
203
|
}, string>]>], undefined>>;
|
|
236
204
|
};
|
|
237
|
-
readonly indexes: readonly [
|
|
238
|
-
|
|
239
|
-
readonly name: "user";
|
|
240
|
-
readonly type: "key";
|
|
241
|
-
}, {
|
|
242
|
-
readonly attributes: readonly ["token"];
|
|
243
|
-
readonly name: "token_unique";
|
|
244
|
-
readonly type: "unique";
|
|
245
|
-
}];
|
|
246
|
-
readonly name: "Push notification tokens";
|
|
205
|
+
readonly indexes: readonly [];
|
|
206
|
+
readonly name: "Saved views";
|
|
247
207
|
};
|
|
248
208
|
contacts: {
|
|
249
209
|
readonly fields: {
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
210
|
+
displayName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
211
|
+
lastContactedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
212
|
+
messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
213
|
+
normalisedAddress: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>>;
|
|
214
|
+
profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
255
215
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
256
216
|
}, undefined>, v.TransformAction<{
|
|
257
217
|
$id: string;
|
|
258
218
|
}, string>]>], undefined>>;
|
|
259
|
-
|
|
260
|
-
|
|
219
|
+
profileAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
220
|
+
searchText: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
261
221
|
};
|
|
262
222
|
readonly indexes: readonly [{
|
|
263
223
|
readonly attributes: readonly ["profileAssignmentKey", "lastContactedAt"];
|
|
@@ -276,34 +236,34 @@ declare const appwriteTableInputs: {
|
|
|
276
236
|
};
|
|
277
237
|
drafts: {
|
|
278
238
|
readonly fields: {
|
|
279
|
-
|
|
239
|
+
account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
280
240
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
281
241
|
}, undefined>, v.TransformAction<{
|
|
282
242
|
$id: string;
|
|
283
243
|
}, string>]>], undefined>>;
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
244
|
+
accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
245
|
+
attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
246
|
+
contentHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
247
|
+
envelope: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
248
|
+
errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
249
|
+
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>>;
|
|
250
|
+
executionLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
251
|
+
fromAlias: 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<{
|
|
292
252
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
293
253
|
}, undefined>, v.TransformAction<{
|
|
294
254
|
$id: string;
|
|
295
255
|
}, string>]>], undefined>, undefined>>;
|
|
296
|
-
|
|
297
|
-
|
|
256
|
+
html: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
257
|
+
referencedMessage: 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<{
|
|
298
258
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
299
259
|
}, undefined>, v.TransformAction<{
|
|
300
260
|
$id: string;
|
|
301
261
|
}, string>]>], undefined>, undefined>>;
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
262
|
+
revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
263
|
+
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>>;
|
|
264
|
+
sequence: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
265
|
+
status: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["DRAFT", "SCHEDULED", "SENDING", "SENT", "FAILED", "CANCELLED"], undefined>>;
|
|
266
|
+
type: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["COMPOSE", "REPLY", "FORWARD"], undefined>>;
|
|
307
267
|
};
|
|
308
268
|
readonly indexes: readonly [{
|
|
309
269
|
readonly attributes: readonly ["accountAssignmentKey"];
|
|
@@ -321,36 +281,36 @@ declare const appwriteTableInputs: {
|
|
|
321
281
|
readonly name: "Drafts";
|
|
322
282
|
};
|
|
323
283
|
messageLocations: {
|
|
324
|
-
readonly dataCheck: (
|
|
284
|
+
readonly dataCheck: typeof import("./shared.js").messageLocationCoordinateCheck;
|
|
325
285
|
readonly fields: {
|
|
326
|
-
|
|
286
|
+
account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
327
287
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
328
288
|
}, undefined>, v.TransformAction<{
|
|
329
289
|
$id: string;
|
|
330
290
|
}, string>]>], undefined>>;
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
291
|
+
accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
292
|
+
flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
293
|
+
label: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
334
294
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
335
295
|
}, undefined>, v.TransformAction<{
|
|
336
296
|
$id: string;
|
|
337
297
|
}, string>]>], undefined>>;
|
|
338
|
-
|
|
339
|
-
|
|
298
|
+
labelAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
299
|
+
message: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
340
300
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
341
301
|
}, undefined>, v.TransformAction<{
|
|
342
302
|
$id: string;
|
|
343
303
|
}, string>]>], undefined>>;
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
304
|
+
messageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
305
|
+
seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
306
|
+
thread: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
347
307
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
348
308
|
}, undefined>, v.TransformAction<{
|
|
349
309
|
$id: string;
|
|
350
310
|
}, string>]>], undefined>>;
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
311
|
+
threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
312
|
+
uid: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
|
|
313
|
+
uidValidity: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
|
|
354
314
|
};
|
|
355
315
|
readonly indexes: readonly [{
|
|
356
316
|
readonly attributes: readonly ["accountAssignmentKey", "labelAssignmentKey", "uidValidity", "uid"];
|
|
@@ -369,32 +329,32 @@ declare const appwriteTableInputs: {
|
|
|
369
329
|
};
|
|
370
330
|
messages: {
|
|
371
331
|
readonly fields: {
|
|
372
|
-
|
|
332
|
+
account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
373
333
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
374
334
|
}, undefined>, v.TransformAction<{
|
|
375
335
|
$id: string;
|
|
376
336
|
}, string>]>], undefined>>;
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
337
|
+
accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
338
|
+
attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
339
|
+
htmlFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
340
|
+
preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
341
|
+
providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
342
|
+
rawFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
343
|
+
receivedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
344
|
+
recipients: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
345
|
+
revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
346
|
+
rfcMessageId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
347
|
+
sender: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
348
|
+
senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
349
|
+
sentAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
350
|
+
size: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
351
|
+
subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
352
|
+
thread: 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
353
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
394
354
|
}, undefined>, v.TransformAction<{
|
|
395
355
|
$id: string;
|
|
396
356
|
}, string>]>], undefined>>;
|
|
397
|
-
|
|
357
|
+
threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
398
358
|
};
|
|
399
359
|
readonly indexes: readonly [{
|
|
400
360
|
readonly attributes: readonly ["threadAssignmentKey", "sentAt"];
|
|
@@ -413,19 +373,19 @@ declare const appwriteTableInputs: {
|
|
|
413
373
|
};
|
|
414
374
|
threadAliases: {
|
|
415
375
|
readonly fields: {
|
|
416
|
-
|
|
376
|
+
alias: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
417
377
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
418
378
|
}, undefined>, v.TransformAction<{
|
|
419
379
|
$id: string;
|
|
420
380
|
}, string>]>], undefined>>;
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
381
|
+
aliasAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
382
|
+
latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
383
|
+
thread: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
424
384
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
425
385
|
}, undefined>, v.TransformAction<{
|
|
426
386
|
$id: string;
|
|
427
387
|
}, string>]>], undefined>>;
|
|
428
|
-
|
|
388
|
+
threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
429
389
|
};
|
|
430
390
|
readonly indexes: readonly [{
|
|
431
391
|
readonly attributes: readonly ["threadAssignmentKey", "aliasAssignmentKey"];
|
|
@@ -440,20 +400,20 @@ declare const appwriteTableInputs: {
|
|
|
440
400
|
};
|
|
441
401
|
threadLabels: {
|
|
442
402
|
readonly fields: {
|
|
443
|
-
|
|
403
|
+
label: 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
404
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
445
405
|
}, undefined>, v.TransformAction<{
|
|
446
406
|
$id: string;
|
|
447
407
|
}, string>]>], undefined>>;
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
408
|
+
labelAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
409
|
+
latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
410
|
+
locationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
411
|
+
thread: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
452
412
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
453
413
|
}, undefined>, v.TransformAction<{
|
|
454
414
|
$id: string;
|
|
455
415
|
}, string>]>], undefined>>;
|
|
456
|
-
|
|
416
|
+
threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
457
417
|
};
|
|
458
418
|
readonly indexes: readonly [{
|
|
459
419
|
readonly attributes: readonly ["threadAssignmentKey", "labelAssignmentKey"];
|
|
@@ -468,34 +428,34 @@ declare const appwriteTableInputs: {
|
|
|
468
428
|
};
|
|
469
429
|
threads: {
|
|
470
430
|
readonly fields: {
|
|
471
|
-
|
|
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
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
431
|
+
account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
432
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
433
|
+
}, undefined>, v.TransformAction<{
|
|
434
|
+
$id: string;
|
|
435
|
+
}, string>]>], undefined>>;
|
|
436
|
+
accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
437
|
+
archived: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
438
|
+
firstMessageAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
439
|
+
flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
440
|
+
flaggedLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
441
|
+
hasAttachments: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
442
|
+
labelIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
443
|
+
latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
444
|
+
latestMessageId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
445
|
+
messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
446
|
+
participants: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
447
|
+
preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
448
|
+
providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
449
|
+
revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
450
|
+
searchText: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
451
|
+
seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
452
|
+
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>>;
|
|
453
|
+
senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
454
|
+
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>>;
|
|
455
|
+
spam: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
456
|
+
subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
457
|
+
trashed: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
458
|
+
unseenLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
499
459
|
};
|
|
500
460
|
readonly indexes: readonly [{
|
|
501
461
|
readonly attributes: readonly ["accountAssignmentKey", "providerId"];
|
|
@@ -540,208 +500,248 @@ declare const appwriteTableInputs: {
|
|
|
540
500
|
}];
|
|
541
501
|
readonly name: "Threads";
|
|
542
502
|
};
|
|
543
|
-
|
|
503
|
+
commands: {
|
|
544
504
|
readonly fields: {
|
|
545
|
-
|
|
546
|
-
|
|
505
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
506
|
+
accountId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
507
|
+
draftId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
508
|
+
kind: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
509
|
+
payload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
510
|
+
payloadHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
511
|
+
state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACCEPTED", "RUNNING", "SUCCEEDED", "FAILED"], undefined>>;
|
|
512
|
+
attempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
513
|
+
canonicalRevision: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>>;
|
|
514
|
+
errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
515
|
+
submittedAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
516
|
+
account: 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<{
|
|
547
517
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
548
518
|
}, undefined>, v.TransformAction<{
|
|
549
519
|
$id: string;
|
|
550
520
|
}, string>]>], undefined>, undefined>>;
|
|
551
|
-
|
|
552
|
-
readonly initialSyncCompletedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
553
|
-
readonly lastErrorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
554
|
-
readonly lastSuccessfulSyncAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
555
|
-
readonly mailboxSyncState: 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<{
|
|
556
|
-
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
557
|
-
}, undefined>, v.TransformAction<{
|
|
558
|
-
$id: string;
|
|
559
|
-
}, string>]>], undefined>, undefined>>;
|
|
560
|
-
readonly mailProcessedCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
561
|
-
readonly mailTotalCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
562
|
-
readonly pollShardAssignmentId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
563
|
-
readonly pollShardId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
564
|
-
readonly primaryAlias: 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<{
|
|
565
|
-
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
566
|
-
}, undefined>, v.TransformAction<{
|
|
567
|
-
$id: string;
|
|
568
|
-
}, string>]>], undefined>, undefined>>;
|
|
569
|
-
readonly primaryEmail: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
|
|
570
|
-
readonly profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
521
|
+
profile: 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
522
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
572
523
|
}, undefined>, v.TransformAction<{
|
|
573
524
|
$id: string;
|
|
574
525
|
}, string>]>], undefined>>;
|
|
575
|
-
readonly profileAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
576
|
-
readonly provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
|
|
577
|
-
readonly state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["AWAITING_CONNECTION", "CONNECTED", "ERROR", "DISCONNECTED"], undefined>>;
|
|
578
526
|
};
|
|
579
527
|
readonly indexes: readonly [{
|
|
580
|
-
readonly attributes: readonly ["
|
|
581
|
-
readonly name: "
|
|
582
|
-
readonly type: "key";
|
|
583
|
-
}, {
|
|
584
|
-
readonly attributes: readonly ["profileAssignmentKey", "state"];
|
|
585
|
-
readonly name: "assignment_profile_state";
|
|
528
|
+
readonly attributes: readonly ["userId"];
|
|
529
|
+
readonly name: "user";
|
|
586
530
|
readonly type: "key";
|
|
587
531
|
}, {
|
|
588
|
-
readonly attributes: readonly ["
|
|
589
|
-
readonly name: "
|
|
532
|
+
readonly attributes: readonly ["userId", "submittedAt"];
|
|
533
|
+
readonly name: "user_submitted";
|
|
590
534
|
readonly type: "key";
|
|
591
535
|
}, {
|
|
592
|
-
readonly attributes: readonly ["
|
|
593
|
-
readonly name: "
|
|
536
|
+
readonly attributes: readonly ["accountId", "state"];
|
|
537
|
+
readonly name: "account_state";
|
|
594
538
|
readonly type: "key";
|
|
595
539
|
}, {
|
|
596
|
-
readonly attributes: readonly ["
|
|
597
|
-
readonly name: "
|
|
540
|
+
readonly attributes: readonly ["draftId", "canonicalRevision"];
|
|
541
|
+
readonly name: "draft_sequence";
|
|
598
542
|
readonly type: "key";
|
|
599
543
|
}, {
|
|
600
|
-
readonly attributes: readonly ["
|
|
601
|
-
readonly name: "
|
|
544
|
+
readonly attributes: readonly ["state", "submittedAt"];
|
|
545
|
+
readonly name: "state_submitted";
|
|
602
546
|
readonly type: "key";
|
|
603
547
|
}];
|
|
604
|
-
readonly name: "
|
|
548
|
+
readonly name: "Commands";
|
|
605
549
|
};
|
|
606
|
-
|
|
550
|
+
jobs: {
|
|
607
551
|
readonly fields: {
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
552
|
+
commandId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
553
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
554
|
+
accountId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
555
|
+
kind: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
556
|
+
payload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
557
|
+
dedupeKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
558
|
+
state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED"], undefined>>;
|
|
559
|
+
attempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
560
|
+
maxAttempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
561
|
+
nextRunAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>>;
|
|
562
|
+
leaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
563
|
+
leaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
|
|
564
|
+
errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
619
565
|
};
|
|
620
566
|
readonly indexes: readonly [{
|
|
621
|
-
readonly attributes: readonly ["
|
|
622
|
-
readonly name: "
|
|
567
|
+
readonly attributes: readonly ["state", "nextRunAt"];
|
|
568
|
+
readonly name: "state_next_run";
|
|
623
569
|
readonly type: "key";
|
|
624
570
|
}, {
|
|
625
|
-
readonly attributes: readonly ["
|
|
626
|
-
readonly name: "
|
|
571
|
+
readonly attributes: readonly ["leaseExpiresAt"];
|
|
572
|
+
readonly name: "lease_expiry";
|
|
573
|
+
readonly type: "key";
|
|
574
|
+
}, {
|
|
575
|
+
readonly attributes: readonly ["state", "leaseExpiresAt"];
|
|
576
|
+
readonly name: "state_lease_expiry";
|
|
577
|
+
readonly type: "key";
|
|
578
|
+
}, {
|
|
579
|
+
readonly attributes: readonly ["userId", "state", "leaseExpiresAt"];
|
|
580
|
+
readonly name: "user_state_lease_expiry";
|
|
581
|
+
readonly type: "key";
|
|
582
|
+
}, {
|
|
583
|
+
readonly attributes: readonly ["state", "leaseExpiresAt", "leaseId", "attempts"];
|
|
584
|
+
readonly name: "recovery_fence";
|
|
585
|
+
readonly type: "key";
|
|
586
|
+
}, {
|
|
587
|
+
readonly attributes: readonly ["commandId"];
|
|
588
|
+
readonly name: "command";
|
|
589
|
+
readonly type: "key";
|
|
590
|
+
}, {
|
|
591
|
+
readonly attributes: readonly ["dedupeKey"];
|
|
592
|
+
readonly name: "dedupe_key_unique";
|
|
627
593
|
readonly type: "unique";
|
|
628
|
-
}
|
|
629
|
-
readonly name: "Aliases";
|
|
630
|
-
};
|
|
631
|
-
credentials: {
|
|
632
|
-
readonly fields: {
|
|
633
|
-
readonly accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
634
|
-
readonly encryptedPayload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
635
|
-
readonly expiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
636
|
-
readonly provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
|
|
637
|
-
readonly refreshLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
|
|
638
|
-
readonly refreshLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
639
|
-
readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
640
|
-
};
|
|
641
|
-
readonly indexes: readonly [{
|
|
594
|
+
}, {
|
|
642
595
|
readonly attributes: readonly ["userId"];
|
|
643
596
|
readonly name: "user";
|
|
644
597
|
readonly type: "key";
|
|
645
|
-
}, {
|
|
646
|
-
readonly attributes: readonly ["accountId"];
|
|
647
|
-
readonly name: "account_unique";
|
|
648
|
-
readonly type: "unique";
|
|
649
598
|
}];
|
|
650
|
-
readonly name: "
|
|
599
|
+
readonly name: "Jobs";
|
|
651
600
|
};
|
|
652
|
-
|
|
601
|
+
mailboxSyncCandidates: {
|
|
653
602
|
readonly fields: {
|
|
654
|
-
|
|
603
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
604
|
+
accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
605
|
+
generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
606
|
+
lane: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
|
|
607
|
+
labelId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
608
|
+
mailboxPath: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
609
|
+
mailboxPriority: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
610
|
+
mailboxSortKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 257, undefined>]>>;
|
|
611
|
+
providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
612
|
+
receivedAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
613
|
+
specialUse: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
|
|
614
|
+
uid: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
|
|
615
|
+
uidValidity: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
|
|
616
|
+
account: AppwriteRelationshipSchema<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>>;
|
|
621
|
+
label: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
655
622
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
656
623
|
}, undefined>, v.TransformAction<{
|
|
657
624
|
$id: string;
|
|
658
625
|
}, string>]>], undefined>>;
|
|
659
|
-
readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
660
|
-
readonly name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
661
|
-
readonly path: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
662
|
-
readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
663
|
-
readonly specialUse: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
|
|
664
|
-
readonly totalCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
665
|
-
readonly unreadCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
666
626
|
};
|
|
667
627
|
readonly indexes: readonly [{
|
|
668
|
-
readonly attributes: readonly ["
|
|
669
|
-
readonly name: "
|
|
628
|
+
readonly attributes: readonly ["lane"];
|
|
629
|
+
readonly name: "lane";
|
|
670
630
|
readonly type: "key";
|
|
671
631
|
}, {
|
|
672
|
-
readonly attributes: readonly ["
|
|
673
|
-
readonly name: "
|
|
674
|
-
readonly type: "
|
|
675
|
-
}, {
|
|
676
|
-
readonly attributes: readonly ["accountAssignmentKey", "providerId"];
|
|
677
|
-
readonly name: "assignment_account_provider_unique";
|
|
678
|
-
readonly type: "unique";
|
|
632
|
+
readonly attributes: readonly ["accountId", "lane", "generation", "mailboxPriority", "receivedAt", "labelId", "uid", "uidValidity"];
|
|
633
|
+
readonly name: "account_lane_generation_order";
|
|
634
|
+
readonly type: "key";
|
|
679
635
|
}];
|
|
680
|
-
readonly name: "
|
|
636
|
+
readonly name: "Mailbox sync candidates";
|
|
681
637
|
};
|
|
682
|
-
|
|
638
|
+
mailboxSyncLanes: {
|
|
683
639
|
readonly fields: {
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
640
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
641
|
+
accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
642
|
+
commandId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
643
|
+
cursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
644
|
+
generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
645
|
+
lane: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
|
|
646
|
+
state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "COMPLETED", "FAILED"], undefined>>;
|
|
647
|
+
errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
648
|
+
account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
690
649
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
691
650
|
}, undefined>, v.TransformAction<{
|
|
692
651
|
$id: string;
|
|
693
652
|
}, string>]>], undefined>>;
|
|
694
|
-
readonly provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK"], undefined>>;
|
|
695
|
-
readonly returnUri: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["https://app.marcoapp.io/onboarding/loading"], undefined>>;
|
|
696
|
-
readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
697
653
|
};
|
|
698
|
-
readonly indexes: readonly [
|
|
699
|
-
|
|
654
|
+
readonly indexes: readonly [{
|
|
655
|
+
readonly attributes: readonly ["accountId", "lane"];
|
|
656
|
+
readonly name: "account_lane_unique";
|
|
657
|
+
readonly type: "unique";
|
|
658
|
+
}, {
|
|
659
|
+
readonly attributes: readonly ["lane", "state"];
|
|
660
|
+
readonly name: "lane_state";
|
|
661
|
+
readonly type: "key";
|
|
662
|
+
}];
|
|
663
|
+
readonly name: "Mailbox sync lanes";
|
|
664
|
+
readonly wirePermissions: "empty";
|
|
700
665
|
};
|
|
701
|
-
|
|
666
|
+
mailboxSyncStates: {
|
|
702
667
|
readonly fields: {
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
668
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
669
|
+
accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
670
|
+
provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
|
|
671
|
+
providerCursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
672
|
+
uidValidity: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
673
|
+
state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["INITIAL", "SYNCING", "CURRENT", "ERROR"], undefined>>;
|
|
674
|
+
nextPollAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
|
|
675
|
+
lastEventAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
676
|
+
lastSyncAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
677
|
+
materialisationLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
678
|
+
materialisationLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
|
|
679
|
+
errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
680
|
+
};
|
|
681
|
+
readonly indexes: readonly [{
|
|
682
|
+
readonly attributes: readonly ["state", "nextPollAt"];
|
|
683
|
+
readonly name: "state_next_poll";
|
|
684
|
+
readonly type: "key";
|
|
685
|
+
}, {
|
|
686
|
+
readonly attributes: readonly ["accountId"];
|
|
687
|
+
readonly name: "account_unique";
|
|
688
|
+
readonly type: "unique";
|
|
689
|
+
}];
|
|
690
|
+
readonly name: "Mailbox sync states";
|
|
691
|
+
};
|
|
692
|
+
pollShardCoordinators: {
|
|
693
|
+
readonly fields: {
|
|
694
|
+
accountCursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
711
695
|
};
|
|
712
696
|
readonly indexes: readonly [];
|
|
713
|
-
readonly name: "
|
|
697
|
+
readonly name: "Poll shard coordinators";
|
|
714
698
|
readonly wirePermissions: "empty";
|
|
715
699
|
};
|
|
716
|
-
|
|
700
|
+
pollShards: {
|
|
717
701
|
readonly fields: {
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
702
|
+
accountIds: import("./shared.js").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>]>>;
|
|
703
|
+
generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
704
|
+
state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACTIVE", "STOPPED", "FAILED"], undefined>>;
|
|
705
|
+
leaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
706
|
+
leaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
|
|
707
|
+
lastStartedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
708
|
+
nextStartAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>>;
|
|
709
|
+
pollingSnapshot: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
710
|
+
scheduledExecutionId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
711
|
+
errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
724
712
|
};
|
|
725
713
|
readonly indexes: readonly [{
|
|
726
|
-
readonly attributes: readonly ["
|
|
727
|
-
readonly name: "
|
|
728
|
-
readonly type: "
|
|
714
|
+
readonly attributes: readonly ["state", "nextStartAt"];
|
|
715
|
+
readonly name: "state_next_start";
|
|
716
|
+
readonly type: "key";
|
|
717
|
+
}, {
|
|
718
|
+
readonly attributes: readonly ["leaseExpiresAt"];
|
|
719
|
+
readonly name: "lease_expiry";
|
|
720
|
+
readonly type: "key";
|
|
729
721
|
}];
|
|
730
|
-
readonly name: "
|
|
722
|
+
readonly name: "Poll shards";
|
|
723
|
+
readonly wirePermissions: "empty";
|
|
731
724
|
};
|
|
732
|
-
|
|
725
|
+
pushNotificationTokens: {
|
|
733
726
|
readonly fields: {
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
readonly profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
727
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
728
|
+
token: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
729
|
+
profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
738
730
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
739
731
|
}, undefined>, v.TransformAction<{
|
|
740
732
|
$id: string;
|
|
741
733
|
}, string>]>], undefined>>;
|
|
742
734
|
};
|
|
743
|
-
readonly indexes: readonly [
|
|
744
|
-
|
|
735
|
+
readonly indexes: readonly [{
|
|
736
|
+
readonly attributes: readonly ["userId"];
|
|
737
|
+
readonly name: "user";
|
|
738
|
+
readonly type: "key";
|
|
739
|
+
}, {
|
|
740
|
+
readonly attributes: readonly ["token"];
|
|
741
|
+
readonly name: "token_unique";
|
|
742
|
+
readonly type: "unique";
|
|
743
|
+
}];
|
|
744
|
+
readonly name: "Push notification tokens";
|
|
745
745
|
};
|
|
746
746
|
};
|
|
747
747
|
export type AppwriteTableIndexAttributeKey<TTable extends AppwriteTableKey> = {
|
|
@@ -750,7 +750,7 @@ export type AppwriteTableIndexAttributeKey<TTable extends AppwriteTableKey> = {
|
|
|
750
750
|
type AppwriteTableFields = AppwriteTableInput['fields'] & v.ObjectEntries;
|
|
751
751
|
type AppwriteObjectSchema<TFields extends AppwriteTableFields> = v.ObjectSchema<TFields, undefined>;
|
|
752
752
|
type AppwriteCheckedObjectSchema<TFields extends AppwriteTableFields> = v.SchemaWithPipe<readonly [AppwriteObjectSchema<TFields>, v.CheckAction<v.InferOutput<AppwriteObjectSchema<TFields>>, undefined>]>;
|
|
753
|
-
declare const wireMetadata: <const TTableId extends string, const TWirePermissions extends AppwriteTableInput[
|
|
753
|
+
declare const wireMetadata: <const TTableId extends string, const TWirePermissions extends AppwriteTableInput['wirePermissions']>(tableId: TTableId, wirePermissions: TWirePermissions) => {
|
|
754
754
|
$createdAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
755
755
|
$databaseId: v.LiteralSchema<"marco", undefined>;
|
|
756
756
|
$id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
@@ -776,262 +776,222 @@ type AppwriteTableContract<TTables extends Readonly<Record<AppwriteTableKey, App
|
|
|
776
776
|
};
|
|
777
777
|
export declare function defineAppwriteTables<const TTables extends Readonly<Record<AppwriteTableKey, AppwriteTableInput>>>(tables: TTables): AppwriteTableContract<TTables>;
|
|
778
778
|
export declare const appwriteTableContract: AppwriteTableContract<{
|
|
779
|
-
|
|
779
|
+
accounts: {
|
|
780
780
|
readonly fields: {
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
readonly account: 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<{
|
|
781
|
+
colour: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 64, undefined>]>>;
|
|
782
|
+
credential: 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<{
|
|
783
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
784
|
+
}, undefined>, v.TransformAction<{
|
|
785
|
+
$id: string;
|
|
786
|
+
}, string>]>], undefined>, undefined>>;
|
|
787
|
+
displayName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
788
|
+
initialSyncCompletedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
789
|
+
lastErrorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
790
|
+
lastSuccessfulSyncAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
791
|
+
mailboxSyncState: 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<{
|
|
793
792
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
794
793
|
}, undefined>, v.TransformAction<{
|
|
795
794
|
$id: string;
|
|
796
795
|
}, string>]>], undefined>, undefined>>;
|
|
797
|
-
|
|
796
|
+
mailProcessedCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
797
|
+
mailTotalCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
798
|
+
pollShardAssignmentId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
799
|
+
pollShardId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
800
|
+
primaryAlias: 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<{
|
|
801
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
802
|
+
}, undefined>, v.TransformAction<{
|
|
803
|
+
$id: string;
|
|
804
|
+
}, string>]>], undefined>, undefined>>;
|
|
805
|
+
primaryEmail: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
|
|
806
|
+
profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
798
807
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
799
808
|
}, undefined>, v.TransformAction<{
|
|
800
809
|
$id: string;
|
|
801
810
|
}, string>]>], undefined>>;
|
|
811
|
+
profileAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
812
|
+
provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
|
|
813
|
+
state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["AWAITING_CONNECTION", "CONNECTED", "ERROR", "DISCONNECTED"], undefined>>;
|
|
802
814
|
};
|
|
803
815
|
readonly indexes: readonly [{
|
|
804
|
-
readonly attributes: readonly ["
|
|
805
|
-
readonly name: "
|
|
806
|
-
readonly type: "key";
|
|
807
|
-
}, {
|
|
808
|
-
readonly attributes: readonly ["userId", "submittedAt"];
|
|
809
|
-
readonly name: "user_submitted";
|
|
810
|
-
readonly type: "key";
|
|
811
|
-
}, {
|
|
812
|
-
readonly attributes: readonly ["accountId", "state"];
|
|
813
|
-
readonly name: "account_state";
|
|
814
|
-
readonly type: "key";
|
|
815
|
-
}, {
|
|
816
|
-
readonly attributes: readonly ["draftId", "canonicalRevision"];
|
|
817
|
-
readonly name: "draft_sequence";
|
|
818
|
-
readonly type: "key";
|
|
819
|
-
}, {
|
|
820
|
-
readonly attributes: readonly ["state", "submittedAt"];
|
|
821
|
-
readonly name: "state_submitted";
|
|
822
|
-
readonly type: "key";
|
|
823
|
-
}];
|
|
824
|
-
readonly name: "Commands";
|
|
825
|
-
};
|
|
826
|
-
jobs: {
|
|
827
|
-
readonly fields: {
|
|
828
|
-
readonly commandId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
829
|
-
readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
830
|
-
readonly accountId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
831
|
-
readonly kind: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
832
|
-
readonly payload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
833
|
-
readonly dedupeKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
834
|
-
readonly state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED"], undefined>>;
|
|
835
|
-
readonly attempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
836
|
-
readonly maxAttempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
837
|
-
readonly nextRunAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>>;
|
|
838
|
-
readonly leaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
839
|
-
readonly leaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
|
|
840
|
-
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>>;
|
|
841
|
-
};
|
|
842
|
-
readonly indexes: readonly [{
|
|
843
|
-
readonly attributes: readonly ["state", "nextRunAt"];
|
|
844
|
-
readonly name: "state_next_run";
|
|
845
|
-
readonly type: "key";
|
|
846
|
-
}, {
|
|
847
|
-
readonly attributes: readonly ["leaseExpiresAt"];
|
|
848
|
-
readonly name: "lease_expiry";
|
|
816
|
+
readonly attributes: readonly ["profileAssignmentKey"];
|
|
817
|
+
readonly name: "assignment_profile";
|
|
849
818
|
readonly type: "key";
|
|
850
819
|
}, {
|
|
851
|
-
readonly attributes: readonly ["
|
|
852
|
-
readonly name: "
|
|
820
|
+
readonly attributes: readonly ["profileAssignmentKey", "state"];
|
|
821
|
+
readonly name: "assignment_profile_state";
|
|
853
822
|
readonly type: "key";
|
|
854
823
|
}, {
|
|
855
|
-
readonly attributes: readonly ["
|
|
856
|
-
readonly name: "
|
|
824
|
+
readonly attributes: readonly ["state"];
|
|
825
|
+
readonly name: "state";
|
|
857
826
|
readonly type: "key";
|
|
858
827
|
}, {
|
|
859
|
-
readonly attributes: readonly ["state", "
|
|
860
|
-
readonly name: "
|
|
828
|
+
readonly attributes: readonly ["state", "pollShardAssignmentId"];
|
|
829
|
+
readonly name: "state_poll_shard_assignment";
|
|
861
830
|
readonly type: "key";
|
|
862
831
|
}, {
|
|
863
|
-
readonly attributes: readonly ["
|
|
864
|
-
readonly name: "
|
|
832
|
+
readonly attributes: readonly ["pollShardAssignmentId"];
|
|
833
|
+
readonly name: "poll_shard_assignment";
|
|
865
834
|
readonly type: "key";
|
|
866
835
|
}, {
|
|
867
|
-
readonly attributes: readonly ["
|
|
868
|
-
readonly name: "
|
|
869
|
-
readonly type: "unique";
|
|
870
|
-
}, {
|
|
871
|
-
readonly attributes: readonly ["userId"];
|
|
872
|
-
readonly name: "user";
|
|
836
|
+
readonly attributes: readonly ["pollShardId"];
|
|
837
|
+
readonly name: "poll_shard";
|
|
873
838
|
readonly type: "key";
|
|
874
839
|
}];
|
|
875
|
-
readonly name: "
|
|
840
|
+
readonly name: "Accounts";
|
|
876
841
|
};
|
|
877
|
-
|
|
842
|
+
aliases: {
|
|
878
843
|
readonly fields: {
|
|
879
|
-
|
|
880
|
-
readonly accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
881
|
-
readonly generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
882
|
-
readonly lane: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
|
|
883
|
-
readonly labelId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
884
|
-
readonly mailboxPath: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
885
|
-
readonly mailboxPriority: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
886
|
-
readonly mailboxSortKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 257, undefined>]>>;
|
|
887
|
-
readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
888
|
-
readonly receivedAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
889
|
-
readonly specialUse: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
|
|
890
|
-
readonly uid: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
|
|
891
|
-
readonly uidValidity: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
|
|
892
|
-
readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
893
|
-
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
894
|
-
}, undefined>, v.TransformAction<{
|
|
895
|
-
$id: string;
|
|
896
|
-
}, string>]>], undefined>>;
|
|
897
|
-
readonly label: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
844
|
+
account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
898
845
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
899
846
|
}, undefined>, v.TransformAction<{
|
|
900
847
|
$id: string;
|
|
901
848
|
}, string>]>], undefined>>;
|
|
849
|
+
accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
850
|
+
email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
|
|
851
|
+
isPrimary: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
852
|
+
name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
853
|
+
providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
854
|
+
signature: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
902
855
|
};
|
|
903
856
|
readonly indexes: readonly [{
|
|
904
|
-
readonly attributes: readonly ["
|
|
905
|
-
readonly name: "
|
|
857
|
+
readonly attributes: readonly ["accountAssignmentKey"];
|
|
858
|
+
readonly name: "assignment_account";
|
|
906
859
|
readonly type: "key";
|
|
907
860
|
}, {
|
|
908
|
-
readonly attributes: readonly ["
|
|
909
|
-
readonly name: "
|
|
861
|
+
readonly attributes: readonly ["accountAssignmentKey", "providerId"];
|
|
862
|
+
readonly name: "assignment_account_provider_unique";
|
|
863
|
+
readonly type: "unique";
|
|
864
|
+
}];
|
|
865
|
+
readonly name: "Aliases";
|
|
866
|
+
};
|
|
867
|
+
credentials: {
|
|
868
|
+
readonly fields: {
|
|
869
|
+
accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
870
|
+
encryptedPayload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
871
|
+
expiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
872
|
+
provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
|
|
873
|
+
refreshLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
|
|
874
|
+
refreshLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
875
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
876
|
+
};
|
|
877
|
+
readonly indexes: readonly [{
|
|
878
|
+
readonly attributes: readonly ["userId"];
|
|
879
|
+
readonly name: "user";
|
|
910
880
|
readonly type: "key";
|
|
881
|
+
}, {
|
|
882
|
+
readonly attributes: readonly ["accountId"];
|
|
883
|
+
readonly name: "account_unique";
|
|
884
|
+
readonly type: "unique";
|
|
911
885
|
}];
|
|
912
|
-
readonly name: "
|
|
886
|
+
readonly name: "Credentials";
|
|
913
887
|
};
|
|
914
|
-
|
|
888
|
+
labels: {
|
|
915
889
|
readonly fields: {
|
|
916
|
-
|
|
917
|
-
readonly accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
918
|
-
readonly commandId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
919
|
-
readonly cursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
920
|
-
readonly generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
921
|
-
readonly lane: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
|
|
922
|
-
readonly state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "COMPLETED", "FAILED"], undefined>>;
|
|
923
|
-
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>>;
|
|
924
|
-
readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
890
|
+
account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
925
891
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
926
892
|
}, undefined>, v.TransformAction<{
|
|
927
893
|
$id: string;
|
|
928
894
|
}, string>]>], undefined>>;
|
|
895
|
+
accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
896
|
+
name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
897
|
+
path: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
898
|
+
providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
899
|
+
specialUse: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
|
|
900
|
+
totalCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
901
|
+
unreadCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
929
902
|
};
|
|
930
903
|
readonly indexes: readonly [{
|
|
931
|
-
readonly attributes: readonly ["
|
|
932
|
-
readonly name: "
|
|
904
|
+
readonly attributes: readonly ["accountAssignmentKey", "specialUse"];
|
|
905
|
+
readonly name: "assignment_account_special_use";
|
|
906
|
+
readonly type: "key";
|
|
907
|
+
}, {
|
|
908
|
+
readonly attributes: readonly ["accountAssignmentKey", "path"];
|
|
909
|
+
readonly name: "assignment_account_path_unique";
|
|
933
910
|
readonly type: "unique";
|
|
934
911
|
}, {
|
|
935
|
-
readonly attributes: readonly ["
|
|
936
|
-
readonly name: "
|
|
937
|
-
readonly type: "
|
|
912
|
+
readonly attributes: readonly ["accountAssignmentKey", "providerId"];
|
|
913
|
+
readonly name: "assignment_account_provider_unique";
|
|
914
|
+
readonly type: "unique";
|
|
938
915
|
}];
|
|
939
|
-
readonly name: "
|
|
940
|
-
readonly wirePermissions: "empty";
|
|
916
|
+
readonly name: "Labels";
|
|
941
917
|
};
|
|
942
|
-
|
|
918
|
+
oauthStates: {
|
|
943
919
|
readonly fields: {
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
920
|
+
accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
921
|
+
email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
|
|
922
|
+
expiresAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
923
|
+
nonceHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
924
|
+
operation: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["CONNECT", "REPLACE"], undefined>>;
|
|
925
|
+
profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
926
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
927
|
+
}, undefined>, v.TransformAction<{
|
|
928
|
+
$id: string;
|
|
929
|
+
}, string>]>], undefined>>;
|
|
930
|
+
provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK"], undefined>>;
|
|
931
|
+
returnUri: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["https://app.marcoapp.io/onboarding/loading"], undefined>>;
|
|
932
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
956
933
|
};
|
|
957
|
-
readonly indexes: readonly [
|
|
958
|
-
|
|
959
|
-
readonly name: "state_next_poll";
|
|
960
|
-
readonly type: "key";
|
|
961
|
-
}, {
|
|
962
|
-
readonly attributes: readonly ["accountId"];
|
|
963
|
-
readonly name: "account_unique";
|
|
964
|
-
readonly type: "unique";
|
|
965
|
-
}];
|
|
966
|
-
readonly name: "Mailbox sync states";
|
|
934
|
+
readonly indexes: readonly [];
|
|
935
|
+
readonly name: "OAuth states";
|
|
967
936
|
};
|
|
968
|
-
|
|
937
|
+
profileAvatarCleanups: {
|
|
969
938
|
readonly fields: {
|
|
970
|
-
|
|
939
|
+
claimedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
940
|
+
claimId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
941
|
+
fileId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
942
|
+
profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
943
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
944
|
+
}, undefined>, v.TransformAction<{
|
|
945
|
+
$id: string;
|
|
946
|
+
}, string>]>], undefined>>;
|
|
971
947
|
};
|
|
972
948
|
readonly indexes: readonly [];
|
|
973
|
-
readonly name: "
|
|
949
|
+
readonly name: "Profile avatar cleanups";
|
|
974
950
|
readonly wirePermissions: "empty";
|
|
975
951
|
};
|
|
976
|
-
|
|
952
|
+
profiles: {
|
|
977
953
|
readonly fields: {
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
readonly nextStartAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>>;
|
|
985
|
-
readonly pollingSnapshot: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
986
|
-
readonly scheduledExecutionId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
987
|
-
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>>;
|
|
954
|
+
avatarFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>, undefined>>;
|
|
955
|
+
deletionRequestedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
956
|
+
email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
|
|
957
|
+
name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
958
|
+
onboardingState: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
959
|
+
timezone: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
988
960
|
};
|
|
989
961
|
readonly indexes: readonly [{
|
|
990
|
-
readonly attributes: readonly ["
|
|
991
|
-
readonly name: "
|
|
992
|
-
readonly type: "
|
|
993
|
-
}, {
|
|
994
|
-
readonly attributes: readonly ["leaseExpiresAt"];
|
|
995
|
-
readonly name: "lease_expiry";
|
|
996
|
-
readonly type: "key";
|
|
962
|
+
readonly attributes: readonly ["email"];
|
|
963
|
+
readonly name: "email_unique";
|
|
964
|
+
readonly type: "unique";
|
|
997
965
|
}];
|
|
998
|
-
readonly name: "
|
|
999
|
-
readonly wirePermissions: "empty";
|
|
966
|
+
readonly name: "Profiles";
|
|
1000
967
|
};
|
|
1001
|
-
|
|
968
|
+
savedViews: {
|
|
1002
969
|
readonly fields: {
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
970
|
+
aliasIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
971
|
+
icon: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
972
|
+
name: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
973
|
+
profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1006
974
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1007
975
|
}, undefined>, v.TransformAction<{
|
|
1008
976
|
$id: string;
|
|
1009
977
|
}, string>]>], undefined>>;
|
|
1010
978
|
};
|
|
1011
|
-
readonly indexes: readonly [
|
|
1012
|
-
|
|
1013
|
-
readonly name: "user";
|
|
1014
|
-
readonly type: "key";
|
|
1015
|
-
}, {
|
|
1016
|
-
readonly attributes: readonly ["token"];
|
|
1017
|
-
readonly name: "token_unique";
|
|
1018
|
-
readonly type: "unique";
|
|
1019
|
-
}];
|
|
1020
|
-
readonly name: "Push notification tokens";
|
|
979
|
+
readonly indexes: readonly [];
|
|
980
|
+
readonly name: "Saved views";
|
|
1021
981
|
};
|
|
1022
982
|
contacts: {
|
|
1023
983
|
readonly fields: {
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
984
|
+
displayName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
985
|
+
lastContactedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
986
|
+
messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
987
|
+
normalisedAddress: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>>;
|
|
988
|
+
profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1029
989
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1030
990
|
}, undefined>, v.TransformAction<{
|
|
1031
991
|
$id: string;
|
|
1032
992
|
}, string>]>], undefined>>;
|
|
1033
|
-
|
|
1034
|
-
|
|
993
|
+
profileAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
994
|
+
searchText: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
1035
995
|
};
|
|
1036
996
|
readonly indexes: readonly [{
|
|
1037
997
|
readonly attributes: readonly ["profileAssignmentKey", "lastContactedAt"];
|
|
@@ -1050,34 +1010,34 @@ export declare const appwriteTableContract: AppwriteTableContract<{
|
|
|
1050
1010
|
};
|
|
1051
1011
|
drafts: {
|
|
1052
1012
|
readonly fields: {
|
|
1053
|
-
|
|
1013
|
+
account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1054
1014
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1055
1015
|
}, undefined>, v.TransformAction<{
|
|
1056
1016
|
$id: string;
|
|
1057
1017
|
}, string>]>], undefined>>;
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1018
|
+
accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1019
|
+
attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
1020
|
+
contentHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1021
|
+
envelope: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
1022
|
+
errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1023
|
+
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>>;
|
|
1024
|
+
executionLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1025
|
+
fromAlias: 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<{
|
|
1066
1026
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1067
1027
|
}, undefined>, v.TransformAction<{
|
|
1068
1028
|
$id: string;
|
|
1069
1029
|
}, string>]>], undefined>, undefined>>;
|
|
1070
|
-
|
|
1071
|
-
|
|
1030
|
+
html: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
1031
|
+
referencedMessage: 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<{
|
|
1072
1032
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1073
1033
|
}, undefined>, v.TransformAction<{
|
|
1074
1034
|
$id: string;
|
|
1075
1035
|
}, string>]>], undefined>, undefined>>;
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1036
|
+
revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1037
|
+
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>>;
|
|
1038
|
+
sequence: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1039
|
+
status: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["DRAFT", "SCHEDULED", "SENDING", "SENT", "FAILED", "CANCELLED"], undefined>>;
|
|
1040
|
+
type: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["COMPOSE", "REPLY", "FORWARD"], undefined>>;
|
|
1081
1041
|
};
|
|
1082
1042
|
readonly indexes: readonly [{
|
|
1083
1043
|
readonly attributes: readonly ["accountAssignmentKey"];
|
|
@@ -1095,36 +1055,36 @@ export declare const appwriteTableContract: AppwriteTableContract<{
|
|
|
1095
1055
|
readonly name: "Drafts";
|
|
1096
1056
|
};
|
|
1097
1057
|
messageLocations: {
|
|
1098
|
-
readonly dataCheck: (
|
|
1058
|
+
readonly dataCheck: typeof import("./shared.js").messageLocationCoordinateCheck;
|
|
1099
1059
|
readonly fields: {
|
|
1100
|
-
|
|
1060
|
+
account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1101
1061
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1102
1062
|
}, undefined>, v.TransformAction<{
|
|
1103
1063
|
$id: string;
|
|
1104
1064
|
}, string>]>], undefined>>;
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1065
|
+
accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1066
|
+
flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
1067
|
+
label: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1108
1068
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1109
1069
|
}, undefined>, v.TransformAction<{
|
|
1110
1070
|
$id: string;
|
|
1111
1071
|
}, string>]>], undefined>>;
|
|
1112
|
-
|
|
1113
|
-
|
|
1072
|
+
labelAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1073
|
+
message: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1114
1074
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1115
1075
|
}, undefined>, v.TransformAction<{
|
|
1116
1076
|
$id: string;
|
|
1117
1077
|
}, string>]>], undefined>>;
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1078
|
+
messageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
1079
|
+
seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
1080
|
+
thread: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1121
1081
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1122
1082
|
}, undefined>, v.TransformAction<{
|
|
1123
1083
|
$id: string;
|
|
1124
1084
|
}, string>]>], undefined>>;
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1085
|
+
threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1086
|
+
uid: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
|
|
1087
|
+
uidValidity: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
|
|
1128
1088
|
};
|
|
1129
1089
|
readonly indexes: readonly [{
|
|
1130
1090
|
readonly attributes: readonly ["accountAssignmentKey", "labelAssignmentKey", "uidValidity", "uid"];
|
|
@@ -1143,32 +1103,32 @@ export declare const appwriteTableContract: AppwriteTableContract<{
|
|
|
1143
1103
|
};
|
|
1144
1104
|
messages: {
|
|
1145
1105
|
readonly fields: {
|
|
1146
|
-
|
|
1106
|
+
account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1147
1107
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1148
1108
|
}, undefined>, v.TransformAction<{
|
|
1149
1109
|
$id: string;
|
|
1150
1110
|
}, string>]>], undefined>>;
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1111
|
+
accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1112
|
+
attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
1113
|
+
htmlFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1114
|
+
preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1115
|
+
providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1116
|
+
rawFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1117
|
+
receivedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
1118
|
+
recipients: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1119
|
+
revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1120
|
+
rfcMessageId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1121
|
+
sender: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1122
|
+
senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1123
|
+
sentAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
1124
|
+
size: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1125
|
+
subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1126
|
+
thread: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1167
1127
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1168
1128
|
}, undefined>, v.TransformAction<{
|
|
1169
1129
|
$id: string;
|
|
1170
1130
|
}, string>]>], undefined>>;
|
|
1171
|
-
|
|
1131
|
+
threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1172
1132
|
};
|
|
1173
1133
|
readonly indexes: readonly [{
|
|
1174
1134
|
readonly attributes: readonly ["threadAssignmentKey", "sentAt"];
|
|
@@ -1187,19 +1147,19 @@ export declare const appwriteTableContract: AppwriteTableContract<{
|
|
|
1187
1147
|
};
|
|
1188
1148
|
threadAliases: {
|
|
1189
1149
|
readonly fields: {
|
|
1190
|
-
|
|
1150
|
+
alias: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1191
1151
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1192
1152
|
}, undefined>, v.TransformAction<{
|
|
1193
1153
|
$id: string;
|
|
1194
1154
|
}, string>]>], undefined>>;
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1155
|
+
aliasAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1156
|
+
latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
1157
|
+
thread: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1198
1158
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1199
1159
|
}, undefined>, v.TransformAction<{
|
|
1200
1160
|
$id: string;
|
|
1201
1161
|
}, string>]>], undefined>>;
|
|
1202
|
-
|
|
1162
|
+
threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1203
1163
|
};
|
|
1204
1164
|
readonly indexes: readonly [{
|
|
1205
1165
|
readonly attributes: readonly ["threadAssignmentKey", "aliasAssignmentKey"];
|
|
@@ -1214,20 +1174,20 @@ export declare const appwriteTableContract: AppwriteTableContract<{
|
|
|
1214
1174
|
};
|
|
1215
1175
|
threadLabels: {
|
|
1216
1176
|
readonly fields: {
|
|
1217
|
-
|
|
1177
|
+
label: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1218
1178
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1219
1179
|
}, undefined>, v.TransformAction<{
|
|
1220
1180
|
$id: string;
|
|
1221
1181
|
}, string>]>], undefined>>;
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1182
|
+
labelAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1183
|
+
latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
1184
|
+
locationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1185
|
+
thread: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1226
1186
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1227
1187
|
}, undefined>, v.TransformAction<{
|
|
1228
1188
|
$id: string;
|
|
1229
1189
|
}, string>]>], undefined>>;
|
|
1230
|
-
|
|
1190
|
+
threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1231
1191
|
};
|
|
1232
1192
|
readonly indexes: readonly [{
|
|
1233
1193
|
readonly attributes: readonly ["threadAssignmentKey", "labelAssignmentKey"];
|
|
@@ -1242,34 +1202,34 @@ export declare const appwriteTableContract: AppwriteTableContract<{
|
|
|
1242
1202
|
};
|
|
1243
1203
|
threads: {
|
|
1244
1204
|
readonly fields: {
|
|
1245
|
-
|
|
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
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1205
|
+
account: 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
|
+
accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1211
|
+
archived: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
1212
|
+
firstMessageAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
1213
|
+
flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
1214
|
+
flaggedLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1215
|
+
hasAttachments: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
1216
|
+
labelIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1217
|
+
latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
1218
|
+
latestMessageId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1219
|
+
messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1220
|
+
participants: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1221
|
+
preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1222
|
+
providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1223
|
+
revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1224
|
+
searchText: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1225
|
+
seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
1226
|
+
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>>;
|
|
1227
|
+
senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1228
|
+
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>>;
|
|
1229
|
+
spam: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
1230
|
+
subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1231
|
+
trashed: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
1232
|
+
unseenLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1273
1233
|
};
|
|
1274
1234
|
readonly indexes: readonly [{
|
|
1275
1235
|
readonly attributes: readonly ["accountAssignmentKey", "providerId"];
|
|
@@ -1314,212 +1274,252 @@ export declare const appwriteTableContract: AppwriteTableContract<{
|
|
|
1314
1274
|
}];
|
|
1315
1275
|
readonly name: "Threads";
|
|
1316
1276
|
};
|
|
1317
|
-
|
|
1277
|
+
commands: {
|
|
1318
1278
|
readonly fields: {
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1279
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1280
|
+
accountId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1281
|
+
draftId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1282
|
+
kind: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1283
|
+
payload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
1284
|
+
payloadHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1285
|
+
state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACCEPTED", "RUNNING", "SUCCEEDED", "FAILED"], undefined>>;
|
|
1286
|
+
attempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1287
|
+
canonicalRevision: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>>;
|
|
1288
|
+
errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1289
|
+
submittedAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
1290
|
+
account: 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<{
|
|
1330
1291
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1331
1292
|
}, undefined>, v.TransformAction<{
|
|
1332
1293
|
$id: string;
|
|
1333
1294
|
}, string>]>], undefined>, undefined>>;
|
|
1334
|
-
|
|
1335
|
-
readonly mailTotalCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1336
|
-
readonly pollShardAssignmentId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1337
|
-
readonly pollShardId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1338
|
-
readonly primaryAlias: 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<{
|
|
1339
|
-
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1340
|
-
}, undefined>, v.TransformAction<{
|
|
1341
|
-
$id: string;
|
|
1342
|
-
}, string>]>], undefined>, undefined>>;
|
|
1343
|
-
readonly primaryEmail: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
|
|
1344
|
-
readonly profile: 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
|
+
profile: 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
1296
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1346
1297
|
}, undefined>, v.TransformAction<{
|
|
1347
1298
|
$id: string;
|
|
1348
1299
|
}, string>]>], undefined>>;
|
|
1349
|
-
readonly profileAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1350
|
-
readonly provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
|
|
1351
|
-
readonly state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["AWAITING_CONNECTION", "CONNECTED", "ERROR", "DISCONNECTED"], undefined>>;
|
|
1352
1300
|
};
|
|
1353
1301
|
readonly indexes: readonly [{
|
|
1354
|
-
readonly attributes: readonly ["
|
|
1355
|
-
readonly name: "
|
|
1356
|
-
readonly type: "key";
|
|
1357
|
-
}, {
|
|
1358
|
-
readonly attributes: readonly ["profileAssignmentKey", "state"];
|
|
1359
|
-
readonly name: "assignment_profile_state";
|
|
1302
|
+
readonly attributes: readonly ["userId"];
|
|
1303
|
+
readonly name: "user";
|
|
1360
1304
|
readonly type: "key";
|
|
1361
1305
|
}, {
|
|
1362
|
-
readonly attributes: readonly ["
|
|
1363
|
-
readonly name: "
|
|
1306
|
+
readonly attributes: readonly ["userId", "submittedAt"];
|
|
1307
|
+
readonly name: "user_submitted";
|
|
1364
1308
|
readonly type: "key";
|
|
1365
1309
|
}, {
|
|
1366
|
-
readonly attributes: readonly ["
|
|
1367
|
-
readonly name: "
|
|
1310
|
+
readonly attributes: readonly ["accountId", "state"];
|
|
1311
|
+
readonly name: "account_state";
|
|
1368
1312
|
readonly type: "key";
|
|
1369
1313
|
}, {
|
|
1370
|
-
readonly attributes: readonly ["
|
|
1371
|
-
readonly name: "
|
|
1314
|
+
readonly attributes: readonly ["draftId", "canonicalRevision"];
|
|
1315
|
+
readonly name: "draft_sequence";
|
|
1372
1316
|
readonly type: "key";
|
|
1373
1317
|
}, {
|
|
1374
|
-
readonly attributes: readonly ["
|
|
1375
|
-
readonly name: "
|
|
1318
|
+
readonly attributes: readonly ["state", "submittedAt"];
|
|
1319
|
+
readonly name: "state_submitted";
|
|
1376
1320
|
readonly type: "key";
|
|
1377
1321
|
}];
|
|
1378
|
-
readonly name: "
|
|
1322
|
+
readonly name: "Commands";
|
|
1379
1323
|
};
|
|
1380
|
-
|
|
1324
|
+
jobs: {
|
|
1381
1325
|
readonly fields: {
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1326
|
+
commandId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1327
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1328
|
+
accountId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1329
|
+
kind: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1330
|
+
payload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
1331
|
+
dedupeKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1332
|
+
state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED"], undefined>>;
|
|
1333
|
+
attempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1334
|
+
maxAttempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1335
|
+
nextRunAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>>;
|
|
1336
|
+
leaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1337
|
+
leaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
|
|
1338
|
+
errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1393
1339
|
};
|
|
1394
1340
|
readonly indexes: readonly [{
|
|
1395
|
-
readonly attributes: readonly ["
|
|
1396
|
-
readonly name: "
|
|
1341
|
+
readonly attributes: readonly ["state", "nextRunAt"];
|
|
1342
|
+
readonly name: "state_next_run";
|
|
1397
1343
|
readonly type: "key";
|
|
1398
1344
|
}, {
|
|
1399
|
-
readonly attributes: readonly ["
|
|
1400
|
-
readonly name: "
|
|
1345
|
+
readonly attributes: readonly ["leaseExpiresAt"];
|
|
1346
|
+
readonly name: "lease_expiry";
|
|
1347
|
+
readonly type: "key";
|
|
1348
|
+
}, {
|
|
1349
|
+
readonly attributes: readonly ["state", "leaseExpiresAt"];
|
|
1350
|
+
readonly name: "state_lease_expiry";
|
|
1351
|
+
readonly type: "key";
|
|
1352
|
+
}, {
|
|
1353
|
+
readonly attributes: readonly ["userId", "state", "leaseExpiresAt"];
|
|
1354
|
+
readonly name: "user_state_lease_expiry";
|
|
1355
|
+
readonly type: "key";
|
|
1356
|
+
}, {
|
|
1357
|
+
readonly attributes: readonly ["state", "leaseExpiresAt", "leaseId", "attempts"];
|
|
1358
|
+
readonly name: "recovery_fence";
|
|
1359
|
+
readonly type: "key";
|
|
1360
|
+
}, {
|
|
1361
|
+
readonly attributes: readonly ["commandId"];
|
|
1362
|
+
readonly name: "command";
|
|
1363
|
+
readonly type: "key";
|
|
1364
|
+
}, {
|
|
1365
|
+
readonly attributes: readonly ["dedupeKey"];
|
|
1366
|
+
readonly name: "dedupe_key_unique";
|
|
1401
1367
|
readonly type: "unique";
|
|
1402
|
-
}
|
|
1403
|
-
readonly name: "Aliases";
|
|
1404
|
-
};
|
|
1405
|
-
credentials: {
|
|
1406
|
-
readonly fields: {
|
|
1407
|
-
readonly accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1408
|
-
readonly encryptedPayload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
1409
|
-
readonly expiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
1410
|
-
readonly provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
|
|
1411
|
-
readonly refreshLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
|
|
1412
|
-
readonly refreshLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1413
|
-
readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1414
|
-
};
|
|
1415
|
-
readonly indexes: readonly [{
|
|
1368
|
+
}, {
|
|
1416
1369
|
readonly attributes: readonly ["userId"];
|
|
1417
1370
|
readonly name: "user";
|
|
1418
1371
|
readonly type: "key";
|
|
1419
|
-
}, {
|
|
1420
|
-
readonly attributes: readonly ["accountId"];
|
|
1421
|
-
readonly name: "account_unique";
|
|
1422
|
-
readonly type: "unique";
|
|
1423
1372
|
}];
|
|
1424
|
-
readonly name: "
|
|
1373
|
+
readonly name: "Jobs";
|
|
1425
1374
|
};
|
|
1426
|
-
|
|
1375
|
+
mailboxSyncCandidates: {
|
|
1427
1376
|
readonly fields: {
|
|
1428
|
-
|
|
1377
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1378
|
+
accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1379
|
+
generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1380
|
+
lane: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
|
|
1381
|
+
labelId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1382
|
+
mailboxPath: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1383
|
+
mailboxPriority: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1384
|
+
mailboxSortKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 257, undefined>]>>;
|
|
1385
|
+
providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1386
|
+
receivedAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
1387
|
+
specialUse: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
|
|
1388
|
+
uid: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
|
|
1389
|
+
uidValidity: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
|
|
1390
|
+
account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1391
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1392
|
+
}, undefined>, v.TransformAction<{
|
|
1393
|
+
$id: string;
|
|
1394
|
+
}, string>]>], undefined>>;
|
|
1395
|
+
label: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1429
1396
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1430
1397
|
}, undefined>, v.TransformAction<{
|
|
1431
1398
|
$id: string;
|
|
1432
1399
|
}, string>]>], undefined>>;
|
|
1433
|
-
readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1434
|
-
readonly name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1435
|
-
readonly path: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1436
|
-
readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1437
|
-
readonly specialUse: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
|
|
1438
|
-
readonly totalCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1439
|
-
readonly unreadCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1440
1400
|
};
|
|
1441
1401
|
readonly indexes: readonly [{
|
|
1442
|
-
readonly attributes: readonly ["
|
|
1443
|
-
readonly name: "
|
|
1402
|
+
readonly attributes: readonly ["lane"];
|
|
1403
|
+
readonly name: "lane";
|
|
1444
1404
|
readonly type: "key";
|
|
1445
1405
|
}, {
|
|
1446
|
-
readonly attributes: readonly ["
|
|
1447
|
-
readonly name: "
|
|
1448
|
-
readonly type: "
|
|
1449
|
-
}, {
|
|
1450
|
-
readonly attributes: readonly ["accountAssignmentKey", "providerId"];
|
|
1451
|
-
readonly name: "assignment_account_provider_unique";
|
|
1452
|
-
readonly type: "unique";
|
|
1406
|
+
readonly attributes: readonly ["accountId", "lane", "generation", "mailboxPriority", "receivedAt", "labelId", "uid", "uidValidity"];
|
|
1407
|
+
readonly name: "account_lane_generation_order";
|
|
1408
|
+
readonly type: "key";
|
|
1453
1409
|
}];
|
|
1454
|
-
readonly name: "
|
|
1410
|
+
readonly name: "Mailbox sync candidates";
|
|
1455
1411
|
};
|
|
1456
|
-
|
|
1412
|
+
mailboxSyncLanes: {
|
|
1457
1413
|
readonly fields: {
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1414
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1415
|
+
accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1416
|
+
commandId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1417
|
+
cursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1418
|
+
generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1419
|
+
lane: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
|
|
1420
|
+
state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "COMPLETED", "FAILED"], undefined>>;
|
|
1421
|
+
errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1422
|
+
account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1464
1423
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1465
1424
|
}, undefined>, v.TransformAction<{
|
|
1466
1425
|
$id: string;
|
|
1467
1426
|
}, string>]>], undefined>>;
|
|
1468
|
-
readonly provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK"], undefined>>;
|
|
1469
|
-
readonly returnUri: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["https://app.marcoapp.io/onboarding/loading"], undefined>>;
|
|
1470
|
-
readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1471
1427
|
};
|
|
1472
|
-
readonly indexes: readonly [
|
|
1473
|
-
|
|
1428
|
+
readonly indexes: readonly [{
|
|
1429
|
+
readonly attributes: readonly ["accountId", "lane"];
|
|
1430
|
+
readonly name: "account_lane_unique";
|
|
1431
|
+
readonly type: "unique";
|
|
1432
|
+
}, {
|
|
1433
|
+
readonly attributes: readonly ["lane", "state"];
|
|
1434
|
+
readonly name: "lane_state";
|
|
1435
|
+
readonly type: "key";
|
|
1436
|
+
}];
|
|
1437
|
+
readonly name: "Mailbox sync lanes";
|
|
1438
|
+
readonly wirePermissions: "empty";
|
|
1474
1439
|
};
|
|
1475
|
-
|
|
1440
|
+
mailboxSyncStates: {
|
|
1476
1441
|
readonly fields: {
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1442
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1443
|
+
accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1444
|
+
provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
|
|
1445
|
+
providerCursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1446
|
+
uidValidity: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1447
|
+
state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["INITIAL", "SYNCING", "CURRENT", "ERROR"], undefined>>;
|
|
1448
|
+
nextPollAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
|
|
1449
|
+
lastEventAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
1450
|
+
lastSyncAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
1451
|
+
materialisationLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1452
|
+
materialisationLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
|
|
1453
|
+
errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1454
|
+
};
|
|
1455
|
+
readonly indexes: readonly [{
|
|
1456
|
+
readonly attributes: readonly ["state", "nextPollAt"];
|
|
1457
|
+
readonly name: "state_next_poll";
|
|
1458
|
+
readonly type: "key";
|
|
1459
|
+
}, {
|
|
1460
|
+
readonly attributes: readonly ["accountId"];
|
|
1461
|
+
readonly name: "account_unique";
|
|
1462
|
+
readonly type: "unique";
|
|
1463
|
+
}];
|
|
1464
|
+
readonly name: "Mailbox sync states";
|
|
1465
|
+
};
|
|
1466
|
+
pollShardCoordinators: {
|
|
1467
|
+
readonly fields: {
|
|
1468
|
+
accountCursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1485
1469
|
};
|
|
1486
1470
|
readonly indexes: readonly [];
|
|
1487
|
-
readonly name: "
|
|
1471
|
+
readonly name: "Poll shard coordinators";
|
|
1488
1472
|
readonly wirePermissions: "empty";
|
|
1489
1473
|
};
|
|
1490
|
-
|
|
1474
|
+
pollShards: {
|
|
1491
1475
|
readonly fields: {
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1476
|
+
accountIds: import("./shared.js").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>]>>;
|
|
1477
|
+
generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1478
|
+
state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACTIVE", "STOPPED", "FAILED"], undefined>>;
|
|
1479
|
+
leaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1480
|
+
leaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
|
|
1481
|
+
lastStartedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
1482
|
+
nextStartAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>>;
|
|
1483
|
+
pollingSnapshot: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
1484
|
+
scheduledExecutionId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1485
|
+
errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1498
1486
|
};
|
|
1499
1487
|
readonly indexes: readonly [{
|
|
1500
|
-
readonly attributes: readonly ["
|
|
1501
|
-
readonly name: "
|
|
1502
|
-
readonly type: "
|
|
1488
|
+
readonly attributes: readonly ["state", "nextStartAt"];
|
|
1489
|
+
readonly name: "state_next_start";
|
|
1490
|
+
readonly type: "key";
|
|
1491
|
+
}, {
|
|
1492
|
+
readonly attributes: readonly ["leaseExpiresAt"];
|
|
1493
|
+
readonly name: "lease_expiry";
|
|
1494
|
+
readonly type: "key";
|
|
1503
1495
|
}];
|
|
1504
|
-
readonly name: "
|
|
1496
|
+
readonly name: "Poll shards";
|
|
1497
|
+
readonly wirePermissions: "empty";
|
|
1505
1498
|
};
|
|
1506
|
-
|
|
1499
|
+
pushNotificationTokens: {
|
|
1507
1500
|
readonly fields: {
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
readonly profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1501
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1502
|
+
token: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1503
|
+
profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1512
1504
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1513
1505
|
}, undefined>, v.TransformAction<{
|
|
1514
1506
|
$id: string;
|
|
1515
1507
|
}, string>]>], undefined>>;
|
|
1516
1508
|
};
|
|
1517
|
-
readonly indexes: readonly [
|
|
1518
|
-
|
|
1509
|
+
readonly indexes: readonly [{
|
|
1510
|
+
readonly attributes: readonly ["userId"];
|
|
1511
|
+
readonly name: "user";
|
|
1512
|
+
readonly type: "key";
|
|
1513
|
+
}, {
|
|
1514
|
+
readonly attributes: readonly ["token"];
|
|
1515
|
+
readonly name: "token_unique";
|
|
1516
|
+
readonly type: "unique";
|
|
1517
|
+
}];
|
|
1518
|
+
readonly name: "Push notification tokens";
|
|
1519
1519
|
};
|
|
1520
1520
|
}>;
|
|
1521
1521
|
export declare const appwriteTables: {
|
|
1522
|
-
accounts:
|
|
1522
|
+
accounts: Readonly<{
|
|
1523
1523
|
columns: readonly AppwriteColumnDefinition[];
|
|
1524
1524
|
id: string;
|
|
1525
1525
|
indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
|
|
@@ -1527,7 +1527,7 @@ export declare const appwriteTables: {
|
|
|
1527
1527
|
name: string;
|
|
1528
1528
|
relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
|
|
1529
1529
|
}>;
|
|
1530
|
-
aliases:
|
|
1530
|
+
aliases: Readonly<{
|
|
1531
1531
|
columns: readonly AppwriteColumnDefinition[];
|
|
1532
1532
|
id: string;
|
|
1533
1533
|
indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
|
|
@@ -1535,7 +1535,7 @@ export declare const appwriteTables: {
|
|
|
1535
1535
|
name: string;
|
|
1536
1536
|
relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
|
|
1537
1537
|
}>;
|
|
1538
|
-
|
|
1538
|
+
commands: Readonly<{
|
|
1539
1539
|
columns: readonly AppwriteColumnDefinition[];
|
|
1540
1540
|
id: string;
|
|
1541
1541
|
indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
|
|
@@ -1543,7 +1543,7 @@ export declare const appwriteTables: {
|
|
|
1543
1543
|
name: string;
|
|
1544
1544
|
relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
|
|
1545
1545
|
}>;
|
|
1546
|
-
|
|
1546
|
+
contacts: Readonly<{
|
|
1547
1547
|
columns: readonly AppwriteColumnDefinition[];
|
|
1548
1548
|
id: string;
|
|
1549
1549
|
indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
|
|
@@ -1551,7 +1551,7 @@ export declare const appwriteTables: {
|
|
|
1551
1551
|
name: string;
|
|
1552
1552
|
relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
|
|
1553
1553
|
}>;
|
|
1554
|
-
|
|
1554
|
+
credentials: Readonly<{
|
|
1555
1555
|
columns: readonly AppwriteColumnDefinition[];
|
|
1556
1556
|
id: string;
|
|
1557
1557
|
indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
|
|
@@ -1559,7 +1559,7 @@ export declare const appwriteTables: {
|
|
|
1559
1559
|
name: string;
|
|
1560
1560
|
relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
|
|
1561
1561
|
}>;
|
|
1562
|
-
|
|
1562
|
+
drafts: Readonly<{
|
|
1563
1563
|
columns: readonly AppwriteColumnDefinition[];
|
|
1564
1564
|
id: string;
|
|
1565
1565
|
indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
|
|
@@ -1567,7 +1567,7 @@ export declare const appwriteTables: {
|
|
|
1567
1567
|
name: string;
|
|
1568
1568
|
relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
|
|
1569
1569
|
}>;
|
|
1570
|
-
|
|
1570
|
+
jobs: Readonly<{
|
|
1571
1571
|
columns: readonly AppwriteColumnDefinition[];
|
|
1572
1572
|
id: string;
|
|
1573
1573
|
indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
|
|
@@ -1575,7 +1575,7 @@ export declare const appwriteTables: {
|
|
|
1575
1575
|
name: string;
|
|
1576
1576
|
relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
|
|
1577
1577
|
}>;
|
|
1578
|
-
|
|
1578
|
+
labels: Readonly<{
|
|
1579
1579
|
columns: readonly AppwriteColumnDefinition[];
|
|
1580
1580
|
id: string;
|
|
1581
1581
|
indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
|
|
@@ -1583,7 +1583,7 @@ export declare const appwriteTables: {
|
|
|
1583
1583
|
name: string;
|
|
1584
1584
|
relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
|
|
1585
1585
|
}>;
|
|
1586
|
-
|
|
1586
|
+
mailboxSyncCandidates: Readonly<{
|
|
1587
1587
|
columns: readonly AppwriteColumnDefinition[];
|
|
1588
1588
|
id: string;
|
|
1589
1589
|
indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
|
|
@@ -1591,7 +1591,7 @@ export declare const appwriteTables: {
|
|
|
1591
1591
|
name: string;
|
|
1592
1592
|
relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
|
|
1593
1593
|
}>;
|
|
1594
|
-
|
|
1594
|
+
mailboxSyncLanes: Readonly<{
|
|
1595
1595
|
columns: readonly AppwriteColumnDefinition[];
|
|
1596
1596
|
id: string;
|
|
1597
1597
|
indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
|
|
@@ -1599,7 +1599,7 @@ export declare const appwriteTables: {
|
|
|
1599
1599
|
name: string;
|
|
1600
1600
|
relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
|
|
1601
1601
|
}>;
|
|
1602
|
-
|
|
1602
|
+
mailboxSyncStates: Readonly<{
|
|
1603
1603
|
columns: readonly AppwriteColumnDefinition[];
|
|
1604
1604
|
id: string;
|
|
1605
1605
|
indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
|
|
@@ -1607,7 +1607,7 @@ export declare const appwriteTables: {
|
|
|
1607
1607
|
name: string;
|
|
1608
1608
|
relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
|
|
1609
1609
|
}>;
|
|
1610
|
-
|
|
1610
|
+
messageLocations: Readonly<{
|
|
1611
1611
|
columns: readonly AppwriteColumnDefinition[];
|
|
1612
1612
|
id: string;
|
|
1613
1613
|
indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
|
|
@@ -1615,7 +1615,7 @@ export declare const appwriteTables: {
|
|
|
1615
1615
|
name: string;
|
|
1616
1616
|
relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
|
|
1617
1617
|
}>;
|
|
1618
|
-
|
|
1618
|
+
messages: Readonly<{
|
|
1619
1619
|
columns: readonly AppwriteColumnDefinition[];
|
|
1620
1620
|
id: string;
|
|
1621
1621
|
indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
|
|
@@ -1623,7 +1623,7 @@ export declare const appwriteTables: {
|
|
|
1623
1623
|
name: string;
|
|
1624
1624
|
relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
|
|
1625
1625
|
}>;
|
|
1626
|
-
|
|
1626
|
+
oauthStates: Readonly<{
|
|
1627
1627
|
columns: readonly AppwriteColumnDefinition[];
|
|
1628
1628
|
id: string;
|
|
1629
1629
|
indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
|
|
@@ -1631,7 +1631,7 @@ export declare const appwriteTables: {
|
|
|
1631
1631
|
name: string;
|
|
1632
1632
|
relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
|
|
1633
1633
|
}>;
|
|
1634
|
-
|
|
1634
|
+
pollShardCoordinators: Readonly<{
|
|
1635
1635
|
columns: readonly AppwriteColumnDefinition[];
|
|
1636
1636
|
id: string;
|
|
1637
1637
|
indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
|
|
@@ -1639,7 +1639,7 @@ export declare const appwriteTables: {
|
|
|
1639
1639
|
name: string;
|
|
1640
1640
|
relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
|
|
1641
1641
|
}>;
|
|
1642
|
-
|
|
1642
|
+
pollShards: Readonly<{
|
|
1643
1643
|
columns: readonly AppwriteColumnDefinition[];
|
|
1644
1644
|
id: string;
|
|
1645
1645
|
indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
|
|
@@ -1647,7 +1647,7 @@ export declare const appwriteTables: {
|
|
|
1647
1647
|
name: string;
|
|
1648
1648
|
relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
|
|
1649
1649
|
}>;
|
|
1650
|
-
|
|
1650
|
+
profileAvatarCleanups: Readonly<{
|
|
1651
1651
|
columns: readonly AppwriteColumnDefinition[];
|
|
1652
1652
|
id: string;
|
|
1653
1653
|
indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
|
|
@@ -1655,7 +1655,7 @@ export declare const appwriteTables: {
|
|
|
1655
1655
|
name: string;
|
|
1656
1656
|
relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
|
|
1657
1657
|
}>;
|
|
1658
|
-
|
|
1658
|
+
profiles: Readonly<{
|
|
1659
1659
|
columns: readonly AppwriteColumnDefinition[];
|
|
1660
1660
|
id: string;
|
|
1661
1661
|
indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
|
|
@@ -1663,7 +1663,7 @@ export declare const appwriteTables: {
|
|
|
1663
1663
|
name: string;
|
|
1664
1664
|
relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
|
|
1665
1665
|
}>;
|
|
1666
|
-
|
|
1666
|
+
pushNotificationTokens: Readonly<{
|
|
1667
1667
|
columns: readonly AppwriteColumnDefinition[];
|
|
1668
1668
|
id: string;
|
|
1669
1669
|
indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
|
|
@@ -1671,7 +1671,7 @@ export declare const appwriteTables: {
|
|
|
1671
1671
|
name: string;
|
|
1672
1672
|
relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
|
|
1673
1673
|
}>;
|
|
1674
|
-
|
|
1674
|
+
savedViews: Readonly<{
|
|
1675
1675
|
columns: readonly AppwriteColumnDefinition[];
|
|
1676
1676
|
id: string;
|
|
1677
1677
|
indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
|
|
@@ -1679,7 +1679,7 @@ export declare const appwriteTables: {
|
|
|
1679
1679
|
name: string;
|
|
1680
1680
|
relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
|
|
1681
1681
|
}>;
|
|
1682
|
-
|
|
1682
|
+
threadAliases: Readonly<{
|
|
1683
1683
|
columns: readonly AppwriteColumnDefinition[];
|
|
1684
1684
|
id: string;
|
|
1685
1685
|
indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
|
|
@@ -1687,7 +1687,7 @@ export declare const appwriteTables: {
|
|
|
1687
1687
|
name: string;
|
|
1688
1688
|
relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
|
|
1689
1689
|
}>;
|
|
1690
|
-
|
|
1690
|
+
threadLabels: Readonly<{
|
|
1691
1691
|
columns: readonly AppwriteColumnDefinition[];
|
|
1692
1692
|
id: string;
|
|
1693
1693
|
indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
|
|
@@ -1695,7 +1695,7 @@ export declare const appwriteTables: {
|
|
|
1695
1695
|
name: string;
|
|
1696
1696
|
relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
|
|
1697
1697
|
}>;
|
|
1698
|
-
|
|
1698
|
+
threads: Readonly<{
|
|
1699
1699
|
columns: readonly AppwriteColumnDefinition[];
|
|
1700
1700
|
id: string;
|
|
1701
1701
|
indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
|
|
@@ -1753,6 +1753,29 @@ export declare const appwriteDataSchemas: {
|
|
|
1753
1753
|
readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1754
1754
|
readonly signature: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1755
1755
|
}>;
|
|
1756
|
+
commands: AppwriteObjectSchema<{
|
|
1757
|
+
readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1758
|
+
readonly accountId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1759
|
+
readonly draftId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1760
|
+
readonly kind: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1761
|
+
readonly payload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
1762
|
+
readonly payloadHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1763
|
+
readonly state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACCEPTED", "RUNNING", "SUCCEEDED", "FAILED"], undefined>>;
|
|
1764
|
+
readonly attempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1765
|
+
readonly canonicalRevision: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>>;
|
|
1766
|
+
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>>;
|
|
1767
|
+
readonly submittedAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
1768
|
+
readonly account: 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<{
|
|
1769
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1770
|
+
}, undefined>, v.TransformAction<{
|
|
1771
|
+
$id: string;
|
|
1772
|
+
}, string>]>], undefined>, undefined>>;
|
|
1773
|
+
readonly profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1774
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1775
|
+
}, undefined>, v.TransformAction<{
|
|
1776
|
+
$id: string;
|
|
1777
|
+
}, string>]>], undefined>>;
|
|
1778
|
+
}>;
|
|
1756
1779
|
contacts: AppwriteObjectSchema<{
|
|
1757
1780
|
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>>;
|
|
1758
1781
|
readonly lastContactedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
@@ -1805,109 +1828,6 @@ export declare const appwriteDataSchemas: {
|
|
|
1805
1828
|
readonly status: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["DRAFT", "SCHEDULED", "SENDING", "SENT", "FAILED", "CANCELLED"], undefined>>;
|
|
1806
1829
|
readonly type: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["COMPOSE", "REPLY", "FORWARD"], undefined>>;
|
|
1807
1830
|
}>;
|
|
1808
|
-
labels: AppwriteObjectSchema<{
|
|
1809
|
-
readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1810
|
-
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1811
|
-
}, undefined>, v.TransformAction<{
|
|
1812
|
-
$id: string;
|
|
1813
|
-
}, string>]>], undefined>>;
|
|
1814
|
-
readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1815
|
-
readonly name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1816
|
-
readonly path: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1817
|
-
readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1818
|
-
readonly specialUse: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
|
|
1819
|
-
readonly totalCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1820
|
-
readonly unreadCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1821
|
-
}>;
|
|
1822
|
-
messages: AppwriteObjectSchema<{
|
|
1823
|
-
readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1824
|
-
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1825
|
-
}, undefined>, v.TransformAction<{
|
|
1826
|
-
$id: string;
|
|
1827
|
-
}, string>]>], undefined>>;
|
|
1828
|
-
readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1829
|
-
readonly attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
1830
|
-
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>>;
|
|
1831
|
-
readonly preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1832
|
-
readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1833
|
-
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>>;
|
|
1834
|
-
readonly receivedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
1835
|
-
readonly recipients: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1836
|
-
readonly revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1837
|
-
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>>;
|
|
1838
|
-
readonly sender: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1839
|
-
readonly senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1840
|
-
readonly sentAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
1841
|
-
readonly size: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1842
|
-
readonly subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1843
|
-
readonly thread: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1844
|
-
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1845
|
-
}, undefined>, v.TransformAction<{
|
|
1846
|
-
$id: string;
|
|
1847
|
-
}, string>]>], undefined>>;
|
|
1848
|
-
readonly threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1849
|
-
}>;
|
|
1850
|
-
profiles: AppwriteObjectSchema<{
|
|
1851
|
-
readonly avatarFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>, undefined>>;
|
|
1852
|
-
readonly deletionRequestedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
1853
|
-
readonly email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
|
|
1854
|
-
readonly name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1855
|
-
readonly onboardingState: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1856
|
-
readonly timezone: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1857
|
-
}>;
|
|
1858
|
-
threads: AppwriteObjectSchema<{
|
|
1859
|
-
readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1860
|
-
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1861
|
-
}, undefined>, v.TransformAction<{
|
|
1862
|
-
$id: string;
|
|
1863
|
-
}, string>]>], undefined>>;
|
|
1864
|
-
readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1865
|
-
readonly archived: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
1866
|
-
readonly firstMessageAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
1867
|
-
readonly flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
1868
|
-
readonly flaggedLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1869
|
-
readonly hasAttachments: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
1870
|
-
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>>;
|
|
1871
|
-
readonly latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
1872
|
-
readonly latestMessageId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1873
|
-
readonly messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1874
|
-
readonly participants: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1875
|
-
readonly preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1876
|
-
readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1877
|
-
readonly revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1878
|
-
readonly searchText: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1879
|
-
readonly seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
1880
|
-
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>>;
|
|
1881
|
-
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>>;
|
|
1882
|
-
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>>;
|
|
1883
|
-
readonly spam: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
1884
|
-
readonly subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1885
|
-
readonly trashed: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
1886
|
-
readonly unseenLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1887
|
-
}>;
|
|
1888
|
-
commands: AppwriteObjectSchema<{
|
|
1889
|
-
readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1890
|
-
readonly accountId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1891
|
-
readonly draftId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1892
|
-
readonly kind: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1893
|
-
readonly payload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
1894
|
-
readonly payloadHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1895
|
-
readonly state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACCEPTED", "RUNNING", "SUCCEEDED", "FAILED"], undefined>>;
|
|
1896
|
-
readonly attempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1897
|
-
readonly canonicalRevision: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>>;
|
|
1898
|
-
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>>;
|
|
1899
|
-
readonly submittedAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
1900
|
-
readonly account: 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<{
|
|
1901
|
-
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1902
|
-
}, undefined>, v.TransformAction<{
|
|
1903
|
-
$id: string;
|
|
1904
|
-
}, string>]>], undefined>, undefined>>;
|
|
1905
|
-
readonly profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1906
|
-
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1907
|
-
}, undefined>, v.TransformAction<{
|
|
1908
|
-
$id: string;
|
|
1909
|
-
}, string>]>], undefined>>;
|
|
1910
|
-
}>;
|
|
1911
1831
|
jobs: AppwriteObjectSchema<{
|
|
1912
1832
|
readonly commandId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1913
1833
|
readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
@@ -1923,6 +1843,20 @@ export declare const appwriteDataSchemas: {
|
|
|
1923
1843
|
readonly leaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
|
|
1924
1844
|
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>>;
|
|
1925
1845
|
}>;
|
|
1846
|
+
labels: AppwriteObjectSchema<{
|
|
1847
|
+
readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1848
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1849
|
+
}, undefined>, v.TransformAction<{
|
|
1850
|
+
$id: string;
|
|
1851
|
+
}, string>]>], undefined>>;
|
|
1852
|
+
readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1853
|
+
readonly name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
1854
|
+
readonly path: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1855
|
+
readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1856
|
+
readonly specialUse: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
|
|
1857
|
+
readonly totalCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1858
|
+
readonly unreadCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1859
|
+
}>;
|
|
1926
1860
|
mailboxSyncCandidates: AppwriteObjectSchema<{
|
|
1927
1861
|
readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1928
1862
|
readonly accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
@@ -2007,6 +1941,34 @@ export declare const appwriteDataSchemas: {
|
|
|
2007
1941
|
readonly uid: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
|
|
2008
1942
|
readonly uidValidity: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
|
|
2009
1943
|
}>;
|
|
1944
|
+
messages: AppwriteObjectSchema<{
|
|
1945
|
+
readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1946
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1947
|
+
}, undefined>, v.TransformAction<{
|
|
1948
|
+
$id: string;
|
|
1949
|
+
}, string>]>], undefined>>;
|
|
1950
|
+
readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1951
|
+
readonly attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
1952
|
+
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>>;
|
|
1953
|
+
readonly preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1954
|
+
readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1955
|
+
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>>;
|
|
1956
|
+
readonly receivedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
1957
|
+
readonly recipients: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1958
|
+
readonly revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1959
|
+
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>>;
|
|
1960
|
+
readonly sender: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1961
|
+
readonly senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1962
|
+
readonly sentAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
1963
|
+
readonly size: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
1964
|
+
readonly subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
1965
|
+
readonly thread: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1966
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
1967
|
+
}, undefined>, v.TransformAction<{
|
|
1968
|
+
$id: string;
|
|
1969
|
+
}, string>]>], undefined>>;
|
|
1970
|
+
readonly threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
1971
|
+
}>;
|
|
2010
1972
|
oauthStates: AppwriteObjectSchema<{
|
|
2011
1973
|
readonly accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2012
1974
|
readonly email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
|
|
@@ -2047,6 +2009,14 @@ export declare const appwriteDataSchemas: {
|
|
|
2047
2009
|
$id: string;
|
|
2048
2010
|
}, string>]>], undefined>>;
|
|
2049
2011
|
}>;
|
|
2012
|
+
profiles: AppwriteObjectSchema<{
|
|
2013
|
+
readonly avatarFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>, undefined>>;
|
|
2014
|
+
readonly deletionRequestedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
2015
|
+
readonly email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
|
|
2016
|
+
readonly name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2017
|
+
readonly onboardingState: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2018
|
+
readonly timezone: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2019
|
+
}>;
|
|
2050
2020
|
pushNotificationTokens: AppwriteObjectSchema<{
|
|
2051
2021
|
readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2052
2022
|
readonly token: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
@@ -2097,43 +2067,73 @@ export declare const appwriteDataSchemas: {
|
|
|
2097
2067
|
}, string>]>], undefined>>;
|
|
2098
2068
|
readonly threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2099
2069
|
}>;
|
|
2070
|
+
threads: AppwriteObjectSchema<{
|
|
2071
|
+
readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2072
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2073
|
+
}, undefined>, v.TransformAction<{
|
|
2074
|
+
$id: string;
|
|
2075
|
+
}, string>]>], undefined>>;
|
|
2076
|
+
readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2077
|
+
readonly archived: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
2078
|
+
readonly firstMessageAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
2079
|
+
readonly flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
2080
|
+
readonly flaggedLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2081
|
+
readonly hasAttachments: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
2082
|
+
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>>;
|
|
2083
|
+
readonly latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
2084
|
+
readonly latestMessageId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2085
|
+
readonly messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2086
|
+
readonly participants: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2087
|
+
readonly preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2088
|
+
readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2089
|
+
readonly revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2090
|
+
readonly searchText: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2091
|
+
readonly seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
2092
|
+
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>>;
|
|
2093
|
+
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>>;
|
|
2094
|
+
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>>;
|
|
2095
|
+
readonly spam: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
2096
|
+
readonly subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2097
|
+
readonly trashed: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
2098
|
+
readonly unseenLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2099
|
+
}>;
|
|
2100
2100
|
};
|
|
2101
2101
|
export declare const appwriteRowSchemas: {
|
|
2102
2102
|
accounts: AppwriteRowSchemaFor<{
|
|
2103
2103
|
readonly fields: {
|
|
2104
|
-
|
|
2105
|
-
|
|
2104
|
+
colour: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 64, undefined>]>>;
|
|
2105
|
+
credential: 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<{
|
|
2106
2106
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2107
2107
|
}, undefined>, v.TransformAction<{
|
|
2108
2108
|
$id: string;
|
|
2109
2109
|
}, string>]>], undefined>, undefined>>;
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2110
|
+
displayName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2111
|
+
initialSyncCompletedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
2112
|
+
lastErrorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2113
|
+
lastSuccessfulSyncAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
2114
|
+
mailboxSyncState: 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<{
|
|
2115
2115
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2116
2116
|
}, undefined>, v.TransformAction<{
|
|
2117
2117
|
$id: string;
|
|
2118
2118
|
}, string>]>], undefined>, undefined>>;
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2119
|
+
mailProcessedCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2120
|
+
mailTotalCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2121
|
+
pollShardAssignmentId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2122
|
+
pollShardId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2123
|
+
primaryAlias: 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<{
|
|
2124
2124
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2125
2125
|
}, undefined>, v.TransformAction<{
|
|
2126
2126
|
$id: string;
|
|
2127
2127
|
}, string>]>], undefined>, undefined>>;
|
|
2128
|
-
|
|
2129
|
-
|
|
2128
|
+
primaryEmail: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
|
|
2129
|
+
profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2130
2130
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2131
2131
|
}, undefined>, v.TransformAction<{
|
|
2132
2132
|
$id: string;
|
|
2133
2133
|
}, string>]>], undefined>>;
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2134
|
+
profileAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2135
|
+
provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
|
|
2136
|
+
state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["AWAITING_CONNECTION", "CONNECTED", "ERROR", "DISCONNECTED"], undefined>>;
|
|
2137
2137
|
};
|
|
2138
2138
|
readonly indexes: readonly [{
|
|
2139
2139
|
readonly attributes: readonly ["profileAssignmentKey"];
|
|
@@ -2164,42 +2164,89 @@ export declare const appwriteRowSchemas: {
|
|
|
2164
2164
|
}>;
|
|
2165
2165
|
aliases: AppwriteRowSchemaFor<{
|
|
2166
2166
|
readonly fields: {
|
|
2167
|
-
|
|
2167
|
+
account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2168
2168
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2169
2169
|
}, undefined>, v.TransformAction<{
|
|
2170
2170
|
$id: string;
|
|
2171
2171
|
}, string>]>], undefined>>;
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2172
|
+
accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2173
|
+
email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
|
|
2174
|
+
isPrimary: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
2175
|
+
name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2176
|
+
providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2177
|
+
signature: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2178
2178
|
};
|
|
2179
2179
|
readonly indexes: readonly [{
|
|
2180
2180
|
readonly attributes: readonly ["accountAssignmentKey"];
|
|
2181
2181
|
readonly name: "assignment_account";
|
|
2182
2182
|
readonly type: "key";
|
|
2183
2183
|
}, {
|
|
2184
|
-
readonly attributes: readonly ["accountAssignmentKey", "providerId"];
|
|
2185
|
-
readonly name: "assignment_account_provider_unique";
|
|
2186
|
-
readonly type: "unique";
|
|
2184
|
+
readonly attributes: readonly ["accountAssignmentKey", "providerId"];
|
|
2185
|
+
readonly name: "assignment_account_provider_unique";
|
|
2186
|
+
readonly type: "unique";
|
|
2187
|
+
}];
|
|
2188
|
+
readonly name: "Aliases";
|
|
2189
|
+
}>;
|
|
2190
|
+
commands: AppwriteRowSchemaFor<{
|
|
2191
|
+
readonly fields: {
|
|
2192
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2193
|
+
accountId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2194
|
+
draftId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2195
|
+
kind: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2196
|
+
payload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
2197
|
+
payloadHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2198
|
+
state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACCEPTED", "RUNNING", "SUCCEEDED", "FAILED"], undefined>>;
|
|
2199
|
+
attempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2200
|
+
canonicalRevision: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>>;
|
|
2201
|
+
errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2202
|
+
submittedAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
2203
|
+
account: 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<{
|
|
2204
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2205
|
+
}, undefined>, v.TransformAction<{
|
|
2206
|
+
$id: string;
|
|
2207
|
+
}, string>]>], undefined>, undefined>>;
|
|
2208
|
+
profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2209
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2210
|
+
}, undefined>, v.TransformAction<{
|
|
2211
|
+
$id: string;
|
|
2212
|
+
}, string>]>], undefined>>;
|
|
2213
|
+
};
|
|
2214
|
+
readonly indexes: readonly [{
|
|
2215
|
+
readonly attributes: readonly ["userId"];
|
|
2216
|
+
readonly name: "user";
|
|
2217
|
+
readonly type: "key";
|
|
2218
|
+
}, {
|
|
2219
|
+
readonly attributes: readonly ["userId", "submittedAt"];
|
|
2220
|
+
readonly name: "user_submitted";
|
|
2221
|
+
readonly type: "key";
|
|
2222
|
+
}, {
|
|
2223
|
+
readonly attributes: readonly ["accountId", "state"];
|
|
2224
|
+
readonly name: "account_state";
|
|
2225
|
+
readonly type: "key";
|
|
2226
|
+
}, {
|
|
2227
|
+
readonly attributes: readonly ["draftId", "canonicalRevision"];
|
|
2228
|
+
readonly name: "draft_sequence";
|
|
2229
|
+
readonly type: "key";
|
|
2230
|
+
}, {
|
|
2231
|
+
readonly attributes: readonly ["state", "submittedAt"];
|
|
2232
|
+
readonly name: "state_submitted";
|
|
2233
|
+
readonly type: "key";
|
|
2187
2234
|
}];
|
|
2188
|
-
readonly name: "
|
|
2235
|
+
readonly name: "Commands";
|
|
2189
2236
|
}>;
|
|
2190
2237
|
contacts: AppwriteRowSchemaFor<{
|
|
2191
2238
|
readonly fields: {
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2239
|
+
displayName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2240
|
+
lastContactedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
2241
|
+
messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2242
|
+
normalisedAddress: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>>;
|
|
2243
|
+
profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2197
2244
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2198
2245
|
}, undefined>, v.TransformAction<{
|
|
2199
2246
|
$id: string;
|
|
2200
2247
|
}, string>]>], undefined>>;
|
|
2201
|
-
|
|
2202
|
-
|
|
2248
|
+
profileAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2249
|
+
searchText: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
2203
2250
|
};
|
|
2204
2251
|
readonly indexes: readonly [{
|
|
2205
2252
|
readonly attributes: readonly ["profileAssignmentKey", "lastContactedAt"];
|
|
@@ -2218,13 +2265,13 @@ export declare const appwriteRowSchemas: {
|
|
|
2218
2265
|
}>;
|
|
2219
2266
|
credentials: AppwriteRowSchemaFor<{
|
|
2220
2267
|
readonly fields: {
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2268
|
+
accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2269
|
+
encryptedPayload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
2270
|
+
expiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
2271
|
+
provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
|
|
2272
|
+
refreshLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
|
|
2273
|
+
refreshLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2274
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2228
2275
|
};
|
|
2229
2276
|
readonly indexes: readonly [{
|
|
2230
2277
|
readonly attributes: readonly ["userId"];
|
|
@@ -2239,34 +2286,34 @@ export declare const appwriteRowSchemas: {
|
|
|
2239
2286
|
}>;
|
|
2240
2287
|
drafts: AppwriteRowSchemaFor<{
|
|
2241
2288
|
readonly fields: {
|
|
2242
|
-
|
|
2289
|
+
account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2243
2290
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2244
2291
|
}, undefined>, v.TransformAction<{
|
|
2245
2292
|
$id: string;
|
|
2246
2293
|
}, string>]>], undefined>>;
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2294
|
+
accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2295
|
+
attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
2296
|
+
contentHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2297
|
+
envelope: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
2298
|
+
errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2299
|
+
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>>;
|
|
2300
|
+
executionLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2301
|
+
fromAlias: 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<{
|
|
2255
2302
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2256
2303
|
}, undefined>, v.TransformAction<{
|
|
2257
2304
|
$id: string;
|
|
2258
2305
|
}, string>]>], undefined>, undefined>>;
|
|
2259
|
-
|
|
2260
|
-
|
|
2306
|
+
html: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
2307
|
+
referencedMessage: 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<{
|
|
2261
2308
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2262
2309
|
}, undefined>, v.TransformAction<{
|
|
2263
2310
|
$id: string;
|
|
2264
2311
|
}, string>]>], undefined>, undefined>>;
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2312
|
+
revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2313
|
+
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>>;
|
|
2314
|
+
sequence: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2315
|
+
status: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["DRAFT", "SCHEDULED", "SENDING", "SENT", "FAILED", "CANCELLED"], undefined>>;
|
|
2316
|
+
type: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["COMPOSE", "REPLY", "FORWARD"], undefined>>;
|
|
2270
2317
|
};
|
|
2271
2318
|
readonly indexes: readonly [{
|
|
2272
2319
|
readonly attributes: readonly ["accountAssignmentKey"];
|
|
@@ -2283,232 +2330,21 @@ export declare const appwriteRowSchemas: {
|
|
|
2283
2330
|
}];
|
|
2284
2331
|
readonly name: "Drafts";
|
|
2285
2332
|
}>;
|
|
2286
|
-
labels: AppwriteRowSchemaFor<{
|
|
2287
|
-
readonly fields: {
|
|
2288
|
-
readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2289
|
-
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2290
|
-
}, undefined>, v.TransformAction<{
|
|
2291
|
-
$id: string;
|
|
2292
|
-
}, string>]>], undefined>>;
|
|
2293
|
-
readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2294
|
-
readonly name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2295
|
-
readonly path: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2296
|
-
readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2297
|
-
readonly specialUse: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
|
|
2298
|
-
readonly totalCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2299
|
-
readonly unreadCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2300
|
-
};
|
|
2301
|
-
readonly indexes: readonly [{
|
|
2302
|
-
readonly attributes: readonly ["accountAssignmentKey", "specialUse"];
|
|
2303
|
-
readonly name: "assignment_account_special_use";
|
|
2304
|
-
readonly type: "key";
|
|
2305
|
-
}, {
|
|
2306
|
-
readonly attributes: readonly ["accountAssignmentKey", "path"];
|
|
2307
|
-
readonly name: "assignment_account_path_unique";
|
|
2308
|
-
readonly type: "unique";
|
|
2309
|
-
}, {
|
|
2310
|
-
readonly attributes: readonly ["accountAssignmentKey", "providerId"];
|
|
2311
|
-
readonly name: "assignment_account_provider_unique";
|
|
2312
|
-
readonly type: "unique";
|
|
2313
|
-
}];
|
|
2314
|
-
readonly name: "Labels";
|
|
2315
|
-
}>;
|
|
2316
|
-
messages: AppwriteRowSchemaFor<{
|
|
2317
|
-
readonly fields: {
|
|
2318
|
-
readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2319
|
-
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2320
|
-
}, undefined>, v.TransformAction<{
|
|
2321
|
-
$id: string;
|
|
2322
|
-
}, string>]>], undefined>>;
|
|
2323
|
-
readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2324
|
-
readonly attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
2325
|
-
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>>;
|
|
2326
|
-
readonly preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2327
|
-
readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2328
|
-
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>>;
|
|
2329
|
-
readonly receivedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
2330
|
-
readonly recipients: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2331
|
-
readonly revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2332
|
-
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>>;
|
|
2333
|
-
readonly sender: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2334
|
-
readonly senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2335
|
-
readonly sentAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
2336
|
-
readonly size: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2337
|
-
readonly subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2338
|
-
readonly thread: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2339
|
-
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2340
|
-
}, undefined>, v.TransformAction<{
|
|
2341
|
-
$id: string;
|
|
2342
|
-
}, string>]>], undefined>>;
|
|
2343
|
-
readonly threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2344
|
-
};
|
|
2345
|
-
readonly indexes: readonly [{
|
|
2346
|
-
readonly attributes: readonly ["threadAssignmentKey", "sentAt"];
|
|
2347
|
-
readonly name: "assignment_thread_sent";
|
|
2348
|
-
readonly type: "key";
|
|
2349
|
-
}, {
|
|
2350
|
-
readonly attributes: readonly ["accountAssignmentKey", "providerId"];
|
|
2351
|
-
readonly name: "assignment_account_provider_unique";
|
|
2352
|
-
readonly type: "unique";
|
|
2353
|
-
}, {
|
|
2354
|
-
readonly attributes: readonly ["accountAssignmentKey", "rfcMessageId"];
|
|
2355
|
-
readonly name: "assignment_account_rfc_message";
|
|
2356
|
-
readonly type: "key";
|
|
2357
|
-
}];
|
|
2358
|
-
readonly name: "Messages";
|
|
2359
|
-
}>;
|
|
2360
|
-
profiles: AppwriteRowSchemaFor<{
|
|
2361
|
-
readonly fields: {
|
|
2362
|
-
readonly avatarFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>, undefined>>;
|
|
2363
|
-
readonly deletionRequestedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
2364
|
-
readonly email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
|
|
2365
|
-
readonly name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2366
|
-
readonly onboardingState: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2367
|
-
readonly timezone: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2368
|
-
};
|
|
2369
|
-
readonly indexes: readonly [{
|
|
2370
|
-
readonly attributes: readonly ["email"];
|
|
2371
|
-
readonly name: "email_unique";
|
|
2372
|
-
readonly type: "unique";
|
|
2373
|
-
}];
|
|
2374
|
-
readonly name: "Profiles";
|
|
2375
|
-
}>;
|
|
2376
|
-
threads: AppwriteRowSchemaFor<{
|
|
2377
|
-
readonly fields: {
|
|
2378
|
-
readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2379
|
-
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2380
|
-
}, undefined>, v.TransformAction<{
|
|
2381
|
-
$id: string;
|
|
2382
|
-
}, string>]>], undefined>>;
|
|
2383
|
-
readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2384
|
-
readonly archived: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
2385
|
-
readonly firstMessageAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
2386
|
-
readonly flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
2387
|
-
readonly flaggedLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2388
|
-
readonly hasAttachments: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
2389
|
-
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>>;
|
|
2390
|
-
readonly latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
2391
|
-
readonly latestMessageId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2392
|
-
readonly messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2393
|
-
readonly participants: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2394
|
-
readonly preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2395
|
-
readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2396
|
-
readonly revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2397
|
-
readonly searchText: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2398
|
-
readonly seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
2399
|
-
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>>;
|
|
2400
|
-
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>>;
|
|
2401
|
-
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>>;
|
|
2402
|
-
readonly spam: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
2403
|
-
readonly subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2404
|
-
readonly trashed: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
2405
|
-
readonly unseenLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2406
|
-
};
|
|
2407
|
-
readonly indexes: readonly [{
|
|
2408
|
-
readonly attributes: readonly ["accountAssignmentKey", "providerId"];
|
|
2409
|
-
readonly name: "assignment_account_provider_unique";
|
|
2410
|
-
readonly type: "unique";
|
|
2411
|
-
}, {
|
|
2412
|
-
readonly attributes: readonly ["accountAssignmentKey", "latestMessageAt"];
|
|
2413
|
-
readonly name: "assignment_account_latest";
|
|
2414
|
-
readonly type: "key";
|
|
2415
|
-
}, {
|
|
2416
|
-
readonly attributes: readonly ["accountAssignmentKey", "seen", "latestMessageAt"];
|
|
2417
|
-
readonly name: "assignment_account_seen_latest";
|
|
2418
|
-
readonly type: "key";
|
|
2419
|
-
}, {
|
|
2420
|
-
readonly attributes: readonly ["accountAssignmentKey", "flagged", "latestMessageAt"];
|
|
2421
|
-
readonly name: "assignment_account_flagged_latest";
|
|
2422
|
-
readonly type: "key";
|
|
2423
|
-
}, {
|
|
2424
|
-
readonly attributes: readonly ["accountAssignmentKey", "snoozedUntil", "latestMessageAt"];
|
|
2425
|
-
readonly name: "assignment_account_snoozed_latest";
|
|
2426
|
-
readonly type: "key";
|
|
2427
|
-
}, {
|
|
2428
|
-
readonly attributes: readonly ["snoozedUntil"];
|
|
2429
|
-
readonly name: "snoozed_due";
|
|
2430
|
-
readonly type: "key";
|
|
2431
|
-
}, {
|
|
2432
|
-
readonly attributes: readonly ["accountAssignmentKey", "archived", "latestMessageAt"];
|
|
2433
|
-
readonly name: "assignment_account_archived_latest";
|
|
2434
|
-
readonly type: "key";
|
|
2435
|
-
}, {
|
|
2436
|
-
readonly attributes: readonly ["accountAssignmentKey", "spam", "latestMessageAt"];
|
|
2437
|
-
readonly name: "assignment_account_spam_latest";
|
|
2438
|
-
readonly type: "key";
|
|
2439
|
-
}, {
|
|
2440
|
-
readonly attributes: readonly ["accountAssignmentKey", "trashed", "latestMessageAt"];
|
|
2441
|
-
readonly name: "assignment_account_trashed_latest";
|
|
2442
|
-
readonly type: "key";
|
|
2443
|
-
}, {
|
|
2444
|
-
readonly attributes: readonly ["searchText"];
|
|
2445
|
-
readonly name: "search";
|
|
2446
|
-
readonly type: "fulltext";
|
|
2447
|
-
}];
|
|
2448
|
-
readonly name: "Threads";
|
|
2449
|
-
}>;
|
|
2450
|
-
commands: AppwriteRowSchemaFor<{
|
|
2451
|
-
readonly fields: {
|
|
2452
|
-
readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2453
|
-
readonly accountId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2454
|
-
readonly draftId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2455
|
-
readonly kind: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2456
|
-
readonly payload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
2457
|
-
readonly payloadHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2458
|
-
readonly state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACCEPTED", "RUNNING", "SUCCEEDED", "FAILED"], undefined>>;
|
|
2459
|
-
readonly attempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2460
|
-
readonly canonicalRevision: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>>;
|
|
2461
|
-
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>>;
|
|
2462
|
-
readonly submittedAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
2463
|
-
readonly account: 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<{
|
|
2464
|
-
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2465
|
-
}, undefined>, v.TransformAction<{
|
|
2466
|
-
$id: string;
|
|
2467
|
-
}, string>]>], undefined>, undefined>>;
|
|
2468
|
-
readonly profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2469
|
-
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2470
|
-
}, undefined>, v.TransformAction<{
|
|
2471
|
-
$id: string;
|
|
2472
|
-
}, string>]>], undefined>>;
|
|
2473
|
-
};
|
|
2474
|
-
readonly indexes: readonly [{
|
|
2475
|
-
readonly attributes: readonly ["userId"];
|
|
2476
|
-
readonly name: "user";
|
|
2477
|
-
readonly type: "key";
|
|
2478
|
-
}, {
|
|
2479
|
-
readonly attributes: readonly ["userId", "submittedAt"];
|
|
2480
|
-
readonly name: "user_submitted";
|
|
2481
|
-
readonly type: "key";
|
|
2482
|
-
}, {
|
|
2483
|
-
readonly attributes: readonly ["accountId", "state"];
|
|
2484
|
-
readonly name: "account_state";
|
|
2485
|
-
readonly type: "key";
|
|
2486
|
-
}, {
|
|
2487
|
-
readonly attributes: readonly ["draftId", "canonicalRevision"];
|
|
2488
|
-
readonly name: "draft_sequence";
|
|
2489
|
-
readonly type: "key";
|
|
2490
|
-
}, {
|
|
2491
|
-
readonly attributes: readonly ["state", "submittedAt"];
|
|
2492
|
-
readonly name: "state_submitted";
|
|
2493
|
-
readonly type: "key";
|
|
2494
|
-
}];
|
|
2495
|
-
readonly name: "Commands";
|
|
2496
|
-
}>;
|
|
2497
2333
|
jobs: AppwriteRowSchemaFor<{
|
|
2498
2334
|
readonly fields: {
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2335
|
+
commandId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2336
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2337
|
+
accountId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2338
|
+
kind: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2339
|
+
payload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
2340
|
+
dedupeKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2341
|
+
state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED"], undefined>>;
|
|
2342
|
+
attempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2343
|
+
maxAttempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2344
|
+
nextRunAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>>;
|
|
2345
|
+
leaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2346
|
+
leaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
|
|
2347
|
+
errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2512
2348
|
};
|
|
2513
2349
|
readonly indexes: readonly [{
|
|
2514
2350
|
readonly attributes: readonly ["state", "nextRunAt"];
|
|
@@ -2545,27 +2381,57 @@ export declare const appwriteRowSchemas: {
|
|
|
2545
2381
|
}];
|
|
2546
2382
|
readonly name: "Jobs";
|
|
2547
2383
|
}>;
|
|
2384
|
+
labels: AppwriteRowSchemaFor<{
|
|
2385
|
+
readonly fields: {
|
|
2386
|
+
account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2387
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2388
|
+
}, undefined>, v.TransformAction<{
|
|
2389
|
+
$id: string;
|
|
2390
|
+
}, string>]>], undefined>>;
|
|
2391
|
+
accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2392
|
+
name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2393
|
+
path: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2394
|
+
providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2395
|
+
specialUse: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
|
|
2396
|
+
totalCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2397
|
+
unreadCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2398
|
+
};
|
|
2399
|
+
readonly indexes: readonly [{
|
|
2400
|
+
readonly attributes: readonly ["accountAssignmentKey", "specialUse"];
|
|
2401
|
+
readonly name: "assignment_account_special_use";
|
|
2402
|
+
readonly type: "key";
|
|
2403
|
+
}, {
|
|
2404
|
+
readonly attributes: readonly ["accountAssignmentKey", "path"];
|
|
2405
|
+
readonly name: "assignment_account_path_unique";
|
|
2406
|
+
readonly type: "unique";
|
|
2407
|
+
}, {
|
|
2408
|
+
readonly attributes: readonly ["accountAssignmentKey", "providerId"];
|
|
2409
|
+
readonly name: "assignment_account_provider_unique";
|
|
2410
|
+
readonly type: "unique";
|
|
2411
|
+
}];
|
|
2412
|
+
readonly name: "Labels";
|
|
2413
|
+
}>;
|
|
2548
2414
|
mailboxSyncCandidates: AppwriteRowSchemaFor<{
|
|
2549
2415
|
readonly fields: {
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2416
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2417
|
+
accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2418
|
+
generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2419
|
+
lane: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
|
|
2420
|
+
labelId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2421
|
+
mailboxPath: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2422
|
+
mailboxPriority: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2423
|
+
mailboxSortKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 257, undefined>]>>;
|
|
2424
|
+
providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2425
|
+
receivedAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
2426
|
+
specialUse: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
|
|
2427
|
+
uid: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
|
|
2428
|
+
uidValidity: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
|
|
2429
|
+
account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2564
2430
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2565
2431
|
}, undefined>, v.TransformAction<{
|
|
2566
2432
|
$id: string;
|
|
2567
2433
|
}, string>]>], undefined>>;
|
|
2568
|
-
|
|
2434
|
+
label: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2569
2435
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2570
2436
|
}, undefined>, v.TransformAction<{
|
|
2571
2437
|
$id: string;
|
|
@@ -2584,15 +2450,15 @@ export declare const appwriteRowSchemas: {
|
|
|
2584
2450
|
}>;
|
|
2585
2451
|
mailboxSyncLanes: AppwriteRowSchemaFor<{
|
|
2586
2452
|
readonly fields: {
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2453
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2454
|
+
accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2455
|
+
commandId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2456
|
+
cursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2457
|
+
generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2458
|
+
lane: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
|
|
2459
|
+
state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "COMPLETED", "FAILED"], undefined>>;
|
|
2460
|
+
errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2461
|
+
account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2596
2462
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2597
2463
|
}, undefined>, v.TransformAction<{
|
|
2598
2464
|
$id: string;
|
|
@@ -2612,18 +2478,18 @@ export declare const appwriteRowSchemas: {
|
|
|
2612
2478
|
}>;
|
|
2613
2479
|
mailboxSyncStates: AppwriteRowSchemaFor<{
|
|
2614
2480
|
readonly fields: {
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2481
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2482
|
+
accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2483
|
+
provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
|
|
2484
|
+
providerCursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2485
|
+
uidValidity: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2486
|
+
state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["INITIAL", "SYNCING", "CURRENT", "ERROR"], undefined>>;
|
|
2487
|
+
nextPollAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
|
|
2488
|
+
lastEventAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
2489
|
+
lastSyncAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
2490
|
+
materialisationLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2491
|
+
materialisationLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
|
|
2492
|
+
errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2627
2493
|
};
|
|
2628
2494
|
readonly indexes: readonly [{
|
|
2629
2495
|
readonly attributes: readonly ["state", "nextPollAt"];
|
|
@@ -2637,36 +2503,36 @@ export declare const appwriteRowSchemas: {
|
|
|
2637
2503
|
readonly name: "Mailbox sync states";
|
|
2638
2504
|
}>;
|
|
2639
2505
|
messageLocations: AppwriteRowSchemaFor<{
|
|
2640
|
-
readonly dataCheck: (
|
|
2506
|
+
readonly dataCheck: typeof import("./shared.js").messageLocationCoordinateCheck;
|
|
2641
2507
|
readonly fields: {
|
|
2642
|
-
|
|
2508
|
+
account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2643
2509
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2644
2510
|
}, undefined>, v.TransformAction<{
|
|
2645
2511
|
$id: string;
|
|
2646
2512
|
}, string>]>], undefined>>;
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2513
|
+
accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2514
|
+
flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
2515
|
+
label: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2650
2516
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2651
2517
|
}, undefined>, v.TransformAction<{
|
|
2652
2518
|
$id: string;
|
|
2653
2519
|
}, string>]>], undefined>>;
|
|
2654
|
-
|
|
2655
|
-
|
|
2520
|
+
labelAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2521
|
+
message: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2656
2522
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2657
2523
|
}, undefined>, v.TransformAction<{
|
|
2658
2524
|
$id: string;
|
|
2659
2525
|
}, string>]>], undefined>>;
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2526
|
+
messageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
2527
|
+
seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
2528
|
+
thread: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2663
2529
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2664
2530
|
}, undefined>, v.TransformAction<{
|
|
2665
2531
|
$id: string;
|
|
2666
2532
|
}, string>]>], undefined>>;
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2533
|
+
threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2534
|
+
uid: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
|
|
2535
|
+
uidValidity: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
|
|
2670
2536
|
};
|
|
2671
2537
|
readonly indexes: readonly [{
|
|
2672
2538
|
readonly attributes: readonly ["accountAssignmentKey", "labelAssignmentKey", "uidValidity", "uid"];
|
|
@@ -2683,28 +2549,72 @@ export declare const appwriteRowSchemas: {
|
|
|
2683
2549
|
}];
|
|
2684
2550
|
readonly name: "Message locations";
|
|
2685
2551
|
}>;
|
|
2552
|
+
messages: AppwriteRowSchemaFor<{
|
|
2553
|
+
readonly fields: {
|
|
2554
|
+
account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2555
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2556
|
+
}, undefined>, v.TransformAction<{
|
|
2557
|
+
$id: string;
|
|
2558
|
+
}, string>]>], undefined>>;
|
|
2559
|
+
accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2560
|
+
attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
2561
|
+
htmlFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2562
|
+
preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2563
|
+
providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2564
|
+
rawFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2565
|
+
receivedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
2566
|
+
recipients: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2567
|
+
revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2568
|
+
rfcMessageId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2569
|
+
sender: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2570
|
+
senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2571
|
+
sentAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
2572
|
+
size: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2573
|
+
subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2574
|
+
thread: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2575
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2576
|
+
}, undefined>, v.TransformAction<{
|
|
2577
|
+
$id: string;
|
|
2578
|
+
}, string>]>], undefined>>;
|
|
2579
|
+
threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2580
|
+
};
|
|
2581
|
+
readonly indexes: readonly [{
|
|
2582
|
+
readonly attributes: readonly ["threadAssignmentKey", "sentAt"];
|
|
2583
|
+
readonly name: "assignment_thread_sent";
|
|
2584
|
+
readonly type: "key";
|
|
2585
|
+
}, {
|
|
2586
|
+
readonly attributes: readonly ["accountAssignmentKey", "providerId"];
|
|
2587
|
+
readonly name: "assignment_account_provider_unique";
|
|
2588
|
+
readonly type: "unique";
|
|
2589
|
+
}, {
|
|
2590
|
+
readonly attributes: readonly ["accountAssignmentKey", "rfcMessageId"];
|
|
2591
|
+
readonly name: "assignment_account_rfc_message";
|
|
2592
|
+
readonly type: "key";
|
|
2593
|
+
}];
|
|
2594
|
+
readonly name: "Messages";
|
|
2595
|
+
}>;
|
|
2686
2596
|
oauthStates: AppwriteRowSchemaFor<{
|
|
2687
2597
|
readonly fields: {
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2598
|
+
accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2599
|
+
email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
|
|
2600
|
+
expiresAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
2601
|
+
nonceHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2602
|
+
operation: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["CONNECT", "REPLACE"], undefined>>;
|
|
2603
|
+
profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2694
2604
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2695
2605
|
}, undefined>, v.TransformAction<{
|
|
2696
2606
|
$id: string;
|
|
2697
2607
|
}, string>]>], undefined>>;
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2608
|
+
provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK"], undefined>>;
|
|
2609
|
+
returnUri: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["https://app.marcoapp.io/onboarding/loading"], undefined>>;
|
|
2610
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2701
2611
|
};
|
|
2702
2612
|
readonly indexes: readonly [];
|
|
2703
2613
|
readonly name: "OAuth states";
|
|
2704
2614
|
}>;
|
|
2705
2615
|
pollShardCoordinators: AppwriteRowSchemaFor<{
|
|
2706
2616
|
readonly fields: {
|
|
2707
|
-
|
|
2617
|
+
accountCursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2708
2618
|
};
|
|
2709
2619
|
readonly indexes: readonly [];
|
|
2710
2620
|
readonly name: "Poll shard coordinators";
|
|
@@ -2712,16 +2622,16 @@ export declare const appwriteRowSchemas: {
|
|
|
2712
2622
|
}>;
|
|
2713
2623
|
pollShards: AppwriteRowSchemaFor<{
|
|
2714
2624
|
readonly fields: {
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2625
|
+
accountIds: import("./shared.js").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>]>>;
|
|
2626
|
+
generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2627
|
+
state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACTIVE", "STOPPED", "FAILED"], undefined>>;
|
|
2628
|
+
leaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2629
|
+
leaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
|
|
2630
|
+
lastStartedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
2631
|
+
nextStartAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>>;
|
|
2632
|
+
pollingSnapshot: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
2633
|
+
scheduledExecutionId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2634
|
+
errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2725
2635
|
};
|
|
2726
2636
|
readonly indexes: readonly [{
|
|
2727
2637
|
readonly attributes: readonly ["state", "nextStartAt"];
|
|
@@ -2737,10 +2647,10 @@ export declare const appwriteRowSchemas: {
|
|
|
2737
2647
|
}>;
|
|
2738
2648
|
profileAvatarCleanups: AppwriteRowSchemaFor<{
|
|
2739
2649
|
readonly fields: {
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2650
|
+
claimedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
2651
|
+
claimId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2652
|
+
fileId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2653
|
+
profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2744
2654
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2745
2655
|
}, undefined>, v.TransformAction<{
|
|
2746
2656
|
$id: string;
|
|
@@ -2750,11 +2660,27 @@ export declare const appwriteRowSchemas: {
|
|
|
2750
2660
|
readonly name: "Profile avatar cleanups";
|
|
2751
2661
|
readonly wirePermissions: "empty";
|
|
2752
2662
|
}>;
|
|
2663
|
+
profiles: AppwriteRowSchemaFor<{
|
|
2664
|
+
readonly fields: {
|
|
2665
|
+
avatarFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>, undefined>>;
|
|
2666
|
+
deletionRequestedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
2667
|
+
email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
|
|
2668
|
+
name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2669
|
+
onboardingState: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2670
|
+
timezone: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2671
|
+
};
|
|
2672
|
+
readonly indexes: readonly [{
|
|
2673
|
+
readonly attributes: readonly ["email"];
|
|
2674
|
+
readonly name: "email_unique";
|
|
2675
|
+
readonly type: "unique";
|
|
2676
|
+
}];
|
|
2677
|
+
readonly name: "Profiles";
|
|
2678
|
+
}>;
|
|
2753
2679
|
pushNotificationTokens: AppwriteRowSchemaFor<{
|
|
2754
2680
|
readonly fields: {
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2681
|
+
userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2682
|
+
token: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2683
|
+
profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2758
2684
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2759
2685
|
}, undefined>, v.TransformAction<{
|
|
2760
2686
|
$id: string;
|
|
@@ -2773,10 +2699,10 @@ export declare const appwriteRowSchemas: {
|
|
|
2773
2699
|
}>;
|
|
2774
2700
|
savedViews: AppwriteRowSchemaFor<{
|
|
2775
2701
|
readonly fields: {
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2702
|
+
aliasIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2703
|
+
icon: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2704
|
+
name: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2705
|
+
profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2780
2706
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2781
2707
|
}, undefined>, v.TransformAction<{
|
|
2782
2708
|
$id: string;
|
|
@@ -2787,19 +2713,19 @@ export declare const appwriteRowSchemas: {
|
|
|
2787
2713
|
}>;
|
|
2788
2714
|
threadAliases: AppwriteRowSchemaFor<{
|
|
2789
2715
|
readonly fields: {
|
|
2790
|
-
|
|
2716
|
+
alias: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2791
2717
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2792
2718
|
}, undefined>, v.TransformAction<{
|
|
2793
2719
|
$id: string;
|
|
2794
2720
|
}, string>]>], undefined>>;
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2721
|
+
aliasAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2722
|
+
latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
2723
|
+
thread: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2798
2724
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2799
2725
|
}, undefined>, v.TransformAction<{
|
|
2800
2726
|
$id: string;
|
|
2801
2727
|
}, string>]>], undefined>>;
|
|
2802
|
-
|
|
2728
|
+
threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2803
2729
|
};
|
|
2804
2730
|
readonly indexes: readonly [{
|
|
2805
2731
|
readonly attributes: readonly ["threadAssignmentKey", "aliasAssignmentKey"];
|
|
@@ -2814,20 +2740,20 @@ export declare const appwriteRowSchemas: {
|
|
|
2814
2740
|
}>;
|
|
2815
2741
|
threadLabels: AppwriteRowSchemaFor<{
|
|
2816
2742
|
readonly fields: {
|
|
2817
|
-
|
|
2743
|
+
label: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2818
2744
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2819
2745
|
}, undefined>, v.TransformAction<{
|
|
2820
2746
|
$id: string;
|
|
2821
2747
|
}, string>]>], undefined>>;
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2748
|
+
labelAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2749
|
+
latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
2750
|
+
locationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2751
|
+
thread: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2826
2752
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2827
2753
|
}, undefined>, v.TransformAction<{
|
|
2828
2754
|
$id: string;
|
|
2829
2755
|
}, string>]>], undefined>>;
|
|
2830
|
-
|
|
2756
|
+
threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2831
2757
|
};
|
|
2832
2758
|
readonly indexes: readonly [{
|
|
2833
2759
|
readonly attributes: readonly ["threadAssignmentKey", "labelAssignmentKey"];
|
|
@@ -2840,6 +2766,80 @@ export declare const appwriteRowSchemas: {
|
|
|
2840
2766
|
}];
|
|
2841
2767
|
readonly name: "Thread labels";
|
|
2842
2768
|
}>;
|
|
2769
|
+
threads: AppwriteRowSchemaFor<{
|
|
2770
|
+
readonly fields: {
|
|
2771
|
+
account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2772
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
2773
|
+
}, undefined>, v.TransformAction<{
|
|
2774
|
+
$id: string;
|
|
2775
|
+
}, string>]>], undefined>>;
|
|
2776
|
+
accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2777
|
+
archived: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
2778
|
+
firstMessageAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
2779
|
+
flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
2780
|
+
flaggedLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2781
|
+
hasAttachments: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
2782
|
+
labelIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2783
|
+
latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
2784
|
+
latestMessageId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2785
|
+
messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2786
|
+
participants: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2787
|
+
preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2788
|
+
providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
2789
|
+
revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2790
|
+
searchText: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2791
|
+
seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
2792
|
+
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>>;
|
|
2793
|
+
senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
2794
|
+
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>>;
|
|
2795
|
+
spam: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
2796
|
+
subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
2797
|
+
trashed: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
|
|
2798
|
+
unseenLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
2799
|
+
};
|
|
2800
|
+
readonly indexes: readonly [{
|
|
2801
|
+
readonly attributes: readonly ["accountAssignmentKey", "providerId"];
|
|
2802
|
+
readonly name: "assignment_account_provider_unique";
|
|
2803
|
+
readonly type: "unique";
|
|
2804
|
+
}, {
|
|
2805
|
+
readonly attributes: readonly ["accountAssignmentKey", "latestMessageAt"];
|
|
2806
|
+
readonly name: "assignment_account_latest";
|
|
2807
|
+
readonly type: "key";
|
|
2808
|
+
}, {
|
|
2809
|
+
readonly attributes: readonly ["accountAssignmentKey", "seen", "latestMessageAt"];
|
|
2810
|
+
readonly name: "assignment_account_seen_latest";
|
|
2811
|
+
readonly type: "key";
|
|
2812
|
+
}, {
|
|
2813
|
+
readonly attributes: readonly ["accountAssignmentKey", "flagged", "latestMessageAt"];
|
|
2814
|
+
readonly name: "assignment_account_flagged_latest";
|
|
2815
|
+
readonly type: "key";
|
|
2816
|
+
}, {
|
|
2817
|
+
readonly attributes: readonly ["accountAssignmentKey", "snoozedUntil", "latestMessageAt"];
|
|
2818
|
+
readonly name: "assignment_account_snoozed_latest";
|
|
2819
|
+
readonly type: "key";
|
|
2820
|
+
}, {
|
|
2821
|
+
readonly attributes: readonly ["snoozedUntil"];
|
|
2822
|
+
readonly name: "snoozed_due";
|
|
2823
|
+
readonly type: "key";
|
|
2824
|
+
}, {
|
|
2825
|
+
readonly attributes: readonly ["accountAssignmentKey", "archived", "latestMessageAt"];
|
|
2826
|
+
readonly name: "assignment_account_archived_latest";
|
|
2827
|
+
readonly type: "key";
|
|
2828
|
+
}, {
|
|
2829
|
+
readonly attributes: readonly ["accountAssignmentKey", "spam", "latestMessageAt"];
|
|
2830
|
+
readonly name: "assignment_account_spam_latest";
|
|
2831
|
+
readonly type: "key";
|
|
2832
|
+
}, {
|
|
2833
|
+
readonly attributes: readonly ["accountAssignmentKey", "trashed", "latestMessageAt"];
|
|
2834
|
+
readonly name: "assignment_account_trashed_latest";
|
|
2835
|
+
readonly type: "key";
|
|
2836
|
+
}, {
|
|
2837
|
+
readonly attributes: readonly ["searchText"];
|
|
2838
|
+
readonly name: "search";
|
|
2839
|
+
readonly type: "fulltext";
|
|
2840
|
+
}];
|
|
2841
|
+
readonly name: "Threads";
|
|
2842
|
+
}>;
|
|
2843
2843
|
};
|
|
2844
2844
|
export type AppwriteDataRow<TTable extends AppwriteTableKey> = v.InferOutput<(typeof appwriteDataSchemas)[TTable]>;
|
|
2845
2845
|
export type AppwriteRowTable = AppwriteTableKey;
|