@kl1/contracts 1.1.29-uat → 1.1.29

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 (78) hide show
  1. package/dist/index.js +3368 -3236
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +3365 -3238
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/botpress/index.d.ts +547 -0
  6. package/dist/src/botpress/index.d.ts.map +1 -0
  7. package/dist/src/botpress/schema.d.ts +81 -0
  8. package/dist/src/botpress/schema.d.ts.map +1 -0
  9. package/dist/src/botpress/validation.d.ts +229 -0
  10. package/dist/src/botpress/validation.d.ts.map +1 -0
  11. package/dist/src/business-calendar/index.d.ts +36 -0
  12. package/dist/src/business-calendar/index.d.ts.map +1 -1
  13. package/dist/src/business-calendar/schema.d.ts +11 -0
  14. package/dist/src/business-calendar/schema.d.ts.map +1 -1
  15. package/dist/src/channel/index.d.ts +1687 -0
  16. package/dist/src/channel/index.d.ts.map +1 -1
  17. package/dist/src/channel/schema.d.ts +44 -0
  18. package/dist/src/channel/schema.d.ts.map +1 -1
  19. package/dist/src/channel/validation.d.ts +12 -0
  20. package/dist/src/channel/validation.d.ts.map +1 -1
  21. package/dist/src/chat/index.d.ts +34189 -32567
  22. package/dist/src/chat/index.d.ts.map +1 -1
  23. package/dist/src/chat/schema.d.ts +365 -59
  24. package/dist/src/chat/schema.d.ts.map +1 -1
  25. package/dist/src/chat/validation.d.ts +392 -85
  26. package/dist/src/chat/validation.d.ts.map +1 -1
  27. package/dist/src/contract.d.ts +24887 -72196
  28. package/dist/src/contract.d.ts.map +1 -1
  29. package/dist/src/cx-log/index.d.ts +99 -8
  30. package/dist/src/cx-log/index.d.ts.map +1 -1
  31. package/dist/src/cx-log/schema.d.ts +85 -12
  32. package/dist/src/cx-log/schema.d.ts.map +1 -1
  33. package/dist/src/index.d.ts +2 -0
  34. package/dist/src/index.d.ts.map +1 -1
  35. package/dist/src/instagram/index.d.ts +438 -65
  36. package/dist/src/instagram/index.d.ts.map +1 -1
  37. package/dist/src/instagram/validation.d.ts +7 -0
  38. package/dist/src/instagram/validation.d.ts.map +1 -1
  39. package/dist/src/line/index.d.ts +434 -70
  40. package/dist/src/line/index.d.ts.map +1 -1
  41. package/dist/src/line/validation.d.ts +31 -5
  42. package/dist/src/line/validation.d.ts.map +1 -1
  43. package/dist/src/mail/mail-contract.d.ts +33 -2243
  44. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  45. package/dist/src/mail/message-contract.d.ts +1 -2045
  46. package/dist/src/mail/message-contract.d.ts.map +1 -1
  47. package/dist/src/mail/room-contract.d.ts +32 -200
  48. package/dist/src/mail/room-contract.d.ts.map +1 -1
  49. package/dist/src/mail/schemas/message-validation.schema.d.ts +0 -3
  50. package/dist/src/mail/schemas/message-validation.schema.d.ts.map +1 -1
  51. package/dist/src/mail/schemas/message.schema.d.ts +0 -6
  52. package/dist/src/mail/schemas/message.schema.d.ts.map +1 -1
  53. package/dist/src/mail/schemas/room-validation.schema.d.ts +12 -68
  54. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  55. package/dist/src/mail/schemas/room.schema.d.ts +8 -54
  56. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  57. package/dist/src/messenger/index.d.ts +443 -66
  58. package/dist/src/messenger/index.d.ts.map +1 -1
  59. package/dist/src/messenger/validation.d.ts +48 -0
  60. package/dist/src/messenger/validation.d.ts.map +1 -1
  61. package/dist/src/telephony-cdr/call-report.schema.d.ts +62 -62
  62. package/dist/src/telephony-cdr/call-report.schema.d.ts.map +1 -1
  63. package/dist/src/telephony-cdr/index.d.ts +1 -622
  64. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  65. package/dist/src/viber/index.d.ts +498 -65
  66. package/dist/src/viber/index.d.ts.map +1 -1
  67. package/dist/src/webchat/index.d.ts +379 -68
  68. package/dist/src/webchat/index.d.ts.map +1 -1
  69. package/dist/src/workflow-rule/index.d.ts +7455 -0
  70. package/dist/src/workflow-rule/index.d.ts.map +1 -0
  71. package/dist/src/workflow-rule/schema.d.ts +27 -0
  72. package/dist/src/workflow-rule/schema.d.ts.map +1 -0
  73. package/dist/src/wrap-up-form/index.d.ts +475 -22
  74. package/dist/src/wrap-up-form/index.d.ts.map +1 -1
  75. package/dist/src/wrap-up-form/schema.d.ts +4 -4
  76. package/dist/src/wrap-up-form/validation.d.ts +6 -0
  77. package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
  78. 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;
@@ -2026,7 +2002,7 @@ export declare const mailContract: {
2026
2002
  }>, "many">;
2027
2003
  callFrom: import("zod").ZodNullable<import("zod").ZodString>;
2028
2004
  callTo: import("zod").ZodNullable<import("zod").ZodString>;
2029
- customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2005
+ customFields: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2030
2006
  id: import("zod").ZodString;
2031
2007
  createdAt: import("zod").ZodDate;
2032
2008
  updatedAt: import("zod").ZodDate;
@@ -2059,7 +2035,7 @@ export declare const mailContract: {
2059
2035
  booleanValue: boolean | null;
2060
2036
  numberValue: number | null;
2061
2037
  dateValue: Date | null;
2062
- }>, "many">>;
2038
+ }>, "many">>>;
2063
2039
  }, "strip", import("zod").ZodTypeAny, {
2064
2040
  type: string;
2065
2041
  id: string;
@@ -2110,7 +2086,7 @@ export declare const mailContract: {
2110
2086
  booleanValue: boolean | null;
2111
2087
  numberValue: number | null;
2112
2088
  dateValue: Date | null;
2113
- }[] | undefined;
2089
+ }[] | null | undefined;
2114
2090
  }, {
2115
2091
  type: string;
2116
2092
  id: string;
@@ -2161,7 +2137,7 @@ export declare const mailContract: {
2161
2137
  booleanValue: boolean | null;
2162
2138
  numberValue: number | null;
2163
2139
  dateValue: Date | null;
2164
- }[] | undefined;
2140
+ }[] | null | undefined;
2165
2141
  }>>;
2166
2142
  }, "strip", import("zod").ZodTypeAny, {
2167
2143
  id: string;
@@ -2229,7 +2205,7 @@ export declare const mailContract: {
2229
2205
  booleanValue: boolean | null;
2230
2206
  numberValue: number | null;
2231
2207
  dateValue: Date | null;
2232
- }[] | undefined;
2208
+ }[] | null | undefined;
2233
2209
  } | null;
2234
2210
  }, {
2235
2211
  id: string;
@@ -2297,7 +2273,7 @@ export declare const mailContract: {
2297
2273
  booleanValue: boolean | null;
2298
2274
  numberValue: number | null;
2299
2275
  dateValue: Date | null;
2300
- }[] | undefined;
2276
+ }[] | null | undefined;
2301
2277
  } | null;
2302
2278
  }>;
2303
2279
  }, "strip", import("zod").ZodTypeAny, {
@@ -2332,8 +2308,6 @@ export declare const mailContract: {
2332
2308
  emailEngineMessageId: string;
2333
2309
  emailEngineReplyTo: string | null;
2334
2310
  unseen: boolean;
2335
- sendAt: Date;
2336
- starred: boolean;
2337
2311
  seemsLikeNew: boolean;
2338
2312
  from: {
2339
2313
  id: string;
@@ -2470,7 +2444,7 @@ export declare const mailContract: {
2470
2444
  booleanValue: boolean | null;
2471
2445
  numberValue: number | null;
2472
2446
  dateValue: Date | null;
2473
- }[] | undefined;
2447
+ }[] | null | undefined;
2474
2448
  } | null;
2475
2449
  };
2476
2450
  assigneeId: string | null;
@@ -2527,8 +2501,6 @@ export declare const mailContract: {
2527
2501
  emailEngineMessageId: string;
2528
2502
  emailEngineReplyTo: string | null;
2529
2503
  unseen: boolean;
2530
- sendAt: Date;
2531
- starred: boolean;
2532
2504
  seemsLikeNew: boolean;
2533
2505
  from: {
2534
2506
  id: string;
@@ -2604,8 +2576,6 @@ export declare const mailContract: {
2604
2576
  emailEngineMessageId: string;
2605
2577
  emailEngineReplyTo: string | null;
2606
2578
  unseen: boolean;
2607
- sendAt: Date;
2608
- starred: boolean;
2609
2579
  seemsLikeNew: boolean;
2610
2580
  from: {
2611
2581
  id: string;
@@ -2681,8 +2651,6 @@ export declare const mailContract: {
2681
2651
  emailEngineMessageId: string;
2682
2652
  emailEngineReplyTo: string | null;
2683
2653
  unseen: boolean;
2684
- sendAt: Date;
2685
- starred: boolean;
2686
2654
  seemsLikeNew: boolean;
2687
2655
  from: {
2688
2656
  id: string;
@@ -2819,8 +2787,6 @@ export declare const mailContract: {
2819
2787
  emailEngineMessageId: string;
2820
2788
  emailEngineReplyTo: string | null;
2821
2789
  unseen: boolean;
2822
- sendAt: Date;
2823
- starred: boolean;
2824
2790
  seemsLikeNew: boolean;
2825
2791
  from: {
2826
2792
  id: string;
@@ -2957,7 +2923,7 @@ export declare const mailContract: {
2957
2923
  booleanValue: boolean | null;
2958
2924
  numberValue: number | null;
2959
2925
  dateValue: Date | null;
2960
- }[] | undefined;
2926
+ }[] | null | undefined;
2961
2927
  } | null;
2962
2928
  };
2963
2929
  assigneeId: string | null;
@@ -3014,8 +2980,6 @@ export declare const mailContract: {
3014
2980
  emailEngineMessageId: string;
3015
2981
  emailEngineReplyTo: string | null;
3016
2982
  unseen: boolean;
3017
- sendAt: Date;
3018
- starred: boolean;
3019
2983
  seemsLikeNew: boolean;
3020
2984
  from: {
3021
2985
  id: string;
@@ -3091,8 +3055,6 @@ export declare const mailContract: {
3091
3055
  emailEngineMessageId: string;
3092
3056
  emailEngineReplyTo: string | null;
3093
3057
  unseen: boolean;
3094
- sendAt: Date;
3095
- starred: boolean;
3096
3058
  seemsLikeNew: boolean;
3097
3059
  from: {
3098
3060
  id: string;
@@ -3168,8 +3130,6 @@ export declare const mailContract: {
3168
3130
  emailEngineMessageId: string;
3169
3131
  emailEngineReplyTo: string | null;
3170
3132
  unseen: boolean;
3171
- sendAt: Date;
3172
- starred: boolean;
3173
3133
  seemsLikeNew: boolean;
3174
3134
  from: {
3175
3135
  id: string;
@@ -3311,8 +3271,6 @@ export declare const mailContract: {
3311
3271
  emailEngineMessageId: string;
3312
3272
  emailEngineReplyTo: string | null;
3313
3273
  unseen: boolean;
3314
- sendAt: Date;
3315
- starred: boolean;
3316
3274
  seemsLikeNew: boolean;
3317
3275
  from: {
3318
3276
  id: string;
@@ -3449,7 +3407,7 @@ export declare const mailContract: {
3449
3407
  booleanValue: boolean | null;
3450
3408
  numberValue: number | null;
3451
3409
  dateValue: Date | null;
3452
- }[] | undefined;
3410
+ }[] | null | undefined;
3453
3411
  } | null;
3454
3412
  };
3455
3413
  assigneeId: string | null;
@@ -3506,8 +3464,6 @@ export declare const mailContract: {
3506
3464
  emailEngineMessageId: string;
3507
3465
  emailEngineReplyTo: string | null;
3508
3466
  unseen: boolean;
3509
- sendAt: Date;
3510
- starred: boolean;
3511
3467
  seemsLikeNew: boolean;
3512
3468
  from: {
3513
3469
  id: string;
@@ -3583,8 +3539,6 @@ export declare const mailContract: {
3583
3539
  emailEngineMessageId: string;
3584
3540
  emailEngineReplyTo: string | null;
3585
3541
  unseen: boolean;
3586
- sendAt: Date;
3587
- starred: boolean;
3588
3542
  seemsLikeNew: boolean;
3589
3543
  from: {
3590
3544
  id: string;
@@ -3660,8 +3614,6 @@ export declare const mailContract: {
3660
3614
  emailEngineMessageId: string;
3661
3615
  emailEngineReplyTo: string | null;
3662
3616
  unseen: boolean;
3663
- sendAt: Date;
3664
- starred: boolean;
3665
3617
  seemsLikeNew: boolean;
3666
3618
  from: {
3667
3619
  id: string;
@@ -3804,8 +3756,6 @@ export declare const mailContract: {
3804
3756
  emailEngineMessageId: string;
3805
3757
  emailEngineReplyTo: string | null;
3806
3758
  unseen: boolean;
3807
- sendAt: Date;
3808
- starred: boolean;
3809
3759
  seemsLikeNew: boolean;
3810
3760
  from: {
3811
3761
  id: string;
@@ -3942,7 +3892,7 @@ export declare const mailContract: {
3942
3892
  booleanValue: boolean | null;
3943
3893
  numberValue: number | null;
3944
3894
  dateValue: Date | null;
3945
- }[] | undefined;
3895
+ }[] | null | undefined;
3946
3896
  } | null;
3947
3897
  };
3948
3898
  assigneeId: string | null;
@@ -3999,8 +3949,6 @@ export declare const mailContract: {
3999
3949
  emailEngineMessageId: string;
4000
3950
  emailEngineReplyTo: string | null;
4001
3951
  unseen: boolean;
4002
- sendAt: Date;
4003
- starred: boolean;
4004
3952
  seemsLikeNew: boolean;
4005
3953
  from: {
4006
3954
  id: string;
@@ -4076,8 +4024,6 @@ export declare const mailContract: {
4076
4024
  emailEngineMessageId: string;
4077
4025
  emailEngineReplyTo: string | null;
4078
4026
  unseen: boolean;
4079
- sendAt: Date;
4080
- starred: boolean;
4081
4027
  seemsLikeNew: boolean;
4082
4028
  from: {
4083
4029
  id: string;
@@ -4153,8 +4099,6 @@ export declare const mailContract: {
4153
4099
  emailEngineMessageId: string;
4154
4100
  emailEngineReplyTo: string | null;
4155
4101
  unseen: boolean;
4156
- sendAt: Date;
4157
- starred: boolean;
4158
4102
  seemsLikeNew: boolean;
4159
4103
  from: {
4160
4104
  id: string;
@@ -5155,8 +5099,6 @@ export declare const mailContract: {
5155
5099
  date: import("zod").ZodDate;
5156
5100
  action: import("zod").ZodString;
5157
5101
  unseen: import("zod").ZodBoolean;
5158
- sendAt: import("zod").ZodDate;
5159
- starred: import("zod").ZodBoolean;
5160
5102
  seemsLikeNew: import("zod").ZodBoolean;
5161
5103
  from: import("zod").ZodArray<import("zod").ZodObject<{
5162
5104
  id: import("zod").ZodString;
@@ -5355,8 +5297,6 @@ export declare const mailContract: {
5355
5297
  emailEngineMessageId: string;
5356
5298
  emailEngineReplyTo: string | null;
5357
5299
  unseen: boolean;
5358
- sendAt: Date;
5359
- starred: boolean;
5360
5300
  seemsLikeNew: boolean;
5361
5301
  from: {
5362
5302
  id: string;
@@ -5431,8 +5371,6 @@ export declare const mailContract: {
5431
5371
  emailEngineMessageId: string;
5432
5372
  emailEngineReplyTo: string | null;
5433
5373
  unseen: boolean;
5434
- sendAt: Date;
5435
- starred: boolean;
5436
5374
  seemsLikeNew: boolean;
5437
5375
  from: {
5438
5376
  id: string;
@@ -5508,8 +5446,6 @@ export declare const mailContract: {
5508
5446
  date: import("zod").ZodDate;
5509
5447
  action: import("zod").ZodString;
5510
5448
  unseen: import("zod").ZodBoolean;
5511
- sendAt: import("zod").ZodDate;
5512
- starred: import("zod").ZodBoolean;
5513
5449
  seemsLikeNew: import("zod").ZodBoolean;
5514
5450
  from: import("zod").ZodArray<import("zod").ZodObject<{
5515
5451
  id: import("zod").ZodString;
@@ -5708,8 +5644,6 @@ export declare const mailContract: {
5708
5644
  emailEngineMessageId: string;
5709
5645
  emailEngineReplyTo: string | null;
5710
5646
  unseen: boolean;
5711
- sendAt: Date;
5712
- starred: boolean;
5713
5647
  seemsLikeNew: boolean;
5714
5648
  from: {
5715
5649
  id: string;
@@ -5784,8 +5718,6 @@ export declare const mailContract: {
5784
5718
  emailEngineMessageId: string;
5785
5719
  emailEngineReplyTo: string | null;
5786
5720
  unseen: boolean;
5787
- sendAt: Date;
5788
- starred: boolean;
5789
5721
  seemsLikeNew: boolean;
5790
5722
  from: {
5791
5723
  id: string;
@@ -5914,8 +5846,6 @@ export declare const mailContract: {
5914
5846
  date: import("zod").ZodDate;
5915
5847
  action: import("zod").ZodString;
5916
5848
  unseen: import("zod").ZodBoolean;
5917
- sendAt: import("zod").ZodDate;
5918
- starred: import("zod").ZodBoolean;
5919
5849
  seemsLikeNew: import("zod").ZodBoolean;
5920
5850
  from: import("zod").ZodArray<import("zod").ZodObject<{
5921
5851
  id: import("zod").ZodString;
@@ -6114,8 +6044,6 @@ export declare const mailContract: {
6114
6044
  emailEngineMessageId: string;
6115
6045
  emailEngineReplyTo: string | null;
6116
6046
  unseen: boolean;
6117
- sendAt: Date;
6118
- starred: boolean;
6119
6047
  seemsLikeNew: boolean;
6120
6048
  from: {
6121
6049
  id: string;
@@ -6190,8 +6118,6 @@ export declare const mailContract: {
6190
6118
  emailEngineMessageId: string;
6191
6119
  emailEngineReplyTo: string | null;
6192
6120
  unseen: boolean;
6193
- sendAt: Date;
6194
- starred: boolean;
6195
6121
  seemsLikeNew: boolean;
6196
6122
  from: {
6197
6123
  id: string;
@@ -6267,8 +6193,6 @@ export declare const mailContract: {
6267
6193
  date: import("zod").ZodDate;
6268
6194
  action: import("zod").ZodString;
6269
6195
  unseen: import("zod").ZodBoolean;
6270
- sendAt: import("zod").ZodDate;
6271
- starred: import("zod").ZodBoolean;
6272
6196
  seemsLikeNew: import("zod").ZodBoolean;
6273
6197
  from: import("zod").ZodArray<import("zod").ZodObject<{
6274
6198
  id: import("zod").ZodString;
@@ -6467,8 +6391,6 @@ export declare const mailContract: {
6467
6391
  emailEngineMessageId: string;
6468
6392
  emailEngineReplyTo: string | null;
6469
6393
  unseen: boolean;
6470
- sendAt: Date;
6471
- starred: boolean;
6472
6394
  seemsLikeNew: boolean;
6473
6395
  from: {
6474
6396
  id: string;
@@ -6543,8 +6465,6 @@ export declare const mailContract: {
6543
6465
  emailEngineMessageId: string;
6544
6466
  emailEngineReplyTo: string | null;
6545
6467
  unseen: boolean;
6546
- sendAt: Date;
6547
- starred: boolean;
6548
6468
  seemsLikeNew: boolean;
6549
6469
  from: {
6550
6470
  id: string;
@@ -6930,7 +6850,7 @@ export declare const mailContract: {
6930
6850
  }>, "many">;
6931
6851
  callFrom: import("zod").ZodNullable<import("zod").ZodString>;
6932
6852
  callTo: import("zod").ZodNullable<import("zod").ZodString>;
6933
- customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
6853
+ customFields: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
6934
6854
  id: import("zod").ZodString;
6935
6855
  createdAt: import("zod").ZodDate;
6936
6856
  updatedAt: import("zod").ZodDate;
@@ -6963,7 +6883,7 @@ export declare const mailContract: {
6963
6883
  booleanValue: boolean | null;
6964
6884
  numberValue: number | null;
6965
6885
  dateValue: Date | null;
6966
- }>, "many">>;
6886
+ }>, "many">>>;
6967
6887
  }, "strip", import("zod").ZodTypeAny, {
6968
6888
  type: string;
6969
6889
  id: string;
@@ -7014,7 +6934,7 @@ export declare const mailContract: {
7014
6934
  booleanValue: boolean | null;
7015
6935
  numberValue: number | null;
7016
6936
  dateValue: Date | null;
7017
- }[] | undefined;
6937
+ }[] | null | undefined;
7018
6938
  }, {
7019
6939
  type: string;
7020
6940
  id: string;
@@ -7065,7 +6985,7 @@ export declare const mailContract: {
7065
6985
  booleanValue: boolean | null;
7066
6986
  numberValue: number | null;
7067
6987
  dateValue: Date | null;
7068
- }[] | undefined;
6988
+ }[] | null | undefined;
7069
6989
  }>>;
7070
6990
  }, "strip", import("zod").ZodTypeAny, {
7071
6991
  id: string;
@@ -7133,7 +7053,7 @@ export declare const mailContract: {
7133
7053
  booleanValue: boolean | null;
7134
7054
  numberValue: number | null;
7135
7055
  dateValue: Date | null;
7136
- }[] | undefined;
7056
+ }[] | null | undefined;
7137
7057
  } | null;
7138
7058
  }, {
7139
7059
  id: string;
@@ -7201,7 +7121,7 @@ export declare const mailContract: {
7201
7121
  booleanValue: boolean | null;
7202
7122
  numberValue: number | null;
7203
7123
  dateValue: Date | null;
7204
- }[] | undefined;
7124
+ }[] | null | undefined;
7205
7125
  } | null;
7206
7126
  }>;
7207
7127
  }, "strip", import("zod").ZodTypeAny, {
@@ -7236,8 +7156,6 @@ export declare const mailContract: {
7236
7156
  emailEngineMessageId: string;
7237
7157
  emailEngineReplyTo: string | null;
7238
7158
  unseen: boolean;
7239
- sendAt: Date;
7240
- starred: boolean;
7241
7159
  seemsLikeNew: boolean;
7242
7160
  from: {
7243
7161
  id: string;
@@ -7374,7 +7292,7 @@ export declare const mailContract: {
7374
7292
  booleanValue: boolean | null;
7375
7293
  numberValue: number | null;
7376
7294
  dateValue: Date | null;
7377
- }[] | undefined;
7295
+ }[] | null | undefined;
7378
7296
  } | null;
7379
7297
  };
7380
7298
  assigneeId: string | null;
@@ -7431,8 +7349,6 @@ export declare const mailContract: {
7431
7349
  emailEngineMessageId: string;
7432
7350
  emailEngineReplyTo: string | null;
7433
7351
  unseen: boolean;
7434
- sendAt: Date;
7435
- starred: boolean;
7436
7352
  seemsLikeNew: boolean;
7437
7353
  from: {
7438
7354
  id: string;
@@ -7508,8 +7424,6 @@ export declare const mailContract: {
7508
7424
  emailEngineMessageId: string;
7509
7425
  emailEngineReplyTo: string | null;
7510
7426
  unseen: boolean;
7511
- sendAt: Date;
7512
- starred: boolean;
7513
7427
  seemsLikeNew: boolean;
7514
7428
  from: {
7515
7429
  id: string;
@@ -7585,8 +7499,6 @@ export declare const mailContract: {
7585
7499
  emailEngineMessageId: string;
7586
7500
  emailEngineReplyTo: string | null;
7587
7501
  unseen: boolean;
7588
- sendAt: Date;
7589
- starred: boolean;
7590
7502
  seemsLikeNew: boolean;
7591
7503
  from: {
7592
7504
  id: string;
@@ -7723,8 +7635,6 @@ export declare const mailContract: {
7723
7635
  emailEngineMessageId: string;
7724
7636
  emailEngineReplyTo: string | null;
7725
7637
  unseen: boolean;
7726
- sendAt: Date;
7727
- starred: boolean;
7728
7638
  seemsLikeNew: boolean;
7729
7639
  from: {
7730
7640
  id: string;
@@ -7861,7 +7771,7 @@ export declare const mailContract: {
7861
7771
  booleanValue: boolean | null;
7862
7772
  numberValue: number | null;
7863
7773
  dateValue: Date | null;
7864
- }[] | undefined;
7774
+ }[] | null | undefined;
7865
7775
  } | null;
7866
7776
  };
7867
7777
  assigneeId: string | null;
@@ -7918,8 +7828,6 @@ export declare const mailContract: {
7918
7828
  emailEngineMessageId: string;
7919
7829
  emailEngineReplyTo: string | null;
7920
7830
  unseen: boolean;
7921
- sendAt: Date;
7922
- starred: boolean;
7923
7831
  seemsLikeNew: boolean;
7924
7832
  from: {
7925
7833
  id: string;
@@ -7995,8 +7903,6 @@ export declare const mailContract: {
7995
7903
  emailEngineMessageId: string;
7996
7904
  emailEngineReplyTo: string | null;
7997
7905
  unseen: boolean;
7998
- sendAt: Date;
7999
- starred: boolean;
8000
7906
  seemsLikeNew: boolean;
8001
7907
  from: {
8002
7908
  id: string;
@@ -8072,8 +7978,6 @@ export declare const mailContract: {
8072
7978
  emailEngineMessageId: string;
8073
7979
  emailEngineReplyTo: string | null;
8074
7980
  unseen: boolean;
8075
- sendAt: Date;
8076
- starred: boolean;
8077
7981
  seemsLikeNew: boolean;
8078
7982
  from: {
8079
7983
  id: string;
@@ -8212,8 +8116,6 @@ export declare const mailContract: {
8212
8116
  emailEngineMessageId: string;
8213
8117
  emailEngineReplyTo: string | null;
8214
8118
  unseen: boolean;
8215
- sendAt: Date;
8216
- starred: boolean;
8217
8119
  seemsLikeNew: boolean;
8218
8120
  from: {
8219
8121
  id: string;
@@ -8350,7 +8252,7 @@ export declare const mailContract: {
8350
8252
  booleanValue: boolean | null;
8351
8253
  numberValue: number | null;
8352
8254
  dateValue: Date | null;
8353
- }[] | undefined;
8255
+ }[] | null | undefined;
8354
8256
  } | null;
8355
8257
  };
8356
8258
  assigneeId: string | null;
@@ -8407,8 +8309,6 @@ export declare const mailContract: {
8407
8309
  emailEngineMessageId: string;
8408
8310
  emailEngineReplyTo: string | null;
8409
8311
  unseen: boolean;
8410
- sendAt: Date;
8411
- starred: boolean;
8412
8312
  seemsLikeNew: boolean;
8413
8313
  from: {
8414
8314
  id: string;
@@ -8484,8 +8384,6 @@ export declare const mailContract: {
8484
8384
  emailEngineMessageId: string;
8485
8385
  emailEngineReplyTo: string | null;
8486
8386
  unseen: boolean;
8487
- sendAt: Date;
8488
- starred: boolean;
8489
8387
  seemsLikeNew: boolean;
8490
8388
  from: {
8491
8389
  id: string;
@@ -8561,8 +8459,6 @@ export declare const mailContract: {
8561
8459
  emailEngineMessageId: string;
8562
8460
  emailEngineReplyTo: string | null;
8563
8461
  unseen: boolean;
8564
- sendAt: Date;
8565
- starred: boolean;
8566
8462
  seemsLikeNew: boolean;
8567
8463
  from: {
8568
8464
  id: string;
@@ -8702,8 +8598,6 @@ export declare const mailContract: {
8702
8598
  emailEngineMessageId: string;
8703
8599
  emailEngineReplyTo: string | null;
8704
8600
  unseen: boolean;
8705
- sendAt: Date;
8706
- starred: boolean;
8707
8601
  seemsLikeNew: boolean;
8708
8602
  from: {
8709
8603
  id: string;
@@ -8840,7 +8734,7 @@ export declare const mailContract: {
8840
8734
  booleanValue: boolean | null;
8841
8735
  numberValue: number | null;
8842
8736
  dateValue: Date | null;
8843
- }[] | undefined;
8737
+ }[] | null | undefined;
8844
8738
  } | null;
8845
8739
  };
8846
8740
  assigneeId: string | null;
@@ -8897,8 +8791,6 @@ export declare const mailContract: {
8897
8791
  emailEngineMessageId: string;
8898
8792
  emailEngineReplyTo: string | null;
8899
8793
  unseen: boolean;
8900
- sendAt: Date;
8901
- starred: boolean;
8902
8794
  seemsLikeNew: boolean;
8903
8795
  from: {
8904
8796
  id: string;
@@ -8974,8 +8866,6 @@ export declare const mailContract: {
8974
8866
  emailEngineMessageId: string;
8975
8867
  emailEngineReplyTo: string | null;
8976
8868
  unseen: boolean;
8977
- sendAt: Date;
8978
- starred: boolean;
8979
8869
  seemsLikeNew: boolean;
8980
8870
  from: {
8981
8871
  id: string;
@@ -9051,8 +8941,6 @@ export declare const mailContract: {
9051
8941
  emailEngineMessageId: string;
9052
8942
  emailEngineReplyTo: string | null;
9053
8943
  unseen: boolean;
9054
- sendAt: Date;
9055
- starred: boolean;
9056
8944
  seemsLikeNew: boolean;
9057
8945
  from: {
9058
8946
  id: string;
@@ -9378,8 +9266,6 @@ export declare const mailContract: {
9378
9266
  date: import("zod").ZodDate;
9379
9267
  action: import("zod").ZodString;
9380
9268
  unseen: import("zod").ZodBoolean;
9381
- sendAt: import("zod").ZodDate;
9382
- starred: import("zod").ZodBoolean;
9383
9269
  seemsLikeNew: import("zod").ZodBoolean;
9384
9270
  from: import("zod").ZodArray<import("zod").ZodObject<{
9385
9271
  id: import("zod").ZodString;
@@ -9578,8 +9464,6 @@ export declare const mailContract: {
9578
9464
  emailEngineMessageId: string;
9579
9465
  emailEngineReplyTo: string | null;
9580
9466
  unseen: boolean;
9581
- sendAt: Date;
9582
- starred: boolean;
9583
9467
  seemsLikeNew: boolean;
9584
9468
  from: {
9585
9469
  id: string;
@@ -9654,8 +9538,6 @@ export declare const mailContract: {
9654
9538
  emailEngineMessageId: string;
9655
9539
  emailEngineReplyTo: string | null;
9656
9540
  unseen: boolean;
9657
- sendAt: Date;
9658
- starred: boolean;
9659
9541
  seemsLikeNew: boolean;
9660
9542
  from: {
9661
9543
  id: string;
@@ -9731,8 +9613,6 @@ export declare const mailContract: {
9731
9613
  date: import("zod").ZodDate;
9732
9614
  action: import("zod").ZodString;
9733
9615
  unseen: import("zod").ZodBoolean;
9734
- sendAt: import("zod").ZodDate;
9735
- starred: import("zod").ZodBoolean;
9736
9616
  seemsLikeNew: import("zod").ZodBoolean;
9737
9617
  from: import("zod").ZodArray<import("zod").ZodObject<{
9738
9618
  id: import("zod").ZodString;
@@ -9931,8 +9811,6 @@ export declare const mailContract: {
9931
9811
  emailEngineMessageId: string;
9932
9812
  emailEngineReplyTo: string | null;
9933
9813
  unseen: boolean;
9934
- sendAt: Date;
9935
- starred: boolean;
9936
9814
  seemsLikeNew: boolean;
9937
9815
  from: {
9938
9816
  id: string;
@@ -10007,8 +9885,6 @@ export declare const mailContract: {
10007
9885
  emailEngineMessageId: string;
10008
9886
  emailEngineReplyTo: string | null;
10009
9887
  unseen: boolean;
10010
- sendAt: Date;
10011
- starred: boolean;
10012
9888
  seemsLikeNew: boolean;
10013
9889
  from: {
10014
9890
  id: string;
@@ -10137,8 +10013,6 @@ export declare const mailContract: {
10137
10013
  date: import("zod").ZodDate;
10138
10014
  action: import("zod").ZodString;
10139
10015
  unseen: import("zod").ZodBoolean;
10140
- sendAt: import("zod").ZodDate;
10141
- starred: import("zod").ZodBoolean;
10142
10016
  seemsLikeNew: import("zod").ZodBoolean;
10143
10017
  from: import("zod").ZodArray<import("zod").ZodObject<{
10144
10018
  id: import("zod").ZodString;
@@ -10337,8 +10211,6 @@ export declare const mailContract: {
10337
10211
  emailEngineMessageId: string;
10338
10212
  emailEngineReplyTo: string | null;
10339
10213
  unseen: boolean;
10340
- sendAt: Date;
10341
- starred: boolean;
10342
10214
  seemsLikeNew: boolean;
10343
10215
  from: {
10344
10216
  id: string;
@@ -10413,8 +10285,6 @@ export declare const mailContract: {
10413
10285
  emailEngineMessageId: string;
10414
10286
  emailEngineReplyTo: string | null;
10415
10287
  unseen: boolean;
10416
- sendAt: Date;
10417
- starred: boolean;
10418
10288
  seemsLikeNew: boolean;
10419
10289
  from: {
10420
10290
  id: string;
@@ -10490,8 +10360,6 @@ export declare const mailContract: {
10490
10360
  date: import("zod").ZodDate;
10491
10361
  action: import("zod").ZodString;
10492
10362
  unseen: import("zod").ZodBoolean;
10493
- sendAt: import("zod").ZodDate;
10494
- starred: import("zod").ZodBoolean;
10495
10363
  seemsLikeNew: import("zod").ZodBoolean;
10496
10364
  from: import("zod").ZodArray<import("zod").ZodObject<{
10497
10365
  id: import("zod").ZodString;
@@ -10690,8 +10558,6 @@ export declare const mailContract: {
10690
10558
  emailEngineMessageId: string;
10691
10559
  emailEngineReplyTo: string | null;
10692
10560
  unseen: boolean;
10693
- sendAt: Date;
10694
- starred: boolean;
10695
10561
  seemsLikeNew: boolean;
10696
10562
  from: {
10697
10563
  id: string;
@@ -10766,8 +10632,6 @@ export declare const mailContract: {
10766
10632
  emailEngineMessageId: string;
10767
10633
  emailEngineReplyTo: string | null;
10768
10634
  unseen: boolean;
10769
- sendAt: Date;
10770
- starred: boolean;
10771
10635
  seemsLikeNew: boolean;
10772
10636
  from: {
10773
10637
  id: string;
@@ -11153,7 +11017,7 @@ export declare const mailContract: {
11153
11017
  }>, "many">;
11154
11018
  callFrom: import("zod").ZodNullable<import("zod").ZodString>;
11155
11019
  callTo: import("zod").ZodNullable<import("zod").ZodString>;
11156
- customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
11020
+ customFields: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
11157
11021
  id: import("zod").ZodString;
11158
11022
  createdAt: import("zod").ZodDate;
11159
11023
  updatedAt: import("zod").ZodDate;
@@ -11186,7 +11050,7 @@ export declare const mailContract: {
11186
11050
  booleanValue: boolean | null;
11187
11051
  numberValue: number | null;
11188
11052
  dateValue: Date | null;
11189
- }>, "many">>;
11053
+ }>, "many">>>;
11190
11054
  }, "strip", import("zod").ZodTypeAny, {
11191
11055
  type: string;
11192
11056
  id: string;
@@ -11237,7 +11101,7 @@ export declare const mailContract: {
11237
11101
  booleanValue: boolean | null;
11238
11102
  numberValue: number | null;
11239
11103
  dateValue: Date | null;
11240
- }[] | undefined;
11104
+ }[] | null | undefined;
11241
11105
  }, {
11242
11106
  type: string;
11243
11107
  id: string;
@@ -11288,7 +11152,7 @@ export declare const mailContract: {
11288
11152
  booleanValue: boolean | null;
11289
11153
  numberValue: number | null;
11290
11154
  dateValue: Date | null;
11291
- }[] | undefined;
11155
+ }[] | null | undefined;
11292
11156
  }>>;
11293
11157
  }, "strip", import("zod").ZodTypeAny, {
11294
11158
  id: string;
@@ -11356,7 +11220,7 @@ export declare const mailContract: {
11356
11220
  booleanValue: boolean | null;
11357
11221
  numberValue: number | null;
11358
11222
  dateValue: Date | null;
11359
- }[] | undefined;
11223
+ }[] | null | undefined;
11360
11224
  } | null;
11361
11225
  }, {
11362
11226
  id: string;
@@ -11424,7 +11288,7 @@ export declare const mailContract: {
11424
11288
  booleanValue: boolean | null;
11425
11289
  numberValue: number | null;
11426
11290
  dateValue: Date | null;
11427
- }[] | undefined;
11291
+ }[] | null | undefined;
11428
11292
  } | null;
11429
11293
  }>;
11430
11294
  }, "strip", import("zod").ZodTypeAny, {
@@ -11459,8 +11323,6 @@ export declare const mailContract: {
11459
11323
  emailEngineMessageId: string;
11460
11324
  emailEngineReplyTo: string | null;
11461
11325
  unseen: boolean;
11462
- sendAt: Date;
11463
- starred: boolean;
11464
11326
  seemsLikeNew: boolean;
11465
11327
  from: {
11466
11328
  id: string;
@@ -11597,7 +11459,7 @@ export declare const mailContract: {
11597
11459
  booleanValue: boolean | null;
11598
11460
  numberValue: number | null;
11599
11461
  dateValue: Date | null;
11600
- }[] | undefined;
11462
+ }[] | null | undefined;
11601
11463
  } | null;
11602
11464
  };
11603
11465
  assigneeId: string | null;
@@ -11654,8 +11516,6 @@ export declare const mailContract: {
11654
11516
  emailEngineMessageId: string;
11655
11517
  emailEngineReplyTo: string | null;
11656
11518
  unseen: boolean;
11657
- sendAt: Date;
11658
- starred: boolean;
11659
11519
  seemsLikeNew: boolean;
11660
11520
  from: {
11661
11521
  id: string;
@@ -11731,8 +11591,6 @@ export declare const mailContract: {
11731
11591
  emailEngineMessageId: string;
11732
11592
  emailEngineReplyTo: string | null;
11733
11593
  unseen: boolean;
11734
- sendAt: Date;
11735
- starred: boolean;
11736
11594
  seemsLikeNew: boolean;
11737
11595
  from: {
11738
11596
  id: string;
@@ -11808,8 +11666,6 @@ export declare const mailContract: {
11808
11666
  emailEngineMessageId: string;
11809
11667
  emailEngineReplyTo: string | null;
11810
11668
  unseen: boolean;
11811
- sendAt: Date;
11812
- starred: boolean;
11813
11669
  seemsLikeNew: boolean;
11814
11670
  from: {
11815
11671
  id: string;
@@ -11946,8 +11802,6 @@ export declare const mailContract: {
11946
11802
  emailEngineMessageId: string;
11947
11803
  emailEngineReplyTo: string | null;
11948
11804
  unseen: boolean;
11949
- sendAt: Date;
11950
- starred: boolean;
11951
11805
  seemsLikeNew: boolean;
11952
11806
  from: {
11953
11807
  id: string;
@@ -12084,7 +11938,7 @@ export declare const mailContract: {
12084
11938
  booleanValue: boolean | null;
12085
11939
  numberValue: number | null;
12086
11940
  dateValue: Date | null;
12087
- }[] | undefined;
11941
+ }[] | null | undefined;
12088
11942
  } | null;
12089
11943
  };
12090
11944
  assigneeId: string | null;
@@ -12141,8 +11995,6 @@ export declare const mailContract: {
12141
11995
  emailEngineMessageId: string;
12142
11996
  emailEngineReplyTo: string | null;
12143
11997
  unseen: boolean;
12144
- sendAt: Date;
12145
- starred: boolean;
12146
11998
  seemsLikeNew: boolean;
12147
11999
  from: {
12148
12000
  id: string;
@@ -12218,8 +12070,6 @@ export declare const mailContract: {
12218
12070
  emailEngineMessageId: string;
12219
12071
  emailEngineReplyTo: string | null;
12220
12072
  unseen: boolean;
12221
- sendAt: Date;
12222
- starred: boolean;
12223
12073
  seemsLikeNew: boolean;
12224
12074
  from: {
12225
12075
  id: string;
@@ -12295,8 +12145,6 @@ export declare const mailContract: {
12295
12145
  emailEngineMessageId: string;
12296
12146
  emailEngineReplyTo: string | null;
12297
12147
  unseen: boolean;
12298
- sendAt: Date;
12299
- starred: boolean;
12300
12148
  seemsLikeNew: boolean;
12301
12149
  from: {
12302
12150
  id: string;
@@ -12435,8 +12283,6 @@ export declare const mailContract: {
12435
12283
  emailEngineMessageId: string;
12436
12284
  emailEngineReplyTo: string | null;
12437
12285
  unseen: boolean;
12438
- sendAt: Date;
12439
- starred: boolean;
12440
12286
  seemsLikeNew: boolean;
12441
12287
  from: {
12442
12288
  id: string;
@@ -12573,7 +12419,7 @@ export declare const mailContract: {
12573
12419
  booleanValue: boolean | null;
12574
12420
  numberValue: number | null;
12575
12421
  dateValue: Date | null;
12576
- }[] | undefined;
12422
+ }[] | null | undefined;
12577
12423
  } | null;
12578
12424
  };
12579
12425
  assigneeId: string | null;
@@ -12630,8 +12476,6 @@ export declare const mailContract: {
12630
12476
  emailEngineMessageId: string;
12631
12477
  emailEngineReplyTo: string | null;
12632
12478
  unseen: boolean;
12633
- sendAt: Date;
12634
- starred: boolean;
12635
12479
  seemsLikeNew: boolean;
12636
12480
  from: {
12637
12481
  id: string;
@@ -12707,8 +12551,6 @@ export declare const mailContract: {
12707
12551
  emailEngineMessageId: string;
12708
12552
  emailEngineReplyTo: string | null;
12709
12553
  unseen: boolean;
12710
- sendAt: Date;
12711
- starred: boolean;
12712
12554
  seemsLikeNew: boolean;
12713
12555
  from: {
12714
12556
  id: string;
@@ -12784,8 +12626,6 @@ export declare const mailContract: {
12784
12626
  emailEngineMessageId: string;
12785
12627
  emailEngineReplyTo: string | null;
12786
12628
  unseen: boolean;
12787
- sendAt: Date;
12788
- starred: boolean;
12789
12629
  seemsLikeNew: boolean;
12790
12630
  from: {
12791
12631
  id: string;
@@ -12925,8 +12765,6 @@ export declare const mailContract: {
12925
12765
  emailEngineMessageId: string;
12926
12766
  emailEngineReplyTo: string | null;
12927
12767
  unseen: boolean;
12928
- sendAt: Date;
12929
- starred: boolean;
12930
12768
  seemsLikeNew: boolean;
12931
12769
  from: {
12932
12770
  id: string;
@@ -13063,7 +12901,7 @@ export declare const mailContract: {
13063
12901
  booleanValue: boolean | null;
13064
12902
  numberValue: number | null;
13065
12903
  dateValue: Date | null;
13066
- }[] | undefined;
12904
+ }[] | null | undefined;
13067
12905
  } | null;
13068
12906
  };
13069
12907
  assigneeId: string | null;
@@ -13120,8 +12958,6 @@ export declare const mailContract: {
13120
12958
  emailEngineMessageId: string;
13121
12959
  emailEngineReplyTo: string | null;
13122
12960
  unseen: boolean;
13123
- sendAt: Date;
13124
- starred: boolean;
13125
12961
  seemsLikeNew: boolean;
13126
12962
  from: {
13127
12963
  id: string;
@@ -13197,8 +13033,6 @@ export declare const mailContract: {
13197
13033
  emailEngineMessageId: string;
13198
13034
  emailEngineReplyTo: string | null;
13199
13035
  unseen: boolean;
13200
- sendAt: Date;
13201
- starred: boolean;
13202
13036
  seemsLikeNew: boolean;
13203
13037
  from: {
13204
13038
  id: string;
@@ -13274,8 +13108,6 @@ export declare const mailContract: {
13274
13108
  emailEngineMessageId: string;
13275
13109
  emailEngineReplyTo: string | null;
13276
13110
  unseen: boolean;
13277
- sendAt: Date;
13278
- starred: boolean;
13279
13111
  seemsLikeNew: boolean;
13280
13112
  from: {
13281
13113
  id: string;
@@ -13433,7 +13265,6 @@ export declare const mailContract: {
13433
13265
  address: string;
13434
13266
  name?: string | undefined;
13435
13267
  }>, "many">>;
13436
- sendAt: import("zod").ZodOptional<import("zod").ZodString>;
13437
13268
  reference: import("zod").ZodOptional<import("zod").ZodObject<{
13438
13269
  messageId: import("zod").ZodString;
13439
13270
  action: import("zod").ZodUnion<[import("zod").ZodLiteral<"reply">, import("zod").ZodLiteral<"forward">]>;
@@ -13486,7 +13317,6 @@ export declare const mailContract: {
13486
13317
  address: string;
13487
13318
  name?: string | undefined;
13488
13319
  }[] | undefined;
13489
- sendAt?: string | undefined;
13490
13320
  reference?: {
13491
13321
  action: "forward" | "reply";
13492
13322
  messageId: string;
@@ -13519,7 +13349,6 @@ export declare const mailContract: {
13519
13349
  address: string;
13520
13350
  name?: string | undefined;
13521
13351
  }[] | undefined;
13522
- sendAt?: string | undefined;
13523
13352
  reference?: {
13524
13353
  action: "forward" | "reply";
13525
13354
  messageId: string;
@@ -13672,7 +13501,7 @@ export declare const mailContract: {
13672
13501
  path: "mail/message/new_message_count";
13673
13502
  };
13674
13503
  getById: {
13675
- summary: "Get a message";
13504
+ summary: "Get a message by id";
13676
13505
  method: "GET";
13677
13506
  pathParams: import("zod").ZodObject<{
13678
13507
  id: import("zod").ZodString;
@@ -13731,8 +13560,6 @@ export declare const mailContract: {
13731
13560
  date: import("zod").ZodDate;
13732
13561
  action: import("zod").ZodString;
13733
13562
  unseen: import("zod").ZodBoolean;
13734
- sendAt: import("zod").ZodDate;
13735
- starred: import("zod").ZodBoolean;
13736
13563
  seemsLikeNew: import("zod").ZodBoolean;
13737
13564
  from: import("zod").ZodArray<import("zod").ZodObject<{
13738
13565
  id: import("zod").ZodString;
@@ -13931,8 +13758,6 @@ export declare const mailContract: {
13931
13758
  emailEngineMessageId: string;
13932
13759
  emailEngineReplyTo: string | null;
13933
13760
  unseen: boolean;
13934
- sendAt: Date;
13935
- starred: boolean;
13936
13761
  seemsLikeNew: boolean;
13937
13762
  from: {
13938
13763
  id: string;
@@ -14007,8 +13832,6 @@ export declare const mailContract: {
14007
13832
  emailEngineMessageId: string;
14008
13833
  emailEngineReplyTo: string | null;
14009
13834
  unseen: boolean;
14010
- sendAt: Date;
14011
- starred: boolean;
14012
13835
  seemsLikeNew: boolean;
14013
13836
  from: {
14014
13837
  id: string;
@@ -14085,8 +13908,6 @@ export declare const mailContract: {
14085
13908
  emailEngineMessageId: string;
14086
13909
  emailEngineReplyTo: string | null;
14087
13910
  unseen: boolean;
14088
- sendAt: Date;
14089
- starred: boolean;
14090
13911
  seemsLikeNew: boolean;
14091
13912
  from: {
14092
13913
  id: string;
@@ -14164,8 +13985,6 @@ export declare const mailContract: {
14164
13985
  emailEngineMessageId: string;
14165
13986
  emailEngineReplyTo: string | null;
14166
13987
  unseen: boolean;
14167
- sendAt: Date;
14168
- starred: boolean;
14169
13988
  seemsLikeNew: boolean;
14170
13989
  from: {
14171
13990
  id: string;
@@ -14229,2035 +14048,6 @@ export declare const mailContract: {
14229
14048
  };
14230
14049
  path: "mail/message/:id";
14231
14050
  };
14232
- update: {
14233
- body: import("zod").ZodObject<{
14234
- id: import("zod").ZodOptional<import("zod").ZodString>;
14235
- createdAt: import("zod").ZodOptional<import("zod").ZodDate>;
14236
- updatedAt: import("zod").ZodOptional<import("zod").ZodDate>;
14237
- deletedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
14238
- roomId: import("zod").ZodOptional<import("zod").ZodString>;
14239
- subject: import("zod").ZodOptional<import("zod").ZodString>;
14240
- textPlain: import("zod").ZodOptional<import("zod").ZodString>;
14241
- textHtml: import("zod").ZodOptional<import("zod").ZodString>;
14242
- textId: import("zod").ZodOptional<import("zod").ZodString>;
14243
- emailEngineEmailId: import("zod").ZodOptional<import("zod").ZodString>;
14244
- emailEngineMessageId: import("zod").ZodOptional<import("zod").ZodString>;
14245
- emailEngineReplyTo: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
14246
- direction: import("zod").ZodOptional<import("zod").ZodString>;
14247
- date: import("zod").ZodOptional<import("zod").ZodDate>;
14248
- action: import("zod").ZodOptional<import("zod").ZodString>;
14249
- unseen: import("zod").ZodOptional<import("zod").ZodBoolean>;
14250
- sendAt: import("zod").ZodOptional<import("zod").ZodDate>;
14251
- starred: import("zod").ZodOptional<import("zod").ZodBoolean>;
14252
- seemsLikeNew: import("zod").ZodOptional<import("zod").ZodBoolean>;
14253
- from: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
14254
- id: import("zod").ZodString;
14255
- createdAt: import("zod").ZodDate;
14256
- updatedAt: import("zod").ZodDate;
14257
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14258
- name: import("zod").ZodString;
14259
- address: import("zod").ZodString;
14260
- }, "strip", import("zod").ZodTypeAny, {
14261
- id: string;
14262
- address: string;
14263
- name: string;
14264
- createdAt: Date;
14265
- updatedAt: Date;
14266
- deletedAt: Date | null;
14267
- }, {
14268
- id: string;
14269
- address: string;
14270
- name: string;
14271
- createdAt: Date;
14272
- updatedAt: Date;
14273
- deletedAt: Date | null;
14274
- }>, "many">>;
14275
- to: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
14276
- id: import("zod").ZodString;
14277
- createdAt: import("zod").ZodDate;
14278
- updatedAt: import("zod").ZodDate;
14279
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14280
- name: import("zod").ZodString;
14281
- address: import("zod").ZodString;
14282
- }, "strip", import("zod").ZodTypeAny, {
14283
- id: string;
14284
- address: string;
14285
- name: string;
14286
- createdAt: Date;
14287
- updatedAt: Date;
14288
- deletedAt: Date | null;
14289
- }, {
14290
- id: string;
14291
- address: string;
14292
- name: string;
14293
- createdAt: Date;
14294
- updatedAt: Date;
14295
- deletedAt: Date | null;
14296
- }>, "many">>;
14297
- cc: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
14298
- id: import("zod").ZodString;
14299
- createdAt: import("zod").ZodDate;
14300
- updatedAt: import("zod").ZodDate;
14301
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14302
- name: import("zod").ZodString;
14303
- address: import("zod").ZodString;
14304
- }, "strip", import("zod").ZodTypeAny, {
14305
- id: string;
14306
- address: string;
14307
- name: string;
14308
- createdAt: Date;
14309
- updatedAt: Date;
14310
- deletedAt: Date | null;
14311
- }, {
14312
- id: string;
14313
- address: string;
14314
- name: string;
14315
- createdAt: Date;
14316
- updatedAt: Date;
14317
- deletedAt: Date | null;
14318
- }>, "many">>;
14319
- bcc: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
14320
- id: import("zod").ZodString;
14321
- createdAt: import("zod").ZodDate;
14322
- updatedAt: import("zod").ZodDate;
14323
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14324
- name: import("zod").ZodString;
14325
- address: import("zod").ZodString;
14326
- }, "strip", import("zod").ZodTypeAny, {
14327
- id: string;
14328
- address: string;
14329
- name: string;
14330
- createdAt: Date;
14331
- updatedAt: Date;
14332
- deletedAt: Date | null;
14333
- }, {
14334
- id: string;
14335
- address: string;
14336
- name: string;
14337
- createdAt: Date;
14338
- updatedAt: Date;
14339
- deletedAt: Date | null;
14340
- }>, "many">>;
14341
- attachments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
14342
- id: import("zod").ZodString;
14343
- createdAt: import("zod").ZodDate;
14344
- updatedAt: import("zod").ZodDate;
14345
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14346
- roomId: import("zod").ZodString;
14347
- messageId: import("zod").ZodString;
14348
- fileName: import("zod").ZodString;
14349
- fileType: import("zod").ZodString;
14350
- emailEngineAttachmentId: import("zod").ZodString;
14351
- uploadId: import("zod").ZodString;
14352
- upload: import("zod").ZodObject<{
14353
- id: import("zod").ZodString;
14354
- createdAt: import("zod").ZodDate;
14355
- updatedAt: import("zod").ZodDate;
14356
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14357
- bucketName: import("zod").ZodString;
14358
- fileName: import("zod").ZodString;
14359
- fileKey: import("zod").ZodString;
14360
- fileSize: import("zod").ZodNumber;
14361
- fileUrl: import("zod").ZodString;
14362
- extensionName: import("zod").ZodString;
14363
- }, "strip", import("zod").ZodTypeAny, {
14364
- id: string;
14365
- createdAt: Date;
14366
- updatedAt: Date;
14367
- deletedAt: Date | null;
14368
- extensionName: string;
14369
- fileName: string;
14370
- fileKey: string;
14371
- bucketName: string;
14372
- fileSize: number;
14373
- fileUrl: string;
14374
- }, {
14375
- id: string;
14376
- createdAt: Date;
14377
- updatedAt: Date;
14378
- deletedAt: Date | null;
14379
- extensionName: string;
14380
- fileName: string;
14381
- fileKey: string;
14382
- bucketName: string;
14383
- fileSize: number;
14384
- fileUrl: string;
14385
- }>;
14386
- }, "strip", import("zod").ZodTypeAny, {
14387
- id: string;
14388
- createdAt: Date;
14389
- updatedAt: Date;
14390
- deletedAt: Date | null;
14391
- fileName: string;
14392
- fileType: string;
14393
- uploadId: string;
14394
- upload: {
14395
- id: string;
14396
- createdAt: Date;
14397
- updatedAt: Date;
14398
- deletedAt: Date | null;
14399
- extensionName: string;
14400
- fileName: string;
14401
- fileKey: string;
14402
- bucketName: string;
14403
- fileSize: number;
14404
- fileUrl: string;
14405
- };
14406
- roomId: string;
14407
- messageId: string;
14408
- emailEngineAttachmentId: string;
14409
- }, {
14410
- id: string;
14411
- createdAt: Date;
14412
- updatedAt: Date;
14413
- deletedAt: Date | null;
14414
- fileName: string;
14415
- fileType: string;
14416
- uploadId: string;
14417
- upload: {
14418
- id: string;
14419
- createdAt: Date;
14420
- updatedAt: Date;
14421
- deletedAt: Date | null;
14422
- extensionName: string;
14423
- fileName: string;
14424
- fileKey: string;
14425
- bucketName: string;
14426
- fileSize: number;
14427
- fileUrl: string;
14428
- };
14429
- roomId: string;
14430
- messageId: string;
14431
- emailEngineAttachmentId: string;
14432
- }>, "many">>;
14433
- }, "strip", import("zod").ZodTypeAny, {
14434
- id?: string | undefined;
14435
- createdAt?: Date | undefined;
14436
- updatedAt?: Date | undefined;
14437
- deletedAt?: Date | null | undefined;
14438
- roomId?: string | undefined;
14439
- subject?: string | undefined;
14440
- textPlain?: string | undefined;
14441
- textHtml?: string | undefined;
14442
- textId?: string | undefined;
14443
- emailEngineEmailId?: string | undefined;
14444
- emailEngineMessageId?: string | undefined;
14445
- emailEngineReplyTo?: string | null | undefined;
14446
- direction?: string | undefined;
14447
- date?: Date | undefined;
14448
- action?: string | undefined;
14449
- unseen?: boolean | undefined;
14450
- sendAt?: Date | undefined;
14451
- starred?: boolean | undefined;
14452
- seemsLikeNew?: boolean | undefined;
14453
- from?: {
14454
- id: string;
14455
- address: string;
14456
- name: string;
14457
- createdAt: Date;
14458
- updatedAt: Date;
14459
- deletedAt: Date | null;
14460
- }[] | undefined;
14461
- to?: {
14462
- id: string;
14463
- address: string;
14464
- name: string;
14465
- createdAt: Date;
14466
- updatedAt: Date;
14467
- deletedAt: Date | null;
14468
- }[] | undefined;
14469
- cc?: {
14470
- id: string;
14471
- address: string;
14472
- name: string;
14473
- createdAt: Date;
14474
- updatedAt: Date;
14475
- deletedAt: Date | null;
14476
- }[] | undefined;
14477
- bcc?: {
14478
- id: string;
14479
- address: string;
14480
- name: string;
14481
- createdAt: Date;
14482
- updatedAt: Date;
14483
- deletedAt: Date | null;
14484
- }[] | undefined;
14485
- attachments?: {
14486
- id: string;
14487
- createdAt: Date;
14488
- updatedAt: Date;
14489
- deletedAt: Date | null;
14490
- fileName: string;
14491
- fileType: string;
14492
- uploadId: string;
14493
- upload: {
14494
- id: string;
14495
- createdAt: Date;
14496
- updatedAt: Date;
14497
- deletedAt: Date | null;
14498
- extensionName: string;
14499
- fileName: string;
14500
- fileKey: string;
14501
- bucketName: string;
14502
- fileSize: number;
14503
- fileUrl: string;
14504
- };
14505
- roomId: string;
14506
- messageId: string;
14507
- emailEngineAttachmentId: string;
14508
- }[] | undefined;
14509
- }, {
14510
- id?: string | undefined;
14511
- createdAt?: Date | undefined;
14512
- updatedAt?: Date | undefined;
14513
- deletedAt?: Date | null | undefined;
14514
- roomId?: string | undefined;
14515
- subject?: string | undefined;
14516
- textPlain?: string | undefined;
14517
- textHtml?: string | undefined;
14518
- textId?: string | undefined;
14519
- emailEngineEmailId?: string | undefined;
14520
- emailEngineMessageId?: string | undefined;
14521
- emailEngineReplyTo?: string | null | undefined;
14522
- direction?: string | undefined;
14523
- date?: Date | undefined;
14524
- action?: string | undefined;
14525
- unseen?: boolean | undefined;
14526
- sendAt?: Date | undefined;
14527
- starred?: boolean | undefined;
14528
- seemsLikeNew?: boolean | undefined;
14529
- from?: {
14530
- id: string;
14531
- address: string;
14532
- name: string;
14533
- createdAt: Date;
14534
- updatedAt: Date;
14535
- deletedAt: Date | null;
14536
- }[] | undefined;
14537
- to?: {
14538
- id: string;
14539
- address: string;
14540
- name: string;
14541
- createdAt: Date;
14542
- updatedAt: Date;
14543
- deletedAt: Date | null;
14544
- }[] | undefined;
14545
- cc?: {
14546
- id: string;
14547
- address: string;
14548
- name: string;
14549
- createdAt: Date;
14550
- updatedAt: Date;
14551
- deletedAt: Date | null;
14552
- }[] | undefined;
14553
- bcc?: {
14554
- id: string;
14555
- address: string;
14556
- name: string;
14557
- createdAt: Date;
14558
- updatedAt: Date;
14559
- deletedAt: Date | null;
14560
- }[] | undefined;
14561
- attachments?: {
14562
- id: string;
14563
- createdAt: Date;
14564
- updatedAt: Date;
14565
- deletedAt: Date | null;
14566
- fileName: string;
14567
- fileType: string;
14568
- uploadId: string;
14569
- upload: {
14570
- id: string;
14571
- createdAt: Date;
14572
- updatedAt: Date;
14573
- deletedAt: Date | null;
14574
- extensionName: string;
14575
- fileName: string;
14576
- fileKey: string;
14577
- bucketName: string;
14578
- fileSize: number;
14579
- fileUrl: string;
14580
- };
14581
- roomId: string;
14582
- messageId: string;
14583
- emailEngineAttachmentId: string;
14584
- }[] | undefined;
14585
- }>;
14586
- summary: "Update a message";
14587
- method: "PATCH";
14588
- pathParams: import("zod").ZodObject<{
14589
- id: import("zod").ZodString;
14590
- }, "strip", import("zod").ZodTypeAny, {
14591
- id: string;
14592
- }, {
14593
- id: string;
14594
- }>;
14595
- responses: {
14596
- 401: import("zod").ZodObject<{
14597
- message: import("zod").ZodString;
14598
- error: import("zod").ZodAny;
14599
- }, "strip", import("zod").ZodTypeAny, {
14600
- message: string;
14601
- error?: any;
14602
- }, {
14603
- message: string;
14604
- error?: any;
14605
- }>;
14606
- 404: import("zod").ZodObject<{
14607
- message: import("zod").ZodString;
14608
- error: import("zod").ZodAny;
14609
- }, "strip", import("zod").ZodTypeAny, {
14610
- message: string;
14611
- error?: any;
14612
- }, {
14613
- message: string;
14614
- error?: any;
14615
- }>;
14616
- 422: import("zod").ZodObject<{
14617
- message: import("zod").ZodString;
14618
- error: import("zod").ZodAny;
14619
- }, "strip", import("zod").ZodTypeAny, {
14620
- message: string;
14621
- error?: any;
14622
- }, {
14623
- message: string;
14624
- error?: any;
14625
- }>;
14626
- 200: import("zod").ZodObject<{
14627
- requestId: import("zod").ZodString;
14628
- data: import("zod").ZodObject<{
14629
- id: import("zod").ZodString;
14630
- createdAt: import("zod").ZodDate;
14631
- updatedAt: import("zod").ZodDate;
14632
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14633
- roomId: import("zod").ZodString;
14634
- subject: import("zod").ZodString;
14635
- textPlain: import("zod").ZodString;
14636
- textHtml: import("zod").ZodString;
14637
- textId: import("zod").ZodString;
14638
- emailEngineEmailId: import("zod").ZodString;
14639
- emailEngineMessageId: import("zod").ZodString;
14640
- emailEngineReplyTo: import("zod").ZodNullable<import("zod").ZodString>;
14641
- direction: import("zod").ZodString;
14642
- date: import("zod").ZodDate;
14643
- action: import("zod").ZodString;
14644
- unseen: import("zod").ZodBoolean;
14645
- sendAt: import("zod").ZodDate;
14646
- starred: import("zod").ZodBoolean;
14647
- seemsLikeNew: import("zod").ZodBoolean;
14648
- from: import("zod").ZodArray<import("zod").ZodObject<{
14649
- id: import("zod").ZodString;
14650
- createdAt: import("zod").ZodDate;
14651
- updatedAt: import("zod").ZodDate;
14652
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14653
- name: import("zod").ZodString;
14654
- address: import("zod").ZodString;
14655
- }, "strip", import("zod").ZodTypeAny, {
14656
- id: string;
14657
- address: string;
14658
- name: string;
14659
- createdAt: Date;
14660
- updatedAt: Date;
14661
- deletedAt: Date | null;
14662
- }, {
14663
- id: string;
14664
- address: string;
14665
- name: string;
14666
- createdAt: Date;
14667
- updatedAt: Date;
14668
- deletedAt: Date | null;
14669
- }>, "many">;
14670
- to: import("zod").ZodArray<import("zod").ZodObject<{
14671
- id: import("zod").ZodString;
14672
- createdAt: import("zod").ZodDate;
14673
- updatedAt: import("zod").ZodDate;
14674
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14675
- name: import("zod").ZodString;
14676
- address: import("zod").ZodString;
14677
- }, "strip", import("zod").ZodTypeAny, {
14678
- id: string;
14679
- address: string;
14680
- name: string;
14681
- createdAt: Date;
14682
- updatedAt: Date;
14683
- deletedAt: Date | null;
14684
- }, {
14685
- id: string;
14686
- address: string;
14687
- name: string;
14688
- createdAt: Date;
14689
- updatedAt: Date;
14690
- deletedAt: Date | null;
14691
- }>, "many">;
14692
- cc: import("zod").ZodArray<import("zod").ZodObject<{
14693
- id: import("zod").ZodString;
14694
- createdAt: import("zod").ZodDate;
14695
- updatedAt: import("zod").ZodDate;
14696
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14697
- name: import("zod").ZodString;
14698
- address: import("zod").ZodString;
14699
- }, "strip", import("zod").ZodTypeAny, {
14700
- id: string;
14701
- address: string;
14702
- name: string;
14703
- createdAt: Date;
14704
- updatedAt: Date;
14705
- deletedAt: Date | null;
14706
- }, {
14707
- id: string;
14708
- address: string;
14709
- name: string;
14710
- createdAt: Date;
14711
- updatedAt: Date;
14712
- deletedAt: Date | null;
14713
- }>, "many">;
14714
- bcc: import("zod").ZodArray<import("zod").ZodObject<{
14715
- id: import("zod").ZodString;
14716
- createdAt: import("zod").ZodDate;
14717
- updatedAt: import("zod").ZodDate;
14718
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14719
- name: import("zod").ZodString;
14720
- address: import("zod").ZodString;
14721
- }, "strip", import("zod").ZodTypeAny, {
14722
- id: string;
14723
- address: string;
14724
- name: string;
14725
- createdAt: Date;
14726
- updatedAt: Date;
14727
- deletedAt: Date | null;
14728
- }, {
14729
- id: string;
14730
- address: string;
14731
- name: string;
14732
- createdAt: Date;
14733
- updatedAt: Date;
14734
- deletedAt: Date | null;
14735
- }>, "many">;
14736
- attachments: import("zod").ZodArray<import("zod").ZodObject<{
14737
- id: import("zod").ZodString;
14738
- createdAt: import("zod").ZodDate;
14739
- updatedAt: import("zod").ZodDate;
14740
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14741
- roomId: import("zod").ZodString;
14742
- messageId: import("zod").ZodString;
14743
- fileName: import("zod").ZodString;
14744
- fileType: import("zod").ZodString;
14745
- emailEngineAttachmentId: import("zod").ZodString;
14746
- uploadId: import("zod").ZodString;
14747
- upload: import("zod").ZodObject<{
14748
- id: import("zod").ZodString;
14749
- createdAt: import("zod").ZodDate;
14750
- updatedAt: import("zod").ZodDate;
14751
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14752
- bucketName: import("zod").ZodString;
14753
- fileName: import("zod").ZodString;
14754
- fileKey: import("zod").ZodString;
14755
- fileSize: import("zod").ZodNumber;
14756
- fileUrl: import("zod").ZodString;
14757
- extensionName: import("zod").ZodString;
14758
- }, "strip", import("zod").ZodTypeAny, {
14759
- id: string;
14760
- createdAt: Date;
14761
- updatedAt: Date;
14762
- deletedAt: Date | null;
14763
- extensionName: string;
14764
- fileName: string;
14765
- fileKey: string;
14766
- bucketName: string;
14767
- fileSize: number;
14768
- fileUrl: string;
14769
- }, {
14770
- id: string;
14771
- createdAt: Date;
14772
- updatedAt: Date;
14773
- deletedAt: Date | null;
14774
- extensionName: string;
14775
- fileName: string;
14776
- fileKey: string;
14777
- bucketName: string;
14778
- fileSize: number;
14779
- fileUrl: string;
14780
- }>;
14781
- }, "strip", import("zod").ZodTypeAny, {
14782
- id: string;
14783
- createdAt: Date;
14784
- updatedAt: Date;
14785
- deletedAt: Date | null;
14786
- fileName: string;
14787
- fileType: string;
14788
- uploadId: string;
14789
- upload: {
14790
- id: string;
14791
- createdAt: Date;
14792
- updatedAt: Date;
14793
- deletedAt: Date | null;
14794
- extensionName: string;
14795
- fileName: string;
14796
- fileKey: string;
14797
- bucketName: string;
14798
- fileSize: number;
14799
- fileUrl: string;
14800
- };
14801
- roomId: string;
14802
- messageId: string;
14803
- emailEngineAttachmentId: string;
14804
- }, {
14805
- id: string;
14806
- createdAt: Date;
14807
- updatedAt: Date;
14808
- deletedAt: Date | null;
14809
- fileName: string;
14810
- fileType: string;
14811
- uploadId: string;
14812
- upload: {
14813
- id: string;
14814
- createdAt: Date;
14815
- updatedAt: Date;
14816
- deletedAt: Date | null;
14817
- extensionName: string;
14818
- fileName: string;
14819
- fileKey: string;
14820
- bucketName: string;
14821
- fileSize: number;
14822
- fileUrl: string;
14823
- };
14824
- roomId: string;
14825
- messageId: string;
14826
- emailEngineAttachmentId: string;
14827
- }>, "many">;
14828
- }, "strip", import("zod").ZodTypeAny, {
14829
- id: string;
14830
- direction: string;
14831
- action: string;
14832
- date: Date;
14833
- createdAt: Date;
14834
- updatedAt: Date;
14835
- deletedAt: Date | null;
14836
- roomId: string;
14837
- subject: string;
14838
- textPlain: string;
14839
- textHtml: string;
14840
- textId: string;
14841
- emailEngineEmailId: string;
14842
- emailEngineMessageId: string;
14843
- emailEngineReplyTo: string | null;
14844
- unseen: boolean;
14845
- sendAt: Date;
14846
- starred: boolean;
14847
- seemsLikeNew: boolean;
14848
- from: {
14849
- id: string;
14850
- address: string;
14851
- name: string;
14852
- createdAt: Date;
14853
- updatedAt: Date;
14854
- deletedAt: Date | null;
14855
- }[];
14856
- to: {
14857
- id: string;
14858
- address: string;
14859
- name: string;
14860
- createdAt: Date;
14861
- updatedAt: Date;
14862
- deletedAt: Date | null;
14863
- }[];
14864
- cc: {
14865
- id: string;
14866
- address: string;
14867
- name: string;
14868
- createdAt: Date;
14869
- updatedAt: Date;
14870
- deletedAt: Date | null;
14871
- }[];
14872
- bcc: {
14873
- id: string;
14874
- address: string;
14875
- name: string;
14876
- createdAt: Date;
14877
- updatedAt: Date;
14878
- deletedAt: Date | null;
14879
- }[];
14880
- attachments: {
14881
- id: string;
14882
- createdAt: Date;
14883
- updatedAt: Date;
14884
- deletedAt: Date | null;
14885
- fileName: string;
14886
- fileType: string;
14887
- uploadId: string;
14888
- upload: {
14889
- id: string;
14890
- createdAt: Date;
14891
- updatedAt: Date;
14892
- deletedAt: Date | null;
14893
- extensionName: string;
14894
- fileName: string;
14895
- fileKey: string;
14896
- bucketName: string;
14897
- fileSize: number;
14898
- fileUrl: string;
14899
- };
14900
- roomId: string;
14901
- messageId: string;
14902
- emailEngineAttachmentId: string;
14903
- }[];
14904
- }, {
14905
- id: string;
14906
- direction: string;
14907
- action: string;
14908
- date: Date;
14909
- createdAt: Date;
14910
- updatedAt: Date;
14911
- deletedAt: Date | null;
14912
- roomId: string;
14913
- subject: string;
14914
- textPlain: string;
14915
- textHtml: string;
14916
- textId: string;
14917
- emailEngineEmailId: string;
14918
- emailEngineMessageId: string;
14919
- emailEngineReplyTo: string | null;
14920
- unseen: boolean;
14921
- sendAt: Date;
14922
- starred: boolean;
14923
- seemsLikeNew: boolean;
14924
- from: {
14925
- id: string;
14926
- address: string;
14927
- name: string;
14928
- createdAt: Date;
14929
- updatedAt: Date;
14930
- deletedAt: Date | null;
14931
- }[];
14932
- to: {
14933
- id: string;
14934
- address: string;
14935
- name: string;
14936
- createdAt: Date;
14937
- updatedAt: Date;
14938
- deletedAt: Date | null;
14939
- }[];
14940
- cc: {
14941
- id: string;
14942
- address: string;
14943
- name: string;
14944
- createdAt: Date;
14945
- updatedAt: Date;
14946
- deletedAt: Date | null;
14947
- }[];
14948
- bcc: {
14949
- id: string;
14950
- address: string;
14951
- name: string;
14952
- createdAt: Date;
14953
- updatedAt: Date;
14954
- deletedAt: Date | null;
14955
- }[];
14956
- attachments: {
14957
- id: string;
14958
- createdAt: Date;
14959
- updatedAt: Date;
14960
- deletedAt: Date | null;
14961
- fileName: string;
14962
- fileType: string;
14963
- uploadId: string;
14964
- upload: {
14965
- id: string;
14966
- createdAt: Date;
14967
- updatedAt: Date;
14968
- deletedAt: Date | null;
14969
- extensionName: string;
14970
- fileName: string;
14971
- fileKey: string;
14972
- bucketName: string;
14973
- fileSize: number;
14974
- fileUrl: string;
14975
- };
14976
- roomId: string;
14977
- messageId: string;
14978
- emailEngineAttachmentId: string;
14979
- }[];
14980
- }>;
14981
- }, "strip", import("zod").ZodTypeAny, {
14982
- data: {
14983
- id: string;
14984
- direction: string;
14985
- action: string;
14986
- date: Date;
14987
- createdAt: Date;
14988
- updatedAt: Date;
14989
- deletedAt: Date | null;
14990
- roomId: string;
14991
- subject: string;
14992
- textPlain: string;
14993
- textHtml: string;
14994
- textId: string;
14995
- emailEngineEmailId: string;
14996
- emailEngineMessageId: string;
14997
- emailEngineReplyTo: string | null;
14998
- unseen: boolean;
14999
- sendAt: Date;
15000
- starred: boolean;
15001
- seemsLikeNew: boolean;
15002
- from: {
15003
- id: string;
15004
- address: string;
15005
- name: string;
15006
- createdAt: Date;
15007
- updatedAt: Date;
15008
- deletedAt: Date | null;
15009
- }[];
15010
- to: {
15011
- id: string;
15012
- address: string;
15013
- name: string;
15014
- createdAt: Date;
15015
- updatedAt: Date;
15016
- deletedAt: Date | null;
15017
- }[];
15018
- cc: {
15019
- id: string;
15020
- address: string;
15021
- name: string;
15022
- createdAt: Date;
15023
- updatedAt: Date;
15024
- deletedAt: Date | null;
15025
- }[];
15026
- bcc: {
15027
- id: string;
15028
- address: string;
15029
- name: string;
15030
- createdAt: Date;
15031
- updatedAt: Date;
15032
- deletedAt: Date | null;
15033
- }[];
15034
- attachments: {
15035
- id: string;
15036
- createdAt: Date;
15037
- updatedAt: Date;
15038
- deletedAt: Date | null;
15039
- fileName: string;
15040
- fileType: string;
15041
- uploadId: string;
15042
- upload: {
15043
- id: string;
15044
- createdAt: Date;
15045
- updatedAt: Date;
15046
- deletedAt: Date | null;
15047
- extensionName: string;
15048
- fileName: string;
15049
- fileKey: string;
15050
- bucketName: string;
15051
- fileSize: number;
15052
- fileUrl: string;
15053
- };
15054
- roomId: string;
15055
- messageId: string;
15056
- emailEngineAttachmentId: string;
15057
- }[];
15058
- };
15059
- requestId: string;
15060
- }, {
15061
- data: {
15062
- id: string;
15063
- direction: string;
15064
- action: string;
15065
- date: Date;
15066
- createdAt: Date;
15067
- updatedAt: Date;
15068
- deletedAt: Date | null;
15069
- roomId: string;
15070
- subject: string;
15071
- textPlain: string;
15072
- textHtml: string;
15073
- textId: string;
15074
- emailEngineEmailId: string;
15075
- emailEngineMessageId: string;
15076
- emailEngineReplyTo: string | null;
15077
- unseen: boolean;
15078
- sendAt: Date;
15079
- starred: boolean;
15080
- seemsLikeNew: boolean;
15081
- from: {
15082
- id: string;
15083
- address: string;
15084
- name: string;
15085
- createdAt: Date;
15086
- updatedAt: Date;
15087
- deletedAt: Date | null;
15088
- }[];
15089
- to: {
15090
- id: string;
15091
- address: string;
15092
- name: string;
15093
- createdAt: Date;
15094
- updatedAt: Date;
15095
- deletedAt: Date | null;
15096
- }[];
15097
- cc: {
15098
- id: string;
15099
- address: string;
15100
- name: string;
15101
- createdAt: Date;
15102
- updatedAt: Date;
15103
- deletedAt: Date | null;
15104
- }[];
15105
- bcc: {
15106
- id: string;
15107
- address: string;
15108
- name: string;
15109
- createdAt: Date;
15110
- updatedAt: Date;
15111
- deletedAt: Date | null;
15112
- }[];
15113
- attachments: {
15114
- id: string;
15115
- createdAt: Date;
15116
- updatedAt: Date;
15117
- deletedAt: Date | null;
15118
- fileName: string;
15119
- fileType: string;
15120
- uploadId: string;
15121
- upload: {
15122
- id: string;
15123
- createdAt: Date;
15124
- updatedAt: Date;
15125
- deletedAt: Date | null;
15126
- extensionName: string;
15127
- fileName: string;
15128
- fileKey: string;
15129
- bucketName: string;
15130
- fileSize: number;
15131
- fileUrl: string;
15132
- };
15133
- roomId: string;
15134
- messageId: string;
15135
- emailEngineAttachmentId: string;
15136
- }[];
15137
- };
15138
- requestId: string;
15139
- }>;
15140
- };
15141
- path: "mail/message/:id";
15142
- };
15143
- delete: {
15144
- body: null;
15145
- summary: "Delete a message";
15146
- method: "DELETE";
15147
- pathParams: import("zod").ZodObject<{
15148
- id: import("zod").ZodString;
15149
- }, "strip", import("zod").ZodTypeAny, {
15150
- id: string;
15151
- }, {
15152
- id: string;
15153
- }>;
15154
- responses: {
15155
- 401: import("zod").ZodObject<{
15156
- message: import("zod").ZodString;
15157
- error: import("zod").ZodAny;
15158
- }, "strip", import("zod").ZodTypeAny, {
15159
- message: string;
15160
- error?: any;
15161
- }, {
15162
- message: string;
15163
- error?: any;
15164
- }>;
15165
- 404: import("zod").ZodObject<{
15166
- message: import("zod").ZodString;
15167
- error: import("zod").ZodAny;
15168
- }, "strip", import("zod").ZodTypeAny, {
15169
- message: string;
15170
- error?: any;
15171
- }, {
15172
- message: string;
15173
- error?: any;
15174
- }>;
15175
- 422: import("zod").ZodObject<{
15176
- message: import("zod").ZodString;
15177
- error: import("zod").ZodAny;
15178
- }, "strip", import("zod").ZodTypeAny, {
15179
- message: string;
15180
- error?: any;
15181
- }, {
15182
- message: string;
15183
- error?: any;
15184
- }>;
15185
- 200: import("zod").ZodObject<{
15186
- requestId: import("zod").ZodString;
15187
- data: import("zod").ZodObject<{
15188
- id: import("zod").ZodString;
15189
- createdAt: import("zod").ZodDate;
15190
- updatedAt: import("zod").ZodDate;
15191
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15192
- roomId: import("zod").ZodString;
15193
- subject: import("zod").ZodString;
15194
- textPlain: import("zod").ZodString;
15195
- textHtml: import("zod").ZodString;
15196
- textId: import("zod").ZodString;
15197
- emailEngineEmailId: import("zod").ZodString;
15198
- emailEngineMessageId: import("zod").ZodString;
15199
- emailEngineReplyTo: import("zod").ZodNullable<import("zod").ZodString>;
15200
- direction: import("zod").ZodString;
15201
- date: import("zod").ZodDate;
15202
- action: import("zod").ZodString;
15203
- unseen: import("zod").ZodBoolean;
15204
- sendAt: import("zod").ZodDate;
15205
- starred: import("zod").ZodBoolean;
15206
- seemsLikeNew: import("zod").ZodBoolean;
15207
- from: import("zod").ZodArray<import("zod").ZodObject<{
15208
- id: import("zod").ZodString;
15209
- createdAt: import("zod").ZodDate;
15210
- updatedAt: import("zod").ZodDate;
15211
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15212
- name: import("zod").ZodString;
15213
- address: import("zod").ZodString;
15214
- }, "strip", import("zod").ZodTypeAny, {
15215
- id: string;
15216
- address: string;
15217
- name: string;
15218
- createdAt: Date;
15219
- updatedAt: Date;
15220
- deletedAt: Date | null;
15221
- }, {
15222
- id: string;
15223
- address: string;
15224
- name: string;
15225
- createdAt: Date;
15226
- updatedAt: Date;
15227
- deletedAt: Date | null;
15228
- }>, "many">;
15229
- to: import("zod").ZodArray<import("zod").ZodObject<{
15230
- id: import("zod").ZodString;
15231
- createdAt: import("zod").ZodDate;
15232
- updatedAt: import("zod").ZodDate;
15233
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15234
- name: import("zod").ZodString;
15235
- address: import("zod").ZodString;
15236
- }, "strip", import("zod").ZodTypeAny, {
15237
- id: string;
15238
- address: string;
15239
- name: string;
15240
- createdAt: Date;
15241
- updatedAt: Date;
15242
- deletedAt: Date | null;
15243
- }, {
15244
- id: string;
15245
- address: string;
15246
- name: string;
15247
- createdAt: Date;
15248
- updatedAt: Date;
15249
- deletedAt: Date | null;
15250
- }>, "many">;
15251
- cc: import("zod").ZodArray<import("zod").ZodObject<{
15252
- id: import("zod").ZodString;
15253
- createdAt: import("zod").ZodDate;
15254
- updatedAt: import("zod").ZodDate;
15255
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15256
- name: import("zod").ZodString;
15257
- address: import("zod").ZodString;
15258
- }, "strip", import("zod").ZodTypeAny, {
15259
- id: string;
15260
- address: string;
15261
- name: string;
15262
- createdAt: Date;
15263
- updatedAt: Date;
15264
- deletedAt: Date | null;
15265
- }, {
15266
- id: string;
15267
- address: string;
15268
- name: string;
15269
- createdAt: Date;
15270
- updatedAt: Date;
15271
- deletedAt: Date | null;
15272
- }>, "many">;
15273
- bcc: import("zod").ZodArray<import("zod").ZodObject<{
15274
- id: import("zod").ZodString;
15275
- createdAt: import("zod").ZodDate;
15276
- updatedAt: import("zod").ZodDate;
15277
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15278
- name: import("zod").ZodString;
15279
- address: import("zod").ZodString;
15280
- }, "strip", import("zod").ZodTypeAny, {
15281
- id: string;
15282
- address: string;
15283
- name: string;
15284
- createdAt: Date;
15285
- updatedAt: Date;
15286
- deletedAt: Date | null;
15287
- }, {
15288
- id: string;
15289
- address: string;
15290
- name: string;
15291
- createdAt: Date;
15292
- updatedAt: Date;
15293
- deletedAt: Date | null;
15294
- }>, "many">;
15295
- attachments: import("zod").ZodArray<import("zod").ZodObject<{
15296
- id: import("zod").ZodString;
15297
- createdAt: import("zod").ZodDate;
15298
- updatedAt: import("zod").ZodDate;
15299
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15300
- roomId: import("zod").ZodString;
15301
- messageId: import("zod").ZodString;
15302
- fileName: import("zod").ZodString;
15303
- fileType: import("zod").ZodString;
15304
- emailEngineAttachmentId: import("zod").ZodString;
15305
- uploadId: import("zod").ZodString;
15306
- upload: import("zod").ZodObject<{
15307
- id: import("zod").ZodString;
15308
- createdAt: import("zod").ZodDate;
15309
- updatedAt: import("zod").ZodDate;
15310
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15311
- bucketName: import("zod").ZodString;
15312
- fileName: import("zod").ZodString;
15313
- fileKey: import("zod").ZodString;
15314
- fileSize: import("zod").ZodNumber;
15315
- fileUrl: import("zod").ZodString;
15316
- extensionName: import("zod").ZodString;
15317
- }, "strip", import("zod").ZodTypeAny, {
15318
- id: string;
15319
- createdAt: Date;
15320
- updatedAt: Date;
15321
- deletedAt: Date | null;
15322
- extensionName: string;
15323
- fileName: string;
15324
- fileKey: string;
15325
- bucketName: string;
15326
- fileSize: number;
15327
- fileUrl: string;
15328
- }, {
15329
- id: string;
15330
- createdAt: Date;
15331
- updatedAt: Date;
15332
- deletedAt: Date | null;
15333
- extensionName: string;
15334
- fileName: string;
15335
- fileKey: string;
15336
- bucketName: string;
15337
- fileSize: number;
15338
- fileUrl: string;
15339
- }>;
15340
- }, "strip", import("zod").ZodTypeAny, {
15341
- id: string;
15342
- createdAt: Date;
15343
- updatedAt: Date;
15344
- deletedAt: Date | null;
15345
- fileName: string;
15346
- fileType: string;
15347
- uploadId: string;
15348
- upload: {
15349
- id: string;
15350
- createdAt: Date;
15351
- updatedAt: Date;
15352
- deletedAt: Date | null;
15353
- extensionName: string;
15354
- fileName: string;
15355
- fileKey: string;
15356
- bucketName: string;
15357
- fileSize: number;
15358
- fileUrl: string;
15359
- };
15360
- roomId: string;
15361
- messageId: string;
15362
- emailEngineAttachmentId: string;
15363
- }, {
15364
- id: string;
15365
- createdAt: Date;
15366
- updatedAt: Date;
15367
- deletedAt: Date | null;
15368
- fileName: string;
15369
- fileType: string;
15370
- uploadId: string;
15371
- upload: {
15372
- id: string;
15373
- createdAt: Date;
15374
- updatedAt: Date;
15375
- deletedAt: Date | null;
15376
- extensionName: string;
15377
- fileName: string;
15378
- fileKey: string;
15379
- bucketName: string;
15380
- fileSize: number;
15381
- fileUrl: string;
15382
- };
15383
- roomId: string;
15384
- messageId: string;
15385
- emailEngineAttachmentId: string;
15386
- }>, "many">;
15387
- }, "strip", import("zod").ZodTypeAny, {
15388
- id: string;
15389
- direction: string;
15390
- action: string;
15391
- date: Date;
15392
- createdAt: Date;
15393
- updatedAt: Date;
15394
- deletedAt: Date | null;
15395
- roomId: string;
15396
- subject: string;
15397
- textPlain: string;
15398
- textHtml: string;
15399
- textId: string;
15400
- emailEngineEmailId: string;
15401
- emailEngineMessageId: string;
15402
- emailEngineReplyTo: string | null;
15403
- unseen: boolean;
15404
- sendAt: Date;
15405
- starred: boolean;
15406
- seemsLikeNew: boolean;
15407
- from: {
15408
- id: string;
15409
- address: string;
15410
- name: string;
15411
- createdAt: Date;
15412
- updatedAt: Date;
15413
- deletedAt: Date | null;
15414
- }[];
15415
- to: {
15416
- id: string;
15417
- address: string;
15418
- name: string;
15419
- createdAt: Date;
15420
- updatedAt: Date;
15421
- deletedAt: Date | null;
15422
- }[];
15423
- cc: {
15424
- id: string;
15425
- address: string;
15426
- name: string;
15427
- createdAt: Date;
15428
- updatedAt: Date;
15429
- deletedAt: Date | null;
15430
- }[];
15431
- bcc: {
15432
- id: string;
15433
- address: string;
15434
- name: string;
15435
- createdAt: Date;
15436
- updatedAt: Date;
15437
- deletedAt: Date | null;
15438
- }[];
15439
- attachments: {
15440
- id: string;
15441
- createdAt: Date;
15442
- updatedAt: Date;
15443
- deletedAt: Date | null;
15444
- fileName: string;
15445
- fileType: string;
15446
- uploadId: string;
15447
- upload: {
15448
- id: string;
15449
- createdAt: Date;
15450
- updatedAt: Date;
15451
- deletedAt: Date | null;
15452
- extensionName: string;
15453
- fileName: string;
15454
- fileKey: string;
15455
- bucketName: string;
15456
- fileSize: number;
15457
- fileUrl: string;
15458
- };
15459
- roomId: string;
15460
- messageId: string;
15461
- emailEngineAttachmentId: string;
15462
- }[];
15463
- }, {
15464
- id: string;
15465
- direction: string;
15466
- action: string;
15467
- date: Date;
15468
- createdAt: Date;
15469
- updatedAt: Date;
15470
- deletedAt: Date | null;
15471
- roomId: string;
15472
- subject: string;
15473
- textPlain: string;
15474
- textHtml: string;
15475
- textId: string;
15476
- emailEngineEmailId: string;
15477
- emailEngineMessageId: string;
15478
- emailEngineReplyTo: string | null;
15479
- unseen: boolean;
15480
- sendAt: Date;
15481
- starred: boolean;
15482
- seemsLikeNew: boolean;
15483
- from: {
15484
- id: string;
15485
- address: string;
15486
- name: string;
15487
- createdAt: Date;
15488
- updatedAt: Date;
15489
- deletedAt: Date | null;
15490
- }[];
15491
- to: {
15492
- id: string;
15493
- address: string;
15494
- name: string;
15495
- createdAt: Date;
15496
- updatedAt: Date;
15497
- deletedAt: Date | null;
15498
- }[];
15499
- cc: {
15500
- id: string;
15501
- address: string;
15502
- name: string;
15503
- createdAt: Date;
15504
- updatedAt: Date;
15505
- deletedAt: Date | null;
15506
- }[];
15507
- bcc: {
15508
- id: string;
15509
- address: string;
15510
- name: string;
15511
- createdAt: Date;
15512
- updatedAt: Date;
15513
- deletedAt: Date | null;
15514
- }[];
15515
- attachments: {
15516
- id: string;
15517
- createdAt: Date;
15518
- updatedAt: Date;
15519
- deletedAt: Date | null;
15520
- fileName: string;
15521
- fileType: string;
15522
- uploadId: string;
15523
- upload: {
15524
- id: string;
15525
- createdAt: Date;
15526
- updatedAt: Date;
15527
- deletedAt: Date | null;
15528
- extensionName: string;
15529
- fileName: string;
15530
- fileKey: string;
15531
- bucketName: string;
15532
- fileSize: number;
15533
- fileUrl: string;
15534
- };
15535
- roomId: string;
15536
- messageId: string;
15537
- emailEngineAttachmentId: string;
15538
- }[];
15539
- }>;
15540
- }, "strip", import("zod").ZodTypeAny, {
15541
- data: {
15542
- id: string;
15543
- direction: string;
15544
- action: string;
15545
- date: Date;
15546
- createdAt: Date;
15547
- updatedAt: Date;
15548
- deletedAt: Date | null;
15549
- roomId: string;
15550
- subject: string;
15551
- textPlain: string;
15552
- textHtml: string;
15553
- textId: string;
15554
- emailEngineEmailId: string;
15555
- emailEngineMessageId: string;
15556
- emailEngineReplyTo: string | null;
15557
- unseen: boolean;
15558
- sendAt: Date;
15559
- starred: boolean;
15560
- seemsLikeNew: boolean;
15561
- from: {
15562
- id: string;
15563
- address: string;
15564
- name: string;
15565
- createdAt: Date;
15566
- updatedAt: Date;
15567
- deletedAt: Date | null;
15568
- }[];
15569
- to: {
15570
- id: string;
15571
- address: string;
15572
- name: string;
15573
- createdAt: Date;
15574
- updatedAt: Date;
15575
- deletedAt: Date | null;
15576
- }[];
15577
- cc: {
15578
- id: string;
15579
- address: string;
15580
- name: string;
15581
- createdAt: Date;
15582
- updatedAt: Date;
15583
- deletedAt: Date | null;
15584
- }[];
15585
- bcc: {
15586
- id: string;
15587
- address: string;
15588
- name: string;
15589
- createdAt: Date;
15590
- updatedAt: Date;
15591
- deletedAt: Date | null;
15592
- }[];
15593
- attachments: {
15594
- id: string;
15595
- createdAt: Date;
15596
- updatedAt: Date;
15597
- deletedAt: Date | null;
15598
- fileName: string;
15599
- fileType: string;
15600
- uploadId: string;
15601
- upload: {
15602
- id: string;
15603
- createdAt: Date;
15604
- updatedAt: Date;
15605
- deletedAt: Date | null;
15606
- extensionName: string;
15607
- fileName: string;
15608
- fileKey: string;
15609
- bucketName: string;
15610
- fileSize: number;
15611
- fileUrl: string;
15612
- };
15613
- roomId: string;
15614
- messageId: string;
15615
- emailEngineAttachmentId: string;
15616
- }[];
15617
- };
15618
- requestId: string;
15619
- }, {
15620
- data: {
15621
- id: string;
15622
- direction: string;
15623
- action: string;
15624
- date: Date;
15625
- createdAt: Date;
15626
- updatedAt: Date;
15627
- deletedAt: Date | null;
15628
- roomId: string;
15629
- subject: string;
15630
- textPlain: string;
15631
- textHtml: string;
15632
- textId: string;
15633
- emailEngineEmailId: string;
15634
- emailEngineMessageId: string;
15635
- emailEngineReplyTo: string | null;
15636
- unseen: boolean;
15637
- sendAt: Date;
15638
- starred: boolean;
15639
- seemsLikeNew: boolean;
15640
- from: {
15641
- id: string;
15642
- address: string;
15643
- name: string;
15644
- createdAt: Date;
15645
- updatedAt: Date;
15646
- deletedAt: Date | null;
15647
- }[];
15648
- to: {
15649
- id: string;
15650
- address: string;
15651
- name: string;
15652
- createdAt: Date;
15653
- updatedAt: Date;
15654
- deletedAt: Date | null;
15655
- }[];
15656
- cc: {
15657
- id: string;
15658
- address: string;
15659
- name: string;
15660
- createdAt: Date;
15661
- updatedAt: Date;
15662
- deletedAt: Date | null;
15663
- }[];
15664
- bcc: {
15665
- id: string;
15666
- address: string;
15667
- name: string;
15668
- createdAt: Date;
15669
- updatedAt: Date;
15670
- deletedAt: Date | null;
15671
- }[];
15672
- attachments: {
15673
- id: string;
15674
- createdAt: Date;
15675
- updatedAt: Date;
15676
- deletedAt: Date | null;
15677
- fileName: string;
15678
- fileType: string;
15679
- uploadId: string;
15680
- upload: {
15681
- id: string;
15682
- createdAt: Date;
15683
- updatedAt: Date;
15684
- deletedAt: Date | null;
15685
- extensionName: string;
15686
- fileName: string;
15687
- fileKey: string;
15688
- bucketName: string;
15689
- fileSize: number;
15690
- fileUrl: string;
15691
- };
15692
- roomId: string;
15693
- messageId: string;
15694
- emailEngineAttachmentId: string;
15695
- }[];
15696
- };
15697
- requestId: string;
15698
- }>;
15699
- };
15700
- path: "mail/message/:id";
15701
- };
15702
- cancelScheduledMessage: {
15703
- body: null;
15704
- summary: "Cancel a scheduled message";
15705
- method: "DELETE";
15706
- pathParams: import("zod").ZodObject<{
15707
- id: import("zod").ZodString;
15708
- }, "strip", import("zod").ZodTypeAny, {
15709
- id: string;
15710
- }, {
15711
- id: string;
15712
- }>;
15713
- responses: {
15714
- 401: import("zod").ZodObject<{
15715
- message: import("zod").ZodString;
15716
- error: import("zod").ZodAny;
15717
- }, "strip", import("zod").ZodTypeAny, {
15718
- message: string;
15719
- error?: any;
15720
- }, {
15721
- message: string;
15722
- error?: any;
15723
- }>;
15724
- 404: import("zod").ZodObject<{
15725
- message: import("zod").ZodString;
15726
- error: import("zod").ZodAny;
15727
- }, "strip", import("zod").ZodTypeAny, {
15728
- message: string;
15729
- error?: any;
15730
- }, {
15731
- message: string;
15732
- error?: any;
15733
- }>;
15734
- 422: import("zod").ZodObject<{
15735
- message: import("zod").ZodString;
15736
- error: import("zod").ZodAny;
15737
- }, "strip", import("zod").ZodTypeAny, {
15738
- message: string;
15739
- error?: any;
15740
- }, {
15741
- message: string;
15742
- error?: any;
15743
- }>;
15744
- 200: import("zod").ZodObject<{
15745
- requestId: import("zod").ZodString;
15746
- data: import("zod").ZodObject<{
15747
- id: import("zod").ZodString;
15748
- createdAt: import("zod").ZodDate;
15749
- updatedAt: import("zod").ZodDate;
15750
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15751
- roomId: import("zod").ZodString;
15752
- subject: import("zod").ZodString;
15753
- textPlain: import("zod").ZodString;
15754
- textHtml: import("zod").ZodString;
15755
- textId: import("zod").ZodString;
15756
- emailEngineEmailId: import("zod").ZodString;
15757
- emailEngineMessageId: import("zod").ZodString;
15758
- emailEngineReplyTo: import("zod").ZodNullable<import("zod").ZodString>;
15759
- direction: import("zod").ZodString;
15760
- date: import("zod").ZodDate;
15761
- action: import("zod").ZodString;
15762
- unseen: import("zod").ZodBoolean;
15763
- sendAt: import("zod").ZodDate;
15764
- starred: import("zod").ZodBoolean;
15765
- seemsLikeNew: import("zod").ZodBoolean;
15766
- from: import("zod").ZodArray<import("zod").ZodObject<{
15767
- id: import("zod").ZodString;
15768
- createdAt: import("zod").ZodDate;
15769
- updatedAt: import("zod").ZodDate;
15770
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15771
- name: import("zod").ZodString;
15772
- address: import("zod").ZodString;
15773
- }, "strip", import("zod").ZodTypeAny, {
15774
- id: string;
15775
- address: string;
15776
- name: string;
15777
- createdAt: Date;
15778
- updatedAt: Date;
15779
- deletedAt: Date | null;
15780
- }, {
15781
- id: string;
15782
- address: string;
15783
- name: string;
15784
- createdAt: Date;
15785
- updatedAt: Date;
15786
- deletedAt: Date | null;
15787
- }>, "many">;
15788
- to: import("zod").ZodArray<import("zod").ZodObject<{
15789
- id: import("zod").ZodString;
15790
- createdAt: import("zod").ZodDate;
15791
- updatedAt: import("zod").ZodDate;
15792
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15793
- name: import("zod").ZodString;
15794
- address: import("zod").ZodString;
15795
- }, "strip", import("zod").ZodTypeAny, {
15796
- id: string;
15797
- address: string;
15798
- name: string;
15799
- createdAt: Date;
15800
- updatedAt: Date;
15801
- deletedAt: Date | null;
15802
- }, {
15803
- id: string;
15804
- address: string;
15805
- name: string;
15806
- createdAt: Date;
15807
- updatedAt: Date;
15808
- deletedAt: Date | null;
15809
- }>, "many">;
15810
- cc: import("zod").ZodArray<import("zod").ZodObject<{
15811
- id: import("zod").ZodString;
15812
- createdAt: import("zod").ZodDate;
15813
- updatedAt: import("zod").ZodDate;
15814
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15815
- name: import("zod").ZodString;
15816
- address: import("zod").ZodString;
15817
- }, "strip", import("zod").ZodTypeAny, {
15818
- id: string;
15819
- address: string;
15820
- name: string;
15821
- createdAt: Date;
15822
- updatedAt: Date;
15823
- deletedAt: Date | null;
15824
- }, {
15825
- id: string;
15826
- address: string;
15827
- name: string;
15828
- createdAt: Date;
15829
- updatedAt: Date;
15830
- deletedAt: Date | null;
15831
- }>, "many">;
15832
- bcc: import("zod").ZodArray<import("zod").ZodObject<{
15833
- id: import("zod").ZodString;
15834
- createdAt: import("zod").ZodDate;
15835
- updatedAt: import("zod").ZodDate;
15836
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15837
- name: import("zod").ZodString;
15838
- address: import("zod").ZodString;
15839
- }, "strip", import("zod").ZodTypeAny, {
15840
- id: string;
15841
- address: string;
15842
- name: string;
15843
- createdAt: Date;
15844
- updatedAt: Date;
15845
- deletedAt: Date | null;
15846
- }, {
15847
- id: string;
15848
- address: string;
15849
- name: string;
15850
- createdAt: Date;
15851
- updatedAt: Date;
15852
- deletedAt: Date | null;
15853
- }>, "many">;
15854
- attachments: import("zod").ZodArray<import("zod").ZodObject<{
15855
- id: import("zod").ZodString;
15856
- createdAt: import("zod").ZodDate;
15857
- updatedAt: import("zod").ZodDate;
15858
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15859
- roomId: import("zod").ZodString;
15860
- messageId: import("zod").ZodString;
15861
- fileName: import("zod").ZodString;
15862
- fileType: import("zod").ZodString;
15863
- emailEngineAttachmentId: import("zod").ZodString;
15864
- uploadId: import("zod").ZodString;
15865
- upload: import("zod").ZodObject<{
15866
- id: import("zod").ZodString;
15867
- createdAt: import("zod").ZodDate;
15868
- updatedAt: import("zod").ZodDate;
15869
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15870
- bucketName: import("zod").ZodString;
15871
- fileName: import("zod").ZodString;
15872
- fileKey: import("zod").ZodString;
15873
- fileSize: import("zod").ZodNumber;
15874
- fileUrl: import("zod").ZodString;
15875
- extensionName: import("zod").ZodString;
15876
- }, "strip", import("zod").ZodTypeAny, {
15877
- id: string;
15878
- createdAt: Date;
15879
- updatedAt: Date;
15880
- deletedAt: Date | null;
15881
- extensionName: string;
15882
- fileName: string;
15883
- fileKey: string;
15884
- bucketName: string;
15885
- fileSize: number;
15886
- fileUrl: string;
15887
- }, {
15888
- id: string;
15889
- createdAt: Date;
15890
- updatedAt: Date;
15891
- deletedAt: Date | null;
15892
- extensionName: string;
15893
- fileName: string;
15894
- fileKey: string;
15895
- bucketName: string;
15896
- fileSize: number;
15897
- fileUrl: string;
15898
- }>;
15899
- }, "strip", import("zod").ZodTypeAny, {
15900
- id: string;
15901
- createdAt: Date;
15902
- updatedAt: Date;
15903
- deletedAt: Date | null;
15904
- fileName: string;
15905
- fileType: string;
15906
- uploadId: string;
15907
- upload: {
15908
- id: string;
15909
- createdAt: Date;
15910
- updatedAt: Date;
15911
- deletedAt: Date | null;
15912
- extensionName: string;
15913
- fileName: string;
15914
- fileKey: string;
15915
- bucketName: string;
15916
- fileSize: number;
15917
- fileUrl: string;
15918
- };
15919
- roomId: string;
15920
- messageId: string;
15921
- emailEngineAttachmentId: string;
15922
- }, {
15923
- id: string;
15924
- createdAt: Date;
15925
- updatedAt: Date;
15926
- deletedAt: Date | null;
15927
- fileName: string;
15928
- fileType: string;
15929
- uploadId: string;
15930
- upload: {
15931
- id: string;
15932
- createdAt: Date;
15933
- updatedAt: Date;
15934
- deletedAt: Date | null;
15935
- extensionName: string;
15936
- fileName: string;
15937
- fileKey: string;
15938
- bucketName: string;
15939
- fileSize: number;
15940
- fileUrl: string;
15941
- };
15942
- roomId: string;
15943
- messageId: string;
15944
- emailEngineAttachmentId: string;
15945
- }>, "many">;
15946
- }, "strip", import("zod").ZodTypeAny, {
15947
- id: string;
15948
- direction: string;
15949
- action: string;
15950
- date: Date;
15951
- createdAt: Date;
15952
- updatedAt: Date;
15953
- deletedAt: Date | null;
15954
- roomId: string;
15955
- subject: string;
15956
- textPlain: string;
15957
- textHtml: string;
15958
- textId: string;
15959
- emailEngineEmailId: string;
15960
- emailEngineMessageId: string;
15961
- emailEngineReplyTo: string | null;
15962
- unseen: boolean;
15963
- sendAt: Date;
15964
- starred: boolean;
15965
- seemsLikeNew: boolean;
15966
- from: {
15967
- id: string;
15968
- address: string;
15969
- name: string;
15970
- createdAt: Date;
15971
- updatedAt: Date;
15972
- deletedAt: Date | null;
15973
- }[];
15974
- to: {
15975
- id: string;
15976
- address: string;
15977
- name: string;
15978
- createdAt: Date;
15979
- updatedAt: Date;
15980
- deletedAt: Date | null;
15981
- }[];
15982
- cc: {
15983
- id: string;
15984
- address: string;
15985
- name: string;
15986
- createdAt: Date;
15987
- updatedAt: Date;
15988
- deletedAt: Date | null;
15989
- }[];
15990
- bcc: {
15991
- id: string;
15992
- address: string;
15993
- name: string;
15994
- createdAt: Date;
15995
- updatedAt: Date;
15996
- deletedAt: Date | null;
15997
- }[];
15998
- attachments: {
15999
- id: string;
16000
- createdAt: Date;
16001
- updatedAt: Date;
16002
- deletedAt: Date | null;
16003
- fileName: string;
16004
- fileType: string;
16005
- uploadId: string;
16006
- upload: {
16007
- id: string;
16008
- createdAt: Date;
16009
- updatedAt: Date;
16010
- deletedAt: Date | null;
16011
- extensionName: string;
16012
- fileName: string;
16013
- fileKey: string;
16014
- bucketName: string;
16015
- fileSize: number;
16016
- fileUrl: string;
16017
- };
16018
- roomId: string;
16019
- messageId: string;
16020
- emailEngineAttachmentId: string;
16021
- }[];
16022
- }, {
16023
- id: string;
16024
- direction: string;
16025
- action: string;
16026
- date: Date;
16027
- createdAt: Date;
16028
- updatedAt: Date;
16029
- deletedAt: Date | null;
16030
- roomId: string;
16031
- subject: string;
16032
- textPlain: string;
16033
- textHtml: string;
16034
- textId: string;
16035
- emailEngineEmailId: string;
16036
- emailEngineMessageId: string;
16037
- emailEngineReplyTo: string | null;
16038
- unseen: boolean;
16039
- sendAt: Date;
16040
- starred: boolean;
16041
- seemsLikeNew: boolean;
16042
- from: {
16043
- id: string;
16044
- address: string;
16045
- name: string;
16046
- createdAt: Date;
16047
- updatedAt: Date;
16048
- deletedAt: Date | null;
16049
- }[];
16050
- to: {
16051
- id: string;
16052
- address: string;
16053
- name: string;
16054
- createdAt: Date;
16055
- updatedAt: Date;
16056
- deletedAt: Date | null;
16057
- }[];
16058
- cc: {
16059
- id: string;
16060
- address: string;
16061
- name: string;
16062
- createdAt: Date;
16063
- updatedAt: Date;
16064
- deletedAt: Date | null;
16065
- }[];
16066
- bcc: {
16067
- id: string;
16068
- address: string;
16069
- name: string;
16070
- createdAt: Date;
16071
- updatedAt: Date;
16072
- deletedAt: Date | null;
16073
- }[];
16074
- attachments: {
16075
- id: string;
16076
- createdAt: Date;
16077
- updatedAt: Date;
16078
- deletedAt: Date | null;
16079
- fileName: string;
16080
- fileType: string;
16081
- uploadId: string;
16082
- upload: {
16083
- id: string;
16084
- createdAt: Date;
16085
- updatedAt: Date;
16086
- deletedAt: Date | null;
16087
- extensionName: string;
16088
- fileName: string;
16089
- fileKey: string;
16090
- bucketName: string;
16091
- fileSize: number;
16092
- fileUrl: string;
16093
- };
16094
- roomId: string;
16095
- messageId: string;
16096
- emailEngineAttachmentId: string;
16097
- }[];
16098
- }>;
16099
- }, "strip", import("zod").ZodTypeAny, {
16100
- data: {
16101
- id: string;
16102
- direction: string;
16103
- action: string;
16104
- date: Date;
16105
- createdAt: Date;
16106
- updatedAt: Date;
16107
- deletedAt: Date | null;
16108
- roomId: string;
16109
- subject: string;
16110
- textPlain: string;
16111
- textHtml: string;
16112
- textId: string;
16113
- emailEngineEmailId: string;
16114
- emailEngineMessageId: string;
16115
- emailEngineReplyTo: string | null;
16116
- unseen: boolean;
16117
- sendAt: Date;
16118
- starred: boolean;
16119
- seemsLikeNew: boolean;
16120
- from: {
16121
- id: string;
16122
- address: string;
16123
- name: string;
16124
- createdAt: Date;
16125
- updatedAt: Date;
16126
- deletedAt: Date | null;
16127
- }[];
16128
- to: {
16129
- id: string;
16130
- address: string;
16131
- name: string;
16132
- createdAt: Date;
16133
- updatedAt: Date;
16134
- deletedAt: Date | null;
16135
- }[];
16136
- cc: {
16137
- id: string;
16138
- address: string;
16139
- name: string;
16140
- createdAt: Date;
16141
- updatedAt: Date;
16142
- deletedAt: Date | null;
16143
- }[];
16144
- bcc: {
16145
- id: string;
16146
- address: string;
16147
- name: string;
16148
- createdAt: Date;
16149
- updatedAt: Date;
16150
- deletedAt: Date | null;
16151
- }[];
16152
- attachments: {
16153
- id: string;
16154
- createdAt: Date;
16155
- updatedAt: Date;
16156
- deletedAt: Date | null;
16157
- fileName: string;
16158
- fileType: string;
16159
- uploadId: string;
16160
- upload: {
16161
- id: string;
16162
- createdAt: Date;
16163
- updatedAt: Date;
16164
- deletedAt: Date | null;
16165
- extensionName: string;
16166
- fileName: string;
16167
- fileKey: string;
16168
- bucketName: string;
16169
- fileSize: number;
16170
- fileUrl: string;
16171
- };
16172
- roomId: string;
16173
- messageId: string;
16174
- emailEngineAttachmentId: string;
16175
- }[];
16176
- };
16177
- requestId: string;
16178
- }, {
16179
- data: {
16180
- id: string;
16181
- direction: string;
16182
- action: string;
16183
- date: Date;
16184
- createdAt: Date;
16185
- updatedAt: Date;
16186
- deletedAt: Date | null;
16187
- roomId: string;
16188
- subject: string;
16189
- textPlain: string;
16190
- textHtml: string;
16191
- textId: string;
16192
- emailEngineEmailId: string;
16193
- emailEngineMessageId: string;
16194
- emailEngineReplyTo: string | null;
16195
- unseen: boolean;
16196
- sendAt: Date;
16197
- starred: boolean;
16198
- seemsLikeNew: boolean;
16199
- from: {
16200
- id: string;
16201
- address: string;
16202
- name: string;
16203
- createdAt: Date;
16204
- updatedAt: Date;
16205
- deletedAt: Date | null;
16206
- }[];
16207
- to: {
16208
- id: string;
16209
- address: string;
16210
- name: string;
16211
- createdAt: Date;
16212
- updatedAt: Date;
16213
- deletedAt: Date | null;
16214
- }[];
16215
- cc: {
16216
- id: string;
16217
- address: string;
16218
- name: string;
16219
- createdAt: Date;
16220
- updatedAt: Date;
16221
- deletedAt: Date | null;
16222
- }[];
16223
- bcc: {
16224
- id: string;
16225
- address: string;
16226
- name: string;
16227
- createdAt: Date;
16228
- updatedAt: Date;
16229
- deletedAt: Date | null;
16230
- }[];
16231
- attachments: {
16232
- id: string;
16233
- createdAt: Date;
16234
- updatedAt: Date;
16235
- deletedAt: Date | null;
16236
- fileName: string;
16237
- fileType: string;
16238
- uploadId: string;
16239
- upload: {
16240
- id: string;
16241
- createdAt: Date;
16242
- updatedAt: Date;
16243
- deletedAt: Date | null;
16244
- extensionName: string;
16245
- fileName: string;
16246
- fileKey: string;
16247
- bucketName: string;
16248
- fileSize: number;
16249
- fileUrl: string;
16250
- };
16251
- roomId: string;
16252
- messageId: string;
16253
- emailEngineAttachmentId: string;
16254
- }[];
16255
- };
16256
- requestId: string;
16257
- }>;
16258
- };
16259
- path: "mail/message/scheduled_message/:id";
16260
- };
16261
14051
  };
16262
14052
  account: {
16263
14053
  create: {