@marcoappio/marco-config 2.0.401 → 2.0.403
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 +19 -0
- package/dist/clients/draft.d.ts.map +1 -1
- package/dist/clients/draft.js +25 -0
- package/dist/clients/index.d.ts +19 -0
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/index.d.ts +23 -0
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +23 -0
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +23 -0
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +23 -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 +23 -0
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/index.d.ts +23 -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,12 @@ 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
|
+
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
36
|
+
}, undefined>;
|
|
37
|
+
};
|
|
32
38
|
createAttachment: {
|
|
33
39
|
delta: v.ObjectSchema<{
|
|
34
40
|
readonly attachment: v.ObjectSchema<{
|
|
@@ -86,6 +92,19 @@ export declare const draft: {
|
|
|
86
92
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
87
93
|
}, undefined>;
|
|
88
94
|
};
|
|
95
|
+
scheduleSend: {
|
|
96
|
+
delta: v.UnionSchema<[v.ObjectSchema<{
|
|
97
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
98
|
+
readonly kind: v.LiteralSchema<"IMMEDIATE", undefined>;
|
|
99
|
+
readonly undoMs: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
100
|
+
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
101
|
+
}, undefined>, v.ObjectSchema<{
|
|
102
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
103
|
+
readonly kind: v.LiteralSchema<"SCHEDULED", undefined>;
|
|
104
|
+
readonly scheduledFor: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
105
|
+
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
106
|
+
}, undefined>], undefined>;
|
|
107
|
+
};
|
|
89
108
|
sendDraft: {
|
|
90
109
|
delta: v.ObjectSchema<{
|
|
91
110
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsFK,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,12 @@ 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
|
+
updatedAt: marcoSchemas.number.positiveInteger(),
|
|
66
|
+
}),
|
|
67
|
+
},
|
|
48
68
|
createAttachment: {
|
|
49
69
|
delta: v.object({
|
|
50
70
|
attachment: attachmentSchema,
|
|
@@ -67,6 +87,10 @@ export const draft = {
|
|
|
67
87
|
id: marcoSchemas.string.required(),
|
|
68
88
|
}),
|
|
69
89
|
},
|
|
90
|
+
scheduleSend: {
|
|
91
|
+
delta: scheduleSchema,
|
|
92
|
+
},
|
|
93
|
+
// TODO: Remove/deprecate
|
|
70
94
|
sendDraft: {
|
|
71
95
|
delta: v.object({
|
|
72
96
|
id: marcoSchemas.string.required(),
|
|
@@ -97,6 +121,7 @@ export const draft = {
|
|
|
97
121
|
updatedAt: marcoSchemas.number.positiveInteger(),
|
|
98
122
|
}),
|
|
99
123
|
},
|
|
124
|
+
// TODO: Remove/deprecate
|
|
100
125
|
setScheduledFor: {
|
|
101
126
|
delta: v.object({
|
|
102
127
|
id: marcoSchemas.string.required(),
|
package/dist/clients/index.d.ts
CHANGED
|
@@ -184,6 +184,12 @@ 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
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
191
|
+
}, undefined>;
|
|
192
|
+
};
|
|
187
193
|
createAttachment: {
|
|
188
194
|
delta: import("valibot").ObjectSchema<{
|
|
189
195
|
readonly attachment: import("valibot").ObjectSchema<{
|
|
@@ -241,6 +247,19 @@ export declare const marcoClients: {
|
|
|
241
247
|
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
248
|
}, undefined>;
|
|
243
249
|
};
|
|
250
|
+
scheduleSend: {
|
|
251
|
+
delta: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
252
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
253
|
+
readonly kind: import("valibot").LiteralSchema<"IMMEDIATE", undefined>;
|
|
254
|
+
readonly undoMs: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
255
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
256
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
257
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
258
|
+
readonly kind: import("valibot").LiteralSchema<"SCHEDULED", undefined>;
|
|
259
|
+
readonly scheduledFor: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
260
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
261
|
+
}, undefined>], undefined>;
|
|
262
|
+
};
|
|
244
263
|
sendDraft: {
|
|
245
264
|
delta: import("valibot").ObjectSchema<{
|
|
246
265
|
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,14 @@ 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
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
548
|
+
}, undefined>;
|
|
549
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
550
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
551
|
+
readonly name: import("valibot").LiteralSchema<"cancelSend", undefined>;
|
|
552
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
545
553
|
readonly args: import("valibot").ObjectSchema<{
|
|
546
554
|
readonly attachment: import("valibot").ObjectSchema<{
|
|
547
555
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
@@ -606,6 +614,21 @@ export declare const endpoints: {
|
|
|
606
614
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
607
615
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
608
616
|
readonly name: import("valibot").LiteralSchema<"deleteDraft", undefined>;
|
|
617
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
618
|
+
readonly args: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
619
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
620
|
+
readonly kind: import("valibot").LiteralSchema<"IMMEDIATE", undefined>;
|
|
621
|
+
readonly undoMs: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
622
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
623
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
624
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
625
|
+
readonly kind: import("valibot").LiteralSchema<"SCHEDULED", undefined>;
|
|
626
|
+
readonly scheduledFor: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
627
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
628
|
+
}, undefined>], undefined>;
|
|
629
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
630
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
631
|
+
readonly name: import("valibot").LiteralSchema<"scheduleSend", undefined>;
|
|
609
632
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
610
633
|
readonly args: import("valibot").ObjectSchema<{
|
|
611
634
|
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,14 @@ 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
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
545
|
+
}, undefined>;
|
|
546
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
547
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
548
|
+
readonly name: import("valibot").LiteralSchema<"cancelSend", undefined>;
|
|
549
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
542
550
|
readonly args: import("valibot").ObjectSchema<{
|
|
543
551
|
readonly attachment: import("valibot").ObjectSchema<{
|
|
544
552
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
@@ -603,6 +611,21 @@ export declare const privateGroup: {
|
|
|
603
611
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
604
612
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
605
613
|
readonly name: import("valibot").LiteralSchema<"deleteDraft", undefined>;
|
|
614
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
615
|
+
readonly args: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
616
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
617
|
+
readonly kind: import("valibot").LiteralSchema<"IMMEDIATE", undefined>;
|
|
618
|
+
readonly undoMs: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
619
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
620
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
621
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
622
|
+
readonly kind: import("valibot").LiteralSchema<"SCHEDULED", undefined>;
|
|
623
|
+
readonly scheduledFor: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
624
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
625
|
+
}, undefined>], undefined>;
|
|
626
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
627
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
628
|
+
readonly name: import("valibot").LiteralSchema<"scheduleSend", undefined>;
|
|
606
629
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
607
630
|
readonly args: import("valibot").ObjectSchema<{
|
|
608
631
|
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,14 @@ 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
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
506
|
+
}, undefined>;
|
|
507
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
508
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
509
|
+
readonly name: import("valibot").LiteralSchema<"cancelSend", undefined>;
|
|
510
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
503
511
|
readonly args: import("valibot").ObjectSchema<{
|
|
504
512
|
readonly attachment: import("valibot").ObjectSchema<{
|
|
505
513
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
@@ -564,6 +572,21 @@ export declare const sync: {
|
|
|
564
572
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
565
573
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
566
574
|
readonly name: import("valibot").LiteralSchema<"deleteDraft", undefined>;
|
|
575
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
576
|
+
readonly args: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
577
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
578
|
+
readonly kind: import("valibot").LiteralSchema<"IMMEDIATE", undefined>;
|
|
579
|
+
readonly undoMs: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
580
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
581
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
582
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
583
|
+
readonly kind: import("valibot").LiteralSchema<"SCHEDULED", undefined>;
|
|
584
|
+
readonly scheduledFor: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
585
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
586
|
+
}, undefined>], undefined>;
|
|
587
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
588
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
589
|
+
readonly name: import("valibot").LiteralSchema<"scheduleSend", undefined>;
|
|
567
590
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
568
591
|
readonly args: import("valibot").ObjectSchema<{
|
|
569
592
|
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,14 @@ 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
|
+
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
8
|
+
}, undefined>;
|
|
9
|
+
readonly clientID: v.StringSchema<undefined>;
|
|
10
|
+
readonly id: v.NumberSchema<undefined>;
|
|
11
|
+
readonly name: v.LiteralSchema<"cancelSend", undefined>;
|
|
12
|
+
}, undefined> | v.ObjectSchema<{
|
|
5
13
|
readonly args: v.ObjectSchema<{
|
|
6
14
|
readonly attachment: v.ObjectSchema<{
|
|
7
15
|
readonly failed: v.BooleanSchema<undefined>;
|
|
@@ -66,6 +74,21 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
66
74
|
readonly clientID: v.StringSchema<undefined>;
|
|
67
75
|
readonly id: v.NumberSchema<undefined>;
|
|
68
76
|
readonly name: v.LiteralSchema<"deleteDraft", undefined>;
|
|
77
|
+
}, undefined> | v.ObjectSchema<{
|
|
78
|
+
readonly args: v.UnionSchema<[v.ObjectSchema<{
|
|
79
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
80
|
+
readonly kind: v.LiteralSchema<"IMMEDIATE", undefined>;
|
|
81
|
+
readonly undoMs: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
82
|
+
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
83
|
+
}, undefined>, v.ObjectSchema<{
|
|
84
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
85
|
+
readonly kind: v.LiteralSchema<"SCHEDULED", undefined>;
|
|
86
|
+
readonly scheduledFor: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
87
|
+
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
88
|
+
}, undefined>], undefined>;
|
|
89
|
+
readonly clientID: v.StringSchema<undefined>;
|
|
90
|
+
readonly id: v.NumberSchema<undefined>;
|
|
91
|
+
readonly name: v.LiteralSchema<"scheduleSend", undefined>;
|
|
69
92
|
}, undefined> | v.ObjectSchema<{
|
|
70
93
|
readonly args: v.ObjectSchema<{
|
|
71
94
|
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,14 @@ 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
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
157
|
+
}, undefined>;
|
|
158
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
159
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
160
|
+
readonly name: import("valibot").LiteralSchema<"cancelSend", undefined>;
|
|
161
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
154
162
|
readonly args: import("valibot").ObjectSchema<{
|
|
155
163
|
readonly attachment: import("valibot").ObjectSchema<{
|
|
156
164
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
@@ -215,6 +223,21 @@ export declare const push: {
|
|
|
215
223
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
216
224
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
217
225
|
readonly name: import("valibot").LiteralSchema<"deleteDraft", undefined>;
|
|
226
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
227
|
+
readonly args: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
228
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
229
|
+
readonly kind: import("valibot").LiteralSchema<"IMMEDIATE", undefined>;
|
|
230
|
+
readonly undoMs: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
231
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
232
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
233
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
234
|
+
readonly kind: import("valibot").LiteralSchema<"SCHEDULED", undefined>;
|
|
235
|
+
readonly scheduledFor: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
236
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
237
|
+
}, undefined>], undefined>;
|
|
238
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
239
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
240
|
+
readonly name: import("valibot").LiteralSchema<"scheduleSend", undefined>;
|
|
218
241
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
219
242
|
readonly args: import("valibot").ObjectSchema<{
|
|
220
243
|
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,14 @@ 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
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, 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<{
|
|
544
552
|
readonly args: import("valibot").ObjectSchema<{
|
|
545
553
|
readonly attachment: import("valibot").ObjectSchema<{
|
|
546
554
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
@@ -605,6 +613,21 @@ export declare const marcoSDK: {
|
|
|
605
613
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
606
614
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
607
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>;
|
|
608
631
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
609
632
|
readonly args: import("valibot").ObjectSchema<{
|
|
610
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>;
|
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