@marcoappio/marco-config 4.0.22 → 4.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/appwrite/appwrite.d.ts +55 -1403
  2. package/dist/appwrite/appwrite.d.ts.map +1 -1
  3. package/dist/appwrite/commands.d.ts +952 -952
  4. package/dist/appwrite/commands.d.ts.map +1 -1
  5. package/dist/appwrite/functions.d.ts +503 -503
  6. package/dist/appwrite/functions.d.ts.map +1 -1
  7. package/dist/appwrite/queryContracts/queryContracts.d.ts +165 -165
  8. package/dist/appwrite/queryContracts/queryContracts.d.ts.map +1 -1
  9. package/dist/appwrite/tableContract/identity.d.ts +62 -62
  10. package/dist/appwrite/tableContract/identity.d.ts.map +1 -1
  11. package/dist/appwrite/tableContract/index.d.ts +1214 -1214
  12. package/dist/appwrite/tableContract/index.d.ts.map +1 -1
  13. package/dist/appwrite/tableContract/mailbox.d.ts +90 -89
  14. package/dist/appwrite/tableContract/mailbox.d.ts.map +1 -1
  15. package/dist/appwrite/tableContract/operational.d.ts +76 -76
  16. package/dist/appwrite/tableContract/operational.d.ts.map +1 -1
  17. package/dist/appwrite/tableContract/shared.d.ts +45 -46
  18. package/dist/appwrite/tableContract/shared.d.ts.map +1 -1
  19. package/dist/constants/emailAccounts.d.ts.map +1 -1
  20. package/dist/constants/index.d.ts +2 -2
  21. package/dist/constants/messages.d.ts.map +1 -1
  22. package/dist/constants/oauth.d.ts +2 -2
  23. package/dist/constants/oauth.d.ts.map +1 -1
  24. package/dist/constants/user.d.ts.map +1 -1
  25. package/dist/schemas/app.d.ts.map +1 -1
  26. package/dist/schemas/auth.d.ts.map +1 -1
  27. package/dist/schemas/id.d.ts.map +1 -1
  28. package/dist/schemas/index.d.ts +16 -16
  29. package/dist/schemas/models/thread.d.ts +16 -16
  30. package/dist/schemas/number.d.ts.map +1 -1
  31. package/dist/schemas/oauth.d.ts.map +1 -1
  32. package/dist/schemas/pushNotifications.d.ts.map +1 -1
  33. package/dist/schemas/scalars.d.ts +1 -1
  34. package/dist/schemas/scalars.d.ts.map +1 -1
  35. package/dist/schemas/string.d.ts.map +1 -1
  36. package/dist/types/DraftAttachmentUploadStatus.d.ts +1 -1
  37. package/dist/types/DraftAttachmentUploadStatus.d.ts.map +1 -1
  38. package/dist/types/DraftStatus.d.ts +1 -1
  39. package/dist/types/DraftStatus.d.ts.map +1 -1
  40. package/dist/types/DraftType.d.ts +1 -1
  41. package/dist/types/DraftType.d.ts.map +1 -1
  42. package/dist/types/IMAPConnectionStatus.d.ts +1 -1
  43. package/dist/types/IMAPConnectionStatus.d.ts.map +1 -1
  44. package/dist/types/LabelSpecialUse.d.ts +1 -1
  45. package/dist/types/LabelSpecialUse.d.ts.map +1 -1
  46. package/dist/types/MarcoPlatform.d.ts +1 -1
  47. package/dist/types/MarcoPlatform.d.ts.map +1 -1
  48. package/dist/types/MessageRecipientType.d.ts +1 -1
  49. package/dist/types/MessageRecipientType.d.ts.map +1 -1
  50. package/dist/types/OAuthProvider.d.ts +1 -1
  51. package/dist/types/OAuthProvider.d.ts.map +1 -1
  52. package/dist/types/UserSettings.d.ts +12 -12
  53. package/dist/types/UserSettings.d.ts.map +1 -1
  54. package/package.json +5 -4
@@ -5,22 +5,7 @@ export declare const appwriteAvatar: {
5
5
  type AppwriteCommandGroupName = 'account' | 'draft' | 'draftSend' | 'label' | 'profileAvatar' | 'profileSettings' | 'thread';
6
6
  declare const commandDefinitions: {
7
7
  readonly account: readonly [{
8
- accountScope: "REQUIRED";
9
- commandKind: "account.delete";
10
- payloadSchema: v.StrictObjectSchema<{}, undefined>;
11
- type: "strict_object";
12
- reference: typeof v.strictObject;
13
- expects: "Object";
14
- entries: {
15
- readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
16
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
17
- readonly kind: v.LiteralSchema<"account.delete", undefined>;
18
- readonly payload: v.StrictObjectSchema<{}, undefined>;
19
- readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
20
- readonly version: v.LiteralSchema<1, undefined>;
21
- };
22
- message: undefined;
23
- kind: "schema";
8
+ kind: 'schema';
24
9
  async: false;
25
10
  '~standard': v.StandardProps<{
26
11
  accountId: string;
@@ -44,7 +29,7 @@ declare const commandDefinitions: {
44
29
  payload: {};
45
30
  submittedAt: string;
46
31
  version: 1;
47
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
32
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
48
33
  '~types'?: {
49
34
  readonly input: {
50
35
  accountId: string;
@@ -62,31 +47,25 @@ declare const commandDefinitions: {
62
47
  submittedAt: string;
63
48
  version: 1;
64
49
  };
65
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
50
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
66
51
  } | undefined;
67
- }, {
68
- accountScope: "REQUIRED";
69
- commandKind: "account.settings.set";
70
- payloadSchema: v.StrictObjectSchema<{
71
- readonly colour: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
72
- 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>;
73
- }, undefined>;
74
- type: "strict_object";
52
+ type: 'strict_object';
75
53
  reference: typeof v.strictObject;
76
- expects: "Object";
54
+ expects: 'Object';
77
55
  entries: {
78
56
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
79
57
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
80
- readonly kind: v.LiteralSchema<"account.settings.set", undefined>;
81
- readonly payload: v.StrictObjectSchema<{
82
- readonly colour: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
83
- 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>;
84
- }, undefined>;
58
+ readonly kind: v.LiteralSchema<"account.delete", undefined>;
59
+ readonly payload: v.StrictObjectSchema<{}, undefined>;
85
60
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
86
61
  readonly version: v.LiteralSchema<1, undefined>;
87
62
  };
88
63
  message: undefined;
89
- kind: "schema";
64
+ accountScope: "REQUIRED";
65
+ commandKind: "account.delete";
66
+ payloadSchema: v.StrictObjectSchema<{}, undefined>;
67
+ }, {
68
+ kind: 'schema';
90
69
  async: false;
91
70
  '~standard': v.StandardProps<{
92
71
  accountId: string;
@@ -119,7 +98,7 @@ declare const commandDefinitions: {
119
98
  };
120
99
  submittedAt: string;
121
100
  version: 1;
122
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
101
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
123
102
  '~types'?: {
124
103
  readonly input: {
125
104
  accountId: string;
@@ -143,35 +122,31 @@ declare const commandDefinitions: {
143
122
  submittedAt: string;
144
123
  version: 1;
145
124
  };
146
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
125
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
147
126
  } | undefined;
148
- }, {
149
- accountScope: "REQUIRED";
150
- commandKind: "alias.create";
151
- payloadSchema: v.StrictObjectSchema<{
152
- readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
153
- readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
154
- readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
155
- readonly signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
156
- }, undefined>;
157
- type: "strict_object";
127
+ type: 'strict_object';
158
128
  reference: typeof v.strictObject;
159
- expects: "Object";
129
+ expects: 'Object';
160
130
  entries: {
161
131
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
162
132
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
163
- readonly kind: v.LiteralSchema<"alias.create", undefined>;
133
+ readonly kind: v.LiteralSchema<"account.settings.set", undefined>;
164
134
  readonly payload: v.StrictObjectSchema<{
165
- readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
166
- readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
167
- readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
168
- readonly signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
135
+ readonly colour: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
136
+ 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>;
169
137
  }, undefined>;
170
138
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
171
139
  readonly version: v.LiteralSchema<1, undefined>;
172
140
  };
173
141
  message: undefined;
174
- kind: "schema";
142
+ accountScope: "REQUIRED";
143
+ commandKind: "account.settings.set";
144
+ payloadSchema: v.StrictObjectSchema<{
145
+ readonly colour: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
146
+ 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>;
147
+ }, undefined>;
148
+ }, {
149
+ kind: 'schema';
175
150
  async: false;
176
151
  '~standard': v.StandardProps<{
177
152
  accountId: string;
@@ -210,7 +185,7 @@ declare const commandDefinitions: {
210
185
  };
211
186
  submittedAt: string;
212
187
  version: 1;
213
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.RfcEmailIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MaxLengthIssue<string, 50000>>;
188
+ }, 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>>;
214
189
  '~types'?: {
215
190
  readonly input: {
216
191
  accountId: string;
@@ -238,29 +213,35 @@ declare const commandDefinitions: {
238
213
  submittedAt: string;
239
214
  version: 1;
240
215
  };
241
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.RfcEmailIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MaxLengthIssue<string, 50000>;
216
+ 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>;
242
217
  } | undefined;
243
- }, {
244
- accountScope: "REQUIRED";
245
- commandKind: "alias.delete";
246
- payloadSchema: v.StrictObjectSchema<{
247
- readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
248
- }, undefined>;
249
- type: "strict_object";
218
+ type: 'strict_object';
250
219
  reference: typeof v.strictObject;
251
- expects: "Object";
220
+ expects: 'Object';
252
221
  entries: {
253
222
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
254
223
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
255
- readonly kind: v.LiteralSchema<"alias.delete", undefined>;
224
+ readonly kind: v.LiteralSchema<"alias.create", undefined>;
256
225
  readonly payload: v.StrictObjectSchema<{
257
226
  readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
227
+ readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
228
+ readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
229
+ readonly signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
258
230
  }, undefined>;
259
231
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
260
232
  readonly version: v.LiteralSchema<1, undefined>;
261
233
  };
262
234
  message: undefined;
263
- kind: "schema";
235
+ accountScope: "REQUIRED";
236
+ commandKind: "alias.create";
237
+ payloadSchema: v.StrictObjectSchema<{
238
+ readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
239
+ readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
240
+ readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
241
+ readonly signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
242
+ }, undefined>;
243
+ }, {
244
+ kind: 'schema';
264
245
  async: false;
265
246
  '~standard': v.StandardProps<{
266
247
  accountId: string;
@@ -290,7 +271,7 @@ declare const commandDefinitions: {
290
271
  };
291
272
  submittedAt: string;
292
273
  version: 1;
293
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
274
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
294
275
  '~types'?: {
295
276
  readonly input: {
296
277
  accountId: string;
@@ -312,31 +293,29 @@ declare const commandDefinitions: {
312
293
  submittedAt: string;
313
294
  version: 1;
314
295
  };
315
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
296
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
316
297
  } | undefined;
317
- }, {
318
- accountScope: "REQUIRED";
319
- commandKind: "alias.name.set";
320
- payloadSchema: v.StrictObjectSchema<{
321
- readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
322
- readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
323
- }, undefined>;
324
- type: "strict_object";
298
+ type: 'strict_object';
325
299
  reference: typeof v.strictObject;
326
- expects: "Object";
300
+ expects: 'Object';
327
301
  entries: {
328
302
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
329
303
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
330
- readonly kind: v.LiteralSchema<"alias.name.set", undefined>;
304
+ readonly kind: v.LiteralSchema<"alias.delete", undefined>;
331
305
  readonly payload: v.StrictObjectSchema<{
332
306
  readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
333
- readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
334
307
  }, undefined>;
335
308
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
336
309
  readonly version: v.LiteralSchema<1, undefined>;
337
310
  };
338
311
  message: undefined;
339
- kind: "schema";
312
+ accountScope: "REQUIRED";
313
+ commandKind: "alias.delete";
314
+ payloadSchema: v.StrictObjectSchema<{
315
+ readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
316
+ }, undefined>;
317
+ }, {
318
+ kind: 'schema';
340
319
  async: false;
341
320
  '~standard': v.StandardProps<{
342
321
  accountId: string;
@@ -369,7 +348,7 @@ declare const commandDefinitions: {
369
348
  };
370
349
  submittedAt: string;
371
350
  version: 1;
372
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
351
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
373
352
  '~types'?: {
374
353
  readonly input: {
375
354
  accountId: string;
@@ -393,29 +372,31 @@ declare const commandDefinitions: {
393
372
  submittedAt: string;
394
373
  version: 1;
395
374
  };
396
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
375
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
397
376
  } | undefined;
398
- }, {
399
- accountScope: "REQUIRED";
400
- commandKind: "alias.primary.set";
401
- payloadSchema: v.StrictObjectSchema<{
402
- readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
403
- }, undefined>;
404
- type: "strict_object";
377
+ type: 'strict_object';
405
378
  reference: typeof v.strictObject;
406
- expects: "Object";
379
+ expects: 'Object';
407
380
  entries: {
408
381
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
409
382
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
410
- readonly kind: v.LiteralSchema<"alias.primary.set", undefined>;
383
+ readonly kind: v.LiteralSchema<"alias.name.set", undefined>;
411
384
  readonly payload: v.StrictObjectSchema<{
412
385
  readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
386
+ readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
413
387
  }, undefined>;
414
388
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
415
389
  readonly version: v.LiteralSchema<1, undefined>;
416
390
  };
417
391
  message: undefined;
418
- kind: "schema";
392
+ accountScope: "REQUIRED";
393
+ commandKind: "alias.name.set";
394
+ payloadSchema: v.StrictObjectSchema<{
395
+ readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
396
+ readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
397
+ }, undefined>;
398
+ }, {
399
+ kind: 'schema';
419
400
  async: false;
420
401
  '~standard': v.StandardProps<{
421
402
  accountId: string;
@@ -445,7 +426,7 @@ declare const commandDefinitions: {
445
426
  };
446
427
  submittedAt: string;
447
428
  version: 1;
448
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
429
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
449
430
  '~types'?: {
450
431
  readonly input: {
451
432
  accountId: string;
@@ -467,31 +448,29 @@ declare const commandDefinitions: {
467
448
  submittedAt: string;
468
449
  version: 1;
469
450
  };
470
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
451
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
471
452
  } | undefined;
472
- }, {
473
- accountScope: "REQUIRED";
474
- commandKind: "alias.signature.set";
475
- payloadSchema: v.StrictObjectSchema<{
476
- readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
477
- readonly signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
478
- }, undefined>;
479
- type: "strict_object";
453
+ type: 'strict_object';
480
454
  reference: typeof v.strictObject;
481
- expects: "Object";
455
+ expects: 'Object';
482
456
  entries: {
483
457
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
484
458
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
485
- readonly kind: v.LiteralSchema<"alias.signature.set", undefined>;
459
+ readonly kind: v.LiteralSchema<"alias.primary.set", undefined>;
486
460
  readonly payload: v.StrictObjectSchema<{
487
461
  readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
488
- readonly signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
489
462
  }, undefined>;
490
463
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
491
464
  readonly version: v.LiteralSchema<1, undefined>;
492
465
  };
493
466
  message: undefined;
494
- kind: "schema";
467
+ accountScope: "REQUIRED";
468
+ commandKind: "alias.primary.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
+ }, undefined>;
472
+ }, {
473
+ kind: 'schema';
495
474
  async: false;
496
475
  '~standard': v.StandardProps<{
497
476
  accountId: string;
@@ -524,7 +503,7 @@ declare const commandDefinitions: {
524
503
  };
525
504
  submittedAt: string;
526
505
  version: 1;
527
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MaxLengthIssue<string, 50000>>;
506
+ }, 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>>;
528
507
  '~types'?: {
529
508
  readonly input: {
530
509
  accountId: string;
@@ -548,32 +527,32 @@ declare const commandDefinitions: {
548
527
  submittedAt: string;
549
528
  version: 1;
550
529
  };
551
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MaxLengthIssue<string, 50000>;
530
+ 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>;
552
531
  } | undefined;
553
- }];
554
- readonly draft: readonly [{
555
- accountScope: "REQUIRED";
556
- commandKind: "draft.attachment.delete";
557
- payloadSchema: v.StrictObjectSchema<{
558
- readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
559
- readonly fileId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
560
- }, undefined>;
561
- type: "strict_object";
532
+ type: 'strict_object';
562
533
  reference: typeof v.strictObject;
563
- expects: "Object";
534
+ expects: 'Object';
564
535
  entries: {
565
536
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
566
537
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
567
- readonly kind: v.LiteralSchema<"draft.attachment.delete", undefined>;
538
+ readonly kind: v.LiteralSchema<"alias.signature.set", undefined>;
568
539
  readonly payload: v.StrictObjectSchema<{
569
- readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
570
- readonly fileId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
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 signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
571
542
  }, undefined>;
572
543
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
573
544
  readonly version: v.LiteralSchema<1, undefined>;
574
545
  };
575
546
  message: undefined;
576
- kind: "schema";
547
+ accountScope: "REQUIRED";
548
+ commandKind: "alias.signature.set";
549
+ payloadSchema: v.StrictObjectSchema<{
550
+ readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
551
+ readonly signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
552
+ }, undefined>;
553
+ }];
554
+ readonly draft: readonly [{
555
+ kind: 'schema';
577
556
  async: false;
578
557
  '~standard': v.StandardProps<{
579
558
  accountId: string;
@@ -606,7 +585,7 @@ declare const commandDefinitions: {
606
585
  };
607
586
  submittedAt: string;
608
587
  version: 1;
609
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.MinLengthIssue<string, 1> | v.MaxLengthIssue<string, 36> | v.RegexIssue<string> | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
588
+ }, 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>>;
610
589
  '~types'?: {
611
590
  readonly input: {
612
591
  accountId: string;
@@ -630,48 +609,42 @@ declare const commandDefinitions: {
630
609
  submittedAt: string;
631
610
  version: 1;
632
611
  };
633
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.MinLengthIssue<string, 1> | v.MaxLengthIssue<string, 36> | v.RegexIssue<string> | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
612
+ 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>;
634
613
  } | undefined;
635
- }, {
636
- accountScope: "REQUIRED";
637
- commandKind: "draft.attachment.link";
638
- payloadSchema: v.StrictObjectSchema<{
639
- readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
640
- readonly fileId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
641
- readonly fileName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
642
- readonly mimeType: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
643
- readonly size: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
644
- }, undefined>;
645
- type: "strict_object";
614
+ type: 'strict_object';
646
615
  reference: typeof v.strictObject;
647
- expects: "Object";
616
+ expects: 'Object';
648
617
  entries: {
649
618
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
650
619
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
651
- readonly kind: v.LiteralSchema<"draft.attachment.link", undefined>;
620
+ readonly kind: v.LiteralSchema<"draft.attachment.delete", undefined>;
652
621
  readonly payload: v.StrictObjectSchema<{
653
622
  readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
654
623
  readonly fileId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
655
- readonly fileName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
656
- readonly mimeType: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
657
- readonly size: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
658
624
  }, undefined>;
659
625
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
660
626
  readonly version: v.LiteralSchema<1, undefined>;
661
627
  };
662
628
  message: undefined;
663
- kind: "schema";
629
+ accountScope: "REQUIRED";
630
+ commandKind: "draft.attachment.delete";
631
+ payloadSchema: v.StrictObjectSchema<{
632
+ readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
633
+ readonly fileId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
634
+ }, undefined>;
635
+ }, {
636
+ kind: 'schema';
664
637
  async: false;
665
638
  '~standard': v.StandardProps<{
666
639
  accountId: string;
667
640
  id: string;
668
641
  kind: "draft.attachment.link";
669
642
  payload: {
670
- draftId: string;
671
643
  fileId: string;
672
644
  fileName: string;
673
645
  mimeType: string;
674
646
  size: number;
647
+ draftId: string;
675
648
  };
676
649
  submittedAt: string;
677
650
  version: 1;
@@ -680,11 +653,11 @@ declare const commandDefinitions: {
680
653
  id: string & v.Brand<"CommandId">;
681
654
  kind: "draft.attachment.link";
682
655
  payload: {
683
- draftId: string & v.Brand<"DraftId">;
684
656
  fileId: string;
685
657
  fileName: string;
686
658
  mimeType: string;
687
659
  size: number;
660
+ draftId: string & v.Brand<"DraftId">;
688
661
  };
689
662
  submittedAt: string;
690
663
  version: 1;
@@ -694,26 +667,26 @@ declare const commandDefinitions: {
694
667
  id: string & v.Brand<"CommandId">;
695
668
  kind: "draft.attachment.link";
696
669
  payload: {
697
- draftId: string & v.Brand<"DraftId">;
698
670
  fileId: string;
699
671
  fileName: string;
700
672
  mimeType: string;
701
673
  size: number;
674
+ draftId: string & v.Brand<"DraftId">;
702
675
  };
703
676
  submittedAt: string;
704
677
  version: 1;
705
- }, v.NumberIssue | v.IntegerIssue<number> | v.MinValueIssue<number, 0> | v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.MinLengthIssue<string, 1> | v.MaxLengthIssue<string, 36> | v.RegexIssue<string> | v.MaxLengthIssue<string, 255> | v.LiteralIssue | v.StrictObjectIssue | v.MinLengthIssue<string, 3> | v.UuidIssue<string>>;
678
+ }, 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>>;
706
679
  '~types'?: {
707
680
  readonly input: {
708
681
  accountId: string;
709
682
  id: string;
710
683
  kind: "draft.attachment.link";
711
684
  payload: {
712
- draftId: string;
713
685
  fileId: string;
714
686
  fileName: string;
715
687
  mimeType: string;
716
688
  size: number;
689
+ draftId: string;
717
690
  };
718
691
  submittedAt: string;
719
692
  version: 1;
@@ -723,40 +696,46 @@ declare const commandDefinitions: {
723
696
  id: string & v.Brand<"CommandId">;
724
697
  kind: "draft.attachment.link";
725
698
  payload: {
726
- draftId: string & v.Brand<"DraftId">;
727
699
  fileId: string;
728
700
  fileName: string;
729
701
  mimeType: string;
730
702
  size: number;
703
+ draftId: string & v.Brand<"DraftId">;
731
704
  };
732
705
  submittedAt: string;
733
706
  version: 1;
734
707
  };
735
- readonly issue: v.NumberIssue | v.IntegerIssue<number> | v.MinValueIssue<number, 0> | v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.MinLengthIssue<string, 1> | v.MaxLengthIssue<string, 36> | v.RegexIssue<string> | v.MaxLengthIssue<string, 255> | v.LiteralIssue | v.StrictObjectIssue | v.MinLengthIssue<string, 3> | v.UuidIssue<string>;
708
+ 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>;
736
709
  } | undefined;
737
- }, {
738
- accountScope: "REQUIRED";
739
- commandKind: "draft.content.set";
740
- payloadSchema: v.StrictObjectSchema<{
741
- readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
742
- readonly html: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 384000, undefined>]>;
743
- }, undefined>;
744
- type: "strict_object";
710
+ type: 'strict_object';
745
711
  reference: typeof v.strictObject;
746
- expects: "Object";
712
+ expects: 'Object';
747
713
  entries: {
748
714
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
749
715
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
750
- readonly kind: v.LiteralSchema<"draft.content.set", undefined>;
716
+ readonly kind: v.LiteralSchema<"draft.attachment.link", undefined>;
751
717
  readonly payload: v.StrictObjectSchema<{
718
+ readonly fileId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
719
+ readonly fileName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
720
+ readonly mimeType: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
721
+ readonly size: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
752
722
  readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
753
- readonly html: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 384000, undefined>]>;
754
723
  }, undefined>;
755
724
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
756
725
  readonly version: v.LiteralSchema<1, undefined>;
757
726
  };
758
727
  message: undefined;
759
- kind: "schema";
728
+ accountScope: "REQUIRED";
729
+ commandKind: "draft.attachment.link";
730
+ payloadSchema: v.StrictObjectSchema<{
731
+ readonly fileId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
732
+ readonly fileName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
733
+ readonly mimeType: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
734
+ readonly size: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
735
+ readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
736
+ }, undefined>;
737
+ }, {
738
+ kind: 'schema';
760
739
  async: false;
761
740
  '~standard': v.StandardProps<{
762
741
  accountId: string;
@@ -789,7 +768,7 @@ declare const commandDefinitions: {
789
768
  };
790
769
  submittedAt: string;
791
770
  version: 1;
792
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MaxLengthIssue<string, 384000>>;
771
+ }, 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>>;
793
772
  '~types'?: {
794
773
  readonly input: {
795
774
  accountId: string;
@@ -813,35 +792,31 @@ declare const commandDefinitions: {
813
792
  submittedAt: string;
814
793
  version: 1;
815
794
  };
816
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MaxLengthIssue<string, 384000>;
795
+ 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>;
817
796
  } | undefined;
818
- }, {
819
- accountScope: "REQUIRED";
820
- commandKind: "draft.create";
821
- payloadSchema: v.StrictObjectSchema<{
822
- readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
823
- 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>;
824
- 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>;
825
- readonly type: v.PicklistSchema<readonly ["NEW", "REPLY", "FORWARD"], undefined>;
826
- }, undefined>;
827
- type: "strict_object";
797
+ type: 'strict_object';
828
798
  reference: typeof v.strictObject;
829
- expects: "Object";
799
+ expects: 'Object';
830
800
  entries: {
831
801
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
832
802
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
833
- readonly kind: v.LiteralSchema<"draft.create", undefined>;
803
+ readonly kind: v.LiteralSchema<"draft.content.set", undefined>;
834
804
  readonly payload: v.StrictObjectSchema<{
835
805
  readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
836
- 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>;
837
- 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>;
838
- readonly type: v.PicklistSchema<readonly ["NEW", "REPLY", "FORWARD"], undefined>;
806
+ readonly html: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 384000, undefined>]>;
839
807
  }, undefined>;
840
808
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
841
809
  readonly version: v.LiteralSchema<1, undefined>;
842
810
  };
843
811
  message: undefined;
844
- kind: "schema";
812
+ accountScope: "REQUIRED";
813
+ commandKind: "draft.content.set";
814
+ payloadSchema: v.StrictObjectSchema<{
815
+ readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
816
+ readonly html: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 384000, undefined>]>;
817
+ }, undefined>;
818
+ }, {
819
+ kind: 'schema';
845
820
  async: false;
846
821
  '~standard': v.StandardProps<{
847
822
  accountId: string;
@@ -851,7 +826,7 @@ declare const commandDefinitions: {
851
826
  draftId: string;
852
827
  fromAliasId: string | null;
853
828
  referencedMessageId: string | null;
854
- type: "NEW" | "REPLY" | "FORWARD";
829
+ type: "FORWARD" | "NEW" | "REPLY";
855
830
  };
856
831
  submittedAt: string;
857
832
  version: 1;
@@ -863,7 +838,7 @@ declare const commandDefinitions: {
863
838
  draftId: string & v.Brand<"DraftId">;
864
839
  fromAliasId: (string & v.Brand<"AliasId">) | null;
865
840
  referencedMessageId: (string & v.Brand<"MessageId">) | null;
866
- type: "NEW" | "REPLY" | "FORWARD";
841
+ type: "FORWARD" | "NEW" | "REPLY";
867
842
  };
868
843
  submittedAt: string;
869
844
  version: 1;
@@ -876,11 +851,11 @@ declare const commandDefinitions: {
876
851
  draftId: string & v.Brand<"DraftId">;
877
852
  fromAliasId: (string & v.Brand<"AliasId">) | null;
878
853
  referencedMessageId: (string & v.Brand<"MessageId">) | null;
879
- type: "NEW" | "REPLY" | "FORWARD";
854
+ type: "FORWARD" | "NEW" | "REPLY";
880
855
  };
881
856
  submittedAt: string;
882
857
  version: 1;
883
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.PicklistIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
858
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.PicklistIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
884
859
  '~types'?: {
885
860
  readonly input: {
886
861
  accountId: string;
@@ -890,7 +865,7 @@ declare const commandDefinitions: {
890
865
  draftId: string;
891
866
  fromAliasId: string | null;
892
867
  referencedMessageId: string | null;
893
- type: "NEW" | "REPLY" | "FORWARD";
868
+ type: "FORWARD" | "NEW" | "REPLY";
894
869
  };
895
870
  submittedAt: string;
896
871
  version: 1;
@@ -903,34 +878,40 @@ declare const commandDefinitions: {
903
878
  draftId: string & v.Brand<"DraftId">;
904
879
  fromAliasId: (string & v.Brand<"AliasId">) | null;
905
880
  referencedMessageId: (string & v.Brand<"MessageId">) | null;
906
- type: "NEW" | "REPLY" | "FORWARD";
881
+ type: "FORWARD" | "NEW" | "REPLY";
907
882
  };
908
883
  submittedAt: string;
909
884
  version: 1;
910
885
  };
911
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.PicklistIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
886
+ 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>;
912
887
  } | undefined;
913
- }, {
914
- accountScope: "REQUIRED";
915
- commandKind: "draft.delete";
916
- payloadSchema: v.StrictObjectSchema<{
917
- readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
918
- }, undefined>;
919
- type: "strict_object";
888
+ type: 'strict_object';
920
889
  reference: typeof v.strictObject;
921
- expects: "Object";
890
+ expects: 'Object';
922
891
  entries: {
923
892
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
924
893
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
925
- readonly kind: v.LiteralSchema<"draft.delete", undefined>;
894
+ readonly kind: v.LiteralSchema<"draft.create", undefined>;
926
895
  readonly payload: v.StrictObjectSchema<{
927
896
  readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
897
+ 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>;
898
+ 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>;
899
+ readonly type: v.PicklistSchema<readonly ["NEW", "REPLY", "FORWARD"], undefined>;
928
900
  }, undefined>;
929
901
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
930
902
  readonly version: v.LiteralSchema<1, undefined>;
931
903
  };
932
904
  message: undefined;
933
- kind: "schema";
905
+ accountScope: "REQUIRED";
906
+ commandKind: "draft.create";
907
+ payloadSchema: v.StrictObjectSchema<{
908
+ readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
909
+ 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>;
910
+ 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>;
911
+ readonly type: v.PicklistSchema<readonly ["NEW", "REPLY", "FORWARD"], undefined>;
912
+ }, undefined>;
913
+ }, {
914
+ kind: 'schema';
934
915
  async: false;
935
916
  '~standard': v.StandardProps<{
936
917
  accountId: string;
@@ -960,7 +941,7 @@ declare const commandDefinitions: {
960
941
  };
961
942
  submittedAt: string;
962
943
  version: 1;
963
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
944
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
964
945
  '~types'?: {
965
946
  readonly input: {
966
947
  accountId: string;
@@ -982,48 +963,40 @@ declare const commandDefinitions: {
982
963
  submittedAt: string;
983
964
  version: 1;
984
965
  };
985
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
966
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
986
967
  } | undefined;
987
- }, {
988
- accountScope: "REQUIRED";
989
- commandKind: "draft.envelope.set";
990
- payloadSchema: v.StrictObjectSchema<{
991
- readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
992
- readonly bcc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
993
- readonly cc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
994
- readonly subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 998, undefined>]>, undefined>;
995
- readonly to: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
996
- }, undefined>;
997
- type: "strict_object";
968
+ type: 'strict_object';
998
969
  reference: typeof v.strictObject;
999
- expects: "Object";
970
+ expects: 'Object';
1000
971
  entries: {
1001
972
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
1002
973
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
1003
- readonly kind: v.LiteralSchema<"draft.envelope.set", undefined>;
974
+ readonly kind: v.LiteralSchema<"draft.delete", undefined>;
1004
975
  readonly payload: v.StrictObjectSchema<{
1005
976
  readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
1006
- readonly bcc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
1007
- readonly cc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
1008
- readonly subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 998, undefined>]>, undefined>;
1009
- readonly to: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
1010
977
  }, undefined>;
1011
978
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1012
979
  readonly version: v.LiteralSchema<1, undefined>;
1013
980
  };
1014
981
  message: undefined;
1015
- kind: "schema";
982
+ accountScope: "REQUIRED";
983
+ commandKind: "draft.delete";
984
+ payloadSchema: v.StrictObjectSchema<{
985
+ readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
986
+ }, undefined>;
987
+ }, {
988
+ kind: 'schema';
1016
989
  async: false;
1017
990
  '~standard': v.StandardProps<{
1018
991
  accountId: string;
1019
992
  id: string;
1020
993
  kind: "draft.envelope.set";
1021
994
  payload: {
1022
- draftId: string;
1023
995
  bcc: string[];
1024
996
  cc: string[];
1025
997
  subject: string | null;
1026
998
  to: string[];
999
+ draftId: string;
1027
1000
  };
1028
1001
  submittedAt: string;
1029
1002
  version: 1;
@@ -1032,11 +1005,11 @@ declare const commandDefinitions: {
1032
1005
  id: string & v.Brand<"CommandId">;
1033
1006
  kind: "draft.envelope.set";
1034
1007
  payload: {
1035
- draftId: string & v.Brand<"DraftId">;
1036
1008
  bcc: string[];
1037
1009
  cc: string[];
1038
1010
  subject: string | null;
1039
1011
  to: string[];
1012
+ draftId: string & v.Brand<"DraftId">;
1040
1013
  };
1041
1014
  submittedAt: string;
1042
1015
  version: 1;
@@ -1046,26 +1019,26 @@ declare const commandDefinitions: {
1046
1019
  id: string & v.Brand<"CommandId">;
1047
1020
  kind: "draft.envelope.set";
1048
1021
  payload: {
1049
- draftId: string & v.Brand<"DraftId">;
1050
1022
  bcc: string[];
1051
1023
  cc: string[];
1052
1024
  subject: string | null;
1053
1025
  to: string[];
1026
+ draftId: string & v.Brand<"DraftId">;
1054
1027
  };
1055
1028
  submittedAt: string;
1056
1029
  version: 1;
1057
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.RfcEmailIssue<string> | v.MaxLengthIssue<string, 320> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.MaxLengthIssue<string, 998> | v.UuidIssue<string>>;
1030
+ }, 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>>;
1058
1031
  '~types'?: {
1059
1032
  readonly input: {
1060
1033
  accountId: string;
1061
1034
  id: string;
1062
1035
  kind: "draft.envelope.set";
1063
1036
  payload: {
1064
- draftId: string;
1065
1037
  bcc: string[];
1066
1038
  cc: string[];
1067
1039
  subject: string | null;
1068
1040
  to: string[];
1041
+ draftId: string;
1069
1042
  };
1070
1043
  submittedAt: string;
1071
1044
  version: 1;
@@ -1075,42 +1048,46 @@ declare const commandDefinitions: {
1075
1048
  id: string & v.Brand<"CommandId">;
1076
1049
  kind: "draft.envelope.set";
1077
1050
  payload: {
1078
- draftId: string & v.Brand<"DraftId">;
1079
1051
  bcc: string[];
1080
1052
  cc: string[];
1081
1053
  subject: string | null;
1082
1054
  to: string[];
1055
+ draftId: string & v.Brand<"DraftId">;
1083
1056
  };
1084
1057
  submittedAt: string;
1085
1058
  version: 1;
1086
1059
  };
1087
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.RfcEmailIssue<string> | v.MaxLengthIssue<string, 320> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.MaxLengthIssue<string, 998> | v.UuidIssue<string>;
1060
+ 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>;
1088
1061
  } | undefined;
1089
- }, {
1090
- accountScope: "REQUIRED";
1091
- commandKind: "draft.from.set";
1092
- payloadSchema: v.StrictObjectSchema<{
1093
- readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
1094
- readonly fromAliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
1095
- readonly targetAccountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
1096
- }, undefined>;
1097
- type: "strict_object";
1062
+ type: 'strict_object';
1098
1063
  reference: typeof v.strictObject;
1099
- expects: "Object";
1064
+ expects: 'Object';
1100
1065
  entries: {
1101
1066
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
1102
1067
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
1103
- readonly kind: v.LiteralSchema<"draft.from.set", undefined>;
1068
+ readonly kind: v.LiteralSchema<"draft.envelope.set", undefined>;
1104
1069
  readonly payload: v.StrictObjectSchema<{
1070
+ readonly bcc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
1071
+ readonly cc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
1072
+ readonly subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 998, undefined>]>, undefined>;
1073
+ readonly to: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
1105
1074
  readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
1106
- readonly fromAliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
1107
- readonly targetAccountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
1108
1075
  }, undefined>;
1109
1076
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1110
1077
  readonly version: v.LiteralSchema<1, undefined>;
1111
1078
  };
1112
1079
  message: undefined;
1113
- kind: "schema";
1080
+ accountScope: "REQUIRED";
1081
+ commandKind: "draft.envelope.set";
1082
+ payloadSchema: v.StrictObjectSchema<{
1083
+ readonly bcc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
1084
+ readonly cc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
1085
+ readonly subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 998, undefined>]>, undefined>;
1086
+ readonly to: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
1087
+ readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
1088
+ }, undefined>;
1089
+ }, {
1090
+ kind: 'schema';
1114
1091
  async: false;
1115
1092
  '~standard': v.StandardProps<{
1116
1093
  accountId: string;
@@ -1146,7 +1123,7 @@ declare const commandDefinitions: {
1146
1123
  };
1147
1124
  submittedAt: string;
1148
1125
  version: 1;
1149
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
1126
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
1150
1127
  '~types'?: {
1151
1128
  readonly input: {
1152
1129
  accountId: string;
@@ -1172,30 +1149,34 @@ declare const commandDefinitions: {
1172
1149
  submittedAt: string;
1173
1150
  version: 1;
1174
1151
  };
1175
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
1152
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
1176
1153
  } | undefined;
1177
- }];
1178
- readonly draftSend: readonly [{
1179
- accountScope: "REQUIRED";
1180
- commandKind: "draft.send";
1181
- payloadSchema: v.StrictObjectSchema<{
1182
- readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
1183
- }, undefined>;
1184
- type: "strict_object";
1154
+ type: 'strict_object';
1185
1155
  reference: typeof v.strictObject;
1186
- expects: "Object";
1156
+ expects: 'Object';
1187
1157
  entries: {
1188
1158
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
1189
1159
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
1190
- readonly kind: v.LiteralSchema<"draft.send", undefined>;
1160
+ readonly kind: v.LiteralSchema<"draft.from.set", undefined>;
1191
1161
  readonly payload: v.StrictObjectSchema<{
1192
1162
  readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
1163
+ readonly fromAliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
1164
+ readonly targetAccountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
1193
1165
  }, undefined>;
1194
1166
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1195
1167
  readonly version: v.LiteralSchema<1, undefined>;
1196
1168
  };
1197
1169
  message: undefined;
1198
- kind: "schema";
1170
+ accountScope: "REQUIRED";
1171
+ commandKind: "draft.from.set";
1172
+ payloadSchema: v.StrictObjectSchema<{
1173
+ readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
1174
+ readonly fromAliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
1175
+ readonly targetAccountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
1176
+ }, undefined>;
1177
+ }];
1178
+ readonly draftSend: readonly [{
1179
+ kind: 'schema';
1199
1180
  async: false;
1200
1181
  '~standard': v.StandardProps<{
1201
1182
  accountId: string;
@@ -1225,7 +1206,7 @@ declare const commandDefinitions: {
1225
1206
  };
1226
1207
  submittedAt: string;
1227
1208
  version: 1;
1228
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
1209
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
1229
1210
  '~types'?: {
1230
1211
  readonly input: {
1231
1212
  accountId: string;
@@ -1247,21 +1228,15 @@ declare const commandDefinitions: {
1247
1228
  submittedAt: string;
1248
1229
  version: 1;
1249
1230
  };
1250
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
1231
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
1251
1232
  } | undefined;
1252
- }, {
1253
- accountScope: "REQUIRED";
1254
- commandKind: "draft.send.cancel";
1255
- payloadSchema: v.StrictObjectSchema<{
1256
- readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
1257
- }, undefined>;
1258
- type: "strict_object";
1233
+ type: 'strict_object';
1259
1234
  reference: typeof v.strictObject;
1260
- expects: "Object";
1235
+ expects: 'Object';
1261
1236
  entries: {
1262
1237
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
1263
1238
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
1264
- readonly kind: v.LiteralSchema<"draft.send.cancel", undefined>;
1239
+ readonly kind: v.LiteralSchema<"draft.send", undefined>;
1265
1240
  readonly payload: v.StrictObjectSchema<{
1266
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>;
1267
1242
  }, undefined>;
@@ -1269,7 +1244,13 @@ declare const commandDefinitions: {
1269
1244
  readonly version: v.LiteralSchema<1, undefined>;
1270
1245
  };
1271
1246
  message: undefined;
1272
- kind: "schema";
1247
+ accountScope: "REQUIRED";
1248
+ commandKind: "draft.send";
1249
+ payloadSchema: v.StrictObjectSchema<{
1250
+ readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
1251
+ }, undefined>;
1252
+ }, {
1253
+ kind: 'schema';
1273
1254
  async: false;
1274
1255
  '~standard': v.StandardProps<{
1275
1256
  accountId: string;
@@ -1299,7 +1280,7 @@ declare const commandDefinitions: {
1299
1280
  };
1300
1281
  submittedAt: string;
1301
1282
  version: 1;
1302
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
1283
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
1303
1284
  '~types'?: {
1304
1285
  readonly input: {
1305
1286
  accountId: string;
@@ -1321,31 +1302,29 @@ declare const commandDefinitions: {
1321
1302
  submittedAt: string;
1322
1303
  version: 1;
1323
1304
  };
1324
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
1305
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
1325
1306
  } | undefined;
1326
- }, {
1327
- accountScope: "REQUIRED";
1328
- commandKind: "draft.send.schedule";
1329
- payloadSchema: v.StrictObjectSchema<{
1330
- readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
1331
- readonly scheduledAt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>;
1332
- }, undefined>;
1333
- type: "strict_object";
1307
+ type: 'strict_object';
1334
1308
  reference: typeof v.strictObject;
1335
- expects: "Object";
1309
+ expects: 'Object';
1336
1310
  entries: {
1337
1311
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
1338
1312
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
1339
- readonly kind: v.LiteralSchema<"draft.send.schedule", undefined>;
1313
+ readonly kind: v.LiteralSchema<"draft.send.cancel", undefined>;
1340
1314
  readonly payload: v.StrictObjectSchema<{
1341
1315
  readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
1342
- readonly scheduledAt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>;
1343
1316
  }, undefined>;
1344
1317
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1345
1318
  readonly version: v.LiteralSchema<1, undefined>;
1346
1319
  };
1347
1320
  message: undefined;
1348
- kind: "schema";
1321
+ accountScope: "REQUIRED";
1322
+ commandKind: "draft.send.cancel";
1323
+ payloadSchema: v.StrictObjectSchema<{
1324
+ readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
1325
+ }, undefined>;
1326
+ }, {
1327
+ kind: 'schema';
1349
1328
  async: false;
1350
1329
  '~standard': v.StandardProps<{
1351
1330
  accountId: string;
@@ -1378,7 +1357,7 @@ declare const commandDefinitions: {
1378
1357
  };
1379
1358
  submittedAt: string;
1380
1359
  version: 1;
1381
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.CheckIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
1360
+ }, v.CheckIssue<string> | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
1382
1361
  '~types'?: {
1383
1362
  readonly input: {
1384
1363
  accountId: string;
@@ -1402,32 +1381,32 @@ declare const commandDefinitions: {
1402
1381
  submittedAt: string;
1403
1382
  version: 1;
1404
1383
  };
1405
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.CheckIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
1384
+ 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>;
1406
1385
  } | undefined;
1407
- }];
1408
- readonly label: readonly [{
1409
- accountScope: "REQUIRED";
1410
- commandKind: "label.create";
1411
- payloadSchema: v.StrictObjectSchema<{
1412
- readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
1413
- readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
1414
- }, undefined>;
1415
- type: "strict_object";
1386
+ type: 'strict_object';
1416
1387
  reference: typeof v.strictObject;
1417
- expects: "Object";
1388
+ expects: 'Object';
1418
1389
  entries: {
1419
1390
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
1420
1391
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
1421
- readonly kind: v.LiteralSchema<"label.create", undefined>;
1392
+ readonly kind: v.LiteralSchema<"draft.send.schedule", undefined>;
1422
1393
  readonly payload: v.StrictObjectSchema<{
1423
- readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
1424
- readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
1394
+ readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
1395
+ readonly scheduledAt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>;
1425
1396
  }, undefined>;
1426
1397
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1427
1398
  readonly version: v.LiteralSchema<1, undefined>;
1428
1399
  };
1429
1400
  message: undefined;
1430
- kind: "schema";
1401
+ accountScope: "REQUIRED";
1402
+ commandKind: "draft.send.schedule";
1403
+ payloadSchema: v.StrictObjectSchema<{
1404
+ readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
1405
+ readonly scheduledAt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>;
1406
+ }, undefined>;
1407
+ }];
1408
+ readonly label: readonly [{
1409
+ kind: 'schema';
1431
1410
  async: false;
1432
1411
  '~standard': v.StandardProps<{
1433
1412
  accountId: string;
@@ -1460,7 +1439,7 @@ declare const commandDefinitions: {
1460
1439
  };
1461
1440
  submittedAt: string;
1462
1441
  version: 1;
1463
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
1442
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
1464
1443
  '~types'?: {
1465
1444
  readonly input: {
1466
1445
  accountId: string;
@@ -1484,29 +1463,31 @@ declare const commandDefinitions: {
1484
1463
  submittedAt: string;
1485
1464
  version: 1;
1486
1465
  };
1487
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
1466
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
1488
1467
  } | undefined;
1489
- }, {
1490
- accountScope: "REQUIRED";
1491
- commandKind: "label.delete";
1492
- payloadSchema: v.StrictObjectSchema<{
1493
- readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
1494
- }, undefined>;
1495
- type: "strict_object";
1468
+ type: 'strict_object';
1496
1469
  reference: typeof v.strictObject;
1497
- expects: "Object";
1470
+ expects: 'Object';
1498
1471
  entries: {
1499
1472
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
1500
1473
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
1501
- readonly kind: v.LiteralSchema<"label.delete", undefined>;
1474
+ readonly kind: v.LiteralSchema<"label.create", undefined>;
1502
1475
  readonly payload: v.StrictObjectSchema<{
1503
1476
  readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
1477
+ readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
1504
1478
  }, undefined>;
1505
1479
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1506
1480
  readonly version: v.LiteralSchema<1, undefined>;
1507
1481
  };
1508
1482
  message: undefined;
1509
- kind: "schema";
1483
+ accountScope: "REQUIRED";
1484
+ commandKind: "label.create";
1485
+ payloadSchema: v.StrictObjectSchema<{
1486
+ readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
1487
+ readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
1488
+ }, undefined>;
1489
+ }, {
1490
+ kind: 'schema';
1510
1491
  async: false;
1511
1492
  '~standard': v.StandardProps<{
1512
1493
  accountId: string;
@@ -1536,7 +1517,7 @@ declare const commandDefinitions: {
1536
1517
  };
1537
1518
  submittedAt: string;
1538
1519
  version: 1;
1539
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
1520
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
1540
1521
  '~types'?: {
1541
1522
  readonly input: {
1542
1523
  accountId: string;
@@ -1558,31 +1539,29 @@ declare const commandDefinitions: {
1558
1539
  submittedAt: string;
1559
1540
  version: 1;
1560
1541
  };
1561
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
1542
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
1562
1543
  } | undefined;
1563
- }, {
1564
- accountScope: "REQUIRED";
1565
- commandKind: "label.rename";
1566
- payloadSchema: v.StrictObjectSchema<{
1567
- readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
1568
- readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
1569
- }, undefined>;
1570
- type: "strict_object";
1544
+ type: 'strict_object';
1571
1545
  reference: typeof v.strictObject;
1572
- expects: "Object";
1546
+ expects: 'Object';
1573
1547
  entries: {
1574
1548
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
1575
1549
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
1576
- readonly kind: v.LiteralSchema<"label.rename", undefined>;
1550
+ readonly kind: v.LiteralSchema<"label.delete", undefined>;
1577
1551
  readonly payload: v.StrictObjectSchema<{
1578
1552
  readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
1579
- readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
1580
1553
  }, undefined>;
1581
1554
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1582
1555
  readonly version: v.LiteralSchema<1, undefined>;
1583
1556
  };
1584
1557
  message: undefined;
1585
- kind: "schema";
1558
+ accountScope: "REQUIRED";
1559
+ commandKind: "label.delete";
1560
+ payloadSchema: v.StrictObjectSchema<{
1561
+ readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
1562
+ }, undefined>;
1563
+ }, {
1564
+ kind: 'schema';
1586
1565
  async: false;
1587
1566
  '~standard': v.StandardProps<{
1588
1567
  accountId: string;
@@ -1615,7 +1594,7 @@ declare const commandDefinitions: {
1615
1594
  };
1616
1595
  submittedAt: string;
1617
1596
  version: 1;
1618
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
1597
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
1619
1598
  '~types'?: {
1620
1599
  readonly input: {
1621
1600
  accountId: string;
@@ -1639,30 +1618,32 @@ declare const commandDefinitions: {
1639
1618
  submittedAt: string;
1640
1619
  version: 1;
1641
1620
  };
1642
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
1621
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
1643
1622
  } | undefined;
1644
- }];
1645
- readonly profileAvatar: readonly [{
1646
- accountScope: "NULLABLE";
1647
- commandKind: "profile.avatar.set";
1648
- payloadSchema: v.StrictObjectSchema<{
1649
- readonly sha256: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
1650
- }, undefined>;
1651
- type: "strict_object";
1623
+ type: 'strict_object';
1652
1624
  reference: typeof v.strictObject;
1653
- expects: "Object";
1625
+ expects: 'Object';
1654
1626
  entries: {
1655
- 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>;
1627
+ readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
1656
1628
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
1657
- readonly kind: v.LiteralSchema<"profile.avatar.set", undefined>;
1629
+ readonly kind: v.LiteralSchema<"label.rename", undefined>;
1658
1630
  readonly payload: v.StrictObjectSchema<{
1659
- readonly sha256: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
1631
+ readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
1632
+ readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
1660
1633
  }, undefined>;
1661
1634
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1662
1635
  readonly version: v.LiteralSchema<1, undefined>;
1663
1636
  };
1664
1637
  message: undefined;
1665
- kind: "schema";
1638
+ accountScope: "REQUIRED";
1639
+ commandKind: "label.rename";
1640
+ payloadSchema: v.StrictObjectSchema<{
1641
+ readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
1642
+ readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
1643
+ }, undefined>;
1644
+ }];
1645
+ readonly profileAvatar: readonly [{
1646
+ kind: 'schema';
1666
1647
  async: false;
1667
1648
  '~standard': v.StandardProps<{
1668
1649
  accountId: string | null;
@@ -1692,7 +1673,7 @@ declare const commandDefinitions: {
1692
1673
  };
1693
1674
  submittedAt: string;
1694
1675
  version: 1;
1695
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.RegexIssue<string> | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
1676
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
1696
1677
  '~types'?: {
1697
1678
  readonly input: {
1698
1679
  accountId: string | null;
@@ -1714,32 +1695,30 @@ declare const commandDefinitions: {
1714
1695
  submittedAt: string;
1715
1696
  version: 1;
1716
1697
  };
1717
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.RegexIssue<string> | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
1698
+ 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>;
1718
1699
  } | undefined;
1719
- }];
1720
- readonly profileSettings: readonly [{
1721
- accountScope: "NULLABLE";
1722
- commandKind: "profile.settings.set";
1723
- payloadSchema: v.StrictObjectSchema<{
1724
- 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>;
1725
- 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>;
1726
- }, undefined>;
1727
- type: "strict_object";
1700
+ type: 'strict_object';
1728
1701
  reference: typeof v.strictObject;
1729
- expects: "Object";
1702
+ expects: 'Object';
1730
1703
  entries: {
1731
1704
  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>;
1732
1705
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
1733
- readonly kind: v.LiteralSchema<"profile.settings.set", undefined>;
1706
+ readonly kind: v.LiteralSchema<"profile.avatar.set", undefined>;
1734
1707
  readonly payload: v.StrictObjectSchema<{
1735
- 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>;
1736
- 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>;
1708
+ readonly sha256: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
1737
1709
  }, undefined>;
1738
1710
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1739
1711
  readonly version: v.LiteralSchema<1, undefined>;
1740
1712
  };
1741
1713
  message: undefined;
1742
- kind: "schema";
1714
+ accountScope: "NULLABLE";
1715
+ commandKind: "profile.avatar.set";
1716
+ payloadSchema: v.StrictObjectSchema<{
1717
+ readonly sha256: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
1718
+ }, undefined>;
1719
+ }];
1720
+ readonly profileSettings: readonly [{
1721
+ kind: 'schema';
1743
1722
  async: false;
1744
1723
  '~standard': v.StandardProps<{
1745
1724
  accountId: string | null;
@@ -1772,7 +1751,7 @@ declare const commandDefinitions: {
1772
1751
  };
1773
1752
  submittedAt: string;
1774
1753
  version: 1;
1775
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
1754
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
1776
1755
  '~types'?: {
1777
1756
  readonly input: {
1778
1757
  accountId: string | null;
@@ -1796,32 +1775,32 @@ declare const commandDefinitions: {
1796
1775
  submittedAt: string;
1797
1776
  version: 1;
1798
1777
  };
1799
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
1778
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
1800
1779
  } | undefined;
1801
- }];
1802
- readonly thread: readonly [{
1803
- accountScope: "REQUIRED";
1804
- commandKind: "thread.archive.set";
1805
- payloadSchema: v.StrictObjectSchema<{
1806
- readonly archived: v.BooleanSchema<undefined>;
1807
- 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>]>;
1808
- }, undefined>;
1809
- type: "strict_object";
1780
+ type: 'strict_object';
1810
1781
  reference: typeof v.strictObject;
1811
- expects: "Object";
1782
+ expects: 'Object';
1812
1783
  entries: {
1813
- readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
1784
+ 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>;
1814
1785
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
1815
- readonly kind: v.LiteralSchema<"thread.archive.set", undefined>;
1786
+ readonly kind: v.LiteralSchema<"profile.settings.set", undefined>;
1816
1787
  readonly payload: v.StrictObjectSchema<{
1817
- readonly archived: v.BooleanSchema<undefined>;
1818
- 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>]>;
1788
+ 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>;
1789
+ 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>;
1819
1790
  }, undefined>;
1820
1791
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1821
1792
  readonly version: v.LiteralSchema<1, undefined>;
1822
1793
  };
1823
1794
  message: undefined;
1824
- kind: "schema";
1795
+ accountScope: "NULLABLE";
1796
+ commandKind: "profile.settings.set";
1797
+ payloadSchema: v.StrictObjectSchema<{
1798
+ 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>;
1799
+ 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>;
1800
+ }, undefined>;
1801
+ }];
1802
+ readonly thread: readonly [{
1803
+ kind: 'schema';
1825
1804
  async: false;
1826
1805
  '~standard': v.StandardProps<{
1827
1806
  accountId: string;
@@ -1854,7 +1833,7 @@ declare const commandDefinitions: {
1854
1833
  };
1855
1834
  submittedAt: string;
1856
1835
  version: 1;
1857
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.BooleanIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>>;
1836
+ }, 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>>;
1858
1837
  '~types'?: {
1859
1838
  readonly input: {
1860
1839
  accountId: string;
@@ -1878,29 +1857,31 @@ declare const commandDefinitions: {
1878
1857
  submittedAt: string;
1879
1858
  version: 1;
1880
1859
  };
1881
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.BooleanIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>;
1860
+ 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>;
1882
1861
  } | undefined;
1883
- }, {
1884
- accountScope: "REQUIRED";
1885
- commandKind: "thread.delete";
1886
- payloadSchema: v.StrictObjectSchema<{
1887
- 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>]>;
1888
- }, undefined>;
1889
- type: "strict_object";
1862
+ type: 'strict_object';
1890
1863
  reference: typeof v.strictObject;
1891
- expects: "Object";
1864
+ expects: 'Object';
1892
1865
  entries: {
1893
1866
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
1894
1867
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
1895
- readonly kind: v.LiteralSchema<"thread.delete", undefined>;
1868
+ readonly kind: v.LiteralSchema<"thread.archive.set", undefined>;
1896
1869
  readonly payload: v.StrictObjectSchema<{
1870
+ readonly archived: v.BooleanSchema<undefined>;
1897
1871
  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>]>;
1898
1872
  }, undefined>;
1899
1873
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1900
1874
  readonly version: v.LiteralSchema<1, undefined>;
1901
1875
  };
1902
1876
  message: undefined;
1903
- kind: "schema";
1877
+ accountScope: "REQUIRED";
1878
+ commandKind: "thread.archive.set";
1879
+ payloadSchema: v.StrictObjectSchema<{
1880
+ readonly archived: v.BooleanSchema<undefined>;
1881
+ 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>]>;
1882
+ }, undefined>;
1883
+ }, {
1884
+ kind: 'schema';
1904
1885
  async: false;
1905
1886
  '~standard': v.StandardProps<{
1906
1887
  accountId: string;
@@ -1930,7 +1911,7 @@ declare const commandDefinitions: {
1930
1911
  };
1931
1912
  submittedAt: string;
1932
1913
  version: 1;
1933
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>>;
1914
+ }, 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>>;
1934
1915
  '~types'?: {
1935
1916
  readonly input: {
1936
1917
  accountId: string;
@@ -1951,32 +1932,30 @@ declare const commandDefinitions: {
1951
1932
  };
1952
1933
  submittedAt: string;
1953
1934
  version: 1;
1954
- };
1955
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>;
1956
- } | undefined;
1957
- }, {
1958
- accountScope: "REQUIRED";
1959
- commandKind: "thread.flagged.set";
1960
- payloadSchema: v.StrictObjectSchema<{
1961
- readonly flagged: v.BooleanSchema<undefined>;
1962
- 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>]>;
1963
- }, undefined>;
1964
- type: "strict_object";
1935
+ };
1936
+ 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>;
1937
+ } | undefined;
1938
+ type: 'strict_object';
1965
1939
  reference: typeof v.strictObject;
1966
- expects: "Object";
1940
+ expects: 'Object';
1967
1941
  entries: {
1968
1942
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
1969
1943
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
1970
- readonly kind: v.LiteralSchema<"thread.flagged.set", undefined>;
1944
+ readonly kind: v.LiteralSchema<"thread.delete", undefined>;
1971
1945
  readonly payload: v.StrictObjectSchema<{
1972
- readonly flagged: v.BooleanSchema<undefined>;
1973
1946
  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>]>;
1974
1947
  }, undefined>;
1975
1948
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1976
1949
  readonly version: v.LiteralSchema<1, undefined>;
1977
1950
  };
1978
1951
  message: undefined;
1979
- kind: "schema";
1952
+ accountScope: "REQUIRED";
1953
+ commandKind: "thread.delete";
1954
+ payloadSchema: v.StrictObjectSchema<{
1955
+ 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>]>;
1956
+ }, undefined>;
1957
+ }, {
1958
+ kind: 'schema';
1980
1959
  async: false;
1981
1960
  '~standard': v.StandardProps<{
1982
1961
  accountId: string;
@@ -2009,7 +1988,7 @@ declare const commandDefinitions: {
2009
1988
  };
2010
1989
  submittedAt: string;
2011
1990
  version: 1;
2012
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.BooleanIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>>;
1991
+ }, 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>>;
2013
1992
  '~types'?: {
2014
1993
  readonly input: {
2015
1994
  accountId: string;
@@ -2033,31 +2012,31 @@ declare const commandDefinitions: {
2033
2012
  submittedAt: string;
2034
2013
  version: 1;
2035
2014
  };
2036
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.BooleanIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>;
2015
+ 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>;
2037
2016
  } | undefined;
2038
- }, {
2039
- accountScope: "REQUIRED";
2040
- commandKind: "thread.label.add";
2041
- payloadSchema: v.StrictObjectSchema<{
2042
- readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
2043
- 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>]>;
2044
- }, undefined>;
2045
- type: "strict_object";
2017
+ type: 'strict_object';
2046
2018
  reference: typeof v.strictObject;
2047
- expects: "Object";
2019
+ expects: 'Object';
2048
2020
  entries: {
2049
2021
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
2050
2022
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
2051
- readonly kind: v.LiteralSchema<"thread.label.add", undefined>;
2023
+ readonly kind: v.LiteralSchema<"thread.flagged.set", undefined>;
2052
2024
  readonly payload: v.StrictObjectSchema<{
2053
- readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
2025
+ readonly flagged: v.BooleanSchema<undefined>;
2054
2026
  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>]>;
2055
2027
  }, undefined>;
2056
2028
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
2057
2029
  readonly version: v.LiteralSchema<1, undefined>;
2058
2030
  };
2059
2031
  message: undefined;
2060
- kind: "schema";
2032
+ accountScope: "REQUIRED";
2033
+ commandKind: "thread.flagged.set";
2034
+ payloadSchema: v.StrictObjectSchema<{
2035
+ readonly flagged: v.BooleanSchema<undefined>;
2036
+ 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>]>;
2037
+ }, undefined>;
2038
+ }, {
2039
+ kind: 'schema';
2061
2040
  async: false;
2062
2041
  '~standard': v.StandardProps<{
2063
2042
  accountId: string;
@@ -2090,7 +2069,7 @@ declare const commandDefinitions: {
2090
2069
  };
2091
2070
  submittedAt: string;
2092
2071
  version: 1;
2093
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>>;
2072
+ }, 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>>;
2094
2073
  '~types'?: {
2095
2074
  readonly input: {
2096
2075
  accountId: string;
@@ -2114,22 +2093,15 @@ declare const commandDefinitions: {
2114
2093
  submittedAt: string;
2115
2094
  version: 1;
2116
2095
  };
2117
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>;
2096
+ 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>;
2118
2097
  } | undefined;
2119
- }, {
2120
- accountScope: "REQUIRED";
2121
- commandKind: "thread.label.remove";
2122
- payloadSchema: v.StrictObjectSchema<{
2123
- readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
2124
- 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>]>;
2125
- }, undefined>;
2126
- type: "strict_object";
2098
+ type: 'strict_object';
2127
2099
  reference: typeof v.strictObject;
2128
- expects: "Object";
2100
+ expects: 'Object';
2129
2101
  entries: {
2130
2102
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
2131
2103
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
2132
- readonly kind: v.LiteralSchema<"thread.label.remove", undefined>;
2104
+ readonly kind: v.LiteralSchema<"thread.label.add", undefined>;
2133
2105
  readonly payload: v.StrictObjectSchema<{
2134
2106
  readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
2135
2107
  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>]>;
@@ -2138,7 +2110,14 @@ declare const commandDefinitions: {
2138
2110
  readonly version: v.LiteralSchema<1, undefined>;
2139
2111
  };
2140
2112
  message: undefined;
2141
- kind: "schema";
2113
+ accountScope: "REQUIRED";
2114
+ commandKind: "thread.label.add";
2115
+ payloadSchema: v.StrictObjectSchema<{
2116
+ readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
2117
+ 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>]>;
2118
+ }, undefined>;
2119
+ }, {
2120
+ kind: 'schema';
2142
2121
  async: false;
2143
2122
  '~standard': v.StandardProps<{
2144
2123
  accountId: string;
@@ -2171,7 +2150,7 @@ declare const commandDefinitions: {
2171
2150
  };
2172
2151
  submittedAt: string;
2173
2152
  version: 1;
2174
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>>;
2153
+ }, 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>>;
2175
2154
  '~types'?: {
2176
2155
  readonly input: {
2177
2156
  accountId: string;
@@ -2195,31 +2174,31 @@ declare const commandDefinitions: {
2195
2174
  submittedAt: string;
2196
2175
  version: 1;
2197
2176
  };
2198
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>;
2177
+ 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>;
2199
2178
  } | undefined;
2200
- }, {
2201
- accountScope: "REQUIRED";
2202
- commandKind: "thread.seen.set";
2203
- payloadSchema: v.StrictObjectSchema<{
2204
- readonly seen: v.BooleanSchema<undefined>;
2205
- 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>]>;
2206
- }, undefined>;
2207
- type: "strict_object";
2179
+ type: 'strict_object';
2208
2180
  reference: typeof v.strictObject;
2209
- expects: "Object";
2181
+ expects: 'Object';
2210
2182
  entries: {
2211
2183
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
2212
2184
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
2213
- readonly kind: v.LiteralSchema<"thread.seen.set", undefined>;
2185
+ readonly kind: v.LiteralSchema<"thread.label.remove", undefined>;
2214
2186
  readonly payload: v.StrictObjectSchema<{
2215
- readonly seen: v.BooleanSchema<undefined>;
2187
+ readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
2216
2188
  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>]>;
2217
2189
  }, undefined>;
2218
2190
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
2219
2191
  readonly version: v.LiteralSchema<1, undefined>;
2220
2192
  };
2221
2193
  message: undefined;
2222
- kind: "schema";
2194
+ accountScope: "REQUIRED";
2195
+ commandKind: "thread.label.remove";
2196
+ payloadSchema: v.StrictObjectSchema<{
2197
+ readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
2198
+ 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>]>;
2199
+ }, undefined>;
2200
+ }, {
2201
+ kind: 'schema';
2223
2202
  async: false;
2224
2203
  '~standard': v.StandardProps<{
2225
2204
  accountId: string;
@@ -2252,7 +2231,7 @@ declare const commandDefinitions: {
2252
2231
  };
2253
2232
  submittedAt: string;
2254
2233
  version: 1;
2255
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.BooleanIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>>;
2234
+ }, 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>>;
2256
2235
  '~types'?: {
2257
2236
  readonly input: {
2258
2237
  accountId: string;
@@ -2276,31 +2255,31 @@ declare const commandDefinitions: {
2276
2255
  submittedAt: string;
2277
2256
  version: 1;
2278
2257
  };
2279
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.BooleanIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>;
2258
+ 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>;
2280
2259
  } | undefined;
2281
- }, {
2282
- accountScope: "REQUIRED";
2283
- commandKind: "thread.snooze.set";
2284
- payloadSchema: v.StrictObjectSchema<{
2285
- readonly snoozedUntil: v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>;
2286
- 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>]>;
2287
- }, undefined>;
2288
- type: "strict_object";
2260
+ type: 'strict_object';
2289
2261
  reference: typeof v.strictObject;
2290
- expects: "Object";
2262
+ expects: 'Object';
2291
2263
  entries: {
2292
2264
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
2293
2265
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
2294
- readonly kind: v.LiteralSchema<"thread.snooze.set", undefined>;
2266
+ readonly kind: v.LiteralSchema<"thread.seen.set", undefined>;
2295
2267
  readonly payload: v.StrictObjectSchema<{
2296
- readonly snoozedUntil: v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>;
2268
+ readonly seen: v.BooleanSchema<undefined>;
2297
2269
  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>]>;
2298
2270
  }, undefined>;
2299
2271
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
2300
2272
  readonly version: v.LiteralSchema<1, undefined>;
2301
2273
  };
2302
2274
  message: undefined;
2303
- kind: "schema";
2275
+ accountScope: "REQUIRED";
2276
+ commandKind: "thread.seen.set";
2277
+ payloadSchema: v.StrictObjectSchema<{
2278
+ readonly seen: v.BooleanSchema<undefined>;
2279
+ 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>]>;
2280
+ }, undefined>;
2281
+ }, {
2282
+ kind: 'schema';
2304
2283
  async: false;
2305
2284
  '~standard': v.StandardProps<{
2306
2285
  accountId: string;
@@ -2333,7 +2312,7 @@ declare const commandDefinitions: {
2333
2312
  };
2334
2313
  submittedAt: string;
2335
2314
  version: 1;
2336
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.CheckIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>>;
2315
+ }, 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>>;
2337
2316
  '~types'?: {
2338
2317
  readonly input: {
2339
2318
  accountId: string;
@@ -2357,31 +2336,31 @@ declare const commandDefinitions: {
2357
2336
  submittedAt: string;
2358
2337
  version: 1;
2359
2338
  };
2360
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.CheckIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>;
2339
+ 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>;
2361
2340
  } | undefined;
2362
- }, {
2363
- accountScope: "REQUIRED";
2364
- commandKind: "thread.spam.set";
2365
- payloadSchema: v.StrictObjectSchema<{
2366
- readonly spam: v.BooleanSchema<undefined>;
2367
- 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>]>;
2368
- }, undefined>;
2369
- type: "strict_object";
2341
+ type: 'strict_object';
2370
2342
  reference: typeof v.strictObject;
2371
- expects: "Object";
2343
+ expects: 'Object';
2372
2344
  entries: {
2373
2345
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
2374
2346
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
2375
- readonly kind: v.LiteralSchema<"thread.spam.set", undefined>;
2347
+ readonly kind: v.LiteralSchema<"thread.snooze.set", undefined>;
2376
2348
  readonly payload: v.StrictObjectSchema<{
2377
- readonly spam: v.BooleanSchema<undefined>;
2349
+ readonly snoozedUntil: v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>;
2378
2350
  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>]>;
2379
2351
  }, undefined>;
2380
2352
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
2381
2353
  readonly version: v.LiteralSchema<1, undefined>;
2382
2354
  };
2383
2355
  message: undefined;
2384
- kind: "schema";
2356
+ accountScope: "REQUIRED";
2357
+ commandKind: "thread.snooze.set";
2358
+ payloadSchema: v.StrictObjectSchema<{
2359
+ readonly snoozedUntil: v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>;
2360
+ 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>]>;
2361
+ }, undefined>;
2362
+ }, {
2363
+ kind: 'schema';
2385
2364
  async: false;
2386
2365
  '~standard': v.StandardProps<{
2387
2366
  accountId: string;
@@ -2414,7 +2393,7 @@ declare const commandDefinitions: {
2414
2393
  };
2415
2394
  submittedAt: string;
2416
2395
  version: 1;
2417
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.BooleanIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>>;
2396
+ }, 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>>;
2418
2397
  '~types'?: {
2419
2398
  readonly input: {
2420
2399
  accountId: string;
@@ -2438,31 +2417,31 @@ declare const commandDefinitions: {
2438
2417
  submittedAt: string;
2439
2418
  version: 1;
2440
2419
  };
2441
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.BooleanIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>;
2420
+ 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>;
2442
2421
  } | undefined;
2443
- }, {
2444
- accountScope: "REQUIRED";
2445
- commandKind: "thread.trash.set";
2446
- payloadSchema: v.StrictObjectSchema<{
2447
- 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>]>;
2448
- readonly trashed: v.BooleanSchema<undefined>;
2449
- }, undefined>;
2450
- type: "strict_object";
2422
+ type: 'strict_object';
2451
2423
  reference: typeof v.strictObject;
2452
- expects: "Object";
2424
+ expects: 'Object';
2453
2425
  entries: {
2454
2426
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
2455
2427
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
2456
- readonly kind: v.LiteralSchema<"thread.trash.set", undefined>;
2428
+ readonly kind: v.LiteralSchema<"thread.spam.set", undefined>;
2457
2429
  readonly payload: v.StrictObjectSchema<{
2430
+ readonly spam: v.BooleanSchema<undefined>;
2458
2431
  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>]>;
2459
- readonly trashed: v.BooleanSchema<undefined>;
2460
2432
  }, undefined>;
2461
2433
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
2462
2434
  readonly version: v.LiteralSchema<1, undefined>;
2463
2435
  };
2464
2436
  message: undefined;
2465
- kind: "schema";
2437
+ accountScope: "REQUIRED";
2438
+ commandKind: "thread.spam.set";
2439
+ payloadSchema: v.StrictObjectSchema<{
2440
+ readonly spam: v.BooleanSchema<undefined>;
2441
+ 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>]>;
2442
+ }, undefined>;
2443
+ }, {
2444
+ kind: 'schema';
2466
2445
  async: false;
2467
2446
  '~standard': v.StandardProps<{
2468
2447
  accountId: string;
@@ -2495,7 +2474,7 @@ declare const commandDefinitions: {
2495
2474
  };
2496
2475
  submittedAt: string;
2497
2476
  version: 1;
2498
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.BooleanIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>>;
2477
+ }, 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>>;
2499
2478
  '~types'?: {
2500
2479
  readonly input: {
2501
2480
  accountId: string;
@@ -2519,8 +2498,29 @@ declare const commandDefinitions: {
2519
2498
  submittedAt: string;
2520
2499
  version: 1;
2521
2500
  };
2522
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.BooleanIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>;
2501
+ 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>;
2523
2502
  } | undefined;
2503
+ type: 'strict_object';
2504
+ reference: typeof v.strictObject;
2505
+ expects: 'Object';
2506
+ entries: {
2507
+ readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
2508
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
2509
+ readonly kind: v.LiteralSchema<"thread.trash.set", undefined>;
2510
+ readonly payload: v.StrictObjectSchema<{
2511
+ 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>]>;
2512
+ readonly trashed: v.BooleanSchema<undefined>;
2513
+ }, undefined>;
2514
+ readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
2515
+ readonly version: v.LiteralSchema<1, undefined>;
2516
+ };
2517
+ message: undefined;
2518
+ accountScope: "REQUIRED";
2519
+ commandKind: "thread.trash.set";
2520
+ payloadSchema: v.StrictObjectSchema<{
2521
+ 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
+ readonly trashed: v.BooleanSchema<undefined>;
2523
+ }, undefined>;
2524
2524
  }];
2525
2525
  };
2526
2526
  type AppwriteCommandDefinition = (typeof commandDefinitions)[AppwriteCommandGroupName][number];
@@ -2543,22 +2543,7 @@ export declare const appwriteCommands: {
2543
2543
  readonly idSchema: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
2544
2544
  readonly kinds: readonly ("account.delete" | "account.settings.set" | "alias.create" | "alias.delete" | "alias.name.set" | "alias.primary.set" | "alias.signature.set" | "draft.attachment.delete" | "draft.attachment.link" | "draft.content.set" | "draft.create" | "draft.delete" | "draft.envelope.set" | "draft.from.set" | "draft.send" | "draft.send.cancel" | "draft.send.schedule" | "label.create" | "label.delete" | "label.rename" | "profile.avatar.set" | "profile.settings.set" | "thread.archive.set" | "thread.delete" | "thread.flagged.set" | "thread.label.add" | "thread.label.remove" | "thread.seen.set" | "thread.snooze.set" | "thread.spam.set" | "thread.trash.set")[];
2545
2545
  readonly requestSchema: v.VariantSchema<"kind", ({
2546
- accountScope: "REQUIRED";
2547
- commandKind: "account.delete";
2548
- payloadSchema: v.StrictObjectSchema<{}, undefined>;
2549
- type: "strict_object";
2550
- reference: typeof v.strictObject;
2551
- expects: "Object";
2552
- entries: {
2553
- readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
2554
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
2555
- readonly kind: v.LiteralSchema<"account.delete", undefined>;
2556
- readonly payload: v.StrictObjectSchema<{}, undefined>;
2557
- readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
2558
- readonly version: v.LiteralSchema<1, undefined>;
2559
- };
2560
- message: undefined;
2561
- kind: "schema";
2546
+ kind: 'schema';
2562
2547
  async: false;
2563
2548
  '~standard': v.StandardProps<{
2564
2549
  accountId: string;
@@ -2582,7 +2567,7 @@ export declare const appwriteCommands: {
2582
2567
  payload: {};
2583
2568
  submittedAt: string;
2584
2569
  version: 1;
2585
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
2570
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
2586
2571
  '~types'?: {
2587
2572
  readonly input: {
2588
2573
  accountId: string;
@@ -2600,31 +2585,25 @@ export declare const appwriteCommands: {
2600
2585
  submittedAt: string;
2601
2586
  version: 1;
2602
2587
  };
2603
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
2588
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
2604
2589
  } | undefined;
2605
- } | {
2606
- accountScope: "REQUIRED";
2607
- commandKind: "account.settings.set";
2608
- payloadSchema: v.StrictObjectSchema<{
2609
- readonly colour: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2610
- 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>;
2611
- }, undefined>;
2612
- type: "strict_object";
2590
+ type: 'strict_object';
2613
2591
  reference: typeof v.strictObject;
2614
- expects: "Object";
2592
+ expects: 'Object';
2615
2593
  entries: {
2616
2594
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
2617
2595
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
2618
- readonly kind: v.LiteralSchema<"account.settings.set", undefined>;
2619
- readonly payload: v.StrictObjectSchema<{
2620
- readonly colour: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2621
- 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>;
2622
- }, undefined>;
2596
+ readonly kind: v.LiteralSchema<"account.delete", undefined>;
2597
+ readonly payload: v.StrictObjectSchema<{}, undefined>;
2623
2598
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
2624
2599
  readonly version: v.LiteralSchema<1, undefined>;
2625
2600
  };
2626
2601
  message: undefined;
2627
- kind: "schema";
2602
+ accountScope: "REQUIRED";
2603
+ commandKind: "account.delete";
2604
+ payloadSchema: v.StrictObjectSchema<{}, undefined>;
2605
+ } | {
2606
+ kind: 'schema';
2628
2607
  async: false;
2629
2608
  '~standard': v.StandardProps<{
2630
2609
  accountId: string;
@@ -2657,7 +2636,7 @@ export declare const appwriteCommands: {
2657
2636
  };
2658
2637
  submittedAt: string;
2659
2638
  version: 1;
2660
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
2639
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
2661
2640
  '~types'?: {
2662
2641
  readonly input: {
2663
2642
  accountId: string;
@@ -2681,35 +2660,31 @@ export declare const appwriteCommands: {
2681
2660
  submittedAt: string;
2682
2661
  version: 1;
2683
2662
  };
2684
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
2663
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
2685
2664
  } | undefined;
2686
- } | {
2687
- accountScope: "REQUIRED";
2688
- commandKind: "alias.create";
2689
- payloadSchema: v.StrictObjectSchema<{
2690
- readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
2691
- readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
2692
- readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2693
- readonly signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
2694
- }, undefined>;
2695
- type: "strict_object";
2665
+ type: 'strict_object';
2696
2666
  reference: typeof v.strictObject;
2697
- expects: "Object";
2667
+ expects: 'Object';
2698
2668
  entries: {
2699
2669
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
2700
2670
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
2701
- readonly kind: v.LiteralSchema<"alias.create", undefined>;
2671
+ readonly kind: v.LiteralSchema<"account.settings.set", undefined>;
2702
2672
  readonly payload: v.StrictObjectSchema<{
2703
- readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
2704
- readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
2705
- readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2706
- readonly signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
2673
+ readonly colour: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2674
+ 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>;
2707
2675
  }, undefined>;
2708
2676
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
2709
2677
  readonly version: v.LiteralSchema<1, undefined>;
2710
2678
  };
2711
2679
  message: undefined;
2712
- kind: "schema";
2680
+ accountScope: "REQUIRED";
2681
+ commandKind: "account.settings.set";
2682
+ payloadSchema: v.StrictObjectSchema<{
2683
+ readonly colour: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2684
+ 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>;
2685
+ }, undefined>;
2686
+ } | {
2687
+ kind: 'schema';
2713
2688
  async: false;
2714
2689
  '~standard': v.StandardProps<{
2715
2690
  accountId: string;
@@ -2748,7 +2723,7 @@ export declare const appwriteCommands: {
2748
2723
  };
2749
2724
  submittedAt: string;
2750
2725
  version: 1;
2751
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.RfcEmailIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MaxLengthIssue<string, 50000>>;
2726
+ }, 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>>;
2752
2727
  '~types'?: {
2753
2728
  readonly input: {
2754
2729
  accountId: string;
@@ -2776,29 +2751,35 @@ export declare const appwriteCommands: {
2776
2751
  submittedAt: string;
2777
2752
  version: 1;
2778
2753
  };
2779
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.RfcEmailIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MaxLengthIssue<string, 50000>;
2754
+ 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>;
2780
2755
  } | undefined;
2781
- } | {
2782
- accountScope: "REQUIRED";
2783
- commandKind: "alias.delete";
2784
- payloadSchema: v.StrictObjectSchema<{
2785
- readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
2786
- }, undefined>;
2787
- type: "strict_object";
2756
+ type: 'strict_object';
2788
2757
  reference: typeof v.strictObject;
2789
- expects: "Object";
2758
+ expects: 'Object';
2790
2759
  entries: {
2791
2760
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
2792
2761
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
2793
- readonly kind: v.LiteralSchema<"alias.delete", undefined>;
2762
+ readonly kind: v.LiteralSchema<"alias.create", undefined>;
2794
2763
  readonly payload: v.StrictObjectSchema<{
2795
2764
  readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
2765
+ readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
2766
+ readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2767
+ readonly signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
2796
2768
  }, undefined>;
2797
2769
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
2798
2770
  readonly version: v.LiteralSchema<1, undefined>;
2799
2771
  };
2800
2772
  message: undefined;
2801
- kind: "schema";
2773
+ accountScope: "REQUIRED";
2774
+ commandKind: "alias.create";
2775
+ payloadSchema: v.StrictObjectSchema<{
2776
+ readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
2777
+ readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
2778
+ readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2779
+ readonly signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
2780
+ }, undefined>;
2781
+ } | {
2782
+ kind: 'schema';
2802
2783
  async: false;
2803
2784
  '~standard': v.StandardProps<{
2804
2785
  accountId: string;
@@ -2828,7 +2809,7 @@ export declare const appwriteCommands: {
2828
2809
  };
2829
2810
  submittedAt: string;
2830
2811
  version: 1;
2831
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
2812
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
2832
2813
  '~types'?: {
2833
2814
  readonly input: {
2834
2815
  accountId: string;
@@ -2850,31 +2831,29 @@ export declare const appwriteCommands: {
2850
2831
  submittedAt: string;
2851
2832
  version: 1;
2852
2833
  };
2853
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
2834
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
2854
2835
  } | undefined;
2855
- } | {
2856
- accountScope: "REQUIRED";
2857
- commandKind: "alias.name.set";
2858
- payloadSchema: v.StrictObjectSchema<{
2859
- readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
2860
- readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2861
- }, undefined>;
2862
- type: "strict_object";
2836
+ type: 'strict_object';
2863
2837
  reference: typeof v.strictObject;
2864
- expects: "Object";
2838
+ expects: 'Object';
2865
2839
  entries: {
2866
2840
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
2867
2841
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
2868
- readonly kind: v.LiteralSchema<"alias.name.set", undefined>;
2842
+ readonly kind: v.LiteralSchema<"alias.delete", undefined>;
2869
2843
  readonly payload: v.StrictObjectSchema<{
2870
2844
  readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
2871
- readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2872
2845
  }, undefined>;
2873
2846
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
2874
2847
  readonly version: v.LiteralSchema<1, undefined>;
2875
2848
  };
2876
2849
  message: undefined;
2877
- kind: "schema";
2850
+ accountScope: "REQUIRED";
2851
+ commandKind: "alias.delete";
2852
+ payloadSchema: v.StrictObjectSchema<{
2853
+ readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
2854
+ }, undefined>;
2855
+ } | {
2856
+ kind: 'schema';
2878
2857
  async: false;
2879
2858
  '~standard': v.StandardProps<{
2880
2859
  accountId: string;
@@ -2907,7 +2886,7 @@ export declare const appwriteCommands: {
2907
2886
  };
2908
2887
  submittedAt: string;
2909
2888
  version: 1;
2910
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
2889
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
2911
2890
  '~types'?: {
2912
2891
  readonly input: {
2913
2892
  accountId: string;
@@ -2931,29 +2910,31 @@ export declare const appwriteCommands: {
2931
2910
  submittedAt: string;
2932
2911
  version: 1;
2933
2912
  };
2934
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
2913
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
2935
2914
  } | undefined;
2936
- } | {
2937
- accountScope: "REQUIRED";
2938
- commandKind: "alias.primary.set";
2939
- payloadSchema: v.StrictObjectSchema<{
2940
- readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
2941
- }, undefined>;
2942
- type: "strict_object";
2915
+ type: 'strict_object';
2943
2916
  reference: typeof v.strictObject;
2944
- expects: "Object";
2917
+ expects: 'Object';
2945
2918
  entries: {
2946
2919
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
2947
2920
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
2948
- readonly kind: v.LiteralSchema<"alias.primary.set", undefined>;
2921
+ readonly kind: v.LiteralSchema<"alias.name.set", undefined>;
2949
2922
  readonly payload: v.StrictObjectSchema<{
2950
2923
  readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
2924
+ readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2951
2925
  }, undefined>;
2952
2926
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
2953
2927
  readonly version: v.LiteralSchema<1, undefined>;
2954
2928
  };
2955
2929
  message: undefined;
2956
- kind: "schema";
2930
+ accountScope: "REQUIRED";
2931
+ commandKind: "alias.name.set";
2932
+ payloadSchema: v.StrictObjectSchema<{
2933
+ readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
2934
+ readonly name: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2935
+ }, undefined>;
2936
+ } | {
2937
+ kind: 'schema';
2957
2938
  async: false;
2958
2939
  '~standard': v.StandardProps<{
2959
2940
  accountId: string;
@@ -2983,7 +2964,7 @@ export declare const appwriteCommands: {
2983
2964
  };
2984
2965
  submittedAt: string;
2985
2966
  version: 1;
2986
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
2967
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
2987
2968
  '~types'?: {
2988
2969
  readonly input: {
2989
2970
  accountId: string;
@@ -3005,31 +2986,29 @@ export declare const appwriteCommands: {
3005
2986
  submittedAt: string;
3006
2987
  version: 1;
3007
2988
  };
3008
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
2989
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
3009
2990
  } | undefined;
3010
- } | {
3011
- accountScope: "REQUIRED";
3012
- commandKind: "alias.signature.set";
3013
- payloadSchema: v.StrictObjectSchema<{
3014
- readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
3015
- readonly signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
3016
- }, undefined>;
3017
- type: "strict_object";
2991
+ type: 'strict_object';
3018
2992
  reference: typeof v.strictObject;
3019
- expects: "Object";
2993
+ expects: 'Object';
3020
2994
  entries: {
3021
2995
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
3022
2996
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
3023
- readonly kind: v.LiteralSchema<"alias.signature.set", undefined>;
2997
+ readonly kind: v.LiteralSchema<"alias.primary.set", undefined>;
3024
2998
  readonly payload: v.StrictObjectSchema<{
3025
2999
  readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
3026
- readonly signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
3027
3000
  }, undefined>;
3028
3001
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
3029
3002
  readonly version: v.LiteralSchema<1, undefined>;
3030
3003
  };
3031
3004
  message: undefined;
3032
- kind: "schema";
3005
+ accountScope: "REQUIRED";
3006
+ commandKind: "alias.primary.set";
3007
+ payloadSchema: v.StrictObjectSchema<{
3008
+ readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
3009
+ }, undefined>;
3010
+ } | {
3011
+ kind: 'schema';
3033
3012
  async: false;
3034
3013
  '~standard': v.StandardProps<{
3035
3014
  accountId: string;
@@ -3062,7 +3041,7 @@ export declare const appwriteCommands: {
3062
3041
  };
3063
3042
  submittedAt: string;
3064
3043
  version: 1;
3065
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MaxLengthIssue<string, 50000>>;
3044
+ }, 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>>;
3066
3045
  '~types'?: {
3067
3046
  readonly input: {
3068
3047
  accountId: string;
@@ -3086,31 +3065,31 @@ export declare const appwriteCommands: {
3086
3065
  submittedAt: string;
3087
3066
  version: 1;
3088
3067
  };
3089
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MaxLengthIssue<string, 50000>;
3068
+ 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>;
3090
3069
  } | undefined;
3091
- } | {
3092
- accountScope: "REQUIRED";
3093
- commandKind: "draft.attachment.delete";
3094
- payloadSchema: v.StrictObjectSchema<{
3095
- readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3096
- readonly fileId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
3097
- }, undefined>;
3098
- type: "strict_object";
3070
+ type: 'strict_object';
3099
3071
  reference: typeof v.strictObject;
3100
- expects: "Object";
3072
+ expects: 'Object';
3101
3073
  entries: {
3102
3074
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
3103
3075
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
3104
- readonly kind: v.LiteralSchema<"draft.attachment.delete", undefined>;
3076
+ readonly kind: v.LiteralSchema<"alias.signature.set", undefined>;
3105
3077
  readonly payload: v.StrictObjectSchema<{
3106
- readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3107
- readonly fileId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
3078
+ readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
3079
+ readonly signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
3108
3080
  }, undefined>;
3109
3081
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
3110
3082
  readonly version: v.LiteralSchema<1, undefined>;
3111
3083
  };
3112
3084
  message: undefined;
3113
- kind: "schema";
3085
+ accountScope: "REQUIRED";
3086
+ commandKind: "alias.signature.set";
3087
+ payloadSchema: v.StrictObjectSchema<{
3088
+ readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
3089
+ readonly signature: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 50000, undefined>]>, undefined>;
3090
+ }, undefined>;
3091
+ } | {
3092
+ kind: 'schema';
3114
3093
  async: false;
3115
3094
  '~standard': v.StandardProps<{
3116
3095
  accountId: string;
@@ -3143,7 +3122,7 @@ export declare const appwriteCommands: {
3143
3122
  };
3144
3123
  submittedAt: string;
3145
3124
  version: 1;
3146
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.MinLengthIssue<string, 1> | v.MaxLengthIssue<string, 36> | v.RegexIssue<string> | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
3125
+ }, 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>>;
3147
3126
  '~types'?: {
3148
3127
  readonly input: {
3149
3128
  accountId: string;
@@ -3167,48 +3146,42 @@ export declare const appwriteCommands: {
3167
3146
  submittedAt: string;
3168
3147
  version: 1;
3169
3148
  };
3170
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.MinLengthIssue<string, 1> | v.MaxLengthIssue<string, 36> | v.RegexIssue<string> | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
3149
+ 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>;
3171
3150
  } | undefined;
3172
- } | {
3173
- accountScope: "REQUIRED";
3174
- commandKind: "draft.attachment.link";
3175
- payloadSchema: v.StrictObjectSchema<{
3176
- readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3177
- readonly fileId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
3178
- readonly fileName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
3179
- readonly mimeType: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
3180
- readonly size: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
3181
- }, undefined>;
3182
- type: "strict_object";
3151
+ type: 'strict_object';
3183
3152
  reference: typeof v.strictObject;
3184
- expects: "Object";
3153
+ expects: 'Object';
3185
3154
  entries: {
3186
3155
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
3187
3156
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
3188
- readonly kind: v.LiteralSchema<"draft.attachment.link", undefined>;
3157
+ readonly kind: v.LiteralSchema<"draft.attachment.delete", undefined>;
3189
3158
  readonly payload: v.StrictObjectSchema<{
3190
3159
  readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3191
3160
  readonly fileId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
3192
- readonly fileName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
3193
- readonly mimeType: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
3194
- readonly size: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
3195
3161
  }, undefined>;
3196
3162
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
3197
3163
  readonly version: v.LiteralSchema<1, undefined>;
3198
3164
  };
3199
3165
  message: undefined;
3200
- kind: "schema";
3166
+ accountScope: "REQUIRED";
3167
+ commandKind: "draft.attachment.delete";
3168
+ payloadSchema: v.StrictObjectSchema<{
3169
+ readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3170
+ readonly fileId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
3171
+ }, undefined>;
3172
+ } | {
3173
+ kind: 'schema';
3201
3174
  async: false;
3202
3175
  '~standard': v.StandardProps<{
3203
3176
  accountId: string;
3204
3177
  id: string;
3205
3178
  kind: "draft.attachment.link";
3206
3179
  payload: {
3207
- draftId: string;
3208
3180
  fileId: string;
3209
3181
  fileName: string;
3210
3182
  mimeType: string;
3211
3183
  size: number;
3184
+ draftId: string;
3212
3185
  };
3213
3186
  submittedAt: string;
3214
3187
  version: 1;
@@ -3217,11 +3190,11 @@ export declare const appwriteCommands: {
3217
3190
  id: string & v.Brand<"CommandId">;
3218
3191
  kind: "draft.attachment.link";
3219
3192
  payload: {
3220
- draftId: string & v.Brand<"DraftId">;
3221
3193
  fileId: string;
3222
3194
  fileName: string;
3223
3195
  mimeType: string;
3224
3196
  size: number;
3197
+ draftId: string & v.Brand<"DraftId">;
3225
3198
  };
3226
3199
  submittedAt: string;
3227
3200
  version: 1;
@@ -3231,26 +3204,26 @@ export declare const appwriteCommands: {
3231
3204
  id: string & v.Brand<"CommandId">;
3232
3205
  kind: "draft.attachment.link";
3233
3206
  payload: {
3234
- draftId: string & v.Brand<"DraftId">;
3235
3207
  fileId: string;
3236
3208
  fileName: string;
3237
3209
  mimeType: string;
3238
3210
  size: number;
3211
+ draftId: string & v.Brand<"DraftId">;
3239
3212
  };
3240
3213
  submittedAt: string;
3241
3214
  version: 1;
3242
- }, v.NumberIssue | v.IntegerIssue<number> | v.MinValueIssue<number, 0> | v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.MinLengthIssue<string, 1> | v.MaxLengthIssue<string, 36> | v.RegexIssue<string> | v.MaxLengthIssue<string, 255> | v.LiteralIssue | v.StrictObjectIssue | v.MinLengthIssue<string, 3> | v.UuidIssue<string>>;
3215
+ }, 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>>;
3243
3216
  '~types'?: {
3244
3217
  readonly input: {
3245
3218
  accountId: string;
3246
3219
  id: string;
3247
3220
  kind: "draft.attachment.link";
3248
3221
  payload: {
3249
- draftId: string;
3250
3222
  fileId: string;
3251
3223
  fileName: string;
3252
3224
  mimeType: string;
3253
3225
  size: number;
3226
+ draftId: string;
3254
3227
  };
3255
3228
  submittedAt: string;
3256
3229
  version: 1;
@@ -3260,40 +3233,46 @@ export declare const appwriteCommands: {
3260
3233
  id: string & v.Brand<"CommandId">;
3261
3234
  kind: "draft.attachment.link";
3262
3235
  payload: {
3263
- draftId: string & v.Brand<"DraftId">;
3264
3236
  fileId: string;
3265
3237
  fileName: string;
3266
3238
  mimeType: string;
3267
3239
  size: number;
3240
+ draftId: string & v.Brand<"DraftId">;
3268
3241
  };
3269
3242
  submittedAt: string;
3270
3243
  version: 1;
3271
3244
  };
3272
- readonly issue: v.NumberIssue | v.IntegerIssue<number> | v.MinValueIssue<number, 0> | v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.MinLengthIssue<string, 1> | v.MaxLengthIssue<string, 36> | v.RegexIssue<string> | v.MaxLengthIssue<string, 255> | v.LiteralIssue | v.StrictObjectIssue | v.MinLengthIssue<string, 3> | v.UuidIssue<string>;
3245
+ 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>;
3273
3246
  } | undefined;
3274
- } | {
3275
- accountScope: "REQUIRED";
3276
- commandKind: "draft.content.set";
3277
- payloadSchema: v.StrictObjectSchema<{
3278
- readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3279
- readonly html: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 384000, undefined>]>;
3280
- }, undefined>;
3281
- type: "strict_object";
3247
+ type: 'strict_object';
3282
3248
  reference: typeof v.strictObject;
3283
- expects: "Object";
3249
+ expects: 'Object';
3284
3250
  entries: {
3285
3251
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
3286
3252
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
3287
- readonly kind: v.LiteralSchema<"draft.content.set", undefined>;
3253
+ readonly kind: v.LiteralSchema<"draft.attachment.link", undefined>;
3288
3254
  readonly payload: v.StrictObjectSchema<{
3255
+ readonly fileId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
3256
+ readonly fileName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
3257
+ readonly mimeType: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
3258
+ readonly size: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
3289
3259
  readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3290
- readonly html: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 384000, undefined>]>;
3291
3260
  }, undefined>;
3292
3261
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
3293
3262
  readonly version: v.LiteralSchema<1, undefined>;
3294
3263
  };
3295
3264
  message: undefined;
3296
- kind: "schema";
3265
+ accountScope: "REQUIRED";
3266
+ commandKind: "draft.attachment.link";
3267
+ payloadSchema: v.StrictObjectSchema<{
3268
+ readonly fileId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
3269
+ readonly fileName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
3270
+ readonly mimeType: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
3271
+ readonly size: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
3272
+ readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3273
+ }, undefined>;
3274
+ } | {
3275
+ kind: 'schema';
3297
3276
  async: false;
3298
3277
  '~standard': v.StandardProps<{
3299
3278
  accountId: string;
@@ -3326,7 +3305,7 @@ export declare const appwriteCommands: {
3326
3305
  };
3327
3306
  submittedAt: string;
3328
3307
  version: 1;
3329
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MaxLengthIssue<string, 384000>>;
3308
+ }, 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>>;
3330
3309
  '~types'?: {
3331
3310
  readonly input: {
3332
3311
  accountId: string;
@@ -3350,35 +3329,31 @@ export declare const appwriteCommands: {
3350
3329
  submittedAt: string;
3351
3330
  version: 1;
3352
3331
  };
3353
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MaxLengthIssue<string, 384000>;
3332
+ 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>;
3354
3333
  } | undefined;
3355
- } | {
3356
- accountScope: "REQUIRED";
3357
- commandKind: "draft.create";
3358
- payloadSchema: v.StrictObjectSchema<{
3359
- readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3360
- 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>;
3361
- 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>;
3362
- readonly type: v.PicklistSchema<readonly ["NEW", "REPLY", "FORWARD"], undefined>;
3363
- }, undefined>;
3364
- type: "strict_object";
3334
+ type: 'strict_object';
3365
3335
  reference: typeof v.strictObject;
3366
- expects: "Object";
3336
+ expects: 'Object';
3367
3337
  entries: {
3368
3338
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
3369
3339
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
3370
- readonly kind: v.LiteralSchema<"draft.create", undefined>;
3340
+ readonly kind: v.LiteralSchema<"draft.content.set", undefined>;
3371
3341
  readonly payload: v.StrictObjectSchema<{
3372
3342
  readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3373
- 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>;
3374
- 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>;
3375
- readonly type: v.PicklistSchema<readonly ["NEW", "REPLY", "FORWARD"], undefined>;
3343
+ readonly html: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 384000, undefined>]>;
3376
3344
  }, undefined>;
3377
3345
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
3378
3346
  readonly version: v.LiteralSchema<1, undefined>;
3379
3347
  };
3380
3348
  message: undefined;
3381
- kind: "schema";
3349
+ accountScope: "REQUIRED";
3350
+ commandKind: "draft.content.set";
3351
+ payloadSchema: v.StrictObjectSchema<{
3352
+ readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3353
+ readonly html: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 384000, undefined>]>;
3354
+ }, undefined>;
3355
+ } | {
3356
+ kind: 'schema';
3382
3357
  async: false;
3383
3358
  '~standard': v.StandardProps<{
3384
3359
  accountId: string;
@@ -3388,7 +3363,7 @@ export declare const appwriteCommands: {
3388
3363
  draftId: string;
3389
3364
  fromAliasId: string | null;
3390
3365
  referencedMessageId: string | null;
3391
- type: "NEW" | "REPLY" | "FORWARD";
3366
+ type: "FORWARD" | "NEW" | "REPLY";
3392
3367
  };
3393
3368
  submittedAt: string;
3394
3369
  version: 1;
@@ -3400,7 +3375,7 @@ export declare const appwriteCommands: {
3400
3375
  draftId: string & v.Brand<"DraftId">;
3401
3376
  fromAliasId: (string & v.Brand<"AliasId">) | null;
3402
3377
  referencedMessageId: (string & v.Brand<"MessageId">) | null;
3403
- type: "NEW" | "REPLY" | "FORWARD";
3378
+ type: "FORWARD" | "NEW" | "REPLY";
3404
3379
  };
3405
3380
  submittedAt: string;
3406
3381
  version: 1;
@@ -3413,11 +3388,11 @@ export declare const appwriteCommands: {
3413
3388
  draftId: string & v.Brand<"DraftId">;
3414
3389
  fromAliasId: (string & v.Brand<"AliasId">) | null;
3415
3390
  referencedMessageId: (string & v.Brand<"MessageId">) | null;
3416
- type: "NEW" | "REPLY" | "FORWARD";
3391
+ type: "FORWARD" | "NEW" | "REPLY";
3417
3392
  };
3418
3393
  submittedAt: string;
3419
3394
  version: 1;
3420
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.PicklistIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
3395
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.PicklistIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
3421
3396
  '~types'?: {
3422
3397
  readonly input: {
3423
3398
  accountId: string;
@@ -3427,7 +3402,7 @@ export declare const appwriteCommands: {
3427
3402
  draftId: string;
3428
3403
  fromAliasId: string | null;
3429
3404
  referencedMessageId: string | null;
3430
- type: "NEW" | "REPLY" | "FORWARD";
3405
+ type: "FORWARD" | "NEW" | "REPLY";
3431
3406
  };
3432
3407
  submittedAt: string;
3433
3408
  version: 1;
@@ -3440,34 +3415,40 @@ export declare const appwriteCommands: {
3440
3415
  draftId: string & v.Brand<"DraftId">;
3441
3416
  fromAliasId: (string & v.Brand<"AliasId">) | null;
3442
3417
  referencedMessageId: (string & v.Brand<"MessageId">) | null;
3443
- type: "NEW" | "REPLY" | "FORWARD";
3418
+ type: "FORWARD" | "NEW" | "REPLY";
3444
3419
  };
3445
3420
  submittedAt: string;
3446
3421
  version: 1;
3447
3422
  };
3448
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.PicklistIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
3423
+ 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>;
3449
3424
  } | undefined;
3450
- } | {
3451
- accountScope: "REQUIRED";
3452
- commandKind: "draft.delete";
3453
- payloadSchema: v.StrictObjectSchema<{
3454
- readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3455
- }, undefined>;
3456
- type: "strict_object";
3425
+ type: 'strict_object';
3457
3426
  reference: typeof v.strictObject;
3458
- expects: "Object";
3427
+ expects: 'Object';
3459
3428
  entries: {
3460
3429
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
3461
3430
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
3462
- readonly kind: v.LiteralSchema<"draft.delete", undefined>;
3431
+ readonly kind: v.LiteralSchema<"draft.create", undefined>;
3463
3432
  readonly payload: v.StrictObjectSchema<{
3464
3433
  readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3434
+ 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>;
3435
+ 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>;
3436
+ readonly type: v.PicklistSchema<readonly ["NEW", "REPLY", "FORWARD"], undefined>;
3465
3437
  }, undefined>;
3466
3438
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
3467
3439
  readonly version: v.LiteralSchema<1, undefined>;
3468
3440
  };
3469
3441
  message: undefined;
3470
- kind: "schema";
3442
+ accountScope: "REQUIRED";
3443
+ commandKind: "draft.create";
3444
+ payloadSchema: v.StrictObjectSchema<{
3445
+ readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3446
+ 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>;
3447
+ 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>;
3448
+ readonly type: v.PicklistSchema<readonly ["NEW", "REPLY", "FORWARD"], undefined>;
3449
+ }, undefined>;
3450
+ } | {
3451
+ kind: 'schema';
3471
3452
  async: false;
3472
3453
  '~standard': v.StandardProps<{
3473
3454
  accountId: string;
@@ -3497,7 +3478,7 @@ export declare const appwriteCommands: {
3497
3478
  };
3498
3479
  submittedAt: string;
3499
3480
  version: 1;
3500
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
3481
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
3501
3482
  '~types'?: {
3502
3483
  readonly input: {
3503
3484
  accountId: string;
@@ -3519,48 +3500,40 @@ export declare const appwriteCommands: {
3519
3500
  submittedAt: string;
3520
3501
  version: 1;
3521
3502
  };
3522
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
3503
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
3523
3504
  } | undefined;
3524
- } | {
3525
- accountScope: "REQUIRED";
3526
- commandKind: "draft.envelope.set";
3527
- payloadSchema: v.StrictObjectSchema<{
3528
- readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3529
- readonly bcc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
3530
- readonly cc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
3531
- readonly subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 998, undefined>]>, undefined>;
3532
- readonly to: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
3533
- }, undefined>;
3534
- type: "strict_object";
3505
+ type: 'strict_object';
3535
3506
  reference: typeof v.strictObject;
3536
- expects: "Object";
3507
+ expects: 'Object';
3537
3508
  entries: {
3538
3509
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
3539
3510
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
3540
- readonly kind: v.LiteralSchema<"draft.envelope.set", undefined>;
3511
+ readonly kind: v.LiteralSchema<"draft.delete", undefined>;
3541
3512
  readonly payload: v.StrictObjectSchema<{
3542
3513
  readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3543
- readonly bcc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
3544
- readonly cc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
3545
- readonly subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 998, undefined>]>, undefined>;
3546
- readonly to: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
3547
3514
  }, undefined>;
3548
3515
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
3549
3516
  readonly version: v.LiteralSchema<1, undefined>;
3550
3517
  };
3551
3518
  message: undefined;
3552
- kind: "schema";
3519
+ accountScope: "REQUIRED";
3520
+ commandKind: "draft.delete";
3521
+ payloadSchema: v.StrictObjectSchema<{
3522
+ readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3523
+ }, undefined>;
3524
+ } | {
3525
+ kind: 'schema';
3553
3526
  async: false;
3554
3527
  '~standard': v.StandardProps<{
3555
3528
  accountId: string;
3556
3529
  id: string;
3557
3530
  kind: "draft.envelope.set";
3558
3531
  payload: {
3559
- draftId: string;
3560
3532
  bcc: string[];
3561
3533
  cc: string[];
3562
3534
  subject: string | null;
3563
3535
  to: string[];
3536
+ draftId: string;
3564
3537
  };
3565
3538
  submittedAt: string;
3566
3539
  version: 1;
@@ -3569,11 +3542,11 @@ export declare const appwriteCommands: {
3569
3542
  id: string & v.Brand<"CommandId">;
3570
3543
  kind: "draft.envelope.set";
3571
3544
  payload: {
3572
- draftId: string & v.Brand<"DraftId">;
3573
3545
  bcc: string[];
3574
3546
  cc: string[];
3575
3547
  subject: string | null;
3576
3548
  to: string[];
3549
+ draftId: string & v.Brand<"DraftId">;
3577
3550
  };
3578
3551
  submittedAt: string;
3579
3552
  version: 1;
@@ -3583,26 +3556,26 @@ export declare const appwriteCommands: {
3583
3556
  id: string & v.Brand<"CommandId">;
3584
3557
  kind: "draft.envelope.set";
3585
3558
  payload: {
3586
- draftId: string & v.Brand<"DraftId">;
3587
3559
  bcc: string[];
3588
3560
  cc: string[];
3589
3561
  subject: string | null;
3590
3562
  to: string[];
3563
+ draftId: string & v.Brand<"DraftId">;
3591
3564
  };
3592
3565
  submittedAt: string;
3593
3566
  version: 1;
3594
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.RfcEmailIssue<string> | v.MaxLengthIssue<string, 320> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.MaxLengthIssue<string, 998> | v.UuidIssue<string>>;
3567
+ }, 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>>;
3595
3568
  '~types'?: {
3596
3569
  readonly input: {
3597
3570
  accountId: string;
3598
3571
  id: string;
3599
3572
  kind: "draft.envelope.set";
3600
3573
  payload: {
3601
- draftId: string;
3602
3574
  bcc: string[];
3603
3575
  cc: string[];
3604
3576
  subject: string | null;
3605
3577
  to: string[];
3578
+ draftId: string;
3606
3579
  };
3607
3580
  submittedAt: string;
3608
3581
  version: 1;
@@ -3612,42 +3585,46 @@ export declare const appwriteCommands: {
3612
3585
  id: string & v.Brand<"CommandId">;
3613
3586
  kind: "draft.envelope.set";
3614
3587
  payload: {
3615
- draftId: string & v.Brand<"DraftId">;
3616
3588
  bcc: string[];
3617
3589
  cc: string[];
3618
3590
  subject: string | null;
3619
3591
  to: string[];
3592
+ draftId: string & v.Brand<"DraftId">;
3620
3593
  };
3621
3594
  submittedAt: string;
3622
3595
  version: 1;
3623
3596
  };
3624
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.RfcEmailIssue<string> | v.MaxLengthIssue<string, 320> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.MaxLengthIssue<string, 998> | v.UuidIssue<string>;
3597
+ 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>;
3625
3598
  } | undefined;
3626
- } | {
3627
- accountScope: "REQUIRED";
3628
- commandKind: "draft.from.set";
3629
- payloadSchema: v.StrictObjectSchema<{
3630
- readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3631
- readonly fromAliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
3632
- readonly targetAccountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
3633
- }, undefined>;
3634
- type: "strict_object";
3599
+ type: 'strict_object';
3635
3600
  reference: typeof v.strictObject;
3636
- expects: "Object";
3601
+ expects: 'Object';
3637
3602
  entries: {
3638
3603
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
3639
3604
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
3640
- readonly kind: v.LiteralSchema<"draft.from.set", undefined>;
3605
+ readonly kind: v.LiteralSchema<"draft.envelope.set", undefined>;
3641
3606
  readonly payload: v.StrictObjectSchema<{
3607
+ readonly bcc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
3608
+ readonly cc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
3609
+ readonly subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 998, undefined>]>, undefined>;
3610
+ readonly to: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
3642
3611
  readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3643
- readonly fromAliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
3644
- readonly targetAccountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
3645
3612
  }, undefined>;
3646
3613
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
3647
3614
  readonly version: v.LiteralSchema<1, undefined>;
3648
3615
  };
3649
3616
  message: undefined;
3650
- kind: "schema";
3617
+ accountScope: "REQUIRED";
3618
+ commandKind: "draft.envelope.set";
3619
+ payloadSchema: v.StrictObjectSchema<{
3620
+ readonly bcc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
3621
+ readonly cc: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
3622
+ readonly subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 998, undefined>]>, undefined>;
3623
+ readonly to: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
3624
+ readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3625
+ }, undefined>;
3626
+ } | {
3627
+ kind: 'schema';
3651
3628
  async: false;
3652
3629
  '~standard': v.StandardProps<{
3653
3630
  accountId: string;
@@ -3683,7 +3660,7 @@ export declare const appwriteCommands: {
3683
3660
  };
3684
3661
  submittedAt: string;
3685
3662
  version: 1;
3686
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
3663
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
3687
3664
  '~types'?: {
3688
3665
  readonly input: {
3689
3666
  accountId: string;
@@ -3709,29 +3686,33 @@ export declare const appwriteCommands: {
3709
3686
  submittedAt: string;
3710
3687
  version: 1;
3711
3688
  };
3712
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
3689
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
3713
3690
  } | undefined;
3714
- } | {
3715
- accountScope: "REQUIRED";
3716
- commandKind: "draft.send";
3717
- payloadSchema: v.StrictObjectSchema<{
3718
- readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3719
- }, undefined>;
3720
- type: "strict_object";
3691
+ type: 'strict_object';
3721
3692
  reference: typeof v.strictObject;
3722
- expects: "Object";
3693
+ expects: 'Object';
3723
3694
  entries: {
3724
3695
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
3725
3696
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
3726
- readonly kind: v.LiteralSchema<"draft.send", undefined>;
3697
+ readonly kind: v.LiteralSchema<"draft.from.set", undefined>;
3727
3698
  readonly payload: v.StrictObjectSchema<{
3728
3699
  readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3700
+ readonly fromAliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
3701
+ readonly targetAccountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
3729
3702
  }, undefined>;
3730
3703
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
3731
3704
  readonly version: v.LiteralSchema<1, undefined>;
3732
3705
  };
3733
3706
  message: undefined;
3734
- kind: "schema";
3707
+ accountScope: "REQUIRED";
3708
+ commandKind: "draft.from.set";
3709
+ payloadSchema: v.StrictObjectSchema<{
3710
+ readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3711
+ readonly fromAliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
3712
+ readonly targetAccountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
3713
+ }, undefined>;
3714
+ } | {
3715
+ kind: 'schema';
3735
3716
  async: false;
3736
3717
  '~standard': v.StandardProps<{
3737
3718
  accountId: string;
@@ -3761,7 +3742,7 @@ export declare const appwriteCommands: {
3761
3742
  };
3762
3743
  submittedAt: string;
3763
3744
  version: 1;
3764
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
3745
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
3765
3746
  '~types'?: {
3766
3747
  readonly input: {
3767
3748
  accountId: string;
@@ -3783,21 +3764,15 @@ export declare const appwriteCommands: {
3783
3764
  submittedAt: string;
3784
3765
  version: 1;
3785
3766
  };
3786
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
3767
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
3787
3768
  } | undefined;
3788
- } | {
3789
- accountScope: "REQUIRED";
3790
- commandKind: "draft.send.cancel";
3791
- payloadSchema: v.StrictObjectSchema<{
3792
- readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3793
- }, undefined>;
3794
- type: "strict_object";
3769
+ type: 'strict_object';
3795
3770
  reference: typeof v.strictObject;
3796
- expects: "Object";
3771
+ expects: 'Object';
3797
3772
  entries: {
3798
3773
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
3799
3774
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
3800
- readonly kind: v.LiteralSchema<"draft.send.cancel", undefined>;
3775
+ readonly kind: v.LiteralSchema<"draft.send", undefined>;
3801
3776
  readonly payload: v.StrictObjectSchema<{
3802
3777
  readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3803
3778
  }, undefined>;
@@ -3805,7 +3780,13 @@ export declare const appwriteCommands: {
3805
3780
  readonly version: v.LiteralSchema<1, undefined>;
3806
3781
  };
3807
3782
  message: undefined;
3808
- kind: "schema";
3783
+ accountScope: "REQUIRED";
3784
+ commandKind: "draft.send";
3785
+ payloadSchema: v.StrictObjectSchema<{
3786
+ readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3787
+ }, undefined>;
3788
+ } | {
3789
+ kind: 'schema';
3809
3790
  async: false;
3810
3791
  '~standard': v.StandardProps<{
3811
3792
  accountId: string;
@@ -3835,7 +3816,7 @@ export declare const appwriteCommands: {
3835
3816
  };
3836
3817
  submittedAt: string;
3837
3818
  version: 1;
3838
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
3819
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
3839
3820
  '~types'?: {
3840
3821
  readonly input: {
3841
3822
  accountId: string;
@@ -3857,31 +3838,29 @@ export declare const appwriteCommands: {
3857
3838
  submittedAt: string;
3858
3839
  version: 1;
3859
3840
  };
3860
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
3841
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
3861
3842
  } | undefined;
3862
- } | {
3863
- accountScope: "REQUIRED";
3864
- commandKind: "draft.send.schedule";
3865
- payloadSchema: v.StrictObjectSchema<{
3866
- readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3867
- readonly scheduledAt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>;
3868
- }, undefined>;
3869
- type: "strict_object";
3843
+ type: 'strict_object';
3870
3844
  reference: typeof v.strictObject;
3871
- expects: "Object";
3845
+ expects: 'Object';
3872
3846
  entries: {
3873
3847
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
3874
3848
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
3875
- readonly kind: v.LiteralSchema<"draft.send.schedule", undefined>;
3849
+ readonly kind: v.LiteralSchema<"draft.send.cancel", undefined>;
3876
3850
  readonly payload: v.StrictObjectSchema<{
3877
3851
  readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3878
- readonly scheduledAt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>;
3879
3852
  }, undefined>;
3880
3853
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
3881
3854
  readonly version: v.LiteralSchema<1, undefined>;
3882
3855
  };
3883
3856
  message: undefined;
3884
- kind: "schema";
3857
+ accountScope: "REQUIRED";
3858
+ commandKind: "draft.send.cancel";
3859
+ payloadSchema: v.StrictObjectSchema<{
3860
+ readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3861
+ }, undefined>;
3862
+ } | {
3863
+ kind: 'schema';
3885
3864
  async: false;
3886
3865
  '~standard': v.StandardProps<{
3887
3866
  accountId: string;
@@ -3914,7 +3893,7 @@ export declare const appwriteCommands: {
3914
3893
  };
3915
3894
  submittedAt: string;
3916
3895
  version: 1;
3917
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.CheckIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
3896
+ }, v.CheckIssue<string> | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
3918
3897
  '~types'?: {
3919
3898
  readonly input: {
3920
3899
  accountId: string;
@@ -3938,31 +3917,31 @@ export declare const appwriteCommands: {
3938
3917
  submittedAt: string;
3939
3918
  version: 1;
3940
3919
  };
3941
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.CheckIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
3920
+ 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>;
3942
3921
  } | undefined;
3943
- } | {
3944
- accountScope: "REQUIRED";
3945
- commandKind: "label.create";
3946
- payloadSchema: v.StrictObjectSchema<{
3947
- readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
3948
- readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
3949
- }, undefined>;
3950
- type: "strict_object";
3922
+ type: 'strict_object';
3951
3923
  reference: typeof v.strictObject;
3952
- expects: "Object";
3924
+ expects: 'Object';
3953
3925
  entries: {
3954
3926
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
3955
3927
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
3956
- readonly kind: v.LiteralSchema<"label.create", undefined>;
3928
+ readonly kind: v.LiteralSchema<"draft.send.schedule", undefined>;
3957
3929
  readonly payload: v.StrictObjectSchema<{
3958
- readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
3959
- readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
3930
+ readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3931
+ readonly scheduledAt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>;
3960
3932
  }, undefined>;
3961
3933
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
3962
3934
  readonly version: v.LiteralSchema<1, undefined>;
3963
3935
  };
3964
3936
  message: undefined;
3965
- kind: "schema";
3937
+ accountScope: "REQUIRED";
3938
+ commandKind: "draft.send.schedule";
3939
+ payloadSchema: v.StrictObjectSchema<{
3940
+ readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
3941
+ readonly scheduledAt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>;
3942
+ }, undefined>;
3943
+ } | {
3944
+ kind: 'schema';
3966
3945
  async: false;
3967
3946
  '~standard': v.StandardProps<{
3968
3947
  accountId: string;
@@ -3995,7 +3974,7 @@ export declare const appwriteCommands: {
3995
3974
  };
3996
3975
  submittedAt: string;
3997
3976
  version: 1;
3998
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
3977
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
3999
3978
  '~types'?: {
4000
3979
  readonly input: {
4001
3980
  accountId: string;
@@ -4017,31 +3996,33 @@ export declare const appwriteCommands: {
4017
3996
  path: string;
4018
3997
  };
4019
3998
  submittedAt: string;
4020
- version: 1;
4021
- };
4022
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
4023
- } | undefined;
4024
- } | {
4025
- accountScope: "REQUIRED";
4026
- commandKind: "label.delete";
4027
- payloadSchema: v.StrictObjectSchema<{
4028
- readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
4029
- }, undefined>;
4030
- type: "strict_object";
3999
+ version: 1;
4000
+ };
4001
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
4002
+ } | undefined;
4003
+ type: 'strict_object';
4031
4004
  reference: typeof v.strictObject;
4032
- expects: "Object";
4005
+ expects: 'Object';
4033
4006
  entries: {
4034
4007
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
4035
4008
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
4036
- readonly kind: v.LiteralSchema<"label.delete", undefined>;
4009
+ readonly kind: v.LiteralSchema<"label.create", undefined>;
4037
4010
  readonly payload: v.StrictObjectSchema<{
4038
4011
  readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
4012
+ readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
4039
4013
  }, undefined>;
4040
4014
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
4041
4015
  readonly version: v.LiteralSchema<1, undefined>;
4042
4016
  };
4043
4017
  message: undefined;
4044
- kind: "schema";
4018
+ accountScope: "REQUIRED";
4019
+ commandKind: "label.create";
4020
+ payloadSchema: v.StrictObjectSchema<{
4021
+ readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
4022
+ readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
4023
+ }, undefined>;
4024
+ } | {
4025
+ kind: 'schema';
4045
4026
  async: false;
4046
4027
  '~standard': v.StandardProps<{
4047
4028
  accountId: string;
@@ -4071,7 +4052,7 @@ export declare const appwriteCommands: {
4071
4052
  };
4072
4053
  submittedAt: string;
4073
4054
  version: 1;
4074
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
4055
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
4075
4056
  '~types'?: {
4076
4057
  readonly input: {
4077
4058
  accountId: string;
@@ -4093,31 +4074,29 @@ export declare const appwriteCommands: {
4093
4074
  submittedAt: string;
4094
4075
  version: 1;
4095
4076
  };
4096
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
4077
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
4097
4078
  } | undefined;
4098
- } | {
4099
- accountScope: "REQUIRED";
4100
- commandKind: "label.rename";
4101
- payloadSchema: v.StrictObjectSchema<{
4102
- readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
4103
- readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
4104
- }, undefined>;
4105
- type: "strict_object";
4079
+ type: 'strict_object';
4106
4080
  reference: typeof v.strictObject;
4107
- expects: "Object";
4081
+ expects: 'Object';
4108
4082
  entries: {
4109
4083
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
4110
4084
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
4111
- readonly kind: v.LiteralSchema<"label.rename", undefined>;
4085
+ readonly kind: v.LiteralSchema<"label.delete", undefined>;
4112
4086
  readonly payload: v.StrictObjectSchema<{
4113
4087
  readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
4114
- readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
4115
4088
  }, undefined>;
4116
4089
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
4117
4090
  readonly version: v.LiteralSchema<1, undefined>;
4118
4091
  };
4119
4092
  message: undefined;
4120
- kind: "schema";
4093
+ accountScope: "REQUIRED";
4094
+ commandKind: "label.delete";
4095
+ payloadSchema: v.StrictObjectSchema<{
4096
+ readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
4097
+ }, undefined>;
4098
+ } | {
4099
+ kind: 'schema';
4121
4100
  async: false;
4122
4101
  '~standard': v.StandardProps<{
4123
4102
  accountId: string;
@@ -4150,7 +4129,7 @@ export declare const appwriteCommands: {
4150
4129
  };
4151
4130
  submittedAt: string;
4152
4131
  version: 1;
4153
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
4132
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
4154
4133
  '~types'?: {
4155
4134
  readonly input: {
4156
4135
  accountId: string;
@@ -4174,29 +4153,31 @@ export declare const appwriteCommands: {
4174
4153
  submittedAt: string;
4175
4154
  version: 1;
4176
4155
  };
4177
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
4156
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
4178
4157
  } | undefined;
4179
- } | {
4180
- accountScope: "NULLABLE";
4181
- commandKind: "profile.avatar.set";
4182
- payloadSchema: v.StrictObjectSchema<{
4183
- readonly sha256: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
4184
- }, undefined>;
4185
- type: "strict_object";
4158
+ type: 'strict_object';
4186
4159
  reference: typeof v.strictObject;
4187
- expects: "Object";
4160
+ expects: 'Object';
4188
4161
  entries: {
4189
- 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>;
4162
+ readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
4190
4163
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
4191
- readonly kind: v.LiteralSchema<"profile.avatar.set", undefined>;
4164
+ readonly kind: v.LiteralSchema<"label.rename", undefined>;
4192
4165
  readonly payload: v.StrictObjectSchema<{
4193
- readonly sha256: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
4166
+ readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
4167
+ readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
4194
4168
  }, undefined>;
4195
4169
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
4196
4170
  readonly version: v.LiteralSchema<1, undefined>;
4197
4171
  };
4198
4172
  message: undefined;
4199
- kind: "schema";
4173
+ accountScope: "REQUIRED";
4174
+ commandKind: "label.rename";
4175
+ payloadSchema: v.StrictObjectSchema<{
4176
+ readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
4177
+ readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
4178
+ }, undefined>;
4179
+ } | {
4180
+ kind: 'schema';
4200
4181
  async: false;
4201
4182
  '~standard': v.StandardProps<{
4202
4183
  accountId: string | null;
@@ -4226,7 +4207,7 @@ export declare const appwriteCommands: {
4226
4207
  };
4227
4208
  submittedAt: string;
4228
4209
  version: 1;
4229
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.RegexIssue<string> | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
4210
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
4230
4211
  '~types'?: {
4231
4212
  readonly input: {
4232
4213
  accountId: string | null;
@@ -4248,31 +4229,29 @@ export declare const appwriteCommands: {
4248
4229
  submittedAt: string;
4249
4230
  version: 1;
4250
4231
  };
4251
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.RegexIssue<string> | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
4232
+ 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>;
4252
4233
  } | undefined;
4253
- } | {
4254
- accountScope: "NULLABLE";
4255
- commandKind: "profile.settings.set";
4256
- payloadSchema: v.StrictObjectSchema<{
4257
- 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>;
4258
- 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>;
4259
- }, undefined>;
4260
- type: "strict_object";
4234
+ type: 'strict_object';
4261
4235
  reference: typeof v.strictObject;
4262
- expects: "Object";
4236
+ expects: 'Object';
4263
4237
  entries: {
4264
4238
  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>;
4265
4239
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
4266
- readonly kind: v.LiteralSchema<"profile.settings.set", undefined>;
4240
+ readonly kind: v.LiteralSchema<"profile.avatar.set", undefined>;
4267
4241
  readonly payload: v.StrictObjectSchema<{
4268
- 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>;
4269
- 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>;
4242
+ readonly sha256: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
4270
4243
  }, undefined>;
4271
4244
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
4272
4245
  readonly version: v.LiteralSchema<1, undefined>;
4273
4246
  };
4274
4247
  message: undefined;
4275
- kind: "schema";
4248
+ accountScope: "NULLABLE";
4249
+ commandKind: "profile.avatar.set";
4250
+ payloadSchema: v.StrictObjectSchema<{
4251
+ readonly sha256: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
4252
+ }, undefined>;
4253
+ } | {
4254
+ kind: 'schema';
4276
4255
  async: false;
4277
4256
  '~standard': v.StandardProps<{
4278
4257
  accountId: string | null;
@@ -4305,7 +4284,7 @@ export declare const appwriteCommands: {
4305
4284
  };
4306
4285
  submittedAt: string;
4307
4286
  version: 1;
4308
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>>;
4287
+ }, v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>>;
4309
4288
  '~types'?: {
4310
4289
  readonly input: {
4311
4290
  accountId: string | null;
@@ -4329,31 +4308,31 @@ export declare const appwriteCommands: {
4329
4308
  submittedAt: string;
4330
4309
  version: 1;
4331
4310
  };
4332
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string>;
4311
+ readonly issue: v.IsoTimestampIssue<string> | v.LiteralIssue | v.MaxLengthIssue<string, number> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.StrictObjectIssue | v.StringIssue | v.UuidIssue<string>;
4333
4312
  } | undefined;
4334
- } | {
4335
- accountScope: "REQUIRED";
4336
- commandKind: "thread.archive.set";
4337
- payloadSchema: v.StrictObjectSchema<{
4338
- readonly archived: v.BooleanSchema<undefined>;
4339
- 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>]>;
4340
- }, undefined>;
4341
- type: "strict_object";
4313
+ type: 'strict_object';
4342
4314
  reference: typeof v.strictObject;
4343
- expects: "Object";
4315
+ expects: 'Object';
4344
4316
  entries: {
4345
- readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
4317
+ 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>;
4346
4318
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
4347
- readonly kind: v.LiteralSchema<"thread.archive.set", undefined>;
4319
+ readonly kind: v.LiteralSchema<"profile.settings.set", undefined>;
4348
4320
  readonly payload: v.StrictObjectSchema<{
4349
- readonly archived: v.BooleanSchema<undefined>;
4350
- 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>]>;
4321
+ 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>;
4322
+ 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>;
4351
4323
  }, undefined>;
4352
4324
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
4353
4325
  readonly version: v.LiteralSchema<1, undefined>;
4354
4326
  };
4355
4327
  message: undefined;
4356
- kind: "schema";
4328
+ accountScope: "NULLABLE";
4329
+ commandKind: "profile.settings.set";
4330
+ payloadSchema: v.StrictObjectSchema<{
4331
+ 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>;
4332
+ 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>;
4333
+ }, undefined>;
4334
+ } | {
4335
+ kind: 'schema';
4357
4336
  async: false;
4358
4337
  '~standard': v.StandardProps<{
4359
4338
  accountId: string;
@@ -4386,7 +4365,7 @@ export declare const appwriteCommands: {
4386
4365
  };
4387
4366
  submittedAt: string;
4388
4367
  version: 1;
4389
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.BooleanIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>>;
4368
+ }, 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>>;
4390
4369
  '~types'?: {
4391
4370
  readonly input: {
4392
4371
  accountId: string;
@@ -4410,29 +4389,31 @@ export declare const appwriteCommands: {
4410
4389
  submittedAt: string;
4411
4390
  version: 1;
4412
4391
  };
4413
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.BooleanIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>;
4392
+ 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>;
4414
4393
  } | undefined;
4415
- } | {
4416
- accountScope: "REQUIRED";
4417
- commandKind: "thread.delete";
4418
- payloadSchema: v.StrictObjectSchema<{
4419
- 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>]>;
4420
- }, undefined>;
4421
- type: "strict_object";
4394
+ type: 'strict_object';
4422
4395
  reference: typeof v.strictObject;
4423
- expects: "Object";
4396
+ expects: 'Object';
4424
4397
  entries: {
4425
4398
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
4426
4399
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
4427
- readonly kind: v.LiteralSchema<"thread.delete", undefined>;
4400
+ readonly kind: v.LiteralSchema<"thread.archive.set", undefined>;
4428
4401
  readonly payload: v.StrictObjectSchema<{
4402
+ readonly archived: v.BooleanSchema<undefined>;
4429
4403
  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>]>;
4430
4404
  }, undefined>;
4431
4405
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
4432
4406
  readonly version: v.LiteralSchema<1, undefined>;
4433
4407
  };
4434
4408
  message: undefined;
4435
- kind: "schema";
4409
+ accountScope: "REQUIRED";
4410
+ commandKind: "thread.archive.set";
4411
+ payloadSchema: v.StrictObjectSchema<{
4412
+ readonly archived: v.BooleanSchema<undefined>;
4413
+ 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>]>;
4414
+ }, undefined>;
4415
+ } | {
4416
+ kind: 'schema';
4436
4417
  async: false;
4437
4418
  '~standard': v.StandardProps<{
4438
4419
  accountId: string;
@@ -4462,7 +4443,7 @@ export declare const appwriteCommands: {
4462
4443
  };
4463
4444
  submittedAt: string;
4464
4445
  version: 1;
4465
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>>;
4446
+ }, 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>>;
4466
4447
  '~types'?: {
4467
4448
  readonly input: {
4468
4449
  accountId: string;
@@ -4484,31 +4465,29 @@ export declare const appwriteCommands: {
4484
4465
  submittedAt: string;
4485
4466
  version: 1;
4486
4467
  };
4487
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>;
4468
+ 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>;
4488
4469
  } | undefined;
4489
- } | {
4490
- accountScope: "REQUIRED";
4491
- commandKind: "thread.flagged.set";
4492
- payloadSchema: v.StrictObjectSchema<{
4493
- readonly flagged: v.BooleanSchema<undefined>;
4494
- 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>]>;
4495
- }, undefined>;
4496
- type: "strict_object";
4470
+ type: 'strict_object';
4497
4471
  reference: typeof v.strictObject;
4498
- expects: "Object";
4472
+ expects: 'Object';
4499
4473
  entries: {
4500
4474
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
4501
4475
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
4502
- readonly kind: v.LiteralSchema<"thread.flagged.set", undefined>;
4476
+ readonly kind: v.LiteralSchema<"thread.delete", undefined>;
4503
4477
  readonly payload: v.StrictObjectSchema<{
4504
- readonly flagged: v.BooleanSchema<undefined>;
4505
4478
  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>]>;
4506
4479
  }, undefined>;
4507
4480
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
4508
4481
  readonly version: v.LiteralSchema<1, undefined>;
4509
4482
  };
4510
4483
  message: undefined;
4511
- kind: "schema";
4484
+ accountScope: "REQUIRED";
4485
+ commandKind: "thread.delete";
4486
+ payloadSchema: v.StrictObjectSchema<{
4487
+ 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>]>;
4488
+ }, undefined>;
4489
+ } | {
4490
+ kind: 'schema';
4512
4491
  async: false;
4513
4492
  '~standard': v.StandardProps<{
4514
4493
  accountId: string;
@@ -4541,7 +4520,7 @@ export declare const appwriteCommands: {
4541
4520
  };
4542
4521
  submittedAt: string;
4543
4522
  version: 1;
4544
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.BooleanIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>>;
4523
+ }, 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>>;
4545
4524
  '~types'?: {
4546
4525
  readonly input: {
4547
4526
  accountId: string;
@@ -4565,31 +4544,31 @@ export declare const appwriteCommands: {
4565
4544
  submittedAt: string;
4566
4545
  version: 1;
4567
4546
  };
4568
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.BooleanIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>;
4547
+ 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>;
4569
4548
  } | undefined;
4570
- } | {
4571
- accountScope: "REQUIRED";
4572
- commandKind: "thread.label.add";
4573
- payloadSchema: v.StrictObjectSchema<{
4574
- readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
4575
- 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>]>;
4576
- }, undefined>;
4577
- type: "strict_object";
4549
+ type: 'strict_object';
4578
4550
  reference: typeof v.strictObject;
4579
- expects: "Object";
4551
+ expects: 'Object';
4580
4552
  entries: {
4581
4553
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
4582
4554
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
4583
- readonly kind: v.LiteralSchema<"thread.label.add", undefined>;
4555
+ readonly kind: v.LiteralSchema<"thread.flagged.set", undefined>;
4584
4556
  readonly payload: v.StrictObjectSchema<{
4585
- readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
4557
+ readonly flagged: v.BooleanSchema<undefined>;
4586
4558
  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>]>;
4587
4559
  }, undefined>;
4588
4560
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
4589
4561
  readonly version: v.LiteralSchema<1, undefined>;
4590
4562
  };
4591
4563
  message: undefined;
4592
- kind: "schema";
4564
+ accountScope: "REQUIRED";
4565
+ commandKind: "thread.flagged.set";
4566
+ payloadSchema: v.StrictObjectSchema<{
4567
+ readonly flagged: v.BooleanSchema<undefined>;
4568
+ 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>]>;
4569
+ }, undefined>;
4570
+ } | {
4571
+ kind: 'schema';
4593
4572
  async: false;
4594
4573
  '~standard': v.StandardProps<{
4595
4574
  accountId: string;
@@ -4622,7 +4601,7 @@ export declare const appwriteCommands: {
4622
4601
  };
4623
4602
  submittedAt: string;
4624
4603
  version: 1;
4625
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>>;
4604
+ }, 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>>;
4626
4605
  '~types'?: {
4627
4606
  readonly input: {
4628
4607
  accountId: string;
@@ -4646,22 +4625,15 @@ export declare const appwriteCommands: {
4646
4625
  submittedAt: string;
4647
4626
  version: 1;
4648
4627
  };
4649
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>;
4628
+ 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>;
4650
4629
  } | undefined;
4651
- } | {
4652
- accountScope: "REQUIRED";
4653
- commandKind: "thread.label.remove";
4654
- payloadSchema: v.StrictObjectSchema<{
4655
- readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
4656
- 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>]>;
4657
- }, undefined>;
4658
- type: "strict_object";
4630
+ type: 'strict_object';
4659
4631
  reference: typeof v.strictObject;
4660
- expects: "Object";
4632
+ expects: 'Object';
4661
4633
  entries: {
4662
4634
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
4663
4635
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
4664
- readonly kind: v.LiteralSchema<"thread.label.remove", undefined>;
4636
+ readonly kind: v.LiteralSchema<"thread.label.add", undefined>;
4665
4637
  readonly payload: v.StrictObjectSchema<{
4666
4638
  readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
4667
4639
  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>]>;
@@ -4670,7 +4642,14 @@ export declare const appwriteCommands: {
4670
4642
  readonly version: v.LiteralSchema<1, undefined>;
4671
4643
  };
4672
4644
  message: undefined;
4673
- kind: "schema";
4645
+ accountScope: "REQUIRED";
4646
+ commandKind: "thread.label.add";
4647
+ payloadSchema: v.StrictObjectSchema<{
4648
+ readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
4649
+ 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>]>;
4650
+ }, undefined>;
4651
+ } | {
4652
+ kind: 'schema';
4674
4653
  async: false;
4675
4654
  '~standard': v.StandardProps<{
4676
4655
  accountId: string;
@@ -4703,7 +4682,7 @@ export declare const appwriteCommands: {
4703
4682
  };
4704
4683
  submittedAt: string;
4705
4684
  version: 1;
4706
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>>;
4685
+ }, 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>>;
4707
4686
  '~types'?: {
4708
4687
  readonly input: {
4709
4688
  accountId: string;
@@ -4727,31 +4706,31 @@ export declare const appwriteCommands: {
4727
4706
  submittedAt: string;
4728
4707
  version: 1;
4729
4708
  };
4730
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>;
4709
+ 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>;
4731
4710
  } | undefined;
4732
- } | {
4733
- accountScope: "REQUIRED";
4734
- commandKind: "thread.seen.set";
4735
- payloadSchema: v.StrictObjectSchema<{
4736
- readonly seen: v.BooleanSchema<undefined>;
4737
- 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>]>;
4738
- }, undefined>;
4739
- type: "strict_object";
4711
+ type: 'strict_object';
4740
4712
  reference: typeof v.strictObject;
4741
- expects: "Object";
4713
+ expects: 'Object';
4742
4714
  entries: {
4743
4715
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
4744
4716
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
4745
- readonly kind: v.LiteralSchema<"thread.seen.set", undefined>;
4717
+ readonly kind: v.LiteralSchema<"thread.label.remove", undefined>;
4746
4718
  readonly payload: v.StrictObjectSchema<{
4747
- readonly seen: v.BooleanSchema<undefined>;
4719
+ readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
4748
4720
  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>]>;
4749
4721
  }, undefined>;
4750
4722
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
4751
4723
  readonly version: v.LiteralSchema<1, undefined>;
4752
4724
  };
4753
4725
  message: undefined;
4754
- kind: "schema";
4726
+ accountScope: "REQUIRED";
4727
+ commandKind: "thread.label.remove";
4728
+ payloadSchema: v.StrictObjectSchema<{
4729
+ readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
4730
+ 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>]>;
4731
+ }, undefined>;
4732
+ } | {
4733
+ kind: 'schema';
4755
4734
  async: false;
4756
4735
  '~standard': v.StandardProps<{
4757
4736
  accountId: string;
@@ -4784,7 +4763,7 @@ export declare const appwriteCommands: {
4784
4763
  };
4785
4764
  submittedAt: string;
4786
4765
  version: 1;
4787
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.BooleanIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>>;
4766
+ }, 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>>;
4788
4767
  '~types'?: {
4789
4768
  readonly input: {
4790
4769
  accountId: string;
@@ -4808,31 +4787,31 @@ export declare const appwriteCommands: {
4808
4787
  submittedAt: string;
4809
4788
  version: 1;
4810
4789
  };
4811
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.BooleanIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>;
4790
+ 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>;
4812
4791
  } | undefined;
4813
- } | {
4814
- accountScope: "REQUIRED";
4815
- commandKind: "thread.snooze.set";
4816
- payloadSchema: v.StrictObjectSchema<{
4817
- readonly snoozedUntil: v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>;
4818
- 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>]>;
4819
- }, undefined>;
4820
- type: "strict_object";
4792
+ type: 'strict_object';
4821
4793
  reference: typeof v.strictObject;
4822
- expects: "Object";
4794
+ expects: 'Object';
4823
4795
  entries: {
4824
4796
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
4825
4797
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
4826
- readonly kind: v.LiteralSchema<"thread.snooze.set", undefined>;
4798
+ readonly kind: v.LiteralSchema<"thread.seen.set", undefined>;
4827
4799
  readonly payload: v.StrictObjectSchema<{
4828
- readonly snoozedUntil: v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>;
4800
+ readonly seen: v.BooleanSchema<undefined>;
4829
4801
  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>]>;
4830
4802
  }, undefined>;
4831
4803
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
4832
4804
  readonly version: v.LiteralSchema<1, undefined>;
4833
4805
  };
4834
4806
  message: undefined;
4835
- kind: "schema";
4807
+ accountScope: "REQUIRED";
4808
+ commandKind: "thread.seen.set";
4809
+ payloadSchema: v.StrictObjectSchema<{
4810
+ readonly seen: v.BooleanSchema<undefined>;
4811
+ 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>]>;
4812
+ }, undefined>;
4813
+ } | {
4814
+ kind: 'schema';
4836
4815
  async: false;
4837
4816
  '~standard': v.StandardProps<{
4838
4817
  accountId: string;
@@ -4865,7 +4844,7 @@ export declare const appwriteCommands: {
4865
4844
  };
4866
4845
  submittedAt: string;
4867
4846
  version: 1;
4868
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.CheckIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>>;
4847
+ }, 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>>;
4869
4848
  '~types'?: {
4870
4849
  readonly input: {
4871
4850
  accountId: string;
@@ -4889,31 +4868,31 @@ export declare const appwriteCommands: {
4889
4868
  submittedAt: string;
4890
4869
  version: 1;
4891
4870
  };
4892
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.CheckIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>;
4871
+ 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>;
4893
4872
  } | undefined;
4894
- } | {
4895
- accountScope: "REQUIRED";
4896
- commandKind: "thread.spam.set";
4897
- payloadSchema: v.StrictObjectSchema<{
4898
- readonly spam: v.BooleanSchema<undefined>;
4899
- 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>]>;
4900
- }, undefined>;
4901
- type: "strict_object";
4873
+ type: 'strict_object';
4902
4874
  reference: typeof v.strictObject;
4903
- expects: "Object";
4875
+ expects: 'Object';
4904
4876
  entries: {
4905
4877
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
4906
4878
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
4907
- readonly kind: v.LiteralSchema<"thread.spam.set", undefined>;
4879
+ readonly kind: v.LiteralSchema<"thread.snooze.set", undefined>;
4908
4880
  readonly payload: v.StrictObjectSchema<{
4909
- readonly spam: v.BooleanSchema<undefined>;
4881
+ readonly snoozedUntil: v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>;
4910
4882
  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>]>;
4911
4883
  }, undefined>;
4912
4884
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
4913
4885
  readonly version: v.LiteralSchema<1, undefined>;
4914
4886
  };
4915
4887
  message: undefined;
4916
- kind: "schema";
4888
+ accountScope: "REQUIRED";
4889
+ commandKind: "thread.snooze.set";
4890
+ payloadSchema: v.StrictObjectSchema<{
4891
+ readonly snoozedUntil: v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>;
4892
+ 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>]>;
4893
+ }, undefined>;
4894
+ } | {
4895
+ kind: 'schema';
4917
4896
  async: false;
4918
4897
  '~standard': v.StandardProps<{
4919
4898
  accountId: string;
@@ -4946,7 +4925,7 @@ export declare const appwriteCommands: {
4946
4925
  };
4947
4926
  submittedAt: string;
4948
4927
  version: 1;
4949
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.BooleanIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>>;
4928
+ }, 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>>;
4950
4929
  '~types'?: {
4951
4930
  readonly input: {
4952
4931
  accountId: string;
@@ -4970,31 +4949,31 @@ export declare const appwriteCommands: {
4970
4949
  submittedAt: string;
4971
4950
  version: 1;
4972
4951
  };
4973
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.BooleanIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>;
4952
+ 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>;
4974
4953
  } | undefined;
4975
- } | {
4976
- accountScope: "REQUIRED";
4977
- commandKind: "thread.trash.set";
4978
- payloadSchema: v.StrictObjectSchema<{
4979
- 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>]>;
4980
- readonly trashed: v.BooleanSchema<undefined>;
4981
- }, undefined>;
4982
- type: "strict_object";
4954
+ type: 'strict_object';
4983
4955
  reference: typeof v.strictObject;
4984
- expects: "Object";
4956
+ expects: 'Object';
4985
4957
  entries: {
4986
4958
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
4987
4959
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
4988
- readonly kind: v.LiteralSchema<"thread.trash.set", undefined>;
4960
+ readonly kind: v.LiteralSchema<"thread.spam.set", undefined>;
4989
4961
  readonly payload: v.StrictObjectSchema<{
4962
+ readonly spam: v.BooleanSchema<undefined>;
4990
4963
  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>]>;
4991
- readonly trashed: v.BooleanSchema<undefined>;
4992
4964
  }, undefined>;
4993
4965
  readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
4994
4966
  readonly version: v.LiteralSchema<1, undefined>;
4995
4967
  };
4996
4968
  message: undefined;
4997
- kind: "schema";
4969
+ accountScope: "REQUIRED";
4970
+ commandKind: "thread.spam.set";
4971
+ payloadSchema: v.StrictObjectSchema<{
4972
+ readonly spam: v.BooleanSchema<undefined>;
4973
+ 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>]>;
4974
+ }, undefined>;
4975
+ } | {
4976
+ kind: 'schema';
4998
4977
  async: false;
4999
4978
  '~standard': v.StandardProps<{
5000
4979
  accountId: string;
@@ -5027,7 +5006,7 @@ export declare const appwriteCommands: {
5027
5006
  };
5028
5007
  submittedAt: string;
5029
5008
  version: 1;
5030
- }, v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.BooleanIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>>;
5009
+ }, 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>>;
5031
5010
  '~types'?: {
5032
5011
  readonly input: {
5033
5012
  accountId: string;
@@ -5051,32 +5030,53 @@ export declare const appwriteCommands: {
5051
5030
  submittedAt: string;
5052
5031
  version: 1;
5053
5032
  };
5054
- readonly issue: v.StringIssue | v.IsoTimestampIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.BooleanIssue | v.ArrayIssue | v.LiteralIssue | v.StrictObjectIssue | v.UuidIssue<string> | v.MinLengthIssue<(string & v.Brand<"ThreadId">)[], 1> | v.MaxLengthIssue<(string & v.Brand<"ThreadId">)[], 100>;
5033
+ 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>;
5055
5034
  } | undefined;
5035
+ type: 'strict_object';
5036
+ reference: typeof v.strictObject;
5037
+ expects: 'Object';
5038
+ entries: {
5039
+ readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
5040
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
5041
+ readonly kind: v.LiteralSchema<"thread.trash.set", undefined>;
5042
+ readonly payload: v.StrictObjectSchema<{
5043
+ 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>]>;
5044
+ readonly trashed: v.BooleanSchema<undefined>;
5045
+ }, undefined>;
5046
+ readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
5047
+ readonly version: v.LiteralSchema<1, undefined>;
5048
+ };
5049
+ message: undefined;
5050
+ accountScope: "REQUIRED";
5051
+ commandKind: "thread.trash.set";
5052
+ payloadSchema: v.StrictObjectSchema<{
5053
+ 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>]>;
5054
+ readonly trashed: v.BooleanSchema<undefined>;
5055
+ }, undefined>;
5056
5056
  })[], undefined>;
5057
5057
  readonly responseSchema: v.VariantSchema<"state", readonly [v.StrictObjectSchema<{
5058
+ readonly canonicalRevision: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
5059
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
5058
5060
  readonly error: v.NullSchema<undefined>;
5059
5061
  readonly state: v.LiteralSchema<"ACCEPTED", undefined>;
5062
+ }, undefined>, v.StrictObjectSchema<{
5060
5063
  readonly canonicalRevision: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
5061
5064
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
5062
- }, undefined>, v.StrictObjectSchema<{
5063
5065
  readonly error: v.NullSchema<undefined>;
5064
5066
  readonly state: v.LiteralSchema<"RUNNING", undefined>;
5067
+ }, undefined>, v.StrictObjectSchema<{
5065
5068
  readonly canonicalRevision: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
5066
5069
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
5067
- }, undefined>, v.StrictObjectSchema<{
5068
5070
  readonly error: v.NullSchema<undefined>;
5069
5071
  readonly state: v.LiteralSchema<"SUCCEEDED", undefined>;
5072
+ }, undefined>, v.StrictObjectSchema<{
5070
5073
  readonly canonicalRevision: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
5071
5074
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
5072
- }, undefined>, v.StrictObjectSchema<{
5073
5075
  readonly error: v.StrictObjectSchema<{
5074
5076
  readonly code: v.PicklistSchema<readonly ["AUTHENTICATION_FAILED", "AUTHORIZATION_FAILED", "COMMAND_CONFLICT", "COMMAND_NOT_FOUND", "INVALID_COMMAND", "PROVIDER_REJECTED", "TRANSIENT_FAILURE", "INTERNAL_ERROR"], undefined>;
5075
5077
  readonly retryable: v.BooleanSchema<undefined>;
5076
5078
  }, undefined>;
5077
5079
  readonly state: v.LiteralSchema<"FAILED", undefined>;
5078
- readonly canonicalRevision: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
5079
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
5080
5080
  }, undefined>], undefined>;
5081
5081
  readonly states: readonly ["ACCEPTED", "RUNNING", "SUCCEEDED", "FAILED"];
5082
5082
  readonly threadCommandBatchSize: 100;