@marcoappio/marco-config 2.0.383 → 2.0.385
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/index.d.ts +2 -2
- package/dist/clients/thread.d.ts +2 -2
- package/dist/clients/thread.js +1 -1
- package/dist/constants/emailProvider.d.ts +4 -0
- package/dist/constants/emailProvider.d.ts.map +1 -1
- package/dist/constants/emailProvider.js +4 -0
- package/dist/constants/index.d.ts +4 -0
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/index.d.ts +2 -2
- package/dist/sdk/endpoints/private/index.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/index.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +2 -2
- package/dist/sdk/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/clients/index.d.ts
CHANGED
|
@@ -372,10 +372,10 @@ export declare const marcoClients: {
|
|
|
372
372
|
}, undefined>, undefined>;
|
|
373
373
|
readonly envelopeDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
374
374
|
readonly envelopeSubject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
375
|
-
readonly from: import("valibot").
|
|
375
|
+
readonly from: import("valibot").ObjectSchema<{
|
|
376
376
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
377
377
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
378
|
-
}, undefined
|
|
378
|
+
}, undefined>;
|
|
379
379
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
380
380
|
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>;
|
|
381
381
|
readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
package/dist/clients/thread.d.ts
CHANGED
|
@@ -23,10 +23,10 @@ export declare const thread: {
|
|
|
23
23
|
}, undefined>, undefined>;
|
|
24
24
|
readonly envelopeDate: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
25
25
|
readonly envelopeSubject: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
26
|
-
readonly from: v.
|
|
26
|
+
readonly from: v.ObjectSchema<{
|
|
27
27
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
28
28
|
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
29
|
-
}, undefined
|
|
29
|
+
}, undefined>;
|
|
30
30
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
31
31
|
readonly labelIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
32
32
|
readonly previewText: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
package/dist/clients/thread.js
CHANGED
|
@@ -51,7 +51,7 @@ export const thread = {
|
|
|
51
51
|
cc: v.array(inlineContact),
|
|
52
52
|
envelopeDate: marcoSchemas.number.positiveInteger(),
|
|
53
53
|
envelopeSubject: marcoSchemas.string.nullable(),
|
|
54
|
-
from:
|
|
54
|
+
from: inlineContact,
|
|
55
55
|
id: marcoSchemas.string.required(),
|
|
56
56
|
labelIds: v.array(marcoSchemas.string.required()),
|
|
57
57
|
previewText: marcoSchemas.string.required(marcoConstants.messages.PREVIEW_TEXT_MAX_LENGTH),
|
|
@@ -3,14 +3,18 @@ export declare const emailProvider: {
|
|
|
3
3
|
GMAIL: {
|
|
4
4
|
imapHost: string;
|
|
5
5
|
imapPort: number;
|
|
6
|
+
imapSocketType: "SSL";
|
|
6
7
|
smtpHost: string;
|
|
7
8
|
smtpPort: number;
|
|
9
|
+
smtpSocketType: "SSL";
|
|
8
10
|
};
|
|
9
11
|
APPLE: {
|
|
10
12
|
imapHost: string;
|
|
11
13
|
imapPort: number;
|
|
14
|
+
imapSocketType: "SSL";
|
|
12
15
|
smtpHost: string;
|
|
13
16
|
smtpPort: number;
|
|
17
|
+
smtpSocketType: "STARTTLS";
|
|
14
18
|
};
|
|
15
19
|
};
|
|
16
20
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emailProvider.d.ts","sourceRoot":"","sources":["../../src/constants/emailProvider.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"emailProvider.d.ts","sourceRoot":"","sources":["../../src/constants/emailProvider.ts"],"names":[],"mappings":"AAkCA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;CAEzB,CAAA"}
|
|
@@ -3,14 +3,18 @@ const connectionDefaults = {
|
|
|
3
3
|
[EmailProvider.GMAIL]: {
|
|
4
4
|
imapHost: 'imap.gmail.com',
|
|
5
5
|
imapPort: 993,
|
|
6
|
+
imapSocketType: 'SSL',
|
|
6
7
|
smtpHost: 'smtp.gmail.com',
|
|
7
8
|
smtpPort: 465,
|
|
9
|
+
smtpSocketType: 'SSL',
|
|
8
10
|
},
|
|
9
11
|
[EmailProvider.APPLE]: {
|
|
10
12
|
imapHost: 'imap.mail.me.com',
|
|
11
13
|
imapPort: 993,
|
|
14
|
+
imapSocketType: 'SSL',
|
|
12
15
|
smtpHost: 'smtp.mail.me.com',
|
|
13
16
|
smtpPort: 587,
|
|
17
|
+
smtpSocketType: 'STARTTLS',
|
|
14
18
|
},
|
|
15
19
|
};
|
|
16
20
|
export const emailProvider = {
|
|
@@ -15,14 +15,18 @@ export declare const marcoConstants: {
|
|
|
15
15
|
GMAIL: {
|
|
16
16
|
imapHost: string;
|
|
17
17
|
imapPort: number;
|
|
18
|
+
imapSocketType: "SSL";
|
|
18
19
|
smtpHost: string;
|
|
19
20
|
smtpPort: number;
|
|
21
|
+
smtpSocketType: "SSL";
|
|
20
22
|
};
|
|
21
23
|
APPLE: {
|
|
22
24
|
imapHost: string;
|
|
23
25
|
imapPort: number;
|
|
26
|
+
imapSocketType: "SSL";
|
|
24
27
|
smtpHost: string;
|
|
25
28
|
smtpPort: number;
|
|
29
|
+
smtpSocketType: "STARTTLS";
|
|
26
30
|
};
|
|
27
31
|
};
|
|
28
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM1B,CAAA"}
|
|
@@ -304,10 +304,10 @@ export declare const endpoints: {
|
|
|
304
304
|
}, undefined>, undefined>;
|
|
305
305
|
readonly envelopeDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
306
306
|
readonly envelopeSubject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
307
|
-
readonly from: import("valibot").
|
|
307
|
+
readonly from: import("valibot").ObjectSchema<{
|
|
308
308
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
309
309
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
310
|
-
}, undefined
|
|
310
|
+
}, undefined>;
|
|
311
311
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
312
312
|
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>;
|
|
313
313
|
readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -301,10 +301,10 @@ export declare const privateGroup: {
|
|
|
301
301
|
}, undefined>, undefined>;
|
|
302
302
|
readonly envelopeDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
303
303
|
readonly envelopeSubject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
304
|
-
readonly from: import("valibot").
|
|
304
|
+
readonly from: import("valibot").ObjectSchema<{
|
|
305
305
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
306
306
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
307
|
-
}, undefined
|
|
307
|
+
}, undefined>;
|
|
308
308
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
309
309
|
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>;
|
|
310
310
|
readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -263,10 +263,10 @@ export declare const sync: {
|
|
|
263
263
|
}, undefined>, undefined>;
|
|
264
264
|
readonly envelopeDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
265
265
|
readonly envelopeSubject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
266
|
-
readonly from: import("valibot").
|
|
266
|
+
readonly from: import("valibot").ObjectSchema<{
|
|
267
267
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
268
268
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
269
|
-
}, undefined
|
|
269
|
+
}, undefined>;
|
|
270
270
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
271
271
|
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>;
|
|
272
272
|
readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -262,10 +262,10 @@ export declare const pull: {
|
|
|
262
262
|
}, undefined>, undefined>;
|
|
263
263
|
readonly envelopeDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
264
264
|
readonly envelopeSubject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
265
|
-
readonly from: import("valibot").
|
|
265
|
+
readonly from: import("valibot").ObjectSchema<{
|
|
266
266
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
267
267
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
268
|
-
}, undefined
|
|
268
|
+
}, undefined>;
|
|
269
269
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
270
270
|
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>;
|
|
271
271
|
readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -69,10 +69,10 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
|
|
|
69
69
|
}, undefined>, undefined>;
|
|
70
70
|
readonly envelopeDate: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
71
71
|
readonly envelopeSubject: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
72
|
-
readonly from: v.
|
|
72
|
+
readonly from: v.ObjectSchema<{
|
|
73
73
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
74
74
|
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
75
|
-
}, undefined
|
|
75
|
+
}, undefined>;
|
|
76
76
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
77
77
|
readonly labelIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
78
78
|
readonly previewText: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -303,10 +303,10 @@ export declare const marcoSDK: {
|
|
|
303
303
|
}, undefined>, undefined>;
|
|
304
304
|
readonly envelopeDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
305
305
|
readonly envelopeSubject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
306
|
-
readonly from: import("valibot").
|
|
306
|
+
readonly from: import("valibot").ObjectSchema<{
|
|
307
307
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
308
308
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
309
|
-
}, undefined
|
|
309
|
+
}, undefined>;
|
|
310
310
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
311
311
|
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>;
|
|
312
312
|
readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
package/package.json
CHANGED