@marcoappio/marco-config 2.0.401 → 2.0.402
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/draft.d.ts +18 -0
- package/dist/clients/draft.d.ts.map +1 -1
- package/dist/clients/draft.js +24 -0
- package/dist/clients/index.d.ts +18 -0
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/index.d.ts +22 -0
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +22 -0
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +22 -0
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +22 -0
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/draft.js +12 -0
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +22 -0
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/index.d.ts +22 -0
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/types/MarcoClient.d.ts +1 -1
- package/dist/types/MarcoClient.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/clients/draft.d.ts
CHANGED
|
@@ -29,6 +29,11 @@ export declare const draft: {
|
|
|
29
29
|
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
30
30
|
}, undefined>;
|
|
31
31
|
mutators: {
|
|
32
|
+
cancelSend: {
|
|
33
|
+
delta: v.ObjectSchema<{
|
|
34
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
35
|
+
}, undefined>;
|
|
36
|
+
};
|
|
32
37
|
createAttachment: {
|
|
33
38
|
delta: v.ObjectSchema<{
|
|
34
39
|
readonly attachment: v.ObjectSchema<{
|
|
@@ -86,6 +91,19 @@ export declare const draft: {
|
|
|
86
91
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
87
92
|
}, undefined>;
|
|
88
93
|
};
|
|
94
|
+
scheduleSend: {
|
|
95
|
+
delta: v.UnionSchema<[v.ObjectSchema<{
|
|
96
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
97
|
+
readonly kind: v.LiteralSchema<"IMMEDIATE", undefined>;
|
|
98
|
+
readonly undoMs: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
99
|
+
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
100
|
+
}, undefined>, v.ObjectSchema<{
|
|
101
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
102
|
+
readonly kind: v.LiteralSchema<"SCHEDULED", undefined>;
|
|
103
|
+
readonly scheduledFor: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
104
|
+
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
105
|
+
}, undefined>], undefined>;
|
|
106
|
+
};
|
|
89
107
|
sendDraft: {
|
|
90
108
|
delta: v.ObjectSchema<{
|
|
91
109
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../src/clients/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../src/clients/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAoE5B,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFK,CAAA"}
|
package/dist/clients/draft.js
CHANGED
|
@@ -28,6 +28,20 @@ const attachmentSchema = v.object({
|
|
|
28
28
|
uploadedChunks: marcoSchemas.number.positiveInteger(),
|
|
29
29
|
});
|
|
30
30
|
const scheduledForSchema = v.nullable(marcoSchemas.number.positiveInteger());
|
|
31
|
+
const scheduleSchema = v.union([
|
|
32
|
+
v.object({
|
|
33
|
+
id: marcoSchemas.string.required(),
|
|
34
|
+
kind: v.literal('IMMEDIATE'),
|
|
35
|
+
undoMs: marcoSchemas.number.positiveInteger(),
|
|
36
|
+
updatedAt: marcoSchemas.number.positiveInteger(),
|
|
37
|
+
}),
|
|
38
|
+
v.object({
|
|
39
|
+
id: marcoSchemas.string.required(),
|
|
40
|
+
kind: v.literal('SCHEDULED'),
|
|
41
|
+
scheduledFor: marcoSchemas.number.positiveInteger(),
|
|
42
|
+
updatedAt: marcoSchemas.number.positiveInteger(),
|
|
43
|
+
}),
|
|
44
|
+
]);
|
|
31
45
|
const draftSchema = v.object({
|
|
32
46
|
attachments: v.array(attachmentSchema),
|
|
33
47
|
body: bodySchema,
|
|
@@ -45,6 +59,11 @@ const draftSchema = v.object({
|
|
|
45
59
|
export const draft = {
|
|
46
60
|
model: draftSchema,
|
|
47
61
|
mutators: {
|
|
62
|
+
cancelSend: {
|
|
63
|
+
delta: v.object({
|
|
64
|
+
id: marcoSchemas.string.required(),
|
|
65
|
+
}),
|
|
66
|
+
},
|
|
48
67
|
createAttachment: {
|
|
49
68
|
delta: v.object({
|
|
50
69
|
attachment: attachmentSchema,
|
|
@@ -67,6 +86,10 @@ export const draft = {
|
|
|
67
86
|
id: marcoSchemas.string.required(),
|
|
68
87
|
}),
|
|
69
88
|
},
|
|
89
|
+
scheduleSend: {
|
|
90
|
+
delta: scheduleSchema,
|
|
91
|
+
},
|
|
92
|
+
// TODO: Remove/deprecate
|
|
70
93
|
sendDraft: {
|
|
71
94
|
delta: v.object({
|
|
72
95
|
id: marcoSchemas.string.required(),
|
|
@@ -97,6 +120,7 @@ export const draft = {
|
|
|
97
120
|
updatedAt: marcoSchemas.number.positiveInteger(),
|
|
98
121
|
}),
|
|
99
122
|
},
|
|
123
|
+
// TODO: Remove/deprecate
|
|
100
124
|
setScheduledFor: {
|
|
101
125
|
delta: v.object({
|
|
102
126
|
id: marcoSchemas.string.required(),
|
package/dist/clients/index.d.ts
CHANGED
|
@@ -184,6 +184,11 @@ export declare const marcoClients: {
|
|
|
184
184
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
185
185
|
}, undefined>;
|
|
186
186
|
mutators: {
|
|
187
|
+
cancelSend: {
|
|
188
|
+
delta: import("valibot").ObjectSchema<{
|
|
189
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
190
|
+
}, undefined>;
|
|
191
|
+
};
|
|
187
192
|
createAttachment: {
|
|
188
193
|
delta: import("valibot").ObjectSchema<{
|
|
189
194
|
readonly attachment: import("valibot").ObjectSchema<{
|
|
@@ -241,6 +246,19 @@ export declare const marcoClients: {
|
|
|
241
246
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
242
247
|
}, undefined>;
|
|
243
248
|
};
|
|
249
|
+
scheduleSend: {
|
|
250
|
+
delta: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
251
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
252
|
+
readonly kind: import("valibot").LiteralSchema<"IMMEDIATE", undefined>;
|
|
253
|
+
readonly undoMs: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
254
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
255
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
256
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
257
|
+
readonly kind: import("valibot").LiteralSchema<"SCHEDULED", undefined>;
|
|
258
|
+
readonly scheduledFor: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
259
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
260
|
+
}, undefined>], undefined>;
|
|
261
|
+
};
|
|
244
262
|
sendDraft: {
|
|
245
263
|
delta: import("valibot").ObjectSchema<{
|
|
246
264
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -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"}
|
|
@@ -542,6 +542,13 @@ export declare const endpoints: {
|
|
|
542
542
|
draft: EndpointConfig<"/v1/pv/sync/push/draft", import("valibot").ObjectSchema<{
|
|
543
543
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
544
544
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
|
|
545
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
546
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
547
|
+
}, undefined>;
|
|
548
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
549
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
550
|
+
readonly name: import("valibot").LiteralSchema<"cancelSend", undefined>;
|
|
551
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
545
552
|
readonly args: import("valibot").ObjectSchema<{
|
|
546
553
|
readonly attachment: import("valibot").ObjectSchema<{
|
|
547
554
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
@@ -606,6 +613,21 @@ export declare const endpoints: {
|
|
|
606
613
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
607
614
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
608
615
|
readonly name: import("valibot").LiteralSchema<"deleteDraft", undefined>;
|
|
616
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
617
|
+
readonly args: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
618
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
619
|
+
readonly kind: import("valibot").LiteralSchema<"IMMEDIATE", undefined>;
|
|
620
|
+
readonly undoMs: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
621
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
622
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
623
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
624
|
+
readonly kind: import("valibot").LiteralSchema<"SCHEDULED", undefined>;
|
|
625
|
+
readonly scheduledFor: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
626
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
627
|
+
}, undefined>], undefined>;
|
|
628
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
629
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
630
|
+
readonly name: import("valibot").LiteralSchema<"scheduleSend", undefined>;
|
|
609
631
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
610
632
|
readonly args: import("valibot").ObjectSchema<{
|
|
611
633
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -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"}
|
|
@@ -539,6 +539,13 @@ export declare const privateGroup: {
|
|
|
539
539
|
draft: import("../../..").EndpointConfig<"/v1/pv/sync/push/draft", import("valibot").ObjectSchema<{
|
|
540
540
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
541
541
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
|
|
542
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
543
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
544
|
+
}, undefined>;
|
|
545
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
546
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
547
|
+
readonly name: import("valibot").LiteralSchema<"cancelSend", undefined>;
|
|
548
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
542
549
|
readonly args: import("valibot").ObjectSchema<{
|
|
543
550
|
readonly attachment: import("valibot").ObjectSchema<{
|
|
544
551
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
@@ -603,6 +610,21 @@ export declare const privateGroup: {
|
|
|
603
610
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
604
611
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
605
612
|
readonly name: import("valibot").LiteralSchema<"deleteDraft", undefined>;
|
|
613
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
614
|
+
readonly args: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
615
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
616
|
+
readonly kind: import("valibot").LiteralSchema<"IMMEDIATE", undefined>;
|
|
617
|
+
readonly undoMs: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
618
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
619
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
620
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
621
|
+
readonly kind: import("valibot").LiteralSchema<"SCHEDULED", undefined>;
|
|
622
|
+
readonly scheduledFor: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
623
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
624
|
+
}, undefined>], undefined>;
|
|
625
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
626
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
627
|
+
readonly name: import("valibot").LiteralSchema<"scheduleSend", undefined>;
|
|
606
628
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
607
629
|
readonly args: import("valibot").ObjectSchema<{
|
|
608
630
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -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"}
|
|
@@ -500,6 +500,13 @@ export declare const sync: {
|
|
|
500
500
|
draft: import("../../../..").EndpointConfig<"/v1/pv/sync/push/draft", import("valibot").ObjectSchema<{
|
|
501
501
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
502
502
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
|
|
503
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
504
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
505
|
+
}, undefined>;
|
|
506
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
507
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
508
|
+
readonly name: import("valibot").LiteralSchema<"cancelSend", undefined>;
|
|
509
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
503
510
|
readonly args: import("valibot").ObjectSchema<{
|
|
504
511
|
readonly attachment: import("valibot").ObjectSchema<{
|
|
505
512
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
@@ -564,6 +571,21 @@ export declare const sync: {
|
|
|
564
571
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
565
572
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
566
573
|
readonly name: import("valibot").LiteralSchema<"deleteDraft", undefined>;
|
|
574
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
575
|
+
readonly args: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
576
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
577
|
+
readonly kind: import("valibot").LiteralSchema<"IMMEDIATE", undefined>;
|
|
578
|
+
readonly undoMs: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
579
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
580
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
581
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
582
|
+
readonly kind: import("valibot").LiteralSchema<"SCHEDULED", undefined>;
|
|
583
|
+
readonly scheduledFor: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
584
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
585
|
+
}, undefined>], undefined>;
|
|
586
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
587
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
588
|
+
readonly name: import("valibot").LiteralSchema<"scheduleSend", undefined>;
|
|
567
589
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
568
590
|
readonly args: import("valibot").ObjectSchema<{
|
|
569
591
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -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"}
|
|
@@ -2,6 +2,13 @@ import * as v from 'valibot';
|
|
|
2
2
|
export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1/pv/sync/push/draft", v.ObjectSchema<{
|
|
3
3
|
readonly clientGroupID: v.StringSchema<undefined>;
|
|
4
4
|
readonly mutations: v.ArraySchema<v.UnionSchema<(v.ObjectSchema<{
|
|
5
|
+
readonly args: v.ObjectSchema<{
|
|
6
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
7
|
+
}, undefined>;
|
|
8
|
+
readonly clientID: v.StringSchema<undefined>;
|
|
9
|
+
readonly id: v.NumberSchema<undefined>;
|
|
10
|
+
readonly name: v.LiteralSchema<"cancelSend", undefined>;
|
|
11
|
+
}, undefined> | v.ObjectSchema<{
|
|
5
12
|
readonly args: v.ObjectSchema<{
|
|
6
13
|
readonly attachment: v.ObjectSchema<{
|
|
7
14
|
readonly failed: v.BooleanSchema<undefined>;
|
|
@@ -66,6 +73,21 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
66
73
|
readonly clientID: v.StringSchema<undefined>;
|
|
67
74
|
readonly id: v.NumberSchema<undefined>;
|
|
68
75
|
readonly name: v.LiteralSchema<"deleteDraft", undefined>;
|
|
76
|
+
}, undefined> | v.ObjectSchema<{
|
|
77
|
+
readonly args: v.UnionSchema<[v.ObjectSchema<{
|
|
78
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
79
|
+
readonly kind: v.LiteralSchema<"IMMEDIATE", undefined>;
|
|
80
|
+
readonly undoMs: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
81
|
+
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
82
|
+
}, undefined>, v.ObjectSchema<{
|
|
83
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
84
|
+
readonly kind: v.LiteralSchema<"SCHEDULED", undefined>;
|
|
85
|
+
readonly scheduledFor: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
86
|
+
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
87
|
+
}, undefined>], undefined>;
|
|
88
|
+
readonly clientID: v.StringSchema<undefined>;
|
|
89
|
+
readonly id: v.NumberSchema<undefined>;
|
|
90
|
+
readonly name: v.LiteralSchema<"scheduleSend", undefined>;
|
|
69
91
|
}, undefined> | v.ObjectSchema<{
|
|
70
92
|
readonly args: v.ObjectSchema<{
|
|
71
93
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA0FxB,CAAA"}
|
|
@@ -6,6 +6,12 @@ export const syncPushDraft = createEndpoint({
|
|
|
6
6
|
body: v.object({
|
|
7
7
|
clientGroupID: v.string(),
|
|
8
8
|
mutations: v.array(v.union(Object.values({
|
|
9
|
+
cancelSend: v.object({
|
|
10
|
+
args: draft.mutators.cancelSend.delta,
|
|
11
|
+
clientID: v.string(),
|
|
12
|
+
id: v.number(),
|
|
13
|
+
name: v.literal('cancelSend'),
|
|
14
|
+
}),
|
|
9
15
|
createAttachment: v.object({
|
|
10
16
|
args: draft.mutators.createAttachment.delta,
|
|
11
17
|
clientID: v.string(),
|
|
@@ -30,6 +36,12 @@ export const syncPushDraft = createEndpoint({
|
|
|
30
36
|
id: v.number(),
|
|
31
37
|
name: v.literal('deleteDraft'),
|
|
32
38
|
}),
|
|
39
|
+
scheduleSend: v.object({
|
|
40
|
+
args: draft.mutators.scheduleSend.delta,
|
|
41
|
+
clientID: v.string(),
|
|
42
|
+
id: v.number(),
|
|
43
|
+
name: v.literal('scheduleSend'),
|
|
44
|
+
}),
|
|
33
45
|
sendDraft: v.object({
|
|
34
46
|
args: draft.mutators.sendDraft.delta,
|
|
35
47
|
clientID: v.string(),
|
|
@@ -151,6 +151,13 @@ export declare const push: {
|
|
|
151
151
|
draft: import("../../../../..").EndpointConfig<"/v1/pv/sync/push/draft", import("valibot").ObjectSchema<{
|
|
152
152
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
153
153
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
|
|
154
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
155
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
156
|
+
}, undefined>;
|
|
157
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
158
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
159
|
+
readonly name: import("valibot").LiteralSchema<"cancelSend", undefined>;
|
|
160
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
154
161
|
readonly args: import("valibot").ObjectSchema<{
|
|
155
162
|
readonly attachment: import("valibot").ObjectSchema<{
|
|
156
163
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
@@ -215,6 +222,21 @@ export declare const push: {
|
|
|
215
222
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
216
223
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
217
224
|
readonly name: import("valibot").LiteralSchema<"deleteDraft", undefined>;
|
|
225
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
226
|
+
readonly args: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
227
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
228
|
+
readonly kind: import("valibot").LiteralSchema<"IMMEDIATE", undefined>;
|
|
229
|
+
readonly undoMs: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
230
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
231
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
232
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
233
|
+
readonly kind: import("valibot").LiteralSchema<"SCHEDULED", undefined>;
|
|
234
|
+
readonly scheduledFor: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
235
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
236
|
+
}, undefined>], undefined>;
|
|
237
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
238
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
239
|
+
readonly name: import("valibot").LiteralSchema<"scheduleSend", undefined>;
|
|
218
240
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
219
241
|
readonly args: import("valibot").ObjectSchema<{
|
|
220
242
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -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"}
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -541,6 +541,13 @@ export declare const marcoSDK: {
|
|
|
541
541
|
draft: import("..").EndpointConfig<"/v1/pv/sync/push/draft", import("valibot").ObjectSchema<{
|
|
542
542
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
543
543
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
|
|
544
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
545
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
546
|
+
}, undefined>;
|
|
547
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
548
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
549
|
+
readonly name: import("valibot").LiteralSchema<"cancelSend", undefined>;
|
|
550
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
544
551
|
readonly args: import("valibot").ObjectSchema<{
|
|
545
552
|
readonly attachment: import("valibot").ObjectSchema<{
|
|
546
553
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
@@ -605,6 +612,21 @@ export declare const marcoSDK: {
|
|
|
605
612
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
606
613
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
607
614
|
readonly name: import("valibot").LiteralSchema<"deleteDraft", undefined>;
|
|
615
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
616
|
+
readonly args: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
617
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
618
|
+
readonly kind: import("valibot").LiteralSchema<"IMMEDIATE", undefined>;
|
|
619
|
+
readonly undoMs: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
620
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
621
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
622
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
623
|
+
readonly kind: import("valibot").LiteralSchema<"SCHEDULED", undefined>;
|
|
624
|
+
readonly scheduledFor: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
625
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
626
|
+
}, undefined>], undefined>;
|
|
627
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
628
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
629
|
+
readonly name: import("valibot").LiteralSchema<"scheduleSend", undefined>;
|
|
608
630
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
609
631
|
readonly args: import("valibot").ObjectSchema<{
|
|
610
632
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
package/dist/sdk/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
|
|
@@ -3,7 +3,7 @@ import { marcoSchemas } from '../schemas';
|
|
|
3
3
|
export type MarcoClient = {
|
|
4
4
|
model: v.ObjectSchema<any, any>;
|
|
5
5
|
mutators: Record<string, {
|
|
6
|
-
delta: v.ObjectSchema<any, any>;
|
|
6
|
+
delta: v.ObjectSchema<any, any> | v.UnionSchema<any, any>;
|
|
7
7
|
}>;
|
|
8
8
|
name: string;
|
|
9
9
|
pullUrl: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarcoClient.d.ts","sourceRoot":"","sources":["../../src/types/MarcoClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEpD,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,CAAA;IAC/B,QAAQ,EAAE,MAAM,CACd,MAAM,EACN;QACE,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"MarcoClient.d.ts","sourceRoot":"","sources":["../../src/types/MarcoClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEpD,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,CAAA;IAC/B,QAAQ,EAAE,MAAM,CACd,MAAM,EACN;QACE,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG,CAAC,CAAA;KAC1D,CACF,CAAA;IACD,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,aAAa,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAA"}
|
package/package.json
CHANGED