@kl1/contracts 1.1.4 → 1.1.5-uat
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 +951 -888
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +950 -888
- package/dist/index.mjs.map +1 -1
- 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/contract.d.ts +5473 -3651
- 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 +360 -137
- 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 +1849 -1163
- 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/message-contract.d.ts +54 -54
- package/dist/src/mail/room-contract.d.ts +960 -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 +328 -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/viber/index.d.ts +73 -7
- package/dist/src/viber/index.d.ts.map +1 -1
- package/package.json +1 -1
@@ -100,8 +100,71 @@ export declare const accountContract: {
|
|
100
100
|
'x-client-timezone'?: string | undefined;
|
101
101
|
}>>>;
|
102
102
|
};
|
103
|
+
sync: {
|
104
|
+
summary: "Sync all accounts state from email engine to system";
|
105
|
+
method: "GET";
|
106
|
+
responses: {
|
107
|
+
401: z.ZodObject<{
|
108
|
+
message: z.ZodString;
|
109
|
+
error: z.ZodAny;
|
110
|
+
}, "strip", z.ZodTypeAny, {
|
111
|
+
message: string;
|
112
|
+
error?: any;
|
113
|
+
}, {
|
114
|
+
message: string;
|
115
|
+
error?: any;
|
116
|
+
}>;
|
117
|
+
404: z.ZodObject<{
|
118
|
+
message: z.ZodString;
|
119
|
+
error: z.ZodAny;
|
120
|
+
}, "strip", z.ZodTypeAny, {
|
121
|
+
message: string;
|
122
|
+
error?: any;
|
123
|
+
}, {
|
124
|
+
message: string;
|
125
|
+
error?: any;
|
126
|
+
}>;
|
127
|
+
422: z.ZodObject<{
|
128
|
+
message: z.ZodString;
|
129
|
+
error: z.ZodAny;
|
130
|
+
}, "strip", z.ZodTypeAny, {
|
131
|
+
message: string;
|
132
|
+
error?: any;
|
133
|
+
}, {
|
134
|
+
message: string;
|
135
|
+
error?: any;
|
136
|
+
}>;
|
137
|
+
200: z.ZodObject<{
|
138
|
+
requestId: z.ZodString;
|
139
|
+
message: z.ZodString;
|
140
|
+
}, "strip", z.ZodTypeAny, {
|
141
|
+
message: string;
|
142
|
+
requestId: string;
|
143
|
+
}, {
|
144
|
+
message: string;
|
145
|
+
requestId: string;
|
146
|
+
}>;
|
147
|
+
};
|
148
|
+
path: "mail/account/sync";
|
149
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
150
|
+
'x-tenant': z.ZodString;
|
151
|
+
authorization: z.ZodString;
|
152
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
153
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
154
|
+
}, "strip", z.ZodTypeAny, {
|
155
|
+
'x-tenant': string;
|
156
|
+
authorization: string;
|
157
|
+
'x-client-timezone': string;
|
158
|
+
'x-code'?: string | undefined;
|
159
|
+
}, {
|
160
|
+
'x-tenant': string;
|
161
|
+
authorization: string;
|
162
|
+
'x-code'?: string | undefined;
|
163
|
+
'x-client-timezone'?: string | undefined;
|
164
|
+
}>>>;
|
165
|
+
};
|
103
166
|
getById: {
|
104
|
-
summary: "Get
|
167
|
+
summary: "Get an account by id";
|
105
168
|
method: "GET";
|
106
169
|
pathParams: z.ZodObject<{
|
107
170
|
id: z.ZodString;
|
@@ -159,12 +222,12 @@ export declare const accountContract: {
|
|
159
222
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
160
223
|
name: z.ZodString;
|
161
224
|
smtpHost: z.ZodString;
|
162
|
-
smtpPort: z.
|
163
|
-
smtpTlsPort: z.
|
225
|
+
smtpPort: z.ZodNumber;
|
226
|
+
smtpTlsPort: z.ZodNumber;
|
164
227
|
useTlsForSmtp: z.ZodBoolean;
|
165
228
|
imapHost: z.ZodString;
|
166
|
-
imapPort: z.
|
167
|
-
imapTlsPort: z.
|
229
|
+
imapPort: z.ZodNumber;
|
230
|
+
imapTlsPort: z.ZodNumber;
|
168
231
|
useTlsForImap: z.ZodBoolean;
|
169
232
|
}, "strip", z.ZodTypeAny, {
|
170
233
|
id: string;
|
@@ -173,12 +236,12 @@ export declare const accountContract: {
|
|
173
236
|
updatedAt: Date;
|
174
237
|
deletedAt: Date | null;
|
175
238
|
smtpHost: string;
|
176
|
-
smtpPort:
|
177
|
-
smtpTlsPort:
|
239
|
+
smtpPort: number;
|
240
|
+
smtpTlsPort: number;
|
178
241
|
useTlsForSmtp: boolean;
|
179
242
|
imapHost: string;
|
180
|
-
imapPort:
|
181
|
-
imapTlsPort:
|
243
|
+
imapPort: number;
|
244
|
+
imapTlsPort: number;
|
182
245
|
useTlsForImap: boolean;
|
183
246
|
}, {
|
184
247
|
id: string;
|
@@ -187,12 +250,12 @@ export declare const accountContract: {
|
|
187
250
|
updatedAt: Date;
|
188
251
|
deletedAt: Date | null;
|
189
252
|
smtpHost: string;
|
190
|
-
smtpPort:
|
191
|
-
smtpTlsPort:
|
253
|
+
smtpPort: number;
|
254
|
+
smtpTlsPort: number;
|
192
255
|
useTlsForSmtp: boolean;
|
193
256
|
imapHost: string;
|
194
|
-
imapPort:
|
195
|
-
imapTlsPort:
|
257
|
+
imapPort: number;
|
258
|
+
imapTlsPort: number;
|
196
259
|
useTlsForImap: boolean;
|
197
260
|
}>;
|
198
261
|
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 +276,12 @@ export declare const accountContract: {
|
|
213
276
|
updatedAt: Date;
|
214
277
|
deletedAt: Date | null;
|
215
278
|
smtpHost: string;
|
216
|
-
smtpPort:
|
217
|
-
smtpTlsPort:
|
279
|
+
smtpPort: number;
|
280
|
+
smtpTlsPort: number;
|
218
281
|
useTlsForSmtp: boolean;
|
219
282
|
imapHost: string;
|
220
|
-
imapPort:
|
221
|
-
imapTlsPort:
|
283
|
+
imapPort: number;
|
284
|
+
imapTlsPort: number;
|
222
285
|
useTlsForImap: boolean;
|
223
286
|
};
|
224
287
|
}, {
|
@@ -238,12 +301,12 @@ export declare const accountContract: {
|
|
238
301
|
updatedAt: Date;
|
239
302
|
deletedAt: Date | null;
|
240
303
|
smtpHost: string;
|
241
|
-
smtpPort:
|
242
|
-
smtpTlsPort:
|
304
|
+
smtpPort: number;
|
305
|
+
smtpTlsPort: number;
|
243
306
|
useTlsForSmtp: boolean;
|
244
307
|
imapHost: string;
|
245
|
-
imapPort:
|
246
|
-
imapTlsPort:
|
308
|
+
imapPort: number;
|
309
|
+
imapTlsPort: number;
|
247
310
|
useTlsForImap: boolean;
|
248
311
|
};
|
249
312
|
}>;
|
@@ -265,12 +328,12 @@ export declare const accountContract: {
|
|
265
328
|
updatedAt: Date;
|
266
329
|
deletedAt: Date | null;
|
267
330
|
smtpHost: string;
|
268
|
-
smtpPort:
|
269
|
-
smtpTlsPort:
|
331
|
+
smtpPort: number;
|
332
|
+
smtpTlsPort: number;
|
270
333
|
useTlsForSmtp: boolean;
|
271
334
|
imapHost: string;
|
272
|
-
imapPort:
|
273
|
-
imapTlsPort:
|
335
|
+
imapPort: number;
|
336
|
+
imapTlsPort: number;
|
274
337
|
useTlsForImap: boolean;
|
275
338
|
};
|
276
339
|
};
|
@@ -293,12 +356,12 @@ export declare const accountContract: {
|
|
293
356
|
updatedAt: Date;
|
294
357
|
deletedAt: Date | null;
|
295
358
|
smtpHost: string;
|
296
|
-
smtpPort:
|
297
|
-
smtpTlsPort:
|
359
|
+
smtpPort: number;
|
360
|
+
smtpTlsPort: number;
|
298
361
|
useTlsForSmtp: boolean;
|
299
362
|
imapHost: string;
|
300
|
-
imapPort:
|
301
|
-
imapTlsPort:
|
363
|
+
imapPort: number;
|
364
|
+
imapTlsPort: number;
|
302
365
|
useTlsForImap: boolean;
|
303
366
|
};
|
304
367
|
};
|
@@ -324,8 +387,15 @@ export declare const accountContract: {
|
|
324
387
|
}>>>;
|
325
388
|
};
|
326
389
|
getAll: {
|
327
|
-
summary: "Get
|
390
|
+
summary: "Get all accounts";
|
328
391
|
method: "GET";
|
392
|
+
query: z.ZodOptional<z.ZodObject<{
|
393
|
+
state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">]>>;
|
394
|
+
}, "strip", z.ZodTypeAny, {
|
395
|
+
state?: "connected" | "disconnected" | undefined;
|
396
|
+
}, {
|
397
|
+
state?: "connected" | "disconnected" | undefined;
|
398
|
+
}>>;
|
329
399
|
responses: {
|
330
400
|
401: z.ZodObject<{
|
331
401
|
message: z.ZodString;
|
@@ -359,13 +429,166 @@ export declare const accountContract: {
|
|
359
429
|
}>;
|
360
430
|
200: z.ZodObject<{
|
361
431
|
requestId: z.ZodString;
|
362
|
-
data: z.
|
432
|
+
data: z.ZodArray<z.ZodObject<{
|
433
|
+
id: z.ZodString;
|
434
|
+
createdAt: z.ZodDate;
|
435
|
+
updatedAt: z.ZodDate;
|
436
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
437
|
+
name: z.ZodString;
|
438
|
+
address: z.ZodString;
|
439
|
+
accountId: z.ZodString;
|
440
|
+
mailServerId: z.ZodString;
|
441
|
+
mailServer: z.ZodObject<{
|
442
|
+
id: z.ZodString;
|
443
|
+
createdAt: z.ZodDate;
|
444
|
+
updatedAt: z.ZodDate;
|
445
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
446
|
+
name: z.ZodString;
|
447
|
+
smtpHost: z.ZodString;
|
448
|
+
smtpPort: z.ZodNumber;
|
449
|
+
smtpTlsPort: z.ZodNumber;
|
450
|
+
useTlsForSmtp: z.ZodBoolean;
|
451
|
+
imapHost: z.ZodString;
|
452
|
+
imapPort: z.ZodNumber;
|
453
|
+
imapTlsPort: z.ZodNumber;
|
454
|
+
useTlsForImap: z.ZodBoolean;
|
455
|
+
}, "strip", z.ZodTypeAny, {
|
456
|
+
id: string;
|
457
|
+
name: string;
|
458
|
+
createdAt: Date;
|
459
|
+
updatedAt: Date;
|
460
|
+
deletedAt: Date | null;
|
461
|
+
smtpHost: string;
|
462
|
+
smtpPort: number;
|
463
|
+
smtpTlsPort: number;
|
464
|
+
useTlsForSmtp: boolean;
|
465
|
+
imapHost: string;
|
466
|
+
imapPort: number;
|
467
|
+
imapTlsPort: number;
|
468
|
+
useTlsForImap: boolean;
|
469
|
+
}, {
|
470
|
+
id: string;
|
471
|
+
name: string;
|
472
|
+
createdAt: Date;
|
473
|
+
updatedAt: Date;
|
474
|
+
deletedAt: Date | null;
|
475
|
+
smtpHost: string;
|
476
|
+
smtpPort: number;
|
477
|
+
smtpTlsPort: number;
|
478
|
+
useTlsForSmtp: boolean;
|
479
|
+
imapHost: string;
|
480
|
+
imapPort: number;
|
481
|
+
imapTlsPort: number;
|
482
|
+
useTlsForImap: boolean;
|
483
|
+
}>;
|
484
|
+
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">]>;
|
485
|
+
}, "strip", z.ZodTypeAny, {
|
486
|
+
id: string;
|
487
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
488
|
+
address: string;
|
489
|
+
name: string;
|
490
|
+
createdAt: Date;
|
491
|
+
updatedAt: Date;
|
492
|
+
deletedAt: Date | null;
|
493
|
+
accountId: string;
|
494
|
+
mailServerId: string;
|
495
|
+
mailServer: {
|
496
|
+
id: string;
|
497
|
+
name: string;
|
498
|
+
createdAt: Date;
|
499
|
+
updatedAt: Date;
|
500
|
+
deletedAt: Date | null;
|
501
|
+
smtpHost: string;
|
502
|
+
smtpPort: number;
|
503
|
+
smtpTlsPort: number;
|
504
|
+
useTlsForSmtp: boolean;
|
505
|
+
imapHost: string;
|
506
|
+
imapPort: number;
|
507
|
+
imapTlsPort: number;
|
508
|
+
useTlsForImap: boolean;
|
509
|
+
};
|
510
|
+
}, {
|
511
|
+
id: string;
|
512
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
513
|
+
address: string;
|
514
|
+
name: string;
|
515
|
+
createdAt: Date;
|
516
|
+
updatedAt: Date;
|
517
|
+
deletedAt: Date | null;
|
518
|
+
accountId: string;
|
519
|
+
mailServerId: string;
|
520
|
+
mailServer: {
|
521
|
+
id: string;
|
522
|
+
name: string;
|
523
|
+
createdAt: Date;
|
524
|
+
updatedAt: Date;
|
525
|
+
deletedAt: Date | null;
|
526
|
+
smtpHost: string;
|
527
|
+
smtpPort: number;
|
528
|
+
smtpTlsPort: number;
|
529
|
+
useTlsForSmtp: boolean;
|
530
|
+
imapHost: string;
|
531
|
+
imapPort: number;
|
532
|
+
imapTlsPort: number;
|
533
|
+
useTlsForImap: boolean;
|
534
|
+
};
|
535
|
+
}>, "many">;
|
363
536
|
}, "strip", z.ZodTypeAny, {
|
537
|
+
data: {
|
538
|
+
id: string;
|
539
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
540
|
+
address: string;
|
541
|
+
name: string;
|
542
|
+
createdAt: Date;
|
543
|
+
updatedAt: Date;
|
544
|
+
deletedAt: Date | null;
|
545
|
+
accountId: string;
|
546
|
+
mailServerId: string;
|
547
|
+
mailServer: {
|
548
|
+
id: string;
|
549
|
+
name: string;
|
550
|
+
createdAt: Date;
|
551
|
+
updatedAt: Date;
|
552
|
+
deletedAt: Date | null;
|
553
|
+
smtpHost: string;
|
554
|
+
smtpPort: number;
|
555
|
+
smtpTlsPort: number;
|
556
|
+
useTlsForSmtp: boolean;
|
557
|
+
imapHost: string;
|
558
|
+
imapPort: number;
|
559
|
+
imapTlsPort: number;
|
560
|
+
useTlsForImap: boolean;
|
561
|
+
};
|
562
|
+
}[];
|
364
563
|
requestId: string;
|
365
|
-
data?: any;
|
366
564
|
}, {
|
565
|
+
data: {
|
566
|
+
id: string;
|
567
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
568
|
+
address: string;
|
569
|
+
name: string;
|
570
|
+
createdAt: Date;
|
571
|
+
updatedAt: Date;
|
572
|
+
deletedAt: Date | null;
|
573
|
+
accountId: string;
|
574
|
+
mailServerId: string;
|
575
|
+
mailServer: {
|
576
|
+
id: string;
|
577
|
+
name: string;
|
578
|
+
createdAt: Date;
|
579
|
+
updatedAt: Date;
|
580
|
+
deletedAt: Date | null;
|
581
|
+
smtpHost: string;
|
582
|
+
smtpPort: number;
|
583
|
+
smtpTlsPort: number;
|
584
|
+
useTlsForSmtp: boolean;
|
585
|
+
imapHost: string;
|
586
|
+
imapPort: number;
|
587
|
+
imapTlsPort: number;
|
588
|
+
useTlsForImap: boolean;
|
589
|
+
};
|
590
|
+
}[];
|
367
591
|
requestId: string;
|
368
|
-
data?: any;
|
369
592
|
}>;
|
370
593
|
};
|
371
594
|
path: "mail/account";
|
@@ -403,12 +626,12 @@ export declare const accountContract: {
|
|
403
626
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
404
627
|
name: z.ZodString;
|
405
628
|
smtpHost: z.ZodString;
|
406
|
-
smtpPort: z.
|
407
|
-
smtpTlsPort: z.
|
629
|
+
smtpPort: z.ZodNumber;
|
630
|
+
smtpTlsPort: z.ZodNumber;
|
408
631
|
useTlsForSmtp: z.ZodBoolean;
|
409
632
|
imapHost: z.ZodString;
|
410
|
-
imapPort: z.
|
411
|
-
imapTlsPort: z.
|
633
|
+
imapPort: z.ZodNumber;
|
634
|
+
imapTlsPort: z.ZodNumber;
|
412
635
|
useTlsForImap: z.ZodBoolean;
|
413
636
|
}, "strip", z.ZodTypeAny, {
|
414
637
|
id: string;
|
@@ -417,12 +640,12 @@ export declare const accountContract: {
|
|
417
640
|
updatedAt: Date;
|
418
641
|
deletedAt: Date | null;
|
419
642
|
smtpHost: string;
|
420
|
-
smtpPort:
|
421
|
-
smtpTlsPort:
|
643
|
+
smtpPort: number;
|
644
|
+
smtpTlsPort: number;
|
422
645
|
useTlsForSmtp: boolean;
|
423
646
|
imapHost: string;
|
424
|
-
imapPort:
|
425
|
-
imapTlsPort:
|
647
|
+
imapPort: number;
|
648
|
+
imapTlsPort: number;
|
426
649
|
useTlsForImap: boolean;
|
427
650
|
}, {
|
428
651
|
id: string;
|
@@ -431,12 +654,12 @@ export declare const accountContract: {
|
|
431
654
|
updatedAt: Date;
|
432
655
|
deletedAt: Date | null;
|
433
656
|
smtpHost: string;
|
434
|
-
smtpPort:
|
435
|
-
smtpTlsPort:
|
657
|
+
smtpPort: number;
|
658
|
+
smtpTlsPort: number;
|
436
659
|
useTlsForSmtp: boolean;
|
437
660
|
imapHost: string;
|
438
|
-
imapPort:
|
439
|
-
imapTlsPort:
|
661
|
+
imapPort: number;
|
662
|
+
imapTlsPort: number;
|
440
663
|
useTlsForImap: boolean;
|
441
664
|
}>>;
|
442
665
|
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 +679,12 @@ export declare const accountContract: {
|
|
456
679
|
updatedAt: Date;
|
457
680
|
deletedAt: Date | null;
|
458
681
|
smtpHost: string;
|
459
|
-
smtpPort:
|
460
|
-
smtpTlsPort:
|
682
|
+
smtpPort: number;
|
683
|
+
smtpTlsPort: number;
|
461
684
|
useTlsForSmtp: boolean;
|
462
685
|
imapHost: string;
|
463
|
-
imapPort:
|
464
|
-
imapTlsPort:
|
686
|
+
imapPort: number;
|
687
|
+
imapTlsPort: number;
|
465
688
|
useTlsForImap: boolean;
|
466
689
|
} | undefined;
|
467
690
|
state?: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset" | undefined;
|
@@ -481,12 +704,12 @@ export declare const accountContract: {
|
|
481
704
|
updatedAt: Date;
|
482
705
|
deletedAt: Date | null;
|
483
706
|
smtpHost: string;
|
484
|
-
smtpPort:
|
485
|
-
smtpTlsPort:
|
707
|
+
smtpPort: number;
|
708
|
+
smtpTlsPort: number;
|
486
709
|
useTlsForSmtp: boolean;
|
487
710
|
imapHost: string;
|
488
|
-
imapPort:
|
489
|
-
imapTlsPort:
|
711
|
+
imapPort: number;
|
712
|
+
imapTlsPort: number;
|
490
713
|
useTlsForImap: boolean;
|
491
714
|
} | undefined;
|
492
715
|
state?: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset" | undefined;
|
@@ -549,12 +772,12 @@ export declare const accountContract: {
|
|
549
772
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
550
773
|
name: z.ZodString;
|
551
774
|
smtpHost: z.ZodString;
|
552
|
-
smtpPort: z.
|
553
|
-
smtpTlsPort: z.
|
775
|
+
smtpPort: z.ZodNumber;
|
776
|
+
smtpTlsPort: z.ZodNumber;
|
554
777
|
useTlsForSmtp: z.ZodBoolean;
|
555
778
|
imapHost: z.ZodString;
|
556
|
-
imapPort: z.
|
557
|
-
imapTlsPort: z.
|
779
|
+
imapPort: z.ZodNumber;
|
780
|
+
imapTlsPort: z.ZodNumber;
|
558
781
|
useTlsForImap: z.ZodBoolean;
|
559
782
|
}, "strip", z.ZodTypeAny, {
|
560
783
|
id: string;
|
@@ -563,12 +786,12 @@ export declare const accountContract: {
|
|
563
786
|
updatedAt: Date;
|
564
787
|
deletedAt: Date | null;
|
565
788
|
smtpHost: string;
|
566
|
-
smtpPort:
|
567
|
-
smtpTlsPort:
|
789
|
+
smtpPort: number;
|
790
|
+
smtpTlsPort: number;
|
568
791
|
useTlsForSmtp: boolean;
|
569
792
|
imapHost: string;
|
570
|
-
imapPort:
|
571
|
-
imapTlsPort:
|
793
|
+
imapPort: number;
|
794
|
+
imapTlsPort: number;
|
572
795
|
useTlsForImap: boolean;
|
573
796
|
}, {
|
574
797
|
id: string;
|
@@ -577,12 +800,12 @@ export declare const accountContract: {
|
|
577
800
|
updatedAt: Date;
|
578
801
|
deletedAt: Date | null;
|
579
802
|
smtpHost: string;
|
580
|
-
smtpPort:
|
581
|
-
smtpTlsPort:
|
803
|
+
smtpPort: number;
|
804
|
+
smtpTlsPort: number;
|
582
805
|
useTlsForSmtp: boolean;
|
583
806
|
imapHost: string;
|
584
|
-
imapPort:
|
585
|
-
imapTlsPort:
|
807
|
+
imapPort: number;
|
808
|
+
imapTlsPort: number;
|
586
809
|
useTlsForImap: boolean;
|
587
810
|
}>;
|
588
811
|
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 +826,12 @@ export declare const accountContract: {
|
|
603
826
|
updatedAt: Date;
|
604
827
|
deletedAt: Date | null;
|
605
828
|
smtpHost: string;
|
606
|
-
smtpPort:
|
607
|
-
smtpTlsPort:
|
829
|
+
smtpPort: number;
|
830
|
+
smtpTlsPort: number;
|
608
831
|
useTlsForSmtp: boolean;
|
609
832
|
imapHost: string;
|
610
|
-
imapPort:
|
611
|
-
imapTlsPort:
|
833
|
+
imapPort: number;
|
834
|
+
imapTlsPort: number;
|
612
835
|
useTlsForImap: boolean;
|
613
836
|
};
|
614
837
|
}, {
|
@@ -628,12 +851,12 @@ export declare const accountContract: {
|
|
628
851
|
updatedAt: Date;
|
629
852
|
deletedAt: Date | null;
|
630
853
|
smtpHost: string;
|
631
|
-
smtpPort:
|
632
|
-
smtpTlsPort:
|
854
|
+
smtpPort: number;
|
855
|
+
smtpTlsPort: number;
|
633
856
|
useTlsForSmtp: boolean;
|
634
857
|
imapHost: string;
|
635
|
-
imapPort:
|
636
|
-
imapTlsPort:
|
858
|
+
imapPort: number;
|
859
|
+
imapTlsPort: number;
|
637
860
|
useTlsForImap: boolean;
|
638
861
|
};
|
639
862
|
}>;
|
@@ -655,12 +878,12 @@ export declare const accountContract: {
|
|
655
878
|
updatedAt: Date;
|
656
879
|
deletedAt: Date | null;
|
657
880
|
smtpHost: string;
|
658
|
-
smtpPort:
|
659
|
-
smtpTlsPort:
|
881
|
+
smtpPort: number;
|
882
|
+
smtpTlsPort: number;
|
660
883
|
useTlsForSmtp: boolean;
|
661
884
|
imapHost: string;
|
662
|
-
imapPort:
|
663
|
-
imapTlsPort:
|
885
|
+
imapPort: number;
|
886
|
+
imapTlsPort: number;
|
664
887
|
useTlsForImap: boolean;
|
665
888
|
};
|
666
889
|
};
|
@@ -683,12 +906,12 @@ export declare const accountContract: {
|
|
683
906
|
updatedAt: Date;
|
684
907
|
deletedAt: Date | null;
|
685
908
|
smtpHost: string;
|
686
|
-
smtpPort:
|
687
|
-
smtpTlsPort:
|
909
|
+
smtpPort: number;
|
910
|
+
smtpTlsPort: number;
|
688
911
|
useTlsForSmtp: boolean;
|
689
912
|
imapHost: string;
|
690
|
-
imapPort:
|
691
|
-
imapTlsPort:
|
913
|
+
imapPort: number;
|
914
|
+
imapTlsPort: number;
|
692
915
|
useTlsForImap: boolean;
|
693
916
|
};
|
694
917
|
};
|
@@ -773,12 +996,12 @@ export declare const accountContract: {
|
|
773
996
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
774
997
|
name: z.ZodString;
|
775
998
|
smtpHost: z.ZodString;
|
776
|
-
smtpPort: z.
|
777
|
-
smtpTlsPort: z.
|
999
|
+
smtpPort: z.ZodNumber;
|
1000
|
+
smtpTlsPort: z.ZodNumber;
|
778
1001
|
useTlsForSmtp: z.ZodBoolean;
|
779
1002
|
imapHost: z.ZodString;
|
780
|
-
imapPort: z.
|
781
|
-
imapTlsPort: z.
|
1003
|
+
imapPort: z.ZodNumber;
|
1004
|
+
imapTlsPort: z.ZodNumber;
|
782
1005
|
useTlsForImap: z.ZodBoolean;
|
783
1006
|
}, "strip", z.ZodTypeAny, {
|
784
1007
|
id: string;
|
@@ -787,12 +1010,12 @@ export declare const accountContract: {
|
|
787
1010
|
updatedAt: Date;
|
788
1011
|
deletedAt: Date | null;
|
789
1012
|
smtpHost: string;
|
790
|
-
smtpPort:
|
791
|
-
smtpTlsPort:
|
1013
|
+
smtpPort: number;
|
1014
|
+
smtpTlsPort: number;
|
792
1015
|
useTlsForSmtp: boolean;
|
793
1016
|
imapHost: string;
|
794
|
-
imapPort:
|
795
|
-
imapTlsPort:
|
1017
|
+
imapPort: number;
|
1018
|
+
imapTlsPort: number;
|
796
1019
|
useTlsForImap: boolean;
|
797
1020
|
}, {
|
798
1021
|
id: string;
|
@@ -801,12 +1024,12 @@ export declare const accountContract: {
|
|
801
1024
|
updatedAt: Date;
|
802
1025
|
deletedAt: Date | null;
|
803
1026
|
smtpHost: string;
|
804
|
-
smtpPort:
|
805
|
-
smtpTlsPort:
|
1027
|
+
smtpPort: number;
|
1028
|
+
smtpTlsPort: number;
|
806
1029
|
useTlsForSmtp: boolean;
|
807
1030
|
imapHost: string;
|
808
|
-
imapPort:
|
809
|
-
imapTlsPort:
|
1031
|
+
imapPort: number;
|
1032
|
+
imapTlsPort: number;
|
810
1033
|
useTlsForImap: boolean;
|
811
1034
|
}>;
|
812
1035
|
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 +1050,12 @@ export declare const accountContract: {
|
|
827
1050
|
updatedAt: Date;
|
828
1051
|
deletedAt: Date | null;
|
829
1052
|
smtpHost: string;
|
830
|
-
smtpPort:
|
831
|
-
smtpTlsPort:
|
1053
|
+
smtpPort: number;
|
1054
|
+
smtpTlsPort: number;
|
832
1055
|
useTlsForSmtp: boolean;
|
833
1056
|
imapHost: string;
|
834
|
-
imapPort:
|
835
|
-
imapTlsPort:
|
1057
|
+
imapPort: number;
|
1058
|
+
imapTlsPort: number;
|
836
1059
|
useTlsForImap: boolean;
|
837
1060
|
};
|
838
1061
|
}, {
|
@@ -852,12 +1075,12 @@ export declare const accountContract: {
|
|
852
1075
|
updatedAt: Date;
|
853
1076
|
deletedAt: Date | null;
|
854
1077
|
smtpHost: string;
|
855
|
-
smtpPort:
|
856
|
-
smtpTlsPort:
|
1078
|
+
smtpPort: number;
|
1079
|
+
smtpTlsPort: number;
|
857
1080
|
useTlsForSmtp: boolean;
|
858
1081
|
imapHost: string;
|
859
|
-
imapPort:
|
860
|
-
imapTlsPort:
|
1082
|
+
imapPort: number;
|
1083
|
+
imapTlsPort: number;
|
861
1084
|
useTlsForImap: boolean;
|
862
1085
|
};
|
863
1086
|
}>;
|
@@ -879,12 +1102,12 @@ export declare const accountContract: {
|
|
879
1102
|
updatedAt: Date;
|
880
1103
|
deletedAt: Date | null;
|
881
1104
|
smtpHost: string;
|
882
|
-
smtpPort:
|
883
|
-
smtpTlsPort:
|
1105
|
+
smtpPort: number;
|
1106
|
+
smtpTlsPort: number;
|
884
1107
|
useTlsForSmtp: boolean;
|
885
1108
|
imapHost: string;
|
886
|
-
imapPort:
|
887
|
-
imapTlsPort:
|
1109
|
+
imapPort: number;
|
1110
|
+
imapTlsPort: number;
|
888
1111
|
useTlsForImap: boolean;
|
889
1112
|
};
|
890
1113
|
};
|
@@ -907,12 +1130,12 @@ export declare const accountContract: {
|
|
907
1130
|
updatedAt: Date;
|
908
1131
|
deletedAt: Date | null;
|
909
1132
|
smtpHost: string;
|
910
|
-
smtpPort:
|
911
|
-
smtpTlsPort:
|
1133
|
+
smtpPort: number;
|
1134
|
+
smtpTlsPort: number;
|
912
1135
|
useTlsForSmtp: boolean;
|
913
1136
|
imapHost: string;
|
914
|
-
imapPort:
|
915
|
-
imapTlsPort:
|
1137
|
+
imapPort: number;
|
1138
|
+
imapTlsPort: number;
|
916
1139
|
useTlsForImap: boolean;
|
917
1140
|
};
|
918
1141
|
};
|
@@ -997,12 +1220,12 @@ export declare const accountContract: {
|
|
997
1220
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
998
1221
|
name: z.ZodString;
|
999
1222
|
smtpHost: z.ZodString;
|
1000
|
-
smtpPort: z.
|
1001
|
-
smtpTlsPort: z.
|
1223
|
+
smtpPort: z.ZodNumber;
|
1224
|
+
smtpTlsPort: z.ZodNumber;
|
1002
1225
|
useTlsForSmtp: z.ZodBoolean;
|
1003
1226
|
imapHost: z.ZodString;
|
1004
|
-
imapPort: z.
|
1005
|
-
imapTlsPort: z.
|
1227
|
+
imapPort: z.ZodNumber;
|
1228
|
+
imapTlsPort: z.ZodNumber;
|
1006
1229
|
useTlsForImap: z.ZodBoolean;
|
1007
1230
|
}, "strip", z.ZodTypeAny, {
|
1008
1231
|
id: string;
|
@@ -1011,12 +1234,12 @@ export declare const accountContract: {
|
|
1011
1234
|
updatedAt: Date;
|
1012
1235
|
deletedAt: Date | null;
|
1013
1236
|
smtpHost: string;
|
1014
|
-
smtpPort:
|
1015
|
-
smtpTlsPort:
|
1237
|
+
smtpPort: number;
|
1238
|
+
smtpTlsPort: number;
|
1016
1239
|
useTlsForSmtp: boolean;
|
1017
1240
|
imapHost: string;
|
1018
|
-
imapPort:
|
1019
|
-
imapTlsPort:
|
1241
|
+
imapPort: number;
|
1242
|
+
imapTlsPort: number;
|
1020
1243
|
useTlsForImap: boolean;
|
1021
1244
|
}, {
|
1022
1245
|
id: string;
|
@@ -1025,12 +1248,12 @@ export declare const accountContract: {
|
|
1025
1248
|
updatedAt: Date;
|
1026
1249
|
deletedAt: Date | null;
|
1027
1250
|
smtpHost: string;
|
1028
|
-
smtpPort:
|
1029
|
-
smtpTlsPort:
|
1251
|
+
smtpPort: number;
|
1252
|
+
smtpTlsPort: number;
|
1030
1253
|
useTlsForSmtp: boolean;
|
1031
1254
|
imapHost: string;
|
1032
|
-
imapPort:
|
1033
|
-
imapTlsPort:
|
1255
|
+
imapPort: number;
|
1256
|
+
imapTlsPort: number;
|
1034
1257
|
useTlsForImap: boolean;
|
1035
1258
|
}>;
|
1036
1259
|
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 +1274,12 @@ export declare const accountContract: {
|
|
1051
1274
|
updatedAt: Date;
|
1052
1275
|
deletedAt: Date | null;
|
1053
1276
|
smtpHost: string;
|
1054
|
-
smtpPort:
|
1055
|
-
smtpTlsPort:
|
1277
|
+
smtpPort: number;
|
1278
|
+
smtpTlsPort: number;
|
1056
1279
|
useTlsForSmtp: boolean;
|
1057
1280
|
imapHost: string;
|
1058
|
-
imapPort:
|
1059
|
-
imapTlsPort:
|
1281
|
+
imapPort: number;
|
1282
|
+
imapTlsPort: number;
|
1060
1283
|
useTlsForImap: boolean;
|
1061
1284
|
};
|
1062
1285
|
}, {
|
@@ -1076,12 +1299,12 @@ export declare const accountContract: {
|
|
1076
1299
|
updatedAt: Date;
|
1077
1300
|
deletedAt: Date | null;
|
1078
1301
|
smtpHost: string;
|
1079
|
-
smtpPort:
|
1080
|
-
smtpTlsPort:
|
1302
|
+
smtpPort: number;
|
1303
|
+
smtpTlsPort: number;
|
1081
1304
|
useTlsForSmtp: boolean;
|
1082
1305
|
imapHost: string;
|
1083
|
-
imapPort:
|
1084
|
-
imapTlsPort:
|
1306
|
+
imapPort: number;
|
1307
|
+
imapTlsPort: number;
|
1085
1308
|
useTlsForImap: boolean;
|
1086
1309
|
};
|
1087
1310
|
}>;
|
@@ -1103,12 +1326,12 @@ export declare const accountContract: {
|
|
1103
1326
|
updatedAt: Date;
|
1104
1327
|
deletedAt: Date | null;
|
1105
1328
|
smtpHost: string;
|
1106
|
-
smtpPort:
|
1107
|
-
smtpTlsPort:
|
1329
|
+
smtpPort: number;
|
1330
|
+
smtpTlsPort: number;
|
1108
1331
|
useTlsForSmtp: boolean;
|
1109
1332
|
imapHost: string;
|
1110
|
-
imapPort:
|
1111
|
-
imapTlsPort:
|
1333
|
+
imapPort: number;
|
1334
|
+
imapTlsPort: number;
|
1112
1335
|
useTlsForImap: boolean;
|
1113
1336
|
};
|
1114
1337
|
};
|
@@ -1131,12 +1354,12 @@ export declare const accountContract: {
|
|
1131
1354
|
updatedAt: Date;
|
1132
1355
|
deletedAt: Date | null;
|
1133
1356
|
smtpHost: string;
|
1134
|
-
smtpPort:
|
1135
|
-
smtpTlsPort:
|
1357
|
+
smtpPort: number;
|
1358
|
+
smtpTlsPort: number;
|
1136
1359
|
useTlsForSmtp: boolean;
|
1137
1360
|
imapHost: string;
|
1138
|
-
imapPort:
|
1139
|
-
imapTlsPort:
|
1361
|
+
imapPort: number;
|
1362
|
+
imapTlsPort: number;
|
1140
1363
|
useTlsForImap: boolean;
|
1141
1364
|
};
|
1142
1365
|
};
|