@marcoappio/marco-config 2.0.298 → 2.0.299
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 +9 -9
- package/dist/clients/draft.js +5 -5
- package/dist/clients/index.d.ts +9 -9
- package/dist/sdk/endpoints/index.d.ts +10 -10
- package/dist/sdk/endpoints/private/index.d.ts +10 -10
- package/dist/sdk/endpoints/private/sync/index.d.ts +10 -10
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +9 -9
- package/dist/sdk/endpoints/private/sync/push/draft.js +6 -6
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +9 -9
- package/dist/sdk/index.d.ts +10 -10
- package/package.json +1 -1
package/dist/clients/draft.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const draft: {
|
|
3
3
|
model: v.ObjectSchema<{
|
|
4
|
+
readonly accountId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
4
5
|
readonly attachments: v.ArraySchema<v.ObjectSchema<{
|
|
5
6
|
readonly failed: v.BooleanSchema<undefined>;
|
|
6
7
|
readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -17,7 +18,6 @@ export declare const draft: {
|
|
|
17
18
|
readonly subject: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
18
19
|
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
19
20
|
}, undefined>;
|
|
20
|
-
readonly emailAccountId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
21
21
|
readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
22
22
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
23
23
|
readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
@@ -50,6 +50,7 @@ export declare const draft: {
|
|
|
50
50
|
};
|
|
51
51
|
createDraft: {
|
|
52
52
|
delta: v.ObjectSchema<{
|
|
53
|
+
readonly accountId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
53
54
|
readonly attachments: v.ArraySchema<v.ObjectSchema<{
|
|
54
55
|
readonly failed: v.BooleanSchema<undefined>;
|
|
55
56
|
readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -66,7 +67,6 @@ export declare const draft: {
|
|
|
66
67
|
readonly subject: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
67
68
|
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
68
69
|
}, undefined>;
|
|
69
|
-
readonly emailAccountId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
70
70
|
readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
71
71
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
72
72
|
readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
@@ -95,6 +95,13 @@ export declare const draft: {
|
|
|
95
95
|
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
96
96
|
}, undefined>;
|
|
97
97
|
};
|
|
98
|
+
setAccountId: {
|
|
99
|
+
delta: v.ObjectSchema<{
|
|
100
|
+
readonly accountId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
101
|
+
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
102
|
+
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
103
|
+
}, undefined>;
|
|
104
|
+
};
|
|
98
105
|
setContent: {
|
|
99
106
|
delta: v.ObjectSchema<{
|
|
100
107
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
@@ -106,13 +113,6 @@ export declare const draft: {
|
|
|
106
113
|
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
107
114
|
}, undefined>;
|
|
108
115
|
};
|
|
109
|
-
setEmailAccountId: {
|
|
110
|
-
delta: v.ObjectSchema<{
|
|
111
|
-
readonly accountId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
112
|
-
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
113
|
-
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
114
|
-
}, undefined>;
|
|
115
|
-
};
|
|
116
116
|
setEnvelope: {
|
|
117
117
|
delta: v.ObjectSchema<{
|
|
118
118
|
readonly envelope: Omit<v.ObjectSchema<{
|
package/dist/clients/draft.js
CHANGED
|
@@ -29,9 +29,9 @@ const attachmentSchema = v.object({
|
|
|
29
29
|
});
|
|
30
30
|
const scheduledForSchema = v.nullable(marcoSchemas.number.positiveInteger());
|
|
31
31
|
const draftSchema = v.object({
|
|
32
|
+
accountId: marcoSchemas.string.shortUUID(),
|
|
32
33
|
attachments: v.array(attachmentSchema),
|
|
33
34
|
body: bodySchema,
|
|
34
|
-
emailAccountId: marcoSchemas.string.shortUUID(),
|
|
35
35
|
error: v.nullable(v.string()),
|
|
36
36
|
id: marcoSchemas.string.shortUUID(),
|
|
37
37
|
referencedMessageId: v.nullable(marcoSchemas.string.shortUUID()),
|
|
@@ -78,17 +78,17 @@ export const draft = {
|
|
|
78
78
|
updatedAt: marcoSchemas.number.positiveInteger(),
|
|
79
79
|
}),
|
|
80
80
|
},
|
|
81
|
-
|
|
81
|
+
setAccountId: {
|
|
82
82
|
delta: v.object({
|
|
83
|
+
accountId: marcoSchemas.string.shortUUID(),
|
|
83
84
|
id: marcoSchemas.string.shortUUID(),
|
|
84
|
-
patch: marcoSchemas.drafts.contentPatch.patch(),
|
|
85
85
|
updatedAt: marcoSchemas.number.positiveInteger(),
|
|
86
86
|
}),
|
|
87
87
|
},
|
|
88
|
-
|
|
88
|
+
setContent: {
|
|
89
89
|
delta: v.object({
|
|
90
|
-
accountId: marcoSchemas.string.shortUUID(),
|
|
91
90
|
id: marcoSchemas.string.shortUUID(),
|
|
91
|
+
patch: marcoSchemas.drafts.contentPatch.patch(),
|
|
92
92
|
updatedAt: marcoSchemas.number.positiveInteger(),
|
|
93
93
|
}),
|
|
94
94
|
},
|
package/dist/clients/index.d.ts
CHANGED
|
@@ -147,6 +147,7 @@ export declare const marcoClients: {
|
|
|
147
147
|
};
|
|
148
148
|
draft: {
|
|
149
149
|
model: import("valibot").ObjectSchema<{
|
|
150
|
+
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
150
151
|
readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
151
152
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
152
153
|
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -163,7 +164,6 @@ export declare const marcoClients: {
|
|
|
163
164
|
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
164
165
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
165
166
|
}, undefined>;
|
|
166
|
-
readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
167
167
|
readonly error: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
168
168
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
169
169
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
@@ -196,6 +196,7 @@ export declare const marcoClients: {
|
|
|
196
196
|
};
|
|
197
197
|
createDraft: {
|
|
198
198
|
delta: import("valibot").ObjectSchema<{
|
|
199
|
+
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
199
200
|
readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
200
201
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
201
202
|
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -212,7 +213,6 @@ export declare const marcoClients: {
|
|
|
212
213
|
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
213
214
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
214
215
|
}, undefined>;
|
|
215
|
-
readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
216
216
|
readonly error: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
217
217
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
218
218
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
@@ -241,6 +241,13 @@ export declare const marcoClients: {
|
|
|
241
241
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
242
242
|
}, undefined>;
|
|
243
243
|
};
|
|
244
|
+
setAccountId: {
|
|
245
|
+
delta: import("valibot").ObjectSchema<{
|
|
246
|
+
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
247
|
+
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
248
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
249
|
+
}, undefined>;
|
|
250
|
+
};
|
|
244
251
|
setContent: {
|
|
245
252
|
delta: import("valibot").ObjectSchema<{
|
|
246
253
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
@@ -252,13 +259,6 @@ export declare const marcoClients: {
|
|
|
252
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>;
|
|
253
260
|
}, undefined>;
|
|
254
261
|
};
|
|
255
|
-
setEmailAccountId: {
|
|
256
|
-
delta: import("valibot").ObjectSchema<{
|
|
257
|
-
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
258
|
-
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
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>;
|
|
261
|
-
};
|
|
262
262
|
setEnvelope: {
|
|
263
263
|
delta: import("valibot").ObjectSchema<{
|
|
264
264
|
readonly envelope: Omit<import("valibot").ObjectSchema<{
|
|
@@ -198,6 +198,7 @@ export declare const endpoints: {
|
|
|
198
198
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
199
199
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
200
200
|
readonly value: import("valibot").ObjectSchema<{
|
|
201
|
+
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
201
202
|
readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
202
203
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
203
204
|
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -214,7 +215,6 @@ export declare const endpoints: {
|
|
|
214
215
|
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
215
216
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
216
217
|
}, undefined>;
|
|
217
|
-
readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
218
218
|
readonly error: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
219
219
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
220
220
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
@@ -526,6 +526,7 @@ export declare const endpoints: {
|
|
|
526
526
|
readonly name: import("valibot").LiteralSchema<"createAttachment", undefined>;
|
|
527
527
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
528
528
|
readonly args: import("valibot").ObjectSchema<{
|
|
529
|
+
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
529
530
|
readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
530
531
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
531
532
|
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -542,7 +543,6 @@ export declare const endpoints: {
|
|
|
542
543
|
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
543
544
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
544
545
|
}, undefined>;
|
|
545
|
-
readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
546
546
|
readonly error: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
547
547
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
548
548
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
@@ -581,26 +581,26 @@ export declare const endpoints: {
|
|
|
581
581
|
readonly name: import("valibot").LiteralSchema<"sendDraft", undefined>;
|
|
582
582
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
583
583
|
readonly args: import("valibot").ObjectSchema<{
|
|
584
|
+
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
584
585
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
585
|
-
readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
586
|
-
readonly index: import("valibot").NumberSchema<undefined>;
|
|
587
|
-
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
|
|
588
|
-
readonly value: import("valibot").StringSchema<undefined>;
|
|
589
|
-
}, undefined>, undefined>;
|
|
590
586
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
591
587
|
}, undefined>;
|
|
592
588
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
593
589
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
594
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
590
|
+
readonly name: import("valibot").LiteralSchema<"setAccountId", undefined>;
|
|
595
591
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
596
592
|
readonly args: import("valibot").ObjectSchema<{
|
|
597
|
-
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
598
593
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
594
|
+
readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
595
|
+
readonly index: import("valibot").NumberSchema<undefined>;
|
|
596
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
|
|
597
|
+
readonly value: import("valibot").StringSchema<undefined>;
|
|
598
|
+
}, undefined>, undefined>;
|
|
599
599
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
600
600
|
}, undefined>;
|
|
601
601
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
602
602
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
603
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
603
|
+
readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
|
|
604
604
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
605
605
|
readonly args: import("valibot").ObjectSchema<{
|
|
606
606
|
readonly envelope: Omit<import("valibot").ObjectSchema<{
|
|
@@ -195,6 +195,7 @@ export declare const privateGroup: {
|
|
|
195
195
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
196
196
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
197
197
|
readonly value: import("valibot").ObjectSchema<{
|
|
198
|
+
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
198
199
|
readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
199
200
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
200
201
|
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -211,7 +212,6 @@ export declare const privateGroup: {
|
|
|
211
212
|
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
212
213
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
213
214
|
}, undefined>;
|
|
214
|
-
readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
215
215
|
readonly error: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
216
216
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
217
217
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
@@ -523,6 +523,7 @@ export declare const privateGroup: {
|
|
|
523
523
|
readonly name: import("valibot").LiteralSchema<"createAttachment", undefined>;
|
|
524
524
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
525
525
|
readonly args: import("valibot").ObjectSchema<{
|
|
526
|
+
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
526
527
|
readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
527
528
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
528
529
|
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -539,7 +540,6 @@ export declare const privateGroup: {
|
|
|
539
540
|
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
540
541
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
541
542
|
}, undefined>;
|
|
542
|
-
readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
543
543
|
readonly error: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
544
544
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
545
545
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
@@ -578,26 +578,26 @@ export declare const privateGroup: {
|
|
|
578
578
|
readonly name: import("valibot").LiteralSchema<"sendDraft", undefined>;
|
|
579
579
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
580
580
|
readonly args: import("valibot").ObjectSchema<{
|
|
581
|
+
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
581
582
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
582
|
-
readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
583
|
-
readonly index: import("valibot").NumberSchema<undefined>;
|
|
584
|
-
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
|
|
585
|
-
readonly value: import("valibot").StringSchema<undefined>;
|
|
586
|
-
}, undefined>, undefined>;
|
|
587
583
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
588
584
|
}, undefined>;
|
|
589
585
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
590
586
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
591
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
587
|
+
readonly name: import("valibot").LiteralSchema<"setAccountId", undefined>;
|
|
592
588
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
593
589
|
readonly args: import("valibot").ObjectSchema<{
|
|
594
|
-
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
595
590
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
591
|
+
readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
592
|
+
readonly index: import("valibot").NumberSchema<undefined>;
|
|
593
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
|
|
594
|
+
readonly value: import("valibot").StringSchema<undefined>;
|
|
595
|
+
}, undefined>, undefined>;
|
|
596
596
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
597
597
|
}, undefined>;
|
|
598
598
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
599
599
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
600
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
600
|
+
readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
|
|
601
601
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
602
602
|
readonly args: import("valibot").ObjectSchema<{
|
|
603
603
|
readonly envelope: Omit<import("valibot").ObjectSchema<{
|
|
@@ -129,6 +129,7 @@ export declare const sync: {
|
|
|
129
129
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
130
130
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
131
131
|
readonly value: import("valibot").ObjectSchema<{
|
|
132
|
+
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
132
133
|
readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
133
134
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
134
135
|
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -145,7 +146,6 @@ export declare const sync: {
|
|
|
145
146
|
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
146
147
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
147
148
|
}, undefined>;
|
|
148
|
-
readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
149
149
|
readonly error: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
150
150
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
151
151
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
@@ -457,6 +457,7 @@ export declare const sync: {
|
|
|
457
457
|
readonly name: import("valibot").LiteralSchema<"createAttachment", undefined>;
|
|
458
458
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
459
459
|
readonly args: import("valibot").ObjectSchema<{
|
|
460
|
+
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
460
461
|
readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
461
462
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
462
463
|
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -473,7 +474,6 @@ export declare const sync: {
|
|
|
473
474
|
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
474
475
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
475
476
|
}, undefined>;
|
|
476
|
-
readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
477
477
|
readonly error: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
478
478
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
479
479
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
@@ -512,26 +512,26 @@ export declare const sync: {
|
|
|
512
512
|
readonly name: import("valibot").LiteralSchema<"sendDraft", undefined>;
|
|
513
513
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
514
514
|
readonly args: import("valibot").ObjectSchema<{
|
|
515
|
+
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
515
516
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
516
|
-
readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
517
|
-
readonly index: import("valibot").NumberSchema<undefined>;
|
|
518
|
-
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
|
|
519
|
-
readonly value: import("valibot").StringSchema<undefined>;
|
|
520
|
-
}, undefined>, undefined>;
|
|
521
517
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
522
518
|
}, undefined>;
|
|
523
519
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
524
520
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
525
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
521
|
+
readonly name: import("valibot").LiteralSchema<"setAccountId", undefined>;
|
|
526
522
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
527
523
|
readonly args: import("valibot").ObjectSchema<{
|
|
528
|
-
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
529
524
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
525
|
+
readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
526
|
+
readonly index: import("valibot").NumberSchema<undefined>;
|
|
527
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
|
|
528
|
+
readonly value: import("valibot").StringSchema<undefined>;
|
|
529
|
+
}, undefined>, undefined>;
|
|
530
530
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
531
531
|
}, undefined>;
|
|
532
532
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
533
533
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
534
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
534
|
+
readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
|
|
535
535
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
536
536
|
readonly args: import("valibot").ObjectSchema<{
|
|
537
537
|
readonly envelope: Omit<import("valibot").ObjectSchema<{
|
|
@@ -30,6 +30,7 @@ export declare const syncPullDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
30
30
|
readonly key: v.StringSchema<undefined>;
|
|
31
31
|
readonly op: v.LiteralSchema<"put", undefined>;
|
|
32
32
|
readonly value: v.ObjectSchema<{
|
|
33
|
+
readonly accountId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
33
34
|
readonly attachments: v.ArraySchema<v.ObjectSchema<{
|
|
34
35
|
readonly failed: v.BooleanSchema<undefined>;
|
|
35
36
|
readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -46,7 +47,6 @@ export declare const syncPullDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
46
47
|
readonly subject: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
47
48
|
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
48
49
|
}, undefined>;
|
|
49
|
-
readonly emailAccountId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
50
50
|
readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
51
51
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
52
52
|
readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
@@ -128,6 +128,7 @@ export declare const pull: {
|
|
|
128
128
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
129
129
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
130
130
|
readonly value: import("valibot").ObjectSchema<{
|
|
131
|
+
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
131
132
|
readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
132
133
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
133
134
|
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -144,7 +145,6 @@ export declare const pull: {
|
|
|
144
145
|
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
145
146
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
146
147
|
}, undefined>;
|
|
147
|
-
readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
148
148
|
readonly error: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
149
149
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
150
150
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
@@ -28,6 +28,7 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
28
28
|
readonly name: v.LiteralSchema<"createAttachment", undefined>;
|
|
29
29
|
}, undefined> | v.ObjectSchema<{
|
|
30
30
|
readonly args: v.ObjectSchema<{
|
|
31
|
+
readonly accountId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
31
32
|
readonly attachments: v.ArraySchema<v.ObjectSchema<{
|
|
32
33
|
readonly failed: v.BooleanSchema<undefined>;
|
|
33
34
|
readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -44,7 +45,6 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
44
45
|
readonly subject: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
45
46
|
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
46
47
|
}, undefined>;
|
|
47
|
-
readonly emailAccountId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
48
48
|
readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
49
49
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
50
50
|
readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
@@ -83,26 +83,26 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
83
83
|
readonly name: v.LiteralSchema<"sendDraft", undefined>;
|
|
84
84
|
}, undefined> | v.ObjectSchema<{
|
|
85
85
|
readonly args: v.ObjectSchema<{
|
|
86
|
+
readonly accountId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
86
87
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
87
|
-
readonly patch: v.ArraySchema<v.ObjectSchema<{
|
|
88
|
-
readonly index: v.NumberSchema<undefined>;
|
|
89
|
-
readonly type: v.UnionSchema<[v.LiteralSchema<"INSERTION", undefined>, v.LiteralSchema<"DELETION", undefined>], undefined>;
|
|
90
|
-
readonly value: v.StringSchema<undefined>;
|
|
91
|
-
}, undefined>, undefined>;
|
|
92
88
|
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
93
89
|
}, undefined>;
|
|
94
90
|
readonly clientID: v.StringSchema<undefined>;
|
|
95
91
|
readonly id: v.NumberSchema<undefined>;
|
|
96
|
-
readonly name: v.LiteralSchema<"
|
|
92
|
+
readonly name: v.LiteralSchema<"setAccountId", undefined>;
|
|
97
93
|
}, undefined> | v.ObjectSchema<{
|
|
98
94
|
readonly args: v.ObjectSchema<{
|
|
99
|
-
readonly accountId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
100
95
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
96
|
+
readonly patch: v.ArraySchema<v.ObjectSchema<{
|
|
97
|
+
readonly index: v.NumberSchema<undefined>;
|
|
98
|
+
readonly type: v.UnionSchema<[v.LiteralSchema<"INSERTION", undefined>, v.LiteralSchema<"DELETION", undefined>], undefined>;
|
|
99
|
+
readonly value: v.StringSchema<undefined>;
|
|
100
|
+
}, undefined>, undefined>;
|
|
101
101
|
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
102
102
|
}, undefined>;
|
|
103
103
|
readonly clientID: v.StringSchema<undefined>;
|
|
104
104
|
readonly id: v.NumberSchema<undefined>;
|
|
105
|
-
readonly name: v.LiteralSchema<"
|
|
105
|
+
readonly name: v.LiteralSchema<"setContent", undefined>;
|
|
106
106
|
}, undefined> | v.ObjectSchema<{
|
|
107
107
|
readonly args: v.ObjectSchema<{
|
|
108
108
|
readonly envelope: Omit<v.ObjectSchema<{
|
|
@@ -42,17 +42,17 @@ export const syncPushDraft = createEndpoint({
|
|
|
42
42
|
id: v.number(),
|
|
43
43
|
name: v.literal('sendDraft'),
|
|
44
44
|
}),
|
|
45
|
-
|
|
46
|
-
args: draft.mutators.
|
|
45
|
+
setAccountId: v.object({
|
|
46
|
+
args: draft.mutators.setAccountId.delta,
|
|
47
47
|
clientID: v.string(),
|
|
48
48
|
id: v.number(),
|
|
49
|
-
name: v.literal('
|
|
49
|
+
name: v.literal('setAccountId'),
|
|
50
50
|
}),
|
|
51
|
-
|
|
52
|
-
args: draft.mutators.
|
|
51
|
+
setContent: v.object({
|
|
52
|
+
args: draft.mutators.setContent.delta,
|
|
53
53
|
clientID: v.string(),
|
|
54
54
|
id: v.number(),
|
|
55
|
-
name: v.literal('
|
|
55
|
+
name: v.literal('setContent'),
|
|
56
56
|
}),
|
|
57
57
|
setEnvelope: v.object({
|
|
58
58
|
args: draft.mutators.setEnvelope.delta,
|
|
@@ -167,6 +167,7 @@ export declare const push: {
|
|
|
167
167
|
readonly name: import("valibot").LiteralSchema<"createAttachment", undefined>;
|
|
168
168
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
169
169
|
readonly args: import("valibot").ObjectSchema<{
|
|
170
|
+
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
170
171
|
readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
171
172
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
172
173
|
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -183,7 +184,6 @@ export declare const push: {
|
|
|
183
184
|
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
184
185
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
185
186
|
}, undefined>;
|
|
186
|
-
readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
187
187
|
readonly error: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
188
188
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
189
189
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
@@ -222,26 +222,26 @@ export declare const push: {
|
|
|
222
222
|
readonly name: import("valibot").LiteralSchema<"sendDraft", undefined>;
|
|
223
223
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
224
224
|
readonly args: import("valibot").ObjectSchema<{
|
|
225
|
+
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
225
226
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
226
|
-
readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
227
|
-
readonly index: import("valibot").NumberSchema<undefined>;
|
|
228
|
-
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
|
|
229
|
-
readonly value: import("valibot").StringSchema<undefined>;
|
|
230
|
-
}, undefined>, undefined>;
|
|
231
227
|
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
228
|
}, undefined>;
|
|
233
229
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
234
230
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
235
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
231
|
+
readonly name: import("valibot").LiteralSchema<"setAccountId", undefined>;
|
|
236
232
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
237
233
|
readonly args: import("valibot").ObjectSchema<{
|
|
238
|
-
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
239
234
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
235
|
+
readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
236
|
+
readonly index: import("valibot").NumberSchema<undefined>;
|
|
237
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
|
|
238
|
+
readonly value: import("valibot").StringSchema<undefined>;
|
|
239
|
+
}, undefined>, undefined>;
|
|
240
240
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
241
241
|
}, undefined>;
|
|
242
242
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
243
243
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
244
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
244
|
+
readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
|
|
245
245
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
246
246
|
readonly args: import("valibot").ObjectSchema<{
|
|
247
247
|
readonly envelope: Omit<import("valibot").ObjectSchema<{
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -197,6 +197,7 @@ export declare const marcoSDK: {
|
|
|
197
197
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
198
198
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
199
199
|
readonly value: import("valibot").ObjectSchema<{
|
|
200
|
+
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
200
201
|
readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
201
202
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
202
203
|
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -213,7 +214,6 @@ export declare const marcoSDK: {
|
|
|
213
214
|
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
214
215
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
215
216
|
}, undefined>;
|
|
216
|
-
readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
217
217
|
readonly error: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
218
218
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
219
219
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
@@ -525,6 +525,7 @@ export declare const marcoSDK: {
|
|
|
525
525
|
readonly name: import("valibot").LiteralSchema<"createAttachment", undefined>;
|
|
526
526
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
527
527
|
readonly args: import("valibot").ObjectSchema<{
|
|
528
|
+
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
528
529
|
readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
529
530
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
530
531
|
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -541,7 +542,6 @@ export declare const marcoSDK: {
|
|
|
541
542
|
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
542
543
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
543
544
|
}, undefined>;
|
|
544
|
-
readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
545
545
|
readonly error: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
546
546
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
547
547
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
|
|
@@ -580,26 +580,26 @@ export declare const marcoSDK: {
|
|
|
580
580
|
readonly name: import("valibot").LiteralSchema<"sendDraft", undefined>;
|
|
581
581
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
582
582
|
readonly args: import("valibot").ObjectSchema<{
|
|
583
|
+
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
583
584
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
584
|
-
readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
585
|
-
readonly index: import("valibot").NumberSchema<undefined>;
|
|
586
|
-
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
|
|
587
|
-
readonly value: import("valibot").StringSchema<undefined>;
|
|
588
|
-
}, undefined>, undefined>;
|
|
589
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>;
|
|
590
586
|
}, undefined>;
|
|
591
587
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
592
588
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
593
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
589
|
+
readonly name: import("valibot").LiteralSchema<"setAccountId", undefined>;
|
|
594
590
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
595
591
|
readonly args: import("valibot").ObjectSchema<{
|
|
596
|
-
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
597
592
|
readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
|
|
593
|
+
readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
594
|
+
readonly index: import("valibot").NumberSchema<undefined>;
|
|
595
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
|
|
596
|
+
readonly value: import("valibot").StringSchema<undefined>;
|
|
597
|
+
}, undefined>, undefined>;
|
|
598
598
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
599
599
|
}, undefined>;
|
|
600
600
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
601
601
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
602
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
602
|
+
readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
|
|
603
603
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
604
604
|
readonly args: import("valibot").ObjectSchema<{
|
|
605
605
|
readonly envelope: Omit<import("valibot").ObjectSchema<{
|
package/package.json
CHANGED