@marcoappio/marco-config 2.0.159 → 2.0.161

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 (34) hide show
  1. package/dist/clients/draft.d.ts +107 -0
  2. package/dist/clients/draft.d.ts.map +1 -0
  3. package/dist/clients/draft.js +43 -0
  4. package/dist/clients/index.d.ts +105 -0
  5. package/dist/clients/index.d.ts.map +1 -1
  6. package/dist/clients/index.js +2 -0
  7. package/dist/sdk/endpoints/index.d.ts +151 -0
  8. package/dist/sdk/endpoints/index.d.ts.map +1 -1
  9. package/dist/sdk/endpoints/private/email-message/email-message-html-get.d.ts +11 -0
  10. package/dist/sdk/endpoints/private/email-message/email-message-html-get.d.ts.map +1 -0
  11. package/dist/sdk/endpoints/private/email-message/email-message-html-get.js +14 -0
  12. package/dist/sdk/endpoints/private/email-message/index.d.ts +12 -0
  13. package/dist/sdk/endpoints/private/email-message/index.d.ts.map +1 -0
  14. package/dist/sdk/endpoints/private/email-message/index.js +4 -0
  15. package/dist/sdk/endpoints/private/index.d.ts +151 -0
  16. package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
  17. package/dist/sdk/endpoints/private/index.js +2 -0
  18. package/dist/sdk/endpoints/private/sync/index.d.ts +140 -0
  19. package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
  20. package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +40 -0
  21. package/dist/sdk/endpoints/private/sync/pull/draft.d.ts.map +1 -0
  22. package/dist/sdk/endpoints/private/sync/pull/draft.js +28 -0
  23. package/dist/sdk/endpoints/private/sync/pull/index.d.ts +38 -0
  24. package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
  25. package/dist/sdk/endpoints/private/sync/pull/index.js +2 -1
  26. package/dist/sdk/endpoints/private/sync/push/draft.d.ts +104 -0
  27. package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -0
  28. package/dist/sdk/endpoints/private/sync/push/draft.js +36 -0
  29. package/dist/sdk/endpoints/private/sync/push/index.d.ts +102 -0
  30. package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
  31. package/dist/sdk/endpoints/private/sync/push/index.js +2 -1
  32. package/dist/sdk/index.d.ts +151 -0
  33. package/dist/sdk/index.d.ts.map +1 -1
  34. package/package.json +1 -1
@@ -1,4 +1,15 @@
1
1
  export declare const privateGroup: {
2
+ emailMessage: {
3
+ htmlGet: import("../../..").EndpointConfig<"/v1/pv/message/:messageId/html", import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
4
+ readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
5
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
6
+ }, undefined>, import("valibot").ObjectSchema<{
7
+ readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
8
+ readonly status: import("valibot").LiteralSchema<404, undefined>;
9
+ }, undefined>, import("valibot").ObjectSchema<{
10
+ readonly status: import("valibot").LiteralSchema<204, undefined>;
11
+ }, undefined>], undefined>>;
12
+ };
2
13
  sync: {
3
14
  pull: {
4
15
  account: import("../../..").EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
@@ -81,6 +92,44 @@ export declare const privateGroup: {
81
92
  }, undefined>;
82
93
  readonly status: import("valibot").LiteralSchema<200, undefined>;
83
94
  }, undefined>], undefined>>;
95
+ draft: import("../../..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
96
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
97
+ readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
98
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
99
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
100
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
101
+ }, undefined>, import("valibot").ObjectSchema<{
102
+ readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
103
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
104
+ }, undefined>, import("valibot").ObjectSchema<{
105
+ readonly data: import("valibot").ObjectSchema<{
106
+ readonly cookie: import("valibot").NumberSchema<undefined>;
107
+ readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
108
+ readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
109
+ readonly op: import("valibot").LiteralSchema<"clear", undefined>;
110
+ }, undefined>, import("valibot").ObjectSchema<{
111
+ readonly key: import("valibot").StringSchema<undefined>;
112
+ readonly op: import("valibot").LiteralSchema<"del", undefined>;
113
+ }, undefined>, import("valibot").ObjectSchema<{
114
+ readonly key: import("valibot").StringSchema<undefined>;
115
+ readonly op: import("valibot").LiteralSchema<"put", undefined>;
116
+ readonly value: import("valibot").ObjectSchema<{
117
+ readonly body: import("valibot").ObjectSchema<{
118
+ 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>;
119
+ 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>;
120
+ readonly content: import("valibot").UnknownSchema;
121
+ 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>;
122
+ readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
123
+ 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>;
124
+ }, undefined>;
125
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
126
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
127
+ readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
128
+ }, undefined>;
129
+ }, undefined>], undefined>, undefined>;
130
+ }, undefined>;
131
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
132
+ }, undefined>], undefined>>;
84
133
  thread: import("../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
85
134
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
86
135
  readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
@@ -268,6 +317,108 @@ export declare const privateGroup: {
268
317
  }, undefined>, import("valibot").ObjectSchema<{
269
318
  readonly status: import("valibot").LiteralSchema<200, undefined>;
270
319
  }, undefined>], undefined>>;
320
+ draft: import("../../..").EndpointConfig<"/v1/pv/sync/push/draft", import("valibot").ObjectSchema<{
321
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
322
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
323
+ readonly args: import("valibot").ObjectSchema<{
324
+ 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
+ }, undefined>;
326
+ readonly clientID: import("valibot").StringSchema<undefined>;
327
+ readonly id: import("valibot").NumberSchema<undefined>;
328
+ readonly name: import("valibot").LiteralSchema<"delete", undefined>;
329
+ }, undefined>, import("valibot").ObjectSchema<{
330
+ readonly args: import("valibot").ObjectSchema<{
331
+ readonly body: Omit<import("valibot").ObjectSchema<{
332
+ 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>;
333
+ 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>;
334
+ readonly content: import("valibot").UnknownSchema;
335
+ 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>;
336
+ readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
337
+ 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>;
338
+ }, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
339
+ readonly entries: {
340
+ 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>;
341
+ 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>;
342
+ readonly content: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
343
+ 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>;
344
+ 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>;
345
+ 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>;
346
+ };
347
+ readonly '~standard': import("valibot").StandardSchemaProps<{
348
+ bcc?: string[] | undefined;
349
+ cc?: string[] | undefined;
350
+ replyTo?: string[] | undefined;
351
+ to?: string[] | undefined;
352
+ content?: unknown;
353
+ subject?: string | undefined;
354
+ }, {
355
+ bcc?: string[] | undefined;
356
+ cc?: string[] | undefined;
357
+ replyTo?: string[] | undefined;
358
+ to?: string[] | undefined;
359
+ content?: unknown;
360
+ subject?: string | undefined;
361
+ }>;
362
+ readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
363
+ bcc?: string[] | undefined;
364
+ cc?: string[] | undefined;
365
+ replyTo?: string[] | undefined;
366
+ to?: string[] | undefined;
367
+ content?: unknown;
368
+ subject?: string | undefined;
369
+ }, 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>;
370
+ readonly '~types'?: {
371
+ readonly input: {
372
+ bcc?: string[] | undefined;
373
+ cc?: string[] | undefined;
374
+ replyTo?: string[] | undefined;
375
+ to?: string[] | undefined;
376
+ content?: unknown;
377
+ subject?: string | undefined;
378
+ };
379
+ readonly output: {
380
+ bcc?: string[] | undefined;
381
+ cc?: string[] | undefined;
382
+ replyTo?: string[] | undefined;
383
+ to?: string[] | undefined;
384
+ content?: unknown;
385
+ subject?: string | undefined;
386
+ };
387
+ 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;
388
+ } | undefined;
389
+ };
390
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
391
+ }, undefined>;
392
+ readonly clientID: import("valibot").StringSchema<undefined>;
393
+ readonly id: import("valibot").NumberSchema<undefined>;
394
+ readonly name: import("valibot").LiteralSchema<"update", undefined>;
395
+ }, undefined>, import("valibot").ObjectSchema<{
396
+ readonly args: import("valibot").ObjectSchema<{
397
+ readonly body: import("valibot").ObjectSchema<{
398
+ 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>;
399
+ 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>;
400
+ readonly content: import("valibot").UnknownSchema;
401
+ 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>;
402
+ readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
403
+ 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>;
404
+ }, undefined>;
405
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
406
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
407
+ readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
408
+ }, undefined>;
409
+ readonly clientID: import("valibot").StringSchema<undefined>;
410
+ readonly id: import("valibot").NumberSchema<undefined>;
411
+ readonly name: import("valibot").LiteralSchema<"create", undefined>;
412
+ }, undefined>], undefined>, undefined>;
413
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
414
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
415
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
416
+ }, undefined>, import("valibot").ObjectSchema<{
417
+ readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
418
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
419
+ }, undefined>, import("valibot").ObjectSchema<{
420
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
421
+ }, undefined>], undefined>>;
271
422
  thread: import("../../..").EndpointConfig<"/v1/pv/sync/push/thread", import("valibot").ObjectSchema<{
272
423
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
273
424
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGxB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAA"}
@@ -1,6 +1,8 @@
1
+ import { emailMessage } from './email-message';
1
2
  import { sync } from './sync';
2
3
  import { user } from './user';
3
4
  export const privateGroup = {
5
+ emailMessage,
4
6
  sync,
5
7
  user,
6
8
  };
@@ -80,6 +80,44 @@ export declare const sync: {
80
80
  }, undefined>;
81
81
  readonly status: import("valibot").LiteralSchema<200, undefined>;
82
82
  }, undefined>], undefined>>;
83
+ draft: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
84
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
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<{
87
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
88
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
89
+ }, undefined>, import("valibot").ObjectSchema<{
90
+ readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
91
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
92
+ }, undefined>, import("valibot").ObjectSchema<{
93
+ readonly data: import("valibot").ObjectSchema<{
94
+ readonly cookie: import("valibot").NumberSchema<undefined>;
95
+ readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
96
+ readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
97
+ readonly op: import("valibot").LiteralSchema<"clear", undefined>;
98
+ }, undefined>, import("valibot").ObjectSchema<{
99
+ readonly key: import("valibot").StringSchema<undefined>;
100
+ readonly op: import("valibot").LiteralSchema<"del", undefined>;
101
+ }, undefined>, import("valibot").ObjectSchema<{
102
+ readonly key: import("valibot").StringSchema<undefined>;
103
+ readonly op: import("valibot").LiteralSchema<"put", undefined>;
104
+ readonly value: import("valibot").ObjectSchema<{
105
+ readonly body: import("valibot").ObjectSchema<{
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
+ 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>;
110
+ 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
+ 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
+ }, 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>;
115
+ readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
116
+ }, undefined>;
117
+ }, undefined>], undefined>, undefined>;
118
+ }, undefined>;
119
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
120
+ }, undefined>], undefined>>;
83
121
  thread: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
84
122
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
85
123
  readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
@@ -267,6 +305,108 @@ export declare const sync: {
267
305
  }, undefined>, import("valibot").ObjectSchema<{
268
306
  readonly status: import("valibot").LiteralSchema<200, undefined>;
269
307
  }, undefined>], undefined>>;
308
+ draft: import("../../../..").EndpointConfig<"/v1/pv/sync/push/draft", import("valibot").ObjectSchema<{
309
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
310
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
311
+ 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>;
313
+ }, undefined>;
314
+ readonly clientID: import("valibot").StringSchema<undefined>;
315
+ readonly id: import("valibot").NumberSchema<undefined>;
316
+ 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
+ }, undefined>, import("valibot").ObjectSchema<{
384
+ readonly args: import("valibot").ObjectSchema<{
385
+ readonly body: import("valibot").ObjectSchema<{
386
+ 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
+ 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>;
390
+ 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
+ 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
+ }, 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>;
395
+ readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
396
+ }, undefined>;
397
+ readonly clientID: import("valibot").StringSchema<undefined>;
398
+ readonly id: import("valibot").NumberSchema<undefined>;
399
+ readonly name: import("valibot").LiteralSchema<"create", undefined>;
400
+ }, undefined>], undefined>, undefined>;
401
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
402
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
403
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
404
+ }, undefined>, import("valibot").ObjectSchema<{
405
+ readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
406
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
407
+ }, undefined>, import("valibot").ObjectSchema<{
408
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
409
+ }, undefined>], undefined>>;
270
410
  thread: import("../../../..").EndpointConfig<"/v1/pv/sync/push/thread", import("valibot").ObjectSchema<{
271
411
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
272
412
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[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"}
@@ -0,0 +1,40 @@
1
+ import * as v from 'valibot';
2
+ export declare const syncPullDraft: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/draft", v.ObjectSchema<{
3
+ readonly clientGroupID: v.StringSchema<undefined>;
4
+ readonly cookie: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
5
+ }, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
6
+ readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
7
+ readonly status: v.LiteralSchema<400, undefined>;
8
+ }, undefined>, v.ObjectSchema<{
9
+ readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
10
+ readonly status: v.LiteralSchema<401, undefined>;
11
+ }, undefined>, v.ObjectSchema<{
12
+ readonly data: v.ObjectSchema<{
13
+ readonly cookie: v.NumberSchema<undefined>;
14
+ readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
15
+ readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
16
+ readonly op: v.LiteralSchema<"clear", undefined>;
17
+ }, undefined>, v.ObjectSchema<{
18
+ readonly key: v.StringSchema<undefined>;
19
+ readonly op: v.LiteralSchema<"del", undefined>;
20
+ }, undefined>, v.ObjectSchema<{
21
+ readonly key: v.StringSchema<undefined>;
22
+ readonly op: v.LiteralSchema<"put", undefined>;
23
+ readonly value: v.ObjectSchema<{
24
+ readonly body: v.ObjectSchema<{
25
+ readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
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>;
29
+ readonly subject: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
30
+ readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
31
+ }, 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>;
34
+ readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
35
+ }, undefined>;
36
+ }, undefined>], undefined>, undefined>;
37
+ }, undefined>;
38
+ readonly status: v.LiteralSchema<200, undefined>;
39
+ }, undefined>], undefined>>;
40
+ //# sourceMappingURL=draft.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,28 @@
1
+ import * as v from 'valibot';
2
+ import { draft } from '../../../../../clients/draft';
3
+ import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
4
+ import { errorManifest } from '../../../../../sdk/validation/errors';
5
+ export const syncPullDraft = createEndpoint({
6
+ body: v.object({
7
+ clientGroupID: v.string(),
8
+ cookie: v.nullable(v.number()),
9
+ }),
10
+ method: 'POST',
11
+ path: draft.pullURL,
12
+ response: v.union([
13
+ errorManifest.validationFailedErrorSchema,
14
+ errorManifest.authenticationFailedErrorSchema,
15
+ v.object({
16
+ data: v.object({
17
+ cookie: v.number(),
18
+ lastMutationIDChanges: v.record(v.string(), v.number()),
19
+ patch: v.array(v.union([
20
+ v.object({ op: v.literal('clear') }),
21
+ v.object({ key: v.string(), op: v.literal('del') }),
22
+ v.object({ key: v.string(), op: v.literal('put'), value: draft.model }),
23
+ ])),
24
+ }),
25
+ status: v.literal(200),
26
+ }),
27
+ ]),
28
+ });
@@ -79,6 +79,44 @@ export declare const pull: {
79
79
  }, undefined>;
80
80
  readonly status: import("valibot").LiteralSchema<200, undefined>;
81
81
  }, undefined>], undefined>>;
82
+ draft: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
83
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
84
+ readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
85
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
86
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
87
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
88
+ }, undefined>, import("valibot").ObjectSchema<{
89
+ readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
90
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
91
+ }, undefined>, import("valibot").ObjectSchema<{
92
+ readonly data: import("valibot").ObjectSchema<{
93
+ readonly cookie: import("valibot").NumberSchema<undefined>;
94
+ readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
95
+ readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
96
+ readonly op: import("valibot").LiteralSchema<"clear", undefined>;
97
+ }, undefined>, import("valibot").ObjectSchema<{
98
+ readonly key: import("valibot").StringSchema<undefined>;
99
+ readonly op: import("valibot").LiteralSchema<"del", undefined>;
100
+ }, undefined>, import("valibot").ObjectSchema<{
101
+ readonly key: import("valibot").StringSchema<undefined>;
102
+ readonly op: import("valibot").LiteralSchema<"put", undefined>;
103
+ readonly value: import("valibot").ObjectSchema<{
104
+ readonly body: import("valibot").ObjectSchema<{
105
+ 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>;
106
+ 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>;
107
+ readonly content: import("valibot").UnknownSchema;
108
+ 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>;
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>;
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>;
111
+ }, undefined>;
112
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
113
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
114
+ readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
115
+ }, undefined>;
116
+ }, undefined>], undefined>, undefined>;
117
+ }, undefined>;
118
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
119
+ }, undefined>], undefined>>;
82
120
  thread: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
83
121
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
84
122
  readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAqC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA"}
@@ -1,5 +1,6 @@
1
1
  import { syncPullAccount as account } from './account';
2
2
  import { syncPullContact as contact } from './contact';
3
+ import { syncPullDraft as draft } from './draft';
3
4
  import { syncPullThread as thread } from './thread';
4
5
  import { syncPullUser as user } from './user';
5
- export const pull = { account, contact, thread, user };
6
+ export const pull = { account, contact, draft, thread, user };