@marcoappio/marco-config 2.0.208 → 2.0.210

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.
@@ -11,17 +11,17 @@ export declare const account: {
11
11
  readonly smtpPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
12
12
  }, undefined>, undefined>;
13
13
  readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
14
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
14
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
15
15
  readonly labels: v.ArraySchema<v.ObjectSchema<{
16
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
16
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
17
+ readonly mailCounts: v.ObjectSchema<{
18
+ readonly processed: v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
19
+ readonly total: v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
20
+ }, undefined>;
17
21
  readonly name: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
18
22
  readonly path: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
19
23
  readonly specialUse: v.NullableSchema<v.UnionSchema<[v.LiteralSchema<"ARCHIVE", undefined>, v.LiteralSchema<"INBOX", undefined>, v.LiteralSchema<"SENT", undefined>, v.LiteralSchema<"SPAM", undefined>, v.LiteralSchema<"TRASH", undefined>], undefined>, undefined>;
20
24
  }, undefined>, undefined>;
21
- readonly messageCounts: v.ObjectSchema<{
22
- readonly complete: v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
23
- readonly total: v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
24
- }, undefined>;
25
25
  readonly settings: v.ObjectSchema<{
26
26
  readonly color: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
27
27
  readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -8,17 +8,17 @@ export const account = {
8
8
  model: v.object({
9
9
  connectionConfig: v.nullable(marcoSchemas.emailAccount.connectionConfig()),
10
10
  emailAddress: marcoSchemas.string.email(),
11
- id: marcoSchemas.string.uuid(),
11
+ id: marcoSchemas.string.required(),
12
12
  labels: v.array(v.object({
13
- id: marcoSchemas.string.uuid(),
13
+ id: marcoSchemas.string.required(),
14
+ mailCounts: v.object({
15
+ processed: v.pipe(v.number(), v.minValue(0)),
16
+ total: v.pipe(v.number(), v.minValue(0)),
17
+ }),
14
18
  name: marcoSchemas.string.required(),
15
19
  path: marcoSchemas.string.required(),
16
20
  specialUse: v.nullable(marcoSchemas.labelSpecialUse()),
17
21
  })),
18
- messageCounts: v.object({
19
- complete: v.pipe(v.number(), v.minValue(0)),
20
- total: v.pipe(v.number(), v.minValue(0)),
21
- }),
22
22
  settings: accountSettings,
23
23
  }),
24
24
  mutators: {
@@ -49,7 +49,7 @@ export declare const draft: {
49
49
  };
50
50
  setEmailAccountId: {
51
51
  delta: v.ObjectSchema<{
52
- readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
52
+ readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
53
53
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
54
54
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
55
55
  }, undefined>;
@@ -40,7 +40,7 @@ export const draft = {
40
40
  },
41
41
  setEmailAccountId: {
42
42
  delta: v.object({
43
- emailAccountId: marcoSchemas.string.uuid(),
43
+ emailAccountId: marcoSchemas.string.required(),
44
44
  id: marcoSchemas.string.uuid(),
45
45
  updatedAt: marcoSchemas.number.positiveInteger(),
46
46
  }),
@@ -12,17 +12,17 @@ export declare const marcoClients: {
12
12
  readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
13
13
  }, undefined>, undefined>;
14
14
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
15
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
15
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
16
16
  readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
17
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
17
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
18
+ readonly mailCounts: import("valibot").ObjectSchema<{
19
+ readonly processed: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
20
+ readonly total: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
21
+ }, undefined>;
18
22
  readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
19
23
  readonly path: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
20
24
  readonly specialUse: import("valibot").NullableSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ARCHIVE", undefined>, import("valibot").LiteralSchema<"INBOX", undefined>, import("valibot").LiteralSchema<"SENT", undefined>, import("valibot").LiteralSchema<"SPAM", undefined>, import("valibot").LiteralSchema<"TRASH", undefined>], undefined>, undefined>;
21
25
  }, undefined>, undefined>;
22
- readonly messageCounts: import("valibot").ObjectSchema<{
23
- readonly complete: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
24
- readonly total: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
25
- }, undefined>;
26
26
  readonly settings: import("valibot").ObjectSchema<{
27
27
  readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
28
28
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -158,7 +158,7 @@ export declare const marcoClients: {
158
158
  };
159
159
  setEmailAccountId: {
160
160
  delta: import("valibot").ObjectSchema<{
161
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
161
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
162
162
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
163
163
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
164
164
  }, undefined>;
@@ -231,7 +231,7 @@ export declare const marcoClients: {
231
231
  };
232
232
  thread: {
233
233
  model: import("valibot").ObjectSchema<{
234
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
234
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
235
235
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
236
236
  readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
237
237
  readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -251,8 +251,8 @@ export declare const marcoClients: {
251
251
  }, undefined>;
252
252
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
253
253
  readonly labelIds: import("valibot").ObjectSchema<{
254
- readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>, undefined>;
255
- readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>, undefined>, undefined>;
254
+ readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
255
+ readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
256
256
  }, undefined>;
257
257
  readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
258
258
  readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
2
  export declare const thread: {
3
3
  model: v.ObjectSchema<{
4
- readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
4
+ readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
5
5
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
6
6
  readonly messages: v.ArraySchema<v.ObjectSchema<{
7
7
  readonly bcc: v.ArraySchema<v.ObjectSchema<{
@@ -21,8 +21,8 @@ export declare const thread: {
21
21
  }, undefined>;
22
22
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
23
23
  readonly labelIds: v.ObjectSchema<{
24
- readonly current: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>, undefined>;
25
- readonly previous: v.NullableSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>, undefined>, undefined>;
24
+ readonly current: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
25
+ readonly previous: v.NullableSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
26
26
  }, undefined>;
27
27
  readonly previewText: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
28
28
  readonly replyTo: v.ArraySchema<v.ObjectSchema<{
@@ -7,7 +7,7 @@ const inlineContact = v.object({
7
7
  });
8
8
  export const thread = {
9
9
  model: v.object({
10
- emailAccountId: marcoSchemas.string.uuid(),
10
+ emailAccountId: marcoSchemas.string.required(),
11
11
  id: marcoSchemas.string.uuid(),
12
12
  messages: v.array(v.object({
13
13
  bcc: v.array(inlineContact),
@@ -18,8 +18,8 @@ export const thread = {
18
18
  from: inlineContact,
19
19
  id: marcoSchemas.string.uuid(),
20
20
  labelIds: v.object({
21
- current: v.array(marcoSchemas.string.uuid()),
22
- previous: v.nullable(v.array(marcoSchemas.string.uuid())),
21
+ current: v.array(marcoSchemas.string.required()),
22
+ previous: v.nullable(v.array(marcoSchemas.string.required())),
23
23
  }),
24
24
  previewText: marcoSchemas.string.required(marcoConstants.messages.PREVIEW_TEXT_MAX_LENGTH),
25
25
  replyTo: v.array(inlineContact),
@@ -63,17 +63,17 @@ export declare const endpoints: {
63
63
  readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
64
64
  }, undefined>, undefined>;
65
65
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
66
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
66
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
67
67
  readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
68
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
68
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
69
+ readonly mailCounts: import("valibot").ObjectSchema<{
70
+ readonly processed: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
71
+ readonly total: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
72
+ }, undefined>;
69
73
  readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
70
74
  readonly path: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
71
75
  readonly specialUse: import("valibot").NullableSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ARCHIVE", undefined>, import("valibot").LiteralSchema<"INBOX", undefined>, import("valibot").LiteralSchema<"SENT", undefined>, import("valibot").LiteralSchema<"SPAM", undefined>, import("valibot").LiteralSchema<"TRASH", undefined>], undefined>, undefined>;
72
76
  }, undefined>, undefined>;
73
- readonly messageCounts: import("valibot").ObjectSchema<{
74
- readonly complete: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
75
- readonly total: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
76
- }, undefined>;
77
77
  readonly settings: import("valibot").ObjectSchema<{
78
78
  readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
79
79
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -209,7 +209,7 @@ export declare const endpoints: {
209
209
  readonly key: import("valibot").StringSchema<undefined>;
210
210
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
211
211
  readonly value: import("valibot").ObjectSchema<{
212
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
212
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
213
213
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
214
214
  readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
215
215
  readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -229,8 +229,8 @@ export declare const endpoints: {
229
229
  }, undefined>;
230
230
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
231
231
  readonly labelIds: import("valibot").ObjectSchema<{
232
- readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>, undefined>;
233
- readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>, undefined>, undefined>;
232
+ readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
233
+ readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
234
234
  }, undefined>;
235
235
  readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
236
236
  readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -380,7 +380,7 @@ export declare const endpoints: {
380
380
  readonly status: import("valibot").LiteralSchema<401, undefined>;
381
381
  }, undefined>, import("valibot").ObjectSchema<{
382
382
  readonly data: import("valibot").ObjectSchema<{
383
- readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
383
+ readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
384
384
  }, undefined>;
385
385
  readonly status: import("valibot").LiteralSchema<409, undefined>;
386
386
  }, undefined>, import("valibot").ObjectSchema<{
@@ -428,7 +428,7 @@ export declare const endpoints: {
428
428
  readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
429
429
  }, undefined> | import("valibot").ObjectSchema<{
430
430
  readonly args: import("valibot").ObjectSchema<{
431
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
431
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
432
432
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
433
433
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
434
434
  }, undefined>;
@@ -512,7 +512,7 @@ export declare const endpoints: {
512
512
  readonly status: import("valibot").LiteralSchema<400, undefined>;
513
513
  }, undefined>, import("valibot").ObjectSchema<{
514
514
  readonly data: import("valibot").ObjectSchema<{
515
- readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
515
+ readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
516
516
  }, undefined>;
517
517
  readonly status: import("valibot").LiteralSchema<409, undefined>;
518
518
  }, undefined>, import("valibot").ObjectSchema<{
@@ -574,7 +574,7 @@ export declare const endpoints: {
574
574
  readonly status: import("valibot").LiteralSchema<401, undefined>;
575
575
  }, undefined>, import("valibot").ObjectSchema<{
576
576
  readonly data: import("valibot").ObjectSchema<{
577
- readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
577
+ readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
578
578
  }, undefined>;
579
579
  readonly status: import("valibot").LiteralSchema<409, undefined>;
580
580
  }, undefined>, import("valibot").ObjectSchema<{
@@ -631,7 +631,7 @@ export declare const endpoints: {
631
631
  readonly status: import("valibot").LiteralSchema<401, undefined>;
632
632
  }, undefined>, import("valibot").ObjectSchema<{
633
633
  readonly data: import("valibot").ObjectSchema<{
634
- readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
634
+ readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
635
635
  }, undefined>;
636
636
  readonly status: import("valibot").LiteralSchema<409, undefined>;
637
637
  }, undefined>, import("valibot").ObjectSchema<{
@@ -60,17 +60,17 @@ export declare const privateGroup: {
60
60
  readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
61
61
  }, undefined>, undefined>;
62
62
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
63
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
63
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
64
64
  readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
65
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
65
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
66
+ readonly mailCounts: import("valibot").ObjectSchema<{
67
+ readonly processed: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
68
+ readonly total: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
69
+ }, undefined>;
66
70
  readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
67
71
  readonly path: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
68
72
  readonly specialUse: import("valibot").NullableSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ARCHIVE", undefined>, import("valibot").LiteralSchema<"INBOX", undefined>, import("valibot").LiteralSchema<"SENT", undefined>, import("valibot").LiteralSchema<"SPAM", undefined>, import("valibot").LiteralSchema<"TRASH", undefined>], undefined>, undefined>;
69
73
  }, undefined>, undefined>;
70
- readonly messageCounts: import("valibot").ObjectSchema<{
71
- readonly complete: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
72
- readonly total: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
73
- }, undefined>;
74
74
  readonly settings: import("valibot").ObjectSchema<{
75
75
  readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
76
76
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -206,7 +206,7 @@ export declare const privateGroup: {
206
206
  readonly key: import("valibot").StringSchema<undefined>;
207
207
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
208
208
  readonly value: import("valibot").ObjectSchema<{
209
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
209
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
210
210
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
211
211
  readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
212
212
  readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -226,8 +226,8 @@ export declare const privateGroup: {
226
226
  }, undefined>;
227
227
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
228
228
  readonly labelIds: import("valibot").ObjectSchema<{
229
- readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>, undefined>;
230
- readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>, undefined>, undefined>;
229
+ readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
230
+ readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
231
231
  }, undefined>;
232
232
  readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
233
233
  readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -377,7 +377,7 @@ export declare const privateGroup: {
377
377
  readonly status: import("valibot").LiteralSchema<401, undefined>;
378
378
  }, undefined>, import("valibot").ObjectSchema<{
379
379
  readonly data: import("valibot").ObjectSchema<{
380
- readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
380
+ readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
381
381
  }, undefined>;
382
382
  readonly status: import("valibot").LiteralSchema<409, undefined>;
383
383
  }, undefined>, import("valibot").ObjectSchema<{
@@ -425,7 +425,7 @@ export declare const privateGroup: {
425
425
  readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
426
426
  }, undefined> | import("valibot").ObjectSchema<{
427
427
  readonly args: import("valibot").ObjectSchema<{
428
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
428
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
429
429
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
430
430
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
431
431
  }, undefined>;
@@ -509,7 +509,7 @@ export declare const privateGroup: {
509
509
  readonly status: import("valibot").LiteralSchema<400, undefined>;
510
510
  }, undefined>, import("valibot").ObjectSchema<{
511
511
  readonly data: import("valibot").ObjectSchema<{
512
- readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
512
+ readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
513
513
  }, undefined>;
514
514
  readonly status: import("valibot").LiteralSchema<409, undefined>;
515
515
  }, undefined>, import("valibot").ObjectSchema<{
@@ -571,7 +571,7 @@ export declare const privateGroup: {
571
571
  readonly status: import("valibot").LiteralSchema<401, undefined>;
572
572
  }, undefined>, import("valibot").ObjectSchema<{
573
573
  readonly data: import("valibot").ObjectSchema<{
574
- readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
574
+ readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
575
575
  }, undefined>;
576
576
  readonly status: import("valibot").LiteralSchema<409, undefined>;
577
577
  }, undefined>, import("valibot").ObjectSchema<{
@@ -628,7 +628,7 @@ export declare const privateGroup: {
628
628
  readonly status: import("valibot").LiteralSchema<401, undefined>;
629
629
  }, undefined>, import("valibot").ObjectSchema<{
630
630
  readonly data: import("valibot").ObjectSchema<{
631
- readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
631
+ readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
632
632
  }, undefined>;
633
633
  readonly status: import("valibot").LiteralSchema<409, undefined>;
634
634
  }, undefined>, import("valibot").ObjectSchema<{
@@ -41,17 +41,17 @@ export declare const sync: {
41
41
  readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
42
42
  }, undefined>, undefined>;
43
43
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
44
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
44
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
45
45
  readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
46
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
46
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
47
+ readonly mailCounts: import("valibot").ObjectSchema<{
48
+ readonly processed: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
49
+ readonly total: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
50
+ }, undefined>;
47
51
  readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
48
52
  readonly path: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
49
53
  readonly specialUse: import("valibot").NullableSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ARCHIVE", undefined>, import("valibot").LiteralSchema<"INBOX", undefined>, import("valibot").LiteralSchema<"SENT", undefined>, import("valibot").LiteralSchema<"SPAM", undefined>, import("valibot").LiteralSchema<"TRASH", undefined>], undefined>, undefined>;
50
54
  }, undefined>, undefined>;
51
- readonly messageCounts: import("valibot").ObjectSchema<{
52
- readonly complete: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
53
- readonly total: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
54
- }, undefined>;
55
55
  readonly settings: import("valibot").ObjectSchema<{
56
56
  readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
57
57
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -187,7 +187,7 @@ export declare const sync: {
187
187
  readonly key: import("valibot").StringSchema<undefined>;
188
188
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
189
189
  readonly value: import("valibot").ObjectSchema<{
190
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
190
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
191
191
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
192
192
  readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
193
193
  readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -207,8 +207,8 @@ export declare const sync: {
207
207
  }, undefined>;
208
208
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
209
209
  readonly labelIds: import("valibot").ObjectSchema<{
210
- readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>, undefined>;
211
- readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>, undefined>, undefined>;
210
+ readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
211
+ readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
212
212
  }, undefined>;
213
213
  readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
214
214
  readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -358,7 +358,7 @@ export declare const sync: {
358
358
  readonly status: import("valibot").LiteralSchema<401, undefined>;
359
359
  }, undefined>, import("valibot").ObjectSchema<{
360
360
  readonly data: import("valibot").ObjectSchema<{
361
- readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
361
+ readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
362
362
  }, undefined>;
363
363
  readonly status: import("valibot").LiteralSchema<409, undefined>;
364
364
  }, undefined>, import("valibot").ObjectSchema<{
@@ -406,7 +406,7 @@ export declare const sync: {
406
406
  readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
407
407
  }, undefined> | import("valibot").ObjectSchema<{
408
408
  readonly args: import("valibot").ObjectSchema<{
409
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
409
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
410
410
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
411
411
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
412
412
  }, undefined>;
@@ -490,7 +490,7 @@ export declare const sync: {
490
490
  readonly status: import("valibot").LiteralSchema<400, undefined>;
491
491
  }, undefined>, import("valibot").ObjectSchema<{
492
492
  readonly data: import("valibot").ObjectSchema<{
493
- readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
493
+ readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
494
494
  }, undefined>;
495
495
  readonly status: import("valibot").LiteralSchema<409, undefined>;
496
496
  }, undefined>, import("valibot").ObjectSchema<{
@@ -552,7 +552,7 @@ export declare const sync: {
552
552
  readonly status: import("valibot").LiteralSchema<401, undefined>;
553
553
  }, undefined>, import("valibot").ObjectSchema<{
554
554
  readonly data: import("valibot").ObjectSchema<{
555
- readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
555
+ readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
556
556
  }, undefined>;
557
557
  readonly status: import("valibot").LiteralSchema<409, undefined>;
558
558
  }, undefined>, import("valibot").ObjectSchema<{
@@ -609,7 +609,7 @@ export declare const sync: {
609
609
  readonly status: import("valibot").LiteralSchema<401, undefined>;
610
610
  }, undefined>, import("valibot").ObjectSchema<{
611
611
  readonly data: import("valibot").ObjectSchema<{
612
- readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
612
+ readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
613
613
  }, undefined>;
614
614
  readonly status: import("valibot").LiteralSchema<409, undefined>;
615
615
  }, undefined>, import("valibot").ObjectSchema<{
@@ -40,17 +40,17 @@ export declare const syncPullAccount: import("../../../../..").EndpointConfig<"/
40
40
  readonly smtpPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
41
41
  }, undefined>, undefined>;
42
42
  readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
43
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
43
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
44
44
  readonly labels: v.ArraySchema<v.ObjectSchema<{
45
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
45
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
46
+ readonly mailCounts: v.ObjectSchema<{
47
+ readonly processed: v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
48
+ readonly total: v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
49
+ }, undefined>;
46
50
  readonly name: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
47
51
  readonly path: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
48
52
  readonly specialUse: v.NullableSchema<v.UnionSchema<[v.LiteralSchema<"ARCHIVE", undefined>, v.LiteralSchema<"INBOX", undefined>, v.LiteralSchema<"SENT", undefined>, v.LiteralSchema<"SPAM", undefined>, v.LiteralSchema<"TRASH", undefined>], undefined>, undefined>;
49
53
  }, undefined>, undefined>;
50
- readonly messageCounts: v.ObjectSchema<{
51
- readonly complete: v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
52
- readonly total: v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
53
- }, undefined>;
54
54
  readonly settings: v.ObjectSchema<{
55
55
  readonly color: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
56
56
  readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -40,17 +40,17 @@ export declare const pull: {
40
40
  readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
41
41
  }, undefined>, undefined>;
42
42
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
43
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
43
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
44
44
  readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
45
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
45
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
46
+ readonly mailCounts: import("valibot").ObjectSchema<{
47
+ readonly processed: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
48
+ readonly total: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
49
+ }, undefined>;
46
50
  readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
47
51
  readonly path: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
48
52
  readonly specialUse: import("valibot").NullableSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ARCHIVE", undefined>, import("valibot").LiteralSchema<"INBOX", undefined>, import("valibot").LiteralSchema<"SENT", undefined>, import("valibot").LiteralSchema<"SPAM", undefined>, import("valibot").LiteralSchema<"TRASH", undefined>], undefined>, undefined>;
49
53
  }, undefined>, undefined>;
50
- readonly messageCounts: import("valibot").ObjectSchema<{
51
- readonly complete: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
52
- readonly total: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
53
- }, undefined>;
54
54
  readonly settings: import("valibot").ObjectSchema<{
55
55
  readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
56
56
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -186,7 +186,7 @@ export declare const pull: {
186
186
  readonly key: import("valibot").StringSchema<undefined>;
187
187
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
188
188
  readonly value: import("valibot").ObjectSchema<{
189
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
189
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
190
190
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
191
191
  readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
192
192
  readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -206,8 +206,8 @@ export declare const pull: {
206
206
  }, undefined>;
207
207
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
208
208
  readonly labelIds: import("valibot").ObjectSchema<{
209
- readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>, undefined>;
210
- readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>, undefined>, undefined>;
209
+ readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
210
+ readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
211
211
  }, undefined>;
212
212
  readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
213
213
  readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -39,7 +39,7 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
39
39
  readonly key: v.StringSchema<undefined>;
40
40
  readonly op: v.LiteralSchema<"put", undefined>;
41
41
  readonly value: v.ObjectSchema<{
42
- readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
42
+ readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
43
43
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
44
44
  readonly messages: v.ArraySchema<v.ObjectSchema<{
45
45
  readonly bcc: v.ArraySchema<v.ObjectSchema<{
@@ -59,8 +59,8 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
59
59
  }, undefined>;
60
60
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
61
61
  readonly labelIds: v.ObjectSchema<{
62
- readonly current: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>, undefined>;
63
- readonly previous: v.NullableSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>, undefined>, undefined>;
62
+ readonly current: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
63
+ readonly previous: v.NullableSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
64
64
  }, undefined>;
65
65
  readonly previewText: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
66
66
  readonly replyTo: v.ArraySchema<v.ObjectSchema<{
@@ -89,7 +89,7 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
89
89
  readonly status: v.LiteralSchema<401, undefined>;
90
90
  }, undefined>, v.ObjectSchema<{
91
91
  readonly data: v.ObjectSchema<{
92
- readonly code: v.LiteralSchema<"MUTATION_DRIFT", undefined>;
92
+ readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
93
93
  }, undefined>;
94
94
  readonly status: v.LiteralSchema<409, undefined>;
95
95
  }, undefined>, v.ObjectSchema<{
@@ -41,7 +41,7 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
41
41
  readonly name: v.LiteralSchema<"setContent", undefined>;
42
42
  }, undefined> | v.ObjectSchema<{
43
43
  readonly args: v.ObjectSchema<{
44
- readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
44
+ readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
45
45
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
46
46
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
47
47
  }, undefined>;
@@ -125,7 +125,7 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
125
125
  readonly status: v.LiteralSchema<400, undefined>;
126
126
  }, undefined>, v.ObjectSchema<{
127
127
  readonly data: v.ObjectSchema<{
128
- readonly code: v.LiteralSchema<"MUTATION_DRIFT", undefined>;
128
+ readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
129
129
  }, undefined>;
130
130
  readonly status: v.LiteralSchema<409, undefined>;
131
131
  }, undefined>, v.ObjectSchema<{
@@ -89,7 +89,7 @@ export declare const push: {
89
89
  readonly status: import("valibot").LiteralSchema<401, undefined>;
90
90
  }, undefined>, import("valibot").ObjectSchema<{
91
91
  readonly data: import("valibot").ObjectSchema<{
92
- readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
92
+ readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
93
93
  }, undefined>;
94
94
  readonly status: import("valibot").LiteralSchema<409, undefined>;
95
95
  }, undefined>, import("valibot").ObjectSchema<{
@@ -137,7 +137,7 @@ export declare const push: {
137
137
  readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
138
138
  }, undefined> | import("valibot").ObjectSchema<{
139
139
  readonly args: import("valibot").ObjectSchema<{
140
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
140
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
141
141
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
142
142
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
143
143
  }, undefined>;
@@ -221,7 +221,7 @@ export declare const push: {
221
221
  readonly status: import("valibot").LiteralSchema<400, undefined>;
222
222
  }, undefined>, import("valibot").ObjectSchema<{
223
223
  readonly data: import("valibot").ObjectSchema<{
224
- readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
224
+ readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
225
225
  }, undefined>;
226
226
  readonly status: import("valibot").LiteralSchema<409, undefined>;
227
227
  }, undefined>, import("valibot").ObjectSchema<{
@@ -283,7 +283,7 @@ export declare const push: {
283
283
  readonly status: import("valibot").LiteralSchema<401, undefined>;
284
284
  }, undefined>, import("valibot").ObjectSchema<{
285
285
  readonly data: import("valibot").ObjectSchema<{
286
- readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
286
+ readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
287
287
  }, undefined>;
288
288
  readonly status: import("valibot").LiteralSchema<409, undefined>;
289
289
  }, undefined>, import("valibot").ObjectSchema<{
@@ -340,7 +340,7 @@ export declare const push: {
340
340
  readonly status: import("valibot").LiteralSchema<401, undefined>;
341
341
  }, undefined>, import("valibot").ObjectSchema<{
342
342
  readonly data: import("valibot").ObjectSchema<{
343
- readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
343
+ readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
344
344
  }, undefined>;
345
345
  readonly status: import("valibot").LiteralSchema<409, undefined>;
346
346
  }, undefined>, import("valibot").ObjectSchema<{
@@ -50,7 +50,7 @@ export declare const syncPushThread: import("../../../../..").EndpointConfig<"/v
50
50
  readonly status: v.LiteralSchema<401, undefined>;
51
51
  }, undefined>, v.ObjectSchema<{
52
52
  readonly data: v.ObjectSchema<{
53
- readonly code: v.LiteralSchema<"MUTATION_DRIFT", undefined>;
53
+ readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
54
54
  }, undefined>;
55
55
  readonly status: v.LiteralSchema<409, undefined>;
56
56
  }, undefined>, v.ObjectSchema<{
@@ -50,7 +50,7 @@ export declare const syncPushUser: import("../../../../..").EndpointConfig<"/v1/
50
50
  readonly status: v.LiteralSchema<401, undefined>;
51
51
  }, undefined>, v.ObjectSchema<{
52
52
  readonly data: v.ObjectSchema<{
53
- readonly code: v.LiteralSchema<"MUTATION_DRIFT", undefined>;
53
+ readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
54
54
  }, undefined>;
55
55
  readonly status: v.LiteralSchema<409, undefined>;
56
56
  }, undefined>, v.ObjectSchema<{
@@ -62,17 +62,17 @@ export declare const marcoSDK: {
62
62
  readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
63
63
  }, undefined>, undefined>;
64
64
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
65
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
65
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
66
66
  readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
67
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
67
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
68
+ readonly mailCounts: import("valibot").ObjectSchema<{
69
+ readonly processed: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
70
+ readonly total: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
71
+ }, undefined>;
68
72
  readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
69
73
  readonly path: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
70
74
  readonly specialUse: import("valibot").NullableSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ARCHIVE", undefined>, import("valibot").LiteralSchema<"INBOX", undefined>, import("valibot").LiteralSchema<"SENT", undefined>, import("valibot").LiteralSchema<"SPAM", undefined>, import("valibot").LiteralSchema<"TRASH", undefined>], undefined>, undefined>;
71
75
  }, undefined>, undefined>;
72
- readonly messageCounts: import("valibot").ObjectSchema<{
73
- readonly complete: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
74
- readonly total: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
75
- }, undefined>;
76
76
  readonly settings: import("valibot").ObjectSchema<{
77
77
  readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
78
78
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -208,7 +208,7 @@ export declare const marcoSDK: {
208
208
  readonly key: import("valibot").StringSchema<undefined>;
209
209
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
210
210
  readonly value: import("valibot").ObjectSchema<{
211
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
211
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
212
212
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
213
213
  readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
214
214
  readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -228,8 +228,8 @@ export declare const marcoSDK: {
228
228
  }, undefined>;
229
229
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
230
230
  readonly labelIds: import("valibot").ObjectSchema<{
231
- readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>, undefined>;
232
- readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>, undefined>, undefined>;
231
+ readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
232
+ readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
233
233
  }, undefined>;
234
234
  readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
235
235
  readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -379,7 +379,7 @@ export declare const marcoSDK: {
379
379
  readonly status: import("valibot").LiteralSchema<401, undefined>;
380
380
  }, undefined>, import("valibot").ObjectSchema<{
381
381
  readonly data: import("valibot").ObjectSchema<{
382
- readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
382
+ readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
383
383
  }, undefined>;
384
384
  readonly status: import("valibot").LiteralSchema<409, undefined>;
385
385
  }, undefined>, import("valibot").ObjectSchema<{
@@ -427,7 +427,7 @@ export declare const marcoSDK: {
427
427
  readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
428
428
  }, undefined> | import("valibot").ObjectSchema<{
429
429
  readonly args: import("valibot").ObjectSchema<{
430
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
430
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
431
431
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
432
432
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
433
433
  }, undefined>;
@@ -511,7 +511,7 @@ export declare const marcoSDK: {
511
511
  readonly status: import("valibot").LiteralSchema<400, undefined>;
512
512
  }, undefined>, import("valibot").ObjectSchema<{
513
513
  readonly data: import("valibot").ObjectSchema<{
514
- readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
514
+ readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
515
515
  }, undefined>;
516
516
  readonly status: import("valibot").LiteralSchema<409, undefined>;
517
517
  }, undefined>, import("valibot").ObjectSchema<{
@@ -573,7 +573,7 @@ export declare const marcoSDK: {
573
573
  readonly status: import("valibot").LiteralSchema<401, undefined>;
574
574
  }, undefined>, import("valibot").ObjectSchema<{
575
575
  readonly data: import("valibot").ObjectSchema<{
576
- readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
576
+ readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
577
577
  }, undefined>;
578
578
  readonly status: import("valibot").LiteralSchema<409, undefined>;
579
579
  }, undefined>, import("valibot").ObjectSchema<{
@@ -630,7 +630,7 @@ export declare const marcoSDK: {
630
630
  readonly status: import("valibot").LiteralSchema<401, undefined>;
631
631
  }, undefined>, import("valibot").ObjectSchema<{
632
632
  readonly data: import("valibot").ObjectSchema<{
633
- readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
633
+ readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
634
634
  }, undefined>;
635
635
  readonly status: import("valibot").LiteralSchema<409, undefined>;
636
636
  }, undefined>, import("valibot").ObjectSchema<{
@@ -820,10 +820,16 @@ export declare const marcoSDK: {
820
820
  }, undefined>;
821
821
  readonly mutationDriftErrorSchema: import("valibot").ObjectSchema<{
822
822
  readonly data: import("valibot").ObjectSchema<{
823
- readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
823
+ readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
824
824
  }, undefined>;
825
825
  readonly status: import("valibot").LiteralSchema<409, undefined>;
826
826
  }, undefined>;
827
+ readonly threadNotFoundErrorSchema: import("valibot").ObjectSchema<{
828
+ readonly data: import("valibot").ObjectSchema<{
829
+ readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
830
+ }, undefined>;
831
+ readonly status: import("valibot").LiteralSchema<404, undefined>;
832
+ }, undefined>;
827
833
  readonly userNotFoundErrorSchema: import("valibot").ObjectSchema<{
828
834
  readonly data: import("valibot").ObjectSchema<{
829
835
  readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
@@ -47,9 +47,15 @@ export declare const messageNotFoundErrorSchema: v.ObjectSchema<{
47
47
  }, undefined>;
48
48
  readonly status: v.LiteralSchema<404, undefined>;
49
49
  }, undefined>;
50
+ export declare const threadNotFoundErrorSchema: v.ObjectSchema<{
51
+ readonly data: v.ObjectSchema<{
52
+ readonly code: v.LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
53
+ }, undefined>;
54
+ readonly status: v.LiteralSchema<404, undefined>;
55
+ }, undefined>;
50
56
  export declare const mutationDriftErrorSchema: v.ObjectSchema<{
51
57
  readonly data: v.ObjectSchema<{
52
- readonly code: v.LiteralSchema<"MUTATION_DRIFT", undefined>;
58
+ readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
53
59
  }, undefined>;
54
60
  readonly status: v.LiteralSchema<409, undefined>;
55
61
  }, undefined>;
@@ -109,10 +115,16 @@ export declare const errors: {
109
115
  }, undefined>;
110
116
  readonly mutationDriftErrorSchema: v.ObjectSchema<{
111
117
  readonly data: v.ObjectSchema<{
112
- readonly code: v.LiteralSchema<"MUTATION_DRIFT", undefined>;
118
+ readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
113
119
  }, undefined>;
114
120
  readonly status: v.LiteralSchema<409, undefined>;
115
121
  }, undefined>;
122
+ readonly threadNotFoundErrorSchema: v.ObjectSchema<{
123
+ readonly data: v.ObjectSchema<{
124
+ readonly code: v.LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
125
+ }, undefined>;
126
+ readonly status: v.LiteralSchema<404, undefined>;
127
+ }, undefined>;
116
128
  readonly userNotFoundErrorSchema: v.ObjectSchema<{
117
129
  readonly data: v.ObjectSchema<{
118
130
  readonly code: v.LiteralSchema<"USER_NOT_FOUND", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;aAGzC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;aAGlD,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;aAGhC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;aAGnC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;aAUtC,CAAA;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWT,CAAA"}
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;aAGzC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;aAGlD,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;aAGhC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;aAGpC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;aAGnC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;aAUtC,CAAA;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYT,CAAA"}
@@ -31,8 +31,12 @@ export const messageNotFoundErrorSchema = v.object({
31
31
  data: v.object({ code: v.literal('MESSAGE_NOT_FOUND') }),
32
32
  status: v.literal(404),
33
33
  });
34
+ export const threadNotFoundErrorSchema = v.object({
35
+ data: v.object({ code: v.literal('MESSAGE_NOT_FOUND') }),
36
+ status: v.literal(404),
37
+ });
34
38
  export const mutationDriftErrorSchema = v.object({
35
- data: v.object({ code: v.literal('MUTATION_DRIFT') }),
39
+ data: v.object({ code: v.literal('MUTATION_REJECTED') }),
36
40
  status: v.literal(409),
37
41
  });
38
42
  export const validationFailedErrorSchema = v.object({
@@ -55,6 +59,7 @@ export const errors = {
55
59
  authTooManyAttemptsErrorSchema,
56
60
  messageNotFoundErrorSchema,
57
61
  mutationDriftErrorSchema,
62
+ threadNotFoundErrorSchema,
58
63
  userNotFoundErrorSchema,
59
64
  validationFailedErrorSchema,
60
65
  };
@@ -44,10 +44,16 @@ export declare const validation: {
44
44
  }, undefined>;
45
45
  readonly mutationDriftErrorSchema: import("valibot").ObjectSchema<{
46
46
  readonly data: import("valibot").ObjectSchema<{
47
- readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
47
+ readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
48
48
  }, undefined>;
49
49
  readonly status: import("valibot").LiteralSchema<409, undefined>;
50
50
  }, undefined>;
51
+ readonly threadNotFoundErrorSchema: import("valibot").ObjectSchema<{
52
+ readonly data: import("valibot").ObjectSchema<{
53
+ readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
54
+ }, undefined>;
55
+ readonly status: import("valibot").LiteralSchema<404, undefined>;
56
+ }, undefined>;
51
57
  readonly userNotFoundErrorSchema: import("valibot").ObjectSchema<{
52
58
  readonly data: import("valibot").ObjectSchema<{
53
59
  readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoB,CAAA"}
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.208",
4
+ "version": "2.0.210",
5
5
  "author": "team@marcoapp.io",
6
6
  "main": "dist/index.js",
7
7
  "repository": "git@github.com:marcoappio/marco-config.git",