@marcoappio/marco-config 2.0.182 → 2.0.184
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 +2 -2
- package/dist/clients/account.d.ts.map +1 -1
- package/dist/clients/account.js +2 -11
- package/dist/clients/draft.d.ts +2 -2
- package/dist/clients/index.d.ts +4 -4
- package/dist/clients/thread.js +1 -1
- 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 +12 -1
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +16 -5
- package/dist/sdk/endpoints/index.d.ts +4 -4
- package/dist/sdk/endpoints/private/index.d.ts +4 -4
- package/dist/sdk/endpoints/private/sync/index.d.ts +4 -4
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +4 -4
- package/dist/sdk/index.d.ts +4 -4
- 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
|
@@ -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 | v.MaxLengthIssue<string, 255>>;
|
|
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 | v.MaxLengthIssue<string, 255>;
|
|
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(),
|
package/dist/clients/draft.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ export declare const draft: {
|
|
|
76
76
|
cc: string[];
|
|
77
77
|
to: string[];
|
|
78
78
|
subject: string;
|
|
79
|
-
}, v.StringIssue | v.ObjectIssue | v.
|
|
79
|
+
}, v.StringIssue | v.ObjectIssue | v.NonEmptyIssue<string> | 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[];
|
|
@@ -90,7 +90,7 @@ export declare const draft: {
|
|
|
90
90
|
to: string[];
|
|
91
91
|
subject: string;
|
|
92
92
|
};
|
|
93
|
-
readonly issue: v.StringIssue | v.ObjectIssue | v.
|
|
93
|
+
readonly issue: v.StringIssue | v.ObjectIssue | v.NonEmptyIssue<string> | 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/index.d.ts
CHANGED
|
@@ -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 | import("valibot").MaxLengthIssue<string, 255>>;
|
|
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 | import("valibot").MaxLengthIssue<string, 255>;
|
|
98
98
|
} | undefined;
|
|
99
99
|
};
|
|
100
100
|
}, undefined>;
|
|
@@ -193,7 +193,7 @@ export declare const marcoClients: {
|
|
|
193
193
|
cc: string[];
|
|
194
194
|
to: string[];
|
|
195
195
|
subject: string;
|
|
196
|
-
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
196
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | 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[];
|
|
@@ -207,7 +207,7 @@ export declare const marcoClients: {
|
|
|
207
207
|
to: string[];
|
|
208
208
|
subject: string;
|
|
209
209
|
};
|
|
210
|
-
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
210
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | 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>;
|
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),
|
|
@@ -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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emailProvider.d.ts","sourceRoot":"","sources":["../../src/constants/emailProvider.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;CAEzB,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EmailProvider } from '../types';
|
|
2
|
+
const connectionDefaults = {
|
|
3
|
+
[EmailProvider.GMAIL]: {
|
|
4
|
+
imapHost: 'imap.gmail.com',
|
|
5
|
+
imapPort: 993,
|
|
6
|
+
smtpHost: 'smtp.gmail.com',
|
|
7
|
+
smtpPort: 587,
|
|
8
|
+
},
|
|
9
|
+
[EmailProvider.APPLE]: {
|
|
10
|
+
imapHost: 'imap.mail.me.com',
|
|
11
|
+
imapPort: 993,
|
|
12
|
+
smtpHost: 'smtp.mail.me.com',
|
|
13
|
+
smtpPort: 587,
|
|
14
|
+
},
|
|
15
|
+
};
|
|
16
|
+
export const emailProvider = {
|
|
17
|
+
connectionDefaults,
|
|
18
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const marcoConstants: {
|
|
2
|
+
emailProvider: {
|
|
3
|
+
connectionDefaults: {
|
|
4
|
+
GMAIL: {
|
|
5
|
+
imapHost: string;
|
|
6
|
+
imapPort: number;
|
|
7
|
+
smtpHost: string;
|
|
8
|
+
smtpPort: number;
|
|
9
|
+
};
|
|
10
|
+
APPLE: {
|
|
11
|
+
imapHost: string;
|
|
12
|
+
imapPort: number;
|
|
13
|
+
smtpHost: string;
|
|
14
|
+
smtpPort: number;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
messages: {
|
|
19
|
+
PREVIEW_TEXT_MAX_LENGTH: number;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;CAG1B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/constants/messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;CAEpB,CAAA"}
|
package/dist/schemas.d.ts
CHANGED
|
@@ -14,7 +14,18 @@ export declare const marcoSchemas: {
|
|
|
14
14
|
}, undefined>, undefined>;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
emailAccount: {
|
|
18
|
+
connectionConfig: () => v.ObjectSchema<{
|
|
19
|
+
readonly imapHost: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
20
|
+
readonly imapPassword: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
21
|
+
readonly imapPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
22
|
+
readonly imapStatus: v.UnionSchema<[v.LiteralSchema<"AWAITING_CONNECTION", undefined>, v.LiteralSchema<"CONNECTED", undefined>, v.LiteralSchema<"CONNECTION_FAILED", undefined>], undefined>;
|
|
23
|
+
readonly smtpHost: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
24
|
+
readonly smtpPassword: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
25
|
+
readonly smtpPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
26
|
+
}, undefined>;
|
|
27
|
+
imapConnectionStatus: () => v.UnionSchema<[v.LiteralSchema<"AWAITING_CONNECTION", undefined>, v.LiteralSchema<"CONNECTED", undefined>, v.LiteralSchema<"CONNECTION_FAILED", undefined>], undefined>;
|
|
28
|
+
};
|
|
18
29
|
labelSpecialUse: () => v.UnionSchema<[v.LiteralSchema<"ARCHIVE", undefined>, v.LiteralSchema<"INBOX", undefined>, v.LiteralSchema<"SENT", undefined>, v.LiteralSchema<"SPAM", undefined>, v.LiteralSchema<"TRASH", undefined>], undefined>;
|
|
19
30
|
number: {
|
|
20
31
|
minMax: (min: number, max: number) => v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
package/dist/schemas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBA+BP,MAAM,OAAO,MAAM;;;;;uBAQlB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;yBAEpB,MAAM;;;;;;CAW1B,CAAA"}
|
package/dist/schemas.js
CHANGED
|
@@ -14,11 +14,22 @@ export const marcoSchemas = {
|
|
|
14
14
|
patch: () => v.array(patchInstructionSchema),
|
|
15
15
|
},
|
|
16
16
|
},
|
|
17
|
-
|
|
18
|
-
v.
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
emailAccount: {
|
|
18
|
+
connectionConfig: () => v.object({
|
|
19
|
+
imapHost: marcoSchemas.string.required(),
|
|
20
|
+
imapPassword: marcoSchemas.string.required(),
|
|
21
|
+
imapPort: marcoSchemas.number.minMax(1, 65535),
|
|
22
|
+
imapStatus: marcoSchemas.emailAccount.imapConnectionStatus(),
|
|
23
|
+
smtpHost: marcoSchemas.string.required(),
|
|
24
|
+
smtpPassword: marcoSchemas.string.required(),
|
|
25
|
+
smtpPort: marcoSchemas.number.minMax(1, 65535),
|
|
26
|
+
}),
|
|
27
|
+
imapConnectionStatus: () => v.union([
|
|
28
|
+
v.literal('AWAITING_CONNECTION'),
|
|
29
|
+
v.literal('CONNECTED'),
|
|
30
|
+
v.literal('CONNECTION_FAILED'),
|
|
31
|
+
]),
|
|
32
|
+
},
|
|
22
33
|
labelSpecialUse: () => v.union([
|
|
23
34
|
v.literal('ARCHIVE'),
|
|
24
35
|
v.literal('INBOX'),
|
|
@@ -299,7 +299,7 @@ export declare const endpoints: {
|
|
|
299
299
|
color?: string | undefined;
|
|
300
300
|
firstName?: string | null | undefined;
|
|
301
301
|
lastName?: string | null | undefined;
|
|
302
|
-
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
302
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").MaxLengthIssue<string, 255>>;
|
|
303
303
|
readonly '~types'?: {
|
|
304
304
|
readonly input: {
|
|
305
305
|
color?: string | undefined;
|
|
@@ -311,7 +311,7 @@ export declare const endpoints: {
|
|
|
311
311
|
firstName?: string | null | undefined;
|
|
312
312
|
lastName?: string | null | undefined;
|
|
313
313
|
};
|
|
314
|
-
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
314
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").MaxLengthIssue<string, 255>;
|
|
315
315
|
} | undefined;
|
|
316
316
|
};
|
|
317
317
|
}, undefined>;
|
|
@@ -406,7 +406,7 @@ export declare const endpoints: {
|
|
|
406
406
|
cc: string[];
|
|
407
407
|
to: string[];
|
|
408
408
|
subject: string;
|
|
409
|
-
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
409
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ArrayIssue>;
|
|
410
410
|
readonly '~types'?: {
|
|
411
411
|
readonly input: {
|
|
412
412
|
bcc: string[];
|
|
@@ -420,7 +420,7 @@ export declare const endpoints: {
|
|
|
420
420
|
to: string[];
|
|
421
421
|
subject: string;
|
|
422
422
|
};
|
|
423
|
-
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
423
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ArrayIssue;
|
|
424
424
|
} | undefined;
|
|
425
425
|
};
|
|
426
426
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
@@ -296,7 +296,7 @@ export declare const privateGroup: {
|
|
|
296
296
|
color?: string | undefined;
|
|
297
297
|
firstName?: string | null | undefined;
|
|
298
298
|
lastName?: string | null | undefined;
|
|
299
|
-
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
299
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").MaxLengthIssue<string, 255>>;
|
|
300
300
|
readonly '~types'?: {
|
|
301
301
|
readonly input: {
|
|
302
302
|
color?: string | undefined;
|
|
@@ -308,7 +308,7 @@ export declare const privateGroup: {
|
|
|
308
308
|
firstName?: string | null | undefined;
|
|
309
309
|
lastName?: string | null | undefined;
|
|
310
310
|
};
|
|
311
|
-
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
311
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").MaxLengthIssue<string, 255>;
|
|
312
312
|
} | undefined;
|
|
313
313
|
};
|
|
314
314
|
}, undefined>;
|
|
@@ -403,7 +403,7 @@ export declare const privateGroup: {
|
|
|
403
403
|
cc: string[];
|
|
404
404
|
to: string[];
|
|
405
405
|
subject: string;
|
|
406
|
-
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
406
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ArrayIssue>;
|
|
407
407
|
readonly '~types'?: {
|
|
408
408
|
readonly input: {
|
|
409
409
|
bcc: string[];
|
|
@@ -417,7 +417,7 @@ export declare const privateGroup: {
|
|
|
417
417
|
to: string[];
|
|
418
418
|
subject: string;
|
|
419
419
|
};
|
|
420
|
-
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
420
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ArrayIssue;
|
|
421
421
|
} | undefined;
|
|
422
422
|
};
|
|
423
423
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
@@ -281,7 +281,7 @@ export declare const sync: {
|
|
|
281
281
|
color?: string | undefined;
|
|
282
282
|
firstName?: string | null | undefined;
|
|
283
283
|
lastName?: string | null | undefined;
|
|
284
|
-
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
284
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").MaxLengthIssue<string, 255>>;
|
|
285
285
|
readonly '~types'?: {
|
|
286
286
|
readonly input: {
|
|
287
287
|
color?: string | undefined;
|
|
@@ -293,7 +293,7 @@ export declare const sync: {
|
|
|
293
293
|
firstName?: string | null | undefined;
|
|
294
294
|
lastName?: string | null | undefined;
|
|
295
295
|
};
|
|
296
|
-
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
296
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").MaxLengthIssue<string, 255>;
|
|
297
297
|
} | undefined;
|
|
298
298
|
};
|
|
299
299
|
}, undefined>;
|
|
@@ -388,7 +388,7 @@ export declare const sync: {
|
|
|
388
388
|
cc: string[];
|
|
389
389
|
to: string[];
|
|
390
390
|
subject: string;
|
|
391
|
-
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
391
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ArrayIssue>;
|
|
392
392
|
readonly '~types'?: {
|
|
393
393
|
readonly input: {
|
|
394
394
|
bcc: string[];
|
|
@@ -402,7 +402,7 @@ export declare const sync: {
|
|
|
402
402
|
to: string[];
|
|
403
403
|
subject: string;
|
|
404
404
|
};
|
|
405
|
-
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
405
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ArrayIssue;
|
|
406
406
|
} | undefined;
|
|
407
407
|
};
|
|
408
408
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
@@ -59,7 +59,7 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
59
59
|
color?: string | undefined;
|
|
60
60
|
firstName?: string | null | undefined;
|
|
61
61
|
lastName?: string | null | undefined;
|
|
62
|
-
}, v.StringIssue | v.ObjectIssue | v.
|
|
62
|
+
}, v.StringIssue | v.ObjectIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.MaxLengthIssue<string, 255>>;
|
|
63
63
|
readonly '~types'?: {
|
|
64
64
|
readonly input: {
|
|
65
65
|
color?: string | undefined;
|
|
@@ -71,7 +71,7 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
71
71
|
firstName?: string | null | undefined;
|
|
72
72
|
lastName?: string | null | undefined;
|
|
73
73
|
};
|
|
74
|
-
readonly issue: v.StringIssue | v.ObjectIssue | v.
|
|
74
|
+
readonly issue: v.StringIssue | v.ObjectIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.MaxLengthIssue<string, 255>;
|
|
75
75
|
} | undefined;
|
|
76
76
|
};
|
|
77
77
|
}, undefined>;
|
|
@@ -77,7 +77,7 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
77
77
|
cc: string[];
|
|
78
78
|
to: string[];
|
|
79
79
|
subject: string;
|
|
80
|
-
}, v.StringIssue | v.ObjectIssue | v.
|
|
80
|
+
}, v.StringIssue | v.ObjectIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.ArrayIssue>;
|
|
81
81
|
readonly '~types'?: {
|
|
82
82
|
readonly input: {
|
|
83
83
|
bcc: string[];
|
|
@@ -91,7 +91,7 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
91
91
|
to: string[];
|
|
92
92
|
subject: string;
|
|
93
93
|
};
|
|
94
|
-
readonly issue: v.StringIssue | v.ObjectIssue | v.
|
|
94
|
+
readonly issue: v.StringIssue | v.ObjectIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.ArrayIssue;
|
|
95
95
|
} | undefined;
|
|
96
96
|
};
|
|
97
97
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
@@ -59,7 +59,7 @@ export declare const push: {
|
|
|
59
59
|
color?: string | undefined;
|
|
60
60
|
firstName?: string | null | undefined;
|
|
61
61
|
lastName?: string | null | undefined;
|
|
62
|
-
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
62
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").MaxLengthIssue<string, 255>>;
|
|
63
63
|
readonly '~types'?: {
|
|
64
64
|
readonly input: {
|
|
65
65
|
color?: string | undefined;
|
|
@@ -71,7 +71,7 @@ export declare const push: {
|
|
|
71
71
|
firstName?: string | null | undefined;
|
|
72
72
|
lastName?: string | null | undefined;
|
|
73
73
|
};
|
|
74
|
-
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
74
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").MaxLengthIssue<string, 255>;
|
|
75
75
|
} | undefined;
|
|
76
76
|
};
|
|
77
77
|
}, undefined>;
|
|
@@ -166,7 +166,7 @@ export declare const push: {
|
|
|
166
166
|
cc: string[];
|
|
167
167
|
to: string[];
|
|
168
168
|
subject: string;
|
|
169
|
-
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
169
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ArrayIssue>;
|
|
170
170
|
readonly '~types'?: {
|
|
171
171
|
readonly input: {
|
|
172
172
|
bcc: string[];
|
|
@@ -180,7 +180,7 @@ export declare const push: {
|
|
|
180
180
|
to: string[];
|
|
181
181
|
subject: string;
|
|
182
182
|
};
|
|
183
|
-
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
183
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ArrayIssue;
|
|
184
184
|
} | undefined;
|
|
185
185
|
};
|
|
186
186
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -298,7 +298,7 @@ export declare const marcoSDK: {
|
|
|
298
298
|
color?: string | undefined;
|
|
299
299
|
firstName?: string | null | undefined;
|
|
300
300
|
lastName?: string | null | undefined;
|
|
301
|
-
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
301
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").MaxLengthIssue<string, 255>>;
|
|
302
302
|
readonly '~types'?: {
|
|
303
303
|
readonly input: {
|
|
304
304
|
color?: string | undefined;
|
|
@@ -310,7 +310,7 @@ export declare const marcoSDK: {
|
|
|
310
310
|
firstName?: string | null | undefined;
|
|
311
311
|
lastName?: string | null | undefined;
|
|
312
312
|
};
|
|
313
|
-
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
313
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").MaxLengthIssue<string, 255>;
|
|
314
314
|
} | undefined;
|
|
315
315
|
};
|
|
316
316
|
}, undefined>;
|
|
@@ -405,7 +405,7 @@ export declare const marcoSDK: {
|
|
|
405
405
|
cc: string[];
|
|
406
406
|
to: string[];
|
|
407
407
|
subject: string;
|
|
408
|
-
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
408
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ArrayIssue>;
|
|
409
409
|
readonly '~types'?: {
|
|
410
410
|
readonly input: {
|
|
411
411
|
bcc: string[];
|
|
@@ -419,7 +419,7 @@ export declare const marcoSDK: {
|
|
|
419
419
|
to: string[];
|
|
420
420
|
subject: string;
|
|
421
421
|
};
|
|
422
|
-
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").
|
|
422
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ArrayIssue;
|
|
423
423
|
} | undefined;
|
|
424
424
|
};
|
|
425
425
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmailProvider.d.ts","sourceRoot":"","sources":["../../src/types/EmailProvider.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,KAAK,UAAU;IACf,KAAK,UAAU;CAChB"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,MAAM,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,MAAM,CAAA"}
|
package/dist/types/index.js
CHANGED
package/package.json
CHANGED
package/dist/constants.d.ts
DELETED
package/dist/constants.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;CAE1B,CAAA"}
|