@marcoappio/marco-config 2.0.305 → 2.0.307

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 (30) hide show
  1. package/dist/clients/account.d.ts +15 -15
  2. package/dist/clients/contact.d.ts +1 -1
  3. package/dist/clients/draft.d.ts +22 -22
  4. package/dist/clients/index.d.ts +54 -54
  5. package/dist/clients/thread.d.ts +14 -14
  6. package/dist/clients/thread.js +1 -1
  7. package/dist/clients/user.d.ts +2 -2
  8. package/dist/schemas/index.d.ts +1 -1
  9. package/dist/schemas/string.d.ts +1 -1
  10. package/dist/schemas/string.d.ts.map +1 -1
  11. package/dist/schemas/string.js +1 -1
  12. package/dist/sdk/endpoints/index.d.ts +54 -54
  13. package/dist/sdk/endpoints/private/index.d.ts +54 -54
  14. package/dist/sdk/endpoints/private/sync/index.d.ts +54 -54
  15. package/dist/sdk/endpoints/private/sync/pull/account.d.ts +2 -2
  16. package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +1 -1
  17. package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +4 -4
  18. package/dist/sdk/endpoints/private/sync/pull/index.d.ts +13 -13
  19. package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +5 -5
  20. package/dist/sdk/endpoints/private/sync/pull/user.d.ts +1 -1
  21. package/dist/sdk/endpoints/private/sync/push/account.d.ts +13 -13
  22. package/dist/sdk/endpoints/private/sync/push/draft.d.ts +18 -18
  23. package/dist/sdk/endpoints/private/sync/push/index.d.ts +41 -41
  24. package/dist/sdk/endpoints/private/sync/push/thread.d.ts +9 -9
  25. package/dist/sdk/endpoints/private/sync/push/user.d.ts +1 -1
  26. package/dist/sdk/index.d.ts +54 -54
  27. package/dist/utils/shortUUID/shortUUID.d.ts +4 -5
  28. package/dist/utils/shortUUID/shortUUID.d.ts.map +1 -1
  29. package/dist/utils/shortUUID/shortUUID.js +4 -4
  30. package/package.json +1 -1
@@ -102,11 +102,11 @@ export declare const marcoSDK: {
102
102
  readonly aliases: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
103
103
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
104
104
  readonly hidden: import("valibot").BooleanSchema<undefined>;
105
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
105
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
106
106
  readonly primary: import("valibot").BooleanSchema<undefined>;
107
107
  }, undefined>, undefined>;
108
108
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
109
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
109
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
110
110
  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_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
111
111
  readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
112
112
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -159,7 +159,7 @@ export declare const marcoSDK: {
159
159
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
160
160
  readonly value: import("valibot").ObjectSchema<{
161
161
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
162
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
162
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
163
163
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
164
164
  }, undefined>;
165
165
  }, undefined>], undefined>, undefined>;
@@ -200,7 +200,7 @@ export declare const marcoSDK: {
200
200
  readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
201
201
  readonly failed: import("valibot").BooleanSchema<undefined>;
202
202
  readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
203
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
203
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
204
204
  readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
205
205
  readonly totalChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
206
206
  readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
@@ -213,10 +213,10 @@ export declare const marcoSDK: {
213
213
  readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
214
214
  readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
215
215
  }, undefined>;
216
- readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
216
+ readonly emailAccountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
217
217
  readonly error: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
218
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
219
- readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
218
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
219
+ readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>, undefined>;
220
220
  readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
221
221
  readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
222
222
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
@@ -275,11 +275,11 @@ export declare const marcoSDK: {
275
275
  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>;
276
276
  readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
277
277
  readonly flagged: import("valibot").NonOptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
278
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
278
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
279
279
  readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
280
280
  readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
281
281
  readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
282
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
282
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
283
283
  readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
284
284
  readonly size: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
285
285
  }, undefined>, undefined>;
@@ -291,15 +291,15 @@ export declare const marcoSDK: {
291
291
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
292
292
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
293
293
  }, undefined>, undefined>;
294
- readonly draftId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
294
+ readonly draftId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
295
295
  readonly envelopeDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
296
296
  readonly envelopeSubject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
297
297
  readonly from: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
298
298
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
299
299
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
300
300
  }, undefined>, undefined>;
301
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
302
- 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>;
301
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
302
+ readonly labelIds: import("valibot").ArraySchema<import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>, undefined>;
303
303
  readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
304
304
  readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
305
305
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
@@ -347,7 +347,7 @@ export declare const marcoSDK: {
347
347
  readonly key: import("valibot").StringSchema<undefined>;
348
348
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
349
349
  readonly value: import("valibot").ObjectSchema<{
350
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
350
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
351
351
  readonly settings: import("valibot").ObjectSchema<{
352
352
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
353
353
  }, undefined>;
@@ -364,18 +364,18 @@ export declare const marcoSDK: {
364
364
  readonly args: import("valibot").ObjectSchema<{
365
365
  readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
366
366
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
367
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
367
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
368
368
  }, undefined>;
369
369
  readonly clientID: import("valibot").StringSchema<undefined>;
370
370
  readonly id: import("valibot").NumberSchema<undefined>;
371
371
  readonly name: import("valibot").LiteralSchema<"createAccount", undefined>;
372
372
  }, undefined> | import("valibot").ObjectSchema<{
373
373
  readonly args: import("valibot").ObjectSchema<{
374
- readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
374
+ readonly accountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
375
375
  readonly alias: import("valibot").ObjectSchema<{
376
376
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
377
377
  readonly hidden: import("valibot").BooleanSchema<undefined>;
378
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
378
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
379
379
  readonly primary: import("valibot").BooleanSchema<undefined>;
380
380
  }, undefined>;
381
381
  }, undefined>;
@@ -384,23 +384,23 @@ export declare const marcoSDK: {
384
384
  readonly name: import("valibot").LiteralSchema<"createAlias", undefined>;
385
385
  }, undefined> | import("valibot").ObjectSchema<{
386
386
  readonly args: import("valibot").ObjectSchema<{
387
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
387
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
388
388
  }, undefined>;
389
389
  readonly clientID: import("valibot").StringSchema<undefined>;
390
390
  readonly id: import("valibot").NumberSchema<undefined>;
391
391
  readonly name: import("valibot").LiteralSchema<"deleteAccount", undefined>;
392
392
  }, undefined> | import("valibot").ObjectSchema<{
393
393
  readonly args: import("valibot").ObjectSchema<{
394
- readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
395
- readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
394
+ readonly accountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
395
+ readonly aliasId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
396
396
  }, undefined>;
397
397
  readonly clientID: import("valibot").StringSchema<undefined>;
398
398
  readonly id: import("valibot").NumberSchema<undefined>;
399
399
  readonly name: import("valibot").LiteralSchema<"deleteAlias", undefined>;
400
400
  }, undefined> | import("valibot").ObjectSchema<{
401
401
  readonly args: import("valibot").ObjectSchema<{
402
- readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
403
- readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
402
+ readonly accountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
403
+ readonly aliasId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
404
404
  readonly hidden: import("valibot").BooleanSchema<undefined>;
405
405
  }, undefined>;
406
406
  readonly clientID: import("valibot").StringSchema<undefined>;
@@ -408,8 +408,8 @@ export declare const marcoSDK: {
408
408
  readonly name: import("valibot").LiteralSchema<"setAliasHidden", undefined>;
409
409
  }, undefined> | import("valibot").ObjectSchema<{
410
410
  readonly args: import("valibot").ObjectSchema<{
411
- readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
412
- readonly aliasId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
411
+ readonly accountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
412
+ readonly aliasId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
413
413
  }, undefined>;
414
414
  readonly clientID: import("valibot").StringSchema<undefined>;
415
415
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -424,7 +424,7 @@ export declare const marcoSDK: {
424
424
  readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
425
425
  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>;
426
426
  }, undefined>;
427
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
427
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
428
428
  }, undefined>;
429
429
  readonly clientID: import("valibot").StringSchema<undefined>;
430
430
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -435,14 +435,14 @@ export declare const marcoSDK: {
435
435
  readonly code: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
436
436
  readonly provider: import("valibot").LiteralSchema<"GOOGLE", undefined>;
437
437
  }, undefined>;
438
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
438
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
439
439
  }, undefined>;
440
440
  readonly clientID: import("valibot").StringSchema<undefined>;
441
441
  readonly id: import("valibot").NumberSchema<undefined>;
442
442
  readonly name: import("valibot").LiteralSchema<"setConnectionConfigOauth", undefined>;
443
443
  }, undefined> | import("valibot").ObjectSchema<{
444
444
  readonly args: import("valibot").ObjectSchema<{
445
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
445
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
446
446
  readonly settings: Omit<import("valibot").ObjectSchema<{
447
447
  readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
448
448
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -501,7 +501,7 @@ export declare const marcoSDK: {
501
501
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
502
502
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
503
503
  readonly args: import("valibot").ObjectSchema<{
504
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
504
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
505
505
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
506
506
  }, undefined>;
507
507
  readonly clientID: import("valibot").StringSchema<undefined>;
@@ -512,13 +512,13 @@ export declare const marcoSDK: {
512
512
  readonly attachment: import("valibot").ObjectSchema<{
513
513
  readonly failed: import("valibot").BooleanSchema<undefined>;
514
514
  readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
515
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
515
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
516
516
  readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
517
517
  readonly totalChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
518
518
  readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
519
519
  readonly uploadedChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
520
520
  }, undefined>;
521
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
521
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
522
522
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
523
523
  }, undefined>;
524
524
  readonly clientID: import("valibot").StringSchema<undefined>;
@@ -529,7 +529,7 @@ export declare const marcoSDK: {
529
529
  readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
530
530
  readonly failed: import("valibot").BooleanSchema<undefined>;
531
531
  readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
532
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
532
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
533
533
  readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
534
534
  readonly totalChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
535
535
  readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
@@ -542,10 +542,10 @@ export declare const marcoSDK: {
542
542
  readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
543
543
  readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
544
544
  }, undefined>;
545
- readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
545
+ readonly emailAccountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
546
546
  readonly error: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
547
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
548
- readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>, undefined>;
547
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
548
+ readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>, undefined>;
549
549
  readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
550
550
  readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
551
551
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
@@ -556,8 +556,8 @@ export declare const marcoSDK: {
556
556
  readonly name: import("valibot").LiteralSchema<"createDraft", undefined>;
557
557
  }, undefined> | import("valibot").ObjectSchema<{
558
558
  readonly args: import("valibot").ObjectSchema<{
559
- readonly attachmentId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
560
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
559
+ readonly attachmentId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
560
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
561
561
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
562
562
  }, undefined>;
563
563
  readonly clientID: import("valibot").StringSchema<undefined>;
@@ -565,14 +565,14 @@ export declare const marcoSDK: {
565
565
  readonly name: import("valibot").LiteralSchema<"deleteAttachment", undefined>;
566
566
  }, undefined> | import("valibot").ObjectSchema<{
567
567
  readonly args: import("valibot").ObjectSchema<{
568
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
568
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
569
569
  }, undefined>;
570
570
  readonly clientID: import("valibot").StringSchema<undefined>;
571
571
  readonly id: import("valibot").NumberSchema<undefined>;
572
572
  readonly name: import("valibot").LiteralSchema<"deleteDraft", undefined>;
573
573
  }, undefined> | import("valibot").ObjectSchema<{
574
574
  readonly args: import("valibot").ObjectSchema<{
575
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
575
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
576
576
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
577
577
  }, undefined>;
578
578
  readonly clientID: import("valibot").StringSchema<undefined>;
@@ -580,7 +580,7 @@ export declare const marcoSDK: {
580
580
  readonly name: import("valibot").LiteralSchema<"sendDraft", undefined>;
581
581
  }, undefined> | import("valibot").ObjectSchema<{
582
582
  readonly args: import("valibot").ObjectSchema<{
583
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
583
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
584
584
  readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
585
585
  readonly index: import("valibot").NumberSchema<undefined>;
586
586
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
@@ -593,8 +593,8 @@ export declare const marcoSDK: {
593
593
  readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
594
594
  }, undefined> | import("valibot").ObjectSchema<{
595
595
  readonly args: import("valibot").ObjectSchema<{
596
- readonly emailAccountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
597
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
596
+ readonly emailAccountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
597
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
598
598
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
599
599
  }, undefined>;
600
600
  readonly clientID: import("valibot").StringSchema<undefined>;
@@ -649,7 +649,7 @@ export declare const marcoSDK: {
649
649
  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;
650
650
  } | undefined;
651
651
  };
652
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
652
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
653
653
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
654
654
  }, undefined>;
655
655
  readonly clientID: import("valibot").StringSchema<undefined>;
@@ -657,7 +657,7 @@ export declare const marcoSDK: {
657
657
  readonly name: import("valibot").LiteralSchema<"setEnvelope", undefined>;
658
658
  }, undefined> | import("valibot").ObjectSchema<{
659
659
  readonly args: import("valibot").ObjectSchema<{
660
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
660
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
661
661
  readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
662
662
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
663
663
  }, undefined>;
@@ -666,10 +666,10 @@ export declare const marcoSDK: {
666
666
  readonly name: import("valibot").LiteralSchema<"setScheduledFor", undefined>;
667
667
  }, undefined> | import("valibot").ObjectSchema<{
668
668
  readonly args: import("valibot").ObjectSchema<{
669
- readonly attachmentId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
669
+ readonly attachmentId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
670
670
  readonly chunk: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").Base64Action<string, undefined>]>;
671
671
  readonly chunkIndex: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
672
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
672
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
673
673
  }, undefined>;
674
674
  readonly clientID: import("valibot").StringSchema<undefined>;
675
675
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -697,14 +697,14 @@ export declare const marcoSDK: {
697
697
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
698
698
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
699
699
  readonly args: import("valibot").ObjectSchema<{
700
- readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
700
+ readonly threadId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
701
701
  }, undefined>;
702
702
  readonly clientID: import("valibot").StringSchema<undefined>;
703
703
  readonly id: import("valibot").NumberSchema<undefined>;
704
704
  readonly name: import("valibot").LiteralSchema<"delete", undefined>;
705
705
  }, undefined> | import("valibot").ObjectSchema<{
706
706
  readonly args: import("valibot").ObjectSchema<{
707
- readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
707
+ readonly threadId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
708
708
  }, undefined>;
709
709
  readonly clientID: import("valibot").StringSchema<undefined>;
710
710
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -712,22 +712,22 @@ export declare const marcoSDK: {
712
712
  }, undefined> | import("valibot").ObjectSchema<{
713
713
  readonly args: import("valibot").ObjectSchema<{
714
714
  readonly flagged: import("valibot").NonOptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
715
- readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
715
+ readonly threadId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
716
716
  }, undefined>;
717
717
  readonly clientID: import("valibot").StringSchema<undefined>;
718
718
  readonly id: import("valibot").NumberSchema<undefined>;
719
719
  readonly name: import("valibot").LiteralSchema<"setFlagged", undefined>;
720
720
  }, undefined> | import("valibot").ObjectSchema<{
721
721
  readonly args: import("valibot").ObjectSchema<{
722
- readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
722
+ readonly threadId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
723
723
  }, undefined>;
724
724
  readonly clientID: import("valibot").StringSchema<undefined>;
725
725
  readonly id: import("valibot").NumberSchema<undefined>;
726
726
  readonly name: import("valibot").LiteralSchema<"setInbox", undefined>;
727
727
  }, undefined> | import("valibot").ObjectSchema<{
728
728
  readonly args: import("valibot").ObjectSchema<{
729
- 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>;
730
- readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
729
+ readonly labelIds: import("valibot").ArraySchema<import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>, undefined>;
730
+ readonly threadId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
731
731
  }, undefined>;
732
732
  readonly clientID: import("valibot").StringSchema<undefined>;
733
733
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -735,21 +735,21 @@ export declare const marcoSDK: {
735
735
  }, undefined> | import("valibot").ObjectSchema<{
736
736
  readonly args: import("valibot").ObjectSchema<{
737
737
  readonly seen: import("valibot").BooleanSchema<undefined>;
738
- readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
738
+ readonly threadId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
739
739
  }, undefined>;
740
740
  readonly clientID: import("valibot").StringSchema<undefined>;
741
741
  readonly id: import("valibot").NumberSchema<undefined>;
742
742
  readonly name: import("valibot").LiteralSchema<"setSeen", undefined>;
743
743
  }, undefined> | import("valibot").ObjectSchema<{
744
744
  readonly args: import("valibot").ObjectSchema<{
745
- readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
745
+ readonly threadId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
746
746
  }, undefined>;
747
747
  readonly clientID: import("valibot").StringSchema<undefined>;
748
748
  readonly id: import("valibot").NumberSchema<undefined>;
749
749
  readonly name: import("valibot").LiteralSchema<"setSpam", undefined>;
750
750
  }, undefined> | import("valibot").ObjectSchema<{
751
751
  readonly args: import("valibot").ObjectSchema<{
752
- readonly threadId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
752
+ readonly threadId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
753
753
  }, undefined>;
754
754
  readonly clientID: import("valibot").StringSchema<undefined>;
755
755
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -777,7 +777,7 @@ export declare const marcoSDK: {
777
777
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
778
778
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<import("valibot").ObjectSchema<{
779
779
  readonly args: import("valibot").ObjectSchema<{
780
- readonly id: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string | import("short-uuid").SUUID, "Invalid short UUID format">]>;
780
+ readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
781
781
  readonly settings: Omit<import("valibot").ObjectSchema<{
782
782
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
783
783
  }, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
@@ -1,8 +1,7 @@
1
- import short from 'short-uuid';
2
1
  export declare const shortUUID: {
3
- createUUID: () => short.UUID;
4
- fromUUID: (regularUUID: string | short.UUID) => short.SUUID;
5
- toUUID: (shortId: string | short.SUUID) => short.UUID;
6
- validate: (shortId: string | short.SUUID, rigorous?: boolean) => boolean;
2
+ createUUID: () => string;
3
+ fromUUID: (uuid: string) => string;
4
+ toUUID: (shortUUID: string) => string;
5
+ validate: (uuid: string) => boolean;
7
6
  };
8
7
  //# sourceMappingURL=shortUUID.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shortUUID.d.ts","sourceRoot":"","sources":["../../../src/utils/shortUUID/shortUUID.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,YAAY,CAAA;AAI9B,eAAO,MAAM,SAAS;;;;;CAKrB,CAAA"}
1
+ {"version":3,"file":"shortUUID.d.ts","sourceRoot":"","sources":["../../../src/utils/shortUUID/shortUUID.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS;sBACmB,MAAM;qBAC5B,MAAM,KAAkC,MAAM;wBAC3C,MAAM,KAAqC,MAAM;qBACpD,MAAM,KAAkC,OAAO;CACjE,CAAA"}
@@ -1,8 +1,8 @@
1
1
  import short from 'short-uuid';
2
2
  const translator = short();
3
3
  export const shortUUID = {
4
- createUUID: translator.uuid,
5
- fromUUID: translator.fromUUID,
6
- toUUID: translator.toUUID,
7
- validate: translator.validate,
4
+ createUUID: () => translator.uuid(),
5
+ fromUUID: (uuid) => translator.fromUUID(uuid),
6
+ toUUID: (shortUUID) => translator.toUUID(shortUUID),
7
+ validate: (uuid) => translator.validate(uuid),
8
8
  };
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.305",
4
+ "version": "2.0.307",
5
5
  "author": "team@marcoapp.io",
6
6
  "main": "dist/index.js",
7
7
  "repository": "git@github.com:marcoappio/marco-config.git",