@hexclave/shared 1.0.13 → 1.0.14

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.
@@ -14,12 +14,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
14
14
  user_id: string;
15
15
  type: "user-primary-email";
16
16
  } | {
17
+ emails: string[];
17
18
  user_id: string;
18
19
  type: "user-custom-emails";
19
- emails: string[];
20
20
  } | {
21
- type: "custom-emails";
22
21
  emails: string[];
22
+ type: "custom-emails";
23
23
  };
24
24
  variables: Record<string, {} | null>;
25
25
  skip_deliverability_check: boolean;
@@ -52,12 +52,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
52
52
  user_id: string;
53
53
  type: "user-primary-email";
54
54
  } | {
55
+ emails: string[];
55
56
  user_id: string;
56
57
  type: "user-custom-emails";
57
- emails: string[];
58
58
  } | {
59
- type: "custom-emails";
60
59
  emails: string[];
60
+ type: "custom-emails";
61
61
  };
62
62
  variables: Record<string, {} | null>;
63
63
  skip_deliverability_check: boolean;
@@ -90,12 +90,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
90
90
  user_id: string;
91
91
  type: "user-primary-email";
92
92
  } | {
93
+ emails: string[];
93
94
  user_id: string;
94
95
  type: "user-custom-emails";
95
- emails: string[];
96
96
  } | {
97
- type: "custom-emails";
98
97
  emails: string[];
98
+ type: "custom-emails";
99
99
  };
100
100
  variables: Record<string, {} | null>;
101
101
  skip_deliverability_check: boolean;
@@ -129,12 +129,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
129
129
  user_id: string;
130
130
  type: "user-primary-email";
131
131
  } | {
132
+ emails: string[];
132
133
  user_id: string;
133
134
  type: "user-custom-emails";
134
- emails: string[];
135
135
  } | {
136
- type: "custom-emails";
137
136
  emails: string[];
137
+ type: "custom-emails";
138
138
  };
139
139
  variables: Record<string, {} | null>;
140
140
  skip_deliverability_check: boolean;
@@ -160,11 +160,13 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
160
160
  rendered_at_millis: number;
161
161
  render_error: string;
162
162
  } | {
163
- status: "scheduled";
164
- id: string;
165
163
  html: string | null;
166
164
  text: string | null;
165
+ status: "scheduled";
166
+ id: string;
167
+ notification_category_id: string | null;
167
168
  created_at_millis: number;
169
+ subject: string;
168
170
  updated_at_millis: number;
169
171
  tsx_source: string;
170
172
  theme_id: string | null;
@@ -172,12 +174,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
172
174
  user_id: string;
173
175
  type: "user-primary-email";
174
176
  } | {
177
+ emails: string[];
175
178
  user_id: string;
176
179
  type: "user-custom-emails";
177
- emails: string[];
178
180
  } | {
179
- type: "custom-emails";
180
181
  emails: string[];
182
+ type: "custom-emails";
181
183
  };
182
184
  variables: Record<string, {} | null>;
183
185
  skip_deliverability_check: boolean;
@@ -201,16 +203,16 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
201
203
  has_delivered: boolean;
202
204
  started_rendering_at_millis: number;
203
205
  rendered_at_millis: number;
204
- subject: string;
205
206
  is_transactional: boolean;
206
207
  is_high_priority: boolean;
207
- notification_category_id: string | null;
208
208
  } | {
209
- status: "queued";
210
- id: string;
211
209
  html: string | null;
212
210
  text: string | null;
211
+ status: "queued";
212
+ id: string;
213
+ notification_category_id: string | null;
213
214
  created_at_millis: number;
215
+ subject: string;
214
216
  updated_at_millis: number;
215
217
  tsx_source: string;
216
218
  theme_id: string | null;
@@ -218,12 +220,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
218
220
  user_id: string;
219
221
  type: "user-primary-email";
220
222
  } | {
223
+ emails: string[];
221
224
  user_id: string;
222
225
  type: "user-custom-emails";
223
- emails: string[];
224
226
  } | {
225
- type: "custom-emails";
226
227
  emails: string[];
228
+ type: "custom-emails";
227
229
  };
228
230
  variables: Record<string, {} | null>;
229
231
  skip_deliverability_check: boolean;
@@ -247,16 +249,16 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
247
249
  has_delivered: boolean;
248
250
  started_rendering_at_millis: number;
249
251
  rendered_at_millis: number;
250
- subject: string;
251
252
  is_transactional: boolean;
252
253
  is_high_priority: boolean;
253
- notification_category_id: string | null;
254
254
  } | {
255
- status: "sending";
256
- id: string;
257
255
  html: string | null;
258
256
  text: string | null;
257
+ status: "sending";
258
+ id: string;
259
+ notification_category_id: string | null;
259
260
  created_at_millis: number;
261
+ subject: string;
260
262
  updated_at_millis: number;
261
263
  tsx_source: string;
262
264
  theme_id: string | null;
@@ -264,12 +266,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
264
266
  user_id: string;
265
267
  type: "user-primary-email";
266
268
  } | {
269
+ emails: string[];
267
270
  user_id: string;
268
271
  type: "user-custom-emails";
269
- emails: string[];
270
272
  } | {
271
- type: "custom-emails";
272
273
  emails: string[];
274
+ type: "custom-emails";
273
275
  };
274
276
  variables: Record<string, {} | null>;
275
277
  skip_deliverability_check: boolean;
@@ -293,17 +295,17 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
293
295
  has_delivered: boolean;
294
296
  started_rendering_at_millis: number;
295
297
  rendered_at_millis: number;
296
- subject: string;
297
298
  is_transactional: boolean;
298
299
  is_high_priority: boolean;
299
- notification_category_id: string | null;
300
300
  started_sending_at_millis: number;
301
301
  } | {
302
- status: "server-error";
303
- id: string;
304
302
  html: string | null;
305
303
  text: string | null;
304
+ status: "server-error";
305
+ id: string;
306
+ notification_category_id: string | null;
306
307
  created_at_millis: number;
308
+ subject: string;
307
309
  updated_at_millis: number;
308
310
  tsx_source: string;
309
311
  theme_id: string | null;
@@ -311,12 +313,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
311
313
  user_id: string;
312
314
  type: "user-primary-email";
313
315
  } | {
316
+ emails: string[];
314
317
  user_id: string;
315
318
  type: "user-custom-emails";
316
- emails: string[];
317
319
  } | {
318
- type: "custom-emails";
319
320
  emails: string[];
321
+ type: "custom-emails";
320
322
  };
321
323
  variables: Record<string, {} | null>;
322
324
  skip_deliverability_check: boolean;
@@ -340,22 +342,20 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
340
342
  has_delivered: boolean;
341
343
  started_rendering_at_millis: number;
342
344
  rendered_at_millis: number;
343
- subject: string;
344
345
  is_transactional: boolean;
345
346
  is_high_priority: boolean;
346
- notification_category_id: string | null;
347
347
  started_sending_at_millis: number;
348
348
  error_at_millis: number;
349
349
  server_error: string;
350
350
  } | {
351
351
  html?: string | null | undefined;
352
352
  text?: string | null | undefined;
353
+ notification_category_id?: string | null | undefined;
354
+ subject?: string | undefined;
353
355
  started_rendering_at_millis?: number | undefined;
354
356
  rendered_at_millis?: number | undefined;
355
- subject?: string | undefined;
356
357
  is_transactional?: boolean | undefined;
357
358
  is_high_priority?: boolean | undefined;
358
- notification_category_id?: string | null | undefined;
359
359
  started_sending_at_millis?: number | undefined;
360
360
  status: "skipped";
361
361
  id: string;
@@ -367,12 +367,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
367
367
  user_id: string;
368
368
  type: "user-primary-email";
369
369
  } | {
370
+ emails: string[];
370
371
  user_id: string;
371
372
  type: "user-custom-emails";
372
- emails: string[];
373
373
  } | {
374
- type: "custom-emails";
375
374
  emails: string[];
375
+ type: "custom-emails";
376
376
  };
377
377
  variables: Record<string, {} | null>;
378
378
  skip_deliverability_check: boolean;
@@ -398,11 +398,13 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
398
398
  skipped_reason: string;
399
399
  skipped_details: Record<string, {} | null>;
400
400
  } | {
401
- status: "bounced";
402
- id: string;
403
401
  html: string | null;
404
402
  text: string | null;
403
+ status: "bounced";
404
+ id: string;
405
+ notification_category_id: string | null;
405
406
  created_at_millis: number;
407
+ subject: string;
406
408
  updated_at_millis: number;
407
409
  tsx_source: string;
408
410
  theme_id: string | null;
@@ -410,12 +412,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
410
412
  user_id: string;
411
413
  type: "user-primary-email";
412
414
  } | {
415
+ emails: string[];
413
416
  user_id: string;
414
417
  type: "user-custom-emails";
415
- emails: string[];
416
418
  } | {
417
- type: "custom-emails";
418
419
  emails: string[];
420
+ type: "custom-emails";
419
421
  };
420
422
  variables: Record<string, {} | null>;
421
423
  skip_deliverability_check: boolean;
@@ -439,18 +441,18 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
439
441
  has_delivered: boolean;
440
442
  started_rendering_at_millis: number;
441
443
  rendered_at_millis: number;
442
- subject: string;
443
444
  is_transactional: boolean;
444
445
  is_high_priority: boolean;
445
- notification_category_id: string | null;
446
446
  started_sending_at_millis: number;
447
447
  bounced_at_millis: number;
448
448
  } | {
449
- status: "delivery-delayed";
450
- id: string;
451
449
  html: string | null;
452
450
  text: string | null;
451
+ status: "delivery-delayed";
452
+ id: string;
453
+ notification_category_id: string | null;
453
454
  created_at_millis: number;
455
+ subject: string;
454
456
  updated_at_millis: number;
455
457
  tsx_source: string;
456
458
  theme_id: string | null;
@@ -458,12 +460,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
458
460
  user_id: string;
459
461
  type: "user-primary-email";
460
462
  } | {
463
+ emails: string[];
461
464
  user_id: string;
462
465
  type: "user-custom-emails";
463
- emails: string[];
464
466
  } | {
465
- type: "custom-emails";
466
467
  emails: string[];
468
+ type: "custom-emails";
467
469
  };
468
470
  variables: Record<string, {} | null>;
469
471
  skip_deliverability_check: boolean;
@@ -487,18 +489,18 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
487
489
  has_delivered: boolean;
488
490
  started_rendering_at_millis: number;
489
491
  rendered_at_millis: number;
490
- subject: string;
491
492
  is_transactional: boolean;
492
493
  is_high_priority: boolean;
493
- notification_category_id: string | null;
494
494
  started_sending_at_millis: number;
495
495
  delivery_delayed_at_millis: number;
496
496
  } | {
497
- status: "sent";
498
- id: string;
499
497
  html: string | null;
500
498
  text: string | null;
499
+ status: "sent";
500
+ id: string;
501
+ notification_category_id: string | null;
501
502
  created_at_millis: number;
503
+ subject: string;
502
504
  updated_at_millis: number;
503
505
  tsx_source: string;
504
506
  theme_id: string | null;
@@ -506,12 +508,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
506
508
  user_id: string;
507
509
  type: "user-primary-email";
508
510
  } | {
511
+ emails: string[];
509
512
  user_id: string;
510
513
  type: "user-custom-emails";
511
- emails: string[];
512
514
  } | {
513
- type: "custom-emails";
514
515
  emails: string[];
516
+ type: "custom-emails";
515
517
  };
516
518
  variables: Record<string, {} | null>;
517
519
  skip_deliverability_check: boolean;
@@ -535,19 +537,19 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
535
537
  has_delivered: boolean;
536
538
  started_rendering_at_millis: number;
537
539
  rendered_at_millis: number;
538
- subject: string;
539
540
  is_transactional: boolean;
540
541
  is_high_priority: boolean;
541
- notification_category_id: string | null;
542
542
  started_sending_at_millis: number;
543
543
  delivered_at_millis: number;
544
544
  can_have_delivery_info: boolean;
545
545
  } | {
546
- status: "opened";
547
- id: string;
548
546
  html: string | null;
549
547
  text: string | null;
548
+ status: "opened";
549
+ id: string;
550
+ notification_category_id: string | null;
550
551
  created_at_millis: number;
552
+ subject: string;
551
553
  updated_at_millis: number;
552
554
  tsx_source: string;
553
555
  theme_id: string | null;
@@ -555,12 +557,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
555
557
  user_id: string;
556
558
  type: "user-primary-email";
557
559
  } | {
560
+ emails: string[];
558
561
  user_id: string;
559
562
  type: "user-custom-emails";
560
- emails: string[];
561
563
  } | {
562
- type: "custom-emails";
563
564
  emails: string[];
565
+ type: "custom-emails";
564
566
  };
565
567
  variables: Record<string, {} | null>;
566
568
  skip_deliverability_check: boolean;
@@ -584,20 +586,20 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
584
586
  has_delivered: boolean;
585
587
  started_rendering_at_millis: number;
586
588
  rendered_at_millis: number;
587
- subject: string;
588
589
  is_transactional: boolean;
589
590
  is_high_priority: boolean;
590
- notification_category_id: string | null;
591
591
  started_sending_at_millis: number;
592
592
  delivered_at_millis: number;
593
593
  can_have_delivery_info: boolean;
594
594
  opened_at_millis: number;
595
595
  } | {
596
- status: "clicked";
597
- id: string;
598
596
  html: string | null;
599
597
  text: string | null;
598
+ status: "clicked";
599
+ id: string;
600
+ notification_category_id: string | null;
600
601
  created_at_millis: number;
602
+ subject: string;
601
603
  updated_at_millis: number;
602
604
  tsx_source: string;
603
605
  theme_id: string | null;
@@ -605,12 +607,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
605
607
  user_id: string;
606
608
  type: "user-primary-email";
607
609
  } | {
610
+ emails: string[];
608
611
  user_id: string;
609
612
  type: "user-custom-emails";
610
- emails: string[];
611
613
  } | {
612
- type: "custom-emails";
613
614
  emails: string[];
615
+ type: "custom-emails";
614
616
  };
615
617
  variables: Record<string, {} | null>;
616
618
  skip_deliverability_check: boolean;
@@ -634,20 +636,20 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
634
636
  has_delivered: boolean;
635
637
  started_rendering_at_millis: number;
636
638
  rendered_at_millis: number;
637
- subject: string;
638
639
  is_transactional: boolean;
639
640
  is_high_priority: boolean;
640
- notification_category_id: string | null;
641
641
  started_sending_at_millis: number;
642
642
  delivered_at_millis: number;
643
643
  can_have_delivery_info: boolean;
644
644
  clicked_at_millis: number;
645
645
  } | {
646
- status: "marked-as-spam";
647
- id: string;
648
646
  html: string | null;
649
647
  text: string | null;
648
+ status: "marked-as-spam";
649
+ id: string;
650
+ notification_category_id: string | null;
650
651
  created_at_millis: number;
652
+ subject: string;
651
653
  updated_at_millis: number;
652
654
  tsx_source: string;
653
655
  theme_id: string | null;
@@ -655,12 +657,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
655
657
  user_id: string;
656
658
  type: "user-primary-email";
657
659
  } | {
660
+ emails: string[];
658
661
  user_id: string;
659
662
  type: "user-custom-emails";
660
- emails: string[];
661
663
  } | {
662
- type: "custom-emails";
663
664
  emails: string[];
665
+ type: "custom-emails";
664
666
  };
665
667
  variables: Record<string, {} | null>;
666
668
  skip_deliverability_check: boolean;
@@ -684,10 +686,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
684
686
  has_delivered: boolean;
685
687
  started_rendering_at_millis: number;
686
688
  rendered_at_millis: number;
687
- subject: string;
688
689
  is_transactional: boolean;
689
690
  is_high_priority: boolean;
690
- notification_category_id: string | null;
691
691
  started_sending_at_millis: number;
692
692
  delivered_at_millis: number;
693
693
  can_have_delivery_info: boolean;
@@ -700,12 +700,12 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
700
700
  user_id: string;
701
701
  type: "user-primary-email";
702
702
  } | {
703
+ emails: string[];
703
704
  user_id: string;
704
705
  type: "user-custom-emails";
705
- emails: string[];
706
706
  } | {
707
- type: "custom-emails";
708
707
  emails: string[];
708
+ type: "custom-emails";
709
709
  } | undefined;
710
710
  variables: Record<string, {} | null> | undefined;
711
711
  skip_deliverability_check: boolean | undefined;
@@ -734,12 +734,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
734
734
  user_id: string;
735
735
  type: "user-primary-email";
736
736
  } | {
737
+ emails: string[];
737
738
  user_id: string;
738
739
  type: "user-custom-emails";
739
- emails: string[];
740
740
  } | {
741
- type: "custom-emails";
742
741
  emails: string[];
742
+ type: "custom-emails";
743
743
  };
744
744
  variables: Record<string, {} | null>;
745
745
  skip_deliverability_check: boolean;
@@ -772,12 +772,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
772
772
  user_id: string;
773
773
  type: "user-primary-email";
774
774
  } | {
775
+ emails: string[];
775
776
  user_id: string;
776
777
  type: "user-custom-emails";
777
- emails: string[];
778
778
  } | {
779
- type: "custom-emails";
780
779
  emails: string[];
780
+ type: "custom-emails";
781
781
  };
782
782
  variables: Record<string, {} | null>;
783
783
  skip_deliverability_check: boolean;
@@ -810,12 +810,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
810
810
  user_id: string;
811
811
  type: "user-primary-email";
812
812
  } | {
813
+ emails: string[];
813
814
  user_id: string;
814
815
  type: "user-custom-emails";
815
- emails: string[];
816
816
  } | {
817
- type: "custom-emails";
818
817
  emails: string[];
818
+ type: "custom-emails";
819
819
  };
820
820
  variables: Record<string, {} | null>;
821
821
  skip_deliverability_check: boolean;
@@ -849,12 +849,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
849
849
  user_id: string;
850
850
  type: "user-primary-email";
851
851
  } | {
852
+ emails: string[];
852
853
  user_id: string;
853
854
  type: "user-custom-emails";
854
- emails: string[];
855
855
  } | {
856
- type: "custom-emails";
857
856
  emails: string[];
857
+ type: "custom-emails";
858
858
  };
859
859
  variables: Record<string, {} | null>;
860
860
  skip_deliverability_check: boolean;
@@ -880,11 +880,13 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
880
880
  rendered_at_millis: number;
881
881
  render_error: string;
882
882
  } | {
883
- status: "scheduled";
884
- id: string;
885
883
  html: string | null;
886
884
  text: string | null;
885
+ status: "scheduled";
886
+ id: string;
887
+ notification_category_id: string | null;
887
888
  created_at_millis: number;
889
+ subject: string;
888
890
  updated_at_millis: number;
889
891
  tsx_source: string;
890
892
  theme_id: string | null;
@@ -892,12 +894,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
892
894
  user_id: string;
893
895
  type: "user-primary-email";
894
896
  } | {
897
+ emails: string[];
895
898
  user_id: string;
896
899
  type: "user-custom-emails";
897
- emails: string[];
898
900
  } | {
899
- type: "custom-emails";
900
901
  emails: string[];
902
+ type: "custom-emails";
901
903
  };
902
904
  variables: Record<string, {} | null>;
903
905
  skip_deliverability_check: boolean;
@@ -921,16 +923,16 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
921
923
  has_delivered: boolean;
922
924
  started_rendering_at_millis: number;
923
925
  rendered_at_millis: number;
924
- subject: string;
925
926
  is_transactional: boolean;
926
927
  is_high_priority: boolean;
927
- notification_category_id: string | null;
928
928
  } | {
929
- status: "queued";
930
- id: string;
931
929
  html: string | null;
932
930
  text: string | null;
931
+ status: "queued";
932
+ id: string;
933
+ notification_category_id: string | null;
933
934
  created_at_millis: number;
935
+ subject: string;
934
936
  updated_at_millis: number;
935
937
  tsx_source: string;
936
938
  theme_id: string | null;
@@ -938,12 +940,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
938
940
  user_id: string;
939
941
  type: "user-primary-email";
940
942
  } | {
943
+ emails: string[];
941
944
  user_id: string;
942
945
  type: "user-custom-emails";
943
- emails: string[];
944
946
  } | {
945
- type: "custom-emails";
946
947
  emails: string[];
948
+ type: "custom-emails";
947
949
  };
948
950
  variables: Record<string, {} | null>;
949
951
  skip_deliverability_check: boolean;
@@ -967,16 +969,16 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
967
969
  has_delivered: boolean;
968
970
  started_rendering_at_millis: number;
969
971
  rendered_at_millis: number;
970
- subject: string;
971
972
  is_transactional: boolean;
972
973
  is_high_priority: boolean;
973
- notification_category_id: string | null;
974
974
  } | {
975
- status: "sending";
976
- id: string;
977
975
  html: string | null;
978
976
  text: string | null;
977
+ status: "sending";
978
+ id: string;
979
+ notification_category_id: string | null;
979
980
  created_at_millis: number;
981
+ subject: string;
980
982
  updated_at_millis: number;
981
983
  tsx_source: string;
982
984
  theme_id: string | null;
@@ -984,12 +986,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
984
986
  user_id: string;
985
987
  type: "user-primary-email";
986
988
  } | {
989
+ emails: string[];
987
990
  user_id: string;
988
991
  type: "user-custom-emails";
989
- emails: string[];
990
992
  } | {
991
- type: "custom-emails";
992
993
  emails: string[];
994
+ type: "custom-emails";
993
995
  };
994
996
  variables: Record<string, {} | null>;
995
997
  skip_deliverability_check: boolean;
@@ -1013,17 +1015,17 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1013
1015
  has_delivered: boolean;
1014
1016
  started_rendering_at_millis: number;
1015
1017
  rendered_at_millis: number;
1016
- subject: string;
1017
1018
  is_transactional: boolean;
1018
1019
  is_high_priority: boolean;
1019
- notification_category_id: string | null;
1020
1020
  started_sending_at_millis: number;
1021
1021
  } | {
1022
- status: "server-error";
1023
- id: string;
1024
1022
  html: string | null;
1025
1023
  text: string | null;
1024
+ status: "server-error";
1025
+ id: string;
1026
+ notification_category_id: string | null;
1026
1027
  created_at_millis: number;
1028
+ subject: string;
1027
1029
  updated_at_millis: number;
1028
1030
  tsx_source: string;
1029
1031
  theme_id: string | null;
@@ -1031,12 +1033,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1031
1033
  user_id: string;
1032
1034
  type: "user-primary-email";
1033
1035
  } | {
1036
+ emails: string[];
1034
1037
  user_id: string;
1035
1038
  type: "user-custom-emails";
1036
- emails: string[];
1037
1039
  } | {
1038
- type: "custom-emails";
1039
1040
  emails: string[];
1041
+ type: "custom-emails";
1040
1042
  };
1041
1043
  variables: Record<string, {} | null>;
1042
1044
  skip_deliverability_check: boolean;
@@ -1060,22 +1062,20 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1060
1062
  has_delivered: boolean;
1061
1063
  started_rendering_at_millis: number;
1062
1064
  rendered_at_millis: number;
1063
- subject: string;
1064
1065
  is_transactional: boolean;
1065
1066
  is_high_priority: boolean;
1066
- notification_category_id: string | null;
1067
1067
  started_sending_at_millis: number;
1068
1068
  error_at_millis: number;
1069
1069
  server_error: string;
1070
1070
  } | {
1071
1071
  html?: string | null | undefined;
1072
1072
  text?: string | null | undefined;
1073
+ notification_category_id?: string | null | undefined;
1074
+ subject?: string | undefined;
1073
1075
  started_rendering_at_millis?: number | undefined;
1074
1076
  rendered_at_millis?: number | undefined;
1075
- subject?: string | undefined;
1076
1077
  is_transactional?: boolean | undefined;
1077
1078
  is_high_priority?: boolean | undefined;
1078
- notification_category_id?: string | null | undefined;
1079
1079
  started_sending_at_millis?: number | undefined;
1080
1080
  status: "skipped";
1081
1081
  id: string;
@@ -1087,12 +1087,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1087
1087
  user_id: string;
1088
1088
  type: "user-primary-email";
1089
1089
  } | {
1090
+ emails: string[];
1090
1091
  user_id: string;
1091
1092
  type: "user-custom-emails";
1092
- emails: string[];
1093
1093
  } | {
1094
- type: "custom-emails";
1095
1094
  emails: string[];
1095
+ type: "custom-emails";
1096
1096
  };
1097
1097
  variables: Record<string, {} | null>;
1098
1098
  skip_deliverability_check: boolean;
@@ -1118,11 +1118,13 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1118
1118
  skipped_reason: string;
1119
1119
  skipped_details: Record<string, {} | null>;
1120
1120
  } | {
1121
- status: "bounced";
1122
- id: string;
1123
1121
  html: string | null;
1124
1122
  text: string | null;
1123
+ status: "bounced";
1124
+ id: string;
1125
+ notification_category_id: string | null;
1125
1126
  created_at_millis: number;
1127
+ subject: string;
1126
1128
  updated_at_millis: number;
1127
1129
  tsx_source: string;
1128
1130
  theme_id: string | null;
@@ -1130,12 +1132,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1130
1132
  user_id: string;
1131
1133
  type: "user-primary-email";
1132
1134
  } | {
1135
+ emails: string[];
1133
1136
  user_id: string;
1134
1137
  type: "user-custom-emails";
1135
- emails: string[];
1136
1138
  } | {
1137
- type: "custom-emails";
1138
1139
  emails: string[];
1140
+ type: "custom-emails";
1139
1141
  };
1140
1142
  variables: Record<string, {} | null>;
1141
1143
  skip_deliverability_check: boolean;
@@ -1159,18 +1161,18 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1159
1161
  has_delivered: boolean;
1160
1162
  started_rendering_at_millis: number;
1161
1163
  rendered_at_millis: number;
1162
- subject: string;
1163
1164
  is_transactional: boolean;
1164
1165
  is_high_priority: boolean;
1165
- notification_category_id: string | null;
1166
1166
  started_sending_at_millis: number;
1167
1167
  bounced_at_millis: number;
1168
1168
  } | {
1169
- status: "delivery-delayed";
1170
- id: string;
1171
1169
  html: string | null;
1172
1170
  text: string | null;
1171
+ status: "delivery-delayed";
1172
+ id: string;
1173
+ notification_category_id: string | null;
1173
1174
  created_at_millis: number;
1175
+ subject: string;
1174
1176
  updated_at_millis: number;
1175
1177
  tsx_source: string;
1176
1178
  theme_id: string | null;
@@ -1178,12 +1180,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1178
1180
  user_id: string;
1179
1181
  type: "user-primary-email";
1180
1182
  } | {
1183
+ emails: string[];
1181
1184
  user_id: string;
1182
1185
  type: "user-custom-emails";
1183
- emails: string[];
1184
1186
  } | {
1185
- type: "custom-emails";
1186
1187
  emails: string[];
1188
+ type: "custom-emails";
1187
1189
  };
1188
1190
  variables: Record<string, {} | null>;
1189
1191
  skip_deliverability_check: boolean;
@@ -1207,18 +1209,18 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1207
1209
  has_delivered: boolean;
1208
1210
  started_rendering_at_millis: number;
1209
1211
  rendered_at_millis: number;
1210
- subject: string;
1211
1212
  is_transactional: boolean;
1212
1213
  is_high_priority: boolean;
1213
- notification_category_id: string | null;
1214
1214
  started_sending_at_millis: number;
1215
1215
  delivery_delayed_at_millis: number;
1216
1216
  } | {
1217
- status: "sent";
1218
- id: string;
1219
1217
  html: string | null;
1220
1218
  text: string | null;
1219
+ status: "sent";
1220
+ id: string;
1221
+ notification_category_id: string | null;
1221
1222
  created_at_millis: number;
1223
+ subject: string;
1222
1224
  updated_at_millis: number;
1223
1225
  tsx_source: string;
1224
1226
  theme_id: string | null;
@@ -1226,12 +1228,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1226
1228
  user_id: string;
1227
1229
  type: "user-primary-email";
1228
1230
  } | {
1231
+ emails: string[];
1229
1232
  user_id: string;
1230
1233
  type: "user-custom-emails";
1231
- emails: string[];
1232
1234
  } | {
1233
- type: "custom-emails";
1234
1235
  emails: string[];
1236
+ type: "custom-emails";
1235
1237
  };
1236
1238
  variables: Record<string, {} | null>;
1237
1239
  skip_deliverability_check: boolean;
@@ -1255,19 +1257,19 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1255
1257
  has_delivered: boolean;
1256
1258
  started_rendering_at_millis: number;
1257
1259
  rendered_at_millis: number;
1258
- subject: string;
1259
1260
  is_transactional: boolean;
1260
1261
  is_high_priority: boolean;
1261
- notification_category_id: string | null;
1262
1262
  started_sending_at_millis: number;
1263
1263
  delivered_at_millis: number;
1264
1264
  can_have_delivery_info: boolean;
1265
1265
  } | {
1266
- status: "opened";
1267
- id: string;
1268
1266
  html: string | null;
1269
1267
  text: string | null;
1268
+ status: "opened";
1269
+ id: string;
1270
+ notification_category_id: string | null;
1270
1271
  created_at_millis: number;
1272
+ subject: string;
1271
1273
  updated_at_millis: number;
1272
1274
  tsx_source: string;
1273
1275
  theme_id: string | null;
@@ -1275,12 +1277,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1275
1277
  user_id: string;
1276
1278
  type: "user-primary-email";
1277
1279
  } | {
1280
+ emails: string[];
1278
1281
  user_id: string;
1279
1282
  type: "user-custom-emails";
1280
- emails: string[];
1281
1283
  } | {
1282
- type: "custom-emails";
1283
1284
  emails: string[];
1285
+ type: "custom-emails";
1284
1286
  };
1285
1287
  variables: Record<string, {} | null>;
1286
1288
  skip_deliverability_check: boolean;
@@ -1304,20 +1306,20 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1304
1306
  has_delivered: boolean;
1305
1307
  started_rendering_at_millis: number;
1306
1308
  rendered_at_millis: number;
1307
- subject: string;
1308
1309
  is_transactional: boolean;
1309
1310
  is_high_priority: boolean;
1310
- notification_category_id: string | null;
1311
1311
  started_sending_at_millis: number;
1312
1312
  delivered_at_millis: number;
1313
1313
  can_have_delivery_info: boolean;
1314
1314
  opened_at_millis: number;
1315
1315
  } | {
1316
- status: "clicked";
1317
- id: string;
1318
1316
  html: string | null;
1319
1317
  text: string | null;
1318
+ status: "clicked";
1319
+ id: string;
1320
+ notification_category_id: string | null;
1320
1321
  created_at_millis: number;
1322
+ subject: string;
1321
1323
  updated_at_millis: number;
1322
1324
  tsx_source: string;
1323
1325
  theme_id: string | null;
@@ -1325,12 +1327,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1325
1327
  user_id: string;
1326
1328
  type: "user-primary-email";
1327
1329
  } | {
1330
+ emails: string[];
1328
1331
  user_id: string;
1329
1332
  type: "user-custom-emails";
1330
- emails: string[];
1331
1333
  } | {
1332
- type: "custom-emails";
1333
1334
  emails: string[];
1335
+ type: "custom-emails";
1334
1336
  };
1335
1337
  variables: Record<string, {} | null>;
1336
1338
  skip_deliverability_check: boolean;
@@ -1354,20 +1356,20 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1354
1356
  has_delivered: boolean;
1355
1357
  started_rendering_at_millis: number;
1356
1358
  rendered_at_millis: number;
1357
- subject: string;
1358
1359
  is_transactional: boolean;
1359
1360
  is_high_priority: boolean;
1360
- notification_category_id: string | null;
1361
1361
  started_sending_at_millis: number;
1362
1362
  delivered_at_millis: number;
1363
1363
  can_have_delivery_info: boolean;
1364
1364
  clicked_at_millis: number;
1365
1365
  } | {
1366
- status: "marked-as-spam";
1367
- id: string;
1368
1366
  html: string | null;
1369
1367
  text: string | null;
1368
+ status: "marked-as-spam";
1369
+ id: string;
1370
+ notification_category_id: string | null;
1370
1371
  created_at_millis: number;
1372
+ subject: string;
1371
1373
  updated_at_millis: number;
1372
1374
  tsx_source: string;
1373
1375
  theme_id: string | null;
@@ -1375,12 +1377,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1375
1377
  user_id: string;
1376
1378
  type: "user-primary-email";
1377
1379
  } | {
1380
+ emails: string[];
1378
1381
  user_id: string;
1379
1382
  type: "user-custom-emails";
1380
- emails: string[];
1381
1383
  } | {
1382
- type: "custom-emails";
1383
1384
  emails: string[];
1385
+ type: "custom-emails";
1384
1386
  };
1385
1387
  variables: Record<string, {} | null>;
1386
1388
  skip_deliverability_check: boolean;
@@ -1404,10 +1406,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1404
1406
  has_delivered: boolean;
1405
1407
  started_rendering_at_millis: number;
1406
1408
  rendered_at_millis: number;
1407
- subject: string;
1408
1409
  is_transactional: boolean;
1409
1410
  is_high_priority: boolean;
1410
- notification_category_id: string | null;
1411
1411
  started_sending_at_millis: number;
1412
1412
  delivered_at_millis: number;
1413
1413
  can_have_delivery_info: boolean;
@@ -1420,12 +1420,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1420
1420
  user_id: string;
1421
1421
  type: "user-primary-email";
1422
1422
  } | {
1423
+ emails: string[];
1423
1424
  user_id: string;
1424
1425
  type: "user-custom-emails";
1425
- emails: string[];
1426
1426
  } | {
1427
- type: "custom-emails";
1428
1427
  emails: string[];
1428
+ type: "custom-emails";
1429
1429
  } | undefined;
1430
1430
  variables: Record<string, {} | null> | undefined;
1431
1431
  skip_deliverability_check: boolean | undefined;