@marcoappio/marco-config 2.0.246 → 2.0.248

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.
Files changed (41) hide show
  1. package/dist/clients/account.d.ts +8 -8
  2. package/dist/clients/account.js +5 -5
  3. package/dist/clients/contact.d.ts +1 -1
  4. package/dist/clients/contact.js +1 -1
  5. package/dist/clients/draft.d.ts +21 -21
  6. package/dist/clients/draft.js +13 -13
  7. package/dist/clients/index.d.ts +48 -48
  8. package/dist/clients/thread.d.ts +13 -13
  9. package/dist/clients/thread.js +13 -13
  10. package/dist/clients/user.d.ts +5 -5
  11. package/dist/clients/user.js +2 -2
  12. package/dist/{schemas.d.ts → schemas/index.d.ts} +3 -1
  13. package/dist/schemas/index.d.ts.map +1 -0
  14. package/dist/{schemas.js → schemas/index.js} +2 -8
  15. package/dist/schemas/string.d.ts +12 -0
  16. package/dist/schemas/string.d.ts.map +1 -0
  17. package/dist/schemas/string.js +12 -0
  18. package/dist/schemas/string.test.d.ts +2 -0
  19. package/dist/schemas/string.test.d.ts.map +1 -0
  20. package/dist/schemas/string.test.js +20 -0
  21. package/dist/sdk/endpoints/index.d.ts +48 -48
  22. package/dist/sdk/endpoints/private/index.d.ts +48 -48
  23. package/dist/sdk/endpoints/private/sync/index.d.ts +48 -48
  24. package/dist/sdk/endpoints/private/sync/pull/account.d.ts +1 -1
  25. package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +1 -1
  26. package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +4 -4
  27. package/dist/sdk/endpoints/private/sync/pull/index.d.ts +11 -11
  28. package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +4 -4
  29. package/dist/sdk/endpoints/private/sync/pull/user.d.ts +1 -1
  30. package/dist/sdk/endpoints/private/sync/push/account.d.ts +7 -7
  31. package/dist/sdk/endpoints/private/sync/push/draft.d.ts +17 -17
  32. package/dist/sdk/endpoints/private/sync/push/index.d.ts +37 -37
  33. package/dist/sdk/endpoints/private/sync/push/thread.d.ts +9 -9
  34. package/dist/sdk/endpoints/private/sync/push/user.d.ts +4 -4
  35. package/dist/sdk/index.d.ts +48 -48
  36. package/dist/utils/shortUUID/shortUUID.d.ts +1 -0
  37. package/dist/utils/shortUUID/shortUUID.d.ts.map +1 -1
  38. package/dist/utils/shortUUID/shortUUID.js +1 -0
  39. package/dist/utils/shortUUID/shortUUID.test.js +4 -0
  40. package/package.json +1 -1
  41. package/dist/schemas.d.ts.map +0 -1
@@ -5,13 +5,13 @@ const userSettings = v.object({
5
5
  });
6
6
  export const user = {
7
7
  model: v.object({
8
- id: marcoSchemas.string.required(),
8
+ id: marcoSchemas.string.shortUUID(),
9
9
  settings: userSettings,
10
10
  }),
11
11
  mutators: {
12
12
  setSettings: {
13
13
  delta: v.object({
14
- id: marcoSchemas.string.required(),
14
+ id: marcoSchemas.string.shortUUID(),
15
15
  settings: v.partial(userSettings),
16
16
  }),
17
17
  },
@@ -37,7 +37,9 @@ export declare const marcoSchemas: {
37
37
  nullable: (maxLength?: number) => v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
38
38
  optional: (maxLength?: number) => v.UndefinedableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
39
39
  required: (maxLength?: number) => v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
40
+ shortUUID: () => v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
41
+ uuid: () => v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
40
42
  };
41
43
  };
42
44
  export type LabelSpecialUse = v.InferInput<ReturnType<typeof marcoSchemas.labelSpecialUse>>;
43
- //# sourceMappingURL=schemas.d.ts.map
45
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAgCP,MAAM,OAAO,MAAM;;;;;;;;;;;;;CAMpC,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,eAAe,CAAC,CAAC,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import * as v from 'valibot';
2
+ import { string } from '../schemas/string';
2
3
  const patchInstructionSchema = v.object({
3
4
  index: v.number(),
4
5
  type: v.union([
@@ -42,12 +43,5 @@ export const marcoSchemas = {
42
43
  minMax: (min, max) => v.nonOptional(v.pipe(v.number(), v.minValue(min), v.maxValue(max))),
43
44
  positiveInteger: () => v.nonOptional(v.pipe(v.number(), v.integer(), v.minValue(0))),
44
45
  },
45
- string: {
46
- email: () => v.nonOptional(v.pipe(v.string(), v.email(), v.maxLength(255))),
47
- enum: (values) => v.nonOptional(v.pipe(v.string(), v.enum(values))),
48
- matches: (regex) => v.nonOptional(v.pipe(v.string(), v.regex(regex))),
49
- nullable: (maxLength = 255) => v.nullable(v.pipe(v.string(), v.maxLength(maxLength))),
50
- optional: (maxLength = 255) => v.undefinedable(v.pipe(v.string(), v.maxLength(maxLength))),
51
- required: (maxLength = 255) => v.nonOptional(v.pipe(v.string(), v.nonEmpty(), v.maxLength(maxLength))),
52
- },
46
+ string: string,
53
47
  };
@@ -0,0 +1,12 @@
1
+ import * as v from 'valibot';
2
+ export declare const string: {
3
+ email: () => v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
4
+ enum: (values: Record<string, string>) => v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EnumSchema<Record<string, string>, undefined>]>, undefined>;
5
+ matches: (regex: RegExp) => v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
6
+ nullable: (maxLength?: number) => v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
7
+ optional: (maxLength?: number) => v.UndefinedableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
8
+ required: (maxLength?: number) => v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
9
+ shortUUID: () => v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
10
+ uuid: () => v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
11
+ };
12
+ //# sourceMappingURL=string.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../src/schemas/string.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAI5B,eAAO,MAAM,MAAM;;mBAGF,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;qBAEpB,MAAM;;;;;;CAexB,CAAA"}
@@ -0,0 +1,12 @@
1
+ import * as v from 'valibot';
2
+ import { shortUUID } from '../utils';
3
+ export const string = {
4
+ email: () => v.nonOptional(v.pipe(v.string(), v.email(), v.maxLength(255))),
5
+ enum: (values) => v.nonOptional(v.pipe(v.string(), v.enum(values))),
6
+ matches: (regex) => v.nonOptional(v.pipe(v.string(), v.regex(regex))),
7
+ nullable: (maxLength = 255) => v.nullable(v.pipe(v.string(), v.maxLength(maxLength))),
8
+ optional: (maxLength = 255) => v.undefinedable(v.pipe(v.string(), v.maxLength(maxLength))),
9
+ required: (maxLength = 255) => v.nonOptional(v.pipe(v.string(), v.nonEmpty(), v.maxLength(maxLength))),
10
+ shortUUID: () => v.pipe(v.string(), v.check(shortUUID.validate, 'Invalid short UUID format')),
11
+ uuid: () => v.nonOptional(v.pipe(v.string(), v.nonEmpty(), v.uuid())),
12
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=string.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"string.test.d.ts","sourceRoot":"","sources":["../../src/schemas/string.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,20 @@
1
+ import { describe, expect, it } from 'bun:test';
2
+ import * as v from 'valibot';
3
+ import { string } from '../schemas/string';
4
+ import { shortUUID } from '../utils';
5
+ describe('string', () => {
6
+ const uuid = shortUUID.createUUID();
7
+ const uuidShort = shortUUID.fromUUID(uuid);
8
+ describe('shortUUID', () => {
9
+ it('should correctly validate a short UUID', () => {
10
+ expect(v.safeParse(string.shortUUID(), uuidShort).success).toBe(true);
11
+ expect(v.safeParse(string.shortUUID(), uuid).success).toBe(false);
12
+ });
13
+ });
14
+ describe('uuid', () => {
15
+ it('should correctly validate a UUID', () => {
16
+ expect(v.safeParse(string.uuid(), uuid).success).toBe(true);
17
+ expect(v.safeParse(string.uuid(), uuidShort).success).toBe(false);
18
+ });
19
+ });
20
+ });
@@ -76,7 +76,7 @@ export declare const endpoints: {
76
76
  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>;
77
77
  }, undefined>, undefined>;
78
78
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
79
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
79
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
80
80
  readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
81
81
  readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
82
82
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -129,7 +129,7 @@ export declare const endpoints: {
129
129
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
130
130
  readonly value: import("valibot").ObjectSchema<{
131
131
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
132
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
132
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
133
133
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
134
134
  }, undefined>;
135
135
  }, undefined>], undefined>, undefined>;
@@ -169,7 +169,7 @@ export declare const endpoints: {
169
169
  readonly value: import("valibot").ObjectSchema<{
170
170
  readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
171
171
  readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
172
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
172
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
173
173
  readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
174
174
  readonly totalChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
175
175
  readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
@@ -182,9 +182,9 @@ export declare const endpoints: {
182
182
  readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
183
183
  readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
184
184
  }, undefined>;
185
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
186
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
187
- readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
185
+ readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
186
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
187
+ readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
188
188
  readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
189
189
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
190
190
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
@@ -237,11 +237,11 @@ export declare const endpoints: {
237
237
  readonly bagOfWords: 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>;
238
238
  readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
239
239
  readonly flagged: import("valibot").NonOptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
240
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
240
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
241
241
  readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
242
242
  readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
243
243
  readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
244
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
244
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
245
245
  readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
246
246
  readonly size: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
247
247
  }, undefined>, undefined>;
@@ -259,8 +259,8 @@ export declare const endpoints: {
259
259
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
260
260
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
261
261
  }, undefined>, undefined>;
262
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
263
- readonly labelIds: 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>;
262
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
263
+ readonly labelIds: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
264
264
  readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
265
265
  readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
266
266
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
@@ -308,7 +308,7 @@ export declare const endpoints: {
308
308
  readonly key: import("valibot").StringSchema<undefined>;
309
309
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
310
310
  readonly value: import("valibot").ObjectSchema<{
311
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
311
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
312
312
  readonly settings: import("valibot").ObjectSchema<{
313
313
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
314
314
  }, undefined>;
@@ -325,14 +325,14 @@ export declare const endpoints: {
325
325
  readonly args: import("valibot").ObjectSchema<{
326
326
  readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
327
327
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
328
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
328
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
329
329
  }, undefined>;
330
330
  readonly clientID: import("valibot").StringSchema<undefined>;
331
331
  readonly id: import("valibot").NumberSchema<undefined>;
332
332
  readonly name: import("valibot").LiteralSchema<"add", undefined>;
333
333
  }, undefined> | import("valibot").ObjectSchema<{
334
334
  readonly args: import("valibot").ObjectSchema<{
335
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
335
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
336
336
  }, undefined>;
337
337
  readonly clientID: import("valibot").StringSchema<undefined>;
338
338
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -347,18 +347,18 @@ export declare const endpoints: {
347
347
  readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
348
348
  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>;
349
349
  }, undefined>;
350
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
350
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
351
351
  }, undefined>;
352
352
  readonly clientID: import("valibot").StringSchema<undefined>;
353
353
  readonly id: import("valibot").NumberSchema<undefined>;
354
354
  readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
355
355
  }, undefined> | import("valibot").ObjectSchema<{
356
356
  readonly args: import("valibot").ObjectSchema<{
357
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
357
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
358
358
  readonly settings: Omit<import("valibot").ObjectSchema<{
359
359
  readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
360
360
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
361
- }, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
361
+ }, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
362
362
  readonly entries: {
363
363
  readonly color: import("valibot").OptionalSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
364
364
  readonly name: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
@@ -373,7 +373,7 @@ export declare const endpoints: {
373
373
  readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
374
374
  name?: string | null | undefined;
375
375
  color?: string | undefined;
376
- }, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue>;
376
+ }, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue>;
377
377
  readonly '~types'?: {
378
378
  readonly input: {
379
379
  name?: string | null | undefined;
@@ -383,7 +383,7 @@ export declare const endpoints: {
383
383
  name?: string | null | undefined;
384
384
  color?: string | undefined;
385
385
  };
386
- readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue;
386
+ readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue;
387
387
  } | undefined;
388
388
  };
389
389
  }, undefined>;
@@ -415,7 +415,7 @@ export declare const endpoints: {
415
415
  readonly args: import("valibot").ObjectSchema<{
416
416
  readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
417
417
  readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
418
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
418
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
419
419
  readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
420
420
  readonly totalChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
421
421
  readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
@@ -428,9 +428,9 @@ export declare const endpoints: {
428
428
  readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
429
429
  readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
430
430
  }, 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
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
433
- readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
431
+ readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
432
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
433
+ readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
434
434
  readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
435
435
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
436
436
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
@@ -442,27 +442,27 @@ export declare const endpoints: {
442
442
  readonly args: import("valibot").ObjectSchema<{
443
443
  readonly attachment: import("valibot").ObjectSchema<{
444
444
  readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
445
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
445
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
446
446
  readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
447
447
  readonly totalChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
448
448
  readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
449
449
  readonly uploadedChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
450
450
  }, undefined>;
451
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
451
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
452
452
  }, undefined>;
453
453
  readonly clientID: import("valibot").StringSchema<undefined>;
454
454
  readonly id: import("valibot").NumberSchema<undefined>;
455
455
  readonly name: import("valibot").LiteralSchema<"createAttachment", undefined>;
456
456
  }, undefined> | import("valibot").ObjectSchema<{
457
457
  readonly args: import("valibot").ObjectSchema<{
458
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
458
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
459
459
  }, undefined>;
460
460
  readonly clientID: import("valibot").StringSchema<undefined>;
461
461
  readonly id: import("valibot").NumberSchema<undefined>;
462
462
  readonly name: import("valibot").LiteralSchema<"delete", undefined>;
463
463
  }, undefined> | import("valibot").ObjectSchema<{
464
464
  readonly args: import("valibot").ObjectSchema<{
465
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
465
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
466
466
  readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
467
467
  readonly index: import("valibot").NumberSchema<undefined>;
468
468
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
@@ -475,8 +475,8 @@ export declare const endpoints: {
475
475
  readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
476
476
  }, undefined> | import("valibot").ObjectSchema<{
477
477
  readonly args: import("valibot").ObjectSchema<{
478
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
479
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
478
+ readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
479
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
480
480
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
481
481
  }, undefined>;
482
482
  readonly clientID: import("valibot").StringSchema<undefined>;
@@ -490,7 +490,7 @@ export declare const endpoints: {
490
490
  readonly content: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
491
491
  readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
492
492
  readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
493
- }, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
493
+ }, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
494
494
  readonly entries: Omit<{
495
495
  readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
496
496
  readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -514,7 +514,7 @@ export declare const endpoints: {
514
514
  cc: string[];
515
515
  to: string[];
516
516
  subject: string | null;
517
- }, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ArrayIssue>;
517
+ }, import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue>;
518
518
  readonly '~types'?: {
519
519
  readonly input: {
520
520
  bcc: string[];
@@ -528,10 +528,10 @@ export declare const endpoints: {
528
528
  to: string[];
529
529
  subject: string | null;
530
530
  };
531
- readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ArrayIssue;
531
+ readonly issue: import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue;
532
532
  } | undefined;
533
533
  };
534
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
534
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
535
535
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
536
536
  }, undefined>;
537
537
  readonly clientID: import("valibot").StringSchema<undefined>;
@@ -539,7 +539,7 @@ export declare const endpoints: {
539
539
  readonly name: import("valibot").LiteralSchema<"setEnvelope", undefined>;
540
540
  }, undefined> | import("valibot").ObjectSchema<{
541
541
  readonly args: import("valibot").ObjectSchema<{
542
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
542
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
543
543
  readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
544
544
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
545
545
  }, undefined>;
@@ -548,9 +548,9 @@ export declare const endpoints: {
548
548
  readonly name: import("valibot").LiteralSchema<"setStatus", undefined>;
549
549
  }, undefined> | import("valibot").ObjectSchema<{
550
550
  readonly args: import("valibot").ObjectSchema<{
551
- readonly attachmentId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
551
+ readonly attachmentId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
552
552
  readonly chunk: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
553
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
553
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
554
554
  }, undefined>;
555
555
  readonly clientID: import("valibot").StringSchema<undefined>;
556
556
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -578,14 +578,14 @@ export declare const endpoints: {
578
578
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
579
579
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
580
580
  readonly args: import("valibot").ObjectSchema<{
581
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
581
+ readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
582
582
  }, undefined>;
583
583
  readonly clientID: import("valibot").StringSchema<undefined>;
584
584
  readonly id: import("valibot").NumberSchema<undefined>;
585
585
  readonly name: import("valibot").LiteralSchema<"delete", undefined>;
586
586
  }, undefined> | import("valibot").ObjectSchema<{
587
587
  readonly args: import("valibot").ObjectSchema<{
588
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
588
+ readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
589
589
  }, undefined>;
590
590
  readonly clientID: import("valibot").StringSchema<undefined>;
591
591
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -593,22 +593,22 @@ export declare const endpoints: {
593
593
  }, undefined> | import("valibot").ObjectSchema<{
594
594
  readonly args: import("valibot").ObjectSchema<{
595
595
  readonly flagged: import("valibot").NonOptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
596
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
596
+ readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
597
597
  }, undefined>;
598
598
  readonly clientID: import("valibot").StringSchema<undefined>;
599
599
  readonly id: import("valibot").NumberSchema<undefined>;
600
600
  readonly name: import("valibot").LiteralSchema<"setFlagged", undefined>;
601
601
  }, undefined> | import("valibot").ObjectSchema<{
602
602
  readonly args: import("valibot").ObjectSchema<{
603
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
603
+ readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
604
604
  }, undefined>;
605
605
  readonly clientID: import("valibot").StringSchema<undefined>;
606
606
  readonly id: import("valibot").NumberSchema<undefined>;
607
607
  readonly name: import("valibot").LiteralSchema<"setInbox", undefined>;
608
608
  }, undefined> | import("valibot").ObjectSchema<{
609
609
  readonly args: import("valibot").ObjectSchema<{
610
- readonly labelIds: 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>;
611
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
610
+ readonly labelIds: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
611
+ readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
612
612
  }, undefined>;
613
613
  readonly clientID: import("valibot").StringSchema<undefined>;
614
614
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -616,21 +616,21 @@ export declare const endpoints: {
616
616
  }, undefined> | import("valibot").ObjectSchema<{
617
617
  readonly args: import("valibot").ObjectSchema<{
618
618
  readonly seen: import("valibot").BooleanSchema<undefined>;
619
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
619
+ readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
620
620
  }, undefined>;
621
621
  readonly clientID: import("valibot").StringSchema<undefined>;
622
622
  readonly id: import("valibot").NumberSchema<undefined>;
623
623
  readonly name: import("valibot").LiteralSchema<"setSeen", undefined>;
624
624
  }, undefined> | import("valibot").ObjectSchema<{
625
625
  readonly args: import("valibot").ObjectSchema<{
626
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
626
+ readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
627
627
  }, undefined>;
628
628
  readonly clientID: import("valibot").StringSchema<undefined>;
629
629
  readonly id: import("valibot").NumberSchema<undefined>;
630
630
  readonly name: import("valibot").LiteralSchema<"setSpam", undefined>;
631
631
  }, undefined> | import("valibot").ObjectSchema<{
632
632
  readonly args: import("valibot").ObjectSchema<{
633
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
633
+ readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
634
634
  }, undefined>;
635
635
  readonly clientID: import("valibot").StringSchema<undefined>;
636
636
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -658,10 +658,10 @@ export declare const endpoints: {
658
658
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
659
659
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<import("valibot").ObjectSchema<{
660
660
  readonly args: import("valibot").ObjectSchema<{
661
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
661
+ readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
662
662
  readonly settings: Omit<import("valibot").ObjectSchema<{
663
663
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
664
- }, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
664
+ }, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
665
665
  readonly entries: {
666
666
  readonly name: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
667
667
  };
@@ -672,7 +672,7 @@ export declare const endpoints: {
672
672
  }>;
673
673
  readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
674
674
  name?: string | null | undefined;
675
- }, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, number>>;
675
+ }, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue>;
676
676
  readonly '~types'?: {
677
677
  readonly input: {
678
678
  name?: string | null | undefined;
@@ -680,7 +680,7 @@ export declare const endpoints: {
680
680
  readonly output: {
681
681
  name?: string | null | undefined;
682
682
  };
683
- readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, number>;
683
+ readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue;
684
684
  } | undefined;
685
685
  };
686
686
  }, undefined>;