@marcoappio/marco-config 2.0.289 → 2.0.291
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 +7 -19
- package/dist/clients/account.d.ts.map +1 -1
- package/dist/clients/account.js +7 -12
- package/dist/clients/draft.d.ts +32 -18
- package/dist/clients/draft.d.ts.map +1 -1
- package/dist/clients/draft.js +23 -9
- package/dist/clients/index.d.ts +39 -37
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/index.d.ts +43 -39
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +43 -39
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +43 -39
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +3 -1
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +5 -3
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +5 -19
- package/dist/sdk/endpoints/private/sync/push/account.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/account.js +6 -12
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +33 -17
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/draft.js +21 -9
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +38 -36
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/index.d.ts +43 -39
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3,9 +3,9 @@ export declare const account: {
|
|
|
3
3
|
model: v.ObjectSchema<{
|
|
4
4
|
readonly aliases: v.ArraySchema<v.ObjectSchema<{
|
|
5
5
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
6
|
+
readonly hidden: v.BooleanSchema<undefined>;
|
|
6
7
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
7
|
-
readonly
|
|
8
|
-
readonly isPrimary: v.BooleanSchema<undefined>;
|
|
8
|
+
readonly primary: v.BooleanSchema<undefined>;
|
|
9
9
|
}, undefined>, undefined>;
|
|
10
10
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
11
11
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
@@ -26,7 +26,7 @@ export declare const account: {
|
|
|
26
26
|
}, undefined>;
|
|
27
27
|
}, undefined>;
|
|
28
28
|
mutators: {
|
|
29
|
-
|
|
29
|
+
createAccount: {
|
|
30
30
|
delta: v.ObjectSchema<{
|
|
31
31
|
readonly color: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
32
32
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -37,12 +37,12 @@ export declare const account: {
|
|
|
37
37
|
delta: v.ObjectSchema<{
|
|
38
38
|
readonly aliasId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
39
39
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
40
|
+
readonly hidden: v.BooleanSchema<undefined>;
|
|
40
41
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
41
|
-
readonly
|
|
42
|
-
readonly isPrimary: v.BooleanSchema<undefined>;
|
|
42
|
+
readonly primary: v.BooleanSchema<undefined>;
|
|
43
43
|
}, undefined>;
|
|
44
44
|
};
|
|
45
|
-
|
|
45
|
+
deleteAccount: {
|
|
46
46
|
delta: v.ObjectSchema<{
|
|
47
47
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
48
48
|
}, undefined>;
|
|
@@ -55,6 +55,7 @@ export declare const account: {
|
|
|
55
55
|
setAliasHidden: {
|
|
56
56
|
delta: v.ObjectSchema<{
|
|
57
57
|
readonly aliasId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
58
|
+
readonly hidden: v.BooleanSchema<undefined>;
|
|
58
59
|
}, undefined>;
|
|
59
60
|
};
|
|
60
61
|
setAliasPrimary: {
|
|
@@ -62,19 +63,6 @@ export declare const account: {
|
|
|
62
63
|
readonly aliasId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
63
64
|
}, undefined>;
|
|
64
65
|
};
|
|
65
|
-
setConnectionConfig: {
|
|
66
|
-
delta: v.ObjectSchema<{
|
|
67
|
-
readonly connectionConfig: v.ObjectSchema<{
|
|
68
|
-
readonly imapHost: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
69
|
-
readonly imapPassword: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
70
|
-
readonly imapPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
71
|
-
readonly smtpHost: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
72
|
-
readonly smtpPassword: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
73
|
-
readonly smtpPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
74
|
-
}, undefined>;
|
|
75
|
-
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
76
|
-
}, undefined>;
|
|
77
|
-
};
|
|
78
66
|
setConnectionConfigImapRaw: {
|
|
79
67
|
delta: v.ObjectSchema<{
|
|
80
68
|
readonly connectionConfig: v.ObjectSchema<{
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwFG,CAAA"}
|
package/dist/clients/account.js
CHANGED
|
@@ -8,9 +8,9 @@ export const account = {
|
|
|
8
8
|
model: v.object({
|
|
9
9
|
aliases: v.array(v.object({
|
|
10
10
|
emailAddress: marcoSchemas.string.email(),
|
|
11
|
+
hidden: v.boolean(),
|
|
11
12
|
id: marcoSchemas.string.shortUUID(),
|
|
12
|
-
|
|
13
|
-
isPrimary: v.boolean(),
|
|
13
|
+
primary: v.boolean(),
|
|
14
14
|
})),
|
|
15
15
|
emailAddress: marcoSchemas.string.email(),
|
|
16
16
|
id: marcoSchemas.string.shortUUID(),
|
|
@@ -28,7 +28,7 @@ export const account = {
|
|
|
28
28
|
settings: accountSettings,
|
|
29
29
|
}),
|
|
30
30
|
mutators: {
|
|
31
|
-
|
|
31
|
+
createAccount: {
|
|
32
32
|
delta: v.object({
|
|
33
33
|
color: marcoSchemas.string.required(),
|
|
34
34
|
emailAddress: marcoSchemas.string.email(),
|
|
@@ -39,12 +39,12 @@ export const account = {
|
|
|
39
39
|
delta: v.object({
|
|
40
40
|
aliasId: marcoSchemas.string.shortUUID(),
|
|
41
41
|
emailAddress: marcoSchemas.string.email(),
|
|
42
|
+
hidden: v.boolean(),
|
|
42
43
|
id: marcoSchemas.string.shortUUID(),
|
|
43
|
-
|
|
44
|
-
isPrimary: v.boolean(),
|
|
44
|
+
primary: v.boolean(),
|
|
45
45
|
}),
|
|
46
46
|
},
|
|
47
|
-
|
|
47
|
+
deleteAccount: {
|
|
48
48
|
delta: v.object({
|
|
49
49
|
id: marcoSchemas.string.shortUUID(),
|
|
50
50
|
}),
|
|
@@ -57,6 +57,7 @@ export const account = {
|
|
|
57
57
|
setAliasHidden: {
|
|
58
58
|
delta: v.object({
|
|
59
59
|
aliasId: marcoSchemas.string.shortUUID(),
|
|
60
|
+
hidden: v.boolean(),
|
|
60
61
|
}),
|
|
61
62
|
},
|
|
62
63
|
setAliasPrimary: {
|
|
@@ -64,12 +65,6 @@ export const account = {
|
|
|
64
65
|
aliasId: marcoSchemas.string.shortUUID(),
|
|
65
66
|
}),
|
|
66
67
|
},
|
|
67
|
-
setConnectionConfig: {
|
|
68
|
-
delta: v.object({
|
|
69
|
-
connectionConfig: marcoSchemas.emailAccount.connectionConfigImapRaw(),
|
|
70
|
-
id: marcoSchemas.string.shortUUID(),
|
|
71
|
-
}),
|
|
72
|
-
},
|
|
73
68
|
setConnectionConfigImapRaw: {
|
|
74
69
|
delta: v.object({
|
|
75
70
|
connectionConfig: marcoSchemas.emailAccount.connectionConfigImapRaw(),
|
package/dist/clients/draft.d.ts
CHANGED
|
@@ -18,14 +18,35 @@ export declare const draft: {
|
|
|
18
18
|
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
19
19
|
}, undefined>;
|
|
20
20
|
readonly emailAccountId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
21
|
+
readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
21
22
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
22
23
|
readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
23
|
-
readonly
|
|
24
|
+
readonly scheduledFor: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
25
|
+
readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SEND_REQUESTED", undefined>, v.LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, v.LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
|
|
24
26
|
readonly type: v.UnionSchema<[v.LiteralSchema<"NEW", undefined>, v.LiteralSchema<"REPLY", undefined>, v.LiteralSchema<"FORWARD", undefined>], undefined>;
|
|
25
27
|
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
26
28
|
}, undefined>;
|
|
27
29
|
mutators: {
|
|
28
|
-
|
|
30
|
+
cancelDraftSend: {
|
|
31
|
+
delta: v.ObjectSchema<{
|
|
32
|
+
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
33
|
+
}, undefined>;
|
|
34
|
+
};
|
|
35
|
+
createAttachment: {
|
|
36
|
+
delta: v.ObjectSchema<{
|
|
37
|
+
readonly attachment: v.ObjectSchema<{
|
|
38
|
+
readonly failed: v.BooleanSchema<undefined>;
|
|
39
|
+
readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
40
|
+
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
41
|
+
readonly mimeType: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
42
|
+
readonly totalChunks: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
43
|
+
readonly totalSize: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
44
|
+
readonly uploadedChunks: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
45
|
+
}, undefined>;
|
|
46
|
+
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
47
|
+
}, undefined>;
|
|
48
|
+
};
|
|
49
|
+
createDraft: {
|
|
29
50
|
delta: v.ObjectSchema<{
|
|
30
51
|
readonly attachments: v.ArraySchema<v.ObjectSchema<{
|
|
31
52
|
readonly failed: v.BooleanSchema<undefined>;
|
|
@@ -44,35 +65,28 @@ export declare const draft: {
|
|
|
44
65
|
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
45
66
|
}, undefined>;
|
|
46
67
|
readonly emailAccountId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
68
|
+
readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
47
69
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
48
70
|
readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
49
|
-
readonly
|
|
71
|
+
readonly scheduledFor: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
72
|
+
readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SEND_REQUESTED", undefined>, v.LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, v.LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
|
|
50
73
|
readonly type: v.UnionSchema<[v.LiteralSchema<"NEW", undefined>, v.LiteralSchema<"REPLY", undefined>, v.LiteralSchema<"FORWARD", undefined>], undefined>;
|
|
51
74
|
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
52
75
|
}, undefined>;
|
|
53
76
|
};
|
|
54
|
-
|
|
77
|
+
deleteAttachment: {
|
|
55
78
|
delta: v.ObjectSchema<{
|
|
56
|
-
readonly
|
|
57
|
-
readonly failed: v.BooleanSchema<undefined>;
|
|
58
|
-
readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
59
|
-
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
60
|
-
readonly mimeType: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
61
|
-
readonly totalChunks: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
62
|
-
readonly totalSize: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
63
|
-
readonly uploadedChunks: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
64
|
-
}, undefined>;
|
|
79
|
+
readonly attachmentId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
65
80
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
66
81
|
}, undefined>;
|
|
67
82
|
};
|
|
68
|
-
|
|
83
|
+
deleteDraft: {
|
|
69
84
|
delta: v.ObjectSchema<{
|
|
70
85
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
71
86
|
}, undefined>;
|
|
72
87
|
};
|
|
73
|
-
|
|
88
|
+
sendDraft: {
|
|
74
89
|
delta: v.ObjectSchema<{
|
|
75
|
-
readonly attachmentId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
76
90
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
77
91
|
}, undefined>;
|
|
78
92
|
};
|
|
@@ -147,10 +161,10 @@ export declare const draft: {
|
|
|
147
161
|
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
148
162
|
}, undefined>;
|
|
149
163
|
};
|
|
150
|
-
|
|
164
|
+
setScheduledFor: {
|
|
151
165
|
delta: v.ObjectSchema<{
|
|
152
166
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
153
|
-
readonly
|
|
167
|
+
readonly scheduledFor: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
154
168
|
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
155
169
|
}, undefined>;
|
|
156
170
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../src/clients/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../src/clients/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAmD5B,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyEK,CAAA"}
|
package/dist/clients/draft.js
CHANGED
|
@@ -2,8 +2,9 @@ import * as v from 'valibot';
|
|
|
2
2
|
import { marcoSchemas } from '../schemas';
|
|
3
3
|
const draftStatusSchema = v.union([
|
|
4
4
|
v.literal('DRAFT'),
|
|
5
|
-
v.literal('
|
|
6
|
-
v.literal('
|
|
5
|
+
v.literal('SEND_REQUESTED'),
|
|
6
|
+
v.literal('SEND_CONFIRMATION_PENDING'),
|
|
7
|
+
v.literal('SEND_CONFIRMED'),
|
|
7
8
|
]);
|
|
8
9
|
const draftTypeSchema = v.union([
|
|
9
10
|
v.literal('NEW'),
|
|
@@ -26,12 +27,15 @@ const attachmentSchema = v.object({
|
|
|
26
27
|
totalSize: marcoSchemas.number.positiveInteger(),
|
|
27
28
|
uploadedChunks: marcoSchemas.number.positiveInteger(),
|
|
28
29
|
});
|
|
30
|
+
const scheduledForSchema = v.nullable(marcoSchemas.number.positiveInteger());
|
|
29
31
|
const draftSchema = v.object({
|
|
30
32
|
attachments: v.array(attachmentSchema),
|
|
31
33
|
body: bodySchema,
|
|
32
34
|
emailAccountId: marcoSchemas.string.shortUUID(),
|
|
35
|
+
error: v.nullable(v.string()),
|
|
33
36
|
id: marcoSchemas.string.shortUUID(),
|
|
34
37
|
referencedMessageId: v.nullable(marcoSchemas.string.shortUUID()),
|
|
38
|
+
scheduledFor: scheduledForSchema,
|
|
35
39
|
status: draftStatusSchema,
|
|
36
40
|
type: draftTypeSchema,
|
|
37
41
|
updatedAt: marcoSchemas.number.positiveInteger(),
|
|
@@ -39,8 +43,10 @@ const draftSchema = v.object({
|
|
|
39
43
|
export const draft = {
|
|
40
44
|
model: draftSchema,
|
|
41
45
|
mutators: {
|
|
42
|
-
|
|
43
|
-
delta:
|
|
46
|
+
cancelDraftSend: {
|
|
47
|
+
delta: v.object({
|
|
48
|
+
id: marcoSchemas.string.shortUUID(),
|
|
49
|
+
}),
|
|
44
50
|
},
|
|
45
51
|
createAttachment: {
|
|
46
52
|
delta: v.object({
|
|
@@ -48,14 +54,22 @@ export const draft = {
|
|
|
48
54
|
id: marcoSchemas.string.shortUUID(),
|
|
49
55
|
}),
|
|
50
56
|
},
|
|
51
|
-
|
|
57
|
+
createDraft: {
|
|
58
|
+
delta: draftSchema,
|
|
59
|
+
},
|
|
60
|
+
deleteAttachment: {
|
|
61
|
+
delta: v.object({
|
|
62
|
+
attachmentId: marcoSchemas.string.shortUUID(),
|
|
63
|
+
id: marcoSchemas.string.shortUUID(),
|
|
64
|
+
}),
|
|
65
|
+
},
|
|
66
|
+
deleteDraft: {
|
|
52
67
|
delta: v.object({
|
|
53
68
|
id: marcoSchemas.string.shortUUID(),
|
|
54
69
|
}),
|
|
55
70
|
},
|
|
56
|
-
|
|
71
|
+
sendDraft: {
|
|
57
72
|
delta: v.object({
|
|
58
|
-
attachmentId: marcoSchemas.string.shortUUID(),
|
|
59
73
|
id: marcoSchemas.string.shortUUID(),
|
|
60
74
|
}),
|
|
61
75
|
},
|
|
@@ -80,10 +94,10 @@ export const draft = {
|
|
|
80
94
|
updatedAt: marcoSchemas.number.positiveInteger(),
|
|
81
95
|
}),
|
|
82
96
|
},
|
|
83
|
-
|
|
97
|
+
setScheduledFor: {
|
|
84
98
|
delta: v.object({
|
|
85
99
|
id: marcoSchemas.string.shortUUID(),
|
|
86
|
-
|
|
100
|
+
scheduledFor: scheduledForSchema,
|
|
87
101
|
updatedAt: marcoSchemas.number.positiveInteger(),
|
|
88
102
|
}),
|
|
89
103
|
},
|
package/dist/clients/index.d.ts
CHANGED
|
@@ -4,9 +4,9 @@ export declare const marcoClients: {
|
|
|
4
4
|
model: import("valibot").ObjectSchema<{
|
|
5
5
|
readonly aliases: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
6
6
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
7
|
+
readonly hidden: import("valibot").BooleanSchema<undefined>;
|
|
7
8
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
8
|
-
readonly
|
|
9
|
-
readonly isPrimary: import("valibot").BooleanSchema<undefined>;
|
|
9
|
+
readonly primary: import("valibot").BooleanSchema<undefined>;
|
|
10
10
|
}, undefined>, undefined>;
|
|
11
11
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
12
12
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
@@ -27,7 +27,7 @@ export declare const marcoClients: {
|
|
|
27
27
|
}, undefined>;
|
|
28
28
|
}, undefined>;
|
|
29
29
|
mutators: {
|
|
30
|
-
|
|
30
|
+
createAccount: {
|
|
31
31
|
delta: import("valibot").ObjectSchema<{
|
|
32
32
|
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
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>;
|
|
@@ -38,12 +38,12 @@ export declare const marcoClients: {
|
|
|
38
38
|
delta: import("valibot").ObjectSchema<{
|
|
39
39
|
readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
40
40
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
41
|
+
readonly hidden: import("valibot").BooleanSchema<undefined>;
|
|
41
42
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
42
|
-
readonly
|
|
43
|
-
readonly isPrimary: import("valibot").BooleanSchema<undefined>;
|
|
43
|
+
readonly primary: import("valibot").BooleanSchema<undefined>;
|
|
44
44
|
}, undefined>;
|
|
45
45
|
};
|
|
46
|
-
|
|
46
|
+
deleteAccount: {
|
|
47
47
|
delta: import("valibot").ObjectSchema<{
|
|
48
48
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
49
49
|
}, undefined>;
|
|
@@ -56,6 +56,7 @@ export declare const marcoClients: {
|
|
|
56
56
|
setAliasHidden: {
|
|
57
57
|
delta: import("valibot").ObjectSchema<{
|
|
58
58
|
readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
59
|
+
readonly hidden: import("valibot").BooleanSchema<undefined>;
|
|
59
60
|
}, undefined>;
|
|
60
61
|
};
|
|
61
62
|
setAliasPrimary: {
|
|
@@ -63,19 +64,6 @@ export declare const marcoClients: {
|
|
|
63
64
|
readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
64
65
|
}, undefined>;
|
|
65
66
|
};
|
|
66
|
-
setConnectionConfig: {
|
|
67
|
-
delta: import("valibot").ObjectSchema<{
|
|
68
|
-
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
69
|
-
readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
70
|
-
readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
71
|
-
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>;
|
|
72
|
-
readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
73
|
-
readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
74
|
-
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>;
|
|
75
|
-
}, undefined>;
|
|
76
|
-
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
77
|
-
}, undefined>;
|
|
78
|
-
};
|
|
79
67
|
setConnectionConfigImapRaw: {
|
|
80
68
|
delta: import("valibot").ObjectSchema<{
|
|
81
69
|
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
@@ -171,14 +159,35 @@ export declare const marcoClients: {
|
|
|
171
159
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
172
160
|
}, undefined>;
|
|
173
161
|
readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
162
|
+
readonly error: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
174
163
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
175
164
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
176
|
-
readonly
|
|
165
|
+
readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
166
|
+
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
|
|
177
167
|
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
|
|
178
168
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
179
169
|
}, undefined>;
|
|
180
170
|
mutators: {
|
|
181
|
-
|
|
171
|
+
cancelDraftSend: {
|
|
172
|
+
delta: import("valibot").ObjectSchema<{
|
|
173
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
174
|
+
}, undefined>;
|
|
175
|
+
};
|
|
176
|
+
createAttachment: {
|
|
177
|
+
delta: import("valibot").ObjectSchema<{
|
|
178
|
+
readonly attachment: import("valibot").ObjectSchema<{
|
|
179
|
+
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
180
|
+
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
181
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
182
|
+
readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
183
|
+
readonly totalChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
184
|
+
readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
185
|
+
readonly uploadedChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
186
|
+
}, undefined>;
|
|
187
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
188
|
+
}, undefined>;
|
|
189
|
+
};
|
|
190
|
+
createDraft: {
|
|
182
191
|
delta: import("valibot").ObjectSchema<{
|
|
183
192
|
readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
184
193
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
@@ -197,35 +206,28 @@ export declare const marcoClients: {
|
|
|
197
206
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
198
207
|
}, undefined>;
|
|
199
208
|
readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
209
|
+
readonly error: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
200
210
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
201
211
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
202
|
-
readonly
|
|
212
|
+
readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
213
|
+
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
|
|
203
214
|
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
|
|
204
215
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
205
216
|
}, undefined>;
|
|
206
217
|
};
|
|
207
|
-
|
|
218
|
+
deleteAttachment: {
|
|
208
219
|
delta: import("valibot").ObjectSchema<{
|
|
209
|
-
readonly
|
|
210
|
-
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
211
|
-
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
212
|
-
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
213
|
-
readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
214
|
-
readonly totalChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
215
|
-
readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
216
|
-
readonly uploadedChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
217
|
-
}, undefined>;
|
|
220
|
+
readonly attachmentId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
218
221
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
219
222
|
}, undefined>;
|
|
220
223
|
};
|
|
221
|
-
|
|
224
|
+
deleteDraft: {
|
|
222
225
|
delta: import("valibot").ObjectSchema<{
|
|
223
226
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
224
227
|
}, undefined>;
|
|
225
228
|
};
|
|
226
|
-
|
|
229
|
+
sendDraft: {
|
|
227
230
|
delta: import("valibot").ObjectSchema<{
|
|
228
|
-
readonly attachmentId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
229
231
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
230
232
|
}, undefined>;
|
|
231
233
|
};
|
|
@@ -300,10 +302,10 @@ export declare const marcoClients: {
|
|
|
300
302
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
301
303
|
}, undefined>;
|
|
302
304
|
};
|
|
303
|
-
|
|
305
|
+
setScheduledFor: {
|
|
304
306
|
delta: import("valibot").ObjectSchema<{
|
|
305
307
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
306
|
-
readonly
|
|
308
|
+
readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
307
309
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
308
310
|
}, undefined>;
|
|
309
311
|
};
|
|
@@ -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"}
|