@marcoappio/marco-config 2.0.200 → 2.0.202

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 (31) hide show
  1. package/dist/clients/index.d.ts +13 -3
  2. package/dist/clients/index.d.ts.map +1 -1
  3. package/dist/clients/thread.d.ts +13 -3
  4. package/dist/clients/thread.d.ts.map +1 -1
  5. package/dist/clients/thread.js +13 -3
  6. package/dist/sdk/endpoints/index.d.ts +45 -26
  7. package/dist/sdk/endpoints/index.d.ts.map +1 -1
  8. package/dist/sdk/endpoints/private/index.d.ts +45 -26
  9. package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
  10. package/dist/sdk/endpoints/private/sync/index.d.ts +45 -26
  11. package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
  12. package/dist/sdk/endpoints/private/sync/pull/index.d.ts +4 -1
  13. package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
  14. package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +4 -1
  15. package/dist/sdk/endpoints/private/sync/pull/thread.d.ts.map +1 -1
  16. package/dist/sdk/endpoints/private/sync/push/account.d.ts +19 -19
  17. package/dist/sdk/endpoints/private/sync/push/account.d.ts.map +1 -1
  18. package/dist/sdk/endpoints/private/sync/push/account.js +11 -11
  19. package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
  20. package/dist/sdk/endpoints/private/sync/push/draft.js +38 -39
  21. package/dist/sdk/endpoints/private/sync/push/index.d.ts +41 -25
  22. package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
  23. package/dist/sdk/endpoints/private/sync/push/thread.d.ts +20 -4
  24. package/dist/sdk/endpoints/private/sync/push/thread.d.ts.map +1 -1
  25. package/dist/sdk/endpoints/private/sync/push/thread.js +18 -6
  26. package/dist/sdk/endpoints/private/sync/push/user.d.ts +2 -2
  27. package/dist/sdk/endpoints/private/sync/push/user.d.ts.map +1 -1
  28. package/dist/sdk/endpoints/private/sync/push/user.js +3 -3
  29. package/dist/sdk/index.d.ts +45 -26
  30. package/dist/sdk/index.d.ts.map +1 -1
  31. package/package.json +1 -1
@@ -207,7 +207,10 @@ export declare const sync: {
207
207
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
208
208
  }, undefined>;
209
209
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
210
- readonly labelIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
210
+ readonly labelIds: import("valibot").ObjectSchema<{
211
+ readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>, undefined>;
212
+ readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>, undefined>, undefined>;
213
+ }, undefined>;
211
214
  readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
212
215
  readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
213
216
  readonly emailAddresses: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -269,39 +272,39 @@ export declare const sync: {
269
272
  push: {
270
273
  account: import("../../../..").EndpointConfig<"/v1/pv/sync/push/account", import("valibot").ObjectSchema<{
271
274
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
272
- readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
275
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
273
276
  readonly args: import("valibot").ObjectSchema<{
274
- readonly connectionConfig: import("valibot").ObjectSchema<{
275
- readonly imapStatus: import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>;
276
- readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
277
- readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
278
- readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
279
- readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
280
- readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
281
- readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
282
- }, undefined>;
277
+ readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
278
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
283
279
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
284
280
  }, undefined>;
285
281
  readonly clientID: import("valibot").StringSchema<undefined>;
286
282
  readonly id: import("valibot").NumberSchema<undefined>;
287
- readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
288
- }, undefined>, import("valibot").ObjectSchema<{
283
+ readonly name: import("valibot").LiteralSchema<"add", undefined>;
284
+ }, undefined> | import("valibot").ObjectSchema<{
289
285
  readonly args: import("valibot").ObjectSchema<{
290
- readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
291
- readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
292
286
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
293
287
  }, undefined>;
294
288
  readonly clientID: import("valibot").StringSchema<undefined>;
295
289
  readonly id: import("valibot").NumberSchema<undefined>;
296
- readonly name: import("valibot").LiteralSchema<"add", undefined>;
297
- }, undefined>, import("valibot").ObjectSchema<{
290
+ readonly name: import("valibot").LiteralSchema<"delete", undefined>;
291
+ }, undefined> | import("valibot").ObjectSchema<{
298
292
  readonly args: import("valibot").ObjectSchema<{
293
+ readonly connectionConfig: import("valibot").ObjectSchema<{
294
+ readonly imapStatus: import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>;
295
+ readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
296
+ readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
297
+ readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
298
+ readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
299
+ readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
300
+ readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
301
+ }, undefined>;
299
302
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
300
303
  }, undefined>;
301
304
  readonly clientID: import("valibot").StringSchema<undefined>;
302
305
  readonly id: import("valibot").NumberSchema<undefined>;
303
- readonly name: import("valibot").LiteralSchema<"delete", undefined>;
304
- }, undefined>, import("valibot").ObjectSchema<{
306
+ readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
307
+ }, undefined> | import("valibot").ObjectSchema<{
305
308
  readonly args: import("valibot").ObjectSchema<{
306
309
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
307
310
  readonly settings: Omit<import("valibot").ObjectSchema<{
@@ -346,7 +349,7 @@ export declare const sync: {
346
349
  readonly clientID: import("valibot").StringSchema<undefined>;
347
350
  readonly id: import("valibot").NumberSchema<undefined>;
348
351
  readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
349
- }, undefined>], undefined>, undefined>;
352
+ }, undefined>)[], undefined>, undefined>;
350
353
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
351
354
  readonly data: import("valibot").ObjectSchema<{
352
355
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -499,7 +502,22 @@ export declare const sync: {
499
502
  }, undefined>], undefined>>;
500
503
  thread: import("../../../..").EndpointConfig<"/v1/pv/sync/push/thread", import("valibot").ObjectSchema<{
501
504
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
502
- readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
505
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
506
+ readonly args: import("valibot").ObjectSchema<{
507
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
508
+ }, undefined>;
509
+ readonly clientID: import("valibot").StringSchema<undefined>;
510
+ readonly id: import("valibot").NumberSchema<undefined>;
511
+ readonly name: import("valibot").LiteralSchema<"delete", undefined>;
512
+ }, undefined> | import("valibot").ObjectSchema<{
513
+ readonly args: import("valibot").ObjectSchema<{
514
+ readonly labelIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
515
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
516
+ }, undefined>;
517
+ readonly clientID: import("valibot").StringSchema<undefined>;
518
+ readonly id: import("valibot").NumberSchema<undefined>;
519
+ readonly name: import("valibot").LiteralSchema<"setLabels", undefined>;
520
+ }, undefined> | import("valibot").ObjectSchema<{
503
521
  readonly args: import("valibot").ObjectSchema<{
504
522
  readonly messageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
505
523
  readonly seen: import("valibot").BooleanSchema<undefined>;
@@ -508,14 +526,15 @@ export declare const sync: {
508
526
  readonly clientID: import("valibot").StringSchema<undefined>;
509
527
  readonly id: import("valibot").NumberSchema<undefined>;
510
528
  readonly name: import("valibot").LiteralSchema<"setMessageSeen", undefined>;
511
- }, undefined>, import("valibot").ObjectSchema<{
529
+ }, undefined> | import("valibot").ObjectSchema<{
512
530
  readonly args: import("valibot").ObjectSchema<{
531
+ readonly specialUse: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ARCHIVE", undefined>, import("valibot").LiteralSchema<"INBOX", undefined>, import("valibot").LiteralSchema<"SENT", undefined>, import("valibot").LiteralSchema<"SPAM", undefined>, import("valibot").LiteralSchema<"TRASH", undefined>], undefined>;
513
532
  readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
514
533
  }, undefined>;
515
534
  readonly clientID: import("valibot").StringSchema<undefined>;
516
535
  readonly id: import("valibot").NumberSchema<undefined>;
517
- readonly name: import("valibot").LiteralSchema<"moveToTrash", undefined>;
518
- }, undefined>], undefined>, undefined>;
536
+ readonly name: import("valibot").LiteralSchema<"setSpecialUse", undefined>;
537
+ }, undefined>)[], undefined>, undefined>;
519
538
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
520
539
  readonly data: import("valibot").ObjectSchema<{
521
540
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -541,7 +560,7 @@ export declare const sync: {
541
560
  }, undefined>], undefined>>;
542
561
  user: import("../../../..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
543
562
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
544
- readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
563
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<import("valibot").ObjectSchema<{
545
564
  readonly args: import("valibot").ObjectSchema<{
546
565
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
547
566
  readonly settings: Omit<import("valibot").ObjectSchema<{
@@ -579,7 +598,7 @@ export declare const sync: {
579
598
  readonly clientID: import("valibot").StringSchema<undefined>;
580
599
  readonly id: import("valibot").NumberSchema<undefined>;
581
600
  readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
582
- }, undefined>], undefined>, undefined>;
601
+ }, undefined>[], undefined>, undefined>;
583
602
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
584
603
  readonly data: import("valibot").ObjectSchema<{
585
604
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
@@ -206,7 +206,10 @@ export declare const pull: {
206
206
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
207
207
  }, undefined>;
208
208
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
209
- readonly labelIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
209
+ readonly labelIds: import("valibot").ObjectSchema<{
210
+ readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>, undefined>;
211
+ readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>, undefined>, undefined>;
212
+ }, undefined>;
210
213
  readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
211
214
  readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
212
215
  readonly emailAddresses: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA"}
@@ -58,7 +58,10 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
58
58
  readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
59
59
  }, undefined>;
60
60
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
61
- readonly labelIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
61
+ readonly labelIds: v.ObjectSchema<{
62
+ readonly current: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>, undefined>;
63
+ readonly previous: v.NullableSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>, undefined>, undefined>;
64
+ }, undefined>;
62
65
  readonly previewText: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
63
66
  readonly replyTo: v.ArraySchema<v.ObjectSchema<{
64
67
  readonly emailAddresses: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAiCzB,CAAA"}
1
+ {"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAiCzB,CAAA"}
@@ -1,39 +1,39 @@
1
1
  import * as v from 'valibot';
2
2
  export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/v1/pv/sync/push/account", v.ObjectSchema<{
3
3
  readonly clientGroupID: v.StringSchema<undefined>;
4
- readonly mutations: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
4
+ readonly mutations: v.ArraySchema<v.UnionSchema<(v.ObjectSchema<{
5
5
  readonly args: v.ObjectSchema<{
6
- readonly connectionConfig: v.ObjectSchema<{
7
- readonly imapStatus: v.LiteralSchema<"AWAITING_CONNECTION", undefined>;
8
- readonly imapHost: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
9
- readonly imapPassword: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
10
- readonly imapPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
11
- readonly smtpHost: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
12
- readonly smtpPassword: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
13
- readonly smtpPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
14
- }, undefined>;
6
+ readonly color: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
7
+ readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
15
8
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
16
9
  }, undefined>;
17
10
  readonly clientID: v.StringSchema<undefined>;
18
11
  readonly id: v.NumberSchema<undefined>;
19
- readonly name: v.LiteralSchema<"setConnectionConfig", undefined>;
20
- }, undefined>, v.ObjectSchema<{
12
+ readonly name: v.LiteralSchema<"add", undefined>;
13
+ }, undefined> | v.ObjectSchema<{
21
14
  readonly args: v.ObjectSchema<{
22
- readonly color: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
23
- readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
24
15
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
25
16
  }, undefined>;
26
17
  readonly clientID: v.StringSchema<undefined>;
27
18
  readonly id: v.NumberSchema<undefined>;
28
- readonly name: v.LiteralSchema<"add", undefined>;
29
- }, undefined>, v.ObjectSchema<{
19
+ readonly name: v.LiteralSchema<"delete", undefined>;
20
+ }, undefined> | v.ObjectSchema<{
30
21
  readonly args: v.ObjectSchema<{
22
+ readonly connectionConfig: v.ObjectSchema<{
23
+ readonly imapStatus: v.LiteralSchema<"AWAITING_CONNECTION", undefined>;
24
+ readonly imapHost: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
25
+ readonly imapPassword: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
26
+ readonly imapPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
27
+ readonly smtpHost: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
28
+ readonly smtpPassword: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
29
+ readonly smtpPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
30
+ }, undefined>;
31
31
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
32
32
  }, undefined>;
33
33
  readonly clientID: v.StringSchema<undefined>;
34
34
  readonly id: v.NumberSchema<undefined>;
35
- readonly name: v.LiteralSchema<"delete", undefined>;
36
- }, undefined>, v.ObjectSchema<{
35
+ readonly name: v.LiteralSchema<"setConnectionConfig", undefined>;
36
+ }, undefined> | v.ObjectSchema<{
37
37
  readonly args: v.ObjectSchema<{
38
38
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
39
39
  readonly settings: Omit<v.ObjectSchema<{
@@ -78,7 +78,7 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
78
78
  readonly clientID: v.StringSchema<undefined>;
79
79
  readonly id: v.NumberSchema<undefined>;
80
80
  readonly name: v.LiteralSchema<"setSettings", undefined>;
81
- }, undefined>], undefined>, undefined>;
81
+ }, undefined>)[], undefined>, undefined>;
82
82
  }, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
83
83
  readonly data: v.ObjectSchema<{
84
84
  readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAuC1B,CAAA"}
1
+ {"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAyC1B,CAAA"}
@@ -5,32 +5,32 @@ import { errors } from '../../../../../sdk/validation/errors';
5
5
  export const syncPushAccount = createEndpoint({
6
6
  body: v.object({
7
7
  clientGroupID: v.string(),
8
- mutations: v.array(v.union([
9
- v.object({
10
- args: account.mutators.setConnectionConfig.delta,
11
- clientID: v.string(),
12
- id: v.number(),
13
- name: v.literal('setConnectionConfig'),
14
- }),
15
- v.object({
8
+ mutations: v.array(v.union(Object.values({
9
+ add: v.object({
16
10
  args: account.mutators.add.delta,
17
11
  clientID: v.string(),
18
12
  id: v.number(),
19
13
  name: v.literal('add'),
20
14
  }),
21
- v.object({
15
+ delete: v.object({
22
16
  args: account.mutators.delete.delta,
23
17
  clientID: v.string(),
24
18
  id: v.number(),
25
19
  name: v.literal('delete'),
26
20
  }),
27
- v.object({
21
+ setConnectionConfig: v.object({
22
+ args: account.mutators.setConnectionConfig.delta,
23
+ clientID: v.string(),
24
+ id: v.number(),
25
+ name: v.literal('setConnectionConfig'),
26
+ }),
27
+ setSettings: v.object({
28
28
  args: account.mutators.setSettings.delta,
29
29
  clientID: v.string(),
30
30
  id: v.number(),
31
31
  name: v.literal('setSettings'),
32
32
  }),
33
- ])),
33
+ }))),
34
34
  }),
35
35
  method: 'POST',
36
36
  path: account.pushURL,
@@ -1 +1 @@
1
- {"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA6C5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAcxB,CAAA"}
1
+ {"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAqDxB,CAAA"}
@@ -2,48 +2,47 @@ import * as v from 'valibot';
2
2
  import { draft } from '../../../../../clients/draft';
3
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
4
4
  import { errors } from '../../../../../sdk/validation/errors';
5
- const mutationHandlers = {
6
- create: v.object({
7
- args: draft.mutators.create.delta,
8
- clientID: v.string(),
9
- id: v.number(),
10
- name: v.literal('create'),
11
- }),
12
- delete: v.object({
13
- args: draft.mutators.delete.delta,
14
- clientID: v.string(),
15
- id: v.number(),
16
- name: v.literal('delete'),
17
- }),
18
- setContent: v.object({
19
- args: draft.mutators.setContent.delta,
20
- clientID: v.string(),
21
- id: v.number(),
22
- name: v.literal('setContent'),
23
- }),
24
- setEmailAccountId: v.object({
25
- args: draft.mutators.setEmailAccountId.delta,
26
- clientID: v.string(),
27
- id: v.number(),
28
- name: v.literal('setEmailAccountId'),
29
- }),
30
- setEnvelope: v.object({
31
- args: draft.mutators.setEnvelope.delta,
32
- clientID: v.string(),
33
- id: v.number(),
34
- name: v.literal('setEnvelope'),
35
- }),
36
- setStatus: v.object({
37
- args: draft.mutators.setStatus.delta,
38
- clientID: v.string(),
39
- id: v.number(),
40
- name: v.literal('setStatus'),
41
- }),
42
- };
43
5
  export const syncPushDraft = createEndpoint({
44
6
  body: v.object({
45
7
  clientGroupID: v.string(),
46
- mutations: v.array(v.union(Object.values(mutationHandlers))),
8
+ mutations: v.array(v.union(Object.values({
9
+ create: v.object({
10
+ args: draft.mutators.create.delta,
11
+ clientID: v.string(),
12
+ id: v.number(),
13
+ name: v.literal('create'),
14
+ }),
15
+ delete: v.object({
16
+ args: draft.mutators.delete.delta,
17
+ clientID: v.string(),
18
+ id: v.number(),
19
+ name: v.literal('delete'),
20
+ }),
21
+ setContent: v.object({
22
+ args: draft.mutators.setContent.delta,
23
+ clientID: v.string(),
24
+ id: v.number(),
25
+ name: v.literal('setContent'),
26
+ }),
27
+ setEmailAccountId: v.object({
28
+ args: draft.mutators.setEmailAccountId.delta,
29
+ clientID: v.string(),
30
+ id: v.number(),
31
+ name: v.literal('setEmailAccountId'),
32
+ }),
33
+ setEnvelope: v.object({
34
+ args: draft.mutators.setEnvelope.delta,
35
+ clientID: v.string(),
36
+ id: v.number(),
37
+ name: v.literal('setEnvelope'),
38
+ }),
39
+ setStatus: v.object({
40
+ args: draft.mutators.setStatus.delta,
41
+ clientID: v.string(),
42
+ id: v.number(),
43
+ name: v.literal('setStatus'),
44
+ }),
45
+ }))),
47
46
  }),
48
47
  method: 'POST',
49
48
  path: draft.pushURL,
@@ -1,39 +1,39 @@
1
1
  export declare const push: {
2
2
  account: import("../../../../..").EndpointConfig<"/v1/pv/sync/push/account", import("valibot").ObjectSchema<{
3
3
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
4
- readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
4
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
5
5
  readonly args: import("valibot").ObjectSchema<{
6
- readonly connectionConfig: import("valibot").ObjectSchema<{
7
- readonly imapStatus: import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>;
8
- readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
9
- readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
10
- readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
11
- readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
12
- readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
13
- readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
14
- }, undefined>;
6
+ readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
7
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
15
8
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
16
9
  }, undefined>;
17
10
  readonly clientID: import("valibot").StringSchema<undefined>;
18
11
  readonly id: import("valibot").NumberSchema<undefined>;
19
- readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
20
- }, undefined>, import("valibot").ObjectSchema<{
12
+ readonly name: import("valibot").LiteralSchema<"add", undefined>;
13
+ }, undefined> | import("valibot").ObjectSchema<{
21
14
  readonly args: import("valibot").ObjectSchema<{
22
- readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
23
- readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
24
15
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
25
16
  }, undefined>;
26
17
  readonly clientID: import("valibot").StringSchema<undefined>;
27
18
  readonly id: import("valibot").NumberSchema<undefined>;
28
- readonly name: import("valibot").LiteralSchema<"add", undefined>;
29
- }, undefined>, import("valibot").ObjectSchema<{
19
+ readonly name: import("valibot").LiteralSchema<"delete", undefined>;
20
+ }, undefined> | import("valibot").ObjectSchema<{
30
21
  readonly args: import("valibot").ObjectSchema<{
22
+ readonly connectionConfig: import("valibot").ObjectSchema<{
23
+ readonly imapStatus: import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>;
24
+ readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
25
+ readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
26
+ readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
27
+ readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
28
+ readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
29
+ readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
30
+ }, undefined>;
31
31
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
32
32
  }, undefined>;
33
33
  readonly clientID: import("valibot").StringSchema<undefined>;
34
34
  readonly id: import("valibot").NumberSchema<undefined>;
35
- readonly name: import("valibot").LiteralSchema<"delete", undefined>;
36
- }, undefined>, import("valibot").ObjectSchema<{
35
+ readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
36
+ }, undefined> | import("valibot").ObjectSchema<{
37
37
  readonly args: import("valibot").ObjectSchema<{
38
38
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
39
39
  readonly settings: Omit<import("valibot").ObjectSchema<{
@@ -78,7 +78,7 @@ export declare const push: {
78
78
  readonly clientID: import("valibot").StringSchema<undefined>;
79
79
  readonly id: import("valibot").NumberSchema<undefined>;
80
80
  readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
81
- }, undefined>], undefined>, undefined>;
81
+ }, undefined>)[], undefined>, undefined>;
82
82
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
83
83
  readonly data: import("valibot").ObjectSchema<{
84
84
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -231,7 +231,22 @@ export declare const push: {
231
231
  }, undefined>], undefined>>;
232
232
  thread: import("../../../../..").EndpointConfig<"/v1/pv/sync/push/thread", import("valibot").ObjectSchema<{
233
233
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
234
- readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
234
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
235
+ readonly args: import("valibot").ObjectSchema<{
236
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
237
+ }, undefined>;
238
+ readonly clientID: import("valibot").StringSchema<undefined>;
239
+ readonly id: import("valibot").NumberSchema<undefined>;
240
+ readonly name: import("valibot").LiteralSchema<"delete", undefined>;
241
+ }, undefined> | import("valibot").ObjectSchema<{
242
+ readonly args: import("valibot").ObjectSchema<{
243
+ readonly labelIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
244
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
245
+ }, undefined>;
246
+ readonly clientID: import("valibot").StringSchema<undefined>;
247
+ readonly id: import("valibot").NumberSchema<undefined>;
248
+ readonly name: import("valibot").LiteralSchema<"setLabels", undefined>;
249
+ }, undefined> | import("valibot").ObjectSchema<{
235
250
  readonly args: import("valibot").ObjectSchema<{
236
251
  readonly messageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
237
252
  readonly seen: import("valibot").BooleanSchema<undefined>;
@@ -240,14 +255,15 @@ export declare const push: {
240
255
  readonly clientID: import("valibot").StringSchema<undefined>;
241
256
  readonly id: import("valibot").NumberSchema<undefined>;
242
257
  readonly name: import("valibot").LiteralSchema<"setMessageSeen", undefined>;
243
- }, undefined>, import("valibot").ObjectSchema<{
258
+ }, undefined> | import("valibot").ObjectSchema<{
244
259
  readonly args: import("valibot").ObjectSchema<{
260
+ readonly specialUse: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ARCHIVE", undefined>, import("valibot").LiteralSchema<"INBOX", undefined>, import("valibot").LiteralSchema<"SENT", undefined>, import("valibot").LiteralSchema<"SPAM", undefined>, import("valibot").LiteralSchema<"TRASH", undefined>], undefined>;
245
261
  readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
246
262
  }, undefined>;
247
263
  readonly clientID: import("valibot").StringSchema<undefined>;
248
264
  readonly id: import("valibot").NumberSchema<undefined>;
249
- readonly name: import("valibot").LiteralSchema<"moveToTrash", undefined>;
250
- }, undefined>], undefined>, undefined>;
265
+ readonly name: import("valibot").LiteralSchema<"setSpecialUse", undefined>;
266
+ }, undefined>)[], undefined>, undefined>;
251
267
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
252
268
  readonly data: import("valibot").ObjectSchema<{
253
269
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -273,7 +289,7 @@ export declare const push: {
273
289
  }, undefined>], undefined>>;
274
290
  user: import("../../../../..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
275
291
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
276
- readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
292
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<import("valibot").ObjectSchema<{
277
293
  readonly args: import("valibot").ObjectSchema<{
278
294
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
279
295
  readonly settings: Omit<import("valibot").ObjectSchema<{
@@ -311,7 +327,7 @@ export declare const push: {
311
327
  readonly clientID: import("valibot").StringSchema<undefined>;
312
328
  readonly id: import("valibot").NumberSchema<undefined>;
313
329
  readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
314
- }, undefined>], undefined>, undefined>;
330
+ }, undefined>[], undefined>, undefined>;
315
331
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
316
332
  readonly data: import("valibot").ObjectSchema<{
317
333
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAA"}