@marcoappio/marco-config 2.0.200 → 2.0.201

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.
@@ -272,13 +272,14 @@ export declare const marcoClients: {
272
272
  }, undefined>, undefined>;
273
273
  }, undefined>;
274
274
  mutators: {
275
- moveToTrash: {
275
+ delete: {
276
276
  delta: import("valibot").ObjectSchema<{
277
277
  readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
278
278
  }, undefined>;
279
279
  };
280
- permanentlyDelete: {
280
+ setLabels: {
281
281
  delta: import("valibot").ObjectSchema<{
282
+ 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>;
282
283
  readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
283
284
  }, undefined>;
284
285
  };
@@ -289,6 +290,12 @@ export declare const marcoClients: {
289
290
  readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
290
291
  }, undefined>;
291
292
  };
293
+ setSpecialUse: {
294
+ delta: import("valibot").ObjectSchema<{
295
+ 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>;
296
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
297
+ }, undefined>;
298
+ };
292
299
  };
293
300
  name: "thread";
294
301
  pullURL: "/v1/pv/sync/pull/thread";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMc,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMc,CAAA"}
@@ -34,13 +34,14 @@ export declare const thread: {
34
34
  }, undefined>, undefined>;
35
35
  }, undefined>;
36
36
  mutators: {
37
- moveToTrash: {
37
+ delete: {
38
38
  delta: v.ObjectSchema<{
39
39
  readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
40
40
  }, undefined>;
41
41
  };
42
- permanentlyDelete: {
42
+ setLabels: {
43
43
  delta: v.ObjectSchema<{
44
+ readonly labelIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
44
45
  readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
45
46
  }, undefined>;
46
47
  };
@@ -51,6 +52,12 @@ export declare const thread: {
51
52
  readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
52
53
  }, undefined>;
53
54
  };
55
+ setSpecialUse: {
56
+ delta: v.ObjectSchema<{
57
+ readonly specialUse: v.UnionSchema<[v.LiteralSchema<"ARCHIVE", undefined>, v.LiteralSchema<"INBOX", undefined>, v.LiteralSchema<"SENT", undefined>, v.LiteralSchema<"SPAM", undefined>, v.LiteralSchema<"TRASH", undefined>], undefined>;
58
+ readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
59
+ }, undefined>;
60
+ };
54
61
  };
55
62
  name: "thread";
56
63
  pullURL: "/v1/pv/sync/pull/thread";
@@ -1 +1 @@
1
- {"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../src/clients/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CI,CAAA"}
1
+ {"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../src/clients/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDI,CAAA"}
@@ -25,13 +25,14 @@ export const thread = {
25
25
  })),
26
26
  }),
27
27
  mutators: {
28
- moveToTrash: {
28
+ delete: {
29
29
  delta: v.object({
30
30
  threadId: marcoSchemas.string.uuid(),
31
31
  }),
32
32
  },
33
- permanentlyDelete: {
33
+ setLabels: {
34
34
  delta: v.object({
35
+ labelIds: v.array(marcoSchemas.string.required()),
35
36
  threadId: marcoSchemas.string.uuid(),
36
37
  }),
37
38
  },
@@ -42,6 +43,12 @@ export const thread = {
42
43
  threadId: marcoSchemas.string.uuid(),
43
44
  }),
44
45
  },
46
+ setSpecialUse: {
47
+ delta: v.object({
48
+ specialUse: marcoSchemas.labelSpecialUse(),
49
+ threadId: marcoSchemas.string.uuid(),
50
+ }),
51
+ },
45
52
  },
46
53
  name: 'thread',
47
54
  pullURL: '/v1/pv/sync/pull/thread',
@@ -291,39 +291,39 @@ export declare const endpoints: {
291
291
  push: {
292
292
  account: EndpointConfig<"/v1/pv/sync/push/account", import("valibot").ObjectSchema<{
293
293
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
294
- readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
294
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
295
295
  readonly args: import("valibot").ObjectSchema<{
296
- readonly connectionConfig: import("valibot").ObjectSchema<{
297
- readonly imapStatus: import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>;
298
- readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
299
- readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
300
- 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>;
301
- readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
302
- readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
303
- 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>;
304
- }, undefined>;
296
+ readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
297
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
305
298
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
306
299
  }, undefined>;
307
300
  readonly clientID: import("valibot").StringSchema<undefined>;
308
301
  readonly id: import("valibot").NumberSchema<undefined>;
309
- readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
310
- }, undefined>, import("valibot").ObjectSchema<{
302
+ readonly name: import("valibot").LiteralSchema<"add", undefined>;
303
+ }, undefined> | import("valibot").ObjectSchema<{
311
304
  readonly args: import("valibot").ObjectSchema<{
312
- readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
313
- readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
314
305
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
315
306
  }, undefined>;
316
307
  readonly clientID: import("valibot").StringSchema<undefined>;
317
308
  readonly id: import("valibot").NumberSchema<undefined>;
318
- readonly name: import("valibot").LiteralSchema<"add", undefined>;
319
- }, undefined>, import("valibot").ObjectSchema<{
309
+ readonly name: import("valibot").LiteralSchema<"delete", undefined>;
310
+ }, undefined> | import("valibot").ObjectSchema<{
320
311
  readonly args: import("valibot").ObjectSchema<{
312
+ readonly connectionConfig: import("valibot").ObjectSchema<{
313
+ readonly imapStatus: import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>;
314
+ readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
315
+ readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
316
+ 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>;
317
+ readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
318
+ readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
319
+ 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>;
320
+ }, undefined>;
321
321
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
322
322
  }, undefined>;
323
323
  readonly clientID: import("valibot").StringSchema<undefined>;
324
324
  readonly id: import("valibot").NumberSchema<undefined>;
325
- readonly name: import("valibot").LiteralSchema<"delete", undefined>;
326
- }, undefined>, import("valibot").ObjectSchema<{
325
+ readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
326
+ }, undefined> | import("valibot").ObjectSchema<{
327
327
  readonly args: import("valibot").ObjectSchema<{
328
328
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
329
329
  readonly settings: Omit<import("valibot").ObjectSchema<{
@@ -368,7 +368,7 @@ export declare const endpoints: {
368
368
  readonly clientID: import("valibot").StringSchema<undefined>;
369
369
  readonly id: import("valibot").NumberSchema<undefined>;
370
370
  readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
371
- }, undefined>], undefined>, undefined>;
371
+ }, undefined>)[], undefined>, undefined>;
372
372
  }, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
373
373
  readonly data: import("valibot").ObjectSchema<{
374
374
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -521,7 +521,22 @@ export declare const endpoints: {
521
521
  }, undefined>], undefined>>;
522
522
  thread: EndpointConfig<"/v1/pv/sync/push/thread", import("valibot").ObjectSchema<{
523
523
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
524
- readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
524
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
525
+ readonly args: import("valibot").ObjectSchema<{
526
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
527
+ }, undefined>;
528
+ readonly clientID: import("valibot").StringSchema<undefined>;
529
+ readonly id: import("valibot").NumberSchema<undefined>;
530
+ readonly name: import("valibot").LiteralSchema<"delete", undefined>;
531
+ }, undefined> | import("valibot").ObjectSchema<{
532
+ readonly args: import("valibot").ObjectSchema<{
533
+ 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>;
534
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
535
+ }, undefined>;
536
+ readonly clientID: import("valibot").StringSchema<undefined>;
537
+ readonly id: import("valibot").NumberSchema<undefined>;
538
+ readonly name: import("valibot").LiteralSchema<"setLabels", undefined>;
539
+ }, undefined> | import("valibot").ObjectSchema<{
525
540
  readonly args: import("valibot").ObjectSchema<{
526
541
  readonly messageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
527
542
  readonly seen: import("valibot").BooleanSchema<undefined>;
@@ -530,14 +545,15 @@ export declare const endpoints: {
530
545
  readonly clientID: import("valibot").StringSchema<undefined>;
531
546
  readonly id: import("valibot").NumberSchema<undefined>;
532
547
  readonly name: import("valibot").LiteralSchema<"setMessageSeen", undefined>;
533
- }, undefined>, import("valibot").ObjectSchema<{
548
+ }, undefined> | import("valibot").ObjectSchema<{
534
549
  readonly args: import("valibot").ObjectSchema<{
550
+ 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>;
535
551
  readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
536
552
  }, undefined>;
537
553
  readonly clientID: import("valibot").StringSchema<undefined>;
538
554
  readonly id: import("valibot").NumberSchema<undefined>;
539
- readonly name: import("valibot").LiteralSchema<"moveToTrash", undefined>;
540
- }, undefined>], undefined>, undefined>;
555
+ readonly name: import("valibot").LiteralSchema<"setSpecialUse", undefined>;
556
+ }, undefined>)[], undefined>, undefined>;
541
557
  }, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
542
558
  readonly data: import("valibot").ObjectSchema<{
543
559
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -563,7 +579,7 @@ export declare const endpoints: {
563
579
  }, undefined>], undefined>>;
564
580
  user: EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
565
581
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
566
- readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
582
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<import("valibot").ObjectSchema<{
567
583
  readonly args: import("valibot").ObjectSchema<{
568
584
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
569
585
  readonly settings: Omit<import("valibot").ObjectSchema<{
@@ -601,7 +617,7 @@ export declare const endpoints: {
601
617
  readonly clientID: import("valibot").StringSchema<undefined>;
602
618
  readonly id: import("valibot").NumberSchema<undefined>;
603
619
  readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
604
- }, undefined>], undefined>, undefined>;
620
+ }, undefined>[], undefined>, undefined>;
605
621
  }, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
606
622
  readonly data: import("valibot").ObjectSchema<{
607
623
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAcjE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAcjE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
@@ -288,39 +288,39 @@ export declare const privateGroup: {
288
288
  push: {
289
289
  account: import("../../..").EndpointConfig<"/v1/pv/sync/push/account", import("valibot").ObjectSchema<{
290
290
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
291
- readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
291
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
292
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>;
293
+ readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
294
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
302
295
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
303
296
  }, undefined>;
304
297
  readonly clientID: import("valibot").StringSchema<undefined>;
305
298
  readonly id: import("valibot").NumberSchema<undefined>;
306
- readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
307
- }, undefined>, import("valibot").ObjectSchema<{
299
+ readonly name: import("valibot").LiteralSchema<"add", undefined>;
300
+ }, undefined> | import("valibot").ObjectSchema<{
308
301
  readonly args: import("valibot").ObjectSchema<{
309
- readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
310
- readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
311
302
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
312
303
  }, undefined>;
313
304
  readonly clientID: import("valibot").StringSchema<undefined>;
314
305
  readonly id: import("valibot").NumberSchema<undefined>;
315
- readonly name: import("valibot").LiteralSchema<"add", undefined>;
316
- }, undefined>, import("valibot").ObjectSchema<{
306
+ readonly name: import("valibot").LiteralSchema<"delete", undefined>;
307
+ }, undefined> | import("valibot").ObjectSchema<{
317
308
  readonly args: import("valibot").ObjectSchema<{
309
+ readonly connectionConfig: import("valibot").ObjectSchema<{
310
+ readonly imapStatus: import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>;
311
+ readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
312
+ readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
313
+ 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>;
314
+ readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
315
+ readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
316
+ 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>;
317
+ }, undefined>;
318
318
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
319
319
  }, undefined>;
320
320
  readonly clientID: import("valibot").StringSchema<undefined>;
321
321
  readonly id: import("valibot").NumberSchema<undefined>;
322
- readonly name: import("valibot").LiteralSchema<"delete", undefined>;
323
- }, undefined>, import("valibot").ObjectSchema<{
322
+ readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
323
+ }, undefined> | import("valibot").ObjectSchema<{
324
324
  readonly args: import("valibot").ObjectSchema<{
325
325
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
326
326
  readonly settings: Omit<import("valibot").ObjectSchema<{
@@ -365,7 +365,7 @@ export declare const privateGroup: {
365
365
  readonly clientID: import("valibot").StringSchema<undefined>;
366
366
  readonly id: import("valibot").NumberSchema<undefined>;
367
367
  readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
368
- }, undefined>], undefined>, undefined>;
368
+ }, undefined>)[], undefined>, undefined>;
369
369
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
370
370
  readonly data: import("valibot").ObjectSchema<{
371
371
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -518,7 +518,22 @@ export declare const privateGroup: {
518
518
  }, undefined>], undefined>>;
519
519
  thread: import("../../..").EndpointConfig<"/v1/pv/sync/push/thread", import("valibot").ObjectSchema<{
520
520
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
521
- readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
521
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
522
+ readonly args: import("valibot").ObjectSchema<{
523
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
524
+ }, undefined>;
525
+ readonly clientID: import("valibot").StringSchema<undefined>;
526
+ readonly id: import("valibot").NumberSchema<undefined>;
527
+ readonly name: import("valibot").LiteralSchema<"delete", undefined>;
528
+ }, undefined> | import("valibot").ObjectSchema<{
529
+ readonly args: import("valibot").ObjectSchema<{
530
+ 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>;
531
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
532
+ }, undefined>;
533
+ readonly clientID: import("valibot").StringSchema<undefined>;
534
+ readonly id: import("valibot").NumberSchema<undefined>;
535
+ readonly name: import("valibot").LiteralSchema<"setLabels", undefined>;
536
+ }, undefined> | import("valibot").ObjectSchema<{
522
537
  readonly args: import("valibot").ObjectSchema<{
523
538
  readonly messageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
524
539
  readonly seen: import("valibot").BooleanSchema<undefined>;
@@ -527,14 +542,15 @@ export declare const privateGroup: {
527
542
  readonly clientID: import("valibot").StringSchema<undefined>;
528
543
  readonly id: import("valibot").NumberSchema<undefined>;
529
544
  readonly name: import("valibot").LiteralSchema<"setMessageSeen", undefined>;
530
- }, undefined>, import("valibot").ObjectSchema<{
545
+ }, undefined> | import("valibot").ObjectSchema<{
531
546
  readonly args: import("valibot").ObjectSchema<{
547
+ 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>;
532
548
  readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
533
549
  }, undefined>;
534
550
  readonly clientID: import("valibot").StringSchema<undefined>;
535
551
  readonly id: import("valibot").NumberSchema<undefined>;
536
- readonly name: import("valibot").LiteralSchema<"moveToTrash", undefined>;
537
- }, undefined>], undefined>, undefined>;
552
+ readonly name: import("valibot").LiteralSchema<"setSpecialUse", undefined>;
553
+ }, undefined>)[], undefined>, undefined>;
538
554
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
539
555
  readonly data: import("valibot").ObjectSchema<{
540
556
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -560,7 +576,7 @@ export declare const privateGroup: {
560
576
  }, undefined>], undefined>>;
561
577
  user: import("../../..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
562
578
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
563
- readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
579
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<import("valibot").ObjectSchema<{
564
580
  readonly args: import("valibot").ObjectSchema<{
565
581
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
566
582
  readonly settings: Omit<import("valibot").ObjectSchema<{
@@ -598,7 +614,7 @@ export declare const privateGroup: {
598
614
  readonly clientID: import("valibot").StringSchema<undefined>;
599
615
  readonly id: import("valibot").NumberSchema<undefined>;
600
616
  readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
601
- }, undefined>], undefined>, undefined>;
617
+ }, undefined>[], undefined>, undefined>;
602
618
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
603
619
  readonly data: import("valibot").ObjectSchema<{
604
620
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAA"}
@@ -269,39 +269,39 @@ export declare const sync: {
269
269
  push: {
270
270
  account: import("../../../..").EndpointConfig<"/v1/pv/sync/push/account", import("valibot").ObjectSchema<{
271
271
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
272
- readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
272
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
273
273
  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>;
274
+ readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
275
+ 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
276
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
284
277
  }, undefined>;
285
278
  readonly clientID: import("valibot").StringSchema<undefined>;
286
279
  readonly id: import("valibot").NumberSchema<undefined>;
287
- readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
288
- }, undefined>, import("valibot").ObjectSchema<{
280
+ readonly name: import("valibot").LiteralSchema<"add", undefined>;
281
+ }, undefined> | import("valibot").ObjectSchema<{
289
282
  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
283
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
293
284
  }, undefined>;
294
285
  readonly clientID: import("valibot").StringSchema<undefined>;
295
286
  readonly id: import("valibot").NumberSchema<undefined>;
296
- readonly name: import("valibot").LiteralSchema<"add", undefined>;
297
- }, undefined>, import("valibot").ObjectSchema<{
287
+ readonly name: import("valibot").LiteralSchema<"delete", undefined>;
288
+ }, undefined> | import("valibot").ObjectSchema<{
298
289
  readonly args: import("valibot").ObjectSchema<{
290
+ readonly connectionConfig: import("valibot").ObjectSchema<{
291
+ readonly imapStatus: import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>;
292
+ readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
293
+ readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
294
+ 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>;
295
+ readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
296
+ readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
297
+ 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>;
298
+ }, undefined>;
299
299
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
300
300
  }, undefined>;
301
301
  readonly clientID: import("valibot").StringSchema<undefined>;
302
302
  readonly id: import("valibot").NumberSchema<undefined>;
303
- readonly name: import("valibot").LiteralSchema<"delete", undefined>;
304
- }, undefined>, import("valibot").ObjectSchema<{
303
+ readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
304
+ }, undefined> | import("valibot").ObjectSchema<{
305
305
  readonly args: import("valibot").ObjectSchema<{
306
306
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
307
307
  readonly settings: Omit<import("valibot").ObjectSchema<{
@@ -346,7 +346,7 @@ export declare const sync: {
346
346
  readonly clientID: import("valibot").StringSchema<undefined>;
347
347
  readonly id: import("valibot").NumberSchema<undefined>;
348
348
  readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
349
- }, undefined>], undefined>, undefined>;
349
+ }, undefined>)[], undefined>, undefined>;
350
350
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
351
351
  readonly data: import("valibot").ObjectSchema<{
352
352
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -499,7 +499,22 @@ export declare const sync: {
499
499
  }, undefined>], undefined>>;
500
500
  thread: import("../../../..").EndpointConfig<"/v1/pv/sync/push/thread", import("valibot").ObjectSchema<{
501
501
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
502
- readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
502
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
503
+ readonly args: import("valibot").ObjectSchema<{
504
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
505
+ }, undefined>;
506
+ readonly clientID: import("valibot").StringSchema<undefined>;
507
+ readonly id: import("valibot").NumberSchema<undefined>;
508
+ readonly name: import("valibot").LiteralSchema<"delete", undefined>;
509
+ }, undefined> | import("valibot").ObjectSchema<{
510
+ readonly args: import("valibot").ObjectSchema<{
511
+ 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>;
512
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
513
+ }, undefined>;
514
+ readonly clientID: import("valibot").StringSchema<undefined>;
515
+ readonly id: import("valibot").NumberSchema<undefined>;
516
+ readonly name: import("valibot").LiteralSchema<"setLabels", undefined>;
517
+ }, undefined> | import("valibot").ObjectSchema<{
503
518
  readonly args: import("valibot").ObjectSchema<{
504
519
  readonly messageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
505
520
  readonly seen: import("valibot").BooleanSchema<undefined>;
@@ -508,14 +523,15 @@ export declare const sync: {
508
523
  readonly clientID: import("valibot").StringSchema<undefined>;
509
524
  readonly id: import("valibot").NumberSchema<undefined>;
510
525
  readonly name: import("valibot").LiteralSchema<"setMessageSeen", undefined>;
511
- }, undefined>, import("valibot").ObjectSchema<{
526
+ }, undefined> | import("valibot").ObjectSchema<{
512
527
  readonly args: import("valibot").ObjectSchema<{
528
+ 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
529
  readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
514
530
  }, undefined>;
515
531
  readonly clientID: import("valibot").StringSchema<undefined>;
516
532
  readonly id: import("valibot").NumberSchema<undefined>;
517
- readonly name: import("valibot").LiteralSchema<"moveToTrash", undefined>;
518
- }, undefined>], undefined>, undefined>;
533
+ readonly name: import("valibot").LiteralSchema<"setSpecialUse", undefined>;
534
+ }, undefined>)[], undefined>, undefined>;
519
535
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
520
536
  readonly data: import("valibot").ObjectSchema<{
521
537
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -541,7 +557,7 @@ export declare const sync: {
541
557
  }, undefined>], undefined>>;
542
558
  user: import("../../../..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
543
559
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
544
- readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
560
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<import("valibot").ObjectSchema<{
545
561
  readonly args: import("valibot").ObjectSchema<{
546
562
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
547
563
  readonly settings: Omit<import("valibot").ObjectSchema<{
@@ -579,7 +595,7 @@ export declare const sync: {
579
595
  readonly clientID: import("valibot").StringSchema<undefined>;
580
596
  readonly id: import("valibot").NumberSchema<undefined>;
581
597
  readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
582
- }, undefined>], undefined>, undefined>;
598
+ }, undefined>[], undefined>, undefined>;
583
599
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
584
600
  readonly data: import("valibot").ObjectSchema<{
585
601
  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"}