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