@marcoappio/marco-config 4.0.22 → 4.0.24
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/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 +1216 -1216
- package/dist/appwrite/tableContract/index.d.ts.map +1 -1
- package/dist/appwrite/tableContract/index.js +19 -9
- package/dist/appwrite/tableContract/index.test.js +46 -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/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
|
@@ -5,10 +5,6 @@ export declare const appwriteFunctions: {
|
|
|
5
5
|
readonly id: "marco-api";
|
|
6
6
|
readonly routes: {
|
|
7
7
|
readonly accountConnection: {
|
|
8
|
-
errorSchema: v.StrictObjectSchema<{
|
|
9
|
-
readonly code: v.PicklistSchema<readonly ["AUTHENTICATION_FAILED", "AUTHORIZATION_FAILED", "CONFLICT", "INVALID_REQUEST", "NOT_FOUND", "PROVIDER_REJECTED", "TRANSIENT_FAILURE", "INTERNAL_ERROR"], undefined>;
|
|
10
|
-
readonly retryable: v.BooleanSchema<undefined>;
|
|
11
|
-
}, undefined>;
|
|
12
8
|
context: "authenticated";
|
|
13
9
|
method: "PUT";
|
|
14
10
|
path: "/accounts/connection";
|
|
@@ -42,12 +38,12 @@ export declare const appwriteFunctions: {
|
|
|
42
38
|
readonly authorizationUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>, undefined>;
|
|
43
39
|
readonly state: v.PicklistSchema<readonly ["AWAITING_CONNECTION", "CONNECTED", "ERROR", "DISCONNECTED"], undefined>;
|
|
44
40
|
}, undefined>;
|
|
45
|
-
};
|
|
46
|
-
readonly accountDelete: {
|
|
47
41
|
errorSchema: v.StrictObjectSchema<{
|
|
48
42
|
readonly code: v.PicklistSchema<readonly ["AUTHENTICATION_FAILED", "AUTHORIZATION_FAILED", "CONFLICT", "INVALID_REQUEST", "NOT_FOUND", "PROVIDER_REJECTED", "TRANSIENT_FAILURE", "INTERNAL_ERROR"], undefined>;
|
|
49
43
|
readonly retryable: v.BooleanSchema<undefined>;
|
|
50
44
|
}, undefined>;
|
|
45
|
+
};
|
|
46
|
+
readonly accountDelete: {
|
|
51
47
|
context: "authenticated";
|
|
52
48
|
method: "DELETE";
|
|
53
49
|
path: "/account/delete";
|
|
@@ -55,12 +51,12 @@ export declare const appwriteFunctions: {
|
|
|
55
51
|
responseSchema: v.StrictObjectSchema<{
|
|
56
52
|
readonly state: v.LiteralSchema<"ACCEPTED", undefined>;
|
|
57
53
|
}, undefined>;
|
|
58
|
-
};
|
|
59
|
-
readonly accountsConnect: {
|
|
60
54
|
errorSchema: v.StrictObjectSchema<{
|
|
61
55
|
readonly code: v.PicklistSchema<readonly ["AUTHENTICATION_FAILED", "AUTHORIZATION_FAILED", "CONFLICT", "INVALID_REQUEST", "NOT_FOUND", "PROVIDER_REJECTED", "TRANSIENT_FAILURE", "INTERNAL_ERROR"], undefined>;
|
|
62
56
|
readonly retryable: v.BooleanSchema<undefined>;
|
|
63
57
|
}, undefined>;
|
|
58
|
+
};
|
|
59
|
+
readonly accountsConnect: {
|
|
64
60
|
context: "authenticated";
|
|
65
61
|
method: "POST";
|
|
66
62
|
path: "/accounts/connect";
|
|
@@ -93,12 +89,12 @@ export declare const appwriteFunctions: {
|
|
|
93
89
|
readonly authorizationUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>, undefined>;
|
|
94
90
|
readonly state: v.PicklistSchema<readonly ["AWAITING_CONNECTION", "CONNECTED", "ERROR", "DISCONNECTED"], undefined>;
|
|
95
91
|
}, undefined>;
|
|
96
|
-
};
|
|
97
|
-
readonly accountsPoll: {
|
|
98
92
|
errorSchema: v.StrictObjectSchema<{
|
|
99
93
|
readonly code: v.PicklistSchema<readonly ["AUTHENTICATION_FAILED", "AUTHORIZATION_FAILED", "CONFLICT", "INVALID_REQUEST", "NOT_FOUND", "PROVIDER_REJECTED", "TRANSIENT_FAILURE", "INTERNAL_ERROR"], undefined>;
|
|
100
94
|
readonly retryable: v.BooleanSchema<undefined>;
|
|
101
95
|
}, undefined>;
|
|
96
|
+
};
|
|
97
|
+
readonly accountsPoll: {
|
|
102
98
|
context: "authenticated";
|
|
103
99
|
method: "POST";
|
|
104
100
|
path: "/accounts/poll";
|
|
@@ -110,12 +106,12 @@ export declare const appwriteFunctions: {
|
|
|
110
106
|
}, undefined>, undefined>;
|
|
111
107
|
readonly failedAccountIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>, undefined>;
|
|
112
108
|
}, undefined>;
|
|
113
|
-
};
|
|
114
|
-
readonly authSendCode: {
|
|
115
109
|
errorSchema: v.StrictObjectSchema<{
|
|
116
110
|
readonly code: v.PicklistSchema<readonly ["AUTHENTICATION_FAILED", "AUTHORIZATION_FAILED", "CONFLICT", "INVALID_REQUEST", "NOT_FOUND", "PROVIDER_REJECTED", "TRANSIENT_FAILURE", "INTERNAL_ERROR"], undefined>;
|
|
117
111
|
readonly retryable: v.BooleanSchema<undefined>;
|
|
118
112
|
}, undefined>;
|
|
113
|
+
};
|
|
114
|
+
readonly authSendCode: {
|
|
119
115
|
context: "public";
|
|
120
116
|
method: "POST";
|
|
121
117
|
path: "/auth/send-code";
|
|
@@ -126,12 +122,12 @@ export declare const appwriteFunctions: {
|
|
|
126
122
|
responseSchema: v.StrictObjectSchema<{
|
|
127
123
|
readonly userId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
128
124
|
}, undefined>;
|
|
129
|
-
};
|
|
130
|
-
readonly authVerifyCode: {
|
|
131
125
|
errorSchema: v.StrictObjectSchema<{
|
|
132
126
|
readonly code: v.PicklistSchema<readonly ["AUTHENTICATION_FAILED", "AUTHORIZATION_FAILED", "CONFLICT", "INVALID_REQUEST", "NOT_FOUND", "PROVIDER_REJECTED", "TRANSIENT_FAILURE", "INTERNAL_ERROR"], undefined>;
|
|
133
127
|
readonly retryable: v.BooleanSchema<undefined>;
|
|
134
128
|
}, undefined>;
|
|
129
|
+
};
|
|
130
|
+
readonly authVerifyCode: {
|
|
135
131
|
context: "public";
|
|
136
132
|
method: "POST";
|
|
137
133
|
path: "/auth/verify-code";
|
|
@@ -144,32 +140,17 @@ export declare const appwriteFunctions: {
|
|
|
144
140
|
readonly secret: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
145
141
|
readonly userId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
146
142
|
}, undefined>;
|
|
147
|
-
};
|
|
148
|
-
readonly commands: {
|
|
149
143
|
errorSchema: v.StrictObjectSchema<{
|
|
150
144
|
readonly code: v.PicklistSchema<readonly ["AUTHENTICATION_FAILED", "AUTHORIZATION_FAILED", "CONFLICT", "INVALID_REQUEST", "NOT_FOUND", "PROVIDER_REJECTED", "TRANSIENT_FAILURE", "INTERNAL_ERROR"], undefined>;
|
|
151
145
|
readonly retryable: v.BooleanSchema<undefined>;
|
|
152
146
|
}, undefined>;
|
|
147
|
+
};
|
|
148
|
+
readonly commands: {
|
|
153
149
|
context: "authenticated";
|
|
154
150
|
method: "POST";
|
|
155
151
|
path: "/commands";
|
|
156
152
|
requestSchema: v.VariantSchema<"kind", ({
|
|
157
|
-
|
|
158
|
-
commandKind: "account.delete";
|
|
159
|
-
payloadSchema: v.StrictObjectSchema<{}, undefined>;
|
|
160
|
-
type: "strict_object";
|
|
161
|
-
reference: typeof v.strictObject;
|
|
162
|
-
expects: "Object";
|
|
163
|
-
entries: {
|
|
164
|
-
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
165
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
166
|
-
readonly kind: v.LiteralSchema<"account.delete", undefined>;
|
|
167
|
-
readonly payload: v.StrictObjectSchema<{}, undefined>;
|
|
168
|
-
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
169
|
-
readonly version: v.LiteralSchema<1, undefined>;
|
|
170
|
-
};
|
|
171
|
-
message: undefined;
|
|
172
|
-
kind: "schema";
|
|
153
|
+
kind: 'schema';
|
|
173
154
|
async: false;
|
|
174
155
|
'~standard': v.StandardProps<{
|
|
175
156
|
accountId: string;
|
|
@@ -193,7 +174,7 @@ export declare const appwriteFunctions: {
|
|
|
193
174
|
payload: {};
|
|
194
175
|
submittedAt: string;
|
|
195
176
|
version: 1;
|
|
196
|
-
}, v.
|
|
177
|
+
}, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
197
178
|
'~types'?: {
|
|
198
179
|
readonly input: {
|
|
199
180
|
accountId: string;
|
|
@@ -211,31 +192,25 @@ export declare const appwriteFunctions: {
|
|
|
211
192
|
submittedAt: string;
|
|
212
193
|
version: 1;
|
|
213
194
|
};
|
|
214
|
-
readonly issue: v.
|
|
195
|
+
readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
215
196
|
} | undefined;
|
|
216
|
-
|
|
217
|
-
accountScope: "REQUIRED";
|
|
218
|
-
commandKind: "account.settings.set";
|
|
219
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
220
|
-
readonly colour: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
221
|
-
readonly displayName: v.OptionalSchema<v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
|
|
222
|
-
}, undefined>;
|
|
223
|
-
type: "strict_object";
|
|
197
|
+
type: 'strict_object';
|
|
224
198
|
reference: typeof v.strictObject;
|
|
225
|
-
expects:
|
|
199
|
+
expects: 'Object';
|
|
226
200
|
entries: {
|
|
227
201
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
228
202
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
229
|
-
readonly kind: v.LiteralSchema<"account.
|
|
230
|
-
readonly payload: v.StrictObjectSchema<{
|
|
231
|
-
readonly colour: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
232
|
-
readonly displayName: v.OptionalSchema<v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
|
|
233
|
-
}, undefined>;
|
|
203
|
+
readonly kind: v.LiteralSchema<"account.delete", undefined>;
|
|
204
|
+
readonly payload: v.StrictObjectSchema<{}, undefined>;
|
|
234
205
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
235
206
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
236
207
|
};
|
|
237
208
|
message: undefined;
|
|
238
|
-
|
|
209
|
+
accountScope: "REQUIRED";
|
|
210
|
+
commandKind: "account.delete";
|
|
211
|
+
payloadSchema: v.StrictObjectSchema<{}, undefined>;
|
|
212
|
+
} | {
|
|
213
|
+
kind: 'schema';
|
|
239
214
|
async: false;
|
|
240
215
|
'~standard': v.StandardProps<{
|
|
241
216
|
accountId: string;
|
|
@@ -268,7 +243,7 @@ export declare const appwriteFunctions: {
|
|
|
268
243
|
};
|
|
269
244
|
submittedAt: string;
|
|
270
245
|
version: 1;
|
|
271
|
-
}, v.
|
|
246
|
+
}, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
272
247
|
'~types'?: {
|
|
273
248
|
readonly input: {
|
|
274
249
|
accountId: string;
|
|
@@ -292,35 +267,31 @@ export declare const appwriteFunctions: {
|
|
|
292
267
|
submittedAt: string;
|
|
293
268
|
version: 1;
|
|
294
269
|
};
|
|
295
|
-
readonly issue: v.
|
|
270
|
+
readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
296
271
|
} | undefined;
|
|
297
|
-
|
|
298
|
-
accountScope: "REQUIRED";
|
|
299
|
-
commandKind: "alias.create";
|
|
300
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
301
|
-
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
|
|
302
|
-
readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
|
|
303
|
-
readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
304
|
-
readonly signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
|
|
305
|
-
}, undefined>;
|
|
306
|
-
type: "strict_object";
|
|
272
|
+
type: 'strict_object';
|
|
307
273
|
reference: typeof v.strictObject;
|
|
308
|
-
expects:
|
|
274
|
+
expects: 'Object';
|
|
309
275
|
entries: {
|
|
310
276
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
311
277
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
312
|
-
readonly kind: v.LiteralSchema<"
|
|
278
|
+
readonly kind: v.LiteralSchema<"account.settings.set", undefined>;
|
|
313
279
|
readonly payload: v.StrictObjectSchema<{
|
|
314
|
-
readonly
|
|
315
|
-
readonly
|
|
316
|
-
readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
317
|
-
readonly signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
|
|
280
|
+
readonly colour: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
281
|
+
readonly displayName: v.OptionalSchema<v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
|
|
318
282
|
}, undefined>;
|
|
319
283
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
320
284
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
321
285
|
};
|
|
322
286
|
message: undefined;
|
|
323
|
-
|
|
287
|
+
accountScope: "REQUIRED";
|
|
288
|
+
commandKind: "account.settings.set";
|
|
289
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
290
|
+
readonly colour: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
291
|
+
readonly displayName: v.OptionalSchema<v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
|
|
292
|
+
}, undefined>;
|
|
293
|
+
} | {
|
|
294
|
+
kind: 'schema';
|
|
324
295
|
async: false;
|
|
325
296
|
'~standard': v.StandardProps<{
|
|
326
297
|
accountId: string;
|
|
@@ -359,7 +330,7 @@ export declare const appwriteFunctions: {
|
|
|
359
330
|
};
|
|
360
331
|
submittedAt: string;
|
|
361
332
|
version: 1;
|
|
362
|
-
}, v.
|
|
333
|
+
}, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<string, 50000> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.RfcEmailIssue<string> | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
363
334
|
'~types'?: {
|
|
364
335
|
readonly input: {
|
|
365
336
|
accountId: string;
|
|
@@ -387,29 +358,35 @@ export declare const appwriteFunctions: {
|
|
|
387
358
|
submittedAt: string;
|
|
388
359
|
version: 1;
|
|
389
360
|
};
|
|
390
|
-
readonly issue: v.
|
|
361
|
+
readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<string, 50000> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.RfcEmailIssue<string> | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
391
362
|
} | undefined;
|
|
392
|
-
|
|
393
|
-
accountScope: "REQUIRED";
|
|
394
|
-
commandKind: "alias.delete";
|
|
395
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
396
|
-
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
|
|
397
|
-
}, undefined>;
|
|
398
|
-
type: "strict_object";
|
|
363
|
+
type: 'strict_object';
|
|
399
364
|
reference: typeof v.strictObject;
|
|
400
|
-
expects:
|
|
365
|
+
expects: 'Object';
|
|
401
366
|
entries: {
|
|
402
367
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
403
368
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
404
|
-
readonly kind: v.LiteralSchema<"alias.
|
|
369
|
+
readonly kind: v.LiteralSchema<"alias.create", undefined>;
|
|
405
370
|
readonly payload: v.StrictObjectSchema<{
|
|
406
371
|
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
|
|
372
|
+
readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
|
|
373
|
+
readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
374
|
+
readonly signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
|
|
407
375
|
}, undefined>;
|
|
408
376
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
409
377
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
410
378
|
};
|
|
411
379
|
message: undefined;
|
|
412
|
-
|
|
380
|
+
accountScope: "REQUIRED";
|
|
381
|
+
commandKind: "alias.create";
|
|
382
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
383
|
+
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
|
|
384
|
+
readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
|
|
385
|
+
readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
386
|
+
readonly signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
|
|
387
|
+
}, undefined>;
|
|
388
|
+
} | {
|
|
389
|
+
kind: 'schema';
|
|
413
390
|
async: false;
|
|
414
391
|
'~standard': v.StandardProps<{
|
|
415
392
|
accountId: string;
|
|
@@ -439,7 +416,7 @@ export declare const appwriteFunctions: {
|
|
|
439
416
|
};
|
|
440
417
|
submittedAt: string;
|
|
441
418
|
version: 1;
|
|
442
|
-
}, v.
|
|
419
|
+
}, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
443
420
|
'~types'?: {
|
|
444
421
|
readonly input: {
|
|
445
422
|
accountId: string;
|
|
@@ -461,31 +438,29 @@ export declare const appwriteFunctions: {
|
|
|
461
438
|
submittedAt: string;
|
|
462
439
|
version: 1;
|
|
463
440
|
};
|
|
464
|
-
readonly issue: v.
|
|
441
|
+
readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
465
442
|
} | undefined;
|
|
466
|
-
|
|
467
|
-
accountScope: "REQUIRED";
|
|
468
|
-
commandKind: "alias.name.set";
|
|
469
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
470
|
-
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
|
|
471
|
-
readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
472
|
-
}, undefined>;
|
|
473
|
-
type: "strict_object";
|
|
443
|
+
type: 'strict_object';
|
|
474
444
|
reference: typeof v.strictObject;
|
|
475
|
-
expects:
|
|
445
|
+
expects: 'Object';
|
|
476
446
|
entries: {
|
|
477
447
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
478
448
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
479
|
-
readonly kind: v.LiteralSchema<"alias.
|
|
449
|
+
readonly kind: v.LiteralSchema<"alias.delete", undefined>;
|
|
480
450
|
readonly payload: v.StrictObjectSchema<{
|
|
481
451
|
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
|
|
482
|
-
readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
483
452
|
}, undefined>;
|
|
484
453
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
485
454
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
486
455
|
};
|
|
487
456
|
message: undefined;
|
|
488
|
-
|
|
457
|
+
accountScope: "REQUIRED";
|
|
458
|
+
commandKind: "alias.delete";
|
|
459
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
460
|
+
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
|
|
461
|
+
}, undefined>;
|
|
462
|
+
} | {
|
|
463
|
+
kind: 'schema';
|
|
489
464
|
async: false;
|
|
490
465
|
'~standard': v.StandardProps<{
|
|
491
466
|
accountId: string;
|
|
@@ -518,7 +493,7 @@ export declare const appwriteFunctions: {
|
|
|
518
493
|
};
|
|
519
494
|
submittedAt: string;
|
|
520
495
|
version: 1;
|
|
521
|
-
}, v.
|
|
496
|
+
}, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
522
497
|
'~types'?: {
|
|
523
498
|
readonly input: {
|
|
524
499
|
accountId: string;
|
|
@@ -542,29 +517,31 @@ export declare const appwriteFunctions: {
|
|
|
542
517
|
submittedAt: string;
|
|
543
518
|
version: 1;
|
|
544
519
|
};
|
|
545
|
-
readonly issue: v.
|
|
520
|
+
readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
546
521
|
} | undefined;
|
|
547
|
-
|
|
548
|
-
accountScope: "REQUIRED";
|
|
549
|
-
commandKind: "alias.primary.set";
|
|
550
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
551
|
-
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
|
|
552
|
-
}, undefined>;
|
|
553
|
-
type: "strict_object";
|
|
522
|
+
type: 'strict_object';
|
|
554
523
|
reference: typeof v.strictObject;
|
|
555
|
-
expects:
|
|
524
|
+
expects: 'Object';
|
|
556
525
|
entries: {
|
|
557
526
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
558
527
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
559
|
-
readonly kind: v.LiteralSchema<"alias.
|
|
528
|
+
readonly kind: v.LiteralSchema<"alias.name.set", undefined>;
|
|
560
529
|
readonly payload: v.StrictObjectSchema<{
|
|
561
530
|
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
|
|
531
|
+
readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
562
532
|
}, undefined>;
|
|
563
533
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
564
534
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
565
535
|
};
|
|
566
536
|
message: undefined;
|
|
567
|
-
|
|
537
|
+
accountScope: "REQUIRED";
|
|
538
|
+
commandKind: "alias.name.set";
|
|
539
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
540
|
+
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
|
|
541
|
+
readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
542
|
+
}, undefined>;
|
|
543
|
+
} | {
|
|
544
|
+
kind: 'schema';
|
|
568
545
|
async: false;
|
|
569
546
|
'~standard': v.StandardProps<{
|
|
570
547
|
accountId: string;
|
|
@@ -594,7 +571,7 @@ export declare const appwriteFunctions: {
|
|
|
594
571
|
};
|
|
595
572
|
submittedAt: string;
|
|
596
573
|
version: 1;
|
|
597
|
-
}, v.
|
|
574
|
+
}, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
598
575
|
'~types'?: {
|
|
599
576
|
readonly input: {
|
|
600
577
|
accountId: string;
|
|
@@ -616,31 +593,29 @@ export declare const appwriteFunctions: {
|
|
|
616
593
|
submittedAt: string;
|
|
617
594
|
version: 1;
|
|
618
595
|
};
|
|
619
|
-
readonly issue: v.
|
|
596
|
+
readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
620
597
|
} | undefined;
|
|
621
|
-
|
|
622
|
-
accountScope: "REQUIRED";
|
|
623
|
-
commandKind: "alias.signature.set";
|
|
624
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
625
|
-
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
|
|
626
|
-
readonly signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
|
|
627
|
-
}, undefined>;
|
|
628
|
-
type: "strict_object";
|
|
598
|
+
type: 'strict_object';
|
|
629
599
|
reference: typeof v.strictObject;
|
|
630
|
-
expects:
|
|
600
|
+
expects: 'Object';
|
|
631
601
|
entries: {
|
|
632
602
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
633
603
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
634
|
-
readonly kind: v.LiteralSchema<"alias.
|
|
604
|
+
readonly kind: v.LiteralSchema<"alias.primary.set", undefined>;
|
|
635
605
|
readonly payload: v.StrictObjectSchema<{
|
|
636
606
|
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
|
|
637
|
-
readonly signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
|
|
638
607
|
}, undefined>;
|
|
639
608
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
640
609
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
641
610
|
};
|
|
642
611
|
message: undefined;
|
|
643
|
-
|
|
612
|
+
accountScope: "REQUIRED";
|
|
613
|
+
commandKind: "alias.primary.set";
|
|
614
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
615
|
+
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
|
|
616
|
+
}, undefined>;
|
|
617
|
+
} | {
|
|
618
|
+
kind: 'schema';
|
|
644
619
|
async: false;
|
|
645
620
|
'~standard': v.StandardProps<{
|
|
646
621
|
accountId: string;
|
|
@@ -673,7 +648,7 @@ export declare const appwriteFunctions: {
|
|
|
673
648
|
};
|
|
674
649
|
submittedAt: string;
|
|
675
650
|
version: 1;
|
|
676
|
-
}, v.
|
|
651
|
+
}, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<string, 50000> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
677
652
|
'~types'?: {
|
|
678
653
|
readonly input: {
|
|
679
654
|
accountId: string;
|
|
@@ -697,31 +672,31 @@ export declare const appwriteFunctions: {
|
|
|
697
672
|
submittedAt: string;
|
|
698
673
|
version: 1;
|
|
699
674
|
};
|
|
700
|
-
readonly issue: v.
|
|
675
|
+
readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<string, 50000> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
701
676
|
} | undefined;
|
|
702
|
-
|
|
703
|
-
accountScope: "REQUIRED";
|
|
704
|
-
commandKind: "draft.attachment.delete";
|
|
705
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
706
|
-
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
707
|
-
readonly fileId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
708
|
-
}, undefined>;
|
|
709
|
-
type: "strict_object";
|
|
677
|
+
type: 'strict_object';
|
|
710
678
|
reference: typeof v.strictObject;
|
|
711
|
-
expects:
|
|
679
|
+
expects: 'Object';
|
|
712
680
|
entries: {
|
|
713
681
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
714
682
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
715
|
-
readonly kind: v.LiteralSchema<"
|
|
683
|
+
readonly kind: v.LiteralSchema<"alias.signature.set", undefined>;
|
|
716
684
|
readonly payload: v.StrictObjectSchema<{
|
|
717
|
-
readonly
|
|
718
|
-
readonly
|
|
685
|
+
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
|
|
686
|
+
readonly signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
|
|
719
687
|
}, undefined>;
|
|
720
688
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
721
689
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
722
690
|
};
|
|
723
691
|
message: undefined;
|
|
724
|
-
|
|
692
|
+
accountScope: "REQUIRED";
|
|
693
|
+
commandKind: "alias.signature.set";
|
|
694
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
695
|
+
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
|
|
696
|
+
readonly signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
|
|
697
|
+
}, undefined>;
|
|
698
|
+
} | {
|
|
699
|
+
kind: 'schema';
|
|
725
700
|
async: false;
|
|
726
701
|
'~standard': v.StandardProps<{
|
|
727
702
|
accountId: string;
|
|
@@ -754,7 +729,7 @@ export declare const appwriteFunctions: {
|
|
|
754
729
|
};
|
|
755
730
|
submittedAt: string;
|
|
756
731
|
version: 1;
|
|
757
|
-
}, v.
|
|
732
|
+
}, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<string, 36> | v.MinLengthIssue<string, 1> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
758
733
|
'~types'?: {
|
|
759
734
|
readonly input: {
|
|
760
735
|
accountId: string;
|
|
@@ -778,48 +753,42 @@ export declare const appwriteFunctions: {
|
|
|
778
753
|
submittedAt: string;
|
|
779
754
|
version: 1;
|
|
780
755
|
};
|
|
781
|
-
readonly issue: v.
|
|
756
|
+
readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<string, 36> | v.MinLengthIssue<string, 1> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
782
757
|
} | undefined;
|
|
783
|
-
|
|
784
|
-
accountScope: "REQUIRED";
|
|
785
|
-
commandKind: "draft.attachment.link";
|
|
786
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
787
|
-
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
788
|
-
readonly fileId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
789
|
-
readonly fileName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
790
|
-
readonly mimeType: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
791
|
-
readonly size: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
792
|
-
}, undefined>;
|
|
793
|
-
type: "strict_object";
|
|
758
|
+
type: 'strict_object';
|
|
794
759
|
reference: typeof v.strictObject;
|
|
795
|
-
expects:
|
|
760
|
+
expects: 'Object';
|
|
796
761
|
entries: {
|
|
797
762
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
798
763
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
799
|
-
readonly kind: v.LiteralSchema<"draft.attachment.
|
|
764
|
+
readonly kind: v.LiteralSchema<"draft.attachment.delete", undefined>;
|
|
800
765
|
readonly payload: v.StrictObjectSchema<{
|
|
801
766
|
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
802
767
|
readonly fileId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
803
|
-
readonly fileName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
804
|
-
readonly mimeType: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
805
|
-
readonly size: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
806
768
|
}, undefined>;
|
|
807
769
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
808
770
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
809
771
|
};
|
|
810
772
|
message: undefined;
|
|
811
|
-
|
|
773
|
+
accountScope: "REQUIRED";
|
|
774
|
+
commandKind: "draft.attachment.delete";
|
|
775
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
776
|
+
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
777
|
+
readonly fileId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
778
|
+
}, undefined>;
|
|
779
|
+
} | {
|
|
780
|
+
kind: 'schema';
|
|
812
781
|
async: false;
|
|
813
782
|
'~standard': v.StandardProps<{
|
|
814
783
|
accountId: string;
|
|
815
784
|
id: string;
|
|
816
785
|
kind: "draft.attachment.link";
|
|
817
786
|
payload: {
|
|
818
|
-
draftId: string;
|
|
819
787
|
fileId: string;
|
|
820
788
|
fileName: string;
|
|
821
789
|
mimeType: string;
|
|
822
790
|
size: number;
|
|
791
|
+
draftId: string;
|
|
823
792
|
};
|
|
824
793
|
submittedAt: string;
|
|
825
794
|
version: 1;
|
|
@@ -828,11 +797,11 @@ export declare const appwriteFunctions: {
|
|
|
828
797
|
id: string & v.Brand<"CommandId">;
|
|
829
798
|
kind: "draft.attachment.link";
|
|
830
799
|
payload: {
|
|
831
|
-
draftId: string & v.Brand<"DraftId">;
|
|
832
800
|
fileId: string;
|
|
833
801
|
fileName: string;
|
|
834
802
|
mimeType: string;
|
|
835
803
|
size: number;
|
|
804
|
+
draftId: string & v.Brand<"DraftId">;
|
|
836
805
|
};
|
|
837
806
|
submittedAt: string;
|
|
838
807
|
version: 1;
|
|
@@ -842,26 +811,26 @@ export declare const appwriteFunctions: {
|
|
|
842
811
|
id: string & v.Brand<"CommandId">;
|
|
843
812
|
kind: "draft.attachment.link";
|
|
844
813
|
payload: {
|
|
845
|
-
draftId: string & v.Brand<"DraftId">;
|
|
846
814
|
fileId: string;
|
|
847
815
|
fileName: string;
|
|
848
816
|
mimeType: string;
|
|
849
817
|
size: number;
|
|
818
|
+
draftId: string & v.Brand<"DraftId">;
|
|
850
819
|
};
|
|
851
820
|
submittedAt: string;
|
|
852
821
|
version: 1;
|
|
853
|
-
}, v.
|
|
822
|
+
}, v.IntegerIssue<number> | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<string, 36> | v.MaxLengthIssue<string, 255> | v.MinLengthIssue<string, 1> | v.MinLengthIssue<string, 3> | v.MinValueIssue<number, 0> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.NumberIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
854
823
|
'~types'?: {
|
|
855
824
|
readonly input: {
|
|
856
825
|
accountId: string;
|
|
857
826
|
id: string;
|
|
858
827
|
kind: "draft.attachment.link";
|
|
859
828
|
payload: {
|
|
860
|
-
draftId: string;
|
|
861
829
|
fileId: string;
|
|
862
830
|
fileName: string;
|
|
863
831
|
mimeType: string;
|
|
864
832
|
size: number;
|
|
833
|
+
draftId: string;
|
|
865
834
|
};
|
|
866
835
|
submittedAt: string;
|
|
867
836
|
version: 1;
|
|
@@ -871,40 +840,46 @@ export declare const appwriteFunctions: {
|
|
|
871
840
|
id: string & v.Brand<"CommandId">;
|
|
872
841
|
kind: "draft.attachment.link";
|
|
873
842
|
payload: {
|
|
874
|
-
draftId: string & v.Brand<"DraftId">;
|
|
875
843
|
fileId: string;
|
|
876
844
|
fileName: string;
|
|
877
845
|
mimeType: string;
|
|
878
846
|
size: number;
|
|
847
|
+
draftId: string & v.Brand<"DraftId">;
|
|
879
848
|
};
|
|
880
849
|
submittedAt: string;
|
|
881
850
|
version: 1;
|
|
882
851
|
};
|
|
883
|
-
readonly issue: v.
|
|
852
|
+
readonly issue: v.IntegerIssue<number> | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<string, 36> | v.MaxLengthIssue<string, 255> | v.MinLengthIssue<string, 1> | v.MinLengthIssue<string, 3> | v.MinValueIssue<number, 0> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.NumberIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
884
853
|
} | undefined;
|
|
885
|
-
|
|
886
|
-
accountScope: "REQUIRED";
|
|
887
|
-
commandKind: "draft.content.set";
|
|
888
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
889
|
-
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
890
|
-
readonly html: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 384000, undefined>]>;
|
|
891
|
-
}, undefined>;
|
|
892
|
-
type: "strict_object";
|
|
854
|
+
type: 'strict_object';
|
|
893
855
|
reference: typeof v.strictObject;
|
|
894
|
-
expects:
|
|
856
|
+
expects: 'Object';
|
|
895
857
|
entries: {
|
|
896
858
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
897
859
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
898
|
-
readonly kind: v.LiteralSchema<"draft.
|
|
860
|
+
readonly kind: v.LiteralSchema<"draft.attachment.link", undefined>;
|
|
899
861
|
readonly payload: v.StrictObjectSchema<{
|
|
862
|
+
readonly fileId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
863
|
+
readonly fileName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
864
|
+
readonly mimeType: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
865
|
+
readonly size: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
900
866
|
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
901
|
-
readonly html: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 384000, undefined>]>;
|
|
902
867
|
}, undefined>;
|
|
903
868
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
904
869
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
905
870
|
};
|
|
906
871
|
message: undefined;
|
|
907
|
-
|
|
872
|
+
accountScope: "REQUIRED";
|
|
873
|
+
commandKind: "draft.attachment.link";
|
|
874
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
875
|
+
readonly fileId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
876
|
+
readonly fileName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
877
|
+
readonly mimeType: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
878
|
+
readonly size: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
879
|
+
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
880
|
+
}, undefined>;
|
|
881
|
+
} | {
|
|
882
|
+
kind: 'schema';
|
|
908
883
|
async: false;
|
|
909
884
|
'~standard': v.StandardProps<{
|
|
910
885
|
accountId: string;
|
|
@@ -937,7 +912,7 @@ export declare const appwriteFunctions: {
|
|
|
937
912
|
};
|
|
938
913
|
submittedAt: string;
|
|
939
914
|
version: 1;
|
|
940
|
-
}, v.
|
|
915
|
+
}, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<string, 384000> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
941
916
|
'~types'?: {
|
|
942
917
|
readonly input: {
|
|
943
918
|
accountId: string;
|
|
@@ -961,35 +936,31 @@ export declare const appwriteFunctions: {
|
|
|
961
936
|
submittedAt: string;
|
|
962
937
|
version: 1;
|
|
963
938
|
};
|
|
964
|
-
readonly issue: v.
|
|
939
|
+
readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<string, 384000> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
965
940
|
} | undefined;
|
|
966
|
-
|
|
967
|
-
accountScope: "REQUIRED";
|
|
968
|
-
commandKind: "draft.create";
|
|
969
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
970
|
-
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
971
|
-
readonly fromAliasId: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>, undefined>;
|
|
972
|
-
readonly referencedMessageId: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "MessageId">]>, undefined>, undefined>;
|
|
973
|
-
readonly type: v.PicklistSchema<readonly ["NEW", "REPLY", "FORWARD"], undefined>;
|
|
974
|
-
}, undefined>;
|
|
975
|
-
type: "strict_object";
|
|
941
|
+
type: 'strict_object';
|
|
976
942
|
reference: typeof v.strictObject;
|
|
977
|
-
expects:
|
|
943
|
+
expects: 'Object';
|
|
978
944
|
entries: {
|
|
979
945
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
980
946
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
981
|
-
readonly kind: v.LiteralSchema<"draft.
|
|
947
|
+
readonly kind: v.LiteralSchema<"draft.content.set", undefined>;
|
|
982
948
|
readonly payload: v.StrictObjectSchema<{
|
|
983
949
|
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
984
|
-
readonly
|
|
985
|
-
readonly referencedMessageId: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "MessageId">]>, undefined>, undefined>;
|
|
986
|
-
readonly type: v.PicklistSchema<readonly ["NEW", "REPLY", "FORWARD"], undefined>;
|
|
950
|
+
readonly html: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 384000, undefined>]>;
|
|
987
951
|
}, undefined>;
|
|
988
952
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
989
953
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
990
954
|
};
|
|
991
955
|
message: undefined;
|
|
992
|
-
|
|
956
|
+
accountScope: "REQUIRED";
|
|
957
|
+
commandKind: "draft.content.set";
|
|
958
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
959
|
+
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
960
|
+
readonly html: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 384000, undefined>]>;
|
|
961
|
+
}, undefined>;
|
|
962
|
+
} | {
|
|
963
|
+
kind: 'schema';
|
|
993
964
|
async: false;
|
|
994
965
|
'~standard': v.StandardProps<{
|
|
995
966
|
accountId: string;
|
|
@@ -999,7 +970,7 @@ export declare const appwriteFunctions: {
|
|
|
999
970
|
draftId: string;
|
|
1000
971
|
fromAliasId: string | null;
|
|
1001
972
|
referencedMessageId: string | null;
|
|
1002
|
-
type: "
|
|
973
|
+
type: "FORWARD" | "NEW" | "REPLY";
|
|
1003
974
|
};
|
|
1004
975
|
submittedAt: string;
|
|
1005
976
|
version: 1;
|
|
@@ -1011,7 +982,7 @@ export declare const appwriteFunctions: {
|
|
|
1011
982
|
draftId: string & v.Brand<"DraftId">;
|
|
1012
983
|
fromAliasId: (string & v.Brand<"AliasId">) | null;
|
|
1013
984
|
referencedMessageId: (string & v.Brand<"MessageId">) | null;
|
|
1014
|
-
type: "
|
|
985
|
+
type: "FORWARD" | "NEW" | "REPLY";
|
|
1015
986
|
};
|
|
1016
987
|
submittedAt: string;
|
|
1017
988
|
version: 1;
|
|
@@ -1024,11 +995,11 @@ export declare const appwriteFunctions: {
|
|
|
1024
995
|
draftId: string & v.Brand<"DraftId">;
|
|
1025
996
|
fromAliasId: (string & v.Brand<"AliasId">) | null;
|
|
1026
997
|
referencedMessageId: (string & v.Brand<"MessageId">) | null;
|
|
1027
|
-
type: "
|
|
998
|
+
type: "FORWARD" | "NEW" | "REPLY";
|
|
1028
999
|
};
|
|
1029
1000
|
submittedAt: string;
|
|
1030
1001
|
version: 1;
|
|
1031
|
-
}, v.
|
|
1002
|
+
}, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.PicklistIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
1032
1003
|
'~types'?: {
|
|
1033
1004
|
readonly input: {
|
|
1034
1005
|
accountId: string;
|
|
@@ -1038,7 +1009,7 @@ export declare const appwriteFunctions: {
|
|
|
1038
1009
|
draftId: string;
|
|
1039
1010
|
fromAliasId: string | null;
|
|
1040
1011
|
referencedMessageId: string | null;
|
|
1041
|
-
type: "
|
|
1012
|
+
type: "FORWARD" | "NEW" | "REPLY";
|
|
1042
1013
|
};
|
|
1043
1014
|
submittedAt: string;
|
|
1044
1015
|
version: 1;
|
|
@@ -1051,34 +1022,40 @@ export declare const appwriteFunctions: {
|
|
|
1051
1022
|
draftId: string & v.Brand<"DraftId">;
|
|
1052
1023
|
fromAliasId: (string & v.Brand<"AliasId">) | null;
|
|
1053
1024
|
referencedMessageId: (string & v.Brand<"MessageId">) | null;
|
|
1054
|
-
type: "
|
|
1025
|
+
type: "FORWARD" | "NEW" | "REPLY";
|
|
1055
1026
|
};
|
|
1056
1027
|
submittedAt: string;
|
|
1057
1028
|
version: 1;
|
|
1058
1029
|
};
|
|
1059
|
-
readonly issue: v.
|
|
1030
|
+
readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.PicklistIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
1060
1031
|
} | undefined;
|
|
1061
|
-
|
|
1062
|
-
accountScope: "REQUIRED";
|
|
1063
|
-
commandKind: "draft.delete";
|
|
1064
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
1065
|
-
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
1066
|
-
}, undefined>;
|
|
1067
|
-
type: "strict_object";
|
|
1032
|
+
type: 'strict_object';
|
|
1068
1033
|
reference: typeof v.strictObject;
|
|
1069
|
-
expects:
|
|
1034
|
+
expects: 'Object';
|
|
1070
1035
|
entries: {
|
|
1071
1036
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
1072
1037
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
1073
|
-
readonly kind: v.LiteralSchema<"draft.
|
|
1038
|
+
readonly kind: v.LiteralSchema<"draft.create", undefined>;
|
|
1074
1039
|
readonly payload: v.StrictObjectSchema<{
|
|
1075
1040
|
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
1041
|
+
readonly fromAliasId: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>, undefined>;
|
|
1042
|
+
readonly referencedMessageId: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "MessageId">]>, undefined>, undefined>;
|
|
1043
|
+
readonly type: v.PicklistSchema<readonly ["NEW", "REPLY", "FORWARD"], undefined>;
|
|
1076
1044
|
}, undefined>;
|
|
1077
1045
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
1078
1046
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
1079
1047
|
};
|
|
1080
1048
|
message: undefined;
|
|
1081
|
-
|
|
1049
|
+
accountScope: "REQUIRED";
|
|
1050
|
+
commandKind: "draft.create";
|
|
1051
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
1052
|
+
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
1053
|
+
readonly fromAliasId: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>, undefined>;
|
|
1054
|
+
readonly referencedMessageId: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "MessageId">]>, undefined>, undefined>;
|
|
1055
|
+
readonly type: v.PicklistSchema<readonly ["NEW", "REPLY", "FORWARD"], undefined>;
|
|
1056
|
+
}, undefined>;
|
|
1057
|
+
} | {
|
|
1058
|
+
kind: 'schema';
|
|
1082
1059
|
async: false;
|
|
1083
1060
|
'~standard': v.StandardProps<{
|
|
1084
1061
|
accountId: string;
|
|
@@ -1108,7 +1085,7 @@ export declare const appwriteFunctions: {
|
|
|
1108
1085
|
};
|
|
1109
1086
|
submittedAt: string;
|
|
1110
1087
|
version: 1;
|
|
1111
|
-
}, v.
|
|
1088
|
+
}, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
1112
1089
|
'~types'?: {
|
|
1113
1090
|
readonly input: {
|
|
1114
1091
|
accountId: string;
|
|
@@ -1130,48 +1107,40 @@ export declare const appwriteFunctions: {
|
|
|
1130
1107
|
submittedAt: string;
|
|
1131
1108
|
version: 1;
|
|
1132
1109
|
};
|
|
1133
|
-
readonly issue: v.
|
|
1110
|
+
readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
1134
1111
|
} | undefined;
|
|
1135
|
-
|
|
1136
|
-
accountScope: "REQUIRED";
|
|
1137
|
-
commandKind: "draft.envelope.set";
|
|
1138
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
1139
|
-
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
1140
|
-
readonly bcc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
|
|
1141
|
-
readonly cc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
|
|
1142
|
-
readonly subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 998, undefined>]>, undefined>;
|
|
1143
|
-
readonly to: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
|
|
1144
|
-
}, undefined>;
|
|
1145
|
-
type: "strict_object";
|
|
1112
|
+
type: 'strict_object';
|
|
1146
1113
|
reference: typeof v.strictObject;
|
|
1147
|
-
expects:
|
|
1114
|
+
expects: 'Object';
|
|
1148
1115
|
entries: {
|
|
1149
1116
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
1150
1117
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
1151
|
-
readonly kind: v.LiteralSchema<"draft.
|
|
1118
|
+
readonly kind: v.LiteralSchema<"draft.delete", undefined>;
|
|
1152
1119
|
readonly payload: v.StrictObjectSchema<{
|
|
1153
1120
|
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
1154
|
-
readonly bcc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
|
|
1155
|
-
readonly cc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
|
|
1156
|
-
readonly subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 998, undefined>]>, undefined>;
|
|
1157
|
-
readonly to: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
|
|
1158
1121
|
}, undefined>;
|
|
1159
1122
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
1160
1123
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
1161
1124
|
};
|
|
1162
1125
|
message: undefined;
|
|
1163
|
-
|
|
1126
|
+
accountScope: "REQUIRED";
|
|
1127
|
+
commandKind: "draft.delete";
|
|
1128
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
1129
|
+
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
1130
|
+
}, undefined>;
|
|
1131
|
+
} | {
|
|
1132
|
+
kind: 'schema';
|
|
1164
1133
|
async: false;
|
|
1165
1134
|
'~standard': v.StandardProps<{
|
|
1166
1135
|
accountId: string;
|
|
1167
1136
|
id: string;
|
|
1168
1137
|
kind: "draft.envelope.set";
|
|
1169
1138
|
payload: {
|
|
1170
|
-
draftId: string;
|
|
1171
1139
|
bcc: string[];
|
|
1172
1140
|
cc: string[];
|
|
1173
1141
|
subject: string | null;
|
|
1174
1142
|
to: string[];
|
|
1143
|
+
draftId: string;
|
|
1175
1144
|
};
|
|
1176
1145
|
submittedAt: string;
|
|
1177
1146
|
version: 1;
|
|
@@ -1180,11 +1149,11 @@ export declare const appwriteFunctions: {
|
|
|
1180
1149
|
id: string & v.Brand<"CommandId">;
|
|
1181
1150
|
kind: "draft.envelope.set";
|
|
1182
1151
|
payload: {
|
|
1183
|
-
draftId: string & v.Brand<"DraftId">;
|
|
1184
1152
|
bcc: string[];
|
|
1185
1153
|
cc: string[];
|
|
1186
1154
|
subject: string | null;
|
|
1187
1155
|
to: string[];
|
|
1156
|
+
draftId: string & v.Brand<"DraftId">;
|
|
1188
1157
|
};
|
|
1189
1158
|
submittedAt: string;
|
|
1190
1159
|
version: 1;
|
|
@@ -1194,26 +1163,26 @@ export declare const appwriteFunctions: {
|
|
|
1194
1163
|
id: string & v.Brand<"CommandId">;
|
|
1195
1164
|
kind: "draft.envelope.set";
|
|
1196
1165
|
payload: {
|
|
1197
|
-
draftId: string & v.Brand<"DraftId">;
|
|
1198
1166
|
bcc: string[];
|
|
1199
1167
|
cc: string[];
|
|
1200
1168
|
subject: string | null;
|
|
1201
1169
|
to: string[];
|
|
1170
|
+
draftId: string & v.Brand<"DraftId">;
|
|
1202
1171
|
};
|
|
1203
1172
|
submittedAt: string;
|
|
1204
1173
|
version: 1;
|
|
1205
|
-
}, v.
|
|
1174
|
+
}, v.ArrayIssue | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<string, 320> | v.MaxLengthIssue<string, 998> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.RfcEmailIssue<string> | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
1206
1175
|
'~types'?: {
|
|
1207
1176
|
readonly input: {
|
|
1208
1177
|
accountId: string;
|
|
1209
1178
|
id: string;
|
|
1210
1179
|
kind: "draft.envelope.set";
|
|
1211
1180
|
payload: {
|
|
1212
|
-
draftId: string;
|
|
1213
1181
|
bcc: string[];
|
|
1214
1182
|
cc: string[];
|
|
1215
1183
|
subject: string | null;
|
|
1216
1184
|
to: string[];
|
|
1185
|
+
draftId: string;
|
|
1217
1186
|
};
|
|
1218
1187
|
submittedAt: string;
|
|
1219
1188
|
version: 1;
|
|
@@ -1223,42 +1192,46 @@ export declare const appwriteFunctions: {
|
|
|
1223
1192
|
id: string & v.Brand<"CommandId">;
|
|
1224
1193
|
kind: "draft.envelope.set";
|
|
1225
1194
|
payload: {
|
|
1226
|
-
draftId: string & v.Brand<"DraftId">;
|
|
1227
1195
|
bcc: string[];
|
|
1228
1196
|
cc: string[];
|
|
1229
1197
|
subject: string | null;
|
|
1230
1198
|
to: string[];
|
|
1199
|
+
draftId: string & v.Brand<"DraftId">;
|
|
1231
1200
|
};
|
|
1232
1201
|
submittedAt: string;
|
|
1233
1202
|
version: 1;
|
|
1234
1203
|
};
|
|
1235
|
-
readonly issue: v.
|
|
1204
|
+
readonly issue: v.ArrayIssue | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<string, 320> | v.MaxLengthIssue<string, 998> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.RfcEmailIssue<string> | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
1236
1205
|
} | undefined;
|
|
1237
|
-
|
|
1238
|
-
accountScope: "REQUIRED";
|
|
1239
|
-
commandKind: "draft.from.set";
|
|
1240
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
1241
|
-
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
1242
|
-
readonly fromAliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
|
|
1243
|
-
readonly targetAccountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
1244
|
-
}, undefined>;
|
|
1245
|
-
type: "strict_object";
|
|
1206
|
+
type: 'strict_object';
|
|
1246
1207
|
reference: typeof v.strictObject;
|
|
1247
|
-
expects:
|
|
1208
|
+
expects: 'Object';
|
|
1248
1209
|
entries: {
|
|
1249
1210
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
1250
1211
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
1251
|
-
readonly kind: v.LiteralSchema<"draft.
|
|
1212
|
+
readonly kind: v.LiteralSchema<"draft.envelope.set", undefined>;
|
|
1252
1213
|
readonly payload: v.StrictObjectSchema<{
|
|
1214
|
+
readonly bcc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
|
|
1215
|
+
readonly cc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
|
|
1216
|
+
readonly subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 998, undefined>]>, undefined>;
|
|
1217
|
+
readonly to: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
|
|
1253
1218
|
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
1254
|
-
readonly fromAliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
|
|
1255
|
-
readonly targetAccountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
1256
1219
|
}, undefined>;
|
|
1257
1220
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
1258
1221
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
1259
1222
|
};
|
|
1260
1223
|
message: undefined;
|
|
1261
|
-
|
|
1224
|
+
accountScope: "REQUIRED";
|
|
1225
|
+
commandKind: "draft.envelope.set";
|
|
1226
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
1227
|
+
readonly bcc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
|
|
1228
|
+
readonly cc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
|
|
1229
|
+
readonly subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 998, undefined>]>, undefined>;
|
|
1230
|
+
readonly to: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
|
|
1231
|
+
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
1232
|
+
}, undefined>;
|
|
1233
|
+
} | {
|
|
1234
|
+
kind: 'schema';
|
|
1262
1235
|
async: false;
|
|
1263
1236
|
'~standard': v.StandardProps<{
|
|
1264
1237
|
accountId: string;
|
|
@@ -1294,7 +1267,7 @@ export declare const appwriteFunctions: {
|
|
|
1294
1267
|
};
|
|
1295
1268
|
submittedAt: string;
|
|
1296
1269
|
version: 1;
|
|
1297
|
-
}, v.
|
|
1270
|
+
}, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
1298
1271
|
'~types'?: {
|
|
1299
1272
|
readonly input: {
|
|
1300
1273
|
accountId: string;
|
|
@@ -1320,29 +1293,33 @@ export declare const appwriteFunctions: {
|
|
|
1320
1293
|
submittedAt: string;
|
|
1321
1294
|
version: 1;
|
|
1322
1295
|
};
|
|
1323
|
-
readonly issue: v.
|
|
1296
|
+
readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
1324
1297
|
} | undefined;
|
|
1325
|
-
|
|
1326
|
-
accountScope: "REQUIRED";
|
|
1327
|
-
commandKind: "draft.send";
|
|
1328
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
1329
|
-
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
1330
|
-
}, undefined>;
|
|
1331
|
-
type: "strict_object";
|
|
1298
|
+
type: 'strict_object';
|
|
1332
1299
|
reference: typeof v.strictObject;
|
|
1333
|
-
expects:
|
|
1300
|
+
expects: 'Object';
|
|
1334
1301
|
entries: {
|
|
1335
1302
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
1336
1303
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
1337
|
-
readonly kind: v.LiteralSchema<"draft.
|
|
1304
|
+
readonly kind: v.LiteralSchema<"draft.from.set", undefined>;
|
|
1338
1305
|
readonly payload: v.StrictObjectSchema<{
|
|
1339
1306
|
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
1307
|
+
readonly fromAliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
|
|
1308
|
+
readonly targetAccountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
1340
1309
|
}, undefined>;
|
|
1341
1310
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
1342
1311
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
1343
1312
|
};
|
|
1344
1313
|
message: undefined;
|
|
1345
|
-
|
|
1314
|
+
accountScope: "REQUIRED";
|
|
1315
|
+
commandKind: "draft.from.set";
|
|
1316
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
1317
|
+
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
1318
|
+
readonly fromAliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
|
|
1319
|
+
readonly targetAccountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
1320
|
+
}, undefined>;
|
|
1321
|
+
} | {
|
|
1322
|
+
kind: 'schema';
|
|
1346
1323
|
async: false;
|
|
1347
1324
|
'~standard': v.StandardProps<{
|
|
1348
1325
|
accountId: string;
|
|
@@ -1372,7 +1349,7 @@ export declare const appwriteFunctions: {
|
|
|
1372
1349
|
};
|
|
1373
1350
|
submittedAt: string;
|
|
1374
1351
|
version: 1;
|
|
1375
|
-
}, v.
|
|
1352
|
+
}, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
1376
1353
|
'~types'?: {
|
|
1377
1354
|
readonly input: {
|
|
1378
1355
|
accountId: string;
|
|
@@ -1394,21 +1371,15 @@ export declare const appwriteFunctions: {
|
|
|
1394
1371
|
submittedAt: string;
|
|
1395
1372
|
version: 1;
|
|
1396
1373
|
};
|
|
1397
|
-
readonly issue: v.
|
|
1374
|
+
readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
1398
1375
|
} | undefined;
|
|
1399
|
-
|
|
1400
|
-
accountScope: "REQUIRED";
|
|
1401
|
-
commandKind: "draft.send.cancel";
|
|
1402
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
1403
|
-
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
1404
|
-
}, undefined>;
|
|
1405
|
-
type: "strict_object";
|
|
1376
|
+
type: 'strict_object';
|
|
1406
1377
|
reference: typeof v.strictObject;
|
|
1407
|
-
expects:
|
|
1378
|
+
expects: 'Object';
|
|
1408
1379
|
entries: {
|
|
1409
1380
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
1410
1381
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
1411
|
-
readonly kind: v.LiteralSchema<"draft.send
|
|
1382
|
+
readonly kind: v.LiteralSchema<"draft.send", undefined>;
|
|
1412
1383
|
readonly payload: v.StrictObjectSchema<{
|
|
1413
1384
|
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
1414
1385
|
}, undefined>;
|
|
@@ -1416,7 +1387,13 @@ export declare const appwriteFunctions: {
|
|
|
1416
1387
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
1417
1388
|
};
|
|
1418
1389
|
message: undefined;
|
|
1419
|
-
|
|
1390
|
+
accountScope: "REQUIRED";
|
|
1391
|
+
commandKind: "draft.send";
|
|
1392
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
1393
|
+
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
1394
|
+
}, undefined>;
|
|
1395
|
+
} | {
|
|
1396
|
+
kind: 'schema';
|
|
1420
1397
|
async: false;
|
|
1421
1398
|
'~standard': v.StandardProps<{
|
|
1422
1399
|
accountId: string;
|
|
@@ -1446,7 +1423,7 @@ export declare const appwriteFunctions: {
|
|
|
1446
1423
|
};
|
|
1447
1424
|
submittedAt: string;
|
|
1448
1425
|
version: 1;
|
|
1449
|
-
}, v.
|
|
1426
|
+
}, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
1450
1427
|
'~types'?: {
|
|
1451
1428
|
readonly input: {
|
|
1452
1429
|
accountId: string;
|
|
@@ -1468,31 +1445,29 @@ export declare const appwriteFunctions: {
|
|
|
1468
1445
|
submittedAt: string;
|
|
1469
1446
|
version: 1;
|
|
1470
1447
|
};
|
|
1471
|
-
readonly issue: v.
|
|
1448
|
+
readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
1472
1449
|
} | undefined;
|
|
1473
|
-
|
|
1474
|
-
accountScope: "REQUIRED";
|
|
1475
|
-
commandKind: "draft.send.schedule";
|
|
1476
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
1477
|
-
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
1478
|
-
readonly scheduledAt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>;
|
|
1479
|
-
}, undefined>;
|
|
1480
|
-
type: "strict_object";
|
|
1450
|
+
type: 'strict_object';
|
|
1481
1451
|
reference: typeof v.strictObject;
|
|
1482
|
-
expects:
|
|
1452
|
+
expects: 'Object';
|
|
1483
1453
|
entries: {
|
|
1484
1454
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
1485
1455
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
1486
|
-
readonly kind: v.LiteralSchema<"draft.send.
|
|
1456
|
+
readonly kind: v.LiteralSchema<"draft.send.cancel", undefined>;
|
|
1487
1457
|
readonly payload: v.StrictObjectSchema<{
|
|
1488
1458
|
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
1489
|
-
readonly scheduledAt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>;
|
|
1490
1459
|
}, undefined>;
|
|
1491
1460
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
1492
1461
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
1493
1462
|
};
|
|
1494
1463
|
message: undefined;
|
|
1495
|
-
|
|
1464
|
+
accountScope: "REQUIRED";
|
|
1465
|
+
commandKind: "draft.send.cancel";
|
|
1466
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
1467
|
+
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
1468
|
+
}, undefined>;
|
|
1469
|
+
} | {
|
|
1470
|
+
kind: 'schema';
|
|
1496
1471
|
async: false;
|
|
1497
1472
|
'~standard': v.StandardProps<{
|
|
1498
1473
|
accountId: string;
|
|
@@ -1525,7 +1500,7 @@ export declare const appwriteFunctions: {
|
|
|
1525
1500
|
};
|
|
1526
1501
|
submittedAt: string;
|
|
1527
1502
|
version: 1;
|
|
1528
|
-
}, v.
|
|
1503
|
+
}, v.CheckIssue<string> | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
1529
1504
|
'~types'?: {
|
|
1530
1505
|
readonly input: {
|
|
1531
1506
|
accountId: string;
|
|
@@ -1549,31 +1524,31 @@ export declare const appwriteFunctions: {
|
|
|
1549
1524
|
submittedAt: string;
|
|
1550
1525
|
version: 1;
|
|
1551
1526
|
};
|
|
1552
|
-
readonly issue: v.
|
|
1527
|
+
readonly issue: v.CheckIssue<string> | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
1553
1528
|
} | undefined;
|
|
1554
|
-
|
|
1555
|
-
accountScope: "REQUIRED";
|
|
1556
|
-
commandKind: "label.create";
|
|
1557
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
1558
|
-
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
|
|
1559
|
-
readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
1560
|
-
}, undefined>;
|
|
1561
|
-
type: "strict_object";
|
|
1529
|
+
type: 'strict_object';
|
|
1562
1530
|
reference: typeof v.strictObject;
|
|
1563
|
-
expects:
|
|
1531
|
+
expects: 'Object';
|
|
1564
1532
|
entries: {
|
|
1565
1533
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
1566
1534
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
1567
|
-
readonly kind: v.LiteralSchema<"
|
|
1535
|
+
readonly kind: v.LiteralSchema<"draft.send.schedule", undefined>;
|
|
1568
1536
|
readonly payload: v.StrictObjectSchema<{
|
|
1569
|
-
readonly
|
|
1570
|
-
readonly
|
|
1537
|
+
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
1538
|
+
readonly scheduledAt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>;
|
|
1571
1539
|
}, undefined>;
|
|
1572
1540
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
1573
1541
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
1574
1542
|
};
|
|
1575
1543
|
message: undefined;
|
|
1576
|
-
|
|
1544
|
+
accountScope: "REQUIRED";
|
|
1545
|
+
commandKind: "draft.send.schedule";
|
|
1546
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
1547
|
+
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
1548
|
+
readonly scheduledAt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>;
|
|
1549
|
+
}, undefined>;
|
|
1550
|
+
} | {
|
|
1551
|
+
kind: 'schema';
|
|
1577
1552
|
async: false;
|
|
1578
1553
|
'~standard': v.StandardProps<{
|
|
1579
1554
|
accountId: string;
|
|
@@ -1606,7 +1581,7 @@ export declare const appwriteFunctions: {
|
|
|
1606
1581
|
};
|
|
1607
1582
|
submittedAt: string;
|
|
1608
1583
|
version: 1;
|
|
1609
|
-
}, v.
|
|
1584
|
+
}, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
1610
1585
|
'~types'?: {
|
|
1611
1586
|
readonly input: {
|
|
1612
1587
|
accountId: string;
|
|
@@ -1630,29 +1605,31 @@ export declare const appwriteFunctions: {
|
|
|
1630
1605
|
submittedAt: string;
|
|
1631
1606
|
version: 1;
|
|
1632
1607
|
};
|
|
1633
|
-
readonly issue: v.
|
|
1608
|
+
readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
1634
1609
|
} | undefined;
|
|
1635
|
-
|
|
1636
|
-
accountScope: "REQUIRED";
|
|
1637
|
-
commandKind: "label.delete";
|
|
1638
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
1639
|
-
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
|
|
1640
|
-
}, undefined>;
|
|
1641
|
-
type: "strict_object";
|
|
1610
|
+
type: 'strict_object';
|
|
1642
1611
|
reference: typeof v.strictObject;
|
|
1643
|
-
expects:
|
|
1612
|
+
expects: 'Object';
|
|
1644
1613
|
entries: {
|
|
1645
1614
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
1646
1615
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
1647
|
-
readonly kind: v.LiteralSchema<"label.
|
|
1616
|
+
readonly kind: v.LiteralSchema<"label.create", undefined>;
|
|
1648
1617
|
readonly payload: v.StrictObjectSchema<{
|
|
1649
1618
|
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
|
|
1619
|
+
readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
1650
1620
|
}, undefined>;
|
|
1651
1621
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
1652
1622
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
1653
1623
|
};
|
|
1654
1624
|
message: undefined;
|
|
1655
|
-
|
|
1625
|
+
accountScope: "REQUIRED";
|
|
1626
|
+
commandKind: "label.create";
|
|
1627
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
1628
|
+
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
|
|
1629
|
+
readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
1630
|
+
}, undefined>;
|
|
1631
|
+
} | {
|
|
1632
|
+
kind: 'schema';
|
|
1656
1633
|
async: false;
|
|
1657
1634
|
'~standard': v.StandardProps<{
|
|
1658
1635
|
accountId: string;
|
|
@@ -1682,7 +1659,7 @@ export declare const appwriteFunctions: {
|
|
|
1682
1659
|
};
|
|
1683
1660
|
submittedAt: string;
|
|
1684
1661
|
version: 1;
|
|
1685
|
-
}, v.
|
|
1662
|
+
}, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
1686
1663
|
'~types'?: {
|
|
1687
1664
|
readonly input: {
|
|
1688
1665
|
accountId: string;
|
|
@@ -1704,31 +1681,29 @@ export declare const appwriteFunctions: {
|
|
|
1704
1681
|
submittedAt: string;
|
|
1705
1682
|
version: 1;
|
|
1706
1683
|
};
|
|
1707
|
-
readonly issue: v.
|
|
1684
|
+
readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
1708
1685
|
} | undefined;
|
|
1709
|
-
|
|
1710
|
-
accountScope: "REQUIRED";
|
|
1711
|
-
commandKind: "label.rename";
|
|
1712
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
1713
|
-
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
|
|
1714
|
-
readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
1715
|
-
}, undefined>;
|
|
1716
|
-
type: "strict_object";
|
|
1686
|
+
type: 'strict_object';
|
|
1717
1687
|
reference: typeof v.strictObject;
|
|
1718
|
-
expects:
|
|
1688
|
+
expects: 'Object';
|
|
1719
1689
|
entries: {
|
|
1720
1690
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
1721
1691
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
1722
|
-
readonly kind: v.LiteralSchema<"label.
|
|
1692
|
+
readonly kind: v.LiteralSchema<"label.delete", undefined>;
|
|
1723
1693
|
readonly payload: v.StrictObjectSchema<{
|
|
1724
1694
|
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
|
|
1725
|
-
readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
1726
1695
|
}, undefined>;
|
|
1727
1696
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
1728
1697
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
1729
1698
|
};
|
|
1730
1699
|
message: undefined;
|
|
1731
|
-
|
|
1700
|
+
accountScope: "REQUIRED";
|
|
1701
|
+
commandKind: "label.delete";
|
|
1702
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
1703
|
+
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
|
|
1704
|
+
}, undefined>;
|
|
1705
|
+
} | {
|
|
1706
|
+
kind: 'schema';
|
|
1732
1707
|
async: false;
|
|
1733
1708
|
'~standard': v.StandardProps<{
|
|
1734
1709
|
accountId: string;
|
|
@@ -1761,7 +1736,7 @@ export declare const appwriteFunctions: {
|
|
|
1761
1736
|
};
|
|
1762
1737
|
submittedAt: string;
|
|
1763
1738
|
version: 1;
|
|
1764
|
-
}, v.
|
|
1739
|
+
}, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
1765
1740
|
'~types'?: {
|
|
1766
1741
|
readonly input: {
|
|
1767
1742
|
accountId: string;
|
|
@@ -1785,29 +1760,31 @@ export declare const appwriteFunctions: {
|
|
|
1785
1760
|
submittedAt: string;
|
|
1786
1761
|
version: 1;
|
|
1787
1762
|
};
|
|
1788
|
-
readonly issue: v.
|
|
1763
|
+
readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
1789
1764
|
} | undefined;
|
|
1790
|
-
|
|
1791
|
-
accountScope: "NULLABLE";
|
|
1792
|
-
commandKind: "profile.avatar.set";
|
|
1793
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
1794
|
-
readonly sha256: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1795
|
-
}, undefined>;
|
|
1796
|
-
type: "strict_object";
|
|
1765
|
+
type: 'strict_object';
|
|
1797
1766
|
reference: typeof v.strictObject;
|
|
1798
|
-
expects:
|
|
1767
|
+
expects: 'Object';
|
|
1799
1768
|
entries: {
|
|
1800
|
-
readonly accountId: v.
|
|
1769
|
+
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
1801
1770
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
1802
|
-
readonly kind: v.LiteralSchema<"
|
|
1771
|
+
readonly kind: v.LiteralSchema<"label.rename", undefined>;
|
|
1803
1772
|
readonly payload: v.StrictObjectSchema<{
|
|
1804
|
-
readonly
|
|
1773
|
+
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
|
|
1774
|
+
readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
1805
1775
|
}, undefined>;
|
|
1806
1776
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
1807
1777
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
1808
1778
|
};
|
|
1809
1779
|
message: undefined;
|
|
1810
|
-
|
|
1780
|
+
accountScope: "REQUIRED";
|
|
1781
|
+
commandKind: "label.rename";
|
|
1782
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
1783
|
+
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
|
|
1784
|
+
readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
1785
|
+
}, undefined>;
|
|
1786
|
+
} | {
|
|
1787
|
+
kind: 'schema';
|
|
1811
1788
|
async: false;
|
|
1812
1789
|
'~standard': v.StandardProps<{
|
|
1813
1790
|
accountId: string | null;
|
|
@@ -1837,7 +1814,7 @@ export declare const appwriteFunctions: {
|
|
|
1837
1814
|
};
|
|
1838
1815
|
submittedAt: string;
|
|
1839
1816
|
version: 1;
|
|
1840
|
-
}, v.
|
|
1817
|
+
}, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
1841
1818
|
'~types'?: {
|
|
1842
1819
|
readonly input: {
|
|
1843
1820
|
accountId: string | null;
|
|
@@ -1859,31 +1836,29 @@ export declare const appwriteFunctions: {
|
|
|
1859
1836
|
submittedAt: string;
|
|
1860
1837
|
version: 1;
|
|
1861
1838
|
};
|
|
1862
|
-
readonly issue: v.
|
|
1839
|
+
readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
1863
1840
|
} | undefined;
|
|
1864
|
-
|
|
1865
|
-
accountScope: "NULLABLE";
|
|
1866
|
-
commandKind: "profile.settings.set";
|
|
1867
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
1868
|
-
readonly name: v.OptionalSchema<v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
|
|
1869
|
-
readonly timezone: v.OptionalSchema<v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
|
|
1870
|
-
}, undefined>;
|
|
1871
|
-
type: "strict_object";
|
|
1841
|
+
type: 'strict_object';
|
|
1872
1842
|
reference: typeof v.strictObject;
|
|
1873
|
-
expects:
|
|
1843
|
+
expects: 'Object';
|
|
1874
1844
|
entries: {
|
|
1875
1845
|
readonly accountId: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>, undefined>;
|
|
1876
1846
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
1877
|
-
readonly kind: v.LiteralSchema<"profile.
|
|
1847
|
+
readonly kind: v.LiteralSchema<"profile.avatar.set", undefined>;
|
|
1878
1848
|
readonly payload: v.StrictObjectSchema<{
|
|
1879
|
-
readonly
|
|
1880
|
-
readonly timezone: v.OptionalSchema<v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
|
|
1849
|
+
readonly sha256: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1881
1850
|
}, undefined>;
|
|
1882
1851
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
1883
1852
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
1884
1853
|
};
|
|
1885
1854
|
message: undefined;
|
|
1886
|
-
|
|
1855
|
+
accountScope: "NULLABLE";
|
|
1856
|
+
commandKind: "profile.avatar.set";
|
|
1857
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
1858
|
+
readonly sha256: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1859
|
+
}, undefined>;
|
|
1860
|
+
} | {
|
|
1861
|
+
kind: 'schema';
|
|
1887
1862
|
async: false;
|
|
1888
1863
|
'~standard': v.StandardProps<{
|
|
1889
1864
|
accountId: string | null;
|
|
@@ -1916,7 +1891,7 @@ export declare const appwriteFunctions: {
|
|
|
1916
1891
|
};
|
|
1917
1892
|
submittedAt: string;
|
|
1918
1893
|
version: 1;
|
|
1919
|
-
}, v.
|
|
1894
|
+
}, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
1920
1895
|
'~types'?: {
|
|
1921
1896
|
readonly input: {
|
|
1922
1897
|
accountId: string | null;
|
|
@@ -1940,31 +1915,31 @@ export declare const appwriteFunctions: {
|
|
|
1940
1915
|
submittedAt: string;
|
|
1941
1916
|
version: 1;
|
|
1942
1917
|
};
|
|
1943
|
-
readonly issue: v.
|
|
1918
|
+
readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
1944
1919
|
} | undefined;
|
|
1945
|
-
|
|
1946
|
-
accountScope: "REQUIRED";
|
|
1947
|
-
commandKind: "thread.archive.set";
|
|
1948
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
1949
|
-
readonly archived: v.BooleanSchema<undefined>;
|
|
1950
|
-
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
1951
|
-
}, undefined>;
|
|
1952
|
-
type: "strict_object";
|
|
1920
|
+
type: 'strict_object';
|
|
1953
1921
|
reference: typeof v.strictObject;
|
|
1954
|
-
expects:
|
|
1922
|
+
expects: 'Object';
|
|
1955
1923
|
entries: {
|
|
1956
|
-
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
1924
|
+
readonly accountId: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>, undefined>;
|
|
1957
1925
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
1958
|
-
readonly kind: v.LiteralSchema<"
|
|
1926
|
+
readonly kind: v.LiteralSchema<"profile.settings.set", undefined>;
|
|
1959
1927
|
readonly payload: v.StrictObjectSchema<{
|
|
1960
|
-
readonly
|
|
1961
|
-
readonly
|
|
1928
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
|
|
1929
|
+
readonly timezone: v.OptionalSchema<v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
|
|
1962
1930
|
}, undefined>;
|
|
1963
1931
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
1964
1932
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
1965
1933
|
};
|
|
1966
1934
|
message: undefined;
|
|
1967
|
-
|
|
1935
|
+
accountScope: "NULLABLE";
|
|
1936
|
+
commandKind: "profile.settings.set";
|
|
1937
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
1938
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
|
|
1939
|
+
readonly timezone: v.OptionalSchema<v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
|
|
1940
|
+
}, undefined>;
|
|
1941
|
+
} | {
|
|
1942
|
+
kind: 'schema';
|
|
1968
1943
|
async: false;
|
|
1969
1944
|
'~standard': v.StandardProps<{
|
|
1970
1945
|
accountId: string;
|
|
@@ -1997,7 +1972,7 @@ export declare const appwriteFunctions: {
|
|
|
1997
1972
|
};
|
|
1998
1973
|
submittedAt: string;
|
|
1999
1974
|
version: 1;
|
|
2000
|
-
}, v.
|
|
1975
|
+
}, v.ArrayIssue | v.BooleanIssue | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
2001
1976
|
'~types'?: {
|
|
2002
1977
|
readonly input: {
|
|
2003
1978
|
accountId: string;
|
|
@@ -2021,29 +1996,31 @@ export declare const appwriteFunctions: {
|
|
|
2021
1996
|
submittedAt: string;
|
|
2022
1997
|
version: 1;
|
|
2023
1998
|
};
|
|
2024
|
-
readonly issue: v.
|
|
1999
|
+
readonly issue: v.ArrayIssue | v.BooleanIssue | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
2025
2000
|
} | undefined;
|
|
2026
|
-
|
|
2027
|
-
accountScope: "REQUIRED";
|
|
2028
|
-
commandKind: "thread.delete";
|
|
2029
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
2030
|
-
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2031
|
-
}, undefined>;
|
|
2032
|
-
type: "strict_object";
|
|
2001
|
+
type: 'strict_object';
|
|
2033
2002
|
reference: typeof v.strictObject;
|
|
2034
|
-
expects:
|
|
2003
|
+
expects: 'Object';
|
|
2035
2004
|
entries: {
|
|
2036
2005
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
2037
2006
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
2038
|
-
readonly kind: v.LiteralSchema<"thread.
|
|
2007
|
+
readonly kind: v.LiteralSchema<"thread.archive.set", undefined>;
|
|
2039
2008
|
readonly payload: v.StrictObjectSchema<{
|
|
2009
|
+
readonly archived: v.BooleanSchema<undefined>;
|
|
2040
2010
|
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2041
2011
|
}, undefined>;
|
|
2042
2012
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
2043
2013
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
2044
2014
|
};
|
|
2045
2015
|
message: undefined;
|
|
2046
|
-
|
|
2016
|
+
accountScope: "REQUIRED";
|
|
2017
|
+
commandKind: "thread.archive.set";
|
|
2018
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
2019
|
+
readonly archived: v.BooleanSchema<undefined>;
|
|
2020
|
+
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2021
|
+
}, undefined>;
|
|
2022
|
+
} | {
|
|
2023
|
+
kind: 'schema';
|
|
2047
2024
|
async: false;
|
|
2048
2025
|
'~standard': v.StandardProps<{
|
|
2049
2026
|
accountId: string;
|
|
@@ -2073,7 +2050,7 @@ export declare const appwriteFunctions: {
|
|
|
2073
2050
|
};
|
|
2074
2051
|
submittedAt: string;
|
|
2075
2052
|
version: 1;
|
|
2076
|
-
}, v.
|
|
2053
|
+
}, v.ArrayIssue | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
2077
2054
|
'~types'?: {
|
|
2078
2055
|
readonly input: {
|
|
2079
2056
|
accountId: string;
|
|
@@ -2095,31 +2072,29 @@ export declare const appwriteFunctions: {
|
|
|
2095
2072
|
submittedAt: string;
|
|
2096
2073
|
version: 1;
|
|
2097
2074
|
};
|
|
2098
|
-
readonly issue: v.
|
|
2075
|
+
readonly issue: v.ArrayIssue | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
2099
2076
|
} | undefined;
|
|
2100
|
-
|
|
2101
|
-
accountScope: "REQUIRED";
|
|
2102
|
-
commandKind: "thread.flagged.set";
|
|
2103
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
2104
|
-
readonly flagged: v.BooleanSchema<undefined>;
|
|
2105
|
-
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2106
|
-
}, undefined>;
|
|
2107
|
-
type: "strict_object";
|
|
2077
|
+
type: 'strict_object';
|
|
2108
2078
|
reference: typeof v.strictObject;
|
|
2109
|
-
expects:
|
|
2079
|
+
expects: 'Object';
|
|
2110
2080
|
entries: {
|
|
2111
2081
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
2112
2082
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
2113
|
-
readonly kind: v.LiteralSchema<"thread.
|
|
2083
|
+
readonly kind: v.LiteralSchema<"thread.delete", undefined>;
|
|
2114
2084
|
readonly payload: v.StrictObjectSchema<{
|
|
2115
|
-
readonly flagged: v.BooleanSchema<undefined>;
|
|
2116
2085
|
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2117
2086
|
}, undefined>;
|
|
2118
2087
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
2119
2088
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
2120
2089
|
};
|
|
2121
2090
|
message: undefined;
|
|
2122
|
-
|
|
2091
|
+
accountScope: "REQUIRED";
|
|
2092
|
+
commandKind: "thread.delete";
|
|
2093
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
2094
|
+
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2095
|
+
}, undefined>;
|
|
2096
|
+
} | {
|
|
2097
|
+
kind: 'schema';
|
|
2123
2098
|
async: false;
|
|
2124
2099
|
'~standard': v.StandardProps<{
|
|
2125
2100
|
accountId: string;
|
|
@@ -2152,7 +2127,7 @@ export declare const appwriteFunctions: {
|
|
|
2152
2127
|
};
|
|
2153
2128
|
submittedAt: string;
|
|
2154
2129
|
version: 1;
|
|
2155
|
-
}, v.
|
|
2130
|
+
}, v.ArrayIssue | v.BooleanIssue | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
2156
2131
|
'~types'?: {
|
|
2157
2132
|
readonly input: {
|
|
2158
2133
|
accountId: string;
|
|
@@ -2176,31 +2151,31 @@ export declare const appwriteFunctions: {
|
|
|
2176
2151
|
submittedAt: string;
|
|
2177
2152
|
version: 1;
|
|
2178
2153
|
};
|
|
2179
|
-
readonly issue: v.
|
|
2154
|
+
readonly issue: v.ArrayIssue | v.BooleanIssue | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
2180
2155
|
} | undefined;
|
|
2181
|
-
|
|
2182
|
-
accountScope: "REQUIRED";
|
|
2183
|
-
commandKind: "thread.label.add";
|
|
2184
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
2185
|
-
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
|
|
2186
|
-
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2187
|
-
}, undefined>;
|
|
2188
|
-
type: "strict_object";
|
|
2156
|
+
type: 'strict_object';
|
|
2189
2157
|
reference: typeof v.strictObject;
|
|
2190
|
-
expects:
|
|
2158
|
+
expects: 'Object';
|
|
2191
2159
|
entries: {
|
|
2192
2160
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
2193
2161
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
2194
|
-
readonly kind: v.LiteralSchema<"thread.
|
|
2162
|
+
readonly kind: v.LiteralSchema<"thread.flagged.set", undefined>;
|
|
2195
2163
|
readonly payload: v.StrictObjectSchema<{
|
|
2196
|
-
readonly
|
|
2164
|
+
readonly flagged: v.BooleanSchema<undefined>;
|
|
2197
2165
|
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2198
2166
|
}, undefined>;
|
|
2199
2167
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
2200
2168
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
2201
2169
|
};
|
|
2202
2170
|
message: undefined;
|
|
2203
|
-
|
|
2171
|
+
accountScope: "REQUIRED";
|
|
2172
|
+
commandKind: "thread.flagged.set";
|
|
2173
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
2174
|
+
readonly flagged: v.BooleanSchema<undefined>;
|
|
2175
|
+
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2176
|
+
}, undefined>;
|
|
2177
|
+
} | {
|
|
2178
|
+
kind: 'schema';
|
|
2204
2179
|
async: false;
|
|
2205
2180
|
'~standard': v.StandardProps<{
|
|
2206
2181
|
accountId: string;
|
|
@@ -2233,7 +2208,7 @@ export declare const appwriteFunctions: {
|
|
|
2233
2208
|
};
|
|
2234
2209
|
submittedAt: string;
|
|
2235
2210
|
version: 1;
|
|
2236
|
-
}, v.
|
|
2211
|
+
}, v.ArrayIssue | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
2237
2212
|
'~types'?: {
|
|
2238
2213
|
readonly input: {
|
|
2239
2214
|
accountId: string;
|
|
@@ -2257,22 +2232,15 @@ export declare const appwriteFunctions: {
|
|
|
2257
2232
|
submittedAt: string;
|
|
2258
2233
|
version: 1;
|
|
2259
2234
|
};
|
|
2260
|
-
readonly issue: v.
|
|
2235
|
+
readonly issue: v.ArrayIssue | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
2261
2236
|
} | undefined;
|
|
2262
|
-
|
|
2263
|
-
accountScope: "REQUIRED";
|
|
2264
|
-
commandKind: "thread.label.remove";
|
|
2265
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
2266
|
-
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
|
|
2267
|
-
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2268
|
-
}, undefined>;
|
|
2269
|
-
type: "strict_object";
|
|
2237
|
+
type: 'strict_object';
|
|
2270
2238
|
reference: typeof v.strictObject;
|
|
2271
|
-
expects:
|
|
2239
|
+
expects: 'Object';
|
|
2272
2240
|
entries: {
|
|
2273
2241
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
2274
2242
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
2275
|
-
readonly kind: v.LiteralSchema<"thread.label.
|
|
2243
|
+
readonly kind: v.LiteralSchema<"thread.label.add", undefined>;
|
|
2276
2244
|
readonly payload: v.StrictObjectSchema<{
|
|
2277
2245
|
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
|
|
2278
2246
|
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
@@ -2281,7 +2249,14 @@ export declare const appwriteFunctions: {
|
|
|
2281
2249
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
2282
2250
|
};
|
|
2283
2251
|
message: undefined;
|
|
2284
|
-
|
|
2252
|
+
accountScope: "REQUIRED";
|
|
2253
|
+
commandKind: "thread.label.add";
|
|
2254
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
2255
|
+
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
|
|
2256
|
+
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2257
|
+
}, undefined>;
|
|
2258
|
+
} | {
|
|
2259
|
+
kind: 'schema';
|
|
2285
2260
|
async: false;
|
|
2286
2261
|
'~standard': v.StandardProps<{
|
|
2287
2262
|
accountId: string;
|
|
@@ -2314,7 +2289,7 @@ export declare const appwriteFunctions: {
|
|
|
2314
2289
|
};
|
|
2315
2290
|
submittedAt: string;
|
|
2316
2291
|
version: 1;
|
|
2317
|
-
}, v.
|
|
2292
|
+
}, v.ArrayIssue | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
2318
2293
|
'~types'?: {
|
|
2319
2294
|
readonly input: {
|
|
2320
2295
|
accountId: string;
|
|
@@ -2338,31 +2313,31 @@ export declare const appwriteFunctions: {
|
|
|
2338
2313
|
submittedAt: string;
|
|
2339
2314
|
version: 1;
|
|
2340
2315
|
};
|
|
2341
|
-
readonly issue: v.
|
|
2316
|
+
readonly issue: v.ArrayIssue | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
2342
2317
|
} | undefined;
|
|
2343
|
-
|
|
2344
|
-
accountScope: "REQUIRED";
|
|
2345
|
-
commandKind: "thread.seen.set";
|
|
2346
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
2347
|
-
readonly seen: v.BooleanSchema<undefined>;
|
|
2348
|
-
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2349
|
-
}, undefined>;
|
|
2350
|
-
type: "strict_object";
|
|
2318
|
+
type: 'strict_object';
|
|
2351
2319
|
reference: typeof v.strictObject;
|
|
2352
|
-
expects:
|
|
2320
|
+
expects: 'Object';
|
|
2353
2321
|
entries: {
|
|
2354
2322
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
2355
2323
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
2356
|
-
readonly kind: v.LiteralSchema<"thread.
|
|
2324
|
+
readonly kind: v.LiteralSchema<"thread.label.remove", undefined>;
|
|
2357
2325
|
readonly payload: v.StrictObjectSchema<{
|
|
2358
|
-
readonly
|
|
2326
|
+
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
|
|
2359
2327
|
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2360
2328
|
}, undefined>;
|
|
2361
2329
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
2362
2330
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
2363
2331
|
};
|
|
2364
2332
|
message: undefined;
|
|
2365
|
-
|
|
2333
|
+
accountScope: "REQUIRED";
|
|
2334
|
+
commandKind: "thread.label.remove";
|
|
2335
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
2336
|
+
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
|
|
2337
|
+
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2338
|
+
}, undefined>;
|
|
2339
|
+
} | {
|
|
2340
|
+
kind: 'schema';
|
|
2366
2341
|
async: false;
|
|
2367
2342
|
'~standard': v.StandardProps<{
|
|
2368
2343
|
accountId: string;
|
|
@@ -2395,7 +2370,7 @@ export declare const appwriteFunctions: {
|
|
|
2395
2370
|
};
|
|
2396
2371
|
submittedAt: string;
|
|
2397
2372
|
version: 1;
|
|
2398
|
-
}, v.
|
|
2373
|
+
}, v.ArrayIssue | v.BooleanIssue | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
2399
2374
|
'~types'?: {
|
|
2400
2375
|
readonly input: {
|
|
2401
2376
|
accountId: string;
|
|
@@ -2419,31 +2394,31 @@ export declare const appwriteFunctions: {
|
|
|
2419
2394
|
submittedAt: string;
|
|
2420
2395
|
version: 1;
|
|
2421
2396
|
};
|
|
2422
|
-
readonly issue: v.
|
|
2397
|
+
readonly issue: v.ArrayIssue | v.BooleanIssue | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
2423
2398
|
} | undefined;
|
|
2424
|
-
|
|
2425
|
-
accountScope: "REQUIRED";
|
|
2426
|
-
commandKind: "thread.snooze.set";
|
|
2427
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
2428
|
-
readonly snoozedUntil: v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>;
|
|
2429
|
-
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2430
|
-
}, undefined>;
|
|
2431
|
-
type: "strict_object";
|
|
2399
|
+
type: 'strict_object';
|
|
2432
2400
|
reference: typeof v.strictObject;
|
|
2433
|
-
expects:
|
|
2401
|
+
expects: 'Object';
|
|
2434
2402
|
entries: {
|
|
2435
2403
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
2436
2404
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
2437
|
-
readonly kind: v.LiteralSchema<"thread.
|
|
2405
|
+
readonly kind: v.LiteralSchema<"thread.seen.set", undefined>;
|
|
2438
2406
|
readonly payload: v.StrictObjectSchema<{
|
|
2439
|
-
readonly
|
|
2407
|
+
readonly seen: v.BooleanSchema<undefined>;
|
|
2440
2408
|
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2441
2409
|
}, undefined>;
|
|
2442
2410
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
2443
2411
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
2444
2412
|
};
|
|
2445
2413
|
message: undefined;
|
|
2446
|
-
|
|
2414
|
+
accountScope: "REQUIRED";
|
|
2415
|
+
commandKind: "thread.seen.set";
|
|
2416
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
2417
|
+
readonly seen: v.BooleanSchema<undefined>;
|
|
2418
|
+
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2419
|
+
}, undefined>;
|
|
2420
|
+
} | {
|
|
2421
|
+
kind: 'schema';
|
|
2447
2422
|
async: false;
|
|
2448
2423
|
'~standard': v.StandardProps<{
|
|
2449
2424
|
accountId: string;
|
|
@@ -2476,7 +2451,7 @@ export declare const appwriteFunctions: {
|
|
|
2476
2451
|
};
|
|
2477
2452
|
submittedAt: string;
|
|
2478
2453
|
version: 1;
|
|
2479
|
-
}, v.
|
|
2454
|
+
}, v.ArrayIssue | v.CheckIssue<string> | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
2480
2455
|
'~types'?: {
|
|
2481
2456
|
readonly input: {
|
|
2482
2457
|
accountId: string;
|
|
@@ -2500,31 +2475,31 @@ export declare const appwriteFunctions: {
|
|
|
2500
2475
|
submittedAt: string;
|
|
2501
2476
|
version: 1;
|
|
2502
2477
|
};
|
|
2503
|
-
readonly issue: v.
|
|
2478
|
+
readonly issue: v.ArrayIssue | v.CheckIssue<string> | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
2504
2479
|
} | undefined;
|
|
2505
|
-
|
|
2506
|
-
accountScope: "REQUIRED";
|
|
2507
|
-
commandKind: "thread.spam.set";
|
|
2508
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
2509
|
-
readonly spam: v.BooleanSchema<undefined>;
|
|
2510
|
-
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2511
|
-
}, undefined>;
|
|
2512
|
-
type: "strict_object";
|
|
2480
|
+
type: 'strict_object';
|
|
2513
2481
|
reference: typeof v.strictObject;
|
|
2514
|
-
expects:
|
|
2482
|
+
expects: 'Object';
|
|
2515
2483
|
entries: {
|
|
2516
2484
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
2517
2485
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
2518
|
-
readonly kind: v.LiteralSchema<"thread.
|
|
2486
|
+
readonly kind: v.LiteralSchema<"thread.snooze.set", undefined>;
|
|
2519
2487
|
readonly payload: v.StrictObjectSchema<{
|
|
2520
|
-
readonly
|
|
2488
|
+
readonly snoozedUntil: v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>;
|
|
2521
2489
|
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2522
2490
|
}, undefined>;
|
|
2523
2491
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
2524
2492
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
2525
2493
|
};
|
|
2526
2494
|
message: undefined;
|
|
2527
|
-
|
|
2495
|
+
accountScope: "REQUIRED";
|
|
2496
|
+
commandKind: "thread.snooze.set";
|
|
2497
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
2498
|
+
readonly snoozedUntil: v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>;
|
|
2499
|
+
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2500
|
+
}, undefined>;
|
|
2501
|
+
} | {
|
|
2502
|
+
kind: 'schema';
|
|
2528
2503
|
async: false;
|
|
2529
2504
|
'~standard': v.StandardProps<{
|
|
2530
2505
|
accountId: string;
|
|
@@ -2557,7 +2532,7 @@ export declare const appwriteFunctions: {
|
|
|
2557
2532
|
};
|
|
2558
2533
|
submittedAt: string;
|
|
2559
2534
|
version: 1;
|
|
2560
|
-
}, v.
|
|
2535
|
+
}, v.ArrayIssue | v.BooleanIssue | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
2561
2536
|
'~types'?: {
|
|
2562
2537
|
readonly input: {
|
|
2563
2538
|
accountId: string;
|
|
@@ -2581,31 +2556,31 @@ export declare const appwriteFunctions: {
|
|
|
2581
2556
|
submittedAt: string;
|
|
2582
2557
|
version: 1;
|
|
2583
2558
|
};
|
|
2584
|
-
readonly issue: v.
|
|
2559
|
+
readonly issue: v.ArrayIssue | v.BooleanIssue | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
2585
2560
|
} | undefined;
|
|
2586
|
-
|
|
2587
|
-
accountScope: "REQUIRED";
|
|
2588
|
-
commandKind: "thread.trash.set";
|
|
2589
|
-
payloadSchema: v.StrictObjectSchema<{
|
|
2590
|
-
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2591
|
-
readonly trashed: v.BooleanSchema<undefined>;
|
|
2592
|
-
}, undefined>;
|
|
2593
|
-
type: "strict_object";
|
|
2561
|
+
type: 'strict_object';
|
|
2594
2562
|
reference: typeof v.strictObject;
|
|
2595
|
-
expects:
|
|
2563
|
+
expects: 'Object';
|
|
2596
2564
|
entries: {
|
|
2597
2565
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
2598
2566
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
2599
|
-
readonly kind: v.LiteralSchema<"thread.
|
|
2567
|
+
readonly kind: v.LiteralSchema<"thread.spam.set", undefined>;
|
|
2600
2568
|
readonly payload: v.StrictObjectSchema<{
|
|
2569
|
+
readonly spam: v.BooleanSchema<undefined>;
|
|
2601
2570
|
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2602
|
-
readonly trashed: v.BooleanSchema<undefined>;
|
|
2603
2571
|
}, undefined>;
|
|
2604
2572
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
2605
2573
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
2606
2574
|
};
|
|
2607
2575
|
message: undefined;
|
|
2608
|
-
|
|
2576
|
+
accountScope: "REQUIRED";
|
|
2577
|
+
commandKind: "thread.spam.set";
|
|
2578
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
2579
|
+
readonly spam: v.BooleanSchema<undefined>;
|
|
2580
|
+
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2581
|
+
}, undefined>;
|
|
2582
|
+
} | {
|
|
2583
|
+
kind: 'schema';
|
|
2609
2584
|
async: false;
|
|
2610
2585
|
'~standard': v.StandardProps<{
|
|
2611
2586
|
accountId: string;
|
|
@@ -2638,7 +2613,7 @@ export declare const appwriteFunctions: {
|
|
|
2638
2613
|
};
|
|
2639
2614
|
submittedAt: string;
|
|
2640
2615
|
version: 1;
|
|
2641
|
-
}, v.
|
|
2616
|
+
}, v.ArrayIssue | v.BooleanIssue | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
|
|
2642
2617
|
'~types'?: {
|
|
2643
2618
|
readonly input: {
|
|
2644
2619
|
accountId: string;
|
|
@@ -2662,39 +2637,60 @@ export declare const appwriteFunctions: {
|
|
|
2662
2637
|
submittedAt: string;
|
|
2663
2638
|
version: 1;
|
|
2664
2639
|
};
|
|
2665
|
-
readonly issue: v.
|
|
2640
|
+
readonly issue: v.ArrayIssue | v.BooleanIssue | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
|
|
2666
2641
|
} | undefined;
|
|
2642
|
+
type: 'strict_object';
|
|
2643
|
+
reference: typeof v.strictObject;
|
|
2644
|
+
expects: 'Object';
|
|
2645
|
+
entries: {
|
|
2646
|
+
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
2647
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
2648
|
+
readonly kind: v.LiteralSchema<"thread.trash.set", undefined>;
|
|
2649
|
+
readonly payload: v.StrictObjectSchema<{
|
|
2650
|
+
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2651
|
+
readonly trashed: v.BooleanSchema<undefined>;
|
|
2652
|
+
}, undefined>;
|
|
2653
|
+
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
2654
|
+
readonly version: v.LiteralSchema<1, undefined>;
|
|
2655
|
+
};
|
|
2656
|
+
message: undefined;
|
|
2657
|
+
accountScope: "REQUIRED";
|
|
2658
|
+
commandKind: "thread.trash.set";
|
|
2659
|
+
payloadSchema: v.StrictObjectSchema<{
|
|
2660
|
+
readonly threadIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>, v.MaxLengthAction<(string & v.Brand<"ThreadId">)[], 100, undefined>]>;
|
|
2661
|
+
readonly trashed: v.BooleanSchema<undefined>;
|
|
2662
|
+
}, undefined>;
|
|
2667
2663
|
})[], undefined>;
|
|
2668
2664
|
responseSchema: v.VariantSchema<"state", readonly [v.StrictObjectSchema<{
|
|
2665
|
+
readonly canonicalRevision: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
2666
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
2669
2667
|
readonly error: v.NullSchema<undefined>;
|
|
2670
2668
|
readonly state: v.LiteralSchema<"ACCEPTED", undefined>;
|
|
2669
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2671
2670
|
readonly canonicalRevision: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
2672
2671
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
2673
|
-
}, undefined>, v.StrictObjectSchema<{
|
|
2674
2672
|
readonly error: v.NullSchema<undefined>;
|
|
2675
2673
|
readonly state: v.LiteralSchema<"RUNNING", undefined>;
|
|
2674
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2676
2675
|
readonly canonicalRevision: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
2677
2676
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
2678
|
-
}, undefined>, v.StrictObjectSchema<{
|
|
2679
2677
|
readonly error: v.NullSchema<undefined>;
|
|
2680
2678
|
readonly state: v.LiteralSchema<"SUCCEEDED", undefined>;
|
|
2679
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2681
2680
|
readonly canonicalRevision: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
2682
2681
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
2683
|
-
}, undefined>, v.StrictObjectSchema<{
|
|
2684
2682
|
readonly error: v.StrictObjectSchema<{
|
|
2685
2683
|
readonly code: v.PicklistSchema<readonly ["AUTHENTICATION_FAILED", "AUTHORIZATION_FAILED", "COMMAND_CONFLICT", "COMMAND_NOT_FOUND", "INVALID_COMMAND", "PROVIDER_REJECTED", "TRANSIENT_FAILURE", "INTERNAL_ERROR"], undefined>;
|
|
2686
2684
|
readonly retryable: v.BooleanSchema<undefined>;
|
|
2687
2685
|
}, undefined>;
|
|
2688
2686
|
readonly state: v.LiteralSchema<"FAILED", undefined>;
|
|
2689
|
-
readonly canonicalRevision: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
2690
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
2691
2687
|
}, undefined>], undefined>;
|
|
2692
|
-
};
|
|
2693
|
-
readonly oauthWebhook: {
|
|
2694
2688
|
errorSchema: v.StrictObjectSchema<{
|
|
2695
2689
|
readonly code: v.PicklistSchema<readonly ["AUTHENTICATION_FAILED", "AUTHORIZATION_FAILED", "CONFLICT", "INVALID_REQUEST", "NOT_FOUND", "PROVIDER_REJECTED", "TRANSIENT_FAILURE", "INTERNAL_ERROR"], undefined>;
|
|
2696
2690
|
readonly retryable: v.BooleanSchema<undefined>;
|
|
2697
2691
|
}, undefined>;
|
|
2692
|
+
};
|
|
2693
|
+
readonly oauthWebhook: {
|
|
2698
2694
|
context: "webhook";
|
|
2699
2695
|
method: "GET";
|
|
2700
2696
|
path: "/v1/wh/oauth/callback";
|
|
@@ -2705,12 +2701,12 @@ export declare const appwriteFunctions: {
|
|
|
2705
2701
|
responseSchema: v.StrictObjectSchema<{
|
|
2706
2702
|
readonly state: v.LiteralSchema<"COMPLETED", undefined>;
|
|
2707
2703
|
}, undefined>;
|
|
2708
|
-
};
|
|
2709
|
-
readonly pollsRun: {
|
|
2710
2704
|
errorSchema: v.StrictObjectSchema<{
|
|
2711
2705
|
readonly code: v.PicklistSchema<readonly ["AUTHENTICATION_FAILED", "AUTHORIZATION_FAILED", "CONFLICT", "INVALID_REQUEST", "NOT_FOUND", "PROVIDER_REJECTED", "TRANSIENT_FAILURE", "INTERNAL_ERROR"], undefined>;
|
|
2712
2706
|
readonly retryable: v.BooleanSchema<undefined>;
|
|
2713
2707
|
}, undefined>;
|
|
2708
|
+
};
|
|
2709
|
+
readonly pollsRun: {
|
|
2714
2710
|
context: "internal";
|
|
2715
2711
|
method: "POST";
|
|
2716
2712
|
path: "/polls/run";
|
|
@@ -2721,12 +2717,12 @@ export declare const appwriteFunctions: {
|
|
|
2721
2717
|
responseSchema: v.StrictObjectSchema<{
|
|
2722
2718
|
readonly state: v.LiteralSchema<"COMPLETED", undefined>;
|
|
2723
2719
|
}, undefined>;
|
|
2724
|
-
};
|
|
2725
|
-
readonly profileEnsure: {
|
|
2726
2720
|
errorSchema: v.StrictObjectSchema<{
|
|
2727
2721
|
readonly code: v.PicklistSchema<readonly ["AUTHENTICATION_FAILED", "AUTHORIZATION_FAILED", "CONFLICT", "INVALID_REQUEST", "NOT_FOUND", "PROVIDER_REJECTED", "TRANSIENT_FAILURE", "INTERNAL_ERROR"], undefined>;
|
|
2728
2722
|
readonly retryable: v.BooleanSchema<undefined>;
|
|
2729
2723
|
}, undefined>;
|
|
2724
|
+
};
|
|
2725
|
+
readonly profileEnsure: {
|
|
2730
2726
|
context: "authenticated";
|
|
2731
2727
|
method: "POST";
|
|
2732
2728
|
path: "/profile/ensure";
|
|
@@ -2734,12 +2730,12 @@ export declare const appwriteFunctions: {
|
|
|
2734
2730
|
responseSchema: v.StrictObjectSchema<{
|
|
2735
2731
|
readonly created: v.BooleanSchema<undefined>;
|
|
2736
2732
|
}, undefined>;
|
|
2737
|
-
};
|
|
2738
|
-
readonly pushTokens: {
|
|
2739
2733
|
errorSchema: v.StrictObjectSchema<{
|
|
2740
2734
|
readonly code: v.PicklistSchema<readonly ["AUTHENTICATION_FAILED", "AUTHORIZATION_FAILED", "CONFLICT", "INVALID_REQUEST", "NOT_FOUND", "PROVIDER_REJECTED", "TRANSIENT_FAILURE", "INTERNAL_ERROR"], undefined>;
|
|
2741
2735
|
readonly retryable: v.BooleanSchema<undefined>;
|
|
2742
2736
|
}, undefined>;
|
|
2737
|
+
};
|
|
2738
|
+
readonly pushTokens: {
|
|
2743
2739
|
context: "authenticated";
|
|
2744
2740
|
method: "POST";
|
|
2745
2741
|
path: "/push-tokens";
|
|
@@ -2750,6 +2746,10 @@ export declare const appwriteFunctions: {
|
|
|
2750
2746
|
responseSchema: v.StrictObjectSchema<{
|
|
2751
2747
|
readonly registered: v.BooleanSchema<undefined>;
|
|
2752
2748
|
}, undefined>;
|
|
2749
|
+
errorSchema: v.StrictObjectSchema<{
|
|
2750
|
+
readonly code: v.PicklistSchema<readonly ["AUTHENTICATION_FAILED", "AUTHORIZATION_FAILED", "CONFLICT", "INVALID_REQUEST", "NOT_FOUND", "PROVIDER_REJECTED", "TRANSIENT_FAILURE", "INTERNAL_ERROR"], undefined>;
|
|
2751
|
+
readonly retryable: v.BooleanSchema<undefined>;
|
|
2752
|
+
}, undefined>;
|
|
2753
2753
|
};
|
|
2754
2754
|
};
|
|
2755
2755
|
};
|
|
@@ -2762,10 +2762,6 @@ export declare const appwriteFunctions: {
|
|
|
2762
2762
|
readonly id: "marco-worker";
|
|
2763
2763
|
readonly routes: {
|
|
2764
2764
|
readonly jobsRun: {
|
|
2765
|
-
errorSchema: v.StrictObjectSchema<{
|
|
2766
|
-
readonly code: v.PicklistSchema<readonly ["AUTHENTICATION_FAILED", "AUTHORIZATION_FAILED", "CONFLICT", "INVALID_REQUEST", "NOT_FOUND", "PROVIDER_REJECTED", "TRANSIENT_FAILURE", "INTERNAL_ERROR"], undefined>;
|
|
2767
|
-
readonly retryable: v.BooleanSchema<undefined>;
|
|
2768
|
-
}, undefined>;
|
|
2769
2765
|
context: "internal";
|
|
2770
2766
|
method: "POST";
|
|
2771
2767
|
path: "/jobs/run";
|
|
@@ -2775,12 +2771,12 @@ export declare const appwriteFunctions: {
|
|
|
2775
2771
|
responseSchema: v.StrictObjectSchema<{
|
|
2776
2772
|
readonly state: v.LiteralSchema<"COMPLETED", undefined>;
|
|
2777
2773
|
}, undefined>;
|
|
2778
|
-
};
|
|
2779
|
-
readonly supervisor: {
|
|
2780
2774
|
errorSchema: v.StrictObjectSchema<{
|
|
2781
2775
|
readonly code: v.PicklistSchema<readonly ["AUTHENTICATION_FAILED", "AUTHORIZATION_FAILED", "CONFLICT", "INVALID_REQUEST", "NOT_FOUND", "PROVIDER_REJECTED", "TRANSIENT_FAILURE", "INTERNAL_ERROR"], undefined>;
|
|
2782
2776
|
readonly retryable: v.BooleanSchema<undefined>;
|
|
2783
2777
|
}, undefined>;
|
|
2778
|
+
};
|
|
2779
|
+
readonly supervisor: {
|
|
2784
2780
|
context: "internal";
|
|
2785
2781
|
method: "POST";
|
|
2786
2782
|
path: "/";
|
|
@@ -2788,6 +2784,10 @@ export declare const appwriteFunctions: {
|
|
|
2788
2784
|
responseSchema: v.StrictObjectSchema<{
|
|
2789
2785
|
readonly state: v.LiteralSchema<"COMPLETED", undefined>;
|
|
2790
2786
|
}, undefined>;
|
|
2787
|
+
errorSchema: v.StrictObjectSchema<{
|
|
2788
|
+
readonly code: v.PicklistSchema<readonly ["AUTHENTICATION_FAILED", "AUTHORIZATION_FAILED", "CONFLICT", "INVALID_REQUEST", "NOT_FOUND", "PROVIDER_REJECTED", "TRANSIENT_FAILURE", "INTERNAL_ERROR"], undefined>;
|
|
2789
|
+
readonly retryable: v.BooleanSchema<undefined>;
|
|
2790
|
+
}, undefined>;
|
|
2791
2791
|
};
|
|
2792
2792
|
};
|
|
2793
2793
|
};
|