@marcoappio/marco-config 2.0.162 → 2.0.164

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 (67) hide show
  1. package/dist/clients/account.d.ts +7 -7
  2. package/dist/clients/account.js +6 -6
  3. package/dist/clients/contact.d.ts +1 -1
  4. package/dist/clients/contact.js +1 -1
  5. package/dist/clients/draft.d.ts +12 -77
  6. package/dist/clients/draft.d.ts.map +1 -1
  7. package/dist/clients/draft.js +25 -27
  8. package/dist/clients/index.d.ts +27 -93
  9. package/dist/clients/index.d.ts.map +1 -1
  10. package/dist/clients/thread.d.ts +5 -5
  11. package/dist/clients/thread.js +5 -5
  12. package/dist/clients/user.d.ts +3 -3
  13. package/dist/clients/user.js +2 -2
  14. package/dist/index.d.ts +1 -1
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/schemas.d.ts +1 -0
  17. package/dist/schemas.d.ts.map +1 -1
  18. package/dist/schemas.js +2 -1
  19. package/dist/sdk/endpoints/index.d.ts +39 -107
  20. package/dist/sdk/endpoints/index.d.ts.map +1 -1
  21. package/dist/sdk/endpoints/private/{email-message/email-message-html-get.d.ts → emailMessage/getEmailMessageHTML.d.ts} +2 -2
  22. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageHTML.d.ts.map +1 -0
  23. package/dist/sdk/endpoints/private/{email-message/email-message-html-get.js → emailMessage/getEmailMessageHTML.js} +1 -1
  24. package/dist/sdk/endpoints/private/{email-message → emailMessage}/index.d.ts +1 -1
  25. package/dist/sdk/endpoints/private/emailMessage/index.d.ts.map +1 -0
  26. package/dist/sdk/endpoints/private/emailMessage/index.js +4 -0
  27. package/dist/sdk/endpoints/private/index.d.ts +35 -103
  28. package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
  29. package/dist/sdk/endpoints/private/index.js +1 -1
  30. package/dist/sdk/endpoints/private/sync/index.d.ts +33 -101
  31. package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
  32. package/dist/sdk/endpoints/private/sync/pull/account.d.ts +3 -3
  33. package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +2 -2
  34. package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +4 -5
  35. package/dist/sdk/endpoints/private/sync/pull/draft.d.ts.map +1 -1
  36. package/dist/sdk/endpoints/private/sync/pull/index.d.ts +15 -16
  37. package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
  38. package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +4 -4
  39. package/dist/sdk/endpoints/private/sync/pull/user.d.ts +2 -2
  40. package/dist/sdk/endpoints/private/sync/push/account.d.ts +6 -6
  41. package/dist/sdk/endpoints/private/sync/push/draft.d.ts +6 -73
  42. package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
  43. package/dist/sdk/endpoints/private/sync/push/draft.js +1 -7
  44. package/dist/sdk/endpoints/private/sync/push/index.d.ts +18 -85
  45. package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
  46. package/dist/sdk/endpoints/private/sync/push/thread.d.ts +3 -3
  47. package/dist/sdk/endpoints/private/sync/push/user.d.ts +3 -3
  48. package/dist/sdk/endpoints/private/user/deleteUser.d.ts +1 -1
  49. package/dist/sdk/endpoints/private/user/index.d.ts +1 -1
  50. package/dist/sdk/endpoints/public/auth/index.d.ts +3 -3
  51. package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +1 -1
  52. package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +1 -1
  53. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +1 -1
  54. package/dist/sdk/endpoints/public/healthcheck/index.d.ts +1 -1
  55. package/dist/sdk/endpoints/public/index.d.ts +4 -4
  56. package/dist/sdk/index.d.ts +39 -107
  57. package/dist/sdk/index.d.ts.map +1 -1
  58. package/dist/types/JSONContent.d.ts +11 -0
  59. package/dist/types/JSONContent.d.ts.map +1 -0
  60. package/dist/types/JSONContent.js +1 -0
  61. package/dist/types/index.d.ts +1 -0
  62. package/dist/types/index.d.ts.map +1 -1
  63. package/dist/types/index.js +1 -0
  64. package/package.json +2 -2
  65. package/dist/sdk/endpoints/private/email-message/email-message-html-get.d.ts.map +0 -1
  66. package/dist/sdk/endpoints/private/email-message/index.d.ts.map +0 -1
  67. package/dist/sdk/endpoints/private/email-message/index.js +0 -4
@@ -3,7 +3,7 @@ export declare const sync: {
3
3
  account: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
4
4
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
5
5
  readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
6
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
6
+ }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
7
7
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
8
8
  readonly status: import("valibot").LiteralSchema<400, undefined>;
9
9
  }, undefined>, import("valibot").ObjectSchema<{
@@ -23,7 +23,7 @@ export declare const sync: {
23
23
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
24
24
  readonly value: import("valibot").ObjectSchema<{
25
25
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
26
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
26
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
27
27
  readonly imapPasswordConfig: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
28
28
  readonly host: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
29
29
  readonly password: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
@@ -31,7 +31,7 @@ export declare const sync: {
31
31
  readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED", undefined>], undefined>;
32
32
  }, undefined>, undefined>;
33
33
  readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
34
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
34
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
35
35
  readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
36
36
  readonly path: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
37
37
  readonly specialUse: import("valibot").NullableSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ARCHIVE", undefined>, import("valibot").LiteralSchema<"INBOX", undefined>, import("valibot").LiteralSchema<"SENT", undefined>, import("valibot").LiteralSchema<"SPAM", undefined>, import("valibot").LiteralSchema<"TRASH", undefined>], undefined>, undefined>;
@@ -53,7 +53,7 @@ export declare const sync: {
53
53
  contact: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
54
54
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
55
55
  readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
56
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
56
+ }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
57
57
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
58
58
  readonly status: import("valibot").LiteralSchema<400, undefined>;
59
59
  }, undefined>, import("valibot").ObjectSchema<{
@@ -72,7 +72,7 @@ export declare const sync: {
72
72
  readonly key: import("valibot").StringSchema<undefined>;
73
73
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
74
74
  readonly value: import("valibot").ObjectSchema<{
75
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
75
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
76
76
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
77
77
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
78
78
  }, undefined>;
@@ -83,7 +83,7 @@ export declare const sync: {
83
83
  draft: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
84
84
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
85
85
  readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
86
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
86
+ }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
87
87
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
88
88
  readonly status: import("valibot").LiteralSchema<400, undefined>;
89
89
  }, undefined>, import("valibot").ObjectSchema<{
@@ -105,13 +105,12 @@ export declare const sync: {
105
105
  readonly body: import("valibot").ObjectSchema<{
106
106
  readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
107
107
  readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
108
- readonly content: import("valibot").UnknownSchema;
109
- readonly replyTo: 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>;
108
+ readonly content: import("valibot").GenericSchema<import("../../../..").JSONContent>;
110
109
  readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
111
110
  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>;
112
111
  }, undefined>;
113
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
114
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
112
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
113
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
115
114
  readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
116
115
  }, undefined>;
117
116
  }, undefined>], undefined>, undefined>;
@@ -125,7 +124,7 @@ export declare const sync: {
125
124
  readonly order: import("valibot").StringSchema<undefined>;
126
125
  readonly version: import("valibot").NumberSchema<undefined>;
127
126
  }, undefined>, undefined>;
128
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
127
+ }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
129
128
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
130
129
  readonly status: import("valibot").LiteralSchema<400, undefined>;
131
130
  }, undefined>, import("valibot").ObjectSchema<{
@@ -149,8 +148,8 @@ export declare const sync: {
149
148
  readonly key: import("valibot").StringSchema<undefined>;
150
149
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
151
150
  readonly value: import("valibot").ObjectSchema<{
152
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
153
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
151
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
152
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
154
153
  readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
155
154
  readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
156
155
  readonly emailAddresses: 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>;
@@ -167,7 +166,7 @@ export declare const sync: {
167
166
  readonly emailAddresses: 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>;
168
167
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
169
168
  }, undefined>;
170
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
169
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
171
170
  readonly labelIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
172
171
  readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
173
172
  readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -188,7 +187,7 @@ export declare const sync: {
188
187
  user: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/user", import("valibot").ObjectSchema<{
189
188
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
190
189
  readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
191
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
190
+ }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
192
191
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
193
192
  readonly status: import("valibot").LiteralSchema<400, undefined>;
194
193
  }, undefined>, import("valibot").ObjectSchema<{
@@ -207,7 +206,7 @@ export declare const sync: {
207
206
  readonly key: import("valibot").StringSchema<undefined>;
208
207
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
209
208
  readonly value: import("valibot").ObjectSchema<{
210
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
209
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
211
210
  readonly settings: import("valibot").ObjectSchema<{
212
211
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
213
212
  readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
@@ -223,7 +222,7 @@ export declare const sync: {
223
222
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
224
223
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
225
224
  readonly args: import("valibot").ObjectSchema<{
226
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
225
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
227
226
  readonly imapPasswordConfig: import("valibot").ObjectSchema<{
228
227
  readonly status: import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>;
229
228
  readonly host: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
@@ -238,21 +237,21 @@ export declare const sync: {
238
237
  readonly args: import("valibot").ObjectSchema<{
239
238
  readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
240
239
  readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
241
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
240
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
242
241
  }, undefined>;
243
242
  readonly clientID: import("valibot").StringSchema<undefined>;
244
243
  readonly id: import("valibot").NumberSchema<undefined>;
245
244
  readonly name: import("valibot").LiteralSchema<"add", undefined>;
246
245
  }, undefined>, import("valibot").ObjectSchema<{
247
246
  readonly args: import("valibot").ObjectSchema<{
248
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
247
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
249
248
  }, undefined>;
250
249
  readonly clientID: import("valibot").StringSchema<undefined>;
251
250
  readonly id: import("valibot").NumberSchema<undefined>;
252
251
  readonly name: import("valibot").LiteralSchema<"delete", undefined>;
253
252
  }, undefined>, import("valibot").ObjectSchema<{
254
253
  readonly args: import("valibot").ObjectSchema<{
255
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
254
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
256
255
  readonly settings: Omit<import("valibot").ObjectSchema<{
257
256
  readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
258
257
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
@@ -263,7 +262,7 @@ export declare const sync: {
263
262
  readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
264
263
  readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
265
264
  };
266
- readonly '~standard': import("valibot").StandardSchemaProps<{
265
+ readonly '~standard': import("valibot").StandardProps<{
267
266
  color?: string | undefined;
268
267
  firstName?: string | null | undefined;
269
268
  lastName?: string | null | undefined;
@@ -296,7 +295,7 @@ export declare const sync: {
296
295
  readonly id: import("valibot").NumberSchema<undefined>;
297
296
  readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
298
297
  }, undefined>], undefined>, undefined>;
299
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
298
+ }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
300
299
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
301
300
  readonly status: import("valibot").LiteralSchema<400, undefined>;
302
301
  }, undefined>, import("valibot").ObjectSchema<{
@@ -309,96 +308,29 @@ export declare const sync: {
309
308
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
310
309
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
311
310
  readonly args: import("valibot").ObjectSchema<{
312
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
311
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
313
312
  }, undefined>;
314
313
  readonly clientID: import("valibot").StringSchema<undefined>;
315
314
  readonly id: import("valibot").NumberSchema<undefined>;
316
315
  readonly name: import("valibot").LiteralSchema<"delete", undefined>;
317
- }, undefined>, import("valibot").ObjectSchema<{
318
- readonly args: import("valibot").ObjectSchema<{
319
- readonly body: Omit<import("valibot").ObjectSchema<{
320
- readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
321
- readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
322
- readonly content: import("valibot").UnknownSchema;
323
- readonly replyTo: 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>;
324
- readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
325
- 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>;
326
- }, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
327
- readonly entries: {
328
- readonly bcc: import("valibot").OptionalSchema<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>, undefined>;
329
- readonly cc: import("valibot").OptionalSchema<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>, undefined>;
330
- readonly content: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
331
- readonly replyTo: import("valibot").OptionalSchema<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>, undefined>;
332
- readonly subject: import("valibot").OptionalSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
333
- readonly to: import("valibot").OptionalSchema<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>, undefined>;
334
- };
335
- readonly '~standard': import("valibot").StandardSchemaProps<{
336
- bcc?: string[] | undefined;
337
- cc?: string[] | undefined;
338
- replyTo?: string[] | undefined;
339
- to?: string[] | undefined;
340
- content?: unknown;
341
- subject?: string | undefined;
342
- }, {
343
- bcc?: string[] | undefined;
344
- cc?: string[] | undefined;
345
- replyTo?: string[] | undefined;
346
- to?: string[] | undefined;
347
- content?: unknown;
348
- subject?: string | undefined;
349
- }>;
350
- readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
351
- bcc?: string[] | undefined;
352
- cc?: string[] | undefined;
353
- replyTo?: string[] | undefined;
354
- to?: string[] | undefined;
355
- content?: unknown;
356
- subject?: string | undefined;
357
- }, import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue>;
358
- readonly '~types'?: {
359
- readonly input: {
360
- bcc?: string[] | undefined;
361
- cc?: string[] | undefined;
362
- replyTo?: string[] | undefined;
363
- to?: string[] | undefined;
364
- content?: unknown;
365
- subject?: string | undefined;
366
- };
367
- readonly output: {
368
- bcc?: string[] | undefined;
369
- cc?: string[] | undefined;
370
- replyTo?: string[] | undefined;
371
- to?: string[] | undefined;
372
- content?: unknown;
373
- subject?: string | undefined;
374
- };
375
- readonly issue: import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue;
376
- } | undefined;
377
- };
378
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
379
- }, undefined>;
380
- readonly clientID: import("valibot").StringSchema<undefined>;
381
- readonly id: import("valibot").NumberSchema<undefined>;
382
- readonly name: import("valibot").LiteralSchema<"update", undefined>;
383
316
  }, undefined>, import("valibot").ObjectSchema<{
384
317
  readonly args: import("valibot").ObjectSchema<{
385
318
  readonly body: import("valibot").ObjectSchema<{
386
319
  readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
387
320
  readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
388
- readonly content: import("valibot").UnknownSchema;
389
- readonly replyTo: 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>;
321
+ readonly content: import("valibot").GenericSchema<import("../../../..").JSONContent>;
390
322
  readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
391
323
  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>;
392
324
  }, undefined>;
393
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
394
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
325
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
326
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
395
327
  readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
396
328
  }, undefined>;
397
329
  readonly clientID: import("valibot").StringSchema<undefined>;
398
330
  readonly id: import("valibot").NumberSchema<undefined>;
399
- readonly name: import("valibot").LiteralSchema<"create", undefined>;
331
+ readonly name: import("valibot").LiteralSchema<"update", undefined>;
400
332
  }, undefined>], undefined>, undefined>;
401
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
333
+ }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
402
334
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
403
335
  readonly status: import("valibot").LiteralSchema<400, undefined>;
404
336
  }, undefined>, import("valibot").ObjectSchema<{
@@ -411,15 +343,15 @@ export declare const sync: {
411
343
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
412
344
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
413
345
  readonly args: import("valibot").ObjectSchema<{
414
- readonly messageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
346
+ readonly messageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
415
347
  readonly seen: import("valibot").BooleanSchema<undefined>;
416
- readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
348
+ readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
417
349
  }, undefined>;
418
350
  readonly clientID: import("valibot").StringSchema<undefined>;
419
351
  readonly id: import("valibot").NumberSchema<undefined>;
420
352
  readonly name: import("valibot").LiteralSchema<"setMessageSeen", undefined>;
421
353
  }, undefined>], undefined>, undefined>;
422
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
354
+ }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
423
355
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
424
356
  readonly status: import("valibot").LiteralSchema<400, undefined>;
425
357
  }, undefined>, import("valibot").ObjectSchema<{
@@ -435,7 +367,7 @@ export declare const sync: {
435
367
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
436
368
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
437
369
  readonly args: import("valibot").ObjectSchema<{
438
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
370
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
439
371
  readonly settings: Omit<import("valibot").ObjectSchema<{
440
372
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
441
373
  readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
@@ -444,7 +376,7 @@ export declare const sync: {
444
376
  readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
445
377
  readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
446
378
  };
447
- readonly '~standard': import("valibot").StandardSchemaProps<{
379
+ readonly '~standard': import("valibot").StandardProps<{
448
380
  firstName?: string | null | undefined;
449
381
  lastName?: string | null | undefined;
450
382
  }, {
@@ -472,7 +404,7 @@ export declare const sync: {
472
404
  readonly id: import("valibot").NumberSchema<undefined>;
473
405
  readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
474
406
  }, undefined>], undefined>, undefined>;
475
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
407
+ }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
476
408
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
477
409
  readonly status: import("valibot").LiteralSchema<400, undefined>;
478
410
  }, undefined>, import("valibot").ObjectSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
@@ -2,7 +2,7 @@ import * as v from 'valibot';
2
2
  export declare const syncPullAccount: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/account", v.ObjectSchema<{
3
3
  readonly clientGroupID: v.StringSchema<undefined>;
4
4
  readonly cookie: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
5
- }, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
5
+ }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
6
6
  readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
7
7
  readonly status: v.LiteralSchema<400, undefined>;
8
8
  }, undefined>, v.ObjectSchema<{
@@ -22,7 +22,7 @@ export declare const syncPullAccount: import("../../../../..").EndpointConfig<"/
22
22
  readonly op: v.LiteralSchema<"put", undefined>;
23
23
  readonly value: v.ObjectSchema<{
24
24
  readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
25
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
25
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
26
26
  readonly imapPasswordConfig: v.NullableSchema<v.ObjectSchema<{
27
27
  readonly host: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
28
28
  readonly password: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
@@ -30,7 +30,7 @@ export declare const syncPullAccount: import("../../../../..").EndpointConfig<"/
30
30
  readonly status: v.UnionSchema<[v.LiteralSchema<"AWAITING_CONNECTION", undefined>, v.LiteralSchema<"CONNECTED", undefined>, v.LiteralSchema<"CONNECTION_FAILED", undefined>], undefined>;
31
31
  }, undefined>, undefined>;
32
32
  readonly labels: v.ArraySchema<v.ObjectSchema<{
33
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
33
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
34
34
  readonly name: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
35
35
  readonly path: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
36
36
  readonly specialUse: v.NullableSchema<v.UnionSchema<[v.LiteralSchema<"ARCHIVE", undefined>, v.LiteralSchema<"INBOX", undefined>, v.LiteralSchema<"SENT", undefined>, v.LiteralSchema<"SPAM", undefined>, v.LiteralSchema<"TRASH", undefined>], undefined>, undefined>;
@@ -2,7 +2,7 @@ import * as v from 'valibot';
2
2
  export declare const syncPullContact: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/contact", v.ObjectSchema<{
3
3
  readonly clientGroupID: v.StringSchema<undefined>;
4
4
  readonly cookie: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
5
- }, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
5
+ }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
6
6
  readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
7
7
  readonly status: v.LiteralSchema<400, undefined>;
8
8
  }, undefined>, v.ObjectSchema<{
@@ -21,7 +21,7 @@ export declare const syncPullContact: import("../../../../..").EndpointConfig<"/
21
21
  readonly key: v.StringSchema<undefined>;
22
22
  readonly op: v.LiteralSchema<"put", undefined>;
23
23
  readonly value: v.ObjectSchema<{
24
- readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
24
+ readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
25
25
  readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
26
26
  readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
27
27
  }, undefined>;
@@ -2,7 +2,7 @@ import * as v from 'valibot';
2
2
  export declare const syncPullDraft: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/draft", v.ObjectSchema<{
3
3
  readonly clientGroupID: v.StringSchema<undefined>;
4
4
  readonly cookie: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
5
- }, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
5
+ }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
6
6
  readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
7
7
  readonly status: v.LiteralSchema<400, undefined>;
8
8
  }, undefined>, v.ObjectSchema<{
@@ -24,13 +24,12 @@ export declare const syncPullDraft: import("../../../../..").EndpointConfig<"/v1
24
24
  readonly body: v.ObjectSchema<{
25
25
  readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
26
26
  readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
27
- readonly content: v.UnknownSchema;
28
- readonly replyTo: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
27
+ readonly content: v.GenericSchema<import("../../../../..").JSONContent>;
29
28
  readonly subject: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
30
29
  readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
31
30
  }, undefined>;
32
- readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
33
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
31
+ readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
32
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
34
33
  readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
35
34
  }, undefined>;
36
35
  }, undefined>], undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwBxB,CAAA"}
1
+ {"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwBxB,CAAA"}