@marcoappio/marco-config 2.0.244 → 2.0.246

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 (62) hide show
  1. package/dist/clients/account.d.ts +5 -5
  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 +15 -15
  6. package/dist/clients/draft.js +11 -11
  7. package/dist/clients/index.d.ts +31 -31
  8. package/dist/clients/thread.d.ts +10 -10
  9. package/dist/clients/thread.js +10 -10
  10. package/dist/schemas.d.ts +0 -1
  11. package/dist/schemas.d.ts.map +1 -1
  12. package/dist/schemas.js +0 -1
  13. package/dist/sdk/endpoints/index.d.ts +41 -56
  14. package/dist/sdk/endpoints/index.d.ts.map +1 -1
  15. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts +0 -5
  16. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts.map +1 -1
  17. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.js +1 -2
  18. package/dist/sdk/endpoints/private/emailMessage/index.d.ts +0 -5
  19. package/dist/sdk/endpoints/private/emailMessage/index.d.ts.map +1 -1
  20. package/dist/sdk/endpoints/private/index.d.ts +31 -56
  21. package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
  22. package/dist/sdk/endpoints/private/sync/index.d.ts +31 -51
  23. package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
  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 +3 -3
  27. package/dist/sdk/endpoints/private/sync/pull/index.d.ts +7 -7
  28. package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +2 -2
  29. package/dist/sdk/endpoints/private/sync/push/account.d.ts +4 -9
  30. package/dist/sdk/endpoints/private/sync/push/account.d.ts.map +1 -1
  31. package/dist/sdk/endpoints/private/sync/push/account.js +0 -1
  32. package/dist/sdk/endpoints/private/sync/push/draft.d.ts +12 -17
  33. package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
  34. package/dist/sdk/endpoints/private/sync/push/draft.js +0 -1
  35. package/dist/sdk/endpoints/private/sync/push/index.d.ts +24 -44
  36. package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
  37. package/dist/sdk/endpoints/private/sync/push/thread.d.ts +8 -13
  38. package/dist/sdk/endpoints/private/sync/push/thread.d.ts.map +1 -1
  39. package/dist/sdk/endpoints/private/sync/push/thread.js +0 -1
  40. package/dist/sdk/endpoints/private/sync/push/user.d.ts +0 -5
  41. package/dist/sdk/endpoints/private/sync/push/user.d.ts.map +1 -1
  42. package/dist/sdk/endpoints/private/sync/push/user.js +0 -1
  43. package/dist/sdk/endpoints/public/auth/index.d.ts +10 -0
  44. package/dist/sdk/endpoints/public/auth/index.d.ts.map +1 -1
  45. package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +5 -0
  46. package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts.map +1 -1
  47. package/dist/sdk/endpoints/public/auth/sendAuthCode.js +1 -0
  48. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +5 -0
  49. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts.map +1 -1
  50. package/dist/sdk/endpoints/public/auth/verifyAuthCode.js +1 -0
  51. package/dist/sdk/endpoints/public/index.d.ts +10 -0
  52. package/dist/sdk/endpoints/public/index.d.ts.map +1 -1
  53. package/dist/sdk/index.d.ts +44 -71
  54. package/dist/sdk/index.d.ts.map +1 -1
  55. package/dist/sdk/validation/errors.d.ts +9 -33
  56. package/dist/sdk/validation/errors.d.ts.map +1 -1
  57. package/dist/sdk/validation/errors.js +5 -15
  58. package/dist/sdk/validation/index.d.ts +3 -15
  59. package/dist/sdk/validation/index.d.ts.map +1 -1
  60. package/dist/types/SDKError.d.ts +1 -1
  61. package/dist/types/SDKError.d.ts.map +1 -1
  62. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"verifyAuthCode.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/verifyAuthCode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAiCzB,CAAA"}
1
+ {"version":3,"file":"verifyAuthCode.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/verifyAuthCode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAkCzB,CAAA"}
@@ -15,6 +15,7 @@ export const verifyAuthCode = createEndpoint({
15
15
  errors.authCodeInvalidErrorSchema,
16
16
  errors.authCodePreviouslyUsedErrorSchema,
17
17
  errors.authTooManyAttemptsErrorSchema,
18
+ errors.inviteNotFoundErrorSchema,
18
19
  errors.authServerResponseUnexpectedErrorSchema,
19
20
  errors.userNotFoundErrorSchema,
20
21
  v.object({
@@ -56,6 +56,11 @@ export declare const publicGroup: {
56
56
  readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
57
57
  }, undefined>;
58
58
  readonly status: import("valibot").LiteralSchema<502, undefined>;
59
+ }, undefined>, import("valibot").ObjectSchema<{
60
+ readonly data: import("valibot").ObjectSchema<{
61
+ readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
62
+ }, undefined>;
63
+ readonly status: import("valibot").LiteralSchema<404, undefined>;
59
64
  }, undefined>, import("valibot").ObjectSchema<{
60
65
  readonly status: import("valibot").LiteralSchema<200, undefined>;
61
66
  }, undefined>], undefined>>;
@@ -92,6 +97,11 @@ export declare const publicGroup: {
92
97
  readonly code: import("valibot").LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
93
98
  }, undefined>;
94
99
  readonly status: import("valibot").LiteralSchema<401, undefined>;
100
+ }, undefined>, import("valibot").ObjectSchema<{
101
+ readonly data: import("valibot").ObjectSchema<{
102
+ readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
103
+ }, undefined>;
104
+ readonly status: import("valibot").LiteralSchema<404, undefined>;
95
105
  }, undefined>, import("valibot").ObjectSchema<{
96
106
  readonly data: import("valibot").ObjectSchema<{
97
107
  readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/public/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGvB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/public/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGvB,CAAA"}
@@ -12,11 +12,6 @@ export declare const marcoSDK: {
12
12
  readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
13
13
  }, undefined>;
14
14
  readonly status: import("valibot").LiteralSchema<404, undefined>;
15
- }, undefined>, import("valibot").ObjectSchema<{
16
- readonly data: import("valibot").ObjectSchema<{
17
- readonly code: import("valibot").LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
18
- }, undefined>;
19
- readonly status: import("valibot").LiteralSchema<404, undefined>;
20
15
  }, undefined>, import("valibot").ObjectSchema<{
21
16
  readonly file: import("valibot").NonOptionalSchema<import("valibot").FileSchema<undefined>, undefined>;
22
17
  readonly status: import("valibot").LiteralSchema<200, undefined>;
@@ -80,7 +75,7 @@ export declare const marcoSDK: {
80
75
  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>;
81
76
  }, undefined>, undefined>;
82
77
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
83
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
78
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
84
79
  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>;
85
80
  readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
86
81
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -133,7 +128,7 @@ export declare const marcoSDK: {
133
128
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
134
129
  readonly value: import("valibot").ObjectSchema<{
135
130
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
136
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
131
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
137
132
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
138
133
  }, undefined>;
139
134
  }, undefined>], undefined>, undefined>;
@@ -173,7 +168,7 @@ export declare const marcoSDK: {
173
168
  readonly value: import("valibot").ObjectSchema<{
174
169
  readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
175
170
  readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
176
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
171
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
177
172
  readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
178
173
  readonly totalChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
179
174
  readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
@@ -186,8 +181,8 @@ export declare const marcoSDK: {
186
181
  readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
187
182
  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>;
188
183
  }, undefined>;
189
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
190
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
184
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
185
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
191
186
  readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
192
187
  readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
193
188
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
@@ -241,7 +236,7 @@ export declare const marcoSDK: {
241
236
  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>;
242
237
  readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
243
238
  readonly flagged: import("valibot").NonOptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
244
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
239
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
245
240
  readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
246
241
  readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
247
242
  readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -263,7 +258,7 @@ export declare const marcoSDK: {
263
258
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
264
259
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
265
260
  }, undefined>, undefined>;
266
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
261
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
267
262
  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>;
268
263
  readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
269
264
  readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -329,14 +324,14 @@ export declare const marcoSDK: {
329
324
  readonly args: import("valibot").ObjectSchema<{
330
325
  readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
331
326
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
332
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
327
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
333
328
  }, undefined>;
334
329
  readonly clientID: import("valibot").StringSchema<undefined>;
335
330
  readonly id: import("valibot").NumberSchema<undefined>;
336
331
  readonly name: import("valibot").LiteralSchema<"add", undefined>;
337
332
  }, undefined> | import("valibot").ObjectSchema<{
338
333
  readonly args: import("valibot").ObjectSchema<{
339
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
334
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
340
335
  }, undefined>;
341
336
  readonly clientID: import("valibot").StringSchema<undefined>;
342
337
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -351,14 +346,14 @@ export declare const marcoSDK: {
351
346
  readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
352
347
  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>;
353
348
  }, undefined>;
354
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
349
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
355
350
  }, undefined>;
356
351
  readonly clientID: import("valibot").StringSchema<undefined>;
357
352
  readonly id: import("valibot").NumberSchema<undefined>;
358
353
  readonly name: import("valibot").LiteralSchema<"setConnectionConfig", undefined>;
359
354
  }, undefined> | import("valibot").ObjectSchema<{
360
355
  readonly args: import("valibot").ObjectSchema<{
361
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
356
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
362
357
  readonly settings: Omit<import("valibot").ObjectSchema<{
363
358
  readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
364
359
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -410,11 +405,6 @@ export declare const marcoSDK: {
410
405
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
411
406
  }, undefined>;
412
407
  readonly status: import("valibot").LiteralSchema<401, undefined>;
413
- }, undefined>, import("valibot").ObjectSchema<{
414
- readonly data: import("valibot").ObjectSchema<{
415
- readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
416
- }, undefined>;
417
- readonly status: import("valibot").LiteralSchema<409, undefined>;
418
408
  }, undefined>, import("valibot").ObjectSchema<{
419
409
  readonly status: import("valibot").LiteralSchema<200, undefined>;
420
410
  }, undefined>], undefined>>;
@@ -424,7 +414,7 @@ export declare const marcoSDK: {
424
414
  readonly args: import("valibot").ObjectSchema<{
425
415
  readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
426
416
  readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
427
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
417
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
428
418
  readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
429
419
  readonly totalChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
430
420
  readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
@@ -437,8 +427,8 @@ export declare const marcoSDK: {
437
427
  readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
438
428
  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>;
439
429
  }, undefined>;
440
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
441
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
430
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
431
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
442
432
  readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
443
433
  readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
444
434
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
@@ -451,27 +441,27 @@ export declare const marcoSDK: {
451
441
  readonly args: import("valibot").ObjectSchema<{
452
442
  readonly attachment: import("valibot").ObjectSchema<{
453
443
  readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
454
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
444
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
455
445
  readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
456
446
  readonly totalChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
457
447
  readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
458
448
  readonly uploadedChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
459
449
  }, undefined>;
460
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
450
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
461
451
  }, undefined>;
462
452
  readonly clientID: import("valibot").StringSchema<undefined>;
463
453
  readonly id: import("valibot").NumberSchema<undefined>;
464
454
  readonly name: import("valibot").LiteralSchema<"createAttachment", undefined>;
465
455
  }, undefined> | import("valibot").ObjectSchema<{
466
456
  readonly args: import("valibot").ObjectSchema<{
467
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
457
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
468
458
  }, undefined>;
469
459
  readonly clientID: import("valibot").StringSchema<undefined>;
470
460
  readonly id: import("valibot").NumberSchema<undefined>;
471
461
  readonly name: import("valibot").LiteralSchema<"delete", undefined>;
472
462
  }, undefined> | import("valibot").ObjectSchema<{
473
463
  readonly args: import("valibot").ObjectSchema<{
474
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
464
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
475
465
  readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
476
466
  readonly index: import("valibot").NumberSchema<undefined>;
477
467
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
@@ -485,7 +475,7 @@ export declare const marcoSDK: {
485
475
  }, undefined> | import("valibot").ObjectSchema<{
486
476
  readonly args: import("valibot").ObjectSchema<{
487
477
  readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
488
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
478
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
489
479
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
490
480
  }, undefined>;
491
481
  readonly clientID: import("valibot").StringSchema<undefined>;
@@ -540,7 +530,7 @@ export declare const marcoSDK: {
540
530
  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;
541
531
  } | undefined;
542
532
  };
543
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
533
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
544
534
  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
535
  }, undefined>;
546
536
  readonly clientID: import("valibot").StringSchema<undefined>;
@@ -548,7 +538,7 @@ export declare const marcoSDK: {
548
538
  readonly name: import("valibot").LiteralSchema<"setEnvelope", undefined>;
549
539
  }, undefined> | import("valibot").ObjectSchema<{
550
540
  readonly args: import("valibot").ObjectSchema<{
551
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
541
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
552
542
  readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
553
543
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
554
544
  }, undefined>;
@@ -557,9 +547,9 @@ export declare const marcoSDK: {
557
547
  readonly name: import("valibot").LiteralSchema<"setStatus", undefined>;
558
548
  }, undefined> | import("valibot").ObjectSchema<{
559
549
  readonly args: import("valibot").ObjectSchema<{
560
- readonly attachmentId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
550
+ readonly attachmentId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
561
551
  readonly chunk: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
562
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
552
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
563
553
  }, undefined>;
564
554
  readonly clientID: import("valibot").StringSchema<undefined>;
565
555
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -575,11 +565,6 @@ export declare const marcoSDK: {
575
565
  }, undefined>;
576
566
  }, undefined>;
577
567
  readonly status: import("valibot").LiteralSchema<400, undefined>;
578
- }, undefined>, import("valibot").ObjectSchema<{
579
- readonly data: import("valibot").ObjectSchema<{
580
- readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
581
- }, undefined>;
582
- readonly status: import("valibot").LiteralSchema<409, undefined>;
583
568
  }, undefined>, import("valibot").ObjectSchema<{
584
569
  readonly data: import("valibot").ObjectSchema<{
585
570
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
@@ -592,14 +577,14 @@ export declare const marcoSDK: {
592
577
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
593
578
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
594
579
  readonly args: import("valibot").ObjectSchema<{
595
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
580
+ 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
581
  }, undefined>;
597
582
  readonly clientID: import("valibot").StringSchema<undefined>;
598
583
  readonly id: import("valibot").NumberSchema<undefined>;
599
584
  readonly name: import("valibot").LiteralSchema<"delete", undefined>;
600
585
  }, undefined> | import("valibot").ObjectSchema<{
601
586
  readonly args: import("valibot").ObjectSchema<{
602
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
587
+ 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
588
  }, undefined>;
604
589
  readonly clientID: import("valibot").StringSchema<undefined>;
605
590
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -607,14 +592,14 @@ export declare const marcoSDK: {
607
592
  }, undefined> | import("valibot").ObjectSchema<{
608
593
  readonly args: import("valibot").ObjectSchema<{
609
594
  readonly flagged: import("valibot").NonOptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
610
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
595
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
611
596
  }, undefined>;
612
597
  readonly clientID: import("valibot").StringSchema<undefined>;
613
598
  readonly id: import("valibot").NumberSchema<undefined>;
614
599
  readonly name: import("valibot").LiteralSchema<"setFlagged", undefined>;
615
600
  }, undefined> | import("valibot").ObjectSchema<{
616
601
  readonly args: import("valibot").ObjectSchema<{
617
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
602
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
618
603
  }, undefined>;
619
604
  readonly clientID: import("valibot").StringSchema<undefined>;
620
605
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -622,7 +607,7 @@ export declare const marcoSDK: {
622
607
  }, undefined> | import("valibot").ObjectSchema<{
623
608
  readonly args: import("valibot").ObjectSchema<{
624
609
  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>;
625
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
610
+ 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
611
  }, undefined>;
627
612
  readonly clientID: import("valibot").StringSchema<undefined>;
628
613
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -630,21 +615,21 @@ export declare const marcoSDK: {
630
615
  }, undefined> | import("valibot").ObjectSchema<{
631
616
  readonly args: import("valibot").ObjectSchema<{
632
617
  readonly seen: import("valibot").BooleanSchema<undefined>;
633
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
618
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
634
619
  }, undefined>;
635
620
  readonly clientID: import("valibot").StringSchema<undefined>;
636
621
  readonly id: import("valibot").NumberSchema<undefined>;
637
622
  readonly name: import("valibot").LiteralSchema<"setSeen", undefined>;
638
623
  }, undefined> | import("valibot").ObjectSchema<{
639
624
  readonly args: import("valibot").ObjectSchema<{
640
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
625
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
641
626
  }, undefined>;
642
627
  readonly clientID: import("valibot").StringSchema<undefined>;
643
628
  readonly id: import("valibot").NumberSchema<undefined>;
644
629
  readonly name: import("valibot").LiteralSchema<"setSpam", undefined>;
645
630
  }, undefined> | import("valibot").ObjectSchema<{
646
631
  readonly args: import("valibot").ObjectSchema<{
647
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
632
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
648
633
  }, undefined>;
649
634
  readonly clientID: import("valibot").StringSchema<undefined>;
650
635
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -665,11 +650,6 @@ export declare const marcoSDK: {
665
650
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
666
651
  }, undefined>;
667
652
  readonly status: import("valibot").LiteralSchema<401, undefined>;
668
- }, undefined>, import("valibot").ObjectSchema<{
669
- readonly data: import("valibot").ObjectSchema<{
670
- readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
671
- }, undefined>;
672
- readonly status: import("valibot").LiteralSchema<409, undefined>;
673
653
  }, undefined>, import("valibot").ObjectSchema<{
674
654
  readonly status: import("valibot").LiteralSchema<200, undefined>;
675
655
  }, undefined>], undefined>>;
@@ -722,11 +702,6 @@ export declare const marcoSDK: {
722
702
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
723
703
  }, undefined>;
724
704
  readonly status: import("valibot").LiteralSchema<401, undefined>;
725
- }, undefined>, import("valibot").ObjectSchema<{
726
- readonly data: import("valibot").ObjectSchema<{
727
- readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
728
- }, undefined>;
729
- readonly status: import("valibot").LiteralSchema<409, undefined>;
730
705
  }, undefined>, import("valibot").ObjectSchema<{
731
706
  readonly status: import("valibot").LiteralSchema<200, undefined>;
732
707
  }, undefined>], undefined>>;
@@ -801,6 +776,11 @@ export declare const marcoSDK: {
801
776
  readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
802
777
  }, undefined>;
803
778
  readonly status: import("valibot").LiteralSchema<502, undefined>;
779
+ }, undefined>, import("valibot").ObjectSchema<{
780
+ readonly data: import("valibot").ObjectSchema<{
781
+ readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
782
+ }, undefined>;
783
+ readonly status: import("valibot").LiteralSchema<404, undefined>;
804
784
  }, undefined>, import("valibot").ObjectSchema<{
805
785
  readonly status: import("valibot").LiteralSchema<200, undefined>;
806
786
  }, undefined>], undefined>>;
@@ -837,6 +817,11 @@ export declare const marcoSDK: {
837
817
  readonly code: import("valibot").LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
838
818
  }, undefined>;
839
819
  readonly status: import("valibot").LiteralSchema<401, undefined>;
820
+ }, undefined>, import("valibot").ObjectSchema<{
821
+ readonly data: import("valibot").ObjectSchema<{
822
+ readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
823
+ }, undefined>;
824
+ readonly status: import("valibot").LiteralSchema<404, undefined>;
840
825
  }, undefined>, import("valibot").ObjectSchema<{
841
826
  readonly data: import("valibot").ObjectSchema<{
842
827
  readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
@@ -875,12 +860,6 @@ export declare const marcoSDK: {
875
860
  };
876
861
  validation: {
877
862
  errors: {
878
- readonly attachmentNotFoundErrorSchema: import("valibot").ObjectSchema<{
879
- readonly data: import("valibot").ObjectSchema<{
880
- readonly code: import("valibot").LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
881
- }, undefined>;
882
- readonly status: import("valibot").LiteralSchema<404, undefined>;
883
- }, undefined>;
884
863
  readonly authCodeExpiredErrorSchema: import("valibot").ObjectSchema<{
885
864
  readonly data: import("valibot").ObjectSchema<{
886
865
  readonly code: import("valibot").LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
@@ -923,19 +902,13 @@ export declare const marcoSDK: {
923
902
  }, undefined>;
924
903
  readonly status: import("valibot").LiteralSchema<401, undefined>;
925
904
  }, undefined>;
926
- readonly messageNotFoundErrorSchema: import("valibot").ObjectSchema<{
905
+ readonly inviteNotFoundErrorSchema: import("valibot").ObjectSchema<{
927
906
  readonly data: import("valibot").ObjectSchema<{
928
- readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
907
+ readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
929
908
  }, undefined>;
930
909
  readonly status: import("valibot").LiteralSchema<404, undefined>;
931
910
  }, undefined>;
932
- readonly mutationDriftErrorSchema: import("valibot").ObjectSchema<{
933
- readonly data: import("valibot").ObjectSchema<{
934
- readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
935
- }, undefined>;
936
- readonly status: import("valibot").LiteralSchema<409, undefined>;
937
- }, undefined>;
938
- readonly threadNotFoundErrorSchema: import("valibot").ObjectSchema<{
911
+ readonly messageNotFoundErrorSchema: import("valibot").ObjectSchema<{
939
912
  readonly data: import("valibot").ObjectSchema<{
940
913
  readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
941
914
  }, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
@@ -1,4 +1,10 @@
1
1
  import * as v from 'valibot';
2
+ export declare const inviteNotFoundErrorSchema: v.ObjectSchema<{
3
+ readonly data: v.ObjectSchema<{
4
+ readonly code: v.LiteralSchema<"INVITE_NOT_FOUND", undefined>;
5
+ }, undefined>;
6
+ readonly status: v.LiteralSchema<404, undefined>;
7
+ }, undefined>;
2
8
  export declare const authCodeExpiredErrorSchema: v.ObjectSchema<{
3
9
  readonly data: v.ObjectSchema<{
4
10
  readonly code: v.LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
@@ -53,24 +59,6 @@ export declare const messageNotFoundErrorSchema: v.ObjectSchema<{
53
59
  }, undefined>;
54
60
  readonly status: v.LiteralSchema<404, undefined>;
55
61
  }, undefined>;
56
- export declare const attachmentNotFoundErrorSchema: v.ObjectSchema<{
57
- readonly data: v.ObjectSchema<{
58
- readonly code: v.LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
59
- }, undefined>;
60
- readonly status: v.LiteralSchema<404, undefined>;
61
- }, undefined>;
62
- export declare const threadNotFoundErrorSchema: v.ObjectSchema<{
63
- readonly data: v.ObjectSchema<{
64
- readonly code: v.LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
65
- }, undefined>;
66
- readonly status: v.LiteralSchema<404, undefined>;
67
- }, undefined>;
68
- export declare const mutationDriftErrorSchema: v.ObjectSchema<{
69
- readonly data: v.ObjectSchema<{
70
- readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
71
- }, undefined>;
72
- readonly status: v.LiteralSchema<409, undefined>;
73
- }, undefined>;
74
62
  export declare const validationFailedErrorSchema: v.ObjectSchema<{
75
63
  readonly data: v.ObjectSchema<{
76
64
  readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -83,12 +71,6 @@ export declare const validationFailedErrorSchema: v.ObjectSchema<{
83
71
  readonly status: v.LiteralSchema<400, undefined>;
84
72
  }, undefined>;
85
73
  export declare const errors: {
86
- readonly attachmentNotFoundErrorSchema: v.ObjectSchema<{
87
- readonly data: v.ObjectSchema<{
88
- readonly code: v.LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
89
- }, undefined>;
90
- readonly status: v.LiteralSchema<404, undefined>;
91
- }, undefined>;
92
74
  readonly authCodeExpiredErrorSchema: v.ObjectSchema<{
93
75
  readonly data: v.ObjectSchema<{
94
76
  readonly code: v.LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
@@ -131,19 +113,13 @@ export declare const errors: {
131
113
  }, undefined>;
132
114
  readonly status: v.LiteralSchema<401, undefined>;
133
115
  }, undefined>;
134
- readonly messageNotFoundErrorSchema: v.ObjectSchema<{
116
+ readonly inviteNotFoundErrorSchema: v.ObjectSchema<{
135
117
  readonly data: v.ObjectSchema<{
136
- readonly code: v.LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
118
+ readonly code: v.LiteralSchema<"INVITE_NOT_FOUND", undefined>;
137
119
  }, undefined>;
138
120
  readonly status: v.LiteralSchema<404, undefined>;
139
121
  }, undefined>;
140
- readonly mutationDriftErrorSchema: v.ObjectSchema<{
141
- readonly data: v.ObjectSchema<{
142
- readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
143
- }, undefined>;
144
- readonly status: v.LiteralSchema<409, undefined>;
145
- }, undefined>;
146
- readonly threadNotFoundErrorSchema: v.ObjectSchema<{
122
+ readonly messageNotFoundErrorSchema: v.ObjectSchema<{
147
123
  readonly data: v.ObjectSchema<{
148
124
  readonly code: v.LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
149
125
  }, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;aAGzC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;aAGlD,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;aAGhC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;aAGxC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;aAGpC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;aAGnC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;aAUtC,CAAA;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcT,CAAA"}
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,yBAAyB;;;;;aAGpC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;aAGzC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;aAGlD,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;aAGhC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;aAUtC,CAAA;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYT,CAAA"}
@@ -1,4 +1,8 @@
1
1
  import * as v from 'valibot';
2
+ export const inviteNotFoundErrorSchema = v.object({
3
+ data: v.object({ code: v.literal('INVITE_NOT_FOUND') }),
4
+ status: v.literal(404),
5
+ });
2
6
  export const authCodeExpiredErrorSchema = v.object({
3
7
  data: v.object({ code: v.literal('AUTH_CODE_EXPIRED') }),
4
8
  status: v.literal(401),
@@ -35,18 +39,6 @@ export const messageNotFoundErrorSchema = v.object({
35
39
  data: v.object({ code: v.literal('MESSAGE_NOT_FOUND') }),
36
40
  status: v.literal(404),
37
41
  });
38
- export const attachmentNotFoundErrorSchema = v.object({
39
- data: v.object({ code: v.literal('ATTACHMENT_NOT_FOUND') }),
40
- status: v.literal(404),
41
- });
42
- export const threadNotFoundErrorSchema = v.object({
43
- data: v.object({ code: v.literal('MESSAGE_NOT_FOUND') }),
44
- status: v.literal(404),
45
- });
46
- export const mutationDriftErrorSchema = v.object({
47
- data: v.object({ code: v.literal('MUTATION_REJECTED') }),
48
- status: v.literal(409),
49
- });
50
42
  export const validationFailedErrorSchema = v.object({
51
43
  data: v.object({
52
44
  code: v.literal('VALIDATION_FAILED'),
@@ -59,7 +51,6 @@ export const validationFailedErrorSchema = v.object({
59
51
  status: v.literal(400),
60
52
  });
61
53
  export const errors = {
62
- attachmentNotFoundErrorSchema,
63
54
  authCodeExpiredErrorSchema,
64
55
  authCodeInvalidErrorSchema,
65
56
  authCodePreviouslyUsedErrorSchema,
@@ -67,9 +58,8 @@ export const errors = {
67
58
  authRefreshTokenInvalid,
68
59
  authServerResponseUnexpectedErrorSchema,
69
60
  authTooManyAttemptsErrorSchema,
61
+ inviteNotFoundErrorSchema,
70
62
  messageNotFoundErrorSchema,
71
- mutationDriftErrorSchema,
72
- threadNotFoundErrorSchema,
73
63
  userNotFoundErrorSchema,
74
64
  validationFailedErrorSchema,
75
65
  };