@marcoappio/marco-config 2.0.163 → 2.0.165

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 (59) 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 -132
  6. package/dist/clients/draft.d.ts.map +1 -1
  7. package/dist/clients/draft.js +24 -33
  8. package/dist/clients/index.d.ts +27 -148
  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 -162
  20. package/dist/sdk/endpoints/index.d.ts.map +1 -1
  21. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageHTML.d.ts +1 -1
  22. package/dist/sdk/endpoints/private/emailMessage/index.d.ts +1 -1
  23. package/dist/sdk/endpoints/private/index.d.ts +35 -158
  24. package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
  25. package/dist/sdk/endpoints/private/sync/index.d.ts +33 -156
  26. package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
  27. package/dist/sdk/endpoints/private/sync/pull/account.d.ts +3 -3
  28. package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +2 -2
  29. package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +4 -10
  30. package/dist/sdk/endpoints/private/sync/pull/draft.d.ts.map +1 -1
  31. package/dist/sdk/endpoints/private/sync/pull/index.d.ts +15 -21
  32. package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
  33. package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +4 -4
  34. package/dist/sdk/endpoints/private/sync/pull/user.d.ts +2 -2
  35. package/dist/sdk/endpoints/private/sync/push/account.d.ts +6 -6
  36. package/dist/sdk/endpoints/private/sync/push/draft.d.ts +6 -123
  37. package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
  38. package/dist/sdk/endpoints/private/sync/push/draft.js +2 -8
  39. package/dist/sdk/endpoints/private/sync/push/index.d.ts +18 -135
  40. package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
  41. package/dist/sdk/endpoints/private/sync/push/thread.d.ts +3 -3
  42. package/dist/sdk/endpoints/private/sync/push/user.d.ts +3 -3
  43. package/dist/sdk/endpoints/private/user/deleteUser.d.ts +1 -1
  44. package/dist/sdk/endpoints/private/user/index.d.ts +1 -1
  45. package/dist/sdk/endpoints/public/auth/index.d.ts +3 -3
  46. package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +1 -1
  47. package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +1 -1
  48. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +1 -1
  49. package/dist/sdk/endpoints/public/healthcheck/index.d.ts +1 -1
  50. package/dist/sdk/endpoints/public/index.d.ts +4 -4
  51. package/dist/sdk/index.d.ts +39 -162
  52. package/dist/sdk/index.d.ts.map +1 -1
  53. package/dist/types/JSONContent.d.ts +11 -0
  54. package/dist/types/JSONContent.d.ts.map +1 -0
  55. package/dist/types/JSONContent.js +1 -0
  56. package/dist/types/index.d.ts +1 -0
  57. package/dist/types/index.d.ts.map +1 -1
  58. package/dist/types/index.js +1 -0
  59. package/package.json +2 -2
@@ -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,18 +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").ObjectSchema<{
109
- readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
110
- readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
111
- }, undefined>, undefined>;
112
- readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
113
- }, undefined>;
114
- 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>;
115
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>;
116
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>;
117
111
  }, undefined>;
118
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
119
- 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>;
120
114
  readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
121
115
  }, undefined>;
122
116
  }, undefined>], undefined>, undefined>;
@@ -130,7 +124,7 @@ export declare const sync: {
130
124
  readonly order: import("valibot").StringSchema<undefined>;
131
125
  readonly version: import("valibot").NumberSchema<undefined>;
132
126
  }, undefined>, undefined>;
133
- }, 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<{
134
128
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
135
129
  readonly status: import("valibot").LiteralSchema<400, undefined>;
136
130
  }, undefined>, import("valibot").ObjectSchema<{
@@ -154,8 +148,8 @@ export declare const sync: {
154
148
  readonly key: import("valibot").StringSchema<undefined>;
155
149
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
156
150
  readonly value: import("valibot").ObjectSchema<{
157
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
158
- 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>;
159
153
  readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
160
154
  readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
161
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>;
@@ -172,7 +166,7 @@ export declare const sync: {
172
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>;
173
167
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
174
168
  }, undefined>;
175
- 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>;
176
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>;
177
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>;
178
172
  readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -193,7 +187,7 @@ export declare const sync: {
193
187
  user: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/user", import("valibot").ObjectSchema<{
194
188
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
195
189
  readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
196
- }, 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<{
197
191
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
198
192
  readonly status: import("valibot").LiteralSchema<400, undefined>;
199
193
  }, undefined>, import("valibot").ObjectSchema<{
@@ -212,7 +206,7 @@ export declare const sync: {
212
206
  readonly key: import("valibot").StringSchema<undefined>;
213
207
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
214
208
  readonly value: import("valibot").ObjectSchema<{
215
- 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>;
216
210
  readonly settings: import("valibot").ObjectSchema<{
217
211
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
218
212
  readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
@@ -228,7 +222,7 @@ export declare const sync: {
228
222
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
229
223
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
230
224
  readonly args: import("valibot").ObjectSchema<{
231
- 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>;
232
226
  readonly imapPasswordConfig: import("valibot").ObjectSchema<{
233
227
  readonly status: import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>;
234
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>;
@@ -243,21 +237,21 @@ export declare const sync: {
243
237
  readonly args: import("valibot").ObjectSchema<{
244
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>;
245
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>;
246
- 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>;
247
241
  }, undefined>;
248
242
  readonly clientID: import("valibot").StringSchema<undefined>;
249
243
  readonly id: import("valibot").NumberSchema<undefined>;
250
244
  readonly name: import("valibot").LiteralSchema<"add", undefined>;
251
245
  }, undefined>, import("valibot").ObjectSchema<{
252
246
  readonly args: import("valibot").ObjectSchema<{
253
- 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>;
254
248
  }, undefined>;
255
249
  readonly clientID: import("valibot").StringSchema<undefined>;
256
250
  readonly id: import("valibot").NumberSchema<undefined>;
257
251
  readonly name: import("valibot").LiteralSchema<"delete", undefined>;
258
252
  }, undefined>, import("valibot").ObjectSchema<{
259
253
  readonly args: import("valibot").ObjectSchema<{
260
- 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>;
261
255
  readonly settings: Omit<import("valibot").ObjectSchema<{
262
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>;
263
257
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
@@ -268,7 +262,7 @@ export declare const sync: {
268
262
  readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
269
263
  readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
270
264
  };
271
- readonly '~standard': import("valibot").StandardSchemaProps<{
265
+ readonly '~standard': import("valibot").StandardProps<{
272
266
  color?: string | undefined;
273
267
  firstName?: string | null | undefined;
274
268
  lastName?: string | null | undefined;
@@ -301,7 +295,7 @@ export declare const sync: {
301
295
  readonly id: import("valibot").NumberSchema<undefined>;
302
296
  readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
303
297
  }, undefined>], undefined>, undefined>;
304
- }, 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<{
305
299
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
306
300
  readonly status: import("valibot").LiteralSchema<400, undefined>;
307
301
  }, undefined>, import("valibot").ObjectSchema<{
@@ -314,146 +308,29 @@ export declare const sync: {
314
308
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
315
309
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
316
310
  readonly args: import("valibot").ObjectSchema<{
317
- 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>;
318
312
  }, undefined>;
319
313
  readonly clientID: import("valibot").StringSchema<undefined>;
320
314
  readonly id: import("valibot").NumberSchema<undefined>;
321
315
  readonly name: import("valibot").LiteralSchema<"delete", undefined>;
322
- }, undefined>, import("valibot").ObjectSchema<{
323
- readonly args: import("valibot").ObjectSchema<{
324
- readonly body: Omit<import("valibot").ObjectSchema<{
325
- 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>;
326
- 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>;
327
- readonly content: import("valibot").ObjectSchema<{
328
- readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
329
- readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
330
- }, undefined>, undefined>;
331
- readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
332
- }, undefined>;
333
- 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>;
334
- readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
335
- 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>;
336
- }, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
337
- readonly entries: {
338
- 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>;
339
- 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>;
340
- readonly content: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
341
- readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
342
- readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
343
- }, undefined>, undefined>;
344
- readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
345
- }, undefined>, undefined>;
346
- 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>;
347
- 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>;
348
- 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>;
349
- };
350
- readonly '~standard': import("valibot").StandardSchemaProps<{
351
- bcc?: string[] | undefined;
352
- cc?: string[] | undefined;
353
- content?: {
354
- type: "doc";
355
- content: ({
356
- type: string;
357
- } & {
358
- [key: string]: unknown;
359
- })[];
360
- } | undefined;
361
- replyTo?: string[] | undefined;
362
- to?: string[] | undefined;
363
- subject?: string | undefined;
364
- }, {
365
- bcc?: string[] | undefined;
366
- cc?: string[] | undefined;
367
- content?: {
368
- type: "doc";
369
- content: ({
370
- type: string;
371
- } & {
372
- [key: string]: unknown;
373
- })[];
374
- } | undefined;
375
- replyTo?: string[] | undefined;
376
- to?: string[] | undefined;
377
- subject?: string | undefined;
378
- }>;
379
- readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
380
- bcc?: string[] | undefined;
381
- cc?: string[] | undefined;
382
- content?: {
383
- type: "doc";
384
- content: ({
385
- type: string;
386
- } & {
387
- [key: string]: unknown;
388
- })[];
389
- } | undefined;
390
- replyTo?: string[] | undefined;
391
- to?: string[] | undefined;
392
- subject?: string | undefined;
393
- }, import("valibot").LiteralIssue | import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").UnionIssue<import("valibot").LiteralIssue> | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue | import("valibot").LooseObjectIssue>;
394
- readonly '~types'?: {
395
- readonly input: {
396
- bcc?: string[] | undefined;
397
- cc?: string[] | undefined;
398
- content?: {
399
- type: "doc";
400
- content: ({
401
- type: string;
402
- } & {
403
- [key: string]: unknown;
404
- })[];
405
- } | undefined;
406
- replyTo?: string[] | undefined;
407
- to?: string[] | undefined;
408
- subject?: string | undefined;
409
- };
410
- readonly output: {
411
- bcc?: string[] | undefined;
412
- cc?: string[] | undefined;
413
- content?: {
414
- type: "doc";
415
- content: ({
416
- type: string;
417
- } & {
418
- [key: string]: unknown;
419
- })[];
420
- } | undefined;
421
- replyTo?: string[] | undefined;
422
- to?: string[] | undefined;
423
- subject?: string | undefined;
424
- };
425
- readonly issue: import("valibot").LiteralIssue | import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").UnionIssue<import("valibot").LiteralIssue> | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue | import("valibot").LooseObjectIssue;
426
- } | undefined;
427
- };
428
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
429
- }, undefined>;
430
- readonly clientID: import("valibot").StringSchema<undefined>;
431
- readonly id: import("valibot").NumberSchema<undefined>;
432
- readonly name: import("valibot").LiteralSchema<"update", undefined>;
433
316
  }, undefined>, import("valibot").ObjectSchema<{
434
317
  readonly args: import("valibot").ObjectSchema<{
435
318
  readonly body: import("valibot").ObjectSchema<{
436
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>;
437
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>;
438
- readonly content: import("valibot").ObjectSchema<{
439
- readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
440
- readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
441
- }, undefined>, undefined>;
442
- readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
443
- }, undefined>;
444
- 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>;
445
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>;
446
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>;
447
324
  }, undefined>;
448
- readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
449
- 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>;
450
327
  readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
451
328
  }, undefined>;
452
329
  readonly clientID: import("valibot").StringSchema<undefined>;
453
330
  readonly id: import("valibot").NumberSchema<undefined>;
454
- readonly name: import("valibot").LiteralSchema<"create", undefined>;
331
+ readonly name: import("valibot").LiteralSchema<"upsert", undefined>;
455
332
  }, undefined>], undefined>, undefined>;
456
- }, 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<{
457
334
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
458
335
  readonly status: import("valibot").LiteralSchema<400, undefined>;
459
336
  }, undefined>, import("valibot").ObjectSchema<{
@@ -466,15 +343,15 @@ export declare const sync: {
466
343
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
467
344
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
468
345
  readonly args: import("valibot").ObjectSchema<{
469
- 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>;
470
347
  readonly seen: import("valibot").BooleanSchema<undefined>;
471
- 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>;
472
349
  }, undefined>;
473
350
  readonly clientID: import("valibot").StringSchema<undefined>;
474
351
  readonly id: import("valibot").NumberSchema<undefined>;
475
352
  readonly name: import("valibot").LiteralSchema<"setMessageSeen", undefined>;
476
353
  }, undefined>], undefined>, undefined>;
477
- }, 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<{
478
355
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
479
356
  readonly status: import("valibot").LiteralSchema<400, undefined>;
480
357
  }, undefined>, import("valibot").ObjectSchema<{
@@ -490,7 +367,7 @@ export declare const sync: {
490
367
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
491
368
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
492
369
  readonly args: import("valibot").ObjectSchema<{
493
- 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>;
494
371
  readonly settings: Omit<import("valibot").ObjectSchema<{
495
372
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
496
373
  readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
@@ -499,7 +376,7 @@ export declare const sync: {
499
376
  readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
500
377
  readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
501
378
  };
502
- readonly '~standard': import("valibot").StandardSchemaProps<{
379
+ readonly '~standard': import("valibot").StandardProps<{
503
380
  firstName?: string | null | undefined;
504
381
  lastName?: string | null | undefined;
505
382
  }, {
@@ -527,7 +404,7 @@ export declare const sync: {
527
404
  readonly id: import("valibot").NumberSchema<undefined>;
528
405
  readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
529
406
  }, undefined>], undefined>, undefined>;
530
- }, 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<{
531
408
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
532
409
  readonly status: import("valibot").LiteralSchema<400, undefined>;
533
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,18 +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.ObjectSchema<{
28
- readonly content: v.ArraySchema<v.LooseObjectSchema<{
29
- readonly type: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
30
- }, undefined>, undefined>;
31
- readonly type: v.UnionSchema<[v.LiteralSchema<"doc", undefined>], undefined>;
32
- }, undefined>;
33
- 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>;
34
28
  readonly subject: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
35
29
  readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
36
30
  }, undefined>;
37
- readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
38
- 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>;
39
33
  readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
40
34
  }, undefined>;
41
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"}