@hexclave/shared 1.0.17 → 1.0.18

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.
@@ -5,7 +5,6 @@ import * as yup$1 from "yup";
5
5
  declare const emailOutboxReadSchema: yup$1.MixedSchema<{
6
6
  status: "paused";
7
7
  id: string;
8
- created_at_millis: number;
9
8
  to: {
10
9
  user_id: string;
11
10
  type: "user-primary-email";
@@ -17,6 +16,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
17
16
  type: "custom-emails";
18
17
  emails: string[];
19
18
  };
19
+ created_at_millis: number;
20
20
  updated_at_millis: number;
21
21
  tsx_source: string;
22
22
  theme_id: string | null;
@@ -43,7 +43,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
43
43
  } | {
44
44
  status: "preparing";
45
45
  id: string;
46
- created_at_millis: number;
47
46
  to: {
48
47
  user_id: string;
49
48
  type: "user-primary-email";
@@ -55,6 +54,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
55
54
  type: "custom-emails";
56
55
  emails: string[];
57
56
  };
57
+ created_at_millis: number;
58
58
  updated_at_millis: number;
59
59
  tsx_source: string;
60
60
  theme_id: string | null;
@@ -81,7 +81,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
81
81
  } | {
82
82
  status: "rendering";
83
83
  id: string;
84
- created_at_millis: number;
85
84
  to: {
86
85
  user_id: string;
87
86
  type: "user-primary-email";
@@ -93,6 +92,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
93
92
  type: "custom-emails";
94
93
  emails: string[];
95
94
  };
95
+ created_at_millis: number;
96
96
  updated_at_millis: number;
97
97
  tsx_source: string;
98
98
  theme_id: string | null;
@@ -120,7 +120,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
120
120
  } | {
121
121
  status: "render-error";
122
122
  id: string;
123
- created_at_millis: number;
124
123
  to: {
125
124
  user_id: string;
126
125
  type: "user-primary-email";
@@ -132,6 +131,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
132
131
  type: "custom-emails";
133
132
  emails: string[];
134
133
  };
134
+ created_at_millis: number;
135
135
  updated_at_millis: number;
136
136
  tsx_source: string;
137
137
  theme_id: string | null;
@@ -162,10 +162,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
162
162
  status: "scheduled";
163
163
  id: string;
164
164
  subject: string;
165
- created_at_millis: number;
166
- html: string | null;
167
- text: string | null;
168
- notification_category_id: string | null;
169
165
  to: {
170
166
  user_id: string;
171
167
  type: "user-primary-email";
@@ -177,6 +173,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
177
173
  type: "custom-emails";
178
174
  emails: string[];
179
175
  };
176
+ created_at_millis: number;
180
177
  updated_at_millis: number;
181
178
  tsx_source: string;
182
179
  theme_id: string | null;
@@ -202,16 +199,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
202
199
  has_delivered: boolean;
203
200
  started_rendering_at_millis: number;
204
201
  rendered_at_millis: number;
202
+ html: string | null;
203
+ text: string | null;
205
204
  is_transactional: boolean;
206
205
  is_high_priority: boolean;
206
+ notification_category_id: string | null;
207
207
  } | {
208
208
  status: "queued";
209
209
  id: string;
210
210
  subject: string;
211
- created_at_millis: number;
212
- html: string | null;
213
- text: string | null;
214
- notification_category_id: string | null;
215
211
  to: {
216
212
  user_id: string;
217
213
  type: "user-primary-email";
@@ -223,6 +219,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
223
219
  type: "custom-emails";
224
220
  emails: string[];
225
221
  };
222
+ created_at_millis: number;
226
223
  updated_at_millis: number;
227
224
  tsx_source: string;
228
225
  theme_id: string | null;
@@ -248,16 +245,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
248
245
  has_delivered: boolean;
249
246
  started_rendering_at_millis: number;
250
247
  rendered_at_millis: number;
248
+ html: string | null;
249
+ text: string | null;
251
250
  is_transactional: boolean;
252
251
  is_high_priority: boolean;
252
+ notification_category_id: string | null;
253
253
  } | {
254
254
  status: "sending";
255
255
  id: string;
256
256
  subject: string;
257
- created_at_millis: number;
258
- html: string | null;
259
- text: string | null;
260
- notification_category_id: string | null;
261
257
  to: {
262
258
  user_id: string;
263
259
  type: "user-primary-email";
@@ -269,6 +265,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
269
265
  type: "custom-emails";
270
266
  emails: string[];
271
267
  };
268
+ created_at_millis: number;
272
269
  updated_at_millis: number;
273
270
  tsx_source: string;
274
271
  theme_id: string | null;
@@ -294,17 +291,16 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
294
291
  has_delivered: boolean;
295
292
  started_rendering_at_millis: number;
296
293
  rendered_at_millis: number;
294
+ html: string | null;
295
+ text: string | null;
297
296
  is_transactional: boolean;
298
297
  is_high_priority: boolean;
298
+ notification_category_id: string | null;
299
299
  started_sending_at_millis: number;
300
300
  } | {
301
301
  status: "server-error";
302
302
  id: string;
303
303
  subject: string;
304
- created_at_millis: number;
305
- html: string | null;
306
- text: string | null;
307
- notification_category_id: string | null;
308
304
  to: {
309
305
  user_id: string;
310
306
  type: "user-primary-email";
@@ -316,6 +312,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
316
312
  type: "custom-emails";
317
313
  emails: string[];
318
314
  };
315
+ created_at_millis: number;
319
316
  updated_at_millis: number;
320
317
  tsx_source: string;
321
318
  theme_id: string | null;
@@ -341,24 +338,26 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
341
338
  has_delivered: boolean;
342
339
  started_rendering_at_millis: number;
343
340
  rendered_at_millis: number;
341
+ html: string | null;
342
+ text: string | null;
344
343
  is_transactional: boolean;
345
344
  is_high_priority: boolean;
345
+ notification_category_id: string | null;
346
346
  started_sending_at_millis: number;
347
347
  error_at_millis: number;
348
348
  server_error: string;
349
349
  } | {
350
350
  subject?: string | undefined;
351
- html?: string | null | undefined;
352
- text?: string | null | undefined;
353
- notification_category_id?: string | null | undefined;
354
351
  started_rendering_at_millis?: number | undefined;
355
352
  rendered_at_millis?: number | undefined;
353
+ html?: string | null | undefined;
354
+ text?: string | null | undefined;
356
355
  is_transactional?: boolean | undefined;
357
356
  is_high_priority?: boolean | undefined;
357
+ notification_category_id?: string | null | undefined;
358
358
  started_sending_at_millis?: number | undefined;
359
359
  status: "skipped";
360
360
  id: string;
361
- created_at_millis: number;
362
361
  to: {
363
362
  user_id: string;
364
363
  type: "user-primary-email";
@@ -370,6 +369,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
370
369
  type: "custom-emails";
371
370
  emails: string[];
372
371
  };
372
+ created_at_millis: number;
373
373
  updated_at_millis: number;
374
374
  tsx_source: string;
375
375
  theme_id: string | null;
@@ -400,10 +400,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
400
400
  status: "bounced";
401
401
  id: string;
402
402
  subject: string;
403
- created_at_millis: number;
404
- html: string | null;
405
- text: string | null;
406
- notification_category_id: string | null;
407
403
  to: {
408
404
  user_id: string;
409
405
  type: "user-primary-email";
@@ -415,6 +411,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
415
411
  type: "custom-emails";
416
412
  emails: string[];
417
413
  };
414
+ created_at_millis: number;
418
415
  updated_at_millis: number;
419
416
  tsx_source: string;
420
417
  theme_id: string | null;
@@ -440,18 +437,17 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
440
437
  has_delivered: boolean;
441
438
  started_rendering_at_millis: number;
442
439
  rendered_at_millis: number;
440
+ html: string | null;
441
+ text: string | null;
443
442
  is_transactional: boolean;
444
443
  is_high_priority: boolean;
444
+ notification_category_id: string | null;
445
445
  started_sending_at_millis: number;
446
446
  bounced_at_millis: number;
447
447
  } | {
448
448
  status: "delivery-delayed";
449
449
  id: string;
450
450
  subject: string;
451
- created_at_millis: number;
452
- html: string | null;
453
- text: string | null;
454
- notification_category_id: string | null;
455
451
  to: {
456
452
  user_id: string;
457
453
  type: "user-primary-email";
@@ -463,6 +459,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
463
459
  type: "custom-emails";
464
460
  emails: string[];
465
461
  };
462
+ created_at_millis: number;
466
463
  updated_at_millis: number;
467
464
  tsx_source: string;
468
465
  theme_id: string | null;
@@ -488,18 +485,17 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
488
485
  has_delivered: boolean;
489
486
  started_rendering_at_millis: number;
490
487
  rendered_at_millis: number;
488
+ html: string | null;
489
+ text: string | null;
491
490
  is_transactional: boolean;
492
491
  is_high_priority: boolean;
492
+ notification_category_id: string | null;
493
493
  started_sending_at_millis: number;
494
494
  delivery_delayed_at_millis: number;
495
495
  } | {
496
496
  status: "sent";
497
497
  id: string;
498
498
  subject: string;
499
- created_at_millis: number;
500
- html: string | null;
501
- text: string | null;
502
- notification_category_id: string | null;
503
499
  to: {
504
500
  user_id: string;
505
501
  type: "user-primary-email";
@@ -511,6 +507,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
511
507
  type: "custom-emails";
512
508
  emails: string[];
513
509
  };
510
+ created_at_millis: number;
514
511
  updated_at_millis: number;
515
512
  tsx_source: string;
516
513
  theme_id: string | null;
@@ -536,8 +533,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
536
533
  has_delivered: boolean;
537
534
  started_rendering_at_millis: number;
538
535
  rendered_at_millis: number;
536
+ html: string | null;
537
+ text: string | null;
539
538
  is_transactional: boolean;
540
539
  is_high_priority: boolean;
540
+ notification_category_id: string | null;
541
541
  started_sending_at_millis: number;
542
542
  delivered_at_millis: number;
543
543
  can_have_delivery_info: boolean;
@@ -545,10 +545,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
545
545
  status: "opened";
546
546
  id: string;
547
547
  subject: string;
548
- created_at_millis: number;
549
- html: string | null;
550
- text: string | null;
551
- notification_category_id: string | null;
552
548
  to: {
553
549
  user_id: string;
554
550
  type: "user-primary-email";
@@ -560,6 +556,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
560
556
  type: "custom-emails";
561
557
  emails: string[];
562
558
  };
559
+ created_at_millis: number;
563
560
  updated_at_millis: number;
564
561
  tsx_source: string;
565
562
  theme_id: string | null;
@@ -585,8 +582,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
585
582
  has_delivered: boolean;
586
583
  started_rendering_at_millis: number;
587
584
  rendered_at_millis: number;
585
+ html: string | null;
586
+ text: string | null;
588
587
  is_transactional: boolean;
589
588
  is_high_priority: boolean;
589
+ notification_category_id: string | null;
590
590
  started_sending_at_millis: number;
591
591
  delivered_at_millis: number;
592
592
  can_have_delivery_info: boolean;
@@ -595,10 +595,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
595
595
  status: "clicked";
596
596
  id: string;
597
597
  subject: string;
598
- created_at_millis: number;
599
- html: string | null;
600
- text: string | null;
601
- notification_category_id: string | null;
602
598
  to: {
603
599
  user_id: string;
604
600
  type: "user-primary-email";
@@ -610,6 +606,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
610
606
  type: "custom-emails";
611
607
  emails: string[];
612
608
  };
609
+ created_at_millis: number;
613
610
  updated_at_millis: number;
614
611
  tsx_source: string;
615
612
  theme_id: string | null;
@@ -635,8 +632,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
635
632
  has_delivered: boolean;
636
633
  started_rendering_at_millis: number;
637
634
  rendered_at_millis: number;
635
+ html: string | null;
636
+ text: string | null;
638
637
  is_transactional: boolean;
639
638
  is_high_priority: boolean;
639
+ notification_category_id: string | null;
640
640
  started_sending_at_millis: number;
641
641
  delivered_at_millis: number;
642
642
  can_have_delivery_info: boolean;
@@ -645,10 +645,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
645
645
  status: "marked-as-spam";
646
646
  id: string;
647
647
  subject: string;
648
- created_at_millis: number;
649
- html: string | null;
650
- text: string | null;
651
- notification_category_id: string | null;
652
648
  to: {
653
649
  user_id: string;
654
650
  type: "user-primary-email";
@@ -660,6 +656,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
660
656
  type: "custom-emails";
661
657
  emails: string[];
662
658
  };
659
+ created_at_millis: number;
663
660
  updated_at_millis: number;
664
661
  tsx_source: string;
665
662
  theme_id: string | null;
@@ -685,8 +682,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
685
682
  has_delivered: boolean;
686
683
  started_rendering_at_millis: number;
687
684
  rendered_at_millis: number;
685
+ html: string | null;
686
+ text: string | null;
688
687
  is_transactional: boolean;
689
688
  is_high_priority: boolean;
689
+ notification_category_id: string | null;
690
690
  started_sending_at_millis: number;
691
691
  delivered_at_millis: number;
692
692
  can_have_delivery_info: boolean;
@@ -725,7 +725,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
725
725
  serverReadSchema: yup$1.MixedSchema<{
726
726
  status: "paused";
727
727
  id: string;
728
- created_at_millis: number;
729
728
  to: {
730
729
  user_id: string;
731
730
  type: "user-primary-email";
@@ -737,6 +736,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
737
736
  type: "custom-emails";
738
737
  emails: string[];
739
738
  };
739
+ created_at_millis: number;
740
740
  updated_at_millis: number;
741
741
  tsx_source: string;
742
742
  theme_id: string | null;
@@ -763,7 +763,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
763
763
  } | {
764
764
  status: "preparing";
765
765
  id: string;
766
- created_at_millis: number;
767
766
  to: {
768
767
  user_id: string;
769
768
  type: "user-primary-email";
@@ -775,6 +774,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
775
774
  type: "custom-emails";
776
775
  emails: string[];
777
776
  };
777
+ created_at_millis: number;
778
778
  updated_at_millis: number;
779
779
  tsx_source: string;
780
780
  theme_id: string | null;
@@ -801,7 +801,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
801
801
  } | {
802
802
  status: "rendering";
803
803
  id: string;
804
- created_at_millis: number;
805
804
  to: {
806
805
  user_id: string;
807
806
  type: "user-primary-email";
@@ -813,6 +812,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
813
812
  type: "custom-emails";
814
813
  emails: string[];
815
814
  };
815
+ created_at_millis: number;
816
816
  updated_at_millis: number;
817
817
  tsx_source: string;
818
818
  theme_id: string | null;
@@ -840,7 +840,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
840
840
  } | {
841
841
  status: "render-error";
842
842
  id: string;
843
- created_at_millis: number;
844
843
  to: {
845
844
  user_id: string;
846
845
  type: "user-primary-email";
@@ -852,6 +851,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
852
851
  type: "custom-emails";
853
852
  emails: string[];
854
853
  };
854
+ created_at_millis: number;
855
855
  updated_at_millis: number;
856
856
  tsx_source: string;
857
857
  theme_id: string | null;
@@ -882,10 +882,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
882
882
  status: "scheduled";
883
883
  id: string;
884
884
  subject: string;
885
- created_at_millis: number;
886
- html: string | null;
887
- text: string | null;
888
- notification_category_id: string | null;
889
885
  to: {
890
886
  user_id: string;
891
887
  type: "user-primary-email";
@@ -897,6 +893,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
897
893
  type: "custom-emails";
898
894
  emails: string[];
899
895
  };
896
+ created_at_millis: number;
900
897
  updated_at_millis: number;
901
898
  tsx_source: string;
902
899
  theme_id: string | null;
@@ -922,16 +919,15 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
922
919
  has_delivered: boolean;
923
920
  started_rendering_at_millis: number;
924
921
  rendered_at_millis: number;
922
+ html: string | null;
923
+ text: string | null;
925
924
  is_transactional: boolean;
926
925
  is_high_priority: boolean;
926
+ notification_category_id: string | null;
927
927
  } | {
928
928
  status: "queued";
929
929
  id: string;
930
930
  subject: string;
931
- created_at_millis: number;
932
- html: string | null;
933
- text: string | null;
934
- notification_category_id: string | null;
935
931
  to: {
936
932
  user_id: string;
937
933
  type: "user-primary-email";
@@ -943,6 +939,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
943
939
  type: "custom-emails";
944
940
  emails: string[];
945
941
  };
942
+ created_at_millis: number;
946
943
  updated_at_millis: number;
947
944
  tsx_source: string;
948
945
  theme_id: string | null;
@@ -968,16 +965,15 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
968
965
  has_delivered: boolean;
969
966
  started_rendering_at_millis: number;
970
967
  rendered_at_millis: number;
968
+ html: string | null;
969
+ text: string | null;
971
970
  is_transactional: boolean;
972
971
  is_high_priority: boolean;
972
+ notification_category_id: string | null;
973
973
  } | {
974
974
  status: "sending";
975
975
  id: string;
976
976
  subject: string;
977
- created_at_millis: number;
978
- html: string | null;
979
- text: string | null;
980
- notification_category_id: string | null;
981
977
  to: {
982
978
  user_id: string;
983
979
  type: "user-primary-email";
@@ -989,6 +985,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
989
985
  type: "custom-emails";
990
986
  emails: string[];
991
987
  };
988
+ created_at_millis: number;
992
989
  updated_at_millis: number;
993
990
  tsx_source: string;
994
991
  theme_id: string | null;
@@ -1014,17 +1011,16 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1014
1011
  has_delivered: boolean;
1015
1012
  started_rendering_at_millis: number;
1016
1013
  rendered_at_millis: number;
1014
+ html: string | null;
1015
+ text: string | null;
1017
1016
  is_transactional: boolean;
1018
1017
  is_high_priority: boolean;
1018
+ notification_category_id: string | null;
1019
1019
  started_sending_at_millis: number;
1020
1020
  } | {
1021
1021
  status: "server-error";
1022
1022
  id: string;
1023
1023
  subject: string;
1024
- created_at_millis: number;
1025
- html: string | null;
1026
- text: string | null;
1027
- notification_category_id: string | null;
1028
1024
  to: {
1029
1025
  user_id: string;
1030
1026
  type: "user-primary-email";
@@ -1036,6 +1032,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1036
1032
  type: "custom-emails";
1037
1033
  emails: string[];
1038
1034
  };
1035
+ created_at_millis: number;
1039
1036
  updated_at_millis: number;
1040
1037
  tsx_source: string;
1041
1038
  theme_id: string | null;
@@ -1061,24 +1058,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1061
1058
  has_delivered: boolean;
1062
1059
  started_rendering_at_millis: number;
1063
1060
  rendered_at_millis: number;
1061
+ html: string | null;
1062
+ text: string | null;
1064
1063
  is_transactional: boolean;
1065
1064
  is_high_priority: boolean;
1065
+ notification_category_id: string | null;
1066
1066
  started_sending_at_millis: number;
1067
1067
  error_at_millis: number;
1068
1068
  server_error: string;
1069
1069
  } | {
1070
1070
  subject?: string | undefined;
1071
- html?: string | null | undefined;
1072
- text?: string | null | undefined;
1073
- notification_category_id?: string | null | undefined;
1074
1071
  started_rendering_at_millis?: number | undefined;
1075
1072
  rendered_at_millis?: number | undefined;
1073
+ html?: string | null | undefined;
1074
+ text?: string | null | undefined;
1076
1075
  is_transactional?: boolean | undefined;
1077
1076
  is_high_priority?: boolean | undefined;
1077
+ notification_category_id?: string | null | undefined;
1078
1078
  started_sending_at_millis?: number | undefined;
1079
1079
  status: "skipped";
1080
1080
  id: string;
1081
- created_at_millis: number;
1082
1081
  to: {
1083
1082
  user_id: string;
1084
1083
  type: "user-primary-email";
@@ -1090,6 +1089,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1090
1089
  type: "custom-emails";
1091
1090
  emails: string[];
1092
1091
  };
1092
+ created_at_millis: number;
1093
1093
  updated_at_millis: number;
1094
1094
  tsx_source: string;
1095
1095
  theme_id: string | null;
@@ -1120,10 +1120,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1120
1120
  status: "bounced";
1121
1121
  id: string;
1122
1122
  subject: string;
1123
- created_at_millis: number;
1124
- html: string | null;
1125
- text: string | null;
1126
- notification_category_id: string | null;
1127
1123
  to: {
1128
1124
  user_id: string;
1129
1125
  type: "user-primary-email";
@@ -1135,6 +1131,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1135
1131
  type: "custom-emails";
1136
1132
  emails: string[];
1137
1133
  };
1134
+ created_at_millis: number;
1138
1135
  updated_at_millis: number;
1139
1136
  tsx_source: string;
1140
1137
  theme_id: string | null;
@@ -1160,18 +1157,17 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1160
1157
  has_delivered: boolean;
1161
1158
  started_rendering_at_millis: number;
1162
1159
  rendered_at_millis: number;
1160
+ html: string | null;
1161
+ text: string | null;
1163
1162
  is_transactional: boolean;
1164
1163
  is_high_priority: boolean;
1164
+ notification_category_id: string | null;
1165
1165
  started_sending_at_millis: number;
1166
1166
  bounced_at_millis: number;
1167
1167
  } | {
1168
1168
  status: "delivery-delayed";
1169
1169
  id: string;
1170
1170
  subject: string;
1171
- created_at_millis: number;
1172
- html: string | null;
1173
- text: string | null;
1174
- notification_category_id: string | null;
1175
1171
  to: {
1176
1172
  user_id: string;
1177
1173
  type: "user-primary-email";
@@ -1183,6 +1179,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1183
1179
  type: "custom-emails";
1184
1180
  emails: string[];
1185
1181
  };
1182
+ created_at_millis: number;
1186
1183
  updated_at_millis: number;
1187
1184
  tsx_source: string;
1188
1185
  theme_id: string | null;
@@ -1208,18 +1205,17 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1208
1205
  has_delivered: boolean;
1209
1206
  started_rendering_at_millis: number;
1210
1207
  rendered_at_millis: number;
1208
+ html: string | null;
1209
+ text: string | null;
1211
1210
  is_transactional: boolean;
1212
1211
  is_high_priority: boolean;
1212
+ notification_category_id: string | null;
1213
1213
  started_sending_at_millis: number;
1214
1214
  delivery_delayed_at_millis: number;
1215
1215
  } | {
1216
1216
  status: "sent";
1217
1217
  id: string;
1218
1218
  subject: string;
1219
- created_at_millis: number;
1220
- html: string | null;
1221
- text: string | null;
1222
- notification_category_id: string | null;
1223
1219
  to: {
1224
1220
  user_id: string;
1225
1221
  type: "user-primary-email";
@@ -1231,6 +1227,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1231
1227
  type: "custom-emails";
1232
1228
  emails: string[];
1233
1229
  };
1230
+ created_at_millis: number;
1234
1231
  updated_at_millis: number;
1235
1232
  tsx_source: string;
1236
1233
  theme_id: string | null;
@@ -1256,8 +1253,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1256
1253
  has_delivered: boolean;
1257
1254
  started_rendering_at_millis: number;
1258
1255
  rendered_at_millis: number;
1256
+ html: string | null;
1257
+ text: string | null;
1259
1258
  is_transactional: boolean;
1260
1259
  is_high_priority: boolean;
1260
+ notification_category_id: string | null;
1261
1261
  started_sending_at_millis: number;
1262
1262
  delivered_at_millis: number;
1263
1263
  can_have_delivery_info: boolean;
@@ -1265,10 +1265,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1265
1265
  status: "opened";
1266
1266
  id: string;
1267
1267
  subject: string;
1268
- created_at_millis: number;
1269
- html: string | null;
1270
- text: string | null;
1271
- notification_category_id: string | null;
1272
1268
  to: {
1273
1269
  user_id: string;
1274
1270
  type: "user-primary-email";
@@ -1280,6 +1276,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1280
1276
  type: "custom-emails";
1281
1277
  emails: string[];
1282
1278
  };
1279
+ created_at_millis: number;
1283
1280
  updated_at_millis: number;
1284
1281
  tsx_source: string;
1285
1282
  theme_id: string | null;
@@ -1305,8 +1302,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1305
1302
  has_delivered: boolean;
1306
1303
  started_rendering_at_millis: number;
1307
1304
  rendered_at_millis: number;
1305
+ html: string | null;
1306
+ text: string | null;
1308
1307
  is_transactional: boolean;
1309
1308
  is_high_priority: boolean;
1309
+ notification_category_id: string | null;
1310
1310
  started_sending_at_millis: number;
1311
1311
  delivered_at_millis: number;
1312
1312
  can_have_delivery_info: boolean;
@@ -1315,10 +1315,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1315
1315
  status: "clicked";
1316
1316
  id: string;
1317
1317
  subject: string;
1318
- created_at_millis: number;
1319
- html: string | null;
1320
- text: string | null;
1321
- notification_category_id: string | null;
1322
1318
  to: {
1323
1319
  user_id: string;
1324
1320
  type: "user-primary-email";
@@ -1330,6 +1326,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1330
1326
  type: "custom-emails";
1331
1327
  emails: string[];
1332
1328
  };
1329
+ created_at_millis: number;
1333
1330
  updated_at_millis: number;
1334
1331
  tsx_source: string;
1335
1332
  theme_id: string | null;
@@ -1355,8 +1352,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1355
1352
  has_delivered: boolean;
1356
1353
  started_rendering_at_millis: number;
1357
1354
  rendered_at_millis: number;
1355
+ html: string | null;
1356
+ text: string | null;
1358
1357
  is_transactional: boolean;
1359
1358
  is_high_priority: boolean;
1359
+ notification_category_id: string | null;
1360
1360
  started_sending_at_millis: number;
1361
1361
  delivered_at_millis: number;
1362
1362
  can_have_delivery_info: boolean;
@@ -1365,10 +1365,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1365
1365
  status: "marked-as-spam";
1366
1366
  id: string;
1367
1367
  subject: string;
1368
- created_at_millis: number;
1369
- html: string | null;
1370
- text: string | null;
1371
- notification_category_id: string | null;
1372
1368
  to: {
1373
1369
  user_id: string;
1374
1370
  type: "user-primary-email";
@@ -1380,6 +1376,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1380
1376
  type: "custom-emails";
1381
1377
  emails: string[];
1382
1378
  };
1379
+ created_at_millis: number;
1383
1380
  updated_at_millis: number;
1384
1381
  tsx_source: string;
1385
1382
  theme_id: string | null;
@@ -1405,8 +1402,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1405
1402
  has_delivered: boolean;
1406
1403
  started_rendering_at_millis: number;
1407
1404
  rendered_at_millis: number;
1405
+ html: string | null;
1406
+ text: string | null;
1408
1407
  is_transactional: boolean;
1409
1408
  is_high_priority: boolean;
1409
+ notification_category_id: string | null;
1410
1410
  started_sending_at_millis: number;
1411
1411
  delivered_at_millis: number;
1412
1412
  can_have_delivery_info: boolean;