@marcoappio/marco-config 2.0.162 → 2.0.163
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.
- package/dist/clients/draft.d.ts +66 -11
- package/dist/clients/draft.d.ts.map +1 -1
- package/dist/clients/draft.js +8 -1
- package/dist/clients/index.d.ts +66 -11
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/index.d.ts +67 -12
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/{email-message/email-message-html-get.d.ts → emailMessage/getEmailMessageHTML.d.ts} +2 -2
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageHTML.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/{email-message/email-message-html-get.js → emailMessage/getEmailMessageHTML.js} +1 -1
- package/dist/sdk/endpoints/private/{email-message → emailMessage}/index.d.ts +1 -1
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/emailMessage/index.js +4 -0
- package/dist/sdk/endpoints/private/index.d.ts +67 -12
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.js +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +66 -11
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +6 -1
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +6 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +60 -10
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +60 -10
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/index.d.ts +67 -12
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/sdk/endpoints/private/email-message/email-message-html-get.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/email-message/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/email-message/index.js +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const privateGroup: {
|
|
2
2
|
emailMessage: {
|
|
3
|
-
|
|
3
|
+
getHTML: 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
4
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
5
5
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
6
6
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -120,7 +120,12 @@ export declare const privateGroup: {
|
|
|
120
120
|
readonly body: import("valibot").ObjectSchema<{
|
|
121
121
|
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>;
|
|
122
122
|
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>;
|
|
123
|
-
readonly content: import("valibot").
|
|
123
|
+
readonly content: import("valibot").ObjectSchema<{
|
|
124
|
+
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
125
|
+
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
126
|
+
}, undefined>, undefined>;
|
|
127
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
128
|
+
}, undefined>;
|
|
124
129
|
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>;
|
|
125
130
|
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
126
131
|
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>;
|
|
@@ -334,7 +339,12 @@ export declare const privateGroup: {
|
|
|
334
339
|
readonly body: Omit<import("valibot").ObjectSchema<{
|
|
335
340
|
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>;
|
|
336
341
|
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>;
|
|
337
|
-
readonly content: import("valibot").
|
|
342
|
+
readonly content: import("valibot").ObjectSchema<{
|
|
343
|
+
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
344
|
+
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
345
|
+
}, undefined>, undefined>;
|
|
346
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
347
|
+
}, undefined>;
|
|
338
348
|
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>;
|
|
339
349
|
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
340
350
|
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>;
|
|
@@ -342,7 +352,12 @@ export declare const privateGroup: {
|
|
|
342
352
|
readonly entries: {
|
|
343
353
|
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>;
|
|
344
354
|
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>;
|
|
345
|
-
readonly content: import("valibot").OptionalSchema<import("valibot").
|
|
355
|
+
readonly content: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
356
|
+
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
357
|
+
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
358
|
+
}, undefined>, undefined>;
|
|
359
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
360
|
+
}, undefined>, undefined>;
|
|
346
361
|
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
362
|
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
363
|
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>;
|
|
@@ -350,44 +365,79 @@ export declare const privateGroup: {
|
|
|
350
365
|
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
351
366
|
bcc?: string[] | undefined;
|
|
352
367
|
cc?: string[] | undefined;
|
|
368
|
+
content?: {
|
|
369
|
+
type: "doc";
|
|
370
|
+
content: ({
|
|
371
|
+
type: string;
|
|
372
|
+
} & {
|
|
373
|
+
[key: string]: unknown;
|
|
374
|
+
})[];
|
|
375
|
+
} | undefined;
|
|
353
376
|
replyTo?: string[] | undefined;
|
|
354
377
|
to?: string[] | undefined;
|
|
355
|
-
content?: unknown;
|
|
356
378
|
subject?: string | undefined;
|
|
357
379
|
}, {
|
|
358
380
|
bcc?: string[] | undefined;
|
|
359
381
|
cc?: string[] | undefined;
|
|
382
|
+
content?: {
|
|
383
|
+
type: "doc";
|
|
384
|
+
content: ({
|
|
385
|
+
type: string;
|
|
386
|
+
} & {
|
|
387
|
+
[key: string]: unknown;
|
|
388
|
+
})[];
|
|
389
|
+
} | undefined;
|
|
360
390
|
replyTo?: string[] | undefined;
|
|
361
391
|
to?: string[] | undefined;
|
|
362
|
-
content?: unknown;
|
|
363
392
|
subject?: string | undefined;
|
|
364
393
|
}>;
|
|
365
394
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
366
395
|
bcc?: string[] | undefined;
|
|
367
396
|
cc?: string[] | undefined;
|
|
397
|
+
content?: {
|
|
398
|
+
type: "doc";
|
|
399
|
+
content: ({
|
|
400
|
+
type: string;
|
|
401
|
+
} & {
|
|
402
|
+
[key: string]: unknown;
|
|
403
|
+
})[];
|
|
404
|
+
} | undefined;
|
|
368
405
|
replyTo?: string[] | undefined;
|
|
369
406
|
to?: string[] | undefined;
|
|
370
|
-
content?: unknown;
|
|
371
407
|
subject?: string | undefined;
|
|
372
|
-
}, 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>;
|
|
408
|
+
}, 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>;
|
|
373
409
|
readonly '~types'?: {
|
|
374
410
|
readonly input: {
|
|
375
411
|
bcc?: string[] | undefined;
|
|
376
412
|
cc?: string[] | undefined;
|
|
413
|
+
content?: {
|
|
414
|
+
type: "doc";
|
|
415
|
+
content: ({
|
|
416
|
+
type: string;
|
|
417
|
+
} & {
|
|
418
|
+
[key: string]: unknown;
|
|
419
|
+
})[];
|
|
420
|
+
} | undefined;
|
|
377
421
|
replyTo?: string[] | undefined;
|
|
378
422
|
to?: string[] | undefined;
|
|
379
|
-
content?: unknown;
|
|
380
423
|
subject?: string | undefined;
|
|
381
424
|
};
|
|
382
425
|
readonly output: {
|
|
383
426
|
bcc?: string[] | undefined;
|
|
384
427
|
cc?: string[] | undefined;
|
|
428
|
+
content?: {
|
|
429
|
+
type: "doc";
|
|
430
|
+
content: ({
|
|
431
|
+
type: string;
|
|
432
|
+
} & {
|
|
433
|
+
[key: string]: unknown;
|
|
434
|
+
})[];
|
|
435
|
+
} | undefined;
|
|
385
436
|
replyTo?: string[] | undefined;
|
|
386
437
|
to?: string[] | undefined;
|
|
387
|
-
content?: unknown;
|
|
388
438
|
subject?: string | undefined;
|
|
389
439
|
};
|
|
390
|
-
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;
|
|
440
|
+
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;
|
|
391
441
|
} | undefined;
|
|
392
442
|
};
|
|
393
443
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -400,7 +450,12 @@ export declare const privateGroup: {
|
|
|
400
450
|
readonly body: import("valibot").ObjectSchema<{
|
|
401
451
|
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>;
|
|
402
452
|
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>;
|
|
403
|
-
readonly content: import("valibot").
|
|
453
|
+
readonly content: import("valibot").ObjectSchema<{
|
|
454
|
+
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
455
|
+
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
456
|
+
}, undefined>, undefined>;
|
|
457
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
458
|
+
}, undefined>;
|
|
404
459
|
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>;
|
|
405
460
|
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
406
461
|
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>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAA"}
|
|
@@ -105,7 +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").
|
|
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>;
|
|
109
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>;
|
|
110
115
|
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
116
|
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>;
|
|
@@ -319,7 +324,12 @@ export declare const sync: {
|
|
|
319
324
|
readonly body: Omit<import("valibot").ObjectSchema<{
|
|
320
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>;
|
|
321
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>;
|
|
322
|
-
readonly content: import("valibot").
|
|
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>;
|
|
323
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>;
|
|
324
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>;
|
|
325
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>;
|
|
@@ -327,7 +337,12 @@ export declare const sync: {
|
|
|
327
337
|
readonly entries: {
|
|
328
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>;
|
|
329
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>;
|
|
330
|
-
readonly content: import("valibot").OptionalSchema<import("valibot").
|
|
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>;
|
|
331
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>;
|
|
332
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>;
|
|
333
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>;
|
|
@@ -335,44 +350,79 @@ export declare const sync: {
|
|
|
335
350
|
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
336
351
|
bcc?: string[] | undefined;
|
|
337
352
|
cc?: string[] | undefined;
|
|
353
|
+
content?: {
|
|
354
|
+
type: "doc";
|
|
355
|
+
content: ({
|
|
356
|
+
type: string;
|
|
357
|
+
} & {
|
|
358
|
+
[key: string]: unknown;
|
|
359
|
+
})[];
|
|
360
|
+
} | undefined;
|
|
338
361
|
replyTo?: string[] | undefined;
|
|
339
362
|
to?: string[] | undefined;
|
|
340
|
-
content?: unknown;
|
|
341
363
|
subject?: string | undefined;
|
|
342
364
|
}, {
|
|
343
365
|
bcc?: string[] | undefined;
|
|
344
366
|
cc?: string[] | undefined;
|
|
367
|
+
content?: {
|
|
368
|
+
type: "doc";
|
|
369
|
+
content: ({
|
|
370
|
+
type: string;
|
|
371
|
+
} & {
|
|
372
|
+
[key: string]: unknown;
|
|
373
|
+
})[];
|
|
374
|
+
} | undefined;
|
|
345
375
|
replyTo?: string[] | undefined;
|
|
346
376
|
to?: string[] | undefined;
|
|
347
|
-
content?: unknown;
|
|
348
377
|
subject?: string | undefined;
|
|
349
378
|
}>;
|
|
350
379
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
351
380
|
bcc?: string[] | undefined;
|
|
352
381
|
cc?: string[] | undefined;
|
|
382
|
+
content?: {
|
|
383
|
+
type: "doc";
|
|
384
|
+
content: ({
|
|
385
|
+
type: string;
|
|
386
|
+
} & {
|
|
387
|
+
[key: string]: unknown;
|
|
388
|
+
})[];
|
|
389
|
+
} | undefined;
|
|
353
390
|
replyTo?: string[] | undefined;
|
|
354
391
|
to?: string[] | undefined;
|
|
355
|
-
content?: unknown;
|
|
356
392
|
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>;
|
|
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>;
|
|
358
394
|
readonly '~types'?: {
|
|
359
395
|
readonly input: {
|
|
360
396
|
bcc?: string[] | undefined;
|
|
361
397
|
cc?: string[] | undefined;
|
|
398
|
+
content?: {
|
|
399
|
+
type: "doc";
|
|
400
|
+
content: ({
|
|
401
|
+
type: string;
|
|
402
|
+
} & {
|
|
403
|
+
[key: string]: unknown;
|
|
404
|
+
})[];
|
|
405
|
+
} | undefined;
|
|
362
406
|
replyTo?: string[] | undefined;
|
|
363
407
|
to?: string[] | undefined;
|
|
364
|
-
content?: unknown;
|
|
365
408
|
subject?: string | undefined;
|
|
366
409
|
};
|
|
367
410
|
readonly output: {
|
|
368
411
|
bcc?: string[] | undefined;
|
|
369
412
|
cc?: string[] | undefined;
|
|
413
|
+
content?: {
|
|
414
|
+
type: "doc";
|
|
415
|
+
content: ({
|
|
416
|
+
type: string;
|
|
417
|
+
} & {
|
|
418
|
+
[key: string]: unknown;
|
|
419
|
+
})[];
|
|
420
|
+
} | undefined;
|
|
370
421
|
replyTo?: string[] | undefined;
|
|
371
422
|
to?: string[] | undefined;
|
|
372
|
-
content?: unknown;
|
|
373
423
|
subject?: string | undefined;
|
|
374
424
|
};
|
|
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;
|
|
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;
|
|
376
426
|
} | undefined;
|
|
377
427
|
};
|
|
378
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>;
|
|
@@ -385,7 +435,12 @@ export declare const sync: {
|
|
|
385
435
|
readonly body: import("valibot").ObjectSchema<{
|
|
386
436
|
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
437
|
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").
|
|
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>;
|
|
389
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>;
|
|
390
445
|
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
446
|
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>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
|
|
@@ -24,7 +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.
|
|
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>;
|
|
28
33
|
readonly replyTo: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
29
34
|
readonly subject: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
30
35
|
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, 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
|
|
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"}
|
|
@@ -104,7 +104,12 @@ export declare const pull: {
|
|
|
104
104
|
readonly body: import("valibot").ObjectSchema<{
|
|
105
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
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").
|
|
107
|
+
readonly content: import("valibot").ObjectSchema<{
|
|
108
|
+
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
109
|
+
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
110
|
+
}, undefined>, undefined>;
|
|
111
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
112
|
+
}, undefined>;
|
|
108
113
|
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
114
|
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
115
|
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>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI
|
|
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"}
|
|
@@ -13,7 +13,12 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
13
13
|
readonly body: Omit<v.ObjectSchema<{
|
|
14
14
|
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
15
15
|
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
16
|
-
readonly content: v.
|
|
16
|
+
readonly content: v.ObjectSchema<{
|
|
17
|
+
readonly content: v.ArraySchema<v.LooseObjectSchema<{
|
|
18
|
+
readonly type: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
19
|
+
}, undefined>, undefined>;
|
|
20
|
+
readonly type: v.UnionSchema<[v.LiteralSchema<"doc", undefined>], undefined>;
|
|
21
|
+
}, undefined>;
|
|
17
22
|
readonly replyTo: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
18
23
|
readonly subject: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
19
24
|
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -21,7 +26,12 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
21
26
|
readonly entries: {
|
|
22
27
|
readonly bcc: v.OptionalSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
23
28
|
readonly cc: v.OptionalSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
24
|
-
readonly content: v.OptionalSchema<v.
|
|
29
|
+
readonly content: v.OptionalSchema<v.ObjectSchema<{
|
|
30
|
+
readonly content: v.ArraySchema<v.LooseObjectSchema<{
|
|
31
|
+
readonly type: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
32
|
+
}, undefined>, undefined>;
|
|
33
|
+
readonly type: v.UnionSchema<[v.LiteralSchema<"doc", undefined>], undefined>;
|
|
34
|
+
}, undefined>, undefined>;
|
|
25
35
|
readonly replyTo: v.OptionalSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
26
36
|
readonly subject: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
27
37
|
readonly to: v.OptionalSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
@@ -29,44 +39,79 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
29
39
|
readonly '~standard': v.StandardSchemaProps<{
|
|
30
40
|
bcc?: string[] | undefined;
|
|
31
41
|
cc?: string[] | undefined;
|
|
42
|
+
content?: {
|
|
43
|
+
type: "doc";
|
|
44
|
+
content: ({
|
|
45
|
+
type: string;
|
|
46
|
+
} & {
|
|
47
|
+
[key: string]: unknown;
|
|
48
|
+
})[];
|
|
49
|
+
} | undefined;
|
|
32
50
|
replyTo?: string[] | undefined;
|
|
33
51
|
to?: string[] | undefined;
|
|
34
|
-
content?: unknown;
|
|
35
52
|
subject?: string | undefined;
|
|
36
53
|
}, {
|
|
37
54
|
bcc?: string[] | undefined;
|
|
38
55
|
cc?: string[] | undefined;
|
|
56
|
+
content?: {
|
|
57
|
+
type: "doc";
|
|
58
|
+
content: ({
|
|
59
|
+
type: string;
|
|
60
|
+
} & {
|
|
61
|
+
[key: string]: unknown;
|
|
62
|
+
})[];
|
|
63
|
+
} | undefined;
|
|
39
64
|
replyTo?: string[] | undefined;
|
|
40
65
|
to?: string[] | undefined;
|
|
41
|
-
content?: unknown;
|
|
42
66
|
subject?: string | undefined;
|
|
43
67
|
}>;
|
|
44
68
|
readonly '~run': (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
45
69
|
bcc?: string[] | undefined;
|
|
46
70
|
cc?: string[] | undefined;
|
|
71
|
+
content?: {
|
|
72
|
+
type: "doc";
|
|
73
|
+
content: ({
|
|
74
|
+
type: string;
|
|
75
|
+
} & {
|
|
76
|
+
[key: string]: unknown;
|
|
77
|
+
})[];
|
|
78
|
+
} | undefined;
|
|
47
79
|
replyTo?: string[] | undefined;
|
|
48
80
|
to?: string[] | undefined;
|
|
49
|
-
content?: unknown;
|
|
50
81
|
subject?: string | undefined;
|
|
51
|
-
}, v.StringIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.ObjectIssue | v.NonOptionalIssue | v.ArrayIssue>;
|
|
82
|
+
}, v.LiteralIssue | v.StringIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.ObjectIssue | v.UnionIssue<v.LiteralIssue> | v.NonOptionalIssue | v.ArrayIssue | v.LooseObjectIssue>;
|
|
52
83
|
readonly '~types'?: {
|
|
53
84
|
readonly input: {
|
|
54
85
|
bcc?: string[] | undefined;
|
|
55
86
|
cc?: string[] | undefined;
|
|
87
|
+
content?: {
|
|
88
|
+
type: "doc";
|
|
89
|
+
content: ({
|
|
90
|
+
type: string;
|
|
91
|
+
} & {
|
|
92
|
+
[key: string]: unknown;
|
|
93
|
+
})[];
|
|
94
|
+
} | undefined;
|
|
56
95
|
replyTo?: string[] | undefined;
|
|
57
96
|
to?: string[] | undefined;
|
|
58
|
-
content?: unknown;
|
|
59
97
|
subject?: string | undefined;
|
|
60
98
|
};
|
|
61
99
|
readonly output: {
|
|
62
100
|
bcc?: string[] | undefined;
|
|
63
101
|
cc?: string[] | undefined;
|
|
102
|
+
content?: {
|
|
103
|
+
type: "doc";
|
|
104
|
+
content: ({
|
|
105
|
+
type: string;
|
|
106
|
+
} & {
|
|
107
|
+
[key: string]: unknown;
|
|
108
|
+
})[];
|
|
109
|
+
} | undefined;
|
|
64
110
|
replyTo?: string[] | undefined;
|
|
65
111
|
to?: string[] | undefined;
|
|
66
|
-
content?: unknown;
|
|
67
112
|
subject?: string | undefined;
|
|
68
113
|
};
|
|
69
|
-
readonly issue: v.StringIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.ObjectIssue | v.NonOptionalIssue | v.ArrayIssue;
|
|
114
|
+
readonly issue: v.LiteralIssue | v.StringIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.ObjectIssue | v.UnionIssue<v.LiteralIssue> | v.NonOptionalIssue | v.ArrayIssue | v.LooseObjectIssue;
|
|
70
115
|
} | undefined;
|
|
71
116
|
};
|
|
72
117
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -79,7 +124,12 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
79
124
|
readonly body: v.ObjectSchema<{
|
|
80
125
|
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
81
126
|
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
82
|
-
readonly content: v.
|
|
127
|
+
readonly content: v.ObjectSchema<{
|
|
128
|
+
readonly content: v.ArraySchema<v.LooseObjectSchema<{
|
|
129
|
+
readonly type: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
130
|
+
}, undefined>, undefined>;
|
|
131
|
+
readonly type: v.UnionSchema<[v.LiteralSchema<"doc", undefined>], undefined>;
|
|
132
|
+
}, undefined>;
|
|
83
133
|
readonly replyTo: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
84
134
|
readonly subject: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
85
135
|
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA+BxB,CAAA"}
|