@marcoappio/marco-config 2.0.275 → 2.0.277

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.
@@ -3,7 +3,7 @@ export declare const account: {
3
3
  model: v.ObjectSchema<{
4
4
  readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
5
5
  readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
6
- readonly imapConnectionStatus: v.UnionSchema<[v.LiteralSchema<"UNCONFIGURED", undefined>, v.LiteralSchema<"AWAITING_CONNECTION", undefined>, v.LiteralSchema<"CONNECTED", undefined>, v.LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
6
+ readonly imapConnectionStatus: v.UnionSchema<[v.LiteralSchema<"AWAITING_CONNECTION", undefined>, v.LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXHANGE_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
7
7
  readonly labels: v.ArraySchema<v.ObjectSchema<{
8
8
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
9
9
  readonly mailCounts: v.ObjectSchema<{
@@ -4,7 +4,7 @@ export declare const marcoClients: {
4
4
  model: import("valibot").ObjectSchema<{
5
5
  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
6
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
7
- readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"UNCONFIGURED", undefined>, import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
7
+ readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
8
8
  readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
9
9
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
10
10
  readonly mailCounts: import("valibot").ObjectSchema<{
@@ -26,7 +26,7 @@ export declare const marcoSchemas: {
26
26
  connectionConfigOauthGoogle: () => v.ObjectSchema<{
27
27
  readonly code: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
28
28
  }, undefined>;
29
- imapConnectionStatus: () => v.UnionSchema<[v.LiteralSchema<"UNCONFIGURED", undefined>, v.LiteralSchema<"AWAITING_CONNECTION", undefined>, v.LiteralSchema<"CONNECTED", undefined>, v.LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
29
+ imapConnectionStatus: () => v.UnionSchema<[v.LiteralSchema<"AWAITING_CONNECTION", undefined>, v.LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXHANGE_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
30
30
  };
31
31
  labelSpecialUse: () => v.UnionSchema<[v.LiteralSchema<"ARCHIVE", undefined>, v.LiteralSchema<"INBOX", undefined>, v.LiteralSchema<"SENT", undefined>, v.LiteralSchema<"SPAM", undefined>, v.LiteralSchema<"TRASH", undefined>], undefined>;
32
32
  number: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAoCP,MAAM,OAAO,MAAM;;;;;;;;;;;;;CAMpC,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,eAAe,CAAC,CAAC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAmCP,MAAM,OAAO,MAAM;;;;;;;;;;;;;CAMpC,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,eAAe,CAAC,CAAC,CAAA"}
@@ -28,10 +28,9 @@ export const marcoSchemas = {
28
28
  code: marcoSchemas.string.required(),
29
29
  }),
30
30
  imapConnectionStatus: () => v.union([
31
- v.literal('UNCONFIGURED'),
32
31
  v.literal('AWAITING_CONNECTION'),
33
- v.literal('CONNECTED'),
34
32
  v.literal('CONNECTION_FAILED_CONNECTION_ERROR'),
33
+ v.literal('CONNECTION_FAILED_OAUTH_GOOGLE_EXHANGE_ERROR'),
35
34
  v.literal('CONNECTION_FAILED_AUTHENTICATION_ERROR'),
36
35
  v.literal('CONNECTION_FAILED_UNKNOWN_ERROR'),
37
36
  ]),
@@ -102,7 +102,7 @@ export declare const endpoints: {
102
102
  readonly value: import("valibot").ObjectSchema<{
103
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
104
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
105
- readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"UNCONFIGURED", undefined>, import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
105
+ readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
106
106
  readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
107
107
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
108
108
  readonly mailCounts: import("valibot").ObjectSchema<{
@@ -397,7 +397,7 @@ export declare const endpoints: {
397
397
  }, undefined>;
398
398
  readonly clientID: import("valibot").StringSchema<undefined>;
399
399
  readonly id: import("valibot").NumberSchema<undefined>;
400
- readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
400
+ readonly name: import("valibot").LiteralSchema<"setConnectionConfigImapRaw", undefined>;
401
401
  }, undefined> | import("valibot").ObjectSchema<{
402
402
  readonly args: import("valibot").ObjectSchema<{
403
403
  readonly connectionConfig: import("valibot").ObjectSchema<{
@@ -407,7 +407,7 @@ export declare const endpoints: {
407
407
  }, undefined>;
408
408
  readonly clientID: import("valibot").StringSchema<undefined>;
409
409
  readonly id: import("valibot").NumberSchema<undefined>;
410
- readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
410
+ readonly name: import("valibot").LiteralSchema<"setConnectionConfigOauthGoogle", undefined>;
411
411
  }, undefined> | import("valibot").ObjectSchema<{
412
412
  readonly args: import("valibot").ObjectSchema<{
413
413
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
@@ -99,7 +99,7 @@ export declare const privateGroup: {
99
99
  readonly value: import("valibot").ObjectSchema<{
100
100
  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
101
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
102
- readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"UNCONFIGURED", undefined>, import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
102
+ readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
103
103
  readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
104
104
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
105
105
  readonly mailCounts: import("valibot").ObjectSchema<{
@@ -394,7 +394,7 @@ export declare const privateGroup: {
394
394
  }, undefined>;
395
395
  readonly clientID: import("valibot").StringSchema<undefined>;
396
396
  readonly id: import("valibot").NumberSchema<undefined>;
397
- readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
397
+ readonly name: import("valibot").LiteralSchema<"setConnectionConfigImapRaw", undefined>;
398
398
  }, undefined> | import("valibot").ObjectSchema<{
399
399
  readonly args: import("valibot").ObjectSchema<{
400
400
  readonly connectionConfig: import("valibot").ObjectSchema<{
@@ -404,7 +404,7 @@ export declare const privateGroup: {
404
404
  }, undefined>;
405
405
  readonly clientID: import("valibot").StringSchema<undefined>;
406
406
  readonly id: import("valibot").NumberSchema<undefined>;
407
- readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
407
+ readonly name: import("valibot").LiteralSchema<"setConnectionConfigOauthGoogle", undefined>;
408
408
  }, undefined> | import("valibot").ObjectSchema<{
409
409
  readonly args: import("valibot").ObjectSchema<{
410
410
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
@@ -33,7 +33,7 @@ export declare const sync: {
33
33
  readonly value: import("valibot").ObjectSchema<{
34
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
35
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
36
- readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"UNCONFIGURED", undefined>, import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
36
+ readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
37
37
  readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
38
38
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
39
39
  readonly mailCounts: import("valibot").ObjectSchema<{
@@ -328,7 +328,7 @@ export declare const sync: {
328
328
  }, undefined>;
329
329
  readonly clientID: import("valibot").StringSchema<undefined>;
330
330
  readonly id: import("valibot").NumberSchema<undefined>;
331
- readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
331
+ readonly name: import("valibot").LiteralSchema<"setConnectionConfigImapRaw", undefined>;
332
332
  }, undefined> | import("valibot").ObjectSchema<{
333
333
  readonly args: import("valibot").ObjectSchema<{
334
334
  readonly connectionConfig: import("valibot").ObjectSchema<{
@@ -338,7 +338,7 @@ export declare const sync: {
338
338
  }, undefined>;
339
339
  readonly clientID: import("valibot").StringSchema<undefined>;
340
340
  readonly id: import("valibot").NumberSchema<undefined>;
341
- readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
341
+ readonly name: import("valibot").LiteralSchema<"setConnectionConfigOauthGoogle", undefined>;
342
342
  }, undefined> | import("valibot").ObjectSchema<{
343
343
  readonly args: import("valibot").ObjectSchema<{
344
344
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
@@ -32,7 +32,7 @@ export declare const syncPullAccount: import("../../../../..").EndpointConfig<"/
32
32
  readonly value: v.ObjectSchema<{
33
33
  readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
34
34
  readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
35
- readonly imapConnectionStatus: v.UnionSchema<[v.LiteralSchema<"UNCONFIGURED", undefined>, v.LiteralSchema<"AWAITING_CONNECTION", undefined>, v.LiteralSchema<"CONNECTED", undefined>, v.LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
35
+ readonly imapConnectionStatus: v.UnionSchema<[v.LiteralSchema<"AWAITING_CONNECTION", undefined>, v.LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXHANGE_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
36
36
  readonly labels: v.ArraySchema<v.ObjectSchema<{
37
37
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
38
38
  readonly mailCounts: v.ObjectSchema<{
@@ -32,7 +32,7 @@ export declare const pull: {
32
32
  readonly value: import("valibot").ObjectSchema<{
33
33
  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
34
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
35
- readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"UNCONFIGURED", undefined>, import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
35
+ readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
36
36
  readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
37
37
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
38
38
  readonly mailCounts: import("valibot").ObjectSchema<{
@@ -46,7 +46,7 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
46
46
  }, undefined>;
47
47
  readonly clientID: v.StringSchema<undefined>;
48
48
  readonly id: v.NumberSchema<undefined>;
49
- readonly name: v.LiteralSchema<"setConnectionConfig", undefined>;
49
+ readonly name: v.LiteralSchema<"setConnectionConfigImapRaw", undefined>;
50
50
  }, undefined> | v.ObjectSchema<{
51
51
  readonly args: v.ObjectSchema<{
52
52
  readonly connectionConfig: v.ObjectSchema<{
@@ -56,7 +56,7 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
56
56
  }, undefined>;
57
57
  readonly clientID: v.StringSchema<undefined>;
58
58
  readonly id: v.NumberSchema<undefined>;
59
- readonly name: v.LiteralSchema<"setConnectionConfig", undefined>;
59
+ readonly name: v.LiteralSchema<"setConnectionConfigOauthGoogle", undefined>;
60
60
  }, undefined> | v.ObjectSchema<{
61
61
  readonly args: v.ObjectSchema<{
62
62
  readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
@@ -28,13 +28,13 @@ export const syncPushAccount = createEndpoint({
28
28
  args: account.mutators.setConnectionConfigImapRaw.delta,
29
29
  clientID: v.string(),
30
30
  id: v.number(),
31
- name: v.literal('setConnectionConfig'),
31
+ name: v.literal('setConnectionConfigImapRaw'),
32
32
  }),
33
33
  setConnectionConfigOauthGoogle: v.object({
34
34
  args: account.mutators.setConnectionConfigOauthGoogle.delta,
35
35
  clientID: v.string(),
36
36
  id: v.number(),
37
- name: v.literal('setConnectionConfig'),
37
+ name: v.literal('setConnectionConfigOauthGoogle'),
38
38
  }),
39
39
  setSettings: v.object({
40
40
  args: account.mutators.setSettings.delta,
@@ -46,7 +46,7 @@ export declare const push: {
46
46
  }, undefined>;
47
47
  readonly clientID: import("valibot").StringSchema<undefined>;
48
48
  readonly id: import("valibot").NumberSchema<undefined>;
49
- readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
49
+ readonly name: import("valibot").LiteralSchema<"setConnectionConfigImapRaw", undefined>;
50
50
  }, undefined> | import("valibot").ObjectSchema<{
51
51
  readonly args: import("valibot").ObjectSchema<{
52
52
  readonly connectionConfig: import("valibot").ObjectSchema<{
@@ -56,7 +56,7 @@ export declare const push: {
56
56
  }, undefined>;
57
57
  readonly clientID: import("valibot").StringSchema<undefined>;
58
58
  readonly id: import("valibot").NumberSchema<undefined>;
59
- readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
59
+ readonly name: import("valibot").LiteralSchema<"setConnectionConfigOauthGoogle", undefined>;
60
60
  }, undefined> | import("valibot").ObjectSchema<{
61
61
  readonly args: import("valibot").ObjectSchema<{
62
62
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
@@ -101,7 +101,7 @@ export declare const marcoSDK: {
101
101
  readonly value: import("valibot").ObjectSchema<{
102
102
  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
103
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
104
- readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"UNCONFIGURED", undefined>, import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
104
+ readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
105
105
  readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
106
106
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
107
107
  readonly mailCounts: import("valibot").ObjectSchema<{
@@ -396,7 +396,7 @@ export declare const marcoSDK: {
396
396
  }, undefined>;
397
397
  readonly clientID: import("valibot").StringSchema<undefined>;
398
398
  readonly id: import("valibot").NumberSchema<undefined>;
399
- readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
399
+ readonly name: import("valibot").LiteralSchema<"setConnectionConfigImapRaw", undefined>;
400
400
  }, undefined> | import("valibot").ObjectSchema<{
401
401
  readonly args: import("valibot").ObjectSchema<{
402
402
  readonly connectionConfig: import("valibot").ObjectSchema<{
@@ -406,7 +406,7 @@ export declare const marcoSDK: {
406
406
  }, undefined>;
407
407
  readonly clientID: import("valibot").StringSchema<undefined>;
408
408
  readonly id: import("valibot").NumberSchema<undefined>;
409
- readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
409
+ readonly name: import("valibot").LiteralSchema<"setConnectionConfigOauthGoogle", undefined>;
410
410
  }, undefined> | import("valibot").ObjectSchema<{
411
411
  readonly args: import("valibot").ObjectSchema<{
412
412
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
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.275",
4
+ "version": "2.0.277",
5
5
  "author": "team@marcoapp.io",
6
6
  "main": "dist/index.js",
7
7
  "repository": "git@github.com:marcoappio/marco-config.git",