@kl1/contracts 1.1.3-uat → 1.1.3
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/index.js +890 -913
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +890 -912
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +54 -165
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +8 -24
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +7 -76
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +1674 -2659
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/dashboard/index.d.ts +5 -1
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/validation.d.ts +10 -0
- package/dist/src/dashboard/validation.d.ts.map +1 -1
- package/dist/src/index.d.ts +0 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +7 -73
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +7 -73
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/mail/account-contract.d.ts +136 -289
- package/dist/src/mail/account-contract.d.ts.map +1 -1
- package/dist/src/mail/index.d.ts +0 -10
- package/dist/src/mail/index.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +1162 -1775
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/mail-server-contract.d.ts +18 -477
- package/dist/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/src/mail/message-contract.d.ts +54 -54
- package/dist/src/mail/room-contract.d.ts +954 -957
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/account-validation.schema.d.ts +140 -140
- package/dist/src/mail/schemas/account-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/account.schema.d.ts +32 -32
- package/dist/src/mail/schemas/message.schema.d.ts +42 -42
- package/dist/src/mail/schemas/message.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room-validation.schema.d.ts +322 -325
- package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room.schema.d.ts +259 -683
- package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +7 -73
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +7 -73
- package/dist/src/viber/index.d.ts.map +1 -1
- package/package.json +1 -1
@@ -159,12 +159,12 @@ export declare const accountContract: {
|
|
159
159
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
160
160
|
name: z.ZodString;
|
161
161
|
smtpHost: z.ZodString;
|
162
|
-
smtpPort: z.
|
163
|
-
smtpTlsPort: z.
|
162
|
+
smtpPort: z.ZodString;
|
163
|
+
smtpTlsPort: z.ZodString;
|
164
164
|
useTlsForSmtp: z.ZodBoolean;
|
165
165
|
imapHost: z.ZodString;
|
166
|
-
imapPort: z.
|
167
|
-
imapTlsPort: z.
|
166
|
+
imapPort: z.ZodString;
|
167
|
+
imapTlsPort: z.ZodString;
|
168
168
|
useTlsForImap: z.ZodBoolean;
|
169
169
|
}, "strip", z.ZodTypeAny, {
|
170
170
|
id: string;
|
@@ -173,12 +173,12 @@ export declare const accountContract: {
|
|
173
173
|
updatedAt: Date;
|
174
174
|
deletedAt: Date | null;
|
175
175
|
smtpHost: string;
|
176
|
-
smtpPort:
|
177
|
-
smtpTlsPort:
|
176
|
+
smtpPort: string;
|
177
|
+
smtpTlsPort: string;
|
178
178
|
useTlsForSmtp: boolean;
|
179
179
|
imapHost: string;
|
180
|
-
imapPort:
|
181
|
-
imapTlsPort:
|
180
|
+
imapPort: string;
|
181
|
+
imapTlsPort: string;
|
182
182
|
useTlsForImap: boolean;
|
183
183
|
}, {
|
184
184
|
id: string;
|
@@ -187,12 +187,12 @@ export declare const accountContract: {
|
|
187
187
|
updatedAt: Date;
|
188
188
|
deletedAt: Date | null;
|
189
189
|
smtpHost: string;
|
190
|
-
smtpPort:
|
191
|
-
smtpTlsPort:
|
190
|
+
smtpPort: string;
|
191
|
+
smtpTlsPort: string;
|
192
192
|
useTlsForSmtp: boolean;
|
193
193
|
imapHost: string;
|
194
|
-
imapPort:
|
195
|
-
imapTlsPort:
|
194
|
+
imapPort: string;
|
195
|
+
imapTlsPort: string;
|
196
196
|
useTlsForImap: boolean;
|
197
197
|
}>;
|
198
198
|
state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
|
@@ -213,12 +213,12 @@ export declare const accountContract: {
|
|
213
213
|
updatedAt: Date;
|
214
214
|
deletedAt: Date | null;
|
215
215
|
smtpHost: string;
|
216
|
-
smtpPort:
|
217
|
-
smtpTlsPort:
|
216
|
+
smtpPort: string;
|
217
|
+
smtpTlsPort: string;
|
218
218
|
useTlsForSmtp: boolean;
|
219
219
|
imapHost: string;
|
220
|
-
imapPort:
|
221
|
-
imapTlsPort:
|
220
|
+
imapPort: string;
|
221
|
+
imapTlsPort: string;
|
222
222
|
useTlsForImap: boolean;
|
223
223
|
};
|
224
224
|
}, {
|
@@ -238,12 +238,12 @@ export declare const accountContract: {
|
|
238
238
|
updatedAt: Date;
|
239
239
|
deletedAt: Date | null;
|
240
240
|
smtpHost: string;
|
241
|
-
smtpPort:
|
242
|
-
smtpTlsPort:
|
241
|
+
smtpPort: string;
|
242
|
+
smtpTlsPort: string;
|
243
243
|
useTlsForSmtp: boolean;
|
244
244
|
imapHost: string;
|
245
|
-
imapPort:
|
246
|
-
imapTlsPort:
|
245
|
+
imapPort: string;
|
246
|
+
imapTlsPort: string;
|
247
247
|
useTlsForImap: boolean;
|
248
248
|
};
|
249
249
|
}>;
|
@@ -265,12 +265,12 @@ export declare const accountContract: {
|
|
265
265
|
updatedAt: Date;
|
266
266
|
deletedAt: Date | null;
|
267
267
|
smtpHost: string;
|
268
|
-
smtpPort:
|
269
|
-
smtpTlsPort:
|
268
|
+
smtpPort: string;
|
269
|
+
smtpTlsPort: string;
|
270
270
|
useTlsForSmtp: boolean;
|
271
271
|
imapHost: string;
|
272
|
-
imapPort:
|
273
|
-
imapTlsPort:
|
272
|
+
imapPort: string;
|
273
|
+
imapTlsPort: string;
|
274
274
|
useTlsForImap: boolean;
|
275
275
|
};
|
276
276
|
};
|
@@ -293,12 +293,12 @@ export declare const accountContract: {
|
|
293
293
|
updatedAt: Date;
|
294
294
|
deletedAt: Date | null;
|
295
295
|
smtpHost: string;
|
296
|
-
smtpPort:
|
297
|
-
smtpTlsPort:
|
296
|
+
smtpPort: string;
|
297
|
+
smtpTlsPort: string;
|
298
298
|
useTlsForSmtp: boolean;
|
299
299
|
imapHost: string;
|
300
|
-
imapPort:
|
301
|
-
imapTlsPort:
|
300
|
+
imapPort: string;
|
301
|
+
imapTlsPort: string;
|
302
302
|
useTlsForImap: boolean;
|
303
303
|
};
|
304
304
|
};
|
@@ -324,7 +324,7 @@ export declare const accountContract: {
|
|
324
324
|
}>>>;
|
325
325
|
};
|
326
326
|
getAll: {
|
327
|
-
summary: "Get
|
327
|
+
summary: "Get al accounts";
|
328
328
|
method: "GET";
|
329
329
|
responses: {
|
330
330
|
401: z.ZodObject<{
|
@@ -359,166 +359,13 @@ export declare const accountContract: {
|
|
359
359
|
}>;
|
360
360
|
200: z.ZodObject<{
|
361
361
|
requestId: z.ZodString;
|
362
|
-
data: z.
|
363
|
-
id: z.ZodString;
|
364
|
-
createdAt: z.ZodDate;
|
365
|
-
updatedAt: z.ZodDate;
|
366
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
367
|
-
name: z.ZodString;
|
368
|
-
address: z.ZodString;
|
369
|
-
accountId: z.ZodString;
|
370
|
-
mailServerId: z.ZodString;
|
371
|
-
mailServer: z.ZodObject<{
|
372
|
-
id: z.ZodString;
|
373
|
-
createdAt: z.ZodDate;
|
374
|
-
updatedAt: z.ZodDate;
|
375
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
376
|
-
name: z.ZodString;
|
377
|
-
smtpHost: z.ZodString;
|
378
|
-
smtpPort: z.ZodNumber;
|
379
|
-
smtpTlsPort: z.ZodNumber;
|
380
|
-
useTlsForSmtp: z.ZodBoolean;
|
381
|
-
imapHost: z.ZodString;
|
382
|
-
imapPort: z.ZodNumber;
|
383
|
-
imapTlsPort: z.ZodNumber;
|
384
|
-
useTlsForImap: z.ZodBoolean;
|
385
|
-
}, "strip", z.ZodTypeAny, {
|
386
|
-
id: string;
|
387
|
-
name: string;
|
388
|
-
createdAt: Date;
|
389
|
-
updatedAt: Date;
|
390
|
-
deletedAt: Date | null;
|
391
|
-
smtpHost: string;
|
392
|
-
smtpPort: number;
|
393
|
-
smtpTlsPort: number;
|
394
|
-
useTlsForSmtp: boolean;
|
395
|
-
imapHost: string;
|
396
|
-
imapPort: number;
|
397
|
-
imapTlsPort: number;
|
398
|
-
useTlsForImap: boolean;
|
399
|
-
}, {
|
400
|
-
id: string;
|
401
|
-
name: string;
|
402
|
-
createdAt: Date;
|
403
|
-
updatedAt: Date;
|
404
|
-
deletedAt: Date | null;
|
405
|
-
smtpHost: string;
|
406
|
-
smtpPort: number;
|
407
|
-
smtpTlsPort: number;
|
408
|
-
useTlsForSmtp: boolean;
|
409
|
-
imapHost: string;
|
410
|
-
imapPort: number;
|
411
|
-
imapTlsPort: number;
|
412
|
-
useTlsForImap: boolean;
|
413
|
-
}>;
|
414
|
-
state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
|
415
|
-
}, "strip", z.ZodTypeAny, {
|
416
|
-
id: string;
|
417
|
-
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
418
|
-
address: string;
|
419
|
-
name: string;
|
420
|
-
createdAt: Date;
|
421
|
-
updatedAt: Date;
|
422
|
-
deletedAt: Date | null;
|
423
|
-
accountId: string;
|
424
|
-
mailServerId: string;
|
425
|
-
mailServer: {
|
426
|
-
id: string;
|
427
|
-
name: string;
|
428
|
-
createdAt: Date;
|
429
|
-
updatedAt: Date;
|
430
|
-
deletedAt: Date | null;
|
431
|
-
smtpHost: string;
|
432
|
-
smtpPort: number;
|
433
|
-
smtpTlsPort: number;
|
434
|
-
useTlsForSmtp: boolean;
|
435
|
-
imapHost: string;
|
436
|
-
imapPort: number;
|
437
|
-
imapTlsPort: number;
|
438
|
-
useTlsForImap: boolean;
|
439
|
-
};
|
440
|
-
}, {
|
441
|
-
id: string;
|
442
|
-
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
443
|
-
address: string;
|
444
|
-
name: string;
|
445
|
-
createdAt: Date;
|
446
|
-
updatedAt: Date;
|
447
|
-
deletedAt: Date | null;
|
448
|
-
accountId: string;
|
449
|
-
mailServerId: string;
|
450
|
-
mailServer: {
|
451
|
-
id: string;
|
452
|
-
name: string;
|
453
|
-
createdAt: Date;
|
454
|
-
updatedAt: Date;
|
455
|
-
deletedAt: Date | null;
|
456
|
-
smtpHost: string;
|
457
|
-
smtpPort: number;
|
458
|
-
smtpTlsPort: number;
|
459
|
-
useTlsForSmtp: boolean;
|
460
|
-
imapHost: string;
|
461
|
-
imapPort: number;
|
462
|
-
imapTlsPort: number;
|
463
|
-
useTlsForImap: boolean;
|
464
|
-
};
|
465
|
-
}>, "many">;
|
362
|
+
data: z.ZodAny;
|
466
363
|
}, "strip", z.ZodTypeAny, {
|
467
|
-
data: {
|
468
|
-
id: string;
|
469
|
-
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
470
|
-
address: string;
|
471
|
-
name: string;
|
472
|
-
createdAt: Date;
|
473
|
-
updatedAt: Date;
|
474
|
-
deletedAt: Date | null;
|
475
|
-
accountId: string;
|
476
|
-
mailServerId: string;
|
477
|
-
mailServer: {
|
478
|
-
id: string;
|
479
|
-
name: string;
|
480
|
-
createdAt: Date;
|
481
|
-
updatedAt: Date;
|
482
|
-
deletedAt: Date | null;
|
483
|
-
smtpHost: string;
|
484
|
-
smtpPort: number;
|
485
|
-
smtpTlsPort: number;
|
486
|
-
useTlsForSmtp: boolean;
|
487
|
-
imapHost: string;
|
488
|
-
imapPort: number;
|
489
|
-
imapTlsPort: number;
|
490
|
-
useTlsForImap: boolean;
|
491
|
-
};
|
492
|
-
}[];
|
493
364
|
requestId: string;
|
365
|
+
data?: any;
|
494
366
|
}, {
|
495
|
-
data: {
|
496
|
-
id: string;
|
497
|
-
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
498
|
-
address: string;
|
499
|
-
name: string;
|
500
|
-
createdAt: Date;
|
501
|
-
updatedAt: Date;
|
502
|
-
deletedAt: Date | null;
|
503
|
-
accountId: string;
|
504
|
-
mailServerId: string;
|
505
|
-
mailServer: {
|
506
|
-
id: string;
|
507
|
-
name: string;
|
508
|
-
createdAt: Date;
|
509
|
-
updatedAt: Date;
|
510
|
-
deletedAt: Date | null;
|
511
|
-
smtpHost: string;
|
512
|
-
smtpPort: number;
|
513
|
-
smtpTlsPort: number;
|
514
|
-
useTlsForSmtp: boolean;
|
515
|
-
imapHost: string;
|
516
|
-
imapPort: number;
|
517
|
-
imapTlsPort: number;
|
518
|
-
useTlsForImap: boolean;
|
519
|
-
};
|
520
|
-
}[];
|
521
367
|
requestId: string;
|
368
|
+
data?: any;
|
522
369
|
}>;
|
523
370
|
};
|
524
371
|
path: "mail/account";
|
@@ -556,12 +403,12 @@ export declare const accountContract: {
|
|
556
403
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
557
404
|
name: z.ZodString;
|
558
405
|
smtpHost: z.ZodString;
|
559
|
-
smtpPort: z.
|
560
|
-
smtpTlsPort: z.
|
406
|
+
smtpPort: z.ZodString;
|
407
|
+
smtpTlsPort: z.ZodString;
|
561
408
|
useTlsForSmtp: z.ZodBoolean;
|
562
409
|
imapHost: z.ZodString;
|
563
|
-
imapPort: z.
|
564
|
-
imapTlsPort: z.
|
410
|
+
imapPort: z.ZodString;
|
411
|
+
imapTlsPort: z.ZodString;
|
565
412
|
useTlsForImap: z.ZodBoolean;
|
566
413
|
}, "strip", z.ZodTypeAny, {
|
567
414
|
id: string;
|
@@ -570,12 +417,12 @@ export declare const accountContract: {
|
|
570
417
|
updatedAt: Date;
|
571
418
|
deletedAt: Date | null;
|
572
419
|
smtpHost: string;
|
573
|
-
smtpPort:
|
574
|
-
smtpTlsPort:
|
420
|
+
smtpPort: string;
|
421
|
+
smtpTlsPort: string;
|
575
422
|
useTlsForSmtp: boolean;
|
576
423
|
imapHost: string;
|
577
|
-
imapPort:
|
578
|
-
imapTlsPort:
|
424
|
+
imapPort: string;
|
425
|
+
imapTlsPort: string;
|
579
426
|
useTlsForImap: boolean;
|
580
427
|
}, {
|
581
428
|
id: string;
|
@@ -584,12 +431,12 @@ export declare const accountContract: {
|
|
584
431
|
updatedAt: Date;
|
585
432
|
deletedAt: Date | null;
|
586
433
|
smtpHost: string;
|
587
|
-
smtpPort:
|
588
|
-
smtpTlsPort:
|
434
|
+
smtpPort: string;
|
435
|
+
smtpTlsPort: string;
|
589
436
|
useTlsForSmtp: boolean;
|
590
437
|
imapHost: string;
|
591
|
-
imapPort:
|
592
|
-
imapTlsPort:
|
438
|
+
imapPort: string;
|
439
|
+
imapTlsPort: string;
|
593
440
|
useTlsForImap: boolean;
|
594
441
|
}>>;
|
595
442
|
state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>>;
|
@@ -609,12 +456,12 @@ export declare const accountContract: {
|
|
609
456
|
updatedAt: Date;
|
610
457
|
deletedAt: Date | null;
|
611
458
|
smtpHost: string;
|
612
|
-
smtpPort:
|
613
|
-
smtpTlsPort:
|
459
|
+
smtpPort: string;
|
460
|
+
smtpTlsPort: string;
|
614
461
|
useTlsForSmtp: boolean;
|
615
462
|
imapHost: string;
|
616
|
-
imapPort:
|
617
|
-
imapTlsPort:
|
463
|
+
imapPort: string;
|
464
|
+
imapTlsPort: string;
|
618
465
|
useTlsForImap: boolean;
|
619
466
|
} | undefined;
|
620
467
|
state?: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset" | undefined;
|
@@ -634,12 +481,12 @@ export declare const accountContract: {
|
|
634
481
|
updatedAt: Date;
|
635
482
|
deletedAt: Date | null;
|
636
483
|
smtpHost: string;
|
637
|
-
smtpPort:
|
638
|
-
smtpTlsPort:
|
484
|
+
smtpPort: string;
|
485
|
+
smtpTlsPort: string;
|
639
486
|
useTlsForSmtp: boolean;
|
640
487
|
imapHost: string;
|
641
|
-
imapPort:
|
642
|
-
imapTlsPort:
|
488
|
+
imapPort: string;
|
489
|
+
imapTlsPort: string;
|
643
490
|
useTlsForImap: boolean;
|
644
491
|
} | undefined;
|
645
492
|
state?: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset" | undefined;
|
@@ -702,12 +549,12 @@ export declare const accountContract: {
|
|
702
549
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
703
550
|
name: z.ZodString;
|
704
551
|
smtpHost: z.ZodString;
|
705
|
-
smtpPort: z.
|
706
|
-
smtpTlsPort: z.
|
552
|
+
smtpPort: z.ZodString;
|
553
|
+
smtpTlsPort: z.ZodString;
|
707
554
|
useTlsForSmtp: z.ZodBoolean;
|
708
555
|
imapHost: z.ZodString;
|
709
|
-
imapPort: z.
|
710
|
-
imapTlsPort: z.
|
556
|
+
imapPort: z.ZodString;
|
557
|
+
imapTlsPort: z.ZodString;
|
711
558
|
useTlsForImap: z.ZodBoolean;
|
712
559
|
}, "strip", z.ZodTypeAny, {
|
713
560
|
id: string;
|
@@ -716,12 +563,12 @@ export declare const accountContract: {
|
|
716
563
|
updatedAt: Date;
|
717
564
|
deletedAt: Date | null;
|
718
565
|
smtpHost: string;
|
719
|
-
smtpPort:
|
720
|
-
smtpTlsPort:
|
566
|
+
smtpPort: string;
|
567
|
+
smtpTlsPort: string;
|
721
568
|
useTlsForSmtp: boolean;
|
722
569
|
imapHost: string;
|
723
|
-
imapPort:
|
724
|
-
imapTlsPort:
|
570
|
+
imapPort: string;
|
571
|
+
imapTlsPort: string;
|
725
572
|
useTlsForImap: boolean;
|
726
573
|
}, {
|
727
574
|
id: string;
|
@@ -730,12 +577,12 @@ export declare const accountContract: {
|
|
730
577
|
updatedAt: Date;
|
731
578
|
deletedAt: Date | null;
|
732
579
|
smtpHost: string;
|
733
|
-
smtpPort:
|
734
|
-
smtpTlsPort:
|
580
|
+
smtpPort: string;
|
581
|
+
smtpTlsPort: string;
|
735
582
|
useTlsForSmtp: boolean;
|
736
583
|
imapHost: string;
|
737
|
-
imapPort:
|
738
|
-
imapTlsPort:
|
584
|
+
imapPort: string;
|
585
|
+
imapTlsPort: string;
|
739
586
|
useTlsForImap: boolean;
|
740
587
|
}>;
|
741
588
|
state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
|
@@ -756,12 +603,12 @@ export declare const accountContract: {
|
|
756
603
|
updatedAt: Date;
|
757
604
|
deletedAt: Date | null;
|
758
605
|
smtpHost: string;
|
759
|
-
smtpPort:
|
760
|
-
smtpTlsPort:
|
606
|
+
smtpPort: string;
|
607
|
+
smtpTlsPort: string;
|
761
608
|
useTlsForSmtp: boolean;
|
762
609
|
imapHost: string;
|
763
|
-
imapPort:
|
764
|
-
imapTlsPort:
|
610
|
+
imapPort: string;
|
611
|
+
imapTlsPort: string;
|
765
612
|
useTlsForImap: boolean;
|
766
613
|
};
|
767
614
|
}, {
|
@@ -781,12 +628,12 @@ export declare const accountContract: {
|
|
781
628
|
updatedAt: Date;
|
782
629
|
deletedAt: Date | null;
|
783
630
|
smtpHost: string;
|
784
|
-
smtpPort:
|
785
|
-
smtpTlsPort:
|
631
|
+
smtpPort: string;
|
632
|
+
smtpTlsPort: string;
|
786
633
|
useTlsForSmtp: boolean;
|
787
634
|
imapHost: string;
|
788
|
-
imapPort:
|
789
|
-
imapTlsPort:
|
635
|
+
imapPort: string;
|
636
|
+
imapTlsPort: string;
|
790
637
|
useTlsForImap: boolean;
|
791
638
|
};
|
792
639
|
}>;
|
@@ -808,12 +655,12 @@ export declare const accountContract: {
|
|
808
655
|
updatedAt: Date;
|
809
656
|
deletedAt: Date | null;
|
810
657
|
smtpHost: string;
|
811
|
-
smtpPort:
|
812
|
-
smtpTlsPort:
|
658
|
+
smtpPort: string;
|
659
|
+
smtpTlsPort: string;
|
813
660
|
useTlsForSmtp: boolean;
|
814
661
|
imapHost: string;
|
815
|
-
imapPort:
|
816
|
-
imapTlsPort:
|
662
|
+
imapPort: string;
|
663
|
+
imapTlsPort: string;
|
817
664
|
useTlsForImap: boolean;
|
818
665
|
};
|
819
666
|
};
|
@@ -836,12 +683,12 @@ export declare const accountContract: {
|
|
836
683
|
updatedAt: Date;
|
837
684
|
deletedAt: Date | null;
|
838
685
|
smtpHost: string;
|
839
|
-
smtpPort:
|
840
|
-
smtpTlsPort:
|
686
|
+
smtpPort: string;
|
687
|
+
smtpTlsPort: string;
|
841
688
|
useTlsForSmtp: boolean;
|
842
689
|
imapHost: string;
|
843
|
-
imapPort:
|
844
|
-
imapTlsPort:
|
690
|
+
imapPort: string;
|
691
|
+
imapTlsPort: string;
|
845
692
|
useTlsForImap: boolean;
|
846
693
|
};
|
847
694
|
};
|
@@ -926,12 +773,12 @@ export declare const accountContract: {
|
|
926
773
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
927
774
|
name: z.ZodString;
|
928
775
|
smtpHost: z.ZodString;
|
929
|
-
smtpPort: z.
|
930
|
-
smtpTlsPort: z.
|
776
|
+
smtpPort: z.ZodString;
|
777
|
+
smtpTlsPort: z.ZodString;
|
931
778
|
useTlsForSmtp: z.ZodBoolean;
|
932
779
|
imapHost: z.ZodString;
|
933
|
-
imapPort: z.
|
934
|
-
imapTlsPort: z.
|
780
|
+
imapPort: z.ZodString;
|
781
|
+
imapTlsPort: z.ZodString;
|
935
782
|
useTlsForImap: z.ZodBoolean;
|
936
783
|
}, "strip", z.ZodTypeAny, {
|
937
784
|
id: string;
|
@@ -940,12 +787,12 @@ export declare const accountContract: {
|
|
940
787
|
updatedAt: Date;
|
941
788
|
deletedAt: Date | null;
|
942
789
|
smtpHost: string;
|
943
|
-
smtpPort:
|
944
|
-
smtpTlsPort:
|
790
|
+
smtpPort: string;
|
791
|
+
smtpTlsPort: string;
|
945
792
|
useTlsForSmtp: boolean;
|
946
793
|
imapHost: string;
|
947
|
-
imapPort:
|
948
|
-
imapTlsPort:
|
794
|
+
imapPort: string;
|
795
|
+
imapTlsPort: string;
|
949
796
|
useTlsForImap: boolean;
|
950
797
|
}, {
|
951
798
|
id: string;
|
@@ -954,12 +801,12 @@ export declare const accountContract: {
|
|
954
801
|
updatedAt: Date;
|
955
802
|
deletedAt: Date | null;
|
956
803
|
smtpHost: string;
|
957
|
-
smtpPort:
|
958
|
-
smtpTlsPort:
|
804
|
+
smtpPort: string;
|
805
|
+
smtpTlsPort: string;
|
959
806
|
useTlsForSmtp: boolean;
|
960
807
|
imapHost: string;
|
961
|
-
imapPort:
|
962
|
-
imapTlsPort:
|
808
|
+
imapPort: string;
|
809
|
+
imapTlsPort: string;
|
963
810
|
useTlsForImap: boolean;
|
964
811
|
}>;
|
965
812
|
state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
|
@@ -980,12 +827,12 @@ export declare const accountContract: {
|
|
980
827
|
updatedAt: Date;
|
981
828
|
deletedAt: Date | null;
|
982
829
|
smtpHost: string;
|
983
|
-
smtpPort:
|
984
|
-
smtpTlsPort:
|
830
|
+
smtpPort: string;
|
831
|
+
smtpTlsPort: string;
|
985
832
|
useTlsForSmtp: boolean;
|
986
833
|
imapHost: string;
|
987
|
-
imapPort:
|
988
|
-
imapTlsPort:
|
834
|
+
imapPort: string;
|
835
|
+
imapTlsPort: string;
|
989
836
|
useTlsForImap: boolean;
|
990
837
|
};
|
991
838
|
}, {
|
@@ -1005,12 +852,12 @@ export declare const accountContract: {
|
|
1005
852
|
updatedAt: Date;
|
1006
853
|
deletedAt: Date | null;
|
1007
854
|
smtpHost: string;
|
1008
|
-
smtpPort:
|
1009
|
-
smtpTlsPort:
|
855
|
+
smtpPort: string;
|
856
|
+
smtpTlsPort: string;
|
1010
857
|
useTlsForSmtp: boolean;
|
1011
858
|
imapHost: string;
|
1012
|
-
imapPort:
|
1013
|
-
imapTlsPort:
|
859
|
+
imapPort: string;
|
860
|
+
imapTlsPort: string;
|
1014
861
|
useTlsForImap: boolean;
|
1015
862
|
};
|
1016
863
|
}>;
|
@@ -1032,12 +879,12 @@ export declare const accountContract: {
|
|
1032
879
|
updatedAt: Date;
|
1033
880
|
deletedAt: Date | null;
|
1034
881
|
smtpHost: string;
|
1035
|
-
smtpPort:
|
1036
|
-
smtpTlsPort:
|
882
|
+
smtpPort: string;
|
883
|
+
smtpTlsPort: string;
|
1037
884
|
useTlsForSmtp: boolean;
|
1038
885
|
imapHost: string;
|
1039
|
-
imapPort:
|
1040
|
-
imapTlsPort:
|
886
|
+
imapPort: string;
|
887
|
+
imapTlsPort: string;
|
1041
888
|
useTlsForImap: boolean;
|
1042
889
|
};
|
1043
890
|
};
|
@@ -1060,12 +907,12 @@ export declare const accountContract: {
|
|
1060
907
|
updatedAt: Date;
|
1061
908
|
deletedAt: Date | null;
|
1062
909
|
smtpHost: string;
|
1063
|
-
smtpPort:
|
1064
|
-
smtpTlsPort:
|
910
|
+
smtpPort: string;
|
911
|
+
smtpTlsPort: string;
|
1065
912
|
useTlsForSmtp: boolean;
|
1066
913
|
imapHost: string;
|
1067
|
-
imapPort:
|
1068
|
-
imapTlsPort:
|
914
|
+
imapPort: string;
|
915
|
+
imapTlsPort: string;
|
1069
916
|
useTlsForImap: boolean;
|
1070
917
|
};
|
1071
918
|
};
|
@@ -1150,12 +997,12 @@ export declare const accountContract: {
|
|
1150
997
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1151
998
|
name: z.ZodString;
|
1152
999
|
smtpHost: z.ZodString;
|
1153
|
-
smtpPort: z.
|
1154
|
-
smtpTlsPort: z.
|
1000
|
+
smtpPort: z.ZodString;
|
1001
|
+
smtpTlsPort: z.ZodString;
|
1155
1002
|
useTlsForSmtp: z.ZodBoolean;
|
1156
1003
|
imapHost: z.ZodString;
|
1157
|
-
imapPort: z.
|
1158
|
-
imapTlsPort: z.
|
1004
|
+
imapPort: z.ZodString;
|
1005
|
+
imapTlsPort: z.ZodString;
|
1159
1006
|
useTlsForImap: z.ZodBoolean;
|
1160
1007
|
}, "strip", z.ZodTypeAny, {
|
1161
1008
|
id: string;
|
@@ -1164,12 +1011,12 @@ export declare const accountContract: {
|
|
1164
1011
|
updatedAt: Date;
|
1165
1012
|
deletedAt: Date | null;
|
1166
1013
|
smtpHost: string;
|
1167
|
-
smtpPort:
|
1168
|
-
smtpTlsPort:
|
1014
|
+
smtpPort: string;
|
1015
|
+
smtpTlsPort: string;
|
1169
1016
|
useTlsForSmtp: boolean;
|
1170
1017
|
imapHost: string;
|
1171
|
-
imapPort:
|
1172
|
-
imapTlsPort:
|
1018
|
+
imapPort: string;
|
1019
|
+
imapTlsPort: string;
|
1173
1020
|
useTlsForImap: boolean;
|
1174
1021
|
}, {
|
1175
1022
|
id: string;
|
@@ -1178,12 +1025,12 @@ export declare const accountContract: {
|
|
1178
1025
|
updatedAt: Date;
|
1179
1026
|
deletedAt: Date | null;
|
1180
1027
|
smtpHost: string;
|
1181
|
-
smtpPort:
|
1182
|
-
smtpTlsPort:
|
1028
|
+
smtpPort: string;
|
1029
|
+
smtpTlsPort: string;
|
1183
1030
|
useTlsForSmtp: boolean;
|
1184
1031
|
imapHost: string;
|
1185
|
-
imapPort:
|
1186
|
-
imapTlsPort:
|
1032
|
+
imapPort: string;
|
1033
|
+
imapTlsPort: string;
|
1187
1034
|
useTlsForImap: boolean;
|
1188
1035
|
}>;
|
1189
1036
|
state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
|
@@ -1204,12 +1051,12 @@ export declare const accountContract: {
|
|
1204
1051
|
updatedAt: Date;
|
1205
1052
|
deletedAt: Date | null;
|
1206
1053
|
smtpHost: string;
|
1207
|
-
smtpPort:
|
1208
|
-
smtpTlsPort:
|
1054
|
+
smtpPort: string;
|
1055
|
+
smtpTlsPort: string;
|
1209
1056
|
useTlsForSmtp: boolean;
|
1210
1057
|
imapHost: string;
|
1211
|
-
imapPort:
|
1212
|
-
imapTlsPort:
|
1058
|
+
imapPort: string;
|
1059
|
+
imapTlsPort: string;
|
1213
1060
|
useTlsForImap: boolean;
|
1214
1061
|
};
|
1215
1062
|
}, {
|
@@ -1229,12 +1076,12 @@ export declare const accountContract: {
|
|
1229
1076
|
updatedAt: Date;
|
1230
1077
|
deletedAt: Date | null;
|
1231
1078
|
smtpHost: string;
|
1232
|
-
smtpPort:
|
1233
|
-
smtpTlsPort:
|
1079
|
+
smtpPort: string;
|
1080
|
+
smtpTlsPort: string;
|
1234
1081
|
useTlsForSmtp: boolean;
|
1235
1082
|
imapHost: string;
|
1236
|
-
imapPort:
|
1237
|
-
imapTlsPort:
|
1083
|
+
imapPort: string;
|
1084
|
+
imapTlsPort: string;
|
1238
1085
|
useTlsForImap: boolean;
|
1239
1086
|
};
|
1240
1087
|
}>;
|
@@ -1256,12 +1103,12 @@ export declare const accountContract: {
|
|
1256
1103
|
updatedAt: Date;
|
1257
1104
|
deletedAt: Date | null;
|
1258
1105
|
smtpHost: string;
|
1259
|
-
smtpPort:
|
1260
|
-
smtpTlsPort:
|
1106
|
+
smtpPort: string;
|
1107
|
+
smtpTlsPort: string;
|
1261
1108
|
useTlsForSmtp: boolean;
|
1262
1109
|
imapHost: string;
|
1263
|
-
imapPort:
|
1264
|
-
imapTlsPort:
|
1110
|
+
imapPort: string;
|
1111
|
+
imapTlsPort: string;
|
1265
1112
|
useTlsForImap: boolean;
|
1266
1113
|
};
|
1267
1114
|
};
|
@@ -1284,12 +1131,12 @@ export declare const accountContract: {
|
|
1284
1131
|
updatedAt: Date;
|
1285
1132
|
deletedAt: Date | null;
|
1286
1133
|
smtpHost: string;
|
1287
|
-
smtpPort:
|
1288
|
-
smtpTlsPort:
|
1134
|
+
smtpPort: string;
|
1135
|
+
smtpTlsPort: string;
|
1289
1136
|
useTlsForSmtp: boolean;
|
1290
1137
|
imapHost: string;
|
1291
|
-
imapPort:
|
1292
|
-
imapTlsPort:
|
1138
|
+
imapPort: string;
|
1139
|
+
imapTlsPort: string;
|
1293
1140
|
useTlsForImap: boolean;
|
1294
1141
|
};
|
1295
1142
|
};
|