@marcoappio/marco-config 2.0.224 → 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 +19 -4
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/clients/thread.d.ts +19 -4
- package/dist/clients/thread.d.ts.map +1 -1
- package/dist/clients/thread.js +25 -7
- package/dist/schemas.d.ts +1 -0
- package/dist/schemas.d.ts.map +1 -1
- package/dist/sdk/endpoints/index.d.ts +25 -4
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +25 -4
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +25 -4
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +1 -0
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +1 -0
- package/dist/sdk/endpoints/private/sync/pull/thread.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 +25 -4
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/clients/index.d.ts
CHANGED
|
@@ -231,6 +231,7 @@ export declare const marcoClients: {
|
|
|
231
231
|
};
|
|
232
232
|
thread: {
|
|
233
233
|
model: import("valibot").ObjectSchema<{
|
|
234
|
+
readonly bagOfWords: 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>;
|
|
234
235
|
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
235
236
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
236
237
|
readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
@@ -283,15 +284,29 @@ export declare const marcoClients: {
|
|
|
283
284
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
284
285
|
}, undefined>;
|
|
285
286
|
};
|
|
286
|
-
|
|
287
|
+
setSeen: {
|
|
287
288
|
delta: import("valibot").ObjectSchema<{
|
|
288
|
-
readonly
|
|
289
|
+
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
289
290
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
290
291
|
}, undefined>;
|
|
291
292
|
};
|
|
292
|
-
|
|
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: {
|
|
293
309
|
delta: import("valibot").ObjectSchema<{
|
|
294
|
-
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
295
310
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
296
311
|
}, undefined>;
|
|
297
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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const thread: {
|
|
3
3
|
model: v.ObjectSchema<{
|
|
4
|
+
readonly bagOfWords: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
4
5
|
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
5
6
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
6
7
|
readonly messages: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -53,15 +54,29 @@ export declare const thread: {
|
|
|
53
54
|
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
54
55
|
}, undefined>;
|
|
55
56
|
};
|
|
56
|
-
|
|
57
|
+
setSeen: {
|
|
57
58
|
delta: v.ObjectSchema<{
|
|
58
|
-
readonly
|
|
59
|
+
readonly seen: v.BooleanSchema<undefined>;
|
|
59
60
|
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
60
61
|
}, undefined>;
|
|
61
62
|
};
|
|
62
|
-
|
|
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: {
|
|
63
79
|
delta: v.ObjectSchema<{
|
|
64
|
-
readonly seen: v.BooleanSchema<undefined>;
|
|
65
80
|
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
66
81
|
}, undefined>;
|
|
67
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,8 +11,31 @@ 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({
|
|
38
|
+
bagOfWords: v.array(marcoSchemas.string.required()),
|
|
16
39
|
emailAccountId: marcoSchemas.string.required(),
|
|
17
40
|
id: marcoSchemas.string.uuid(),
|
|
18
41
|
messages: v.array(v.object({
|
|
@@ -34,6 +57,7 @@ export const thread = {
|
|
|
34
57
|
})),
|
|
35
58
|
}),
|
|
36
59
|
mutators: {
|
|
60
|
+
...specialUseMutators,
|
|
37
61
|
delete: {
|
|
38
62
|
delta: v.object({
|
|
39
63
|
threadId: marcoSchemas.string.uuid(),
|
|
@@ -45,13 +69,7 @@ export const thread = {
|
|
|
45
69
|
threadId: marcoSchemas.string.uuid(),
|
|
46
70
|
}),
|
|
47
71
|
},
|
|
48
|
-
|
|
49
|
-
delta: v.object({
|
|
50
|
-
specialUse: marcoSchemas.labelSpecialUse(),
|
|
51
|
-
threadId: marcoSchemas.string.uuid(),
|
|
52
|
-
}),
|
|
53
|
-
},
|
|
54
|
-
setThreadSeen: {
|
|
72
|
+
setSeen: {
|
|
55
73
|
delta: v.object({
|
|
56
74
|
seen: v.boolean(),
|
|
57
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"}
|
|
@@ -210,6 +210,7 @@ export declare const endpoints: {
|
|
|
210
210
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
211
211
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
212
212
|
readonly value: import("valibot").ObjectSchema<{
|
|
213
|
+
readonly bagOfWords: 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>;
|
|
213
214
|
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
214
215
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
215
216
|
readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
@@ -537,6 +538,20 @@ export declare const endpoints: {
|
|
|
537
538
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
538
539
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
539
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>;
|
|
540
555
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
541
556
|
readonly args: import("valibot").ObjectSchema<{
|
|
542
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>;
|
|
@@ -547,20 +562,26 @@ export declare const endpoints: {
|
|
|
547
562
|
readonly name: import("valibot").LiteralSchema<"setLabels", undefined>;
|
|
548
563
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
549
564
|
readonly args: import("valibot").ObjectSchema<{
|
|
550
|
-
readonly
|
|
565
|
+
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
551
566
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
552
567
|
}, undefined>;
|
|
553
568
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
554
569
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
555
|
-
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>;
|
|
556
578
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
557
579
|
readonly args: import("valibot").ObjectSchema<{
|
|
558
|
-
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
559
580
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
560
581
|
}, undefined>;
|
|
561
582
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
562
583
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
563
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
584
|
+
readonly name: import("valibot").LiteralSchema<"setTrash", undefined>;
|
|
564
585
|
}, undefined>)[], undefined>, undefined>;
|
|
565
586
|
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
566
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"}
|
|
@@ -207,6 +207,7 @@ export declare const privateGroup: {
|
|
|
207
207
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
208
208
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
209
209
|
readonly value: import("valibot").ObjectSchema<{
|
|
210
|
+
readonly bagOfWords: 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>;
|
|
210
211
|
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
211
212
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
212
213
|
readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
@@ -534,6 +535,20 @@ export declare const privateGroup: {
|
|
|
534
535
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
535
536
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
536
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>;
|
|
537
552
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
538
553
|
readonly args: import("valibot").ObjectSchema<{
|
|
539
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>;
|
|
@@ -544,20 +559,26 @@ export declare const privateGroup: {
|
|
|
544
559
|
readonly name: import("valibot").LiteralSchema<"setLabels", undefined>;
|
|
545
560
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
546
561
|
readonly args: import("valibot").ObjectSchema<{
|
|
547
|
-
readonly
|
|
562
|
+
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
548
563
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
549
564
|
}, undefined>;
|
|
550
565
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
551
566
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
552
|
-
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>;
|
|
553
575
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
554
576
|
readonly args: import("valibot").ObjectSchema<{
|
|
555
|
-
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
556
577
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
557
578
|
}, undefined>;
|
|
558
579
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
559
580
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
560
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
581
|
+
readonly name: import("valibot").LiteralSchema<"setTrash", undefined>;
|
|
561
582
|
}, undefined>)[], undefined>, undefined>;
|
|
562
583
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
563
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"}
|
|
@@ -188,6 +188,7 @@ export declare const sync: {
|
|
|
188
188
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
189
189
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
190
190
|
readonly value: import("valibot").ObjectSchema<{
|
|
191
|
+
readonly bagOfWords: 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>;
|
|
191
192
|
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
192
193
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
193
194
|
readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
@@ -515,6 +516,20 @@ export declare const sync: {
|
|
|
515
516
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
516
517
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
517
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>;
|
|
518
533
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
519
534
|
readonly args: import("valibot").ObjectSchema<{
|
|
520
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>;
|
|
@@ -525,20 +540,26 @@ export declare const sync: {
|
|
|
525
540
|
readonly name: import("valibot").LiteralSchema<"setLabels", undefined>;
|
|
526
541
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
527
542
|
readonly args: import("valibot").ObjectSchema<{
|
|
528
|
-
readonly
|
|
543
|
+
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
529
544
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
530
545
|
}, undefined>;
|
|
531
546
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
532
547
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
533
|
-
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>;
|
|
534
556
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
535
557
|
readonly args: import("valibot").ObjectSchema<{
|
|
536
|
-
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
537
558
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
538
559
|
}, undefined>;
|
|
539
560
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
540
561
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
541
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
562
|
+
readonly name: import("valibot").LiteralSchema<"setTrash", undefined>;
|
|
542
563
|
}, undefined>)[], undefined>, undefined>;
|
|
543
564
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
544
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"}
|
|
@@ -187,6 +187,7 @@ export declare const pull: {
|
|
|
187
187
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
188
188
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
189
189
|
readonly value: import("valibot").ObjectSchema<{
|
|
190
|
+
readonly bagOfWords: 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>;
|
|
190
191
|
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
191
192
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
192
193
|
readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA"}
|
|
@@ -39,6 +39,7 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
|
|
|
39
39
|
readonly key: v.StringSchema<undefined>;
|
|
40
40
|
readonly op: v.LiteralSchema<"put", undefined>;
|
|
41
41
|
readonly value: v.ObjectSchema<{
|
|
42
|
+
readonly bagOfWords: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
42
43
|
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
43
44
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
44
45
|
readonly messages: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/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/pull/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAiCzB,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
|
@@ -209,6 +209,7 @@ export declare const marcoSDK: {
|
|
|
209
209
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
210
210
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
211
211
|
readonly value: import("valibot").ObjectSchema<{
|
|
212
|
+
readonly bagOfWords: 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>;
|
|
212
213
|
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
213
214
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
214
215
|
readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
@@ -536,6 +537,20 @@ export declare const marcoSDK: {
|
|
|
536
537
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
537
538
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
538
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>;
|
|
539
554
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
540
555
|
readonly args: import("valibot").ObjectSchema<{
|
|
541
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>;
|
|
@@ -546,20 +561,26 @@ export declare const marcoSDK: {
|
|
|
546
561
|
readonly name: import("valibot").LiteralSchema<"setLabels", undefined>;
|
|
547
562
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
548
563
|
readonly args: import("valibot").ObjectSchema<{
|
|
549
|
-
readonly
|
|
564
|
+
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
550
565
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
551
566
|
}, undefined>;
|
|
552
567
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
553
568
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
554
|
-
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>;
|
|
555
577
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
556
578
|
readonly args: import("valibot").ObjectSchema<{
|
|
557
|
-
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
558
579
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
559
580
|
}, undefined>;
|
|
560
581
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
561
582
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
562
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
583
|
+
readonly name: import("valibot").LiteralSchema<"setTrash", undefined>;
|
|
563
584
|
}, undefined>)[], undefined>, undefined>;
|
|
564
585
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
565
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