@kl1/contracts 1.1.25-uat → 1.1.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist/index.js +2646 -2501
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +2644 -2501
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/business-calendar/index.d.ts +820 -0
  6. package/dist/src/business-calendar/index.d.ts.map +1 -0
  7. package/dist/src/business-calendar/schema.d.ts +180 -0
  8. package/dist/src/business-calendar/schema.d.ts.map +1 -0
  9. package/dist/src/business-calendar/validation.d.ts +210 -0
  10. package/dist/src/business-calendar/validation.d.ts.map +1 -0
  11. package/dist/src/chat/index.d.ts +796 -0
  12. package/dist/src/chat/index.d.ts.map +1 -1
  13. package/dist/src/chat/schema.d.ts +189 -21
  14. package/dist/src/chat/schema.d.ts.map +1 -1
  15. package/dist/src/chat/validation.d.ts +140 -0
  16. package/dist/src/chat/validation.d.ts.map +1 -1
  17. package/dist/src/contract.d.ts +10320 -3747
  18. package/dist/src/contract.d.ts.map +1 -1
  19. package/dist/src/instagram/index.d.ts +140 -0
  20. package/dist/src/instagram/index.d.ts.map +1 -1
  21. package/dist/src/line/index.d.ts +140 -0
  22. package/dist/src/line/index.d.ts.map +1 -1
  23. package/dist/src/mail/mail-contract.d.ts +3 -2213
  24. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  25. package/dist/src/mail/message-contract.d.ts +1 -2045
  26. package/dist/src/mail/message-contract.d.ts.map +1 -1
  27. package/dist/src/mail/room-contract.d.ts +2 -170
  28. package/dist/src/mail/room-contract.d.ts.map +1 -1
  29. package/dist/src/mail/schemas/message-validation.schema.d.ts +0 -3
  30. package/dist/src/mail/schemas/message-validation.schema.d.ts.map +1 -1
  31. package/dist/src/mail/schemas/message.schema.d.ts +0 -6
  32. package/dist/src/mail/schemas/message.schema.d.ts.map +1 -1
  33. package/dist/src/mail/schemas/room-validation.schema.d.ts +2 -58
  34. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  35. package/dist/src/mail/schemas/room.schema.d.ts +0 -46
  36. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  37. package/dist/src/messenger/index.d.ts +140 -0
  38. package/dist/src/messenger/index.d.ts.map +1 -1
  39. package/dist/src/viber/index.d.ts +140 -0
  40. package/dist/src/viber/index.d.ts.map +1 -1
  41. package/dist/src/webchat/index.d.ts +140 -0
  42. package/dist/src/webchat/index.d.ts.map +1 -1
  43. package/dist/src/workflow-rule/index.d.ts +6475 -0
  44. package/dist/src/workflow-rule/index.d.ts.map +1 -0
  45. package/dist/src/workflow-rule/schema.d.ts +27 -0
  46. package/dist/src/workflow-rule/schema.d.ts.map +1 -0
  47. package/dist/src/wrap-up-form/index.d.ts +0 -3
  48. package/dist/src/wrap-up-form/index.d.ts.map +1 -1
  49. package/dist/src/wrap-up-form/validation.d.ts +0 -3
  50. package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
  51. package/package.json +1 -1
@@ -83,7 +83,7 @@ export declare const mailContract: {
83
83
  date?: string | undefined;
84
84
  contacts?: string[] | undefined;
85
85
  assignees?: string[] | undefined;
86
- level1?: "open" | "close" | "starred" | "inbox" | "sent" | "scheduled" | undefined;
86
+ level1?: "open" | "close" | "inbox" | "sent" | "scheduled" | "starred" | undefined;
87
87
  level2?: "all" | "other" | "unassign" | "mine" | undefined;
88
88
  }, {
89
89
  page?: number | undefined;
@@ -97,7 +97,7 @@ export declare const mailContract: {
97
97
  date?: string | undefined;
98
98
  contacts?: string[] | undefined;
99
99
  assignees?: string[] | undefined;
100
- level1?: "open" | "close" | "starred" | "inbox" | "sent" | "scheduled" | undefined;
100
+ level1?: "open" | "close" | "inbox" | "sent" | "scheduled" | "starred" | undefined;
101
101
  level2?: "all" | "other" | "unassign" | "mine" | undefined;
102
102
  }>;
103
103
  responses: {
@@ -251,8 +251,6 @@ export declare const mailContract: {
251
251
  date: import("zod").ZodDate;
252
252
  action: import("zod").ZodString;
253
253
  unseen: import("zod").ZodBoolean;
254
- sendAt: import("zod").ZodDate;
255
- starred: import("zod").ZodBoolean;
256
254
  seemsLikeNew: import("zod").ZodBoolean;
257
255
  from: import("zod").ZodArray<import("zod").ZodObject<{
258
256
  id: import("zod").ZodString;
@@ -451,8 +449,6 @@ export declare const mailContract: {
451
449
  emailEngineMessageId: string;
452
450
  emailEngineReplyTo: string | null;
453
451
  unseen: boolean;
454
- sendAt: Date;
455
- starred: boolean;
456
452
  seemsLikeNew: boolean;
457
453
  from: {
458
454
  id: string;
@@ -527,8 +523,6 @@ export declare const mailContract: {
527
523
  emailEngineMessageId: string;
528
524
  emailEngineReplyTo: string | null;
529
525
  unseen: boolean;
530
- sendAt: Date;
531
- starred: boolean;
532
526
  seemsLikeNew: boolean;
533
527
  from: {
534
528
  id: string;
@@ -604,8 +598,6 @@ export declare const mailContract: {
604
598
  date: import("zod").ZodDate;
605
599
  action: import("zod").ZodString;
606
600
  unseen: import("zod").ZodBoolean;
607
- sendAt: import("zod").ZodDate;
608
- starred: import("zod").ZodBoolean;
609
601
  seemsLikeNew: import("zod").ZodBoolean;
610
602
  from: import("zod").ZodArray<import("zod").ZodObject<{
611
603
  id: import("zod").ZodString;
@@ -804,8 +796,6 @@ export declare const mailContract: {
804
796
  emailEngineMessageId: string;
805
797
  emailEngineReplyTo: string | null;
806
798
  unseen: boolean;
807
- sendAt: Date;
808
- starred: boolean;
809
799
  seemsLikeNew: boolean;
810
800
  from: {
811
801
  id: string;
@@ -880,8 +870,6 @@ export declare const mailContract: {
880
870
  emailEngineMessageId: string;
881
871
  emailEngineReplyTo: string | null;
882
872
  unseen: boolean;
883
- sendAt: Date;
884
- starred: boolean;
885
873
  seemsLikeNew: boolean;
886
874
  from: {
887
875
  id: string;
@@ -1010,8 +998,6 @@ export declare const mailContract: {
1010
998
  date: import("zod").ZodDate;
1011
999
  action: import("zod").ZodString;
1012
1000
  unseen: import("zod").ZodBoolean;
1013
- sendAt: import("zod").ZodDate;
1014
- starred: import("zod").ZodBoolean;
1015
1001
  seemsLikeNew: import("zod").ZodBoolean;
1016
1002
  from: import("zod").ZodArray<import("zod").ZodObject<{
1017
1003
  id: import("zod").ZodString;
@@ -1210,8 +1196,6 @@ export declare const mailContract: {
1210
1196
  emailEngineMessageId: string;
1211
1197
  emailEngineReplyTo: string | null;
1212
1198
  unseen: boolean;
1213
- sendAt: Date;
1214
- starred: boolean;
1215
1199
  seemsLikeNew: boolean;
1216
1200
  from: {
1217
1201
  id: string;
@@ -1286,8 +1270,6 @@ export declare const mailContract: {
1286
1270
  emailEngineMessageId: string;
1287
1271
  emailEngineReplyTo: string | null;
1288
1272
  unseen: boolean;
1289
- sendAt: Date;
1290
- starred: boolean;
1291
1273
  seemsLikeNew: boolean;
1292
1274
  from: {
1293
1275
  id: string;
@@ -1363,8 +1345,6 @@ export declare const mailContract: {
1363
1345
  date: import("zod").ZodDate;
1364
1346
  action: import("zod").ZodString;
1365
1347
  unseen: import("zod").ZodBoolean;
1366
- sendAt: import("zod").ZodDate;
1367
- starred: import("zod").ZodBoolean;
1368
1348
  seemsLikeNew: import("zod").ZodBoolean;
1369
1349
  from: import("zod").ZodArray<import("zod").ZodObject<{
1370
1350
  id: import("zod").ZodString;
@@ -1563,8 +1543,6 @@ export declare const mailContract: {
1563
1543
  emailEngineMessageId: string;
1564
1544
  emailEngineReplyTo: string | null;
1565
1545
  unseen: boolean;
1566
- sendAt: Date;
1567
- starred: boolean;
1568
1546
  seemsLikeNew: boolean;
1569
1547
  from: {
1570
1548
  id: string;
@@ -1639,8 +1617,6 @@ export declare const mailContract: {
1639
1617
  emailEngineMessageId: string;
1640
1618
  emailEngineReplyTo: string | null;
1641
1619
  unseen: boolean;
1642
- sendAt: Date;
1643
- starred: boolean;
1644
1620
  seemsLikeNew: boolean;
1645
1621
  from: {
1646
1622
  id: string;
@@ -2057,8 +2033,6 @@ export declare const mailContract: {
2057
2033
  emailEngineMessageId: string;
2058
2034
  emailEngineReplyTo: string | null;
2059
2035
  unseen: boolean;
2060
- sendAt: Date;
2061
- starred: boolean;
2062
2036
  seemsLikeNew: boolean;
2063
2037
  from: {
2064
2038
  id: string;
@@ -2217,8 +2191,6 @@ export declare const mailContract: {
2217
2191
  emailEngineMessageId: string;
2218
2192
  emailEngineReplyTo: string | null;
2219
2193
  unseen: boolean;
2220
- sendAt: Date;
2221
- starred: boolean;
2222
2194
  seemsLikeNew: boolean;
2223
2195
  from: {
2224
2196
  id: string;
@@ -2294,8 +2266,6 @@ export declare const mailContract: {
2294
2266
  emailEngineMessageId: string;
2295
2267
  emailEngineReplyTo: string | null;
2296
2268
  unseen: boolean;
2297
- sendAt: Date;
2298
- starred: boolean;
2299
2269
  seemsLikeNew: boolean;
2300
2270
  from: {
2301
2271
  id: string;
@@ -2371,8 +2341,6 @@ export declare const mailContract: {
2371
2341
  emailEngineMessageId: string;
2372
2342
  emailEngineReplyTo: string | null;
2373
2343
  unseen: boolean;
2374
- sendAt: Date;
2375
- starred: boolean;
2376
2344
  seemsLikeNew: boolean;
2377
2345
  from: {
2378
2346
  id: string;
@@ -2509,8 +2477,6 @@ export declare const mailContract: {
2509
2477
  emailEngineMessageId: string;
2510
2478
  emailEngineReplyTo: string | null;
2511
2479
  unseen: boolean;
2512
- sendAt: Date;
2513
- starred: boolean;
2514
2480
  seemsLikeNew: boolean;
2515
2481
  from: {
2516
2482
  id: string;
@@ -2669,8 +2635,6 @@ export declare const mailContract: {
2669
2635
  emailEngineMessageId: string;
2670
2636
  emailEngineReplyTo: string | null;
2671
2637
  unseen: boolean;
2672
- sendAt: Date;
2673
- starred: boolean;
2674
2638
  seemsLikeNew: boolean;
2675
2639
  from: {
2676
2640
  id: string;
@@ -2746,8 +2710,6 @@ export declare const mailContract: {
2746
2710
  emailEngineMessageId: string;
2747
2711
  emailEngineReplyTo: string | null;
2748
2712
  unseen: boolean;
2749
- sendAt: Date;
2750
- starred: boolean;
2751
2713
  seemsLikeNew: boolean;
2752
2714
  from: {
2753
2715
  id: string;
@@ -2823,8 +2785,6 @@ export declare const mailContract: {
2823
2785
  emailEngineMessageId: string;
2824
2786
  emailEngineReplyTo: string | null;
2825
2787
  unseen: boolean;
2826
- sendAt: Date;
2827
- starred: boolean;
2828
2788
  seemsLikeNew: boolean;
2829
2789
  from: {
2830
2790
  id: string;
@@ -2966,8 +2926,6 @@ export declare const mailContract: {
2966
2926
  emailEngineMessageId: string;
2967
2927
  emailEngineReplyTo: string | null;
2968
2928
  unseen: boolean;
2969
- sendAt: Date;
2970
- starred: boolean;
2971
2929
  seemsLikeNew: boolean;
2972
2930
  from: {
2973
2931
  id: string;
@@ -3126,8 +3084,6 @@ export declare const mailContract: {
3126
3084
  emailEngineMessageId: string;
3127
3085
  emailEngineReplyTo: string | null;
3128
3086
  unseen: boolean;
3129
- sendAt: Date;
3130
- starred: boolean;
3131
3087
  seemsLikeNew: boolean;
3132
3088
  from: {
3133
3089
  id: string;
@@ -3203,8 +3159,6 @@ export declare const mailContract: {
3203
3159
  emailEngineMessageId: string;
3204
3160
  emailEngineReplyTo: string | null;
3205
3161
  unseen: boolean;
3206
- sendAt: Date;
3207
- starred: boolean;
3208
3162
  seemsLikeNew: boolean;
3209
3163
  from: {
3210
3164
  id: string;
@@ -3280,8 +3234,6 @@ export declare const mailContract: {
3280
3234
  emailEngineMessageId: string;
3281
3235
  emailEngineReplyTo: string | null;
3282
3236
  unseen: boolean;
3283
- sendAt: Date;
3284
- starred: boolean;
3285
3237
  seemsLikeNew: boolean;
3286
3238
  from: {
3287
3239
  id: string;
@@ -3424,8 +3376,6 @@ export declare const mailContract: {
3424
3376
  emailEngineMessageId: string;
3425
3377
  emailEngineReplyTo: string | null;
3426
3378
  unseen: boolean;
3427
- sendAt: Date;
3428
- starred: boolean;
3429
3379
  seemsLikeNew: boolean;
3430
3380
  from: {
3431
3381
  id: string;
@@ -3584,8 +3534,6 @@ export declare const mailContract: {
3584
3534
  emailEngineMessageId: string;
3585
3535
  emailEngineReplyTo: string | null;
3586
3536
  unseen: boolean;
3587
- sendAt: Date;
3588
- starred: boolean;
3589
3537
  seemsLikeNew: boolean;
3590
3538
  from: {
3591
3539
  id: string;
@@ -3661,8 +3609,6 @@ export declare const mailContract: {
3661
3609
  emailEngineMessageId: string;
3662
3610
  emailEngineReplyTo: string | null;
3663
3611
  unseen: boolean;
3664
- sendAt: Date;
3665
- starred: boolean;
3666
3612
  seemsLikeNew: boolean;
3667
3613
  from: {
3668
3614
  id: string;
@@ -3738,8 +3684,6 @@ export declare const mailContract: {
3738
3684
  emailEngineMessageId: string;
3739
3685
  emailEngineReplyTo: string | null;
3740
3686
  unseen: boolean;
3741
- sendAt: Date;
3742
- starred: boolean;
3743
3687
  seemsLikeNew: boolean;
3744
3688
  from: {
3745
3689
  id: string;
@@ -4740,8 +4684,6 @@ export declare const mailContract: {
4740
4684
  date: import("zod").ZodDate;
4741
4685
  action: import("zod").ZodString;
4742
4686
  unseen: import("zod").ZodBoolean;
4743
- sendAt: import("zod").ZodDate;
4744
- starred: import("zod").ZodBoolean;
4745
4687
  seemsLikeNew: import("zod").ZodBoolean;
4746
4688
  from: import("zod").ZodArray<import("zod").ZodObject<{
4747
4689
  id: import("zod").ZodString;
@@ -4940,8 +4882,6 @@ export declare const mailContract: {
4940
4882
  emailEngineMessageId: string;
4941
4883
  emailEngineReplyTo: string | null;
4942
4884
  unseen: boolean;
4943
- sendAt: Date;
4944
- starred: boolean;
4945
4885
  seemsLikeNew: boolean;
4946
4886
  from: {
4947
4887
  id: string;
@@ -5016,8 +4956,6 @@ export declare const mailContract: {
5016
4956
  emailEngineMessageId: string;
5017
4957
  emailEngineReplyTo: string | null;
5018
4958
  unseen: boolean;
5019
- sendAt: Date;
5020
- starred: boolean;
5021
4959
  seemsLikeNew: boolean;
5022
4960
  from: {
5023
4961
  id: string;
@@ -5093,8 +5031,6 @@ export declare const mailContract: {
5093
5031
  date: import("zod").ZodDate;
5094
5032
  action: import("zod").ZodString;
5095
5033
  unseen: import("zod").ZodBoolean;
5096
- sendAt: import("zod").ZodDate;
5097
- starred: import("zod").ZodBoolean;
5098
5034
  seemsLikeNew: import("zod").ZodBoolean;
5099
5035
  from: import("zod").ZodArray<import("zod").ZodObject<{
5100
5036
  id: import("zod").ZodString;
@@ -5293,8 +5229,6 @@ export declare const mailContract: {
5293
5229
  emailEngineMessageId: string;
5294
5230
  emailEngineReplyTo: string | null;
5295
5231
  unseen: boolean;
5296
- sendAt: Date;
5297
- starred: boolean;
5298
5232
  seemsLikeNew: boolean;
5299
5233
  from: {
5300
5234
  id: string;
@@ -5369,8 +5303,6 @@ export declare const mailContract: {
5369
5303
  emailEngineMessageId: string;
5370
5304
  emailEngineReplyTo: string | null;
5371
5305
  unseen: boolean;
5372
- sendAt: Date;
5373
- starred: boolean;
5374
5306
  seemsLikeNew: boolean;
5375
5307
  from: {
5376
5308
  id: string;
@@ -5499,8 +5431,6 @@ export declare const mailContract: {
5499
5431
  date: import("zod").ZodDate;
5500
5432
  action: import("zod").ZodString;
5501
5433
  unseen: import("zod").ZodBoolean;
5502
- sendAt: import("zod").ZodDate;
5503
- starred: import("zod").ZodBoolean;
5504
5434
  seemsLikeNew: import("zod").ZodBoolean;
5505
5435
  from: import("zod").ZodArray<import("zod").ZodObject<{
5506
5436
  id: import("zod").ZodString;
@@ -5699,8 +5629,6 @@ export declare const mailContract: {
5699
5629
  emailEngineMessageId: string;
5700
5630
  emailEngineReplyTo: string | null;
5701
5631
  unseen: boolean;
5702
- sendAt: Date;
5703
- starred: boolean;
5704
5632
  seemsLikeNew: boolean;
5705
5633
  from: {
5706
5634
  id: string;
@@ -5775,8 +5703,6 @@ export declare const mailContract: {
5775
5703
  emailEngineMessageId: string;
5776
5704
  emailEngineReplyTo: string | null;
5777
5705
  unseen: boolean;
5778
- sendAt: Date;
5779
- starred: boolean;
5780
5706
  seemsLikeNew: boolean;
5781
5707
  from: {
5782
5708
  id: string;
@@ -5852,8 +5778,6 @@ export declare const mailContract: {
5852
5778
  date: import("zod").ZodDate;
5853
5779
  action: import("zod").ZodString;
5854
5780
  unseen: import("zod").ZodBoolean;
5855
- sendAt: import("zod").ZodDate;
5856
- starred: import("zod").ZodBoolean;
5857
5781
  seemsLikeNew: import("zod").ZodBoolean;
5858
5782
  from: import("zod").ZodArray<import("zod").ZodObject<{
5859
5783
  id: import("zod").ZodString;
@@ -6052,8 +5976,6 @@ export declare const mailContract: {
6052
5976
  emailEngineMessageId: string;
6053
5977
  emailEngineReplyTo: string | null;
6054
5978
  unseen: boolean;
6055
- sendAt: Date;
6056
- starred: boolean;
6057
5979
  seemsLikeNew: boolean;
6058
5980
  from: {
6059
5981
  id: string;
@@ -6128,8 +6050,6 @@ export declare const mailContract: {
6128
6050
  emailEngineMessageId: string;
6129
6051
  emailEngineReplyTo: string | null;
6130
6052
  unseen: boolean;
6131
- sendAt: Date;
6132
- starred: boolean;
6133
6053
  seemsLikeNew: boolean;
6134
6054
  from: {
6135
6055
  id: string;
@@ -6546,8 +6466,6 @@ export declare const mailContract: {
6546
6466
  emailEngineMessageId: string;
6547
6467
  emailEngineReplyTo: string | null;
6548
6468
  unseen: boolean;
6549
- sendAt: Date;
6550
- starred: boolean;
6551
6469
  seemsLikeNew: boolean;
6552
6470
  from: {
6553
6471
  id: string;
@@ -6706,8 +6624,6 @@ export declare const mailContract: {
6706
6624
  emailEngineMessageId: string;
6707
6625
  emailEngineReplyTo: string | null;
6708
6626
  unseen: boolean;
6709
- sendAt: Date;
6710
- starred: boolean;
6711
6627
  seemsLikeNew: boolean;
6712
6628
  from: {
6713
6629
  id: string;
@@ -6783,8 +6699,6 @@ export declare const mailContract: {
6783
6699
  emailEngineMessageId: string;
6784
6700
  emailEngineReplyTo: string | null;
6785
6701
  unseen: boolean;
6786
- sendAt: Date;
6787
- starred: boolean;
6788
6702
  seemsLikeNew: boolean;
6789
6703
  from: {
6790
6704
  id: string;
@@ -6860,8 +6774,6 @@ export declare const mailContract: {
6860
6774
  emailEngineMessageId: string;
6861
6775
  emailEngineReplyTo: string | null;
6862
6776
  unseen: boolean;
6863
- sendAt: Date;
6864
- starred: boolean;
6865
6777
  seemsLikeNew: boolean;
6866
6778
  from: {
6867
6779
  id: string;
@@ -6998,8 +6910,6 @@ export declare const mailContract: {
6998
6910
  emailEngineMessageId: string;
6999
6911
  emailEngineReplyTo: string | null;
7000
6912
  unseen: boolean;
7001
- sendAt: Date;
7002
- starred: boolean;
7003
6913
  seemsLikeNew: boolean;
7004
6914
  from: {
7005
6915
  id: string;
@@ -7158,8 +7068,6 @@ export declare const mailContract: {
7158
7068
  emailEngineMessageId: string;
7159
7069
  emailEngineReplyTo: string | null;
7160
7070
  unseen: boolean;
7161
- sendAt: Date;
7162
- starred: boolean;
7163
7071
  seemsLikeNew: boolean;
7164
7072
  from: {
7165
7073
  id: string;
@@ -7235,8 +7143,6 @@ export declare const mailContract: {
7235
7143
  emailEngineMessageId: string;
7236
7144
  emailEngineReplyTo: string | null;
7237
7145
  unseen: boolean;
7238
- sendAt: Date;
7239
- starred: boolean;
7240
7146
  seemsLikeNew: boolean;
7241
7147
  from: {
7242
7148
  id: string;
@@ -7312,8 +7218,6 @@ export declare const mailContract: {
7312
7218
  emailEngineMessageId: string;
7313
7219
  emailEngineReplyTo: string | null;
7314
7220
  unseen: boolean;
7315
- sendAt: Date;
7316
- starred: boolean;
7317
7221
  seemsLikeNew: boolean;
7318
7222
  from: {
7319
7223
  id: string;
@@ -7452,8 +7356,6 @@ export declare const mailContract: {
7452
7356
  emailEngineMessageId: string;
7453
7357
  emailEngineReplyTo: string | null;
7454
7358
  unseen: boolean;
7455
- sendAt: Date;
7456
- starred: boolean;
7457
7359
  seemsLikeNew: boolean;
7458
7360
  from: {
7459
7361
  id: string;
@@ -7612,8 +7514,6 @@ export declare const mailContract: {
7612
7514
  emailEngineMessageId: string;
7613
7515
  emailEngineReplyTo: string | null;
7614
7516
  unseen: boolean;
7615
- sendAt: Date;
7616
- starred: boolean;
7617
7517
  seemsLikeNew: boolean;
7618
7518
  from: {
7619
7519
  id: string;
@@ -7689,8 +7589,6 @@ export declare const mailContract: {
7689
7589
  emailEngineMessageId: string;
7690
7590
  emailEngineReplyTo: string | null;
7691
7591
  unseen: boolean;
7692
- sendAt: Date;
7693
- starred: boolean;
7694
7592
  seemsLikeNew: boolean;
7695
7593
  from: {
7696
7594
  id: string;
@@ -7766,8 +7664,6 @@ export declare const mailContract: {
7766
7664
  emailEngineMessageId: string;
7767
7665
  emailEngineReplyTo: string | null;
7768
7666
  unseen: boolean;
7769
- sendAt: Date;
7770
- starred: boolean;
7771
7667
  seemsLikeNew: boolean;
7772
7668
  from: {
7773
7669
  id: string;
@@ -7907,8 +7803,6 @@ export declare const mailContract: {
7907
7803
  emailEngineMessageId: string;
7908
7804
  emailEngineReplyTo: string | null;
7909
7805
  unseen: boolean;
7910
- sendAt: Date;
7911
- starred: boolean;
7912
7806
  seemsLikeNew: boolean;
7913
7807
  from: {
7914
7808
  id: string;
@@ -8067,8 +7961,6 @@ export declare const mailContract: {
8067
7961
  emailEngineMessageId: string;
8068
7962
  emailEngineReplyTo: string | null;
8069
7963
  unseen: boolean;
8070
- sendAt: Date;
8071
- starred: boolean;
8072
7964
  seemsLikeNew: boolean;
8073
7965
  from: {
8074
7966
  id: string;
@@ -8144,8 +8036,6 @@ export declare const mailContract: {
8144
8036
  emailEngineMessageId: string;
8145
8037
  emailEngineReplyTo: string | null;
8146
8038
  unseen: boolean;
8147
- sendAt: Date;
8148
- starred: boolean;
8149
8039
  seemsLikeNew: boolean;
8150
8040
  from: {
8151
8041
  id: string;
@@ -8221,8 +8111,6 @@ export declare const mailContract: {
8221
8111
  emailEngineMessageId: string;
8222
8112
  emailEngineReplyTo: string | null;
8223
8113
  unseen: boolean;
8224
- sendAt: Date;
8225
- starred: boolean;
8226
8114
  seemsLikeNew: boolean;
8227
8115
  from: {
8228
8116
  id: string;
@@ -8548,8 +8436,6 @@ export declare const mailContract: {
8548
8436
  date: import("zod").ZodDate;
8549
8437
  action: import("zod").ZodString;
8550
8438
  unseen: import("zod").ZodBoolean;
8551
- sendAt: import("zod").ZodDate;
8552
- starred: import("zod").ZodBoolean;
8553
8439
  seemsLikeNew: import("zod").ZodBoolean;
8554
8440
  from: import("zod").ZodArray<import("zod").ZodObject<{
8555
8441
  id: import("zod").ZodString;
@@ -8748,8 +8634,6 @@ export declare const mailContract: {
8748
8634
  emailEngineMessageId: string;
8749
8635
  emailEngineReplyTo: string | null;
8750
8636
  unseen: boolean;
8751
- sendAt: Date;
8752
- starred: boolean;
8753
8637
  seemsLikeNew: boolean;
8754
8638
  from: {
8755
8639
  id: string;
@@ -8824,8 +8708,6 @@ export declare const mailContract: {
8824
8708
  emailEngineMessageId: string;
8825
8709
  emailEngineReplyTo: string | null;
8826
8710
  unseen: boolean;
8827
- sendAt: Date;
8828
- starred: boolean;
8829
8711
  seemsLikeNew: boolean;
8830
8712
  from: {
8831
8713
  id: string;
@@ -8901,8 +8783,6 @@ export declare const mailContract: {
8901
8783
  date: import("zod").ZodDate;
8902
8784
  action: import("zod").ZodString;
8903
8785
  unseen: import("zod").ZodBoolean;
8904
- sendAt: import("zod").ZodDate;
8905
- starred: import("zod").ZodBoolean;
8906
8786
  seemsLikeNew: import("zod").ZodBoolean;
8907
8787
  from: import("zod").ZodArray<import("zod").ZodObject<{
8908
8788
  id: import("zod").ZodString;
@@ -9101,8 +8981,6 @@ export declare const mailContract: {
9101
8981
  emailEngineMessageId: string;
9102
8982
  emailEngineReplyTo: string | null;
9103
8983
  unseen: boolean;
9104
- sendAt: Date;
9105
- starred: boolean;
9106
8984
  seemsLikeNew: boolean;
9107
8985
  from: {
9108
8986
  id: string;
@@ -9177,8 +9055,6 @@ export declare const mailContract: {
9177
9055
  emailEngineMessageId: string;
9178
9056
  emailEngineReplyTo: string | null;
9179
9057
  unseen: boolean;
9180
- sendAt: Date;
9181
- starred: boolean;
9182
9058
  seemsLikeNew: boolean;
9183
9059
  from: {
9184
9060
  id: string;
@@ -9307,8 +9183,6 @@ export declare const mailContract: {
9307
9183
  date: import("zod").ZodDate;
9308
9184
  action: import("zod").ZodString;
9309
9185
  unseen: import("zod").ZodBoolean;
9310
- sendAt: import("zod").ZodDate;
9311
- starred: import("zod").ZodBoolean;
9312
9186
  seemsLikeNew: import("zod").ZodBoolean;
9313
9187
  from: import("zod").ZodArray<import("zod").ZodObject<{
9314
9188
  id: import("zod").ZodString;
@@ -9507,8 +9381,6 @@ export declare const mailContract: {
9507
9381
  emailEngineMessageId: string;
9508
9382
  emailEngineReplyTo: string | null;
9509
9383
  unseen: boolean;
9510
- sendAt: Date;
9511
- starred: boolean;
9512
9384
  seemsLikeNew: boolean;
9513
9385
  from: {
9514
9386
  id: string;
@@ -9583,8 +9455,6 @@ export declare const mailContract: {
9583
9455
  emailEngineMessageId: string;
9584
9456
  emailEngineReplyTo: string | null;
9585
9457
  unseen: boolean;
9586
- sendAt: Date;
9587
- starred: boolean;
9588
9458
  seemsLikeNew: boolean;
9589
9459
  from: {
9590
9460
  id: string;
@@ -9660,8 +9530,6 @@ export declare const mailContract: {
9660
9530
  date: import("zod").ZodDate;
9661
9531
  action: import("zod").ZodString;
9662
9532
  unseen: import("zod").ZodBoolean;
9663
- sendAt: import("zod").ZodDate;
9664
- starred: import("zod").ZodBoolean;
9665
9533
  seemsLikeNew: import("zod").ZodBoolean;
9666
9534
  from: import("zod").ZodArray<import("zod").ZodObject<{
9667
9535
  id: import("zod").ZodString;
@@ -9860,8 +9728,6 @@ export declare const mailContract: {
9860
9728
  emailEngineMessageId: string;
9861
9729
  emailEngineReplyTo: string | null;
9862
9730
  unseen: boolean;
9863
- sendAt: Date;
9864
- starred: boolean;
9865
9731
  seemsLikeNew: boolean;
9866
9732
  from: {
9867
9733
  id: string;
@@ -9936,8 +9802,6 @@ export declare const mailContract: {
9936
9802
  emailEngineMessageId: string;
9937
9803
  emailEngineReplyTo: string | null;
9938
9804
  unseen: boolean;
9939
- sendAt: Date;
9940
- starred: boolean;
9941
9805
  seemsLikeNew: boolean;
9942
9806
  from: {
9943
9807
  id: string;
@@ -10354,8 +10218,6 @@ export declare const mailContract: {
10354
10218
  emailEngineMessageId: string;
10355
10219
  emailEngineReplyTo: string | null;
10356
10220
  unseen: boolean;
10357
- sendAt: Date;
10358
- starred: boolean;
10359
10221
  seemsLikeNew: boolean;
10360
10222
  from: {
10361
10223
  id: string;
@@ -10514,8 +10376,6 @@ export declare const mailContract: {
10514
10376
  emailEngineMessageId: string;
10515
10377
  emailEngineReplyTo: string | null;
10516
10378
  unseen: boolean;
10517
- sendAt: Date;
10518
- starred: boolean;
10519
10379
  seemsLikeNew: boolean;
10520
10380
  from: {
10521
10381
  id: string;
@@ -10591,8 +10451,6 @@ export declare const mailContract: {
10591
10451
  emailEngineMessageId: string;
10592
10452
  emailEngineReplyTo: string | null;
10593
10453
  unseen: boolean;
10594
- sendAt: Date;
10595
- starred: boolean;
10596
10454
  seemsLikeNew: boolean;
10597
10455
  from: {
10598
10456
  id: string;
@@ -10668,8 +10526,6 @@ export declare const mailContract: {
10668
10526
  emailEngineMessageId: string;
10669
10527
  emailEngineReplyTo: string | null;
10670
10528
  unseen: boolean;
10671
- sendAt: Date;
10672
- starred: boolean;
10673
10529
  seemsLikeNew: boolean;
10674
10530
  from: {
10675
10531
  id: string;
@@ -10806,8 +10662,6 @@ export declare const mailContract: {
10806
10662
  emailEngineMessageId: string;
10807
10663
  emailEngineReplyTo: string | null;
10808
10664
  unseen: boolean;
10809
- sendAt: Date;
10810
- starred: boolean;
10811
10665
  seemsLikeNew: boolean;
10812
10666
  from: {
10813
10667
  id: string;
@@ -10966,8 +10820,6 @@ export declare const mailContract: {
10966
10820
  emailEngineMessageId: string;
10967
10821
  emailEngineReplyTo: string | null;
10968
10822
  unseen: boolean;
10969
- sendAt: Date;
10970
- starred: boolean;
10971
10823
  seemsLikeNew: boolean;
10972
10824
  from: {
10973
10825
  id: string;
@@ -11043,8 +10895,6 @@ export declare const mailContract: {
11043
10895
  emailEngineMessageId: string;
11044
10896
  emailEngineReplyTo: string | null;
11045
10897
  unseen: boolean;
11046
- sendAt: Date;
11047
- starred: boolean;
11048
10898
  seemsLikeNew: boolean;
11049
10899
  from: {
11050
10900
  id: string;
@@ -11120,8 +10970,6 @@ export declare const mailContract: {
11120
10970
  emailEngineMessageId: string;
11121
10971
  emailEngineReplyTo: string | null;
11122
10972
  unseen: boolean;
11123
- sendAt: Date;
11124
- starred: boolean;
11125
10973
  seemsLikeNew: boolean;
11126
10974
  from: {
11127
10975
  id: string;
@@ -11260,8 +11108,6 @@ export declare const mailContract: {
11260
11108
  emailEngineMessageId: string;
11261
11109
  emailEngineReplyTo: string | null;
11262
11110
  unseen: boolean;
11263
- sendAt: Date;
11264
- starred: boolean;
11265
11111
  seemsLikeNew: boolean;
11266
11112
  from: {
11267
11113
  id: string;
@@ -11420,8 +11266,6 @@ export declare const mailContract: {
11420
11266
  emailEngineMessageId: string;
11421
11267
  emailEngineReplyTo: string | null;
11422
11268
  unseen: boolean;
11423
- sendAt: Date;
11424
- starred: boolean;
11425
11269
  seemsLikeNew: boolean;
11426
11270
  from: {
11427
11271
  id: string;
@@ -11497,8 +11341,6 @@ export declare const mailContract: {
11497
11341
  emailEngineMessageId: string;
11498
11342
  emailEngineReplyTo: string | null;
11499
11343
  unseen: boolean;
11500
- sendAt: Date;
11501
- starred: boolean;
11502
11344
  seemsLikeNew: boolean;
11503
11345
  from: {
11504
11346
  id: string;
@@ -11574,8 +11416,6 @@ export declare const mailContract: {
11574
11416
  emailEngineMessageId: string;
11575
11417
  emailEngineReplyTo: string | null;
11576
11418
  unseen: boolean;
11577
- sendAt: Date;
11578
- starred: boolean;
11579
11419
  seemsLikeNew: boolean;
11580
11420
  from: {
11581
11421
  id: string;
@@ -11715,8 +11555,6 @@ export declare const mailContract: {
11715
11555
  emailEngineMessageId: string;
11716
11556
  emailEngineReplyTo: string | null;
11717
11557
  unseen: boolean;
11718
- sendAt: Date;
11719
- starred: boolean;
11720
11558
  seemsLikeNew: boolean;
11721
11559
  from: {
11722
11560
  id: string;
@@ -11875,8 +11713,6 @@ export declare const mailContract: {
11875
11713
  emailEngineMessageId: string;
11876
11714
  emailEngineReplyTo: string | null;
11877
11715
  unseen: boolean;
11878
- sendAt: Date;
11879
- starred: boolean;
11880
11716
  seemsLikeNew: boolean;
11881
11717
  from: {
11882
11718
  id: string;
@@ -11952,8 +11788,6 @@ export declare const mailContract: {
11952
11788
  emailEngineMessageId: string;
11953
11789
  emailEngineReplyTo: string | null;
11954
11790
  unseen: boolean;
11955
- sendAt: Date;
11956
- starred: boolean;
11957
11791
  seemsLikeNew: boolean;
11958
11792
  from: {
11959
11793
  id: string;
@@ -12029,8 +11863,6 @@ export declare const mailContract: {
12029
11863
  emailEngineMessageId: string;
12030
11864
  emailEngineReplyTo: string | null;
12031
11865
  unseen: boolean;
12032
- sendAt: Date;
12033
- starred: boolean;
12034
11866
  seemsLikeNew: boolean;
12035
11867
  from: {
12036
11868
  id: string;
@@ -12188,7 +12020,6 @@ export declare const mailContract: {
12188
12020
  address: string;
12189
12021
  name?: string | undefined;
12190
12022
  }>, "many">>;
12191
- sendAt: import("zod").ZodOptional<import("zod").ZodString>;
12192
12023
  reference: import("zod").ZodOptional<import("zod").ZodObject<{
12193
12024
  messageId: import("zod").ZodString;
12194
12025
  action: import("zod").ZodUnion<[import("zod").ZodLiteral<"reply">, import("zod").ZodLiteral<"forward">]>;
@@ -12241,7 +12072,6 @@ export declare const mailContract: {
12241
12072
  address: string;
12242
12073
  name?: string | undefined;
12243
12074
  }[] | undefined;
12244
- sendAt?: string | undefined;
12245
12075
  reference?: {
12246
12076
  action: "forward" | "reply";
12247
12077
  messageId: string;
@@ -12274,7 +12104,6 @@ export declare const mailContract: {
12274
12104
  address: string;
12275
12105
  name?: string | undefined;
12276
12106
  }[] | undefined;
12277
- sendAt?: string | undefined;
12278
12107
  reference?: {
12279
12108
  action: "forward" | "reply";
12280
12109
  messageId: string;
@@ -12427,7 +12256,7 @@ export declare const mailContract: {
12427
12256
  path: "mail/message/new_message_count";
12428
12257
  };
12429
12258
  getById: {
12430
- summary: "Get a message";
12259
+ summary: "Get a message by id";
12431
12260
  method: "GET";
12432
12261
  pathParams: import("zod").ZodObject<{
12433
12262
  id: import("zod").ZodString;
@@ -12486,8 +12315,6 @@ export declare const mailContract: {
12486
12315
  date: import("zod").ZodDate;
12487
12316
  action: import("zod").ZodString;
12488
12317
  unseen: import("zod").ZodBoolean;
12489
- sendAt: import("zod").ZodDate;
12490
- starred: import("zod").ZodBoolean;
12491
12318
  seemsLikeNew: import("zod").ZodBoolean;
12492
12319
  from: import("zod").ZodArray<import("zod").ZodObject<{
12493
12320
  id: import("zod").ZodString;
@@ -12686,8 +12513,6 @@ export declare const mailContract: {
12686
12513
  emailEngineMessageId: string;
12687
12514
  emailEngineReplyTo: string | null;
12688
12515
  unseen: boolean;
12689
- sendAt: Date;
12690
- starred: boolean;
12691
12516
  seemsLikeNew: boolean;
12692
12517
  from: {
12693
12518
  id: string;
@@ -12762,8 +12587,6 @@ export declare const mailContract: {
12762
12587
  emailEngineMessageId: string;
12763
12588
  emailEngineReplyTo: string | null;
12764
12589
  unseen: boolean;
12765
- sendAt: Date;
12766
- starred: boolean;
12767
12590
  seemsLikeNew: boolean;
12768
12591
  from: {
12769
12592
  id: string;
@@ -12840,8 +12663,6 @@ export declare const mailContract: {
12840
12663
  emailEngineMessageId: string;
12841
12664
  emailEngineReplyTo: string | null;
12842
12665
  unseen: boolean;
12843
- sendAt: Date;
12844
- starred: boolean;
12845
12666
  seemsLikeNew: boolean;
12846
12667
  from: {
12847
12668
  id: string;
@@ -12919,8 +12740,6 @@ export declare const mailContract: {
12919
12740
  emailEngineMessageId: string;
12920
12741
  emailEngineReplyTo: string | null;
12921
12742
  unseen: boolean;
12922
- sendAt: Date;
12923
- starred: boolean;
12924
12743
  seemsLikeNew: boolean;
12925
12744
  from: {
12926
12745
  id: string;
@@ -12984,2035 +12803,6 @@ export declare const mailContract: {
12984
12803
  };
12985
12804
  path: "mail/message/:id";
12986
12805
  };
12987
- update: {
12988
- body: import("zod").ZodObject<{
12989
- id: import("zod").ZodOptional<import("zod").ZodString>;
12990
- createdAt: import("zod").ZodOptional<import("zod").ZodDate>;
12991
- updatedAt: import("zod").ZodOptional<import("zod").ZodDate>;
12992
- deletedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
12993
- roomId: import("zod").ZodOptional<import("zod").ZodString>;
12994
- subject: import("zod").ZodOptional<import("zod").ZodString>;
12995
- textPlain: import("zod").ZodOptional<import("zod").ZodString>;
12996
- textHtml: import("zod").ZodOptional<import("zod").ZodString>;
12997
- textId: import("zod").ZodOptional<import("zod").ZodString>;
12998
- emailEngineEmailId: import("zod").ZodOptional<import("zod").ZodString>;
12999
- emailEngineMessageId: import("zod").ZodOptional<import("zod").ZodString>;
13000
- emailEngineReplyTo: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
13001
- direction: import("zod").ZodOptional<import("zod").ZodString>;
13002
- date: import("zod").ZodOptional<import("zod").ZodDate>;
13003
- action: import("zod").ZodOptional<import("zod").ZodString>;
13004
- unseen: import("zod").ZodOptional<import("zod").ZodBoolean>;
13005
- sendAt: import("zod").ZodOptional<import("zod").ZodDate>;
13006
- starred: import("zod").ZodOptional<import("zod").ZodBoolean>;
13007
- seemsLikeNew: import("zod").ZodOptional<import("zod").ZodBoolean>;
13008
- from: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
13009
- id: import("zod").ZodString;
13010
- createdAt: import("zod").ZodDate;
13011
- updatedAt: import("zod").ZodDate;
13012
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13013
- name: import("zod").ZodString;
13014
- address: import("zod").ZodString;
13015
- }, "strip", import("zod").ZodTypeAny, {
13016
- id: string;
13017
- address: string;
13018
- name: string;
13019
- createdAt: Date;
13020
- updatedAt: Date;
13021
- deletedAt: Date | null;
13022
- }, {
13023
- id: string;
13024
- address: string;
13025
- name: string;
13026
- createdAt: Date;
13027
- updatedAt: Date;
13028
- deletedAt: Date | null;
13029
- }>, "many">>;
13030
- to: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
13031
- id: import("zod").ZodString;
13032
- createdAt: import("zod").ZodDate;
13033
- updatedAt: import("zod").ZodDate;
13034
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13035
- name: import("zod").ZodString;
13036
- address: import("zod").ZodString;
13037
- }, "strip", import("zod").ZodTypeAny, {
13038
- id: string;
13039
- address: string;
13040
- name: string;
13041
- createdAt: Date;
13042
- updatedAt: Date;
13043
- deletedAt: Date | null;
13044
- }, {
13045
- id: string;
13046
- address: string;
13047
- name: string;
13048
- createdAt: Date;
13049
- updatedAt: Date;
13050
- deletedAt: Date | null;
13051
- }>, "many">>;
13052
- cc: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
13053
- id: import("zod").ZodString;
13054
- createdAt: import("zod").ZodDate;
13055
- updatedAt: import("zod").ZodDate;
13056
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13057
- name: import("zod").ZodString;
13058
- address: import("zod").ZodString;
13059
- }, "strip", import("zod").ZodTypeAny, {
13060
- id: string;
13061
- address: string;
13062
- name: string;
13063
- createdAt: Date;
13064
- updatedAt: Date;
13065
- deletedAt: Date | null;
13066
- }, {
13067
- id: string;
13068
- address: string;
13069
- name: string;
13070
- createdAt: Date;
13071
- updatedAt: Date;
13072
- deletedAt: Date | null;
13073
- }>, "many">>;
13074
- bcc: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
13075
- id: import("zod").ZodString;
13076
- createdAt: import("zod").ZodDate;
13077
- updatedAt: import("zod").ZodDate;
13078
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13079
- name: import("zod").ZodString;
13080
- address: import("zod").ZodString;
13081
- }, "strip", import("zod").ZodTypeAny, {
13082
- id: string;
13083
- address: string;
13084
- name: string;
13085
- createdAt: Date;
13086
- updatedAt: Date;
13087
- deletedAt: Date | null;
13088
- }, {
13089
- id: string;
13090
- address: string;
13091
- name: string;
13092
- createdAt: Date;
13093
- updatedAt: Date;
13094
- deletedAt: Date | null;
13095
- }>, "many">>;
13096
- attachments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
13097
- id: import("zod").ZodString;
13098
- createdAt: import("zod").ZodDate;
13099
- updatedAt: import("zod").ZodDate;
13100
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13101
- roomId: import("zod").ZodString;
13102
- messageId: import("zod").ZodString;
13103
- fileName: import("zod").ZodString;
13104
- fileType: import("zod").ZodString;
13105
- emailEngineAttachmentId: import("zod").ZodString;
13106
- uploadId: import("zod").ZodString;
13107
- upload: import("zod").ZodObject<{
13108
- id: import("zod").ZodString;
13109
- createdAt: import("zod").ZodDate;
13110
- updatedAt: import("zod").ZodDate;
13111
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13112
- bucketName: import("zod").ZodString;
13113
- fileName: import("zod").ZodString;
13114
- fileKey: import("zod").ZodString;
13115
- fileSize: import("zod").ZodNumber;
13116
- fileUrl: import("zod").ZodString;
13117
- extensionName: import("zod").ZodString;
13118
- }, "strip", import("zod").ZodTypeAny, {
13119
- id: string;
13120
- createdAt: Date;
13121
- updatedAt: Date;
13122
- deletedAt: Date | null;
13123
- extensionName: string;
13124
- fileName: string;
13125
- fileKey: string;
13126
- bucketName: string;
13127
- fileSize: number;
13128
- fileUrl: string;
13129
- }, {
13130
- id: string;
13131
- createdAt: Date;
13132
- updatedAt: Date;
13133
- deletedAt: Date | null;
13134
- extensionName: string;
13135
- fileName: string;
13136
- fileKey: string;
13137
- bucketName: string;
13138
- fileSize: number;
13139
- fileUrl: string;
13140
- }>;
13141
- }, "strip", import("zod").ZodTypeAny, {
13142
- id: string;
13143
- createdAt: Date;
13144
- updatedAt: Date;
13145
- deletedAt: Date | null;
13146
- fileName: string;
13147
- fileType: string;
13148
- uploadId: string;
13149
- upload: {
13150
- id: string;
13151
- createdAt: Date;
13152
- updatedAt: Date;
13153
- deletedAt: Date | null;
13154
- extensionName: string;
13155
- fileName: string;
13156
- fileKey: string;
13157
- bucketName: string;
13158
- fileSize: number;
13159
- fileUrl: string;
13160
- };
13161
- roomId: string;
13162
- messageId: string;
13163
- emailEngineAttachmentId: string;
13164
- }, {
13165
- id: string;
13166
- createdAt: Date;
13167
- updatedAt: Date;
13168
- deletedAt: Date | null;
13169
- fileName: string;
13170
- fileType: string;
13171
- uploadId: string;
13172
- upload: {
13173
- id: string;
13174
- createdAt: Date;
13175
- updatedAt: Date;
13176
- deletedAt: Date | null;
13177
- extensionName: string;
13178
- fileName: string;
13179
- fileKey: string;
13180
- bucketName: string;
13181
- fileSize: number;
13182
- fileUrl: string;
13183
- };
13184
- roomId: string;
13185
- messageId: string;
13186
- emailEngineAttachmentId: string;
13187
- }>, "many">>;
13188
- }, "strip", import("zod").ZodTypeAny, {
13189
- id?: string | undefined;
13190
- createdAt?: Date | undefined;
13191
- updatedAt?: Date | undefined;
13192
- deletedAt?: Date | null | undefined;
13193
- roomId?: string | undefined;
13194
- subject?: string | undefined;
13195
- textPlain?: string | undefined;
13196
- textHtml?: string | undefined;
13197
- textId?: string | undefined;
13198
- emailEngineEmailId?: string | undefined;
13199
- emailEngineMessageId?: string | undefined;
13200
- emailEngineReplyTo?: string | null | undefined;
13201
- direction?: string | undefined;
13202
- date?: Date | undefined;
13203
- action?: string | undefined;
13204
- unseen?: boolean | undefined;
13205
- sendAt?: Date | undefined;
13206
- starred?: boolean | undefined;
13207
- seemsLikeNew?: boolean | undefined;
13208
- from?: {
13209
- id: string;
13210
- address: string;
13211
- name: string;
13212
- createdAt: Date;
13213
- updatedAt: Date;
13214
- deletedAt: Date | null;
13215
- }[] | undefined;
13216
- to?: {
13217
- id: string;
13218
- address: string;
13219
- name: string;
13220
- createdAt: Date;
13221
- updatedAt: Date;
13222
- deletedAt: Date | null;
13223
- }[] | undefined;
13224
- cc?: {
13225
- id: string;
13226
- address: string;
13227
- name: string;
13228
- createdAt: Date;
13229
- updatedAt: Date;
13230
- deletedAt: Date | null;
13231
- }[] | undefined;
13232
- bcc?: {
13233
- id: string;
13234
- address: string;
13235
- name: string;
13236
- createdAt: Date;
13237
- updatedAt: Date;
13238
- deletedAt: Date | null;
13239
- }[] | undefined;
13240
- attachments?: {
13241
- id: string;
13242
- createdAt: Date;
13243
- updatedAt: Date;
13244
- deletedAt: Date | null;
13245
- fileName: string;
13246
- fileType: string;
13247
- uploadId: string;
13248
- upload: {
13249
- id: string;
13250
- createdAt: Date;
13251
- updatedAt: Date;
13252
- deletedAt: Date | null;
13253
- extensionName: string;
13254
- fileName: string;
13255
- fileKey: string;
13256
- bucketName: string;
13257
- fileSize: number;
13258
- fileUrl: string;
13259
- };
13260
- roomId: string;
13261
- messageId: string;
13262
- emailEngineAttachmentId: string;
13263
- }[] | undefined;
13264
- }, {
13265
- id?: string | undefined;
13266
- createdAt?: Date | undefined;
13267
- updatedAt?: Date | undefined;
13268
- deletedAt?: Date | null | undefined;
13269
- roomId?: string | undefined;
13270
- subject?: string | undefined;
13271
- textPlain?: string | undefined;
13272
- textHtml?: string | undefined;
13273
- textId?: string | undefined;
13274
- emailEngineEmailId?: string | undefined;
13275
- emailEngineMessageId?: string | undefined;
13276
- emailEngineReplyTo?: string | null | undefined;
13277
- direction?: string | undefined;
13278
- date?: Date | undefined;
13279
- action?: string | undefined;
13280
- unseen?: boolean | undefined;
13281
- sendAt?: Date | undefined;
13282
- starred?: boolean | undefined;
13283
- seemsLikeNew?: boolean | undefined;
13284
- from?: {
13285
- id: string;
13286
- address: string;
13287
- name: string;
13288
- createdAt: Date;
13289
- updatedAt: Date;
13290
- deletedAt: Date | null;
13291
- }[] | undefined;
13292
- to?: {
13293
- id: string;
13294
- address: string;
13295
- name: string;
13296
- createdAt: Date;
13297
- updatedAt: Date;
13298
- deletedAt: Date | null;
13299
- }[] | undefined;
13300
- cc?: {
13301
- id: string;
13302
- address: string;
13303
- name: string;
13304
- createdAt: Date;
13305
- updatedAt: Date;
13306
- deletedAt: Date | null;
13307
- }[] | undefined;
13308
- bcc?: {
13309
- id: string;
13310
- address: string;
13311
- name: string;
13312
- createdAt: Date;
13313
- updatedAt: Date;
13314
- deletedAt: Date | null;
13315
- }[] | undefined;
13316
- attachments?: {
13317
- id: string;
13318
- createdAt: Date;
13319
- updatedAt: Date;
13320
- deletedAt: Date | null;
13321
- fileName: string;
13322
- fileType: string;
13323
- uploadId: string;
13324
- upload: {
13325
- id: string;
13326
- createdAt: Date;
13327
- updatedAt: Date;
13328
- deletedAt: Date | null;
13329
- extensionName: string;
13330
- fileName: string;
13331
- fileKey: string;
13332
- bucketName: string;
13333
- fileSize: number;
13334
- fileUrl: string;
13335
- };
13336
- roomId: string;
13337
- messageId: string;
13338
- emailEngineAttachmentId: string;
13339
- }[] | undefined;
13340
- }>;
13341
- summary: "Update a message";
13342
- method: "PATCH";
13343
- pathParams: import("zod").ZodObject<{
13344
- id: import("zod").ZodString;
13345
- }, "strip", import("zod").ZodTypeAny, {
13346
- id: string;
13347
- }, {
13348
- id: string;
13349
- }>;
13350
- responses: {
13351
- 401: import("zod").ZodObject<{
13352
- message: import("zod").ZodString;
13353
- error: import("zod").ZodAny;
13354
- }, "strip", import("zod").ZodTypeAny, {
13355
- message: string;
13356
- error?: any;
13357
- }, {
13358
- message: string;
13359
- error?: any;
13360
- }>;
13361
- 404: import("zod").ZodObject<{
13362
- message: import("zod").ZodString;
13363
- error: import("zod").ZodAny;
13364
- }, "strip", import("zod").ZodTypeAny, {
13365
- message: string;
13366
- error?: any;
13367
- }, {
13368
- message: string;
13369
- error?: any;
13370
- }>;
13371
- 422: import("zod").ZodObject<{
13372
- message: import("zod").ZodString;
13373
- error: import("zod").ZodAny;
13374
- }, "strip", import("zod").ZodTypeAny, {
13375
- message: string;
13376
- error?: any;
13377
- }, {
13378
- message: string;
13379
- error?: any;
13380
- }>;
13381
- 200: import("zod").ZodObject<{
13382
- requestId: import("zod").ZodString;
13383
- data: import("zod").ZodObject<{
13384
- id: import("zod").ZodString;
13385
- createdAt: import("zod").ZodDate;
13386
- updatedAt: import("zod").ZodDate;
13387
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13388
- roomId: import("zod").ZodString;
13389
- subject: import("zod").ZodString;
13390
- textPlain: import("zod").ZodString;
13391
- textHtml: import("zod").ZodString;
13392
- textId: import("zod").ZodString;
13393
- emailEngineEmailId: import("zod").ZodString;
13394
- emailEngineMessageId: import("zod").ZodString;
13395
- emailEngineReplyTo: import("zod").ZodNullable<import("zod").ZodString>;
13396
- direction: import("zod").ZodString;
13397
- date: import("zod").ZodDate;
13398
- action: import("zod").ZodString;
13399
- unseen: import("zod").ZodBoolean;
13400
- sendAt: import("zod").ZodDate;
13401
- starred: import("zod").ZodBoolean;
13402
- seemsLikeNew: import("zod").ZodBoolean;
13403
- from: import("zod").ZodArray<import("zod").ZodObject<{
13404
- id: import("zod").ZodString;
13405
- createdAt: import("zod").ZodDate;
13406
- updatedAt: import("zod").ZodDate;
13407
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13408
- name: import("zod").ZodString;
13409
- address: import("zod").ZodString;
13410
- }, "strip", import("zod").ZodTypeAny, {
13411
- id: string;
13412
- address: string;
13413
- name: string;
13414
- createdAt: Date;
13415
- updatedAt: Date;
13416
- deletedAt: Date | null;
13417
- }, {
13418
- id: string;
13419
- address: string;
13420
- name: string;
13421
- createdAt: Date;
13422
- updatedAt: Date;
13423
- deletedAt: Date | null;
13424
- }>, "many">;
13425
- to: import("zod").ZodArray<import("zod").ZodObject<{
13426
- id: import("zod").ZodString;
13427
- createdAt: import("zod").ZodDate;
13428
- updatedAt: import("zod").ZodDate;
13429
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13430
- name: import("zod").ZodString;
13431
- address: import("zod").ZodString;
13432
- }, "strip", import("zod").ZodTypeAny, {
13433
- id: string;
13434
- address: string;
13435
- name: string;
13436
- createdAt: Date;
13437
- updatedAt: Date;
13438
- deletedAt: Date | null;
13439
- }, {
13440
- id: string;
13441
- address: string;
13442
- name: string;
13443
- createdAt: Date;
13444
- updatedAt: Date;
13445
- deletedAt: Date | null;
13446
- }>, "many">;
13447
- cc: import("zod").ZodArray<import("zod").ZodObject<{
13448
- id: import("zod").ZodString;
13449
- createdAt: import("zod").ZodDate;
13450
- updatedAt: import("zod").ZodDate;
13451
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13452
- name: import("zod").ZodString;
13453
- address: import("zod").ZodString;
13454
- }, "strip", import("zod").ZodTypeAny, {
13455
- id: string;
13456
- address: string;
13457
- name: string;
13458
- createdAt: Date;
13459
- updatedAt: Date;
13460
- deletedAt: Date | null;
13461
- }, {
13462
- id: string;
13463
- address: string;
13464
- name: string;
13465
- createdAt: Date;
13466
- updatedAt: Date;
13467
- deletedAt: Date | null;
13468
- }>, "many">;
13469
- bcc: import("zod").ZodArray<import("zod").ZodObject<{
13470
- id: import("zod").ZodString;
13471
- createdAt: import("zod").ZodDate;
13472
- updatedAt: import("zod").ZodDate;
13473
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13474
- name: import("zod").ZodString;
13475
- address: import("zod").ZodString;
13476
- }, "strip", import("zod").ZodTypeAny, {
13477
- id: string;
13478
- address: string;
13479
- name: string;
13480
- createdAt: Date;
13481
- updatedAt: Date;
13482
- deletedAt: Date | null;
13483
- }, {
13484
- id: string;
13485
- address: string;
13486
- name: string;
13487
- createdAt: Date;
13488
- updatedAt: Date;
13489
- deletedAt: Date | null;
13490
- }>, "many">;
13491
- attachments: import("zod").ZodArray<import("zod").ZodObject<{
13492
- id: import("zod").ZodString;
13493
- createdAt: import("zod").ZodDate;
13494
- updatedAt: import("zod").ZodDate;
13495
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13496
- roomId: import("zod").ZodString;
13497
- messageId: import("zod").ZodString;
13498
- fileName: import("zod").ZodString;
13499
- fileType: import("zod").ZodString;
13500
- emailEngineAttachmentId: import("zod").ZodString;
13501
- uploadId: import("zod").ZodString;
13502
- upload: import("zod").ZodObject<{
13503
- id: import("zod").ZodString;
13504
- createdAt: import("zod").ZodDate;
13505
- updatedAt: import("zod").ZodDate;
13506
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13507
- bucketName: import("zod").ZodString;
13508
- fileName: import("zod").ZodString;
13509
- fileKey: import("zod").ZodString;
13510
- fileSize: import("zod").ZodNumber;
13511
- fileUrl: import("zod").ZodString;
13512
- extensionName: import("zod").ZodString;
13513
- }, "strip", import("zod").ZodTypeAny, {
13514
- id: string;
13515
- createdAt: Date;
13516
- updatedAt: Date;
13517
- deletedAt: Date | null;
13518
- extensionName: string;
13519
- fileName: string;
13520
- fileKey: string;
13521
- bucketName: string;
13522
- fileSize: number;
13523
- fileUrl: string;
13524
- }, {
13525
- id: string;
13526
- createdAt: Date;
13527
- updatedAt: Date;
13528
- deletedAt: Date | null;
13529
- extensionName: string;
13530
- fileName: string;
13531
- fileKey: string;
13532
- bucketName: string;
13533
- fileSize: number;
13534
- fileUrl: string;
13535
- }>;
13536
- }, "strip", import("zod").ZodTypeAny, {
13537
- id: string;
13538
- createdAt: Date;
13539
- updatedAt: Date;
13540
- deletedAt: Date | null;
13541
- fileName: string;
13542
- fileType: string;
13543
- uploadId: string;
13544
- upload: {
13545
- id: string;
13546
- createdAt: Date;
13547
- updatedAt: Date;
13548
- deletedAt: Date | null;
13549
- extensionName: string;
13550
- fileName: string;
13551
- fileKey: string;
13552
- bucketName: string;
13553
- fileSize: number;
13554
- fileUrl: string;
13555
- };
13556
- roomId: string;
13557
- messageId: string;
13558
- emailEngineAttachmentId: string;
13559
- }, {
13560
- id: string;
13561
- createdAt: Date;
13562
- updatedAt: Date;
13563
- deletedAt: Date | null;
13564
- fileName: string;
13565
- fileType: string;
13566
- uploadId: string;
13567
- upload: {
13568
- id: string;
13569
- createdAt: Date;
13570
- updatedAt: Date;
13571
- deletedAt: Date | null;
13572
- extensionName: string;
13573
- fileName: string;
13574
- fileKey: string;
13575
- bucketName: string;
13576
- fileSize: number;
13577
- fileUrl: string;
13578
- };
13579
- roomId: string;
13580
- messageId: string;
13581
- emailEngineAttachmentId: string;
13582
- }>, "many">;
13583
- }, "strip", import("zod").ZodTypeAny, {
13584
- id: string;
13585
- direction: string;
13586
- action: string;
13587
- date: Date;
13588
- createdAt: Date;
13589
- updatedAt: Date;
13590
- deletedAt: Date | null;
13591
- roomId: string;
13592
- subject: string;
13593
- textPlain: string;
13594
- textHtml: string;
13595
- textId: string;
13596
- emailEngineEmailId: string;
13597
- emailEngineMessageId: string;
13598
- emailEngineReplyTo: string | null;
13599
- unseen: boolean;
13600
- sendAt: Date;
13601
- starred: boolean;
13602
- seemsLikeNew: boolean;
13603
- from: {
13604
- id: string;
13605
- address: string;
13606
- name: string;
13607
- createdAt: Date;
13608
- updatedAt: Date;
13609
- deletedAt: Date | null;
13610
- }[];
13611
- to: {
13612
- id: string;
13613
- address: string;
13614
- name: string;
13615
- createdAt: Date;
13616
- updatedAt: Date;
13617
- deletedAt: Date | null;
13618
- }[];
13619
- cc: {
13620
- id: string;
13621
- address: string;
13622
- name: string;
13623
- createdAt: Date;
13624
- updatedAt: Date;
13625
- deletedAt: Date | null;
13626
- }[];
13627
- bcc: {
13628
- id: string;
13629
- address: string;
13630
- name: string;
13631
- createdAt: Date;
13632
- updatedAt: Date;
13633
- deletedAt: Date | null;
13634
- }[];
13635
- attachments: {
13636
- id: string;
13637
- createdAt: Date;
13638
- updatedAt: Date;
13639
- deletedAt: Date | null;
13640
- fileName: string;
13641
- fileType: string;
13642
- uploadId: string;
13643
- upload: {
13644
- id: string;
13645
- createdAt: Date;
13646
- updatedAt: Date;
13647
- deletedAt: Date | null;
13648
- extensionName: string;
13649
- fileName: string;
13650
- fileKey: string;
13651
- bucketName: string;
13652
- fileSize: number;
13653
- fileUrl: string;
13654
- };
13655
- roomId: string;
13656
- messageId: string;
13657
- emailEngineAttachmentId: string;
13658
- }[];
13659
- }, {
13660
- id: string;
13661
- direction: string;
13662
- action: string;
13663
- date: Date;
13664
- createdAt: Date;
13665
- updatedAt: Date;
13666
- deletedAt: Date | null;
13667
- roomId: string;
13668
- subject: string;
13669
- textPlain: string;
13670
- textHtml: string;
13671
- textId: string;
13672
- emailEngineEmailId: string;
13673
- emailEngineMessageId: string;
13674
- emailEngineReplyTo: string | null;
13675
- unseen: boolean;
13676
- sendAt: Date;
13677
- starred: boolean;
13678
- seemsLikeNew: boolean;
13679
- from: {
13680
- id: string;
13681
- address: string;
13682
- name: string;
13683
- createdAt: Date;
13684
- updatedAt: Date;
13685
- deletedAt: Date | null;
13686
- }[];
13687
- to: {
13688
- id: string;
13689
- address: string;
13690
- name: string;
13691
- createdAt: Date;
13692
- updatedAt: Date;
13693
- deletedAt: Date | null;
13694
- }[];
13695
- cc: {
13696
- id: string;
13697
- address: string;
13698
- name: string;
13699
- createdAt: Date;
13700
- updatedAt: Date;
13701
- deletedAt: Date | null;
13702
- }[];
13703
- bcc: {
13704
- id: string;
13705
- address: string;
13706
- name: string;
13707
- createdAt: Date;
13708
- updatedAt: Date;
13709
- deletedAt: Date | null;
13710
- }[];
13711
- attachments: {
13712
- id: string;
13713
- createdAt: Date;
13714
- updatedAt: Date;
13715
- deletedAt: Date | null;
13716
- fileName: string;
13717
- fileType: string;
13718
- uploadId: string;
13719
- upload: {
13720
- id: string;
13721
- createdAt: Date;
13722
- updatedAt: Date;
13723
- deletedAt: Date | null;
13724
- extensionName: string;
13725
- fileName: string;
13726
- fileKey: string;
13727
- bucketName: string;
13728
- fileSize: number;
13729
- fileUrl: string;
13730
- };
13731
- roomId: string;
13732
- messageId: string;
13733
- emailEngineAttachmentId: string;
13734
- }[];
13735
- }>;
13736
- }, "strip", import("zod").ZodTypeAny, {
13737
- data: {
13738
- id: string;
13739
- direction: string;
13740
- action: string;
13741
- date: Date;
13742
- createdAt: Date;
13743
- updatedAt: Date;
13744
- deletedAt: Date | null;
13745
- roomId: string;
13746
- subject: string;
13747
- textPlain: string;
13748
- textHtml: string;
13749
- textId: string;
13750
- emailEngineEmailId: string;
13751
- emailEngineMessageId: string;
13752
- emailEngineReplyTo: string | null;
13753
- unseen: boolean;
13754
- sendAt: Date;
13755
- starred: boolean;
13756
- seemsLikeNew: boolean;
13757
- from: {
13758
- id: string;
13759
- address: string;
13760
- name: string;
13761
- createdAt: Date;
13762
- updatedAt: Date;
13763
- deletedAt: Date | null;
13764
- }[];
13765
- to: {
13766
- id: string;
13767
- address: string;
13768
- name: string;
13769
- createdAt: Date;
13770
- updatedAt: Date;
13771
- deletedAt: Date | null;
13772
- }[];
13773
- cc: {
13774
- id: string;
13775
- address: string;
13776
- name: string;
13777
- createdAt: Date;
13778
- updatedAt: Date;
13779
- deletedAt: Date | null;
13780
- }[];
13781
- bcc: {
13782
- id: string;
13783
- address: string;
13784
- name: string;
13785
- createdAt: Date;
13786
- updatedAt: Date;
13787
- deletedAt: Date | null;
13788
- }[];
13789
- attachments: {
13790
- id: string;
13791
- createdAt: Date;
13792
- updatedAt: Date;
13793
- deletedAt: Date | null;
13794
- fileName: string;
13795
- fileType: string;
13796
- uploadId: string;
13797
- upload: {
13798
- id: string;
13799
- createdAt: Date;
13800
- updatedAt: Date;
13801
- deletedAt: Date | null;
13802
- extensionName: string;
13803
- fileName: string;
13804
- fileKey: string;
13805
- bucketName: string;
13806
- fileSize: number;
13807
- fileUrl: string;
13808
- };
13809
- roomId: string;
13810
- messageId: string;
13811
- emailEngineAttachmentId: string;
13812
- }[];
13813
- };
13814
- requestId: string;
13815
- }, {
13816
- data: {
13817
- id: string;
13818
- direction: string;
13819
- action: string;
13820
- date: Date;
13821
- createdAt: Date;
13822
- updatedAt: Date;
13823
- deletedAt: Date | null;
13824
- roomId: string;
13825
- subject: string;
13826
- textPlain: string;
13827
- textHtml: string;
13828
- textId: string;
13829
- emailEngineEmailId: string;
13830
- emailEngineMessageId: string;
13831
- emailEngineReplyTo: string | null;
13832
- unseen: boolean;
13833
- sendAt: Date;
13834
- starred: boolean;
13835
- seemsLikeNew: boolean;
13836
- from: {
13837
- id: string;
13838
- address: string;
13839
- name: string;
13840
- createdAt: Date;
13841
- updatedAt: Date;
13842
- deletedAt: Date | null;
13843
- }[];
13844
- to: {
13845
- id: string;
13846
- address: string;
13847
- name: string;
13848
- createdAt: Date;
13849
- updatedAt: Date;
13850
- deletedAt: Date | null;
13851
- }[];
13852
- cc: {
13853
- id: string;
13854
- address: string;
13855
- name: string;
13856
- createdAt: Date;
13857
- updatedAt: Date;
13858
- deletedAt: Date | null;
13859
- }[];
13860
- bcc: {
13861
- id: string;
13862
- address: string;
13863
- name: string;
13864
- createdAt: Date;
13865
- updatedAt: Date;
13866
- deletedAt: Date | null;
13867
- }[];
13868
- attachments: {
13869
- id: string;
13870
- createdAt: Date;
13871
- updatedAt: Date;
13872
- deletedAt: Date | null;
13873
- fileName: string;
13874
- fileType: string;
13875
- uploadId: string;
13876
- upload: {
13877
- id: string;
13878
- createdAt: Date;
13879
- updatedAt: Date;
13880
- deletedAt: Date | null;
13881
- extensionName: string;
13882
- fileName: string;
13883
- fileKey: string;
13884
- bucketName: string;
13885
- fileSize: number;
13886
- fileUrl: string;
13887
- };
13888
- roomId: string;
13889
- messageId: string;
13890
- emailEngineAttachmentId: string;
13891
- }[];
13892
- };
13893
- requestId: string;
13894
- }>;
13895
- };
13896
- path: "mail/message/:id";
13897
- };
13898
- delete: {
13899
- body: null;
13900
- summary: "Delete a message";
13901
- method: "DELETE";
13902
- pathParams: import("zod").ZodObject<{
13903
- id: import("zod").ZodString;
13904
- }, "strip", import("zod").ZodTypeAny, {
13905
- id: string;
13906
- }, {
13907
- id: string;
13908
- }>;
13909
- responses: {
13910
- 401: import("zod").ZodObject<{
13911
- message: import("zod").ZodString;
13912
- error: import("zod").ZodAny;
13913
- }, "strip", import("zod").ZodTypeAny, {
13914
- message: string;
13915
- error?: any;
13916
- }, {
13917
- message: string;
13918
- error?: any;
13919
- }>;
13920
- 404: import("zod").ZodObject<{
13921
- message: import("zod").ZodString;
13922
- error: import("zod").ZodAny;
13923
- }, "strip", import("zod").ZodTypeAny, {
13924
- message: string;
13925
- error?: any;
13926
- }, {
13927
- message: string;
13928
- error?: any;
13929
- }>;
13930
- 422: import("zod").ZodObject<{
13931
- message: import("zod").ZodString;
13932
- error: import("zod").ZodAny;
13933
- }, "strip", import("zod").ZodTypeAny, {
13934
- message: string;
13935
- error?: any;
13936
- }, {
13937
- message: string;
13938
- error?: any;
13939
- }>;
13940
- 200: import("zod").ZodObject<{
13941
- requestId: import("zod").ZodString;
13942
- data: import("zod").ZodObject<{
13943
- id: import("zod").ZodString;
13944
- createdAt: import("zod").ZodDate;
13945
- updatedAt: import("zod").ZodDate;
13946
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13947
- roomId: import("zod").ZodString;
13948
- subject: import("zod").ZodString;
13949
- textPlain: import("zod").ZodString;
13950
- textHtml: import("zod").ZodString;
13951
- textId: import("zod").ZodString;
13952
- emailEngineEmailId: import("zod").ZodString;
13953
- emailEngineMessageId: import("zod").ZodString;
13954
- emailEngineReplyTo: import("zod").ZodNullable<import("zod").ZodString>;
13955
- direction: import("zod").ZodString;
13956
- date: import("zod").ZodDate;
13957
- action: import("zod").ZodString;
13958
- unseen: import("zod").ZodBoolean;
13959
- sendAt: import("zod").ZodDate;
13960
- starred: import("zod").ZodBoolean;
13961
- seemsLikeNew: import("zod").ZodBoolean;
13962
- from: import("zod").ZodArray<import("zod").ZodObject<{
13963
- id: import("zod").ZodString;
13964
- createdAt: import("zod").ZodDate;
13965
- updatedAt: import("zod").ZodDate;
13966
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13967
- name: import("zod").ZodString;
13968
- address: import("zod").ZodString;
13969
- }, "strip", import("zod").ZodTypeAny, {
13970
- id: string;
13971
- address: string;
13972
- name: string;
13973
- createdAt: Date;
13974
- updatedAt: Date;
13975
- deletedAt: Date | null;
13976
- }, {
13977
- id: string;
13978
- address: string;
13979
- name: string;
13980
- createdAt: Date;
13981
- updatedAt: Date;
13982
- deletedAt: Date | null;
13983
- }>, "many">;
13984
- to: import("zod").ZodArray<import("zod").ZodObject<{
13985
- id: import("zod").ZodString;
13986
- createdAt: import("zod").ZodDate;
13987
- updatedAt: import("zod").ZodDate;
13988
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13989
- name: import("zod").ZodString;
13990
- address: import("zod").ZodString;
13991
- }, "strip", import("zod").ZodTypeAny, {
13992
- id: string;
13993
- address: string;
13994
- name: string;
13995
- createdAt: Date;
13996
- updatedAt: Date;
13997
- deletedAt: Date | null;
13998
- }, {
13999
- id: string;
14000
- address: string;
14001
- name: string;
14002
- createdAt: Date;
14003
- updatedAt: Date;
14004
- deletedAt: Date | null;
14005
- }>, "many">;
14006
- cc: import("zod").ZodArray<import("zod").ZodObject<{
14007
- id: import("zod").ZodString;
14008
- createdAt: import("zod").ZodDate;
14009
- updatedAt: import("zod").ZodDate;
14010
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14011
- name: import("zod").ZodString;
14012
- address: import("zod").ZodString;
14013
- }, "strip", import("zod").ZodTypeAny, {
14014
- id: string;
14015
- address: string;
14016
- name: string;
14017
- createdAt: Date;
14018
- updatedAt: Date;
14019
- deletedAt: Date | null;
14020
- }, {
14021
- id: string;
14022
- address: string;
14023
- name: string;
14024
- createdAt: Date;
14025
- updatedAt: Date;
14026
- deletedAt: Date | null;
14027
- }>, "many">;
14028
- bcc: import("zod").ZodArray<import("zod").ZodObject<{
14029
- id: import("zod").ZodString;
14030
- createdAt: import("zod").ZodDate;
14031
- updatedAt: import("zod").ZodDate;
14032
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14033
- name: import("zod").ZodString;
14034
- address: import("zod").ZodString;
14035
- }, "strip", import("zod").ZodTypeAny, {
14036
- id: string;
14037
- address: string;
14038
- name: string;
14039
- createdAt: Date;
14040
- updatedAt: Date;
14041
- deletedAt: Date | null;
14042
- }, {
14043
- id: string;
14044
- address: string;
14045
- name: string;
14046
- createdAt: Date;
14047
- updatedAt: Date;
14048
- deletedAt: Date | null;
14049
- }>, "many">;
14050
- attachments: import("zod").ZodArray<import("zod").ZodObject<{
14051
- id: import("zod").ZodString;
14052
- createdAt: import("zod").ZodDate;
14053
- updatedAt: import("zod").ZodDate;
14054
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14055
- roomId: import("zod").ZodString;
14056
- messageId: import("zod").ZodString;
14057
- fileName: import("zod").ZodString;
14058
- fileType: import("zod").ZodString;
14059
- emailEngineAttachmentId: import("zod").ZodString;
14060
- uploadId: import("zod").ZodString;
14061
- upload: import("zod").ZodObject<{
14062
- id: import("zod").ZodString;
14063
- createdAt: import("zod").ZodDate;
14064
- updatedAt: import("zod").ZodDate;
14065
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14066
- bucketName: import("zod").ZodString;
14067
- fileName: import("zod").ZodString;
14068
- fileKey: import("zod").ZodString;
14069
- fileSize: import("zod").ZodNumber;
14070
- fileUrl: import("zod").ZodString;
14071
- extensionName: import("zod").ZodString;
14072
- }, "strip", import("zod").ZodTypeAny, {
14073
- id: string;
14074
- createdAt: Date;
14075
- updatedAt: Date;
14076
- deletedAt: Date | null;
14077
- extensionName: string;
14078
- fileName: string;
14079
- fileKey: string;
14080
- bucketName: string;
14081
- fileSize: number;
14082
- fileUrl: string;
14083
- }, {
14084
- id: string;
14085
- createdAt: Date;
14086
- updatedAt: Date;
14087
- deletedAt: Date | null;
14088
- extensionName: string;
14089
- fileName: string;
14090
- fileKey: string;
14091
- bucketName: string;
14092
- fileSize: number;
14093
- fileUrl: string;
14094
- }>;
14095
- }, "strip", import("zod").ZodTypeAny, {
14096
- id: string;
14097
- createdAt: Date;
14098
- updatedAt: Date;
14099
- deletedAt: Date | null;
14100
- fileName: string;
14101
- fileType: string;
14102
- uploadId: string;
14103
- upload: {
14104
- id: string;
14105
- createdAt: Date;
14106
- updatedAt: Date;
14107
- deletedAt: Date | null;
14108
- extensionName: string;
14109
- fileName: string;
14110
- fileKey: string;
14111
- bucketName: string;
14112
- fileSize: number;
14113
- fileUrl: string;
14114
- };
14115
- roomId: string;
14116
- messageId: string;
14117
- emailEngineAttachmentId: string;
14118
- }, {
14119
- id: string;
14120
- createdAt: Date;
14121
- updatedAt: Date;
14122
- deletedAt: Date | null;
14123
- fileName: string;
14124
- fileType: string;
14125
- uploadId: string;
14126
- upload: {
14127
- id: string;
14128
- createdAt: Date;
14129
- updatedAt: Date;
14130
- deletedAt: Date | null;
14131
- extensionName: string;
14132
- fileName: string;
14133
- fileKey: string;
14134
- bucketName: string;
14135
- fileSize: number;
14136
- fileUrl: string;
14137
- };
14138
- roomId: string;
14139
- messageId: string;
14140
- emailEngineAttachmentId: string;
14141
- }>, "many">;
14142
- }, "strip", import("zod").ZodTypeAny, {
14143
- id: string;
14144
- direction: string;
14145
- action: string;
14146
- date: Date;
14147
- createdAt: Date;
14148
- updatedAt: Date;
14149
- deletedAt: Date | null;
14150
- roomId: string;
14151
- subject: string;
14152
- textPlain: string;
14153
- textHtml: string;
14154
- textId: string;
14155
- emailEngineEmailId: string;
14156
- emailEngineMessageId: string;
14157
- emailEngineReplyTo: string | null;
14158
- unseen: boolean;
14159
- sendAt: Date;
14160
- starred: boolean;
14161
- seemsLikeNew: boolean;
14162
- from: {
14163
- id: string;
14164
- address: string;
14165
- name: string;
14166
- createdAt: Date;
14167
- updatedAt: Date;
14168
- deletedAt: Date | null;
14169
- }[];
14170
- to: {
14171
- id: string;
14172
- address: string;
14173
- name: string;
14174
- createdAt: Date;
14175
- updatedAt: Date;
14176
- deletedAt: Date | null;
14177
- }[];
14178
- cc: {
14179
- id: string;
14180
- address: string;
14181
- name: string;
14182
- createdAt: Date;
14183
- updatedAt: Date;
14184
- deletedAt: Date | null;
14185
- }[];
14186
- bcc: {
14187
- id: string;
14188
- address: string;
14189
- name: string;
14190
- createdAt: Date;
14191
- updatedAt: Date;
14192
- deletedAt: Date | null;
14193
- }[];
14194
- attachments: {
14195
- id: string;
14196
- createdAt: Date;
14197
- updatedAt: Date;
14198
- deletedAt: Date | null;
14199
- fileName: string;
14200
- fileType: string;
14201
- uploadId: string;
14202
- upload: {
14203
- id: string;
14204
- createdAt: Date;
14205
- updatedAt: Date;
14206
- deletedAt: Date | null;
14207
- extensionName: string;
14208
- fileName: string;
14209
- fileKey: string;
14210
- bucketName: string;
14211
- fileSize: number;
14212
- fileUrl: string;
14213
- };
14214
- roomId: string;
14215
- messageId: string;
14216
- emailEngineAttachmentId: string;
14217
- }[];
14218
- }, {
14219
- id: string;
14220
- direction: string;
14221
- action: string;
14222
- date: Date;
14223
- createdAt: Date;
14224
- updatedAt: Date;
14225
- deletedAt: Date | null;
14226
- roomId: string;
14227
- subject: string;
14228
- textPlain: string;
14229
- textHtml: string;
14230
- textId: string;
14231
- emailEngineEmailId: string;
14232
- emailEngineMessageId: string;
14233
- emailEngineReplyTo: string | null;
14234
- unseen: boolean;
14235
- sendAt: Date;
14236
- starred: boolean;
14237
- seemsLikeNew: boolean;
14238
- from: {
14239
- id: string;
14240
- address: string;
14241
- name: string;
14242
- createdAt: Date;
14243
- updatedAt: Date;
14244
- deletedAt: Date | null;
14245
- }[];
14246
- to: {
14247
- id: string;
14248
- address: string;
14249
- name: string;
14250
- createdAt: Date;
14251
- updatedAt: Date;
14252
- deletedAt: Date | null;
14253
- }[];
14254
- cc: {
14255
- id: string;
14256
- address: string;
14257
- name: string;
14258
- createdAt: Date;
14259
- updatedAt: Date;
14260
- deletedAt: Date | null;
14261
- }[];
14262
- bcc: {
14263
- id: string;
14264
- address: string;
14265
- name: string;
14266
- createdAt: Date;
14267
- updatedAt: Date;
14268
- deletedAt: Date | null;
14269
- }[];
14270
- attachments: {
14271
- id: string;
14272
- createdAt: Date;
14273
- updatedAt: Date;
14274
- deletedAt: Date | null;
14275
- fileName: string;
14276
- fileType: string;
14277
- uploadId: string;
14278
- upload: {
14279
- id: string;
14280
- createdAt: Date;
14281
- updatedAt: Date;
14282
- deletedAt: Date | null;
14283
- extensionName: string;
14284
- fileName: string;
14285
- fileKey: string;
14286
- bucketName: string;
14287
- fileSize: number;
14288
- fileUrl: string;
14289
- };
14290
- roomId: string;
14291
- messageId: string;
14292
- emailEngineAttachmentId: string;
14293
- }[];
14294
- }>;
14295
- }, "strip", import("zod").ZodTypeAny, {
14296
- data: {
14297
- id: string;
14298
- direction: string;
14299
- action: string;
14300
- date: Date;
14301
- createdAt: Date;
14302
- updatedAt: Date;
14303
- deletedAt: Date | null;
14304
- roomId: string;
14305
- subject: string;
14306
- textPlain: string;
14307
- textHtml: string;
14308
- textId: string;
14309
- emailEngineEmailId: string;
14310
- emailEngineMessageId: string;
14311
- emailEngineReplyTo: string | null;
14312
- unseen: boolean;
14313
- sendAt: Date;
14314
- starred: boolean;
14315
- seemsLikeNew: boolean;
14316
- from: {
14317
- id: string;
14318
- address: string;
14319
- name: string;
14320
- createdAt: Date;
14321
- updatedAt: Date;
14322
- deletedAt: Date | null;
14323
- }[];
14324
- to: {
14325
- id: string;
14326
- address: string;
14327
- name: string;
14328
- createdAt: Date;
14329
- updatedAt: Date;
14330
- deletedAt: Date | null;
14331
- }[];
14332
- cc: {
14333
- id: string;
14334
- address: string;
14335
- name: string;
14336
- createdAt: Date;
14337
- updatedAt: Date;
14338
- deletedAt: Date | null;
14339
- }[];
14340
- bcc: {
14341
- id: string;
14342
- address: string;
14343
- name: string;
14344
- createdAt: Date;
14345
- updatedAt: Date;
14346
- deletedAt: Date | null;
14347
- }[];
14348
- attachments: {
14349
- id: string;
14350
- createdAt: Date;
14351
- updatedAt: Date;
14352
- deletedAt: Date | null;
14353
- fileName: string;
14354
- fileType: string;
14355
- uploadId: string;
14356
- upload: {
14357
- id: string;
14358
- createdAt: Date;
14359
- updatedAt: Date;
14360
- deletedAt: Date | null;
14361
- extensionName: string;
14362
- fileName: string;
14363
- fileKey: string;
14364
- bucketName: string;
14365
- fileSize: number;
14366
- fileUrl: string;
14367
- };
14368
- roomId: string;
14369
- messageId: string;
14370
- emailEngineAttachmentId: string;
14371
- }[];
14372
- };
14373
- requestId: string;
14374
- }, {
14375
- data: {
14376
- id: string;
14377
- direction: string;
14378
- action: string;
14379
- date: Date;
14380
- createdAt: Date;
14381
- updatedAt: Date;
14382
- deletedAt: Date | null;
14383
- roomId: string;
14384
- subject: string;
14385
- textPlain: string;
14386
- textHtml: string;
14387
- textId: string;
14388
- emailEngineEmailId: string;
14389
- emailEngineMessageId: string;
14390
- emailEngineReplyTo: string | null;
14391
- unseen: boolean;
14392
- sendAt: Date;
14393
- starred: boolean;
14394
- seemsLikeNew: boolean;
14395
- from: {
14396
- id: string;
14397
- address: string;
14398
- name: string;
14399
- createdAt: Date;
14400
- updatedAt: Date;
14401
- deletedAt: Date | null;
14402
- }[];
14403
- to: {
14404
- id: string;
14405
- address: string;
14406
- name: string;
14407
- createdAt: Date;
14408
- updatedAt: Date;
14409
- deletedAt: Date | null;
14410
- }[];
14411
- cc: {
14412
- id: string;
14413
- address: string;
14414
- name: string;
14415
- createdAt: Date;
14416
- updatedAt: Date;
14417
- deletedAt: Date | null;
14418
- }[];
14419
- bcc: {
14420
- id: string;
14421
- address: string;
14422
- name: string;
14423
- createdAt: Date;
14424
- updatedAt: Date;
14425
- deletedAt: Date | null;
14426
- }[];
14427
- attachments: {
14428
- id: string;
14429
- createdAt: Date;
14430
- updatedAt: Date;
14431
- deletedAt: Date | null;
14432
- fileName: string;
14433
- fileType: string;
14434
- uploadId: string;
14435
- upload: {
14436
- id: string;
14437
- createdAt: Date;
14438
- updatedAt: Date;
14439
- deletedAt: Date | null;
14440
- extensionName: string;
14441
- fileName: string;
14442
- fileKey: string;
14443
- bucketName: string;
14444
- fileSize: number;
14445
- fileUrl: string;
14446
- };
14447
- roomId: string;
14448
- messageId: string;
14449
- emailEngineAttachmentId: string;
14450
- }[];
14451
- };
14452
- requestId: string;
14453
- }>;
14454
- };
14455
- path: "mail/message/:id";
14456
- };
14457
- cancelScheduledMessage: {
14458
- body: null;
14459
- summary: "Cancel a scheduled message";
14460
- method: "DELETE";
14461
- pathParams: import("zod").ZodObject<{
14462
- id: import("zod").ZodString;
14463
- }, "strip", import("zod").ZodTypeAny, {
14464
- id: string;
14465
- }, {
14466
- id: string;
14467
- }>;
14468
- responses: {
14469
- 401: import("zod").ZodObject<{
14470
- message: import("zod").ZodString;
14471
- error: import("zod").ZodAny;
14472
- }, "strip", import("zod").ZodTypeAny, {
14473
- message: string;
14474
- error?: any;
14475
- }, {
14476
- message: string;
14477
- error?: any;
14478
- }>;
14479
- 404: import("zod").ZodObject<{
14480
- message: import("zod").ZodString;
14481
- error: import("zod").ZodAny;
14482
- }, "strip", import("zod").ZodTypeAny, {
14483
- message: string;
14484
- error?: any;
14485
- }, {
14486
- message: string;
14487
- error?: any;
14488
- }>;
14489
- 422: import("zod").ZodObject<{
14490
- message: import("zod").ZodString;
14491
- error: import("zod").ZodAny;
14492
- }, "strip", import("zod").ZodTypeAny, {
14493
- message: string;
14494
- error?: any;
14495
- }, {
14496
- message: string;
14497
- error?: any;
14498
- }>;
14499
- 200: import("zod").ZodObject<{
14500
- requestId: import("zod").ZodString;
14501
- data: import("zod").ZodObject<{
14502
- id: import("zod").ZodString;
14503
- createdAt: import("zod").ZodDate;
14504
- updatedAt: import("zod").ZodDate;
14505
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14506
- roomId: import("zod").ZodString;
14507
- subject: import("zod").ZodString;
14508
- textPlain: import("zod").ZodString;
14509
- textHtml: import("zod").ZodString;
14510
- textId: import("zod").ZodString;
14511
- emailEngineEmailId: import("zod").ZodString;
14512
- emailEngineMessageId: import("zod").ZodString;
14513
- emailEngineReplyTo: import("zod").ZodNullable<import("zod").ZodString>;
14514
- direction: import("zod").ZodString;
14515
- date: import("zod").ZodDate;
14516
- action: import("zod").ZodString;
14517
- unseen: import("zod").ZodBoolean;
14518
- sendAt: import("zod").ZodDate;
14519
- starred: import("zod").ZodBoolean;
14520
- seemsLikeNew: import("zod").ZodBoolean;
14521
- from: import("zod").ZodArray<import("zod").ZodObject<{
14522
- id: import("zod").ZodString;
14523
- createdAt: import("zod").ZodDate;
14524
- updatedAt: import("zod").ZodDate;
14525
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14526
- name: import("zod").ZodString;
14527
- address: import("zod").ZodString;
14528
- }, "strip", import("zod").ZodTypeAny, {
14529
- id: string;
14530
- address: string;
14531
- name: string;
14532
- createdAt: Date;
14533
- updatedAt: Date;
14534
- deletedAt: Date | null;
14535
- }, {
14536
- id: string;
14537
- address: string;
14538
- name: string;
14539
- createdAt: Date;
14540
- updatedAt: Date;
14541
- deletedAt: Date | null;
14542
- }>, "many">;
14543
- to: import("zod").ZodArray<import("zod").ZodObject<{
14544
- id: import("zod").ZodString;
14545
- createdAt: import("zod").ZodDate;
14546
- updatedAt: import("zod").ZodDate;
14547
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14548
- name: import("zod").ZodString;
14549
- address: import("zod").ZodString;
14550
- }, "strip", import("zod").ZodTypeAny, {
14551
- id: string;
14552
- address: string;
14553
- name: string;
14554
- createdAt: Date;
14555
- updatedAt: Date;
14556
- deletedAt: Date | null;
14557
- }, {
14558
- id: string;
14559
- address: string;
14560
- name: string;
14561
- createdAt: Date;
14562
- updatedAt: Date;
14563
- deletedAt: Date | null;
14564
- }>, "many">;
14565
- cc: import("zod").ZodArray<import("zod").ZodObject<{
14566
- id: import("zod").ZodString;
14567
- createdAt: import("zod").ZodDate;
14568
- updatedAt: import("zod").ZodDate;
14569
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14570
- name: import("zod").ZodString;
14571
- address: import("zod").ZodString;
14572
- }, "strip", import("zod").ZodTypeAny, {
14573
- id: string;
14574
- address: string;
14575
- name: string;
14576
- createdAt: Date;
14577
- updatedAt: Date;
14578
- deletedAt: Date | null;
14579
- }, {
14580
- id: string;
14581
- address: string;
14582
- name: string;
14583
- createdAt: Date;
14584
- updatedAt: Date;
14585
- deletedAt: Date | null;
14586
- }>, "many">;
14587
- bcc: import("zod").ZodArray<import("zod").ZodObject<{
14588
- id: import("zod").ZodString;
14589
- createdAt: import("zod").ZodDate;
14590
- updatedAt: import("zod").ZodDate;
14591
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14592
- name: import("zod").ZodString;
14593
- address: import("zod").ZodString;
14594
- }, "strip", import("zod").ZodTypeAny, {
14595
- id: string;
14596
- address: string;
14597
- name: string;
14598
- createdAt: Date;
14599
- updatedAt: Date;
14600
- deletedAt: Date | null;
14601
- }, {
14602
- id: string;
14603
- address: string;
14604
- name: string;
14605
- createdAt: Date;
14606
- updatedAt: Date;
14607
- deletedAt: Date | null;
14608
- }>, "many">;
14609
- attachments: import("zod").ZodArray<import("zod").ZodObject<{
14610
- id: import("zod").ZodString;
14611
- createdAt: import("zod").ZodDate;
14612
- updatedAt: import("zod").ZodDate;
14613
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14614
- roomId: import("zod").ZodString;
14615
- messageId: import("zod").ZodString;
14616
- fileName: import("zod").ZodString;
14617
- fileType: import("zod").ZodString;
14618
- emailEngineAttachmentId: import("zod").ZodString;
14619
- uploadId: import("zod").ZodString;
14620
- upload: import("zod").ZodObject<{
14621
- id: import("zod").ZodString;
14622
- createdAt: import("zod").ZodDate;
14623
- updatedAt: import("zod").ZodDate;
14624
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14625
- bucketName: import("zod").ZodString;
14626
- fileName: import("zod").ZodString;
14627
- fileKey: import("zod").ZodString;
14628
- fileSize: import("zod").ZodNumber;
14629
- fileUrl: import("zod").ZodString;
14630
- extensionName: import("zod").ZodString;
14631
- }, "strip", import("zod").ZodTypeAny, {
14632
- id: string;
14633
- createdAt: Date;
14634
- updatedAt: Date;
14635
- deletedAt: Date | null;
14636
- extensionName: string;
14637
- fileName: string;
14638
- fileKey: string;
14639
- bucketName: string;
14640
- fileSize: number;
14641
- fileUrl: string;
14642
- }, {
14643
- id: string;
14644
- createdAt: Date;
14645
- updatedAt: Date;
14646
- deletedAt: Date | null;
14647
- extensionName: string;
14648
- fileName: string;
14649
- fileKey: string;
14650
- bucketName: string;
14651
- fileSize: number;
14652
- fileUrl: string;
14653
- }>;
14654
- }, "strip", import("zod").ZodTypeAny, {
14655
- id: string;
14656
- createdAt: Date;
14657
- updatedAt: Date;
14658
- deletedAt: Date | null;
14659
- fileName: string;
14660
- fileType: string;
14661
- uploadId: string;
14662
- upload: {
14663
- id: string;
14664
- createdAt: Date;
14665
- updatedAt: Date;
14666
- deletedAt: Date | null;
14667
- extensionName: string;
14668
- fileName: string;
14669
- fileKey: string;
14670
- bucketName: string;
14671
- fileSize: number;
14672
- fileUrl: string;
14673
- };
14674
- roomId: string;
14675
- messageId: string;
14676
- emailEngineAttachmentId: string;
14677
- }, {
14678
- id: string;
14679
- createdAt: Date;
14680
- updatedAt: Date;
14681
- deletedAt: Date | null;
14682
- fileName: string;
14683
- fileType: string;
14684
- uploadId: string;
14685
- upload: {
14686
- id: string;
14687
- createdAt: Date;
14688
- updatedAt: Date;
14689
- deletedAt: Date | null;
14690
- extensionName: string;
14691
- fileName: string;
14692
- fileKey: string;
14693
- bucketName: string;
14694
- fileSize: number;
14695
- fileUrl: string;
14696
- };
14697
- roomId: string;
14698
- messageId: string;
14699
- emailEngineAttachmentId: string;
14700
- }>, "many">;
14701
- }, "strip", import("zod").ZodTypeAny, {
14702
- id: string;
14703
- direction: string;
14704
- action: string;
14705
- date: Date;
14706
- createdAt: Date;
14707
- updatedAt: Date;
14708
- deletedAt: Date | null;
14709
- roomId: string;
14710
- subject: string;
14711
- textPlain: string;
14712
- textHtml: string;
14713
- textId: string;
14714
- emailEngineEmailId: string;
14715
- emailEngineMessageId: string;
14716
- emailEngineReplyTo: string | null;
14717
- unseen: boolean;
14718
- sendAt: Date;
14719
- starred: boolean;
14720
- seemsLikeNew: boolean;
14721
- from: {
14722
- id: string;
14723
- address: string;
14724
- name: string;
14725
- createdAt: Date;
14726
- updatedAt: Date;
14727
- deletedAt: Date | null;
14728
- }[];
14729
- to: {
14730
- id: string;
14731
- address: string;
14732
- name: string;
14733
- createdAt: Date;
14734
- updatedAt: Date;
14735
- deletedAt: Date | null;
14736
- }[];
14737
- cc: {
14738
- id: string;
14739
- address: string;
14740
- name: string;
14741
- createdAt: Date;
14742
- updatedAt: Date;
14743
- deletedAt: Date | null;
14744
- }[];
14745
- bcc: {
14746
- id: string;
14747
- address: string;
14748
- name: string;
14749
- createdAt: Date;
14750
- updatedAt: Date;
14751
- deletedAt: Date | null;
14752
- }[];
14753
- attachments: {
14754
- id: string;
14755
- createdAt: Date;
14756
- updatedAt: Date;
14757
- deletedAt: Date | null;
14758
- fileName: string;
14759
- fileType: string;
14760
- uploadId: string;
14761
- upload: {
14762
- id: string;
14763
- createdAt: Date;
14764
- updatedAt: Date;
14765
- deletedAt: Date | null;
14766
- extensionName: string;
14767
- fileName: string;
14768
- fileKey: string;
14769
- bucketName: string;
14770
- fileSize: number;
14771
- fileUrl: string;
14772
- };
14773
- roomId: string;
14774
- messageId: string;
14775
- emailEngineAttachmentId: string;
14776
- }[];
14777
- }, {
14778
- id: string;
14779
- direction: string;
14780
- action: string;
14781
- date: Date;
14782
- createdAt: Date;
14783
- updatedAt: Date;
14784
- deletedAt: Date | null;
14785
- roomId: string;
14786
- subject: string;
14787
- textPlain: string;
14788
- textHtml: string;
14789
- textId: string;
14790
- emailEngineEmailId: string;
14791
- emailEngineMessageId: string;
14792
- emailEngineReplyTo: string | null;
14793
- unseen: boolean;
14794
- sendAt: Date;
14795
- starred: boolean;
14796
- seemsLikeNew: boolean;
14797
- from: {
14798
- id: string;
14799
- address: string;
14800
- name: string;
14801
- createdAt: Date;
14802
- updatedAt: Date;
14803
- deletedAt: Date | null;
14804
- }[];
14805
- to: {
14806
- id: string;
14807
- address: string;
14808
- name: string;
14809
- createdAt: Date;
14810
- updatedAt: Date;
14811
- deletedAt: Date | null;
14812
- }[];
14813
- cc: {
14814
- id: string;
14815
- address: string;
14816
- name: string;
14817
- createdAt: Date;
14818
- updatedAt: Date;
14819
- deletedAt: Date | null;
14820
- }[];
14821
- bcc: {
14822
- id: string;
14823
- address: string;
14824
- name: string;
14825
- createdAt: Date;
14826
- updatedAt: Date;
14827
- deletedAt: Date | null;
14828
- }[];
14829
- attachments: {
14830
- id: string;
14831
- createdAt: Date;
14832
- updatedAt: Date;
14833
- deletedAt: Date | null;
14834
- fileName: string;
14835
- fileType: string;
14836
- uploadId: string;
14837
- upload: {
14838
- id: string;
14839
- createdAt: Date;
14840
- updatedAt: Date;
14841
- deletedAt: Date | null;
14842
- extensionName: string;
14843
- fileName: string;
14844
- fileKey: string;
14845
- bucketName: string;
14846
- fileSize: number;
14847
- fileUrl: string;
14848
- };
14849
- roomId: string;
14850
- messageId: string;
14851
- emailEngineAttachmentId: string;
14852
- }[];
14853
- }>;
14854
- }, "strip", import("zod").ZodTypeAny, {
14855
- data: {
14856
- id: string;
14857
- direction: string;
14858
- action: string;
14859
- date: Date;
14860
- createdAt: Date;
14861
- updatedAt: Date;
14862
- deletedAt: Date | null;
14863
- roomId: string;
14864
- subject: string;
14865
- textPlain: string;
14866
- textHtml: string;
14867
- textId: string;
14868
- emailEngineEmailId: string;
14869
- emailEngineMessageId: string;
14870
- emailEngineReplyTo: string | null;
14871
- unseen: boolean;
14872
- sendAt: Date;
14873
- starred: boolean;
14874
- seemsLikeNew: boolean;
14875
- from: {
14876
- id: string;
14877
- address: string;
14878
- name: string;
14879
- createdAt: Date;
14880
- updatedAt: Date;
14881
- deletedAt: Date | null;
14882
- }[];
14883
- to: {
14884
- id: string;
14885
- address: string;
14886
- name: string;
14887
- createdAt: Date;
14888
- updatedAt: Date;
14889
- deletedAt: Date | null;
14890
- }[];
14891
- cc: {
14892
- id: string;
14893
- address: string;
14894
- name: string;
14895
- createdAt: Date;
14896
- updatedAt: Date;
14897
- deletedAt: Date | null;
14898
- }[];
14899
- bcc: {
14900
- id: string;
14901
- address: string;
14902
- name: string;
14903
- createdAt: Date;
14904
- updatedAt: Date;
14905
- deletedAt: Date | null;
14906
- }[];
14907
- attachments: {
14908
- id: string;
14909
- createdAt: Date;
14910
- updatedAt: Date;
14911
- deletedAt: Date | null;
14912
- fileName: string;
14913
- fileType: string;
14914
- uploadId: string;
14915
- upload: {
14916
- id: string;
14917
- createdAt: Date;
14918
- updatedAt: Date;
14919
- deletedAt: Date | null;
14920
- extensionName: string;
14921
- fileName: string;
14922
- fileKey: string;
14923
- bucketName: string;
14924
- fileSize: number;
14925
- fileUrl: string;
14926
- };
14927
- roomId: string;
14928
- messageId: string;
14929
- emailEngineAttachmentId: string;
14930
- }[];
14931
- };
14932
- requestId: string;
14933
- }, {
14934
- data: {
14935
- id: string;
14936
- direction: string;
14937
- action: string;
14938
- date: Date;
14939
- createdAt: Date;
14940
- updatedAt: Date;
14941
- deletedAt: Date | null;
14942
- roomId: string;
14943
- subject: string;
14944
- textPlain: string;
14945
- textHtml: string;
14946
- textId: string;
14947
- emailEngineEmailId: string;
14948
- emailEngineMessageId: string;
14949
- emailEngineReplyTo: string | null;
14950
- unseen: boolean;
14951
- sendAt: Date;
14952
- starred: boolean;
14953
- seemsLikeNew: boolean;
14954
- from: {
14955
- id: string;
14956
- address: string;
14957
- name: string;
14958
- createdAt: Date;
14959
- updatedAt: Date;
14960
- deletedAt: Date | null;
14961
- }[];
14962
- to: {
14963
- id: string;
14964
- address: string;
14965
- name: string;
14966
- createdAt: Date;
14967
- updatedAt: Date;
14968
- deletedAt: Date | null;
14969
- }[];
14970
- cc: {
14971
- id: string;
14972
- address: string;
14973
- name: string;
14974
- createdAt: Date;
14975
- updatedAt: Date;
14976
- deletedAt: Date | null;
14977
- }[];
14978
- bcc: {
14979
- id: string;
14980
- address: string;
14981
- name: string;
14982
- createdAt: Date;
14983
- updatedAt: Date;
14984
- deletedAt: Date | null;
14985
- }[];
14986
- attachments: {
14987
- id: string;
14988
- createdAt: Date;
14989
- updatedAt: Date;
14990
- deletedAt: Date | null;
14991
- fileName: string;
14992
- fileType: string;
14993
- uploadId: string;
14994
- upload: {
14995
- id: string;
14996
- createdAt: Date;
14997
- updatedAt: Date;
14998
- deletedAt: Date | null;
14999
- extensionName: string;
15000
- fileName: string;
15001
- fileKey: string;
15002
- bucketName: string;
15003
- fileSize: number;
15004
- fileUrl: string;
15005
- };
15006
- roomId: string;
15007
- messageId: string;
15008
- emailEngineAttachmentId: string;
15009
- }[];
15010
- };
15011
- requestId: string;
15012
- }>;
15013
- };
15014
- path: "mail/message/scheduled_message/:id";
15015
- };
15016
12806
  };
15017
12807
  account: {
15018
12808
  create: {