@marcoappio/marco-config 2.0.299 → 2.0.300

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.
@@ -1,7 +1,6 @@
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">]>;
5
4
  readonly attachments: v.ArraySchema<v.ObjectSchema<{
6
5
  readonly failed: v.BooleanSchema<undefined>;
7
6
  readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -18,6 +17,7 @@ export declare const draft: {
18
17
  readonly subject: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
19
18
  readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
20
19
  }, 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,7 +50,6 @@ 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">]>;
54
53
  readonly attachments: v.ArraySchema<v.ObjectSchema<{
55
54
  readonly failed: v.BooleanSchema<undefined>;
56
55
  readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -67,6 +66,7 @@ export declare const draft: {
67
66
  readonly subject: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
68
67
  readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
69
68
  }, 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,13 +95,6 @@ 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
- };
105
98
  setContent: {
106
99
  delta: v.ObjectSchema<{
107
100
  readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
@@ -113,6 +106,13 @@ export declare const draft: {
113
106
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
114
107
  }, undefined>;
115
108
  };
109
+ setEmailAccountId: {
110
+ delta: v.ObjectSchema<{
111
+ readonly emailAccountId: 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<{
@@ -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(),
33
32
  attachments: v.array(attachmentSchema),
34
33
  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
- setAccountId: {
81
+ setContent: {
82
82
  delta: v.object({
83
- accountId: marcoSchemas.string.shortUUID(),
84
83
  id: marcoSchemas.string.shortUUID(),
84
+ patch: marcoSchemas.drafts.contentPatch.patch(),
85
85
  updatedAt: marcoSchemas.number.positiveInteger(),
86
86
  }),
87
87
  },
88
- setContent: {
88
+ setEmailAccountId: {
89
89
  delta: v.object({
90
+ emailAccountId: marcoSchemas.string.shortUUID(),
90
91
  id: marcoSchemas.string.shortUUID(),
91
- patch: marcoSchemas.drafts.contentPatch.patch(),
92
92
  updatedAt: marcoSchemas.number.positiveInteger(),
93
93
  }),
94
94
  },
@@ -147,7 +147,6 @@ 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">]>;
151
150
  readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
152
151
  readonly failed: import("valibot").BooleanSchema<undefined>;
153
152
  readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -164,6 +163,7 @@ export declare const marcoClients: {
164
163
  readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
165
164
  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>;
166
165
  }, 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,7 +196,6 @@ 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">]>;
200
199
  readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
201
200
  readonly failed: import("valibot").BooleanSchema<undefined>;
202
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>;
@@ -213,6 +212,7 @@ export declare const marcoClients: {
213
212
  readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
214
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>;
215
214
  }, 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,13 +241,6 @@ 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
- };
251
244
  setContent: {
252
245
  delta: import("valibot").ObjectSchema<{
253
246
  readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
@@ -259,6 +252,13 @@ export declare const marcoClients: {
259
252
  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
253
  }, undefined>;
261
254
  };
255
+ setEmailAccountId: {
256
+ delta: import("valibot").ObjectSchema<{
257
+ readonly emailAccountId: 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,7 +198,6 @@ 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">]>;
202
201
  readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
203
202
  readonly failed: import("valibot").BooleanSchema<undefined>;
204
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>;
@@ -215,6 +214,7 @@ export declare const endpoints: {
215
214
  readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
216
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>;
217
216
  }, 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,7 +526,6 @@ 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">]>;
530
529
  readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
531
530
  readonly failed: import("valibot").BooleanSchema<undefined>;
532
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>;
@@ -543,6 +542,7 @@ export declare const endpoints: {
543
542
  readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
544
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>;
545
544
  }, 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">]>;
585
584
  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>;
586
590
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
587
591
  }, undefined>;
588
592
  readonly clientID: import("valibot").StringSchema<undefined>;
589
593
  readonly id: import("valibot").NumberSchema<undefined>;
590
- readonly name: import("valibot").LiteralSchema<"setAccountId", undefined>;
594
+ readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
591
595
  }, undefined> | import("valibot").ObjectSchema<{
592
596
  readonly args: import("valibot").ObjectSchema<{
597
+ readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
593
598
  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<"setContent", undefined>;
603
+ readonly name: import("valibot").LiteralSchema<"setEmailAccountId", undefined>;
604
604
  }, undefined> | import("valibot").ObjectSchema<{
605
605
  readonly args: import("valibot").ObjectSchema<{
606
606
  readonly envelope: Omit<import("valibot").ObjectSchema<{
@@ -195,7 +195,6 @@ 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">]>;
199
198
  readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
200
199
  readonly failed: import("valibot").BooleanSchema<undefined>;
201
200
  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,6 +211,7 @@ export declare const privateGroup: {
212
211
  readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
213
212
  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
213
  }, 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,7 +523,6 @@ 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">]>;
527
526
  readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
528
527
  readonly failed: import("valibot").BooleanSchema<undefined>;
529
528
  readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -540,6 +539,7 @@ export declare const privateGroup: {
540
539
  readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
541
540
  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>;
542
541
  }, 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">]>;
582
581
  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>;
583
587
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
584
588
  }, undefined>;
585
589
  readonly clientID: import("valibot").StringSchema<undefined>;
586
590
  readonly id: import("valibot").NumberSchema<undefined>;
587
- readonly name: import("valibot").LiteralSchema<"setAccountId", undefined>;
591
+ readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
588
592
  }, undefined> | import("valibot").ObjectSchema<{
589
593
  readonly args: import("valibot").ObjectSchema<{
594
+ readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
590
595
  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<"setContent", undefined>;
600
+ readonly name: import("valibot").LiteralSchema<"setEmailAccountId", undefined>;
601
601
  }, undefined> | import("valibot").ObjectSchema<{
602
602
  readonly args: import("valibot").ObjectSchema<{
603
603
  readonly envelope: Omit<import("valibot").ObjectSchema<{
@@ -129,7 +129,6 @@ 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">]>;
133
132
  readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
134
133
  readonly failed: import("valibot").BooleanSchema<undefined>;
135
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>;
@@ -146,6 +145,7 @@ export declare const sync: {
146
145
  readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
147
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>;
148
147
  }, 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,7 +457,6 @@ 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">]>;
461
460
  readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
462
461
  readonly failed: import("valibot").BooleanSchema<undefined>;
463
462
  readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -474,6 +473,7 @@ export declare const sync: {
474
473
  readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
475
474
  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>;
476
475
  }, 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">]>;
516
515
  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>;
517
521
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
518
522
  }, undefined>;
519
523
  readonly clientID: import("valibot").StringSchema<undefined>;
520
524
  readonly id: import("valibot").NumberSchema<undefined>;
521
- readonly name: import("valibot").LiteralSchema<"setAccountId", undefined>;
525
+ readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
522
526
  }, undefined> | import("valibot").ObjectSchema<{
523
527
  readonly args: import("valibot").ObjectSchema<{
528
+ readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
524
529
  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<"setContent", undefined>;
534
+ readonly name: import("valibot").LiteralSchema<"setEmailAccountId", undefined>;
535
535
  }, undefined> | import("valibot").ObjectSchema<{
536
536
  readonly args: import("valibot").ObjectSchema<{
537
537
  readonly envelope: Omit<import("valibot").ObjectSchema<{
@@ -30,7 +30,6 @@ 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">]>;
34
33
  readonly attachments: v.ArraySchema<v.ObjectSchema<{
35
34
  readonly failed: v.BooleanSchema<undefined>;
36
35
  readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -47,6 +46,7 @@ export declare const syncPullDraft: import("../../../../..").EndpointConfig<"/v1
47
46
  readonly subject: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
48
47
  readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
49
48
  }, 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,7 +128,6 @@ 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">]>;
132
131
  readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
133
132
  readonly failed: import("valibot").BooleanSchema<undefined>;
134
133
  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,6 +144,7 @@ export declare const pull: {
145
144
  readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
146
145
  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
146
  }, 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,7 +28,6 @@ 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">]>;
32
31
  readonly attachments: v.ArraySchema<v.ObjectSchema<{
33
32
  readonly failed: v.BooleanSchema<undefined>;
34
33
  readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -45,6 +44,7 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
45
44
  readonly subject: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
46
45
  readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
47
46
  }, 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">]>;
87
86
  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>;
88
92
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
89
93
  }, undefined>;
90
94
  readonly clientID: v.StringSchema<undefined>;
91
95
  readonly id: v.NumberSchema<undefined>;
92
- readonly name: v.LiteralSchema<"setAccountId", undefined>;
96
+ readonly name: v.LiteralSchema<"setContent", undefined>;
93
97
  }, undefined> | v.ObjectSchema<{
94
98
  readonly args: v.ObjectSchema<{
99
+ readonly emailAccountId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
95
100
  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<"setContent", undefined>;
105
+ readonly name: v.LiteralSchema<"setEmailAccountId", undefined>;
106
106
  }, undefined> | v.ObjectSchema<{
107
107
  readonly args: v.ObjectSchema<{
108
108
  readonly envelope: Omit<v.ObjectSchema<{
@@ -42,18 +42,18 @@ export const syncPushDraft = createEndpoint({
42
42
  id: v.number(),
43
43
  name: v.literal('sendDraft'),
44
44
  }),
45
- setAccountId: v.object({
46
- args: draft.mutators.setAccountId.delta,
47
- clientID: v.string(),
48
- id: v.number(),
49
- name: v.literal('setAccountId'),
50
- }),
51
45
  setContent: v.object({
52
46
  args: draft.mutators.setContent.delta,
53
47
  clientID: v.string(),
54
48
  id: v.number(),
55
49
  name: v.literal('setContent'),
56
50
  }),
51
+ setEmailAccountId: v.object({
52
+ args: draft.mutators.setEmailAccountId.delta,
53
+ clientID: v.string(),
54
+ id: v.number(),
55
+ name: v.literal('setEmailAccountId'),
56
+ }),
57
57
  setEnvelope: v.object({
58
58
  args: draft.mutators.setEnvelope.delta,
59
59
  clientID: v.string(),
@@ -167,7 +167,6 @@ 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">]>;
171
170
  readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
172
171
  readonly failed: import("valibot").BooleanSchema<undefined>;
173
172
  readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -184,6 +183,7 @@ export declare const push: {
184
183
  readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
185
184
  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>;
186
185
  }, 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">]>;
226
225
  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>;
227
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>;
228
232
  }, undefined>;
229
233
  readonly clientID: import("valibot").StringSchema<undefined>;
230
234
  readonly id: import("valibot").NumberSchema<undefined>;
231
- readonly name: import("valibot").LiteralSchema<"setAccountId", undefined>;
235
+ readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
232
236
  }, undefined> | import("valibot").ObjectSchema<{
233
237
  readonly args: import("valibot").ObjectSchema<{
238
+ readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
234
239
  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<"setContent", undefined>;
244
+ readonly name: import("valibot").LiteralSchema<"setEmailAccountId", undefined>;
245
245
  }, undefined> | import("valibot").ObjectSchema<{
246
246
  readonly args: import("valibot").ObjectSchema<{
247
247
  readonly envelope: Omit<import("valibot").ObjectSchema<{
@@ -197,7 +197,6 @@ 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">]>;
201
200
  readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
202
201
  readonly failed: import("valibot").BooleanSchema<undefined>;
203
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>;
@@ -214,6 +213,7 @@ export declare const marcoSDK: {
214
213
  readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
215
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>;
216
215
  }, 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,7 +525,6 @@ 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">]>;
529
528
  readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
530
529
  readonly failed: import("valibot").BooleanSchema<undefined>;
531
530
  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,6 +541,7 @@ export declare const marcoSDK: {
542
541
  readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
543
542
  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
543
  }, 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">]>;
584
583
  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>;
585
589
  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
590
  }, undefined>;
587
591
  readonly clientID: import("valibot").StringSchema<undefined>;
588
592
  readonly id: import("valibot").NumberSchema<undefined>;
589
- readonly name: import("valibot").LiteralSchema<"setAccountId", undefined>;
593
+ readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
590
594
  }, undefined> | import("valibot").ObjectSchema<{
591
595
  readonly args: import("valibot").ObjectSchema<{
596
+ readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
592
597
  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<"setContent", undefined>;
602
+ readonly name: import("valibot").LiteralSchema<"setEmailAccountId", 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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
3
  "packageManager": "bun@1.2.0",
4
- "version": "2.0.299",
4
+ "version": "2.0.300",
5
5
  "author": "team@marcoapp.io",
6
6
  "main": "dist/index.js",
7
7
  "repository": "git@github.com:marcoappio/marco-config.git",