@marcoappio/marco-config 2.0.200 → 2.0.202
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 +13 -3
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/clients/thread.d.ts +13 -3
- package/dist/clients/thread.d.ts.map +1 -1
- package/dist/clients/thread.js +13 -3
- package/dist/sdk/endpoints/index.d.ts +45 -26
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +45 -26
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +45 -26
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +4 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +4 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +19 -19
- package/dist/sdk/endpoints/private/sync/push/account.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/account.js +11 -11
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/draft.js +38 -39
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +41 -25
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts +20 -4
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/thread.js +18 -6
- package/dist/sdk/endpoints/private/sync/push/user.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/push/user.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/user.js +3 -3
- package/dist/sdk/index.d.ts +45 -26
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,22 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const syncPushThread: import("../../../../..").EndpointConfig<"/v1/pv/sync/push/thread", v.ObjectSchema<{
|
|
3
3
|
readonly clientGroupID: v.StringSchema<undefined>;
|
|
4
|
-
readonly mutations: v.ArraySchema<v.UnionSchema<
|
|
4
|
+
readonly mutations: v.ArraySchema<v.UnionSchema<(v.ObjectSchema<{
|
|
5
|
+
readonly args: v.ObjectSchema<{
|
|
6
|
+
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
7
|
+
}, undefined>;
|
|
8
|
+
readonly clientID: v.StringSchema<undefined>;
|
|
9
|
+
readonly id: v.NumberSchema<undefined>;
|
|
10
|
+
readonly name: v.LiteralSchema<"delete", undefined>;
|
|
11
|
+
}, undefined> | v.ObjectSchema<{
|
|
12
|
+
readonly args: v.ObjectSchema<{
|
|
13
|
+
readonly labelIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
14
|
+
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
15
|
+
}, undefined>;
|
|
16
|
+
readonly clientID: v.StringSchema<undefined>;
|
|
17
|
+
readonly id: v.NumberSchema<undefined>;
|
|
18
|
+
readonly name: v.LiteralSchema<"setLabels", undefined>;
|
|
19
|
+
}, undefined> | v.ObjectSchema<{
|
|
5
20
|
readonly args: v.ObjectSchema<{
|
|
6
21
|
readonly messageId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
7
22
|
readonly seen: v.BooleanSchema<undefined>;
|
|
@@ -10,14 +25,15 @@ export declare const syncPushThread: import("../../../../..").EndpointConfig<"/v
|
|
|
10
25
|
readonly clientID: v.StringSchema<undefined>;
|
|
11
26
|
readonly id: v.NumberSchema<undefined>;
|
|
12
27
|
readonly name: v.LiteralSchema<"setMessageSeen", undefined>;
|
|
13
|
-
}, undefined
|
|
28
|
+
}, undefined> | v.ObjectSchema<{
|
|
14
29
|
readonly args: v.ObjectSchema<{
|
|
30
|
+
readonly specialUse: v.UnionSchema<[v.LiteralSchema<"ARCHIVE", undefined>, v.LiteralSchema<"INBOX", undefined>, v.LiteralSchema<"SENT", undefined>, v.LiteralSchema<"SPAM", undefined>, v.LiteralSchema<"TRASH", undefined>], undefined>;
|
|
15
31
|
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
16
32
|
}, undefined>;
|
|
17
33
|
readonly clientID: v.StringSchema<undefined>;
|
|
18
34
|
readonly id: v.NumberSchema<undefined>;
|
|
19
|
-
readonly name: v.LiteralSchema<"
|
|
20
|
-
}, undefined>], undefined>, undefined>;
|
|
35
|
+
readonly name: v.LiteralSchema<"setSpecialUse", undefined>;
|
|
36
|
+
}, undefined>)[], undefined>, undefined>;
|
|
21
37
|
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
22
38
|
readonly data: v.ObjectSchema<{
|
|
23
39
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA0CzB,CAAA"}
|
|
@@ -5,20 +5,32 @@ import { errors } from '../../../../../sdk/validation/errors';
|
|
|
5
5
|
export const syncPushThread = createEndpoint({
|
|
6
6
|
body: v.object({
|
|
7
7
|
clientGroupID: v.string(),
|
|
8
|
-
mutations: v.array(v.union(
|
|
9
|
-
v.object({
|
|
8
|
+
mutations: v.array(v.union(Object.values({
|
|
9
|
+
delete: v.object({
|
|
10
|
+
args: thread.mutators.delete.delta,
|
|
11
|
+
clientID: v.string(),
|
|
12
|
+
id: v.number(),
|
|
13
|
+
name: v.literal('delete'),
|
|
14
|
+
}),
|
|
15
|
+
setLabels: v.object({
|
|
16
|
+
args: thread.mutators.setLabels.delta,
|
|
17
|
+
clientID: v.string(),
|
|
18
|
+
id: v.number(),
|
|
19
|
+
name: v.literal('setLabels'),
|
|
20
|
+
}),
|
|
21
|
+
setMessageSeen: v.object({
|
|
10
22
|
args: thread.mutators.setMessageSeen.delta,
|
|
11
23
|
clientID: v.string(),
|
|
12
24
|
id: v.number(),
|
|
13
25
|
name: v.literal('setMessageSeen'),
|
|
14
26
|
}),
|
|
15
|
-
v.object({
|
|
16
|
-
args: thread.mutators.
|
|
27
|
+
setSpecialUse: v.object({
|
|
28
|
+
args: thread.mutators.setSpecialUse.delta,
|
|
17
29
|
clientID: v.string(),
|
|
18
30
|
id: v.number(),
|
|
19
|
-
name: v.literal('
|
|
31
|
+
name: v.literal('setSpecialUse'),
|
|
20
32
|
}),
|
|
21
|
-
|
|
33
|
+
}))),
|
|
22
34
|
}),
|
|
23
35
|
method: 'POST',
|
|
24
36
|
path: thread.pushURL,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const syncPushUser: import("../../../../..").EndpointConfig<"/v1/pv/sync/push/user", v.ObjectSchema<{
|
|
3
3
|
readonly clientGroupID: v.StringSchema<undefined>;
|
|
4
|
-
readonly mutations: v.ArraySchema<v.UnionSchema<
|
|
4
|
+
readonly mutations: v.ArraySchema<v.UnionSchema<v.ObjectSchema<{
|
|
5
5
|
readonly args: v.ObjectSchema<{
|
|
6
6
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
7
7
|
readonly settings: Omit<v.ObjectSchema<{
|
|
@@ -39,7 +39,7 @@ export declare const syncPushUser: import("../../../../..").EndpointConfig<"/v1/
|
|
|
39
39
|
readonly clientID: v.StringSchema<undefined>;
|
|
40
40
|
readonly id: v.NumberSchema<undefined>;
|
|
41
41
|
readonly name: v.LiteralSchema<"setSettings", undefined>;
|
|
42
|
-
}, undefined>], undefined>, undefined>;
|
|
42
|
+
}, undefined>[], undefined>, undefined>;
|
|
43
43
|
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
44
44
|
readonly data: v.ObjectSchema<{
|
|
45
45
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAuBvB,CAAA"}
|
|
@@ -5,14 +5,14 @@ import { errors } from '../../../../../sdk/validation/errors';
|
|
|
5
5
|
export const syncPushUser = createEndpoint({
|
|
6
6
|
body: v.object({
|
|
7
7
|
clientGroupID: v.string(),
|
|
8
|
-
mutations: v.array(v.union(
|
|
9
|
-
v.object({
|
|
8
|
+
mutations: v.array(v.union(Object.values({
|
|
9
|
+
setSettings: v.object({
|
|
10
10
|
args: user.mutators.setSettings.delta,
|
|
11
11
|
clientID: v.string(),
|
|
12
12
|
id: v.number(),
|
|
13
13
|
name: v.literal('setSettings'),
|
|
14
14
|
}),
|
|
15
|
-
|
|
15
|
+
}))),
|
|
16
16
|
}),
|
|
17
17
|
method: 'POST',
|
|
18
18
|
path: user.pushURL,
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -228,7 +228,10 @@ export declare const marcoSDK: {
|
|
|
228
228
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
229
229
|
}, undefined>;
|
|
230
230
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
231
|
-
readonly labelIds: import("valibot").
|
|
231
|
+
readonly labelIds: import("valibot").ObjectSchema<{
|
|
232
|
+
readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>, undefined>;
|
|
233
|
+
readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>, undefined>, undefined>;
|
|
234
|
+
}, undefined>;
|
|
232
235
|
readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
233
236
|
readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
234
237
|
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>;
|
|
@@ -290,39 +293,39 @@ export declare const marcoSDK: {
|
|
|
290
293
|
push: {
|
|
291
294
|
account: import("..").EndpointConfig<"/v1/pv/sync/push/account", import("valibot").ObjectSchema<{
|
|
292
295
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
293
|
-
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<
|
|
296
|
+
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
|
|
294
297
|
readonly args: import("valibot").ObjectSchema<{
|
|
295
|
-
readonly
|
|
296
|
-
|
|
297
|
-
readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
298
|
-
readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
299
|
-
readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
300
|
-
readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
301
|
-
readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
302
|
-
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
303
|
-
}, undefined>;
|
|
298
|
+
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
299
|
+
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
304
300
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
305
301
|
}, undefined>;
|
|
306
302
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
307
303
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
308
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
309
|
-
}, undefined
|
|
304
|
+
readonly name: import("valibot").LiteralSchema<"add", undefined>;
|
|
305
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
310
306
|
readonly args: import("valibot").ObjectSchema<{
|
|
311
|
-
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
312
|
-
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
313
307
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
314
308
|
}, undefined>;
|
|
315
309
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
316
310
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
317
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
318
|
-
}, undefined
|
|
311
|
+
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
312
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
319
313
|
readonly args: import("valibot").ObjectSchema<{
|
|
314
|
+
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
315
|
+
readonly imapStatus: import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>;
|
|
316
|
+
readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
317
|
+
readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
318
|
+
readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
319
|
+
readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
320
|
+
readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
321
|
+
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
322
|
+
}, undefined>;
|
|
320
323
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
321
324
|
}, undefined>;
|
|
322
325
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
323
326
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
324
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
325
|
-
}, undefined
|
|
327
|
+
readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
|
|
328
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
326
329
|
readonly args: import("valibot").ObjectSchema<{
|
|
327
330
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
328
331
|
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
@@ -367,7 +370,7 @@ export declare const marcoSDK: {
|
|
|
367
370
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
368
371
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
369
372
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
370
|
-
}, undefined>], undefined>, undefined>;
|
|
373
|
+
}, undefined>)[], undefined>, undefined>;
|
|
371
374
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
372
375
|
readonly data: import("valibot").ObjectSchema<{
|
|
373
376
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -520,7 +523,22 @@ export declare const marcoSDK: {
|
|
|
520
523
|
}, undefined>], undefined>>;
|
|
521
524
|
thread: import("..").EndpointConfig<"/v1/pv/sync/push/thread", import("valibot").ObjectSchema<{
|
|
522
525
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
523
|
-
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<
|
|
526
|
+
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
|
|
527
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
528
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
529
|
+
}, undefined>;
|
|
530
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
531
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
532
|
+
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
533
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
534
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
535
|
+
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>;
|
|
536
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
537
|
+
}, undefined>;
|
|
538
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
539
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
540
|
+
readonly name: import("valibot").LiteralSchema<"setLabels", undefined>;
|
|
541
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
524
542
|
readonly args: import("valibot").ObjectSchema<{
|
|
525
543
|
readonly messageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
526
544
|
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
@@ -529,14 +547,15 @@ export declare const marcoSDK: {
|
|
|
529
547
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
530
548
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
531
549
|
readonly name: import("valibot").LiteralSchema<"setMessageSeen", undefined>;
|
|
532
|
-
}, undefined
|
|
550
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
533
551
|
readonly args: import("valibot").ObjectSchema<{
|
|
552
|
+
readonly specialUse: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ARCHIVE", undefined>, import("valibot").LiteralSchema<"INBOX", undefined>, import("valibot").LiteralSchema<"SENT", undefined>, import("valibot").LiteralSchema<"SPAM", undefined>, import("valibot").LiteralSchema<"TRASH", undefined>], undefined>;
|
|
534
553
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
535
554
|
}, undefined>;
|
|
536
555
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
537
556
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
538
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
539
|
-
}, undefined>], undefined>, undefined>;
|
|
557
|
+
readonly name: import("valibot").LiteralSchema<"setSpecialUse", undefined>;
|
|
558
|
+
}, undefined>)[], undefined>, undefined>;
|
|
540
559
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
541
560
|
readonly data: import("valibot").ObjectSchema<{
|
|
542
561
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -562,7 +581,7 @@ export declare const marcoSDK: {
|
|
|
562
581
|
}, undefined>], undefined>>;
|
|
563
582
|
user: import("..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
|
|
564
583
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
565
|
-
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<
|
|
584
|
+
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<import("valibot").ObjectSchema<{
|
|
566
585
|
readonly args: import("valibot").ObjectSchema<{
|
|
567
586
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
568
587
|
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
@@ -600,7 +619,7 @@ export declare const marcoSDK: {
|
|
|
600
619
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
601
620
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
602
621
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
603
|
-
}, undefined>], undefined>, undefined>;
|
|
622
|
+
}, undefined>[], undefined>, undefined>;
|
|
604
623
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
605
624
|
readonly data: import("valibot").ObjectSchema<{
|
|
606
625
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
package/dist/sdk/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
|
package/package.json
CHANGED