@marcoappio/marco-config 4.0.9 → 4.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/appwrite/appwrite.d.ts +1215 -1017
- package/dist/appwrite/appwrite.d.ts.map +1 -1
- package/dist/appwrite/appwrite.js +11 -375
- package/dist/appwrite/appwrite.test.js +75 -1
- package/dist/appwrite/commands.d.ts +167 -124
- package/dist/appwrite/commands.d.ts.map +1 -1
- package/dist/appwrite/commands.js +70 -68
- package/dist/appwrite/commands.test.js +30 -17
- package/dist/appwrite/functions.d.ts +122 -122
- package/dist/appwrite/index.d.ts +2 -2
- package/dist/appwrite/index.d.ts.map +1 -1
- package/dist/appwrite/index.js +2 -2
- package/dist/appwrite/tableContract/identity.d.ts +442 -0
- package/dist/appwrite/tableContract/identity.d.ts.map +1 -0
- package/dist/appwrite/tableContract/identity.js +158 -0
- package/dist/appwrite/tableContract/index.d.ts +2194 -0
- package/dist/appwrite/tableContract/index.d.ts.map +1 -0
- package/dist/appwrite/tableContract/index.js +77 -0
- package/dist/appwrite/tableContract/index.test.d.ts +2 -0
- package/dist/appwrite/tableContract/index.test.d.ts.map +1 -0
- package/dist/appwrite/tableContract/index.test.js +48 -0
- package/dist/appwrite/tableContract/mailbox.d.ts +622 -0
- package/dist/appwrite/tableContract/mailbox.d.ts.map +1 -0
- package/dist/appwrite/tableContract/mailbox.js +191 -0
- package/dist/appwrite/tableContract/operational.d.ts +522 -0
- package/dist/appwrite/tableContract/operational.d.ts.map +1 -0
- package/dist/appwrite/tableContract/operational.js +191 -0
- package/dist/appwrite/tableContract/shared.d.ts +145 -0
- package/dist/appwrite/tableContract/shared.d.ts.map +1 -0
- package/dist/appwrite/tableContract/shared.js +89 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -153,26 +153,14 @@ export declare const appwriteFunctions: {
|
|
|
153
153
|
context: "authenticated";
|
|
154
154
|
method: "POST";
|
|
155
155
|
path: "/commands";
|
|
156
|
-
requestSchema: v.VariantSchema<"kind",
|
|
157
|
-
readonly accountId: v.
|
|
158
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
159
|
-
readonly kind: v.LiteralSchema<"profile.settings.set", undefined>;
|
|
160
|
-
readonly payload: v.StrictObjectSchema<{
|
|
161
|
-
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>;
|
|
162
|
-
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>;
|
|
163
|
-
}, undefined>;
|
|
164
|
-
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
165
|
-
readonly version: v.LiteralSchema<1, undefined>;
|
|
166
|
-
}, undefined>, v.StrictObjectSchema<{
|
|
167
|
-
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>;
|
|
156
|
+
requestSchema: v.VariantSchema<"kind", (v.StrictObjectSchema<{
|
|
157
|
+
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
168
158
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
169
|
-
readonly kind: v.LiteralSchema<"
|
|
170
|
-
readonly payload: v.StrictObjectSchema<{
|
|
171
|
-
readonly sha256: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
172
|
-
}, undefined>;
|
|
159
|
+
readonly kind: v.LiteralSchema<"account.delete", undefined>;
|
|
160
|
+
readonly payload: v.StrictObjectSchema<{}, undefined>;
|
|
173
161
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
174
162
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
175
|
-
}, undefined
|
|
163
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
176
164
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
177
165
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
178
166
|
readonly kind: v.LiteralSchema<"account.settings.set", undefined>;
|
|
@@ -182,14 +170,7 @@ export declare const appwriteFunctions: {
|
|
|
182
170
|
}, undefined>;
|
|
183
171
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
184
172
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
185
|
-
}, undefined
|
|
186
|
-
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
187
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
188
|
-
readonly kind: v.LiteralSchema<"account.delete", undefined>;
|
|
189
|
-
readonly payload: v.StrictObjectSchema<{}, undefined>;
|
|
190
|
-
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
191
|
-
readonly version: v.LiteralSchema<1, undefined>;
|
|
192
|
-
}, undefined>, v.StrictObjectSchema<{
|
|
173
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
193
174
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
194
175
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
195
176
|
readonly kind: v.LiteralSchema<"alias.create", undefined>;
|
|
@@ -201,7 +182,7 @@ export declare const appwriteFunctions: {
|
|
|
201
182
|
}, undefined>;
|
|
202
183
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
203
184
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
204
|
-
}, undefined
|
|
185
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
205
186
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
206
187
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
207
188
|
readonly kind: v.LiteralSchema<"alias.delete", undefined>;
|
|
@@ -210,7 +191,7 @@ export declare const appwriteFunctions: {
|
|
|
210
191
|
}, undefined>;
|
|
211
192
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
212
193
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
213
|
-
}, undefined
|
|
194
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
214
195
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
215
196
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
216
197
|
readonly kind: v.LiteralSchema<"alias.name.set", undefined>;
|
|
@@ -220,7 +201,7 @@ export declare const appwriteFunctions: {
|
|
|
220
201
|
}, undefined>;
|
|
221
202
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
222
203
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
223
|
-
}, undefined
|
|
204
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
224
205
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
225
206
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
226
207
|
readonly kind: v.LiteralSchema<"alias.primary.set", undefined>;
|
|
@@ -229,7 +210,7 @@ export declare const appwriteFunctions: {
|
|
|
229
210
|
}, undefined>;
|
|
230
211
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
231
212
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
232
|
-
}, undefined
|
|
213
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
233
214
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
234
215
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
235
216
|
readonly kind: v.LiteralSchema<"alias.signature.set", undefined>;
|
|
@@ -239,231 +220,250 @@ export declare const appwriteFunctions: {
|
|
|
239
220
|
}, undefined>;
|
|
240
221
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
241
222
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
242
|
-
}, undefined
|
|
223
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
243
224
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
244
225
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
245
|
-
readonly kind: v.LiteralSchema<"
|
|
226
|
+
readonly kind: v.LiteralSchema<"draft.attachment.delete", undefined>;
|
|
246
227
|
readonly payload: v.StrictObjectSchema<{
|
|
247
|
-
readonly
|
|
248
|
-
readonly
|
|
228
|
+
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
229
|
+
readonly fileId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
249
230
|
}, undefined>;
|
|
250
231
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
251
232
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
252
|
-
}, undefined
|
|
233
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
253
234
|
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
235
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
255
|
-
readonly kind: v.LiteralSchema<"
|
|
236
|
+
readonly kind: v.LiteralSchema<"draft.attachment.link", undefined>;
|
|
256
237
|
readonly payload: v.StrictObjectSchema<{
|
|
257
|
-
readonly
|
|
238
|
+
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
239
|
+
readonly fileId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
240
|
+
readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
241
|
+
readonly mimeType: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
242
|
+
readonly size: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
258
243
|
}, undefined>;
|
|
259
244
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
260
245
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
261
|
-
}, undefined
|
|
246
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
262
247
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
263
248
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
264
|
-
readonly kind: v.LiteralSchema<"
|
|
249
|
+
readonly kind: v.LiteralSchema<"draft.content.set", undefined>;
|
|
265
250
|
readonly payload: v.StrictObjectSchema<{
|
|
266
|
-
readonly
|
|
267
|
-
readonly
|
|
251
|
+
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
252
|
+
readonly html: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 384000, undefined>]>;
|
|
268
253
|
}, undefined>;
|
|
269
254
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
270
255
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
271
|
-
}, undefined
|
|
256
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
272
257
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
273
258
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
274
|
-
readonly kind: v.LiteralSchema<"
|
|
259
|
+
readonly kind: v.LiteralSchema<"draft.create", undefined>;
|
|
275
260
|
readonly payload: v.StrictObjectSchema<{
|
|
276
|
-
readonly
|
|
277
|
-
readonly
|
|
261
|
+
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
262
|
+
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>;
|
|
263
|
+
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>;
|
|
264
|
+
readonly type: v.PicklistSchema<readonly ["NEW", "REPLY", "FORWARD"], undefined>;
|
|
278
265
|
}, undefined>;
|
|
279
266
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
280
267
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
281
|
-
}, undefined
|
|
268
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
282
269
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
283
270
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
284
|
-
readonly kind: v.LiteralSchema<"
|
|
271
|
+
readonly kind: v.LiteralSchema<"draft.delete", undefined>;
|
|
285
272
|
readonly payload: v.StrictObjectSchema<{
|
|
286
|
-
readonly
|
|
287
|
-
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>]>;
|
|
273
|
+
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
288
274
|
}, undefined>;
|
|
289
275
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
290
276
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
291
|
-
}, undefined
|
|
277
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
292
278
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
293
279
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
294
|
-
readonly kind: v.LiteralSchema<"
|
|
280
|
+
readonly kind: v.LiteralSchema<"draft.envelope.set", undefined>;
|
|
295
281
|
readonly payload: v.StrictObjectSchema<{
|
|
296
|
-
readonly
|
|
297
|
-
readonly
|
|
282
|
+
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>, v.MaxLengthAction<string, 320, undefined>]>, undefined>, undefined>;
|
|
283
|
+
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>, v.MaxLengthAction<string, 320, undefined>]>, undefined>, undefined>;
|
|
284
|
+
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
285
|
+
readonly subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 998, undefined>]>, undefined>;
|
|
286
|
+
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>, v.MaxLengthAction<string, 320, undefined>]>, undefined>, undefined>;
|
|
298
287
|
}, undefined>;
|
|
299
288
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
300
289
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
301
|
-
}, undefined
|
|
290
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
302
291
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
303
292
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
304
|
-
readonly kind: v.LiteralSchema<"
|
|
293
|
+
readonly kind: v.LiteralSchema<"draft.from.set", undefined>;
|
|
305
294
|
readonly payload: v.StrictObjectSchema<{
|
|
306
|
-
readonly
|
|
307
|
-
readonly
|
|
295
|
+
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
296
|
+
readonly fromAliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
|
|
297
|
+
readonly targetAccountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
308
298
|
}, undefined>;
|
|
309
299
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
310
300
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
311
|
-
}, undefined
|
|
301
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
312
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>;
|
|
313
303
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
314
|
-
readonly kind: v.LiteralSchema<"
|
|
304
|
+
readonly kind: v.LiteralSchema<"draft.send", undefined>;
|
|
315
305
|
readonly payload: v.StrictObjectSchema<{
|
|
316
|
-
readonly
|
|
317
|
-
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>]>;
|
|
306
|
+
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
318
307
|
}, undefined>;
|
|
319
308
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
320
309
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
321
|
-
}, undefined
|
|
310
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
322
311
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
323
312
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
324
|
-
readonly kind: v.LiteralSchema<"
|
|
313
|
+
readonly kind: v.LiteralSchema<"draft.send.cancel", undefined>;
|
|
325
314
|
readonly payload: v.StrictObjectSchema<{
|
|
326
|
-
readonly
|
|
327
|
-
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>]>;
|
|
315
|
+
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
328
316
|
}, undefined>;
|
|
329
317
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
330
318
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
331
|
-
}, undefined
|
|
319
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
332
320
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
333
321
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
334
|
-
readonly kind: v.LiteralSchema<"
|
|
322
|
+
readonly kind: v.LiteralSchema<"draft.send.schedule", undefined>;
|
|
335
323
|
readonly payload: v.StrictObjectSchema<{
|
|
336
|
-
readonly
|
|
337
|
-
readonly
|
|
324
|
+
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
325
|
+
readonly scheduledAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
338
326
|
}, undefined>;
|
|
339
327
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
340
328
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
341
|
-
}, undefined
|
|
329
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
342
330
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
343
331
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
344
|
-
readonly kind: v.LiteralSchema<"
|
|
332
|
+
readonly kind: v.LiteralSchema<"label.create", undefined>;
|
|
345
333
|
readonly payload: v.StrictObjectSchema<{
|
|
346
|
-
readonly
|
|
347
|
-
readonly
|
|
334
|
+
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
|
|
335
|
+
readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
348
336
|
}, undefined>;
|
|
349
337
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
350
338
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
351
|
-
}, undefined
|
|
339
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
352
340
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
353
341
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
354
|
-
readonly kind: v.LiteralSchema<"
|
|
342
|
+
readonly kind: v.LiteralSchema<"label.delete", undefined>;
|
|
355
343
|
readonly payload: v.StrictObjectSchema<{
|
|
356
|
-
readonly
|
|
344
|
+
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
|
|
357
345
|
}, undefined>;
|
|
358
346
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
359
347
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
360
|
-
}, undefined
|
|
348
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
361
349
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
362
350
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
363
|
-
readonly kind: v.LiteralSchema<"
|
|
351
|
+
readonly kind: v.LiteralSchema<"label.rename", undefined>;
|
|
364
352
|
readonly payload: v.StrictObjectSchema<{
|
|
365
|
-
readonly
|
|
366
|
-
readonly
|
|
367
|
-
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>;
|
|
368
|
-
readonly type: v.PicklistSchema<readonly ["NEW", "REPLY", "FORWARD"], undefined>;
|
|
353
|
+
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
|
|
354
|
+
readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
369
355
|
}, undefined>;
|
|
370
356
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
371
357
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
372
|
-
}, undefined
|
|
358
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
359
|
+
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>;
|
|
360
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
361
|
+
readonly kind: v.LiteralSchema<"profile.avatar.set", undefined>;
|
|
362
|
+
readonly payload: v.StrictObjectSchema<{
|
|
363
|
+
readonly sha256: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
364
|
+
}, undefined>;
|
|
365
|
+
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
366
|
+
readonly version: v.LiteralSchema<1, undefined>;
|
|
367
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
368
|
+
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>;
|
|
369
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
370
|
+
readonly kind: v.LiteralSchema<"profile.settings.set", undefined>;
|
|
371
|
+
readonly payload: v.StrictObjectSchema<{
|
|
372
|
+
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>;
|
|
373
|
+
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>;
|
|
374
|
+
}, undefined>;
|
|
375
|
+
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
376
|
+
readonly version: v.LiteralSchema<1, undefined>;
|
|
377
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
373
378
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
374
379
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
375
|
-
readonly kind: v.LiteralSchema<"
|
|
380
|
+
readonly kind: v.LiteralSchema<"thread.archive.set", undefined>;
|
|
376
381
|
readonly payload: v.StrictObjectSchema<{
|
|
377
|
-
readonly
|
|
378
|
-
readonly
|
|
382
|
+
readonly archived: v.BooleanSchema<undefined>;
|
|
383
|
+
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>]>;
|
|
379
384
|
}, undefined>;
|
|
380
385
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
381
386
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
382
|
-
}, undefined
|
|
387
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
383
388
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
384
389
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
385
|
-
readonly kind: v.LiteralSchema<"
|
|
390
|
+
readonly kind: v.LiteralSchema<"thread.delete", undefined>;
|
|
386
391
|
readonly payload: v.StrictObjectSchema<{
|
|
387
|
-
readonly
|
|
388
|
-
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>, v.MaxLengthAction<string, 320, undefined>]>, undefined>, undefined>;
|
|
389
|
-
readonly draftId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
|
|
390
|
-
readonly subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 998, undefined>]>, undefined>;
|
|
391
|
-
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>, v.MaxLengthAction<string, 320, undefined>]>, undefined>, undefined>;
|
|
392
|
+
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>]>;
|
|
392
393
|
}, undefined>;
|
|
393
394
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
394
395
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
395
|
-
}, undefined
|
|
396
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
396
397
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
397
398
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
398
|
-
readonly kind: v.LiteralSchema<"
|
|
399
|
+
readonly kind: v.LiteralSchema<"thread.flagged.set", undefined>;
|
|
399
400
|
readonly payload: v.StrictObjectSchema<{
|
|
400
|
-
readonly
|
|
401
|
-
readonly
|
|
402
|
-
readonly targetAccountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
401
|
+
readonly flagged: v.BooleanSchema<undefined>;
|
|
402
|
+
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>]>;
|
|
403
403
|
}, undefined>;
|
|
404
404
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
405
405
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
406
|
-
}, undefined
|
|
406
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
407
407
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
408
408
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
409
|
-
readonly kind: v.LiteralSchema<"
|
|
409
|
+
readonly kind: v.LiteralSchema<"thread.label.add", undefined>;
|
|
410
410
|
readonly payload: v.StrictObjectSchema<{
|
|
411
|
-
readonly
|
|
411
|
+
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
|
|
412
|
+
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>]>;
|
|
412
413
|
}, undefined>;
|
|
413
414
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
414
415
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
415
|
-
}, undefined
|
|
416
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
416
417
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
417
418
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
418
|
-
readonly kind: v.LiteralSchema<"
|
|
419
|
+
readonly kind: v.LiteralSchema<"thread.label.remove", undefined>;
|
|
419
420
|
readonly payload: v.StrictObjectSchema<{
|
|
420
|
-
readonly
|
|
421
|
-
readonly
|
|
422
|
-
readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
423
|
-
readonly mimeType: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
424
|
-
readonly size: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
421
|
+
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
|
|
422
|
+
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>]>;
|
|
425
423
|
}, undefined>;
|
|
426
424
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
427
425
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
428
|
-
}, undefined
|
|
426
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
429
427
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
430
428
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
431
|
-
readonly kind: v.LiteralSchema<"
|
|
429
|
+
readonly kind: v.LiteralSchema<"thread.seen.set", undefined>;
|
|
432
430
|
readonly payload: v.StrictObjectSchema<{
|
|
433
|
-
readonly
|
|
434
|
-
readonly
|
|
431
|
+
readonly seen: v.BooleanSchema<undefined>;
|
|
432
|
+
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>]>;
|
|
435
433
|
}, undefined>;
|
|
436
434
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
437
435
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
438
|
-
}, undefined
|
|
436
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
439
437
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
440
438
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
441
|
-
readonly kind: v.LiteralSchema<"
|
|
439
|
+
readonly kind: v.LiteralSchema<"thread.snooze.set", undefined>;
|
|
442
440
|
readonly payload: v.StrictObjectSchema<{
|
|
443
|
-
readonly
|
|
441
|
+
readonly snoozedUntil: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
|
|
442
|
+
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>]>;
|
|
444
443
|
}, undefined>;
|
|
445
444
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
446
445
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
447
|
-
}, undefined
|
|
446
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
448
447
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
449
448
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
450
|
-
readonly kind: v.LiteralSchema<"
|
|
449
|
+
readonly kind: v.LiteralSchema<"thread.spam.set", undefined>;
|
|
451
450
|
readonly payload: v.StrictObjectSchema<{
|
|
452
|
-
readonly
|
|
451
|
+
readonly spam: v.BooleanSchema<undefined>;
|
|
452
|
+
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>]>;
|
|
453
453
|
}, undefined>;
|
|
454
454
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
455
455
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
456
|
-
}, undefined
|
|
456
|
+
}, undefined> | v.StrictObjectSchema<{
|
|
457
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>;
|
|
458
458
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>, v.BrandAction<string, "CommandId">]>;
|
|
459
|
-
readonly kind: v.LiteralSchema<"
|
|
459
|
+
readonly kind: v.LiteralSchema<"thread.trash.set", undefined>;
|
|
460
460
|
readonly payload: v.StrictObjectSchema<{
|
|
461
|
-
readonly
|
|
462
|
-
readonly
|
|
461
|
+
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>]>;
|
|
462
|
+
readonly trashed: v.BooleanSchema<undefined>;
|
|
463
463
|
}, undefined>;
|
|
464
464
|
readonly submittedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
465
465
|
readonly version: v.LiteralSchema<1, undefined>;
|
|
466
|
-
}, undefined>], undefined>;
|
|
466
|
+
}, undefined>)[], undefined>;
|
|
467
467
|
responseSchema: v.VariantSchema<"state", readonly [v.StrictObjectSchema<{
|
|
468
468
|
readonly canonicalRevision: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
469
469
|
readonly error: v.NullSchema<undefined>;
|
package/dist/appwrite/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { type AppwriteDraftAttachment, type AppwriteDraftEnvelope, type AppwriteEnvironment, type AppwriteMailboxSyncLane, type AppwriteMailboxSyncLaneState, type AppwriteMailboxSyncState, type AppwriteMessageAttachment, type AppwriteMessageRecipient, type AppwritePollShardState, type AppwriteRow, type AppwriteRowTable, appwrite, } from './appwrite';
|
|
2
|
-
export { type AppwriteCommandError, type AppwriteCommandKind, type AppwriteCommandPayload, type AppwriteCommandRequest, type AppwriteCommandResponse, type AppwriteCommandState, appwriteAvatar, appwriteCommands, } from './commands';
|
|
1
|
+
export { type AppwriteColumnDefinition, type AppwriteColumnSchema, type AppwriteColumnType, type AppwriteDataRow, type AppwriteDraftAttachment, type AppwriteDraftEnvelope, type AppwriteEnvironment, type AppwriteIndexDefinition, type AppwriteIndexType, type AppwriteMailboxSyncLane, type AppwriteMailboxSyncLaneState, type AppwriteMailboxSyncState, type AppwriteMessageAttachment, type AppwriteMessageRecipient, type AppwritePollShardState, type AppwriteRelationshipDefinition, type AppwriteRelationshipOnDelete, type AppwriteRelationshipSchema, type AppwriteRelationshipType, type AppwriteRow, type AppwriteRowTable, type AppwriteTableDefinition, type AppwriteTableId, type AppwriteTableInput, type AppwriteTableKey, accountProviders, accountStates, appwrite, appwriteDataSchemas, appwriteRelationshipIdSchema, appwriteRowSchemas, appwriteTableIdSchema, appwriteTableIds, appwriteTableContract, appwriteTables, commandStates, defineAppwriteTables, draftStates, draftTypes, jobStates, labelSpecialUses, mailboxSyncLaneStates, mailboxSyncLanes, mailboxSyncProvisionedStates, mailboxSyncStates, oauthOperations, oauthProviders, oauthReturnUris, oauthReturnUriSchema, pollShardStates, } from './appwrite';
|
|
2
|
+
export { type AppwriteCommandError, type AppwriteCommandKind, type AppwriteCommandPayload, type AppwriteCommandRequest, type AppwriteCommandResponse, type AppwriteCommandState, appwriteAvatar, appwriteCommandGroups, appwriteCommands, } from './commands';
|
|
3
3
|
export { type AppwriteFunctionContext, type AppwriteFunctionError, type AppwriteFunctionName, type AppwriteFunctionRequest, type AppwriteFunctionResponse, type AppwriteFunctionRoute, type AppwriteFunctionRouteName, appwriteFunctions, } from './functions';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/appwrite/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/appwrite/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,gBAAgB,EAChB,aAAa,EACb,QAAQ,EACR,mBAAmB,EACnB,4BAA4B,EAC5B,kBAAkB,EAClB,qBAAqB,EACrB,gBAAgB,EAChB,qBAAqB,EACrB,cAAc,EACd,aAAa,EACb,oBAAoB,EACpB,WAAW,EACX,UAAU,EACV,SAAS,EACT,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,4BAA4B,EAC5B,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,eAAe,EACf,oBAAoB,EACpB,eAAe,GAChB,MAAM,YAAY,CAAA;AACnB,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,cAAc,EACd,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,YAAY,CAAA;AACnB,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,iBAAiB,GAClB,MAAM,aAAa,CAAA"}
|
package/dist/appwrite/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { appwrite, } from './appwrite';
|
|
2
|
-
export { appwriteAvatar, appwriteCommands, } from './commands';
|
|
1
|
+
export { accountProviders, accountStates, appwrite, appwriteDataSchemas, appwriteRelationshipIdSchema, appwriteRowSchemas, appwriteTableIdSchema, appwriteTableIds, appwriteTableContract, appwriteTables, commandStates, defineAppwriteTables, draftStates, draftTypes, jobStates, labelSpecialUses, mailboxSyncLaneStates, mailboxSyncLanes, mailboxSyncProvisionedStates, mailboxSyncStates, oauthOperations, oauthProviders, oauthReturnUris, oauthReturnUriSchema, pollShardStates, } from './appwrite';
|
|
2
|
+
export { appwriteAvatar, appwriteCommandGroups, appwriteCommands, } from './commands';
|
|
3
3
|
export { appwriteFunctions, } from './functions';
|