@marcoappio/marco-config 2.0.404 → 2.0.406
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 +51 -17
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/clients/thread.d.ts +51 -17
- package/dist/clients/thread.d.ts.map +1 -1
- package/dist/clients/thread.js +64 -29
- package/dist/sdk/endpoints/index.d.ts +54 -16
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +54 -16
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +54 -16
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +54 -16
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts +54 -16
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/thread.js +12 -0
- package/dist/sdk/index.d.ts +54 -16
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -6,12 +6,24 @@ export const syncPushThread = createEndpoint({
|
|
|
6
6
|
body: v.object({
|
|
7
7
|
clientGroupID: v.string(),
|
|
8
8
|
mutations: v.array(v.union(Object.values({
|
|
9
|
+
addLabel: v.object({
|
|
10
|
+
args: thread.mutators.addLabel.delta,
|
|
11
|
+
clientID: v.string(),
|
|
12
|
+
id: v.number(),
|
|
13
|
+
name: v.literal('addLabel'),
|
|
14
|
+
}),
|
|
9
15
|
delete: v.object({
|
|
10
16
|
args: thread.mutators.delete.delta,
|
|
11
17
|
clientID: v.string(),
|
|
12
18
|
id: v.number(),
|
|
13
19
|
name: v.literal('delete'),
|
|
14
20
|
}),
|
|
21
|
+
removeLabel: v.object({
|
|
22
|
+
args: thread.mutators.removeLabel.delta,
|
|
23
|
+
clientID: v.string(),
|
|
24
|
+
id: v.number(),
|
|
25
|
+
name: v.literal('removeLabel'),
|
|
26
|
+
}),
|
|
15
27
|
requestAttachmentDownload: v.object({
|
|
16
28
|
args: thread.mutators.requestAttachmentDownload.delta,
|
|
17
29
|
clientID: v.string(),
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -763,68 +763,106 @@ export declare const marcoSDK: {
|
|
|
763
763
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
764
764
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
|
|
765
765
|
readonly args: import("valibot").ObjectSchema<{
|
|
766
|
-
readonly
|
|
766
|
+
readonly labelPath: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
767
|
+
readonly threadIds: 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>;
|
|
767
768
|
}, undefined>;
|
|
768
769
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
769
770
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
771
|
+
readonly name: import("valibot").LiteralSchema<"addLabel", undefined>;
|
|
772
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
773
|
+
readonly args: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
774
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
775
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
776
|
+
readonly threadIds: 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>;
|
|
777
|
+
}, undefined>], undefined>;
|
|
778
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
779
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
770
780
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
771
781
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
772
782
|
readonly args: import("valibot").ObjectSchema<{
|
|
783
|
+
readonly labelPath: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
784
|
+
readonly threadIds: 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>;
|
|
785
|
+
}, undefined>;
|
|
786
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
787
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
788
|
+
readonly name: import("valibot").LiteralSchema<"removeLabel", undefined>;
|
|
789
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
790
|
+
readonly args: import("valibot").UnionSchema<readonly [import("valibot").ObjectSchema<{
|
|
773
791
|
readonly attachmentId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
774
792
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
775
|
-
}, undefined
|
|
793
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
794
|
+
readonly attachmentIds: 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>;
|
|
795
|
+
readonly threadIds: 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>;
|
|
796
|
+
}, undefined>], undefined>;
|
|
776
797
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
777
798
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
778
799
|
readonly name: import("valibot").LiteralSchema<"requestAttachmentDownload", undefined>;
|
|
779
800
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
780
|
-
readonly args: import("valibot").ObjectSchema<{
|
|
801
|
+
readonly args: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
781
802
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
782
|
-
}, undefined
|
|
803
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
804
|
+
readonly threadIds: 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>;
|
|
805
|
+
}, undefined>], undefined>;
|
|
783
806
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
784
807
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
785
808
|
readonly name: import("valibot").LiteralSchema<"setArchive", undefined>;
|
|
786
809
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
787
|
-
readonly args: import("valibot").ObjectSchema<{
|
|
810
|
+
readonly args: import("valibot").UnionSchema<readonly [import("valibot").ObjectSchema<{
|
|
788
811
|
readonly flagged: import("valibot").NonOptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
789
812
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
790
|
-
}, undefined
|
|
813
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
814
|
+
readonly flagged: import("valibot").NonOptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
815
|
+
readonly threadIds: 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>;
|
|
816
|
+
}, undefined>], undefined>;
|
|
791
817
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
792
818
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
793
819
|
readonly name: import("valibot").LiteralSchema<"setFlagged", undefined>;
|
|
794
820
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
795
|
-
readonly args: import("valibot").ObjectSchema<{
|
|
821
|
+
readonly args: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
796
822
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
797
|
-
}, undefined
|
|
823
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
824
|
+
readonly threadIds: 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>;
|
|
825
|
+
}, undefined>], undefined>;
|
|
798
826
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
799
827
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
800
828
|
readonly name: import("valibot").LiteralSchema<"setInbox", undefined>;
|
|
801
829
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
802
|
-
readonly args: import("valibot").ObjectSchema<{
|
|
830
|
+
readonly args: import("valibot").UnionSchema<readonly [import("valibot").ObjectSchema<{
|
|
803
831
|
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>;
|
|
804
832
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
805
|
-
}, undefined
|
|
833
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
834
|
+
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>;
|
|
835
|
+
readonly threadIds: 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>;
|
|
836
|
+
}, undefined>], undefined>;
|
|
806
837
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
807
838
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
808
839
|
readonly name: import("valibot").LiteralSchema<"setLabels", undefined>;
|
|
809
840
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
810
|
-
readonly args: import("valibot").ObjectSchema<{
|
|
841
|
+
readonly args: import("valibot").UnionSchema<readonly [import("valibot").ObjectSchema<{
|
|
811
842
|
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
812
843
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
813
|
-
}, undefined
|
|
844
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
845
|
+
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
846
|
+
readonly threadIds: 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>;
|
|
847
|
+
}, undefined>], undefined>;
|
|
814
848
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
815
849
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
816
850
|
readonly name: import("valibot").LiteralSchema<"setSeen", undefined>;
|
|
817
851
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
818
|
-
readonly args: import("valibot").ObjectSchema<{
|
|
852
|
+
readonly args: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
819
853
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
820
|
-
}, undefined
|
|
854
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
855
|
+
readonly threadIds: 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>;
|
|
856
|
+
}, undefined>], undefined>;
|
|
821
857
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
822
858
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
823
859
|
readonly name: import("valibot").LiteralSchema<"setSpam", undefined>;
|
|
824
860
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
825
|
-
readonly args: import("valibot").ObjectSchema<{
|
|
861
|
+
readonly args: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
826
862
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
827
|
-
}, undefined
|
|
863
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
864
|
+
readonly threadIds: 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>;
|
|
865
|
+
}, undefined>], undefined>;
|
|
828
866
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
829
867
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
830
868
|
readonly name: import("valibot").LiteralSchema<"setTrash", undefined>;
|
package/dist/sdk/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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