@marcoappio/marco-config 2.0.304 → 2.0.305

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.
@@ -4,14 +4,14 @@ export declare const account: {
4
4
  readonly aliases: v.ArraySchema<v.ObjectSchema<{
5
5
  readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
6
6
  readonly hidden: v.BooleanSchema<undefined>;
7
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
7
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
8
8
  readonly primary: v.BooleanSchema<undefined>;
9
9
  }, undefined>, undefined>;
10
10
  readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
11
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
11
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
12
12
  readonly imapConnectionStatus: v.UnionSchema<[v.LiteralSchema<"AWAITING_CONNECTION", undefined>, v.LiteralSchema<"CONNECTED", undefined>, v.LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, v.LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
13
13
  readonly labels: v.ArraySchema<v.ObjectSchema<{
14
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
14
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
15
15
  readonly mailCounts: v.ObjectSchema<{
16
16
  readonly processed: v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
17
17
  readonly total: v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
@@ -30,42 +30,42 @@ export declare const account: {
30
30
  delta: v.ObjectSchema<{
31
31
  readonly color: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
32
32
  readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
33
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
33
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
34
34
  }, undefined>;
35
35
  };
36
36
  createAlias: {
37
37
  delta: v.ObjectSchema<{
38
- readonly accountId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
38
+ readonly accountId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
39
39
  readonly alias: v.ObjectSchema<{
40
40
  readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
41
41
  readonly hidden: v.BooleanSchema<undefined>;
42
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
42
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
43
43
  readonly primary: v.BooleanSchema<undefined>;
44
44
  }, undefined>;
45
45
  }, undefined>;
46
46
  };
47
47
  deleteAccount: {
48
48
  delta: v.ObjectSchema<{
49
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
49
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
50
50
  }, undefined>;
51
51
  };
52
52
  deleteAlias: {
53
53
  delta: v.ObjectSchema<{
54
- readonly accountId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
55
- readonly aliasId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
54
+ readonly accountId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
55
+ readonly aliasId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
56
56
  }, undefined>;
57
57
  };
58
58
  setAliasHidden: {
59
59
  delta: v.ObjectSchema<{
60
- readonly accountId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
61
- readonly aliasId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
60
+ readonly accountId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
61
+ readonly aliasId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
62
62
  readonly hidden: v.BooleanSchema<undefined>;
63
63
  }, undefined>;
64
64
  };
65
65
  setAliasPrimary: {
66
66
  delta: v.ObjectSchema<{
67
- readonly accountId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
68
- readonly aliasId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
67
+ readonly accountId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
68
+ readonly aliasId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
69
69
  }, undefined>;
70
70
  };
71
71
  setConnectionConfigImapRaw: {
@@ -78,7 +78,7 @@ export declare const account: {
78
78
  readonly smtpPassword: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
79
79
  readonly smtpPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
80
80
  }, undefined>;
81
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
81
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
82
82
  }, undefined>;
83
83
  };
84
84
  setConnectionConfigOauth: {
@@ -87,12 +87,12 @@ export declare const account: {
87
87
  readonly code: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
88
88
  readonly provider: v.LiteralSchema<"GOOGLE", undefined>;
89
89
  }, undefined>;
90
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
90
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
91
91
  }, undefined>;
92
92
  };
93
93
  setSettings: {
94
94
  delta: v.ObjectSchema<{
95
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
95
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
96
96
  readonly settings: Omit<v.ObjectSchema<{
97
97
  readonly color: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
98
98
  readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -17,7 +17,7 @@ export const account = {
17
17
  id: marcoSchemas.string.shortUUID(),
18
18
  imapConnectionStatus: marcoSchemas.emailAccount.imapConnectionStatus(),
19
19
  labels: v.array(v.object({
20
- id: marcoSchemas.string.shortUUID(),
20
+ id: marcoSchemas.string.required(),
21
21
  mailCounts: v.object({
22
22
  processed: v.pipe(v.number(), v.minValue(0)),
23
23
  total: v.pipe(v.number(), v.minValue(0)),
@@ -2,7 +2,7 @@ import * as v from 'valibot';
2
2
  export declare const contact: {
3
3
  model: v.ObjectSchema<{
4
4
  readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
5
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
5
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
6
6
  readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
7
7
  }, undefined>;
8
8
  mutators: {};
@@ -4,7 +4,7 @@ export declare const draft: {
4
4
  readonly attachments: v.ArraySchema<v.ObjectSchema<{
5
5
  readonly failed: v.BooleanSchema<undefined>;
6
6
  readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
7
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
7
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
8
8
  readonly mimeType: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
9
9
  readonly totalChunks: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
10
10
  readonly totalSize: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
@@ -17,10 +17,10 @@ export declare const draft: {
17
17
  readonly subject: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
18
18
  readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
19
19
  }, undefined>;
20
- readonly emailAccountId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | 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
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
23
- readonly referencedMessageId: v.NullableSchema<v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>, undefined>;
22
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
23
+ readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
24
24
  readonly scheduledFor: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
25
25
  readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SEND_REQUESTED", undefined>, v.LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, v.LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
26
26
  readonly type: v.UnionSchema<[v.LiteralSchema<"NEW", undefined>, v.LiteralSchema<"REPLY", undefined>, v.LiteralSchema<"FORWARD", undefined>], undefined>;
@@ -29,7 +29,7 @@ export declare const draft: {
29
29
  mutators: {
30
30
  cancelDraftSend: {
31
31
  delta: v.ObjectSchema<{
32
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
32
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
33
33
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
34
34
  }, undefined>;
35
35
  };
@@ -38,13 +38,13 @@ export declare const draft: {
38
38
  readonly attachment: v.ObjectSchema<{
39
39
  readonly failed: v.BooleanSchema<undefined>;
40
40
  readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
41
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
41
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
42
42
  readonly mimeType: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
43
43
  readonly totalChunks: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
44
44
  readonly totalSize: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
45
45
  readonly uploadedChunks: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
46
46
  }, undefined>;
47
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
47
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
48
48
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
49
49
  }, undefined>;
50
50
  };
@@ -53,7 +53,7 @@ export declare const draft: {
53
53
  readonly attachments: v.ArraySchema<v.ObjectSchema<{
54
54
  readonly failed: v.BooleanSchema<undefined>;
55
55
  readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
56
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
56
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
57
57
  readonly mimeType: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
58
58
  readonly totalChunks: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
59
59
  readonly totalSize: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
@@ -66,10 +66,10 @@ export declare const draft: {
66
66
  readonly subject: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
67
67
  readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
68
68
  }, undefined>;
69
- readonly emailAccountId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | 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
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
72
- readonly referencedMessageId: v.NullableSchema<v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>, undefined>;
71
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
72
+ readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
73
73
  readonly scheduledFor: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
74
74
  readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SEND_REQUESTED", undefined>, v.LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, v.LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
75
75
  readonly type: v.UnionSchema<[v.LiteralSchema<"NEW", undefined>, v.LiteralSchema<"REPLY", undefined>, v.LiteralSchema<"FORWARD", undefined>], undefined>;
@@ -78,25 +78,25 @@ export declare const draft: {
78
78
  };
79
79
  deleteAttachment: {
80
80
  delta: v.ObjectSchema<{
81
- readonly attachmentId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
82
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
81
+ readonly attachmentId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
82
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
83
83
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
84
84
  }, undefined>;
85
85
  };
86
86
  deleteDraft: {
87
87
  delta: v.ObjectSchema<{
88
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
88
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
89
89
  }, undefined>;
90
90
  };
91
91
  sendDraft: {
92
92
  delta: v.ObjectSchema<{
93
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
93
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
94
94
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
95
95
  }, undefined>;
96
96
  };
97
97
  setContent: {
98
98
  delta: v.ObjectSchema<{
99
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
99
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
100
100
  readonly patch: v.ArraySchema<v.ObjectSchema<{
101
101
  readonly index: v.NumberSchema<undefined>;
102
102
  readonly type: v.UnionSchema<[v.LiteralSchema<"INSERTION", undefined>, v.LiteralSchema<"DELETION", undefined>], undefined>;
@@ -107,8 +107,8 @@ export declare const draft: {
107
107
  };
108
108
  setEmailAccountId: {
109
109
  delta: v.ObjectSchema<{
110
- readonly emailAccountId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
111
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
110
+ readonly emailAccountId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
111
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
112
112
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
113
113
  }, undefined>;
114
114
  };
@@ -161,23 +161,23 @@ export declare const draft: {
161
161
  readonly issue: v.StringIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.MaxLengthIssue<string, number> | v.ObjectIssue | v.NonOptionalIssue | v.ArrayIssue;
162
162
  } | undefined;
163
163
  };
164
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
164
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
165
165
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
166
166
  }, undefined>;
167
167
  };
168
168
  setScheduledFor: {
169
169
  delta: v.ObjectSchema<{
170
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
170
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
171
171
  readonly scheduledFor: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
172
172
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
173
173
  }, undefined>;
174
174
  };
175
175
  uploadAttachmentChunk: {
176
176
  delta: v.ObjectSchema<{
177
- readonly attachmentId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
177
+ readonly attachmentId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
178
178
  readonly chunk: v.SchemaWithPipe<[v.StringSchema<undefined>, v.Base64Action<string, undefined>]>;
179
179
  readonly chunkIndex: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
180
- readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
180
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
181
181
  }, undefined>;
182
182
  };
183
183
  };