@marcoappio/marco-config 2.0.273 → 2.0.275
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 +26 -17
- package/dist/clients/account.d.ts.map +1 -1
- package/dist/clients/account.js +13 -2
- package/dist/clients/index.d.ts +26 -17
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/schemas/index.d.ts +7 -16
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +7 -10
- package/dist/sdk/endpoints/index.d.ts +30 -17
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +30 -17
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +30 -17
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts +1 -7
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +1 -7
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +29 -10
- package/dist/sdk/endpoints/private/sync/push/account.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/account.js +12 -0
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +29 -10
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/index.d.ts +30 -17
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const account: {
|
|
3
3
|
model: v.ObjectSchema<{
|
|
4
|
-
readonly connectionConfig: v.NullableSchema<v.ObjectSchema<{
|
|
5
|
-
readonly imapHost: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
6
|
-
readonly imapPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
7
|
-
readonly smtpHost: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
8
|
-
readonly smtpPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
9
|
-
}, undefined>, undefined>;
|
|
10
4
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
11
5
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
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_AUTHENTICATION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
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>;
|
|
13
7
|
readonly labels: v.ArraySchema<v.ObjectSchema<{
|
|
14
8
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
15
9
|
readonly mailCounts: v.ObjectSchema<{
|
|
@@ -40,20 +34,35 @@ export declare const account: {
|
|
|
40
34
|
};
|
|
41
35
|
setConnectionConfig: {
|
|
42
36
|
delta: v.ObjectSchema<{
|
|
43
|
-
readonly connectionConfig: v.
|
|
37
|
+
readonly connectionConfig: v.ObjectSchema<{
|
|
44
38
|
readonly imapHost: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
39
|
+
readonly imapPassword: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
45
40
|
readonly imapPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
46
41
|
readonly smtpHost: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
42
|
+
readonly smtpPassword: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
47
43
|
readonly smtpPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
48
|
-
}, undefined
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
44
|
+
}, undefined>;
|
|
45
|
+
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
46
|
+
}, undefined>;
|
|
47
|
+
};
|
|
48
|
+
setConnectionConfigImapRaw: {
|
|
49
|
+
delta: v.ObjectSchema<{
|
|
50
|
+
readonly connectionConfig: v.ObjectSchema<{
|
|
51
|
+
readonly imapHost: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
52
|
+
readonly imapPassword: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
53
|
+
readonly imapPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
54
|
+
readonly smtpHost: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
55
|
+
readonly smtpPassword: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
56
|
+
readonly smtpPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
57
|
+
}, undefined>;
|
|
58
|
+
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
59
|
+
}, undefined>;
|
|
60
|
+
};
|
|
61
|
+
setConnectionConfigOauthGoogle: {
|
|
62
|
+
delta: v.ObjectSchema<{
|
|
63
|
+
readonly connectionConfig: v.ObjectSchema<{
|
|
64
|
+
readonly code: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
65
|
+
}, undefined>;
|
|
57
66
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
58
67
|
}, undefined>;
|
|
59
68
|
};
|
|
@@ -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
|
|
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"}
|
package/dist/clients/account.js
CHANGED
|
@@ -6,7 +6,6 @@ const accountSettings = v.object({
|
|
|
6
6
|
});
|
|
7
7
|
export const account = {
|
|
8
8
|
model: v.object({
|
|
9
|
-
connectionConfig: v.nullable(marcoSchemas.emailAccount.connectionConfig()),
|
|
10
9
|
emailAddress: marcoSchemas.string.email(),
|
|
11
10
|
id: marcoSchemas.string.shortUUID(),
|
|
12
11
|
imapConnectionStatus: marcoSchemas.emailAccount.imapConnectionStatus(),
|
|
@@ -37,7 +36,19 @@ export const account = {
|
|
|
37
36
|
},
|
|
38
37
|
setConnectionConfig: {
|
|
39
38
|
delta: v.object({
|
|
40
|
-
connectionConfig: marcoSchemas.emailAccount.
|
|
39
|
+
connectionConfig: marcoSchemas.emailAccount.connectionConfigImapRaw(),
|
|
40
|
+
id: marcoSchemas.string.shortUUID(),
|
|
41
|
+
}),
|
|
42
|
+
},
|
|
43
|
+
setConnectionConfigImapRaw: {
|
|
44
|
+
delta: v.object({
|
|
45
|
+
connectionConfig: marcoSchemas.emailAccount.connectionConfigImapRaw(),
|
|
46
|
+
id: marcoSchemas.string.shortUUID(),
|
|
47
|
+
}),
|
|
48
|
+
},
|
|
49
|
+
setConnectionConfigOauthGoogle: {
|
|
50
|
+
delta: v.object({
|
|
51
|
+
connectionConfig: marcoSchemas.emailAccount.connectionConfigOauthGoogle(),
|
|
41
52
|
id: marcoSchemas.string.shortUUID(),
|
|
42
53
|
}),
|
|
43
54
|
},
|
package/dist/clients/index.d.ts
CHANGED
|
@@ -2,15 +2,9 @@ export { marcoClientsUtils } from './utils';
|
|
|
2
2
|
export declare const marcoClients: {
|
|
3
3
|
account: {
|
|
4
4
|
model: import("valibot").ObjectSchema<{
|
|
5
|
-
readonly connectionConfig: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
6
|
-
readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
7
|
-
readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
8
|
-
readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
9
|
-
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
10
|
-
}, undefined>, undefined>;
|
|
11
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>;
|
|
12
6
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
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_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
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>;
|
|
14
8
|
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
15
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>;
|
|
16
10
|
readonly mailCounts: import("valibot").ObjectSchema<{
|
|
@@ -41,20 +35,35 @@ export declare const marcoClients: {
|
|
|
41
35
|
};
|
|
42
36
|
setConnectionConfig: {
|
|
43
37
|
delta: import("valibot").ObjectSchema<{
|
|
44
|
-
readonly connectionConfig: import("valibot").
|
|
38
|
+
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
39
|
+
readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
40
|
+
readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
41
|
+
readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
42
|
+
readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
43
|
+
readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
44
|
+
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
45
|
+
}, undefined>;
|
|
46
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
47
|
+
}, undefined>;
|
|
48
|
+
};
|
|
49
|
+
setConnectionConfigImapRaw: {
|
|
50
|
+
delta: import("valibot").ObjectSchema<{
|
|
51
|
+
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
45
52
|
readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
53
|
+
readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
46
54
|
readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
47
55
|
readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
56
|
+
readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
48
57
|
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
49
|
-
}, undefined
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}, undefined
|
|
58
|
+
}, undefined>;
|
|
59
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
60
|
+
}, undefined>;
|
|
61
|
+
};
|
|
62
|
+
setConnectionConfigOauthGoogle: {
|
|
63
|
+
delta: import("valibot").ObjectSchema<{
|
|
64
|
+
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
65
|
+
readonly code: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
66
|
+
}, undefined>;
|
|
58
67
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
59
68
|
}, undefined>;
|
|
60
69
|
};
|
|
@@ -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
|
|
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"}
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -15,27 +15,18 @@ export declare const marcoSchemas: {
|
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
emailAccount: {
|
|
18
|
-
|
|
18
|
+
connectionConfigImapRaw: () => v.ObjectSchema<{
|
|
19
19
|
readonly imapHost: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
20
|
+
readonly imapPassword: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
20
21
|
readonly imapPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
21
22
|
readonly smtpHost: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
23
|
+
readonly smtpPassword: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
22
24
|
readonly smtpPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
23
25
|
}, undefined>;
|
|
24
|
-
|
|
25
|
-
readonly
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
readonly smtpPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
29
|
-
}, undefined>, v.ObjectSchema<{
|
|
30
|
-
readonly auth: v.UnionSchema<[v.ObjectSchema<{
|
|
31
|
-
readonly authType: v.LiteralSchema<"PASSWORD", undefined>;
|
|
32
|
-
readonly password: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
33
|
-
}, undefined>, v.ObjectSchema<{
|
|
34
|
-
readonly authType: v.LiteralSchema<"GOOGLE_OAUTH", undefined>;
|
|
35
|
-
readonly code: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
36
|
-
}, undefined>], undefined>;
|
|
37
|
-
}, undefined>], undefined>;
|
|
38
|
-
imapConnectionStatus: () => v.UnionSchema<[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>;
|
|
26
|
+
connectionConfigOauthGoogle: () => v.ObjectSchema<{
|
|
27
|
+
readonly code: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
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>;
|
|
39
30
|
};
|
|
40
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>;
|
|
41
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
|
@@ -16,22 +16,19 @@ export const marcoSchemas = {
|
|
|
16
16
|
},
|
|
17
17
|
},
|
|
18
18
|
emailAccount: {
|
|
19
|
-
|
|
19
|
+
connectionConfigImapRaw: () => v.object({
|
|
20
20
|
imapHost: marcoSchemas.string.required(),
|
|
21
|
+
imapPassword: marcoSchemas.string.required(),
|
|
21
22
|
imapPort: marcoSchemas.number.minMax(1, 65535),
|
|
22
23
|
smtpHost: marcoSchemas.string.required(),
|
|
24
|
+
smtpPassword: marcoSchemas.string.required(),
|
|
23
25
|
smtpPort: marcoSchemas.number.minMax(1, 65535),
|
|
24
26
|
}),
|
|
25
|
-
|
|
26
|
-
marcoSchemas.
|
|
27
|
-
|
|
28
|
-
auth: v.union([
|
|
29
|
-
v.object({ authType: v.literal('PASSWORD'), password: marcoSchemas.string.required() }),
|
|
30
|
-
v.object({ authType: v.literal('GOOGLE_OAUTH'), code: marcoSchemas.string.required() }),
|
|
31
|
-
]),
|
|
32
|
-
}),
|
|
33
|
-
]),
|
|
27
|
+
connectionConfigOauthGoogle: () => v.object({
|
|
28
|
+
code: marcoSchemas.string.required(),
|
|
29
|
+
}),
|
|
34
30
|
imapConnectionStatus: () => v.union([
|
|
31
|
+
v.literal('UNCONFIGURED'),
|
|
35
32
|
v.literal('AWAITING_CONNECTION'),
|
|
36
33
|
v.literal('CONNECTED'),
|
|
37
34
|
v.literal('CONNECTION_FAILED_CONNECTION_ERROR'),
|
|
@@ -100,15 +100,9 @@ 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 connectionConfig: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
104
|
-
readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
105
|
-
readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
106
|
-
readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
107
|
-
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
108
|
-
}, undefined>, undefined>;
|
|
109
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>;
|
|
110
104
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
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_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
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>;
|
|
112
106
|
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
113
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>;
|
|
114
108
|
readonly mailCounts: import("valibot").ObjectSchema<{
|
|
@@ -376,20 +370,39 @@ export declare const endpoints: {
|
|
|
376
370
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
377
371
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
378
372
|
readonly args: import("valibot").ObjectSchema<{
|
|
379
|
-
readonly connectionConfig: import("valibot").
|
|
373
|
+
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
374
|
+
readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
375
|
+
readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
376
|
+
readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
377
|
+
readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
378
|
+
readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
379
|
+
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
380
|
+
}, undefined>;
|
|
381
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
382
|
+
}, undefined>;
|
|
383
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
384
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
385
|
+
readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
|
|
386
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
387
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
388
|
+
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
380
389
|
readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
390
|
+
readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
381
391
|
readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
382
392
|
readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
393
|
+
readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
383
394
|
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
384
|
-
}, undefined
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
395
|
+
}, undefined>;
|
|
396
|
+
readonly id: 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<"setConnectionConfig", undefined>;
|
|
401
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
402
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
403
|
+
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
404
|
+
readonly code: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
405
|
+
}, undefined>;
|
|
393
406
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
394
407
|
}, undefined>;
|
|
395
408
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAcjE,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAcjE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
|
|
@@ -97,15 +97,9 @@ 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 connectionConfig: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
101
|
-
readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
102
|
-
readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
103
|
-
readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
104
|
-
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
105
|
-
}, undefined>, undefined>;
|
|
106
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>;
|
|
107
101
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
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_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
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>;
|
|
109
103
|
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
110
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>;
|
|
111
105
|
readonly mailCounts: import("valibot").ObjectSchema<{
|
|
@@ -373,20 +367,39 @@ export declare const privateGroup: {
|
|
|
373
367
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
374
368
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
375
369
|
readonly args: import("valibot").ObjectSchema<{
|
|
376
|
-
readonly connectionConfig: import("valibot").
|
|
370
|
+
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
371
|
+
readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
372
|
+
readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
373
|
+
readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
374
|
+
readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
375
|
+
readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
376
|
+
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
377
|
+
}, undefined>;
|
|
378
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
379
|
+
}, undefined>;
|
|
380
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
381
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
382
|
+
readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
|
|
383
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
384
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
385
|
+
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
377
386
|
readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
387
|
+
readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
378
388
|
readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
379
389
|
readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
390
|
+
readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
380
391
|
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
381
|
-
}, undefined
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
392
|
+
}, undefined>;
|
|
393
|
+
readonly id: 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<"setConnectionConfig", undefined>;
|
|
398
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
399
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
400
|
+
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
401
|
+
readonly code: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
402
|
+
}, undefined>;
|
|
390
403
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
391
404
|
}, undefined>;
|
|
392
405
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKxB,CAAA"}
|
|
@@ -31,15 +31,9 @@ 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 connectionConfig: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
35
|
-
readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
36
|
-
readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
37
|
-
readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
38
|
-
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
39
|
-
}, undefined>, undefined>;
|
|
40
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>;
|
|
41
35
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
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_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
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>;
|
|
43
37
|
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
44
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>;
|
|
45
39
|
readonly mailCounts: import("valibot").ObjectSchema<{
|
|
@@ -307,20 +301,39 @@ export declare const sync: {
|
|
|
307
301
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
308
302
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
309
303
|
readonly args: import("valibot").ObjectSchema<{
|
|
310
|
-
readonly connectionConfig: import("valibot").
|
|
304
|
+
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
305
|
+
readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
306
|
+
readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
307
|
+
readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
308
|
+
readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
309
|
+
readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
310
|
+
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
311
|
+
}, undefined>;
|
|
312
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
313
|
+
}, undefined>;
|
|
314
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
315
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
316
|
+
readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
|
|
317
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
318
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
319
|
+
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
311
320
|
readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
321
|
+
readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
312
322
|
readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
313
323
|
readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
324
|
+
readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
314
325
|
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
315
|
-
}, undefined
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
326
|
+
}, undefined>;
|
|
327
|
+
readonly id: 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<"setConnectionConfig", undefined>;
|
|
332
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
333
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
334
|
+
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
335
|
+
readonly code: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
336
|
+
}, undefined>;
|
|
324
337
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
325
338
|
}, undefined>;
|
|
326
339
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
|
|
@@ -30,15 +30,9 @@ 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 connectionConfig: v.NullableSchema<v.ObjectSchema<{
|
|
34
|
-
readonly imapHost: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
35
|
-
readonly imapPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
36
|
-
readonly smtpHost: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
37
|
-
readonly smtpPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
38
|
-
}, undefined>, undefined>;
|
|
39
33
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
40
34
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
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_AUTHENTICATION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
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>;
|
|
42
36
|
readonly labels: v.ArraySchema<v.ObjectSchema<{
|
|
43
37
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
44
38
|
readonly mailCounts: v.ObjectSchema<{
|
|
@@ -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
|
|
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"}
|
|
@@ -30,15 +30,9 @@ 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 connectionConfig: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
34
|
-
readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
35
|
-
readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
36
|
-
readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
37
|
-
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
38
|
-
}, undefined>, undefined>;
|
|
39
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>;
|
|
40
34
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
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_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
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>;
|
|
42
36
|
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
43
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>;
|
|
44
38
|
readonly mailCounts: import("valibot").ObjectSchema<{
|
|
@@ -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
|
|
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"}
|
|
@@ -19,20 +19,39 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
19
19
|
readonly name: v.LiteralSchema<"delete", undefined>;
|
|
20
20
|
}, undefined> | v.ObjectSchema<{
|
|
21
21
|
readonly args: v.ObjectSchema<{
|
|
22
|
-
readonly connectionConfig: v.
|
|
22
|
+
readonly connectionConfig: v.ObjectSchema<{
|
|
23
23
|
readonly imapHost: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
24
|
+
readonly imapPassword: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
24
25
|
readonly imapPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
25
26
|
readonly smtpHost: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
27
|
+
readonly smtpPassword: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
26
28
|
readonly smtpPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
27
|
-
}, undefined
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
29
|
+
}, undefined>;
|
|
30
|
+
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
31
|
+
}, undefined>;
|
|
32
|
+
readonly clientID: v.StringSchema<undefined>;
|
|
33
|
+
readonly id: v.NumberSchema<undefined>;
|
|
34
|
+
readonly name: v.LiteralSchema<"setConnectionConfig", undefined>;
|
|
35
|
+
}, undefined> | v.ObjectSchema<{
|
|
36
|
+
readonly args: v.ObjectSchema<{
|
|
37
|
+
readonly connectionConfig: v.ObjectSchema<{
|
|
38
|
+
readonly imapHost: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
39
|
+
readonly imapPassword: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
40
|
+
readonly imapPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
41
|
+
readonly smtpHost: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
42
|
+
readonly smtpPassword: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
43
|
+
readonly smtpPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
44
|
+
}, undefined>;
|
|
45
|
+
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
46
|
+
}, undefined>;
|
|
47
|
+
readonly clientID: v.StringSchema<undefined>;
|
|
48
|
+
readonly id: v.NumberSchema<undefined>;
|
|
49
|
+
readonly name: v.LiteralSchema<"setConnectionConfig", undefined>;
|
|
50
|
+
}, undefined> | v.ObjectSchema<{
|
|
51
|
+
readonly args: v.ObjectSchema<{
|
|
52
|
+
readonly connectionConfig: v.ObjectSchema<{
|
|
53
|
+
readonly code: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
54
|
+
}, undefined>;
|
|
36
55
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
37
56
|
}, undefined>;
|
|
38
57
|
readonly clientID: v.StringSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,eAAe
|
|
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"}
|
|
@@ -24,6 +24,18 @@ export const syncPushAccount = createEndpoint({
|
|
|
24
24
|
id: v.number(),
|
|
25
25
|
name: v.literal('setConnectionConfig'),
|
|
26
26
|
}),
|
|
27
|
+
setConnectionConfigImapRaw: v.object({
|
|
28
|
+
args: account.mutators.setConnectionConfigImapRaw.delta,
|
|
29
|
+
clientID: v.string(),
|
|
30
|
+
id: v.number(),
|
|
31
|
+
name: v.literal('setConnectionConfig'),
|
|
32
|
+
}),
|
|
33
|
+
setConnectionConfigOauthGoogle: v.object({
|
|
34
|
+
args: account.mutators.setConnectionConfigOauthGoogle.delta,
|
|
35
|
+
clientID: v.string(),
|
|
36
|
+
id: v.number(),
|
|
37
|
+
name: v.literal('setConnectionConfig'),
|
|
38
|
+
}),
|
|
27
39
|
setSettings: v.object({
|
|
28
40
|
args: account.mutators.setSettings.delta,
|
|
29
41
|
clientID: v.string(),
|
|
@@ -19,20 +19,39 @@ export declare const push: {
|
|
|
19
19
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
20
20
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
21
21
|
readonly args: import("valibot").ObjectSchema<{
|
|
22
|
-
readonly connectionConfig: import("valibot").
|
|
22
|
+
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
23
23
|
readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
24
|
+
readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
24
25
|
readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
25
26
|
readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
27
|
+
readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
26
28
|
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
27
|
-
}, undefined
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
29
|
+
}, undefined>;
|
|
30
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
31
|
+
}, undefined>;
|
|
32
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
33
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
34
|
+
readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
|
|
35
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
36
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
37
|
+
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
38
|
+
readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
39
|
+
readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
40
|
+
readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
41
|
+
readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
42
|
+
readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
43
|
+
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
44
|
+
}, undefined>;
|
|
45
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
46
|
+
}, undefined>;
|
|
47
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
48
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
49
|
+
readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
|
|
50
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
51
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
52
|
+
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
53
|
+
readonly code: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
54
|
+
}, undefined>;
|
|
36
55
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
37
56
|
}, undefined>;
|
|
38
57
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI
|
|
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"}
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -99,15 +99,9 @@ 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 connectionConfig: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
103
|
-
readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
104
|
-
readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
105
|
-
readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
106
|
-
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
107
|
-
}, undefined>, undefined>;
|
|
108
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>;
|
|
109
103
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
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_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
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>;
|
|
111
105
|
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
112
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>;
|
|
113
107
|
readonly mailCounts: import("valibot").ObjectSchema<{
|
|
@@ -375,20 +369,39 @@ export declare const marcoSDK: {
|
|
|
375
369
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
376
370
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
377
371
|
readonly args: import("valibot").ObjectSchema<{
|
|
378
|
-
readonly connectionConfig: import("valibot").
|
|
372
|
+
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
373
|
+
readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
374
|
+
readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
375
|
+
readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
376
|
+
readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
377
|
+
readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
378
|
+
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
379
|
+
}, undefined>;
|
|
380
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
381
|
+
}, undefined>;
|
|
382
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
383
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
384
|
+
readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
|
|
385
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
386
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
387
|
+
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
379
388
|
readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
389
|
+
readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
380
390
|
readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
381
391
|
readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
392
|
+
readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
382
393
|
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
383
|
-
}, undefined
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
394
|
+
}, undefined>;
|
|
395
|
+
readonly id: 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<"setConnectionConfig", undefined>;
|
|
400
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
401
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
402
|
+
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
403
|
+
readonly code: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
404
|
+
}, undefined>;
|
|
392
405
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
393
406
|
}, undefined>;
|
|
394
407
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
package/dist/sdk/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
|
package/package.json
CHANGED