@marcoappio/marco-config 2.0.183 → 2.0.185
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 +8 -8
- package/dist/clients/account.d.ts.map +1 -1
- package/dist/clients/account.js +2 -11
- package/dist/clients/contact.d.ts +1 -1
- package/dist/clients/draft.d.ts +17 -17
- package/dist/clients/draft.js +2 -2
- package/dist/clients/index.d.ts +39 -39
- package/dist/clients/thread.d.ts +5 -5
- package/dist/clients/thread.js +1 -1
- package/dist/clients/user.d.ts +8 -8
- package/dist/constants/emailProvider.d.ts +17 -0
- package/dist/constants/emailProvider.d.ts.map +1 -0
- package/dist/constants/emailProvider.js +18 -0
- package/dist/constants/index.d.ts +22 -0
- package/dist/constants/index.d.ts.map +1 -0
- package/dist/constants/index.js +6 -0
- package/dist/constants/messages.d.ts +4 -0
- package/dist/constants/messages.d.ts.map +1 -0
- package/dist/{constants.js → constants/messages.js} +1 -1
- package/dist/schemas.d.ts +14 -3
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +18 -7
- package/dist/sdk/endpoints/index.d.ts +45 -45
- package/dist/sdk/endpoints/private/index.d.ts +39 -39
- package/dist/sdk/endpoints/private/sync/index.d.ts +39 -39
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +3 -3
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +13 -13
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +5 -5
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +6 -6
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +14 -14
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +26 -26
- package/dist/sdk/endpoints/private/sync/push/user.d.ts +6 -6
- package/dist/sdk/endpoints/public/auth/index.d.ts +6 -6
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +3 -3
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +3 -3
- package/dist/sdk/endpoints/public/index.d.ts +6 -6
- package/dist/sdk/index.d.ts +45 -45
- package/dist/types/EmailProvider.d.ts +5 -0
- package/dist/types/EmailProvider.d.ts.map +1 -0
- package/dist/types/EmailProvider.js +5 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/package.json +1 -1
- package/dist/constants.d.ts +0 -4
- package/dist/constants.d.ts.map +0 -1
|
@@ -24,8 +24,8 @@ export declare const account: {
|
|
|
24
24
|
}, undefined>;
|
|
25
25
|
readonly settings: v.ObjectSchema<{
|
|
26
26
|
readonly color: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
27
|
-
readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string,
|
|
28
|
-
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string,
|
|
27
|
+
readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
28
|
+
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
29
29
|
}, undefined>;
|
|
30
30
|
}, undefined>;
|
|
31
31
|
mutators: {
|
|
@@ -60,13 +60,13 @@ export declare const account: {
|
|
|
60
60
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
61
61
|
readonly settings: Omit<v.ObjectSchema<{
|
|
62
62
|
readonly color: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
63
|
-
readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string,
|
|
64
|
-
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string,
|
|
63
|
+
readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
64
|
+
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
65
65
|
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
66
66
|
readonly entries: {
|
|
67
67
|
readonly color: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
68
|
-
readonly firstName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string,
|
|
69
|
-
readonly lastName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string,
|
|
68
|
+
readonly firstName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
69
|
+
readonly lastName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
70
70
|
};
|
|
71
71
|
readonly '~standard': v.StandardSchemaProps<{
|
|
72
72
|
color?: string | undefined;
|
|
@@ -81,7 +81,7 @@ export declare const account: {
|
|
|
81
81
|
color?: string | undefined;
|
|
82
82
|
firstName?: string | null | undefined;
|
|
83
83
|
lastName?: string | null | undefined;
|
|
84
|
-
}, v.StringIssue | v.ObjectIssue | v.
|
|
84
|
+
}, v.StringIssue | v.ObjectIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue>;
|
|
85
85
|
readonly '~types'?: {
|
|
86
86
|
readonly input: {
|
|
87
87
|
color?: string | undefined;
|
|
@@ -93,7 +93,7 @@ export declare const account: {
|
|
|
93
93
|
firstName?: string | null | undefined;
|
|
94
94
|
lastName?: string | null | undefined;
|
|
95
95
|
};
|
|
96
|
-
readonly issue: v.StringIssue | v.ObjectIssue | v.
|
|
96
|
+
readonly issue: v.StringIssue | v.ObjectIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue;
|
|
97
97
|
} | undefined;
|
|
98
98
|
};
|
|
99
99
|
}, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../src/clients/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../src/clients/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDG,CAAA"}
|
package/dist/clients/account.js
CHANGED
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
import { marcoSchemas } from '../schemas';
|
|
3
|
-
const connectionConfig = v.object({
|
|
4
|
-
imapHost: marcoSchemas.string.required(),
|
|
5
|
-
imapPassword: marcoSchemas.string.required(),
|
|
6
|
-
imapPort: marcoSchemas.number.minMax(1, 65535),
|
|
7
|
-
imapStatus: marcoSchemas.emailAccountImapConnectionStatus(),
|
|
8
|
-
smtpHost: marcoSchemas.string.required(),
|
|
9
|
-
smtpPassword: marcoSchemas.string.required(),
|
|
10
|
-
smtpPort: marcoSchemas.number.minMax(1, 65535),
|
|
11
|
-
});
|
|
12
3
|
const accountSettings = v.object({
|
|
13
4
|
color: marcoSchemas.string.required(),
|
|
14
5
|
firstName: marcoSchemas.string.nullable(),
|
|
@@ -16,7 +7,7 @@ const accountSettings = v.object({
|
|
|
16
7
|
});
|
|
17
8
|
export const account = {
|
|
18
9
|
model: v.object({
|
|
19
|
-
connectionConfig: v.nullable(connectionConfig),
|
|
10
|
+
connectionConfig: v.nullable(marcoSchemas.emailAccount.connectionConfig()),
|
|
20
11
|
emailAddress: marcoSchemas.string.email(),
|
|
21
12
|
id: marcoSchemas.string.uuid(),
|
|
22
13
|
labels: v.array(v.object({
|
|
@@ -47,7 +38,7 @@ export const account = {
|
|
|
47
38
|
setConnectionConfig: {
|
|
48
39
|
delta: v.object({
|
|
49
40
|
connectionConfig: v.object({
|
|
50
|
-
...connectionConfig.entries,
|
|
41
|
+
...marcoSchemas.emailAccount.connectionConfig().entries,
|
|
51
42
|
imapStatus: v.literal('AWAITING_CONNECTION'),
|
|
52
43
|
}),
|
|
53
44
|
id: marcoSchemas.string.uuid(),
|
|
@@ -2,7 +2,7 @@ import * as v from 'valibot';
|
|
|
2
2
|
export declare const contact: {
|
|
3
3
|
model: v.ObjectSchema<{
|
|
4
4
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
5
|
-
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string,
|
|
5
|
+
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
6
6
|
}, undefined>;
|
|
7
7
|
mutators: {};
|
|
8
8
|
name: "contact";
|
package/dist/clients/draft.d.ts
CHANGED
|
@@ -4,13 +4,13 @@ export declare const draft: {
|
|
|
4
4
|
readonly body: v.ObjectSchema<{
|
|
5
5
|
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
6
6
|
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
7
|
-
readonly content: v.StringSchema<undefined>;
|
|
8
|
-
readonly subject: v.
|
|
7
|
+
readonly content: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
8
|
+
readonly subject: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
9
9
|
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
10
10
|
}, undefined>;
|
|
11
11
|
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
12
12
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
13
|
-
readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string,
|
|
13
|
+
readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
14
14
|
readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SENDING", undefined>, v.LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
15
15
|
}, undefined>;
|
|
16
16
|
mutators: {
|
|
@@ -19,13 +19,13 @@ export declare const draft: {
|
|
|
19
19
|
readonly body: v.ObjectSchema<{
|
|
20
20
|
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
21
21
|
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
22
|
-
readonly content: v.StringSchema<undefined>;
|
|
23
|
-
readonly subject: v.
|
|
22
|
+
readonly content: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
23
|
+
readonly subject: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
24
24
|
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
25
25
|
}, undefined>;
|
|
26
26
|
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
27
27
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
28
|
-
readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string,
|
|
28
|
+
readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
29
29
|
readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SENDING", undefined>, v.LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
30
30
|
}, undefined>;
|
|
31
31
|
};
|
|
@@ -49,48 +49,48 @@ export declare const draft: {
|
|
|
49
49
|
readonly envelope: Omit<v.ObjectSchema<{
|
|
50
50
|
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
51
51
|
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
52
|
-
readonly content: v.StringSchema<undefined>;
|
|
53
|
-
readonly subject: v.
|
|
52
|
+
readonly content: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
53
|
+
readonly subject: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
54
54
|
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
55
55
|
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
56
56
|
readonly entries: Omit<{
|
|
57
57
|
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
58
58
|
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
59
|
-
readonly content: v.StringSchema<undefined>;
|
|
60
|
-
readonly subject: v.
|
|
59
|
+
readonly content: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
60
|
+
readonly subject: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
61
61
|
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
62
62
|
}, "content">;
|
|
63
63
|
readonly '~standard': v.StandardSchemaProps<{
|
|
64
64
|
bcc: string[];
|
|
65
65
|
cc: string[];
|
|
66
66
|
to: string[];
|
|
67
|
-
subject: string;
|
|
67
|
+
subject: string | null;
|
|
68
68
|
}, {
|
|
69
69
|
bcc: string[];
|
|
70
70
|
cc: string[];
|
|
71
71
|
to: string[];
|
|
72
|
-
subject: string;
|
|
72
|
+
subject: string | null;
|
|
73
73
|
}>;
|
|
74
74
|
readonly '~run': (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
75
75
|
bcc: string[];
|
|
76
76
|
cc: string[];
|
|
77
77
|
to: string[];
|
|
78
|
-
subject: string;
|
|
79
|
-
}, v.StringIssue | v.ObjectIssue | v.
|
|
78
|
+
subject: string | null;
|
|
79
|
+
}, v.StringIssue | v.ObjectIssue | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.ArrayIssue>;
|
|
80
80
|
readonly '~types'?: {
|
|
81
81
|
readonly input: {
|
|
82
82
|
bcc: string[];
|
|
83
83
|
cc: string[];
|
|
84
84
|
to: string[];
|
|
85
|
-
subject: string;
|
|
85
|
+
subject: string | null;
|
|
86
86
|
};
|
|
87
87
|
readonly output: {
|
|
88
88
|
bcc: string[];
|
|
89
89
|
cc: string[];
|
|
90
90
|
to: string[];
|
|
91
|
-
subject: string;
|
|
91
|
+
subject: string | null;
|
|
92
92
|
};
|
|
93
|
-
readonly issue: v.StringIssue | v.ObjectIssue | v.
|
|
93
|
+
readonly issue: v.StringIssue | v.ObjectIssue | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.ArrayIssue;
|
|
94
94
|
} | undefined;
|
|
95
95
|
};
|
|
96
96
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
package/dist/clients/draft.js
CHANGED
|
@@ -8,8 +8,8 @@ const draftStatusSchema = v.union([
|
|
|
8
8
|
const bodySchema = v.object({
|
|
9
9
|
bcc: v.array(marcoSchemas.string.email()),
|
|
10
10
|
cc: v.array(marcoSchemas.string.email()),
|
|
11
|
-
content:
|
|
12
|
-
subject: marcoSchemas.string.
|
|
11
|
+
content: marcoSchemas.string.nullable(384000),
|
|
12
|
+
subject: marcoSchemas.string.nullable(),
|
|
13
13
|
to: v.array(marcoSchemas.string.email()),
|
|
14
14
|
});
|
|
15
15
|
const draftSchema = v.object({
|
package/dist/clients/index.d.ts
CHANGED
|
@@ -25,8 +25,8 @@ export declare const marcoClients: {
|
|
|
25
25
|
}, undefined>;
|
|
26
26
|
readonly settings: import("valibot").ObjectSchema<{
|
|
27
27
|
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
28
|
-
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string,
|
|
29
|
-
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string,
|
|
28
|
+
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
29
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
30
30
|
}, undefined>;
|
|
31
31
|
}, undefined>;
|
|
32
32
|
mutators: {
|
|
@@ -61,13 +61,13 @@ export declare const marcoClients: {
|
|
|
61
61
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
62
62
|
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
63
63
|
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
64
|
-
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string,
|
|
65
|
-
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string,
|
|
64
|
+
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
65
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
66
66
|
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
67
67
|
readonly entries: {
|
|
68
68
|
readonly color: import("valibot").OptionalSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
69
|
-
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string,
|
|
70
|
-
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string,
|
|
69
|
+
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
70
|
+
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
71
71
|
};
|
|
72
72
|
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
73
73
|
color?: string | undefined;
|
|
@@ -82,7 +82,7 @@ export declare const marcoClients: {
|
|
|
82
82
|
color?: string | undefined;
|
|
83
83
|
firstName?: string | null | undefined;
|
|
84
84
|
lastName?: string | null | undefined;
|
|
85
|
-
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
85
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue>;
|
|
86
86
|
readonly '~types'?: {
|
|
87
87
|
readonly input: {
|
|
88
88
|
color?: string | undefined;
|
|
@@ -94,7 +94,7 @@ export declare const marcoClients: {
|
|
|
94
94
|
firstName?: string | null | undefined;
|
|
95
95
|
lastName?: string | null | undefined;
|
|
96
96
|
};
|
|
97
|
-
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
97
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue;
|
|
98
98
|
} | undefined;
|
|
99
99
|
};
|
|
100
100
|
}, undefined>;
|
|
@@ -108,7 +108,7 @@ export declare const marcoClients: {
|
|
|
108
108
|
contact: {
|
|
109
109
|
model: import("valibot").ObjectSchema<{
|
|
110
110
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
111
|
-
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string,
|
|
111
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
112
112
|
}, undefined>;
|
|
113
113
|
mutators: {};
|
|
114
114
|
name: "contact";
|
|
@@ -121,13 +121,13 @@ export declare const marcoClients: {
|
|
|
121
121
|
readonly body: import("valibot").ObjectSchema<{
|
|
122
122
|
readonly bcc: 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>;
|
|
123
123
|
readonly cc: 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>;
|
|
124
|
-
readonly content: import("valibot").StringSchema<undefined>;
|
|
125
|
-
readonly subject: import("valibot").
|
|
124
|
+
readonly content: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
125
|
+
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
126
126
|
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>;
|
|
127
127
|
}, undefined>;
|
|
128
128
|
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
129
129
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
130
|
-
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string,
|
|
130
|
+
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
131
131
|
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
132
132
|
}, undefined>;
|
|
133
133
|
mutators: {
|
|
@@ -136,13 +136,13 @@ export declare const marcoClients: {
|
|
|
136
136
|
readonly body: import("valibot").ObjectSchema<{
|
|
137
137
|
readonly bcc: 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>;
|
|
138
138
|
readonly cc: 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>;
|
|
139
|
-
readonly content: import("valibot").StringSchema<undefined>;
|
|
140
|
-
readonly subject: import("valibot").
|
|
139
|
+
readonly content: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
140
|
+
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
141
141
|
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>;
|
|
142
142
|
}, undefined>;
|
|
143
143
|
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
144
144
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
145
|
-
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string,
|
|
145
|
+
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
146
146
|
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
147
147
|
}, undefined>;
|
|
148
148
|
};
|
|
@@ -166,48 +166,48 @@ export declare const marcoClients: {
|
|
|
166
166
|
readonly envelope: Omit<import("valibot").ObjectSchema<{
|
|
167
167
|
readonly bcc: 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>;
|
|
168
168
|
readonly cc: 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>;
|
|
169
|
-
readonly content: import("valibot").StringSchema<undefined>;
|
|
170
|
-
readonly subject: import("valibot").
|
|
169
|
+
readonly content: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
170
|
+
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
171
171
|
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
172
|
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
173
173
|
readonly entries: Omit<{
|
|
174
174
|
readonly bcc: 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>;
|
|
175
175
|
readonly cc: 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>;
|
|
176
|
-
readonly content: import("valibot").StringSchema<undefined>;
|
|
177
|
-
readonly subject: import("valibot").
|
|
176
|
+
readonly content: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
177
|
+
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
178
178
|
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>;
|
|
179
179
|
}, "content">;
|
|
180
180
|
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
181
181
|
bcc: string[];
|
|
182
182
|
cc: string[];
|
|
183
183
|
to: string[];
|
|
184
|
-
subject: string;
|
|
184
|
+
subject: string | null;
|
|
185
185
|
}, {
|
|
186
186
|
bcc: string[];
|
|
187
187
|
cc: string[];
|
|
188
188
|
to: string[];
|
|
189
|
-
subject: string;
|
|
189
|
+
subject: string | null;
|
|
190
190
|
}>;
|
|
191
191
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
192
192
|
bcc: string[];
|
|
193
193
|
cc: string[];
|
|
194
194
|
to: string[];
|
|
195
|
-
subject: string;
|
|
196
|
-
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
195
|
+
subject: string | null;
|
|
196
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ArrayIssue>;
|
|
197
197
|
readonly '~types'?: {
|
|
198
198
|
readonly input: {
|
|
199
199
|
bcc: string[];
|
|
200
200
|
cc: string[];
|
|
201
201
|
to: string[];
|
|
202
|
-
subject: string;
|
|
202
|
+
subject: string | null;
|
|
203
203
|
};
|
|
204
204
|
readonly output: {
|
|
205
205
|
bcc: string[];
|
|
206
206
|
cc: string[];
|
|
207
207
|
to: string[];
|
|
208
|
-
subject: string;
|
|
208
|
+
subject: string | null;
|
|
209
209
|
};
|
|
210
|
-
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
210
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ArrayIssue;
|
|
211
211
|
} | undefined;
|
|
212
212
|
};
|
|
213
213
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
@@ -232,30 +232,30 @@ export declare const marcoClients: {
|
|
|
232
232
|
readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
233
233
|
readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
234
234
|
readonly emailAddresses: 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>;
|
|
235
|
-
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string,
|
|
235
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
236
236
|
}, undefined>, undefined>;
|
|
237
237
|
readonly cc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
238
238
|
readonly emailAddresses: 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>;
|
|
239
|
-
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string,
|
|
239
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
240
240
|
}, undefined>, undefined>;
|
|
241
241
|
readonly envelopeDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
242
242
|
readonly envelopeSubject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
243
243
|
readonly flagged: import("valibot").BooleanSchema<undefined>;
|
|
244
244
|
readonly from: import("valibot").ObjectSchema<{
|
|
245
245
|
readonly emailAddresses: 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>;
|
|
246
|
-
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string,
|
|
246
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
247
247
|
}, undefined>;
|
|
248
248
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
249
249
|
readonly labelIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
250
250
|
readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
251
251
|
readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
252
252
|
readonly emailAddresses: 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>;
|
|
253
|
-
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string,
|
|
253
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
254
254
|
}, undefined>, undefined>;
|
|
255
255
|
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
256
256
|
readonly to: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
257
257
|
readonly emailAddresses: 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>;
|
|
258
|
-
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string,
|
|
258
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
259
259
|
}, undefined>, undefined>;
|
|
260
260
|
}, undefined>, undefined>;
|
|
261
261
|
}, undefined>;
|
|
@@ -277,8 +277,8 @@ export declare const marcoClients: {
|
|
|
277
277
|
model: import("valibot").ObjectSchema<{
|
|
278
278
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
279
279
|
readonly settings: import("valibot").ObjectSchema<{
|
|
280
|
-
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string,
|
|
281
|
-
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string,
|
|
280
|
+
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
281
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
282
282
|
}, undefined>;
|
|
283
283
|
}, undefined>;
|
|
284
284
|
mutators: {
|
|
@@ -286,12 +286,12 @@ export declare const marcoClients: {
|
|
|
286
286
|
delta: import("valibot").ObjectSchema<{
|
|
287
287
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
288
288
|
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
289
|
-
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string,
|
|
290
|
-
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string,
|
|
289
|
+
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
290
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
291
291
|
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
292
292
|
readonly entries: {
|
|
293
|
-
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string,
|
|
294
|
-
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string,
|
|
293
|
+
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
294
|
+
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
295
295
|
};
|
|
296
296
|
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
297
297
|
firstName?: string | null | undefined;
|
|
@@ -303,7 +303,7 @@ export declare const marcoClients: {
|
|
|
303
303
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
304
304
|
firstName?: string | null | undefined;
|
|
305
305
|
lastName?: string | null | undefined;
|
|
306
|
-
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string,
|
|
306
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, number>>;
|
|
307
307
|
readonly '~types'?: {
|
|
308
308
|
readonly input: {
|
|
309
309
|
firstName?: string | null | undefined;
|
|
@@ -313,7 +313,7 @@ export declare const marcoClients: {
|
|
|
313
313
|
firstName?: string | null | undefined;
|
|
314
314
|
lastName?: string | null | undefined;
|
|
315
315
|
};
|
|
316
|
-
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string,
|
|
316
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, number>;
|
|
317
317
|
} | undefined;
|
|
318
318
|
};
|
|
319
319
|
}, undefined>;
|
package/dist/clients/thread.d.ts
CHANGED
|
@@ -6,30 +6,30 @@ export declare const thread: {
|
|
|
6
6
|
readonly messages: v.ArraySchema<v.ObjectSchema<{
|
|
7
7
|
readonly bcc: v.ArraySchema<v.ObjectSchema<{
|
|
8
8
|
readonly emailAddresses: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
9
|
-
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string,
|
|
9
|
+
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
10
10
|
}, undefined>, undefined>;
|
|
11
11
|
readonly cc: v.ArraySchema<v.ObjectSchema<{
|
|
12
12
|
readonly emailAddresses: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
13
|
-
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string,
|
|
13
|
+
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
14
14
|
}, undefined>, undefined>;
|
|
15
15
|
readonly envelopeDate: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
16
16
|
readonly envelopeSubject: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
17
17
|
readonly flagged: v.BooleanSchema<undefined>;
|
|
18
18
|
readonly from: v.ObjectSchema<{
|
|
19
19
|
readonly emailAddresses: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
20
|
-
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string,
|
|
20
|
+
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
21
21
|
}, undefined>;
|
|
22
22
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
23
23
|
readonly labelIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
24
24
|
readonly previewText: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
25
25
|
readonly replyTo: v.ArraySchema<v.ObjectSchema<{
|
|
26
26
|
readonly emailAddresses: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
27
|
-
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string,
|
|
27
|
+
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
28
28
|
}, undefined>, undefined>;
|
|
29
29
|
readonly seen: v.BooleanSchema<undefined>;
|
|
30
30
|
readonly to: v.ArraySchema<v.ObjectSchema<{
|
|
31
31
|
readonly emailAddresses: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
32
|
-
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string,
|
|
32
|
+
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
33
33
|
}, undefined>, undefined>;
|
|
34
34
|
}, undefined>, undefined>;
|
|
35
35
|
}, undefined>;
|
package/dist/clients/thread.js
CHANGED
|
@@ -18,7 +18,7 @@ export const thread = {
|
|
|
18
18
|
from: inlineContact,
|
|
19
19
|
id: marcoSchemas.string.uuid(),
|
|
20
20
|
labelIds: v.array(marcoSchemas.string.required()),
|
|
21
|
-
previewText: marcoSchemas.string.required(marcoConstants.PREVIEW_TEXT_MAX_LENGTH),
|
|
21
|
+
previewText: marcoSchemas.string.required(marcoConstants.messages.PREVIEW_TEXT_MAX_LENGTH),
|
|
22
22
|
replyTo: v.array(inlineContact),
|
|
23
23
|
seen: v.boolean(),
|
|
24
24
|
to: v.array(inlineContact),
|
package/dist/clients/user.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ export declare const user: {
|
|
|
3
3
|
model: v.ObjectSchema<{
|
|
4
4
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
5
5
|
readonly settings: v.ObjectSchema<{
|
|
6
|
-
readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string,
|
|
7
|
-
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string,
|
|
6
|
+
readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
7
|
+
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
8
8
|
}, undefined>;
|
|
9
9
|
}, undefined>;
|
|
10
10
|
mutators: {
|
|
@@ -12,12 +12,12 @@ export declare const user: {
|
|
|
12
12
|
delta: v.ObjectSchema<{
|
|
13
13
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
14
14
|
readonly settings: Omit<v.ObjectSchema<{
|
|
15
|
-
readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string,
|
|
16
|
-
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string,
|
|
15
|
+
readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
16
|
+
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
17
17
|
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
18
18
|
readonly entries: {
|
|
19
|
-
readonly firstName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string,
|
|
20
|
-
readonly lastName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string,
|
|
19
|
+
readonly firstName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
20
|
+
readonly lastName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
21
21
|
};
|
|
22
22
|
readonly '~standard': v.StandardSchemaProps<{
|
|
23
23
|
firstName?: string | null | undefined;
|
|
@@ -29,7 +29,7 @@ export declare const user: {
|
|
|
29
29
|
readonly '~run': (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
30
30
|
firstName?: string | null | undefined;
|
|
31
31
|
lastName?: string | null | undefined;
|
|
32
|
-
}, v.StringIssue | v.ObjectIssue | v.MaxLengthIssue<string,
|
|
32
|
+
}, v.StringIssue | v.ObjectIssue | v.MaxLengthIssue<string, number>>;
|
|
33
33
|
readonly '~types'?: {
|
|
34
34
|
readonly input: {
|
|
35
35
|
firstName?: string | null | undefined;
|
|
@@ -39,7 +39,7 @@ export declare const user: {
|
|
|
39
39
|
firstName?: string | null | undefined;
|
|
40
40
|
lastName?: string | null | undefined;
|
|
41
41
|
};
|
|
42
|
-
readonly issue: v.StringIssue | v.ObjectIssue | v.MaxLengthIssue<string,
|
|
42
|
+
readonly issue: v.StringIssue | v.ObjectIssue | v.MaxLengthIssue<string, number>;
|
|
43
43
|
} | undefined;
|
|
44
44
|
};
|
|
45
45
|
}, undefined>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const emailProvider: {
|
|
2
|
+
connectionDefaults: {
|
|
3
|
+
GMAIL: {
|
|
4
|
+
imapHost: string;
|
|
5
|
+
imapPort: number;
|
|
6
|
+
smtpHost: string;
|
|
7
|
+
smtpPort: number;
|
|
8
|
+
};
|
|
9
|
+
APPLE: {
|
|
10
|
+
imapHost: string;
|
|
11
|
+
imapPort: number;
|
|
12
|
+
smtpHost: string;
|
|
13
|
+
smtpPort: number;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=emailProvider.d.ts.map
|