@marcoappio/marco-config 2.0.225 → 2.0.226
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 +18 -4
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/clients/thread.d.ts +18 -4
- package/dist/clients/thread.d.ts.map +1 -1
- package/dist/clients/thread.js +24 -7
- package/dist/schemas.d.ts +1 -0
- package/dist/schemas.d.ts.map +1 -1
- package/dist/sdk/endpoints/index.d.ts +24 -4
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +24 -4
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +24 -4
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +24 -4
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts +24 -4
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/thread.js +24 -6
- package/dist/sdk/index.d.ts +24 -4
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/clients/index.d.ts
CHANGED
|
@@ -284,15 +284,29 @@ export declare const marcoClients: {
|
|
|
284
284
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
285
285
|
}, undefined>;
|
|
286
286
|
};
|
|
287
|
-
|
|
287
|
+
setSeen: {
|
|
288
288
|
delta: import("valibot").ObjectSchema<{
|
|
289
|
-
readonly
|
|
289
|
+
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
290
290
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
291
291
|
}, undefined>;
|
|
292
292
|
};
|
|
293
|
-
|
|
293
|
+
setArchive: {
|
|
294
|
+
delta: import("valibot").ObjectSchema<{
|
|
295
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
296
|
+
}, undefined>;
|
|
297
|
+
};
|
|
298
|
+
setInbox: {
|
|
299
|
+
delta: import("valibot").ObjectSchema<{
|
|
300
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
301
|
+
}, undefined>;
|
|
302
|
+
};
|
|
303
|
+
setSpam: {
|
|
304
|
+
delta: import("valibot").ObjectSchema<{
|
|
305
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
306
|
+
}, undefined>;
|
|
307
|
+
};
|
|
308
|
+
setTrash: {
|
|
294
309
|
delta: import("valibot").ObjectSchema<{
|
|
295
|
-
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
296
310
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
297
311
|
}, undefined>;
|
|
298
312
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMc,CAAA"}
|
package/dist/clients/thread.d.ts
CHANGED
|
@@ -54,15 +54,29 @@ export declare const thread: {
|
|
|
54
54
|
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
55
55
|
}, undefined>;
|
|
56
56
|
};
|
|
57
|
-
|
|
57
|
+
setSeen: {
|
|
58
58
|
delta: v.ObjectSchema<{
|
|
59
|
-
readonly
|
|
59
|
+
readonly seen: v.BooleanSchema<undefined>;
|
|
60
60
|
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
61
61
|
}, undefined>;
|
|
62
62
|
};
|
|
63
|
-
|
|
63
|
+
setArchive: {
|
|
64
|
+
delta: v.ObjectSchema<{
|
|
65
|
+
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
66
|
+
}, undefined>;
|
|
67
|
+
};
|
|
68
|
+
setInbox: {
|
|
69
|
+
delta: v.ObjectSchema<{
|
|
70
|
+
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
71
|
+
}, undefined>;
|
|
72
|
+
};
|
|
73
|
+
setSpam: {
|
|
74
|
+
delta: v.ObjectSchema<{
|
|
75
|
+
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
76
|
+
}, undefined>;
|
|
77
|
+
};
|
|
78
|
+
setTrash: {
|
|
64
79
|
delta: v.ObjectSchema<{
|
|
65
|
-
readonly seen: v.BooleanSchema<undefined>;
|
|
66
80
|
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
67
81
|
}, undefined>;
|
|
68
82
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../src/clients/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../src/clients/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA2C5B,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDI,CAAA"}
|
package/dist/clients/thread.js
CHANGED
|
@@ -11,6 +11,28 @@ const inlineAttachment = v.object({
|
|
|
11
11
|
mimeType: marcoSchemas.string.required(),
|
|
12
12
|
size: marcoSchemas.number.positiveInteger(),
|
|
13
13
|
});
|
|
14
|
+
const specialUseMutators = {
|
|
15
|
+
setArchive: {
|
|
16
|
+
delta: v.object({
|
|
17
|
+
threadId: marcoSchemas.string.uuid(),
|
|
18
|
+
}),
|
|
19
|
+
},
|
|
20
|
+
setInbox: {
|
|
21
|
+
delta: v.object({
|
|
22
|
+
threadId: marcoSchemas.string.uuid(),
|
|
23
|
+
}),
|
|
24
|
+
},
|
|
25
|
+
setSpam: {
|
|
26
|
+
delta: v.object({
|
|
27
|
+
threadId: marcoSchemas.string.uuid(),
|
|
28
|
+
}),
|
|
29
|
+
},
|
|
30
|
+
setTrash: {
|
|
31
|
+
delta: v.object({
|
|
32
|
+
threadId: marcoSchemas.string.uuid(),
|
|
33
|
+
}),
|
|
34
|
+
},
|
|
35
|
+
};
|
|
14
36
|
export const thread = {
|
|
15
37
|
model: v.object({
|
|
16
38
|
bagOfWords: v.array(marcoSchemas.string.required()),
|
|
@@ -35,6 +57,7 @@ export const thread = {
|
|
|
35
57
|
})),
|
|
36
58
|
}),
|
|
37
59
|
mutators: {
|
|
60
|
+
...specialUseMutators,
|
|
38
61
|
delete: {
|
|
39
62
|
delta: v.object({
|
|
40
63
|
threadId: marcoSchemas.string.uuid(),
|
|
@@ -46,13 +69,7 @@ export const thread = {
|
|
|
46
69
|
threadId: marcoSchemas.string.uuid(),
|
|
47
70
|
}),
|
|
48
71
|
},
|
|
49
|
-
|
|
50
|
-
delta: v.object({
|
|
51
|
-
specialUse: marcoSchemas.labelSpecialUse(),
|
|
52
|
-
threadId: marcoSchemas.string.uuid(),
|
|
53
|
-
}),
|
|
54
|
-
},
|
|
55
|
-
setThreadSeen: {
|
|
72
|
+
setSeen: {
|
|
56
73
|
delta: v.object({
|
|
57
74
|
seen: v.boolean(),
|
|
58
75
|
threadId: marcoSchemas.string.uuid(),
|
package/dist/schemas.d.ts
CHANGED
|
@@ -40,4 +40,5 @@ export declare const marcoSchemas: {
|
|
|
40
40
|
uuid: () => v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
|
+
export type LabelSpecialUse = v.InferInput<ReturnType<typeof marcoSchemas.labelSpecialUse>>;
|
|
43
44
|
//# sourceMappingURL=schemas.d.ts.map
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBA8BP,MAAM,OAAO,MAAM;;;;;uBAQlB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;yBAEpB,MAAM;;;;;;CAW1B,CAAA"}
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBA8BP,MAAM,OAAO,MAAM;;;;;uBAQlB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;yBAEpB,MAAM;;;;;;CAW1B,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,eAAe,CAAC,CAAC,CAAA"}
|
|
@@ -538,6 +538,20 @@ export declare const endpoints: {
|
|
|
538
538
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
539
539
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
540
540
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
541
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
542
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
543
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
544
|
+
}, undefined>;
|
|
545
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
546
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
547
|
+
readonly name: import("valibot").LiteralSchema<"setArchive", undefined>;
|
|
548
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
549
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
550
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
551
|
+
}, undefined>;
|
|
552
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
553
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
554
|
+
readonly name: import("valibot").LiteralSchema<"setInbox", undefined>;
|
|
541
555
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
542
556
|
readonly args: import("valibot").ObjectSchema<{
|
|
543
557
|
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>;
|
|
@@ -548,20 +562,26 @@ export declare const endpoints: {
|
|
|
548
562
|
readonly name: import("valibot").LiteralSchema<"setLabels", undefined>;
|
|
549
563
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
550
564
|
readonly args: import("valibot").ObjectSchema<{
|
|
551
|
-
readonly
|
|
565
|
+
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
552
566
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
553
567
|
}, undefined>;
|
|
554
568
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
555
569
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
556
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
570
|
+
readonly name: import("valibot").LiteralSchema<"setSeen", undefined>;
|
|
571
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
572
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
573
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
574
|
+
}, undefined>;
|
|
575
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
576
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
577
|
+
readonly name: import("valibot").LiteralSchema<"setSpam", undefined>;
|
|
557
578
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
558
579
|
readonly args: import("valibot").ObjectSchema<{
|
|
559
|
-
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
560
580
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
561
581
|
}, undefined>;
|
|
562
582
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
563
583
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
564
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
584
|
+
readonly name: import("valibot").LiteralSchema<"setTrash", undefined>;
|
|
565
585
|
}, undefined>)[], undefined>, undefined>;
|
|
566
586
|
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
567
587
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAcjE,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAcjE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
|
|
@@ -535,6 +535,20 @@ export declare const privateGroup: {
|
|
|
535
535
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
536
536
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
537
537
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
538
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
539
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
540
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
541
|
+
}, undefined>;
|
|
542
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
543
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
544
|
+
readonly name: import("valibot").LiteralSchema<"setArchive", undefined>;
|
|
545
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
546
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
547
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
548
|
+
}, undefined>;
|
|
549
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
550
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
551
|
+
readonly name: import("valibot").LiteralSchema<"setInbox", undefined>;
|
|
538
552
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
539
553
|
readonly args: import("valibot").ObjectSchema<{
|
|
540
554
|
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>;
|
|
@@ -545,20 +559,26 @@ export declare const privateGroup: {
|
|
|
545
559
|
readonly name: import("valibot").LiteralSchema<"setLabels", undefined>;
|
|
546
560
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
547
561
|
readonly args: import("valibot").ObjectSchema<{
|
|
548
|
-
readonly
|
|
562
|
+
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
549
563
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
550
564
|
}, undefined>;
|
|
551
565
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
552
566
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
553
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
567
|
+
readonly name: import("valibot").LiteralSchema<"setSeen", undefined>;
|
|
568
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
569
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
570
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
571
|
+
}, undefined>;
|
|
572
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
573
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
574
|
+
readonly name: import("valibot").LiteralSchema<"setSpam", undefined>;
|
|
554
575
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
555
576
|
readonly args: import("valibot").ObjectSchema<{
|
|
556
|
-
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
557
577
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
558
578
|
}, undefined>;
|
|
559
579
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
560
580
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
561
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
581
|
+
readonly name: import("valibot").LiteralSchema<"setTrash", undefined>;
|
|
562
582
|
}, undefined>)[], undefined>, undefined>;
|
|
563
583
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
564
584
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAA"}
|
|
@@ -516,6 +516,20 @@ export declare const sync: {
|
|
|
516
516
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
517
517
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
518
518
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
519
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
520
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
521
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
522
|
+
}, undefined>;
|
|
523
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
524
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
525
|
+
readonly name: import("valibot").LiteralSchema<"setArchive", undefined>;
|
|
526
|
+
}, undefined> | 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<"setInbox", undefined>;
|
|
519
533
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
520
534
|
readonly args: import("valibot").ObjectSchema<{
|
|
521
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>;
|
|
@@ -526,20 +540,26 @@ export declare const sync: {
|
|
|
526
540
|
readonly name: import("valibot").LiteralSchema<"setLabels", undefined>;
|
|
527
541
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
528
542
|
readonly args: import("valibot").ObjectSchema<{
|
|
529
|
-
readonly
|
|
543
|
+
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
530
544
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
531
545
|
}, undefined>;
|
|
532
546
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
533
547
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
534
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
548
|
+
readonly name: import("valibot").LiteralSchema<"setSeen", undefined>;
|
|
549
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
550
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
551
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
552
|
+
}, undefined>;
|
|
553
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
554
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
555
|
+
readonly name: import("valibot").LiteralSchema<"setSpam", undefined>;
|
|
535
556
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
536
557
|
readonly args: import("valibot").ObjectSchema<{
|
|
537
|
-
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
538
558
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
539
559
|
}, undefined>;
|
|
540
560
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
541
561
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
542
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
562
|
+
readonly name: import("valibot").LiteralSchema<"setTrash", undefined>;
|
|
543
563
|
}, undefined>)[], undefined>, undefined>;
|
|
544
564
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
545
565
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
|
|
@@ -240,6 +240,20 @@ export declare const push: {
|
|
|
240
240
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
241
241
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
242
242
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
243
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
244
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
245
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
246
|
+
}, undefined>;
|
|
247
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
248
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
249
|
+
readonly name: import("valibot").LiteralSchema<"setArchive", undefined>;
|
|
250
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
251
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
252
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
253
|
+
}, undefined>;
|
|
254
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
255
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
256
|
+
readonly name: import("valibot").LiteralSchema<"setInbox", undefined>;
|
|
243
257
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
244
258
|
readonly args: import("valibot").ObjectSchema<{
|
|
245
259
|
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,20 +264,26 @@ export declare const push: {
|
|
|
250
264
|
readonly name: import("valibot").LiteralSchema<"setLabels", undefined>;
|
|
251
265
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
252
266
|
readonly args: import("valibot").ObjectSchema<{
|
|
253
|
-
readonly
|
|
267
|
+
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
254
268
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
255
269
|
}, undefined>;
|
|
256
270
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
257
271
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
258
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
272
|
+
readonly name: import("valibot").LiteralSchema<"setSeen", undefined>;
|
|
273
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
274
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
275
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
276
|
+
}, undefined>;
|
|
277
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
278
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
279
|
+
readonly name: import("valibot").LiteralSchema<"setSpam", undefined>;
|
|
259
280
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
260
281
|
readonly args: import("valibot").ObjectSchema<{
|
|
261
|
-
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
262
282
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
263
283
|
}, undefined>;
|
|
264
284
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
265
285
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
266
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
286
|
+
readonly name: import("valibot").LiteralSchema<"setTrash", undefined>;
|
|
267
287
|
}, undefined>)[], undefined>, undefined>;
|
|
268
288
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
269
289
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAA"}
|
|
@@ -8,6 +8,20 @@ export declare const syncPushThread: import("../../../../..").EndpointConfig<"/v
|
|
|
8
8
|
readonly clientID: v.StringSchema<undefined>;
|
|
9
9
|
readonly id: v.NumberSchema<undefined>;
|
|
10
10
|
readonly name: v.LiteralSchema<"delete", undefined>;
|
|
11
|
+
}, undefined> | v.ObjectSchema<{
|
|
12
|
+
readonly args: v.ObjectSchema<{
|
|
13
|
+
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
14
|
+
}, undefined>;
|
|
15
|
+
readonly clientID: v.StringSchema<undefined>;
|
|
16
|
+
readonly id: v.NumberSchema<undefined>;
|
|
17
|
+
readonly name: v.LiteralSchema<"setArchive", undefined>;
|
|
18
|
+
}, undefined> | v.ObjectSchema<{
|
|
19
|
+
readonly args: v.ObjectSchema<{
|
|
20
|
+
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
21
|
+
}, undefined>;
|
|
22
|
+
readonly clientID: v.StringSchema<undefined>;
|
|
23
|
+
readonly id: v.NumberSchema<undefined>;
|
|
24
|
+
readonly name: v.LiteralSchema<"setInbox", undefined>;
|
|
11
25
|
}, undefined> | v.ObjectSchema<{
|
|
12
26
|
readonly args: v.ObjectSchema<{
|
|
13
27
|
readonly labelIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
@@ -18,20 +32,26 @@ export declare const syncPushThread: import("../../../../..").EndpointConfig<"/v
|
|
|
18
32
|
readonly name: v.LiteralSchema<"setLabels", undefined>;
|
|
19
33
|
}, undefined> | v.ObjectSchema<{
|
|
20
34
|
readonly args: v.ObjectSchema<{
|
|
21
|
-
readonly
|
|
35
|
+
readonly seen: v.BooleanSchema<undefined>;
|
|
22
36
|
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
23
37
|
}, undefined>;
|
|
24
38
|
readonly clientID: v.StringSchema<undefined>;
|
|
25
39
|
readonly id: v.NumberSchema<undefined>;
|
|
26
|
-
readonly name: v.LiteralSchema<"
|
|
40
|
+
readonly name: v.LiteralSchema<"setSeen", undefined>;
|
|
41
|
+
}, undefined> | v.ObjectSchema<{
|
|
42
|
+
readonly args: v.ObjectSchema<{
|
|
43
|
+
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
44
|
+
}, undefined>;
|
|
45
|
+
readonly clientID: v.StringSchema<undefined>;
|
|
46
|
+
readonly id: v.NumberSchema<undefined>;
|
|
47
|
+
readonly name: v.LiteralSchema<"setSpam", undefined>;
|
|
27
48
|
}, undefined> | v.ObjectSchema<{
|
|
28
49
|
readonly args: v.ObjectSchema<{
|
|
29
|
-
readonly seen: v.BooleanSchema<undefined>;
|
|
30
50
|
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
31
51
|
}, undefined>;
|
|
32
52
|
readonly clientID: v.StringSchema<undefined>;
|
|
33
53
|
readonly id: v.NumberSchema<undefined>;
|
|
34
|
-
readonly name: v.LiteralSchema<"
|
|
54
|
+
readonly name: v.LiteralSchema<"setTrash", undefined>;
|
|
35
55
|
}, undefined>)[], undefined>, undefined>;
|
|
36
56
|
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
37
57
|
readonly data: v.ObjectSchema<{
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA4DzB,CAAA"}
|
|
@@ -12,23 +12,41 @@ export const syncPushThread = createEndpoint({
|
|
|
12
12
|
id: v.number(),
|
|
13
13
|
name: v.literal('delete'),
|
|
14
14
|
}),
|
|
15
|
+
setArchive: v.object({
|
|
16
|
+
args: thread.mutators.setArchive.delta,
|
|
17
|
+
clientID: v.string(),
|
|
18
|
+
id: v.number(),
|
|
19
|
+
name: v.literal('setArchive'),
|
|
20
|
+
}),
|
|
21
|
+
setInbox: v.object({
|
|
22
|
+
args: thread.mutators.setInbox.delta,
|
|
23
|
+
clientID: v.string(),
|
|
24
|
+
id: v.number(),
|
|
25
|
+
name: v.literal('setInbox'),
|
|
26
|
+
}),
|
|
15
27
|
setLabels: v.object({
|
|
16
28
|
args: thread.mutators.setLabels.delta,
|
|
17
29
|
clientID: v.string(),
|
|
18
30
|
id: v.number(),
|
|
19
31
|
name: v.literal('setLabels'),
|
|
20
32
|
}),
|
|
21
|
-
|
|
22
|
-
args: thread.mutators.
|
|
33
|
+
setSeen: v.object({
|
|
34
|
+
args: thread.mutators.setSeen.delta,
|
|
35
|
+
clientID: v.string(),
|
|
36
|
+
id: v.number(),
|
|
37
|
+
name: v.literal('setSeen'),
|
|
38
|
+
}),
|
|
39
|
+
setSpam: v.object({
|
|
40
|
+
args: thread.mutators.setSpam.delta,
|
|
23
41
|
clientID: v.string(),
|
|
24
42
|
id: v.number(),
|
|
25
|
-
name: v.literal('
|
|
43
|
+
name: v.literal('setSpam'),
|
|
26
44
|
}),
|
|
27
|
-
|
|
28
|
-
args: thread.mutators.
|
|
45
|
+
setTrash: v.object({
|
|
46
|
+
args: thread.mutators.setTrash.delta,
|
|
29
47
|
clientID: v.string(),
|
|
30
48
|
id: v.number(),
|
|
31
|
-
name: v.literal('
|
|
49
|
+
name: v.literal('setTrash'),
|
|
32
50
|
}),
|
|
33
51
|
}))),
|
|
34
52
|
}),
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -537,6 +537,20 @@ export declare const marcoSDK: {
|
|
|
537
537
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
538
538
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
539
539
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
540
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
541
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
542
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
543
|
+
}, undefined>;
|
|
544
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
545
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
546
|
+
readonly name: import("valibot").LiteralSchema<"setArchive", undefined>;
|
|
547
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
548
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
549
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
550
|
+
}, undefined>;
|
|
551
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
552
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
553
|
+
readonly name: import("valibot").LiteralSchema<"setInbox", undefined>;
|
|
540
554
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
541
555
|
readonly args: import("valibot").ObjectSchema<{
|
|
542
556
|
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>;
|
|
@@ -547,20 +561,26 @@ export declare const marcoSDK: {
|
|
|
547
561
|
readonly name: import("valibot").LiteralSchema<"setLabels", undefined>;
|
|
548
562
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
549
563
|
readonly args: import("valibot").ObjectSchema<{
|
|
550
|
-
readonly
|
|
564
|
+
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
551
565
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
552
566
|
}, undefined>;
|
|
553
567
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
554
568
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
555
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
569
|
+
readonly name: import("valibot").LiteralSchema<"setSeen", undefined>;
|
|
570
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
571
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
572
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
573
|
+
}, undefined>;
|
|
574
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
575
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
576
|
+
readonly name: import("valibot").LiteralSchema<"setSpam", undefined>;
|
|
556
577
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
557
578
|
readonly args: import("valibot").ObjectSchema<{
|
|
558
|
-
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
559
579
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
560
580
|
}, undefined>;
|
|
561
581
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
562
582
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
563
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
583
|
+
readonly name: import("valibot").LiteralSchema<"setTrash", undefined>;
|
|
564
584
|
}, undefined>)[], undefined>, undefined>;
|
|
565
585
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
566
586
|
readonly data: import("valibot").ObjectSchema<{
|
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