@marcoappio/marco-config 2.0.286 → 2.0.288

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 (40) hide show
  1. package/dist/clients/account.d.ts +31 -2
  2. package/dist/clients/account.d.ts.map +1 -1
  3. package/dist/clients/account.js +31 -2
  4. package/dist/clients/contact.d.ts +2 -2
  5. package/dist/clients/contact.js +2 -2
  6. package/dist/clients/draft.d.ts +2 -2
  7. package/dist/clients/draft.js +2 -2
  8. package/dist/clients/index.d.ts +39 -10
  9. package/dist/clients/index.d.ts.map +1 -1
  10. package/dist/clients/thread.d.ts +2 -2
  11. package/dist/clients/thread.js +2 -2
  12. package/dist/clients/user.d.ts +2 -2
  13. package/dist/clients/user.js +2 -2
  14. package/dist/sdk/endpoints/index.d.ts +37 -0
  15. package/dist/sdk/endpoints/index.d.ts.map +1 -1
  16. package/dist/sdk/endpoints/private/index.d.ts +37 -0
  17. package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
  18. package/dist/sdk/endpoints/private/sync/index.d.ts +37 -0
  19. package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
  20. package/dist/sdk/endpoints/private/sync/pull/account.d.ts +6 -0
  21. package/dist/sdk/endpoints/private/sync/pull/account.d.ts.map +1 -1
  22. package/dist/sdk/endpoints/private/sync/pull/account.js +1 -1
  23. package/dist/sdk/endpoints/private/sync/pull/contact.js +1 -1
  24. package/dist/sdk/endpoints/private/sync/pull/draft.js +1 -1
  25. package/dist/sdk/endpoints/private/sync/pull/index.d.ts +6 -0
  26. package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
  27. package/dist/sdk/endpoints/private/sync/pull/thread.js +1 -1
  28. package/dist/sdk/endpoints/private/sync/pull/user.js +1 -1
  29. package/dist/sdk/endpoints/private/sync/push/account.d.ts +31 -0
  30. package/dist/sdk/endpoints/private/sync/push/account.d.ts.map +1 -1
  31. package/dist/sdk/endpoints/private/sync/push/account.js +25 -1
  32. package/dist/sdk/endpoints/private/sync/push/draft.js +1 -1
  33. package/dist/sdk/endpoints/private/sync/push/index.d.ts +31 -0
  34. package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
  35. package/dist/sdk/endpoints/private/sync/push/thread.js +1 -1
  36. package/dist/sdk/endpoints/private/sync/push/user.js +1 -1
  37. package/dist/sdk/index.d.ts +37 -0
  38. package/dist/sdk/index.d.ts.map +1 -1
  39. package/dist/types/MarcoClient.d.ts +2 -2
  40. package/package.json +1 -1
@@ -1,6 +1,12 @@
1
1
  import * as v from 'valibot';
2
2
  export declare const account: {
3
3
  model: v.ObjectSchema<{
4
+ readonly aliases: v.ArraySchema<v.ObjectSchema<{
5
+ readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
6
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
7
+ readonly isHidden: v.BooleanSchema<undefined>;
8
+ readonly isPrimary: v.BooleanSchema<undefined>;
9
+ }, undefined>, undefined>;
4
10
  readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
5
11
  readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
6
12
  readonly imapConnectionStatus: v.UnionSchema<[v.LiteralSchema<"AWAITING_CONNECTION", undefined>, v.LiteralSchema<"CONNECTED", undefined>, v.LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
@@ -27,11 +33,34 @@ export declare const account: {
27
33
  readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
28
34
  }, undefined>;
29
35
  };
36
+ createAlias: {
37
+ delta: v.ObjectSchema<{
38
+ readonly aliasId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
39
+ readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
40
+ readonly isHidden: v.BooleanSchema<undefined>;
41
+ readonly isPrimary: v.BooleanSchema<undefined>;
42
+ }, undefined>;
43
+ };
30
44
  delete: {
31
45
  delta: v.ObjectSchema<{
32
46
  readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
33
47
  }, undefined>;
34
48
  };
49
+ deleteAlias: {
50
+ delta: v.ObjectSchema<{
51
+ readonly aliasId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
52
+ }, undefined>;
53
+ };
54
+ setAliasHidden: {
55
+ delta: v.ObjectSchema<{
56
+ readonly aliasId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
57
+ }, undefined>;
58
+ };
59
+ setAliasPrimary: {
60
+ delta: v.ObjectSchema<{
61
+ readonly aliasId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
62
+ }, undefined>;
63
+ };
35
64
  setConnectionConfig: {
36
65
  delta: v.ObjectSchema<{
37
66
  readonly connectionConfig: v.ObjectSchema<{
@@ -105,8 +134,8 @@ export declare const account: {
105
134
  };
106
135
  };
107
136
  name: "account";
108
- pullURL: "/v1/pv/sync/pull/account";
109
- pushURL: "/v1/pv/sync/push/account";
137
+ pullUrl: "/v1/pv/sync/pull/account";
138
+ pushUrl: "/v1/pv/sync/push/account";
110
139
  schemaVersion: "v1";
111
140
  };
112
141
  //# sourceMappingURL=account.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../src/clients/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DG,CAAA"}
1
+ {"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../src/clients/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4FG,CAAA"}
@@ -6,6 +6,12 @@ const accountSettings = v.object({
6
6
  });
7
7
  export const account = {
8
8
  model: v.object({
9
+ aliases: v.array(v.object({
10
+ emailAddress: marcoSchemas.string.email(),
11
+ id: marcoSchemas.string.shortUUID(),
12
+ isHidden: v.boolean(),
13
+ isPrimary: v.boolean(),
14
+ })),
9
15
  emailAddress: marcoSchemas.string.email(),
10
16
  id: marcoSchemas.string.shortUUID(),
11
17
  imapConnectionStatus: marcoSchemas.emailAccount.imapConnectionStatus(),
@@ -29,11 +35,34 @@ export const account = {
29
35
  id: marcoSchemas.string.shortUUID(),
30
36
  }),
31
37
  },
38
+ createAlias: {
39
+ delta: v.object({
40
+ aliasId: marcoSchemas.string.shortUUID(),
41
+ emailAddress: marcoSchemas.string.email(),
42
+ isHidden: v.boolean(),
43
+ isPrimary: v.boolean(),
44
+ }),
45
+ },
32
46
  delete: {
33
47
  delta: v.object({
34
48
  id: marcoSchemas.string.shortUUID(),
35
49
  }),
36
50
  },
51
+ deleteAlias: {
52
+ delta: v.object({
53
+ aliasId: marcoSchemas.string.shortUUID(),
54
+ }),
55
+ },
56
+ setAliasHidden: {
57
+ delta: v.object({
58
+ aliasId: marcoSchemas.string.shortUUID(),
59
+ }),
60
+ },
61
+ setAliasPrimary: {
62
+ delta: v.object({
63
+ aliasId: marcoSchemas.string.shortUUID(),
64
+ }),
65
+ },
37
66
  setConnectionConfig: {
38
67
  delta: v.object({
39
68
  connectionConfig: marcoSchemas.emailAccount.connectionConfigImapRaw(),
@@ -60,7 +89,7 @@ export const account = {
60
89
  },
61
90
  },
62
91
  name: 'account',
63
- pullURL: '/v1/pv/sync/pull/account',
64
- pushURL: '/v1/pv/sync/push/account',
92
+ pullUrl: '/v1/pv/sync/pull/account',
93
+ pushUrl: '/v1/pv/sync/push/account',
65
94
  schemaVersion: 'v1',
66
95
  };
@@ -7,8 +7,8 @@ export declare const contact: {
7
7
  }, undefined>;
8
8
  mutators: {};
9
9
  name: "contact";
10
- pullURL: "/v1/pv/sync/pull/contact";
11
- pushURL: null;
10
+ pullUrl: "/v1/pv/sync/pull/contact";
11
+ pushUrl: null;
12
12
  schemaVersion: "v1";
13
13
  };
14
14
  //# sourceMappingURL=contact.d.ts.map
@@ -8,7 +8,7 @@ export const contact = {
8
8
  }),
9
9
  mutators: {},
10
10
  name: 'contact',
11
- pullURL: '/v1/pv/sync/pull/contact',
12
- pushURL: null,
11
+ pullUrl: '/v1/pv/sync/pull/contact',
12
+ pushUrl: null,
13
13
  schemaVersion: 'v1',
14
14
  };
@@ -163,8 +163,8 @@ export declare const draft: {
163
163
  };
164
164
  };
165
165
  name: "draft";
166
- pullURL: "/v1/pv/sync/pull/draft";
167
- pushURL: "/v1/pv/sync/push/draft";
166
+ pullUrl: "/v1/pv/sync/pull/draft";
167
+ pushUrl: "/v1/pv/sync/push/draft";
168
168
  schemaVersion: "v1";
169
169
  };
170
170
  //# sourceMappingURL=draft.d.ts.map
@@ -96,7 +96,7 @@ export const draft = {
96
96
  },
97
97
  },
98
98
  name: 'draft',
99
- pullURL: '/v1/pv/sync/pull/draft',
100
- pushURL: '/v1/pv/sync/push/draft',
99
+ pullUrl: '/v1/pv/sync/pull/draft',
100
+ pushUrl: '/v1/pv/sync/push/draft',
101
101
  schemaVersion: 'v1',
102
102
  };
@@ -2,6 +2,12 @@ export { marcoClientsUtils } from './utils';
2
2
  export declare const marcoClients: {
3
3
  account: {
4
4
  model: import("valibot").ObjectSchema<{
5
+ readonly aliases: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
6
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
7
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
8
+ readonly isHidden: import("valibot").BooleanSchema<undefined>;
9
+ readonly isPrimary: import("valibot").BooleanSchema<undefined>;
10
+ }, undefined>, undefined>;
5
11
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
6
12
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
7
13
  readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
@@ -28,11 +34,34 @@ export declare const marcoClients: {
28
34
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
29
35
  }, undefined>;
30
36
  };
37
+ createAlias: {
38
+ delta: import("valibot").ObjectSchema<{
39
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
40
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
41
+ readonly isHidden: import("valibot").BooleanSchema<undefined>;
42
+ readonly isPrimary: import("valibot").BooleanSchema<undefined>;
43
+ }, undefined>;
44
+ };
31
45
  delete: {
32
46
  delta: import("valibot").ObjectSchema<{
33
47
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
34
48
  }, undefined>;
35
49
  };
50
+ deleteAlias: {
51
+ delta: import("valibot").ObjectSchema<{
52
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
53
+ }, undefined>;
54
+ };
55
+ setAliasHidden: {
56
+ delta: import("valibot").ObjectSchema<{
57
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
58
+ }, undefined>;
59
+ };
60
+ setAliasPrimary: {
61
+ delta: import("valibot").ObjectSchema<{
62
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
63
+ }, undefined>;
64
+ };
36
65
  setConnectionConfig: {
37
66
  delta: import("valibot").ObjectSchema<{
38
67
  readonly connectionConfig: import("valibot").ObjectSchema<{
@@ -106,8 +135,8 @@ export declare const marcoClients: {
106
135
  };
107
136
  };
108
137
  name: "account";
109
- pullURL: "/v1/pv/sync/pull/account";
110
- pushURL: "/v1/pv/sync/push/account";
138
+ pullUrl: "/v1/pv/sync/pull/account";
139
+ pushUrl: "/v1/pv/sync/push/account";
111
140
  schemaVersion: "v1";
112
141
  };
113
142
  contact: {
@@ -118,8 +147,8 @@ export declare const marcoClients: {
118
147
  }, undefined>;
119
148
  mutators: {};
120
149
  name: "contact";
121
- pullURL: "/v1/pv/sync/pull/contact";
122
- pushURL: null;
150
+ pullUrl: "/v1/pv/sync/pull/contact";
151
+ pushUrl: null;
123
152
  schemaVersion: "v1";
124
153
  };
125
154
  draft: {
@@ -286,8 +315,8 @@ export declare const marcoClients: {
286
315
  };
287
316
  };
288
317
  name: "draft";
289
- pullURL: "/v1/pv/sync/pull/draft";
290
- pushURL: "/v1/pv/sync/push/draft";
318
+ pullUrl: "/v1/pv/sync/pull/draft";
319
+ pushUrl: "/v1/pv/sync/push/draft";
291
320
  schemaVersion: "v1";
292
321
  };
293
322
  thread: {
@@ -377,8 +406,8 @@ export declare const marcoClients: {
377
406
  };
378
407
  };
379
408
  name: "thread";
380
- pullURL: "/v1/pv/sync/pull/thread";
381
- pushURL: "/v1/pv/sync/push/thread";
409
+ pullUrl: "/v1/pv/sync/pull/thread";
410
+ pushUrl: "/v1/pv/sync/push/thread";
382
411
  schemaVersion: "v1";
383
412
  };
384
413
  user: {
@@ -420,8 +449,8 @@ export declare const marcoClients: {
420
449
  };
421
450
  };
422
451
  name: "user";
423
- pullURL: "/v1/pv/sync/pull/user";
424
- pushURL: "/v1/pv/sync/push/user";
452
+ pullUrl: "/v1/pv/sync/pull/user";
453
+ pushUrl: "/v1/pv/sync/push/user";
425
454
  schemaVersion: "v1";
426
455
  };
427
456
  };
@@ -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"}
@@ -86,8 +86,8 @@ export declare const thread: {
86
86
  };
87
87
  };
88
88
  name: "thread";
89
- pullURL: "/v1/pv/sync/pull/thread";
90
- pushURL: "/v1/pv/sync/push/thread";
89
+ pullUrl: "/v1/pv/sync/pull/thread";
90
+ pushUrl: "/v1/pv/sync/push/thread";
91
91
  schemaVersion: "v1";
92
92
  };
93
93
  //# sourceMappingURL=thread.d.ts.map
@@ -81,7 +81,7 @@ export const thread = {
81
81
  },
82
82
  },
83
83
  name: 'thread',
84
- pullURL: '/v1/pv/sync/pull/thread',
85
- pushURL: '/v1/pv/sync/push/thread',
84
+ pullUrl: '/v1/pv/sync/pull/thread',
85
+ pushUrl: '/v1/pv/sync/push/thread',
86
86
  schemaVersion: 'v1',
87
87
  };
@@ -38,8 +38,8 @@ export declare const user: {
38
38
  };
39
39
  };
40
40
  name: "user";
41
- pullURL: "/v1/pv/sync/pull/user";
42
- pushURL: "/v1/pv/sync/push/user";
41
+ pullUrl: "/v1/pv/sync/pull/user";
42
+ pushUrl: "/v1/pv/sync/push/user";
43
43
  schemaVersion: "v1";
44
44
  };
45
45
  //# sourceMappingURL=user.d.ts.map
@@ -17,7 +17,7 @@ export const user = {
17
17
  },
18
18
  },
19
19
  name: 'user',
20
- pullURL: '/v1/pv/sync/pull/user',
21
- pushURL: '/v1/pv/sync/push/user',
20
+ pullUrl: '/v1/pv/sync/pull/user',
21
+ pushUrl: '/v1/pv/sync/push/user',
22
22
  schemaVersion: 'v1',
23
23
  };
@@ -100,6 +100,12 @@ export declare const endpoints: {
100
100
  readonly key: import("valibot").StringSchema<undefined>;
101
101
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
102
102
  readonly value: import("valibot").ObjectSchema<{
103
+ readonly aliases: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
104
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
105
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
106
+ readonly isHidden: import("valibot").BooleanSchema<undefined>;
107
+ readonly isPrimary: import("valibot").BooleanSchema<undefined>;
108
+ }, undefined>, undefined>;
103
109
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
104
110
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
105
111
  readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
@@ -361,6 +367,16 @@ export declare const endpoints: {
361
367
  readonly clientID: import("valibot").StringSchema<undefined>;
362
368
  readonly id: import("valibot").NumberSchema<undefined>;
363
369
  readonly name: import("valibot").LiteralSchema<"add", undefined>;
370
+ }, undefined> | import("valibot").ObjectSchema<{
371
+ readonly args: import("valibot").ObjectSchema<{
372
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
373
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
374
+ readonly isHidden: import("valibot").BooleanSchema<undefined>;
375
+ readonly isPrimary: import("valibot").BooleanSchema<undefined>;
376
+ }, undefined>;
377
+ readonly clientID: import("valibot").StringSchema<undefined>;
378
+ readonly id: import("valibot").NumberSchema<undefined>;
379
+ readonly name: import("valibot").LiteralSchema<"createAlias", undefined>;
364
380
  }, undefined> | import("valibot").ObjectSchema<{
365
381
  readonly args: import("valibot").ObjectSchema<{
366
382
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
@@ -368,6 +384,27 @@ export declare const endpoints: {
368
384
  readonly clientID: import("valibot").StringSchema<undefined>;
369
385
  readonly id: import("valibot").NumberSchema<undefined>;
370
386
  readonly name: import("valibot").LiteralSchema<"delete", undefined>;
387
+ }, undefined> | import("valibot").ObjectSchema<{
388
+ readonly args: import("valibot").ObjectSchema<{
389
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
390
+ }, undefined>;
391
+ readonly clientID: import("valibot").StringSchema<undefined>;
392
+ readonly id: import("valibot").NumberSchema<undefined>;
393
+ readonly name: import("valibot").LiteralSchema<"deleteAlias", undefined>;
394
+ }, undefined> | import("valibot").ObjectSchema<{
395
+ readonly args: import("valibot").ObjectSchema<{
396
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
397
+ }, undefined>;
398
+ readonly clientID: import("valibot").StringSchema<undefined>;
399
+ readonly id: import("valibot").NumberSchema<undefined>;
400
+ readonly name: import("valibot").LiteralSchema<"setAliasHidden", undefined>;
401
+ }, undefined> | import("valibot").ObjectSchema<{
402
+ readonly args: import("valibot").ObjectSchema<{
403
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
404
+ }, undefined>;
405
+ readonly clientID: import("valibot").StringSchema<undefined>;
406
+ readonly id: import("valibot").NumberSchema<undefined>;
407
+ readonly name: import("valibot").LiteralSchema<"setAliasPrimary", undefined>;
371
408
  }, undefined> | import("valibot").ObjectSchema<{
372
409
  readonly args: import("valibot").ObjectSchema<{
373
410
  readonly connectionConfig: import("valibot").ObjectSchema<{
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
@@ -97,6 +97,12 @@ export declare const privateGroup: {
97
97
  readonly key: import("valibot").StringSchema<undefined>;
98
98
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
99
99
  readonly value: import("valibot").ObjectSchema<{
100
+ readonly aliases: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
101
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
102
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
103
+ readonly isHidden: import("valibot").BooleanSchema<undefined>;
104
+ readonly isPrimary: import("valibot").BooleanSchema<undefined>;
105
+ }, undefined>, undefined>;
100
106
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
101
107
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
102
108
  readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
@@ -358,6 +364,16 @@ export declare const privateGroup: {
358
364
  readonly clientID: import("valibot").StringSchema<undefined>;
359
365
  readonly id: import("valibot").NumberSchema<undefined>;
360
366
  readonly name: import("valibot").LiteralSchema<"add", undefined>;
367
+ }, undefined> | import("valibot").ObjectSchema<{
368
+ readonly args: import("valibot").ObjectSchema<{
369
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
370
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
371
+ readonly isHidden: import("valibot").BooleanSchema<undefined>;
372
+ readonly isPrimary: import("valibot").BooleanSchema<undefined>;
373
+ }, undefined>;
374
+ readonly clientID: import("valibot").StringSchema<undefined>;
375
+ readonly id: import("valibot").NumberSchema<undefined>;
376
+ readonly name: import("valibot").LiteralSchema<"createAlias", undefined>;
361
377
  }, undefined> | import("valibot").ObjectSchema<{
362
378
  readonly args: import("valibot").ObjectSchema<{
363
379
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
@@ -365,6 +381,27 @@ export declare const privateGroup: {
365
381
  readonly clientID: import("valibot").StringSchema<undefined>;
366
382
  readonly id: import("valibot").NumberSchema<undefined>;
367
383
  readonly name: import("valibot").LiteralSchema<"delete", undefined>;
384
+ }, undefined> | import("valibot").ObjectSchema<{
385
+ readonly args: import("valibot").ObjectSchema<{
386
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
387
+ }, undefined>;
388
+ readonly clientID: import("valibot").StringSchema<undefined>;
389
+ readonly id: import("valibot").NumberSchema<undefined>;
390
+ readonly name: import("valibot").LiteralSchema<"deleteAlias", undefined>;
391
+ }, undefined> | import("valibot").ObjectSchema<{
392
+ readonly args: import("valibot").ObjectSchema<{
393
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
394
+ }, undefined>;
395
+ readonly clientID: import("valibot").StringSchema<undefined>;
396
+ readonly id: import("valibot").NumberSchema<undefined>;
397
+ readonly name: import("valibot").LiteralSchema<"setAliasHidden", undefined>;
398
+ }, undefined> | import("valibot").ObjectSchema<{
399
+ readonly args: import("valibot").ObjectSchema<{
400
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
401
+ }, undefined>;
402
+ readonly clientID: import("valibot").StringSchema<undefined>;
403
+ readonly id: import("valibot").NumberSchema<undefined>;
404
+ readonly name: import("valibot").LiteralSchema<"setAliasPrimary", undefined>;
368
405
  }, undefined> | import("valibot").ObjectSchema<{
369
406
  readonly args: import("valibot").ObjectSchema<{
370
407
  readonly connectionConfig: import("valibot").ObjectSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;CAKxB,CAAA"}
@@ -31,6 +31,12 @@ export declare const sync: {
31
31
  readonly key: import("valibot").StringSchema<undefined>;
32
32
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
33
33
  readonly value: import("valibot").ObjectSchema<{
34
+ readonly aliases: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
35
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
36
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
37
+ readonly isHidden: import("valibot").BooleanSchema<undefined>;
38
+ readonly isPrimary: import("valibot").BooleanSchema<undefined>;
39
+ }, undefined>, undefined>;
34
40
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
35
41
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
36
42
  readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
@@ -292,6 +298,16 @@ export declare const sync: {
292
298
  readonly clientID: import("valibot").StringSchema<undefined>;
293
299
  readonly id: import("valibot").NumberSchema<undefined>;
294
300
  readonly name: import("valibot").LiteralSchema<"add", undefined>;
301
+ }, undefined> | import("valibot").ObjectSchema<{
302
+ readonly args: import("valibot").ObjectSchema<{
303
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
304
+ 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
+ readonly isHidden: import("valibot").BooleanSchema<undefined>;
306
+ readonly isPrimary: import("valibot").BooleanSchema<undefined>;
307
+ }, undefined>;
308
+ readonly clientID: import("valibot").StringSchema<undefined>;
309
+ readonly id: import("valibot").NumberSchema<undefined>;
310
+ readonly name: import("valibot").LiteralSchema<"createAlias", undefined>;
295
311
  }, undefined> | import("valibot").ObjectSchema<{
296
312
  readonly args: import("valibot").ObjectSchema<{
297
313
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
@@ -299,6 +315,27 @@ export declare const sync: {
299
315
  readonly clientID: import("valibot").StringSchema<undefined>;
300
316
  readonly id: import("valibot").NumberSchema<undefined>;
301
317
  readonly name: import("valibot").LiteralSchema<"delete", undefined>;
318
+ }, undefined> | import("valibot").ObjectSchema<{
319
+ readonly args: import("valibot").ObjectSchema<{
320
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
321
+ }, undefined>;
322
+ readonly clientID: import("valibot").StringSchema<undefined>;
323
+ readonly id: import("valibot").NumberSchema<undefined>;
324
+ readonly name: import("valibot").LiteralSchema<"deleteAlias", undefined>;
325
+ }, undefined> | import("valibot").ObjectSchema<{
326
+ readonly args: import("valibot").ObjectSchema<{
327
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
328
+ }, undefined>;
329
+ readonly clientID: import("valibot").StringSchema<undefined>;
330
+ readonly id: import("valibot").NumberSchema<undefined>;
331
+ readonly name: import("valibot").LiteralSchema<"setAliasHidden", undefined>;
332
+ }, undefined> | import("valibot").ObjectSchema<{
333
+ readonly args: import("valibot").ObjectSchema<{
334
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
335
+ }, undefined>;
336
+ readonly clientID: import("valibot").StringSchema<undefined>;
337
+ readonly id: import("valibot").NumberSchema<undefined>;
338
+ readonly name: import("valibot").LiteralSchema<"setAliasPrimary", undefined>;
302
339
  }, undefined> | import("valibot").ObjectSchema<{
303
340
  readonly args: import("valibot").ObjectSchema<{
304
341
  readonly connectionConfig: import("valibot").ObjectSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
@@ -30,6 +30,12 @@ export declare const syncPullAccount: import("../../../../..").EndpointConfig<"/
30
30
  readonly key: v.StringSchema<undefined>;
31
31
  readonly op: v.LiteralSchema<"put", undefined>;
32
32
  readonly value: v.ObjectSchema<{
33
+ readonly aliases: v.ArraySchema<v.ObjectSchema<{
34
+ readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
35
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
36
+ readonly isHidden: v.BooleanSchema<undefined>;
37
+ readonly isPrimary: v.BooleanSchema<undefined>;
38
+ }, undefined>, undefined>;
33
39
  readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
34
40
  readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
35
41
  readonly imapConnectionStatus: v.UnionSchema<[v.LiteralSchema<"AWAITING_CONNECTION", undefined>, v.LiteralSchema<"CONNECTED", undefined>, v.LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwB1B,CAAA"}
1
+ {"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwB1B,CAAA"}
@@ -8,7 +8,7 @@ export const syncPullAccount = createEndpoint({
8
8
  cookie: v.nullable(v.number()),
9
9
  }),
10
10
  method: 'POST',
11
- path: account.pullURL,
11
+ path: account.pullUrl,
12
12
  response: v.union([
13
13
  errors.validationFailedErrorSchema,
14
14
  errors.authFailedErrorSchema,
@@ -8,7 +8,7 @@ export const syncPullContact = createEndpoint({
8
8
  cookie: v.nullable(v.number()),
9
9
  }),
10
10
  method: 'POST',
11
- path: contact.pullURL,
11
+ path: contact.pullUrl,
12
12
  response: v.union([
13
13
  errors.validationFailedErrorSchema,
14
14
  errors.authFailedErrorSchema,
@@ -8,7 +8,7 @@ export const syncPullDraft = createEndpoint({
8
8
  cookie: v.nullable(v.number()),
9
9
  }),
10
10
  method: 'POST',
11
- path: draft.pullURL,
11
+ path: draft.pullUrl,
12
12
  response: v.union([
13
13
  errors.validationFailedErrorSchema,
14
14
  errors.authFailedErrorSchema,
@@ -30,6 +30,12 @@ export declare const pull: {
30
30
  readonly key: import("valibot").StringSchema<undefined>;
31
31
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
32
32
  readonly value: import("valibot").ObjectSchema<{
33
+ readonly aliases: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
34
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
35
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
36
+ readonly isHidden: import("valibot").BooleanSchema<undefined>;
37
+ readonly isPrimary: import("valibot").BooleanSchema<undefined>;
38
+ }, undefined>, undefined>;
33
39
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
34
40
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
35
41
  readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", 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"}
@@ -15,7 +15,7 @@ export const syncPullThread = createEndpoint({
15
15
  })),
16
16
  }),
17
17
  method: 'POST',
18
- path: thread.pullURL,
18
+ path: thread.pullUrl,
19
19
  response: v.union([
20
20
  errors.validationFailedErrorSchema,
21
21
  errors.authFailedErrorSchema,
@@ -8,7 +8,7 @@ export const syncPullUser = createEndpoint({
8
8
  cookie: v.nullable(v.number()),
9
9
  }),
10
10
  method: 'POST',
11
- path: user.pullURL,
11
+ path: user.pullUrl,
12
12
  response: v.union([
13
13
  errors.validationFailedErrorSchema,
14
14
  errors.authFailedErrorSchema,
@@ -10,6 +10,16 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
10
10
  readonly clientID: v.StringSchema<undefined>;
11
11
  readonly id: v.NumberSchema<undefined>;
12
12
  readonly name: v.LiteralSchema<"add", undefined>;
13
+ }, undefined> | v.ObjectSchema<{
14
+ readonly args: v.ObjectSchema<{
15
+ readonly aliasId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
16
+ readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
17
+ readonly isHidden: v.BooleanSchema<undefined>;
18
+ readonly isPrimary: v.BooleanSchema<undefined>;
19
+ }, undefined>;
20
+ readonly clientID: v.StringSchema<undefined>;
21
+ readonly id: v.NumberSchema<undefined>;
22
+ readonly name: v.LiteralSchema<"createAlias", undefined>;
13
23
  }, undefined> | v.ObjectSchema<{
14
24
  readonly args: v.ObjectSchema<{
15
25
  readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
@@ -17,6 +27,27 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
17
27
  readonly clientID: v.StringSchema<undefined>;
18
28
  readonly id: v.NumberSchema<undefined>;
19
29
  readonly name: v.LiteralSchema<"delete", undefined>;
30
+ }, undefined> | v.ObjectSchema<{
31
+ readonly args: v.ObjectSchema<{
32
+ readonly aliasId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
33
+ }, undefined>;
34
+ readonly clientID: v.StringSchema<undefined>;
35
+ readonly id: v.NumberSchema<undefined>;
36
+ readonly name: v.LiteralSchema<"deleteAlias", undefined>;
37
+ }, undefined> | v.ObjectSchema<{
38
+ readonly args: v.ObjectSchema<{
39
+ readonly aliasId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
40
+ }, undefined>;
41
+ readonly clientID: v.StringSchema<undefined>;
42
+ readonly id: v.NumberSchema<undefined>;
43
+ readonly name: v.LiteralSchema<"setAliasHidden", undefined>;
44
+ }, undefined> | v.ObjectSchema<{
45
+ readonly args: v.ObjectSchema<{
46
+ readonly aliasId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
47
+ }, undefined>;
48
+ readonly clientID: v.StringSchema<undefined>;
49
+ readonly id: v.NumberSchema<undefined>;
50
+ readonly name: v.LiteralSchema<"setAliasPrimary", undefined>;
20
51
  }, undefined> | v.ObjectSchema<{
21
52
  readonly args: v.ObjectSchema<{
22
53
  readonly connectionConfig: v.ObjectSchema<{
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAqD1B,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA6E1B,CAAA"}
@@ -12,12 +12,36 @@ export const syncPushAccount = createEndpoint({
12
12
  id: v.number(),
13
13
  name: v.literal('add'),
14
14
  }),
15
+ createAlias: v.object({
16
+ args: account.mutators.createAlias.delta,
17
+ clientID: v.string(),
18
+ id: v.number(),
19
+ name: v.literal('createAlias'),
20
+ }),
15
21
  delete: v.object({
16
22
  args: account.mutators.delete.delta,
17
23
  clientID: v.string(),
18
24
  id: v.number(),
19
25
  name: v.literal('delete'),
20
26
  }),
27
+ deleteAlias: v.object({
28
+ args: account.mutators.deleteAlias.delta,
29
+ clientID: v.string(),
30
+ id: v.number(),
31
+ name: v.literal('deleteAlias'),
32
+ }),
33
+ setAliasHidden: v.object({
34
+ args: account.mutators.setAliasHidden.delta,
35
+ clientID: v.string(),
36
+ id: v.number(),
37
+ name: v.literal('setAliasHidden'),
38
+ }),
39
+ setAliasPrimary: v.object({
40
+ args: account.mutators.setAliasPrimary.delta,
41
+ clientID: v.string(),
42
+ id: v.number(),
43
+ name: v.literal('setAliasPrimary'),
44
+ }),
21
45
  setConnectionConfig: v.object({
22
46
  args: account.mutators.setConnectionConfig.delta,
23
47
  clientID: v.string(),
@@ -45,7 +69,7 @@ export const syncPushAccount = createEndpoint({
45
69
  }))),
46
70
  }),
47
71
  method: 'POST',
48
- path: account.pushURL,
72
+ path: account.pushUrl,
49
73
  response: v.union([
50
74
  errors.validationFailedErrorSchema,
51
75
  errors.authFailedErrorSchema,
@@ -63,7 +63,7 @@ export const syncPushDraft = createEndpoint({
63
63
  }))),
64
64
  }),
65
65
  method: 'POST',
66
- path: draft.pushURL,
66
+ path: draft.pushUrl,
67
67
  response: v.union([
68
68
  errors.validationFailedErrorSchema,
69
69
  errors.authFailedErrorSchema,
@@ -10,6 +10,16 @@ export declare const push: {
10
10
  readonly clientID: import("valibot").StringSchema<undefined>;
11
11
  readonly id: import("valibot").NumberSchema<undefined>;
12
12
  readonly name: import("valibot").LiteralSchema<"add", undefined>;
13
+ }, undefined> | import("valibot").ObjectSchema<{
14
+ readonly args: import("valibot").ObjectSchema<{
15
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
16
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
17
+ readonly isHidden: import("valibot").BooleanSchema<undefined>;
18
+ readonly isPrimary: import("valibot").BooleanSchema<undefined>;
19
+ }, undefined>;
20
+ readonly clientID: import("valibot").StringSchema<undefined>;
21
+ readonly id: import("valibot").NumberSchema<undefined>;
22
+ readonly name: import("valibot").LiteralSchema<"createAlias", undefined>;
13
23
  }, undefined> | import("valibot").ObjectSchema<{
14
24
  readonly args: import("valibot").ObjectSchema<{
15
25
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
@@ -17,6 +27,27 @@ export declare const push: {
17
27
  readonly clientID: import("valibot").StringSchema<undefined>;
18
28
  readonly id: import("valibot").NumberSchema<undefined>;
19
29
  readonly name: import("valibot").LiteralSchema<"delete", undefined>;
30
+ }, undefined> | import("valibot").ObjectSchema<{
31
+ readonly args: import("valibot").ObjectSchema<{
32
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
33
+ }, undefined>;
34
+ readonly clientID: import("valibot").StringSchema<undefined>;
35
+ readonly id: import("valibot").NumberSchema<undefined>;
36
+ readonly name: import("valibot").LiteralSchema<"deleteAlias", undefined>;
37
+ }, undefined> | import("valibot").ObjectSchema<{
38
+ readonly args: import("valibot").ObjectSchema<{
39
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
40
+ }, undefined>;
41
+ readonly clientID: import("valibot").StringSchema<undefined>;
42
+ readonly id: import("valibot").NumberSchema<undefined>;
43
+ readonly name: import("valibot").LiteralSchema<"setAliasHidden", undefined>;
44
+ }, undefined> | import("valibot").ObjectSchema<{
45
+ readonly args: import("valibot").ObjectSchema<{
46
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
47
+ }, undefined>;
48
+ readonly clientID: import("valibot").StringSchema<undefined>;
49
+ readonly id: import("valibot").NumberSchema<undefined>;
50
+ readonly name: import("valibot").LiteralSchema<"setAliasPrimary", undefined>;
20
51
  }, undefined> | import("valibot").ObjectSchema<{
21
52
  readonly args: import("valibot").ObjectSchema<{
22
53
  readonly connectionConfig: import("valibot").ObjectSchema<{
@@ -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"}
@@ -57,7 +57,7 @@ export const syncPushThread = createEndpoint({
57
57
  }))),
58
58
  }),
59
59
  method: 'POST',
60
- path: thread.pushURL,
60
+ path: thread.pushUrl,
61
61
  response: v.union([
62
62
  errors.validationFailedErrorSchema,
63
63
  errors.authFailedErrorSchema,
@@ -15,7 +15,7 @@ export const syncPushUser = createEndpoint({
15
15
  }))),
16
16
  }),
17
17
  method: 'POST',
18
- path: user.pushURL,
18
+ path: user.pushUrl,
19
19
  response: v.union([
20
20
  errors.validationFailedErrorSchema,
21
21
  errors.authFailedErrorSchema,
@@ -99,6 +99,12 @@ export declare const marcoSDK: {
99
99
  readonly key: import("valibot").StringSchema<undefined>;
100
100
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
101
101
  readonly value: import("valibot").ObjectSchema<{
102
+ readonly aliases: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
103
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
104
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
105
+ readonly isHidden: import("valibot").BooleanSchema<undefined>;
106
+ readonly isPrimary: import("valibot").BooleanSchema<undefined>;
107
+ }, undefined>, undefined>;
102
108
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
103
109
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
104
110
  readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
@@ -360,6 +366,16 @@ export declare const marcoSDK: {
360
366
  readonly clientID: import("valibot").StringSchema<undefined>;
361
367
  readonly id: import("valibot").NumberSchema<undefined>;
362
368
  readonly name: import("valibot").LiteralSchema<"add", undefined>;
369
+ }, undefined> | import("valibot").ObjectSchema<{
370
+ readonly args: import("valibot").ObjectSchema<{
371
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
372
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
373
+ readonly isHidden: import("valibot").BooleanSchema<undefined>;
374
+ readonly isPrimary: import("valibot").BooleanSchema<undefined>;
375
+ }, undefined>;
376
+ readonly clientID: import("valibot").StringSchema<undefined>;
377
+ readonly id: import("valibot").NumberSchema<undefined>;
378
+ readonly name: import("valibot").LiteralSchema<"createAlias", undefined>;
363
379
  }, undefined> | import("valibot").ObjectSchema<{
364
380
  readonly args: import("valibot").ObjectSchema<{
365
381
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
@@ -367,6 +383,27 @@ export declare const marcoSDK: {
367
383
  readonly clientID: import("valibot").StringSchema<undefined>;
368
384
  readonly id: import("valibot").NumberSchema<undefined>;
369
385
  readonly name: import("valibot").LiteralSchema<"delete", undefined>;
386
+ }, undefined> | import("valibot").ObjectSchema<{
387
+ readonly args: import("valibot").ObjectSchema<{
388
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
389
+ }, undefined>;
390
+ readonly clientID: import("valibot").StringSchema<undefined>;
391
+ readonly id: import("valibot").NumberSchema<undefined>;
392
+ readonly name: import("valibot").LiteralSchema<"deleteAlias", undefined>;
393
+ }, undefined> | import("valibot").ObjectSchema<{
394
+ readonly args: import("valibot").ObjectSchema<{
395
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
396
+ }, undefined>;
397
+ readonly clientID: import("valibot").StringSchema<undefined>;
398
+ readonly id: import("valibot").NumberSchema<undefined>;
399
+ readonly name: import("valibot").LiteralSchema<"setAliasHidden", undefined>;
400
+ }, undefined> | import("valibot").ObjectSchema<{
401
+ readonly args: import("valibot").ObjectSchema<{
402
+ readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
403
+ }, undefined>;
404
+ readonly clientID: import("valibot").StringSchema<undefined>;
405
+ readonly id: import("valibot").NumberSchema<undefined>;
406
+ readonly name: import("valibot").LiteralSchema<"setAliasPrimary", undefined>;
370
407
  }, undefined> | import("valibot").ObjectSchema<{
371
408
  readonly args: import("valibot").ObjectSchema<{
372
409
  readonly connectionConfig: import("valibot").ObjectSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
@@ -6,8 +6,8 @@ export type MarcoClient = {
6
6
  delta: v.ObjectSchema<any, any>;
7
7
  }>;
8
8
  name: string;
9
- pullURL: string;
10
- pushURL: string | null;
9
+ pullUrl: string;
10
+ pushUrl: string | null;
11
11
  schemaVersion: string;
12
12
  };
13
13
  export type LabelSpecialUse = v.InferOutput<ReturnType<typeof marcoSchemas.labelSpecialUse>>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
3
  "packageManager": "bun@1.2.0",
4
- "version": "2.0.286",
4
+ "version": "2.0.288",
5
5
  "author": "team@marcoapp.io",
6
6
  "main": "dist/index.js",
7
7
  "repository": "git@github.com:marcoappio/marco-config.git",