@marcoappio/marco-config 2.0.276 → 2.0.278
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/clients/account.d.ts +1 -1
- package/dist/clients/index.d.ts +1 -1
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +1 -0
- package/dist/sdk/endpoints/index.d.ts +3 -3
- package/dist/sdk/endpoints/private/index.d.ts +3 -3
- package/dist/sdk/endpoints/private/sync/index.d.ts +3 -3
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/push/account.js +2 -2
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +2 -2
- package/dist/sdk/index.d.ts +3 -3
- package/package.json +1 -1
|
@@ -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<"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>;
|
|
6
|
+
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_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<{
|
package/dist/clients/index.d.ts
CHANGED
|
@@ -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<"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>;
|
|
7
|
+
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_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<{
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -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<"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>;
|
|
29
|
+
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_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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
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"}
|
package/dist/schemas/index.js
CHANGED
|
@@ -29,6 +29,7 @@ export const marcoSchemas = {
|
|
|
29
29
|
}),
|
|
30
30
|
imapConnectionStatus: () => v.union([
|
|
31
31
|
v.literal('AWAITING_CONNECTION'),
|
|
32
|
+
v.literal('CONNECTED'),
|
|
32
33
|
v.literal('CONNECTION_FAILED_CONNECTION_ERROR'),
|
|
33
34
|
v.literal('CONNECTION_FAILED_OAUTH_GOOGLE_EXHANGE_ERROR'),
|
|
34
35
|
v.literal('CONNECTION_FAILED_AUTHENTICATION_ERROR'),
|
|
@@ -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<"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
|
+
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_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<"
|
|
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<"
|
|
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<"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>;
|
|
102
|
+
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_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<"
|
|
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<"
|
|
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<"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
|
+
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_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<"
|
|
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<"
|
|
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<"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>;
|
|
35
|
+
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_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<"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>;
|
|
35
|
+
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_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<"
|
|
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<"
|
|
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('
|
|
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('
|
|
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<"
|
|
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<"
|
|
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">]>;
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -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<"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>;
|
|
104
|
+
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_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<"
|
|
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<"
|
|
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