@hexclave/shared 1.0.5 → 1.0.6

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 (38) hide show
  1. package/dist/config/schema.d.ts +70 -70
  2. package/dist/esm/config/schema.d.ts +70 -70
  3. package/dist/esm/hooks/use-async-callback.js +1 -1
  4. package/dist/esm/hooks/use-async-external-store.js +1 -1
  5. package/dist/esm/hooks/use-strict-memo.js +1 -1
  6. package/dist/esm/interface/admin-metrics.d.ts +6 -6
  7. package/dist/esm/interface/conversations.d.ts +29 -29
  8. package/dist/esm/interface/crud/current-user.d.ts +3 -3
  9. package/dist/esm/interface/crud/email-outbox.d.ts +154 -154
  10. package/dist/esm/interface/crud/products.d.ts +1 -1
  11. package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
  12. package/dist/esm/interface/crud/projects.d.ts +28 -28
  13. package/dist/esm/interface/crud/team-member-profiles.d.ts +4 -4
  14. package/dist/esm/interface/crud/users.d.ts +4 -4
  15. package/dist/esm/interface/webhooks.d.ts +2 -2
  16. package/dist/esm/known-errors.d.ts +1 -1
  17. package/dist/esm/known-errors.d.ts.map +1 -1
  18. package/dist/esm/known-errors.js +5 -1
  19. package/dist/esm/known-errors.js.map +1 -1
  20. package/dist/hooks/use-async-callback.js +1 -1
  21. package/dist/hooks/use-async-external-store.js +1 -1
  22. package/dist/hooks/use-strict-memo.js +1 -1
  23. package/dist/interface/admin-metrics.d.ts +8 -8
  24. package/dist/interface/conversations.d.ts +29 -29
  25. package/dist/interface/crud/current-user.d.ts +3 -3
  26. package/dist/interface/crud/email-outbox.d.ts +154 -154
  27. package/dist/interface/crud/products.d.ts +1 -1
  28. package/dist/interface/crud/project-api-keys.d.ts +2 -2
  29. package/dist/interface/crud/projects.d.ts +28 -28
  30. package/dist/interface/crud/team-member-profiles.d.ts +4 -4
  31. package/dist/interface/crud/users.d.ts +4 -4
  32. package/dist/interface/webhooks.d.ts +2 -2
  33. package/dist/known-errors.d.ts +1 -1
  34. package/dist/known-errors.d.ts.map +1 -1
  35. package/dist/known-errors.js +5 -1
  36. package/dist/known-errors.js.map +1 -1
  37. package/package.json +1 -1
  38. package/src/known-errors.tsx +5 -2
@@ -7,9 +7,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
7
7
  status: "paused";
8
8
  id: string;
9
9
  created_at_millis: number;
10
- updated_at_millis: number;
11
- tsx_source: string;
12
- theme_id: string | null;
13
10
  to: {
14
11
  user_id: string;
15
12
  type: "user-primary-email";
@@ -21,6 +18,9 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
21
18
  type: "custom-emails";
22
19
  emails: string[];
23
20
  };
21
+ updated_at_millis: number;
22
+ tsx_source: string;
23
+ theme_id: string | null;
24
24
  variables: Record<string, {} | null>;
25
25
  skip_deliverability_check: boolean;
26
26
  scheduled_at_millis: number;
@@ -45,9 +45,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
45
45
  status: "preparing";
46
46
  id: string;
47
47
  created_at_millis: number;
48
- updated_at_millis: number;
49
- tsx_source: string;
50
- theme_id: string | null;
51
48
  to: {
52
49
  user_id: string;
53
50
  type: "user-primary-email";
@@ -59,6 +56,9 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
59
56
  type: "custom-emails";
60
57
  emails: string[];
61
58
  };
59
+ updated_at_millis: number;
60
+ tsx_source: string;
61
+ theme_id: string | null;
62
62
  variables: Record<string, {} | null>;
63
63
  skip_deliverability_check: boolean;
64
64
  scheduled_at_millis: number;
@@ -83,9 +83,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
83
83
  status: "rendering";
84
84
  id: string;
85
85
  created_at_millis: number;
86
- updated_at_millis: number;
87
- tsx_source: string;
88
- theme_id: string | null;
89
86
  to: {
90
87
  user_id: string;
91
88
  type: "user-primary-email";
@@ -97,6 +94,9 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
97
94
  type: "custom-emails";
98
95
  emails: string[];
99
96
  };
97
+ updated_at_millis: number;
98
+ tsx_source: string;
99
+ theme_id: string | null;
100
100
  variables: Record<string, {} | null>;
101
101
  skip_deliverability_check: boolean;
102
102
  scheduled_at_millis: number;
@@ -122,9 +122,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
122
122
  status: "render-error";
123
123
  id: string;
124
124
  created_at_millis: number;
125
- updated_at_millis: number;
126
- tsx_source: string;
127
- theme_id: string | null;
128
125
  to: {
129
126
  user_id: string;
130
127
  type: "user-primary-email";
@@ -136,6 +133,9 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
136
133
  type: "custom-emails";
137
134
  emails: string[];
138
135
  };
136
+ updated_at_millis: number;
137
+ tsx_source: string;
138
+ theme_id: string | null;
139
139
  variables: Record<string, {} | null>;
140
140
  skip_deliverability_check: boolean;
141
141
  scheduled_at_millis: number;
@@ -161,14 +161,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
161
161
  render_error: string;
162
162
  } | {
163
163
  status: "scheduled";
164
+ html: string | null;
165
+ text: string | null;
164
166
  id: string;
165
167
  subject: string;
166
168
  created_at_millis: number;
167
- html: string | null;
168
- text: string | null;
169
- updated_at_millis: number;
170
- tsx_source: string;
171
- theme_id: string | null;
172
169
  to: {
173
170
  user_id: string;
174
171
  type: "user-primary-email";
@@ -180,6 +177,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
180
177
  type: "custom-emails";
181
178
  emails: string[];
182
179
  };
180
+ notification_category_id: string | null;
181
+ updated_at_millis: number;
182
+ tsx_source: string;
183
+ theme_id: string | null;
183
184
  variables: Record<string, {} | null>;
184
185
  skip_deliverability_check: boolean;
185
186
  scheduled_at_millis: number;
@@ -204,17 +205,13 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
204
205
  rendered_at_millis: number;
205
206
  is_transactional: boolean;
206
207
  is_high_priority: boolean;
207
- notification_category_id: string | null;
208
208
  } | {
209
209
  status: "queued";
210
+ html: string | null;
211
+ text: string | null;
210
212
  id: string;
211
213
  subject: string;
212
214
  created_at_millis: number;
213
- html: string | null;
214
- text: string | null;
215
- updated_at_millis: number;
216
- tsx_source: string;
217
- theme_id: string | null;
218
215
  to: {
219
216
  user_id: string;
220
217
  type: "user-primary-email";
@@ -226,6 +223,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
226
223
  type: "custom-emails";
227
224
  emails: string[];
228
225
  };
226
+ notification_category_id: string | null;
227
+ updated_at_millis: number;
228
+ tsx_source: string;
229
+ theme_id: string | null;
229
230
  variables: Record<string, {} | null>;
230
231
  skip_deliverability_check: boolean;
231
232
  scheduled_at_millis: number;
@@ -250,17 +251,13 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
250
251
  rendered_at_millis: number;
251
252
  is_transactional: boolean;
252
253
  is_high_priority: boolean;
253
- notification_category_id: string | null;
254
254
  } | {
255
255
  status: "sending";
256
+ html: string | null;
257
+ text: string | null;
256
258
  id: string;
257
259
  subject: string;
258
260
  created_at_millis: number;
259
- html: string | null;
260
- text: string | null;
261
- updated_at_millis: number;
262
- tsx_source: string;
263
- theme_id: string | null;
264
261
  to: {
265
262
  user_id: string;
266
263
  type: "user-primary-email";
@@ -272,6 +269,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
272
269
  type: "custom-emails";
273
270
  emails: string[];
274
271
  };
272
+ notification_category_id: string | null;
273
+ updated_at_millis: number;
274
+ tsx_source: string;
275
+ theme_id: string | null;
275
276
  variables: Record<string, {} | null>;
276
277
  skip_deliverability_check: boolean;
277
278
  scheduled_at_millis: number;
@@ -296,18 +297,14 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
296
297
  rendered_at_millis: number;
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
302
  status: "server-error";
303
+ html: string | null;
304
+ text: string | null;
303
305
  id: string;
304
306
  subject: string;
305
307
  created_at_millis: number;
306
- html: string | null;
307
- text: string | null;
308
- updated_at_millis: number;
309
- tsx_source: string;
310
- theme_id: string | null;
311
308
  to: {
312
309
  user_id: string;
313
310
  type: "user-primary-email";
@@ -319,6 +316,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
319
316
  type: "custom-emails";
320
317
  emails: string[];
321
318
  };
319
+ notification_category_id: string | null;
320
+ updated_at_millis: number;
321
+ tsx_source: string;
322
+ theme_id: string | null;
322
323
  variables: Record<string, {} | null>;
323
324
  skip_deliverability_check: boolean;
324
325
  scheduled_at_millis: number;
@@ -343,26 +344,22 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
343
344
  rendered_at_millis: number;
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
- subject?: string | undefined;
352
351
  html?: string | null | undefined;
353
352
  text?: string | null | undefined;
353
+ subject?: string | undefined;
354
+ notification_category_id?: string | null | undefined;
354
355
  started_rendering_at_millis?: number | undefined;
355
356
  rendered_at_millis?: number | 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;
362
362
  created_at_millis: number;
363
- updated_at_millis: number;
364
- tsx_source: string;
365
- theme_id: string | null;
366
363
  to: {
367
364
  user_id: string;
368
365
  type: "user-primary-email";
@@ -374,6 +371,9 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
374
371
  type: "custom-emails";
375
372
  emails: string[];
376
373
  };
374
+ updated_at_millis: number;
375
+ tsx_source: string;
376
+ theme_id: string | null;
377
377
  variables: Record<string, {} | null>;
378
378
  skip_deliverability_check: boolean;
379
379
  scheduled_at_millis: number;
@@ -399,14 +399,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
399
399
  skipped_details: Record<string, {} | null>;
400
400
  } | {
401
401
  status: "bounced";
402
+ html: string | null;
403
+ text: string | null;
402
404
  id: string;
403
405
  subject: string;
404
406
  created_at_millis: number;
405
- html: string | null;
406
- text: string | null;
407
- updated_at_millis: number;
408
- tsx_source: string;
409
- theme_id: string | null;
410
407
  to: {
411
408
  user_id: string;
412
409
  type: "user-primary-email";
@@ -418,6 +415,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
418
415
  type: "custom-emails";
419
416
  emails: string[];
420
417
  };
418
+ notification_category_id: string | null;
419
+ updated_at_millis: number;
420
+ tsx_source: string;
421
+ theme_id: string | null;
421
422
  variables: Record<string, {} | null>;
422
423
  skip_deliverability_check: boolean;
423
424
  scheduled_at_millis: number;
@@ -442,19 +443,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
442
443
  rendered_at_millis: number;
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
449
  status: "delivery-delayed";
450
+ html: string | null;
451
+ text: string | null;
450
452
  id: string;
451
453
  subject: string;
452
454
  created_at_millis: number;
453
- html: string | null;
454
- text: string | null;
455
- updated_at_millis: number;
456
- tsx_source: string;
457
- theme_id: string | null;
458
455
  to: {
459
456
  user_id: string;
460
457
  type: "user-primary-email";
@@ -466,6 +463,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
466
463
  type: "custom-emails";
467
464
  emails: string[];
468
465
  };
466
+ notification_category_id: string | null;
467
+ updated_at_millis: number;
468
+ tsx_source: string;
469
+ theme_id: string | null;
469
470
  variables: Record<string, {} | null>;
470
471
  skip_deliverability_check: boolean;
471
472
  scheduled_at_millis: number;
@@ -490,19 +491,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
490
491
  rendered_at_millis: number;
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
497
  status: "sent";
498
+ html: string | null;
499
+ text: string | null;
498
500
  id: string;
499
501
  subject: string;
500
502
  created_at_millis: number;
501
- html: string | null;
502
- text: string | null;
503
- updated_at_millis: number;
504
- tsx_source: string;
505
- theme_id: string | null;
506
503
  to: {
507
504
  user_id: string;
508
505
  type: "user-primary-email";
@@ -514,6 +511,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
514
511
  type: "custom-emails";
515
512
  emails: string[];
516
513
  };
514
+ notification_category_id: string | null;
515
+ updated_at_millis: number;
516
+ tsx_source: string;
517
+ theme_id: string | null;
517
518
  variables: Record<string, {} | null>;
518
519
  skip_deliverability_check: boolean;
519
520
  scheduled_at_millis: number;
@@ -538,20 +539,16 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
538
539
  rendered_at_millis: number;
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
546
  status: "opened";
547
+ html: string | null;
548
+ text: string | null;
547
549
  id: string;
548
550
  subject: string;
549
551
  created_at_millis: number;
550
- html: string | null;
551
- text: string | null;
552
- updated_at_millis: number;
553
- tsx_source: string;
554
- theme_id: string | null;
555
552
  to: {
556
553
  user_id: string;
557
554
  type: "user-primary-email";
@@ -563,6 +560,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
563
560
  type: "custom-emails";
564
561
  emails: string[];
565
562
  };
563
+ notification_category_id: string | null;
564
+ updated_at_millis: number;
565
+ tsx_source: string;
566
+ theme_id: string | null;
566
567
  variables: Record<string, {} | null>;
567
568
  skip_deliverability_check: boolean;
568
569
  scheduled_at_millis: number;
@@ -587,21 +588,17 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
587
588
  rendered_at_millis: number;
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
596
  status: "clicked";
597
+ html: string | null;
598
+ text: string | null;
597
599
  id: string;
598
600
  subject: string;
599
601
  created_at_millis: number;
600
- html: string | null;
601
- text: string | null;
602
- updated_at_millis: number;
603
- tsx_source: string;
604
- theme_id: string | null;
605
602
  to: {
606
603
  user_id: string;
607
604
  type: "user-primary-email";
@@ -613,6 +610,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
613
610
  type: "custom-emails";
614
611
  emails: string[];
615
612
  };
613
+ notification_category_id: string | null;
614
+ updated_at_millis: number;
615
+ tsx_source: string;
616
+ theme_id: string | null;
616
617
  variables: Record<string, {} | null>;
617
618
  skip_deliverability_check: boolean;
618
619
  scheduled_at_millis: number;
@@ -637,21 +638,17 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
637
638
  rendered_at_millis: number;
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
646
  status: "marked-as-spam";
647
+ html: string | null;
648
+ text: string | null;
647
649
  id: string;
648
650
  subject: string;
649
651
  created_at_millis: number;
650
- html: string | null;
651
- text: string | null;
652
- updated_at_millis: number;
653
- tsx_source: string;
654
- theme_id: string | null;
655
652
  to: {
656
653
  user_id: string;
657
654
  type: "user-primary-email";
@@ -663,6 +660,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
663
660
  type: "custom-emails";
664
661
  emails: string[];
665
662
  };
663
+ notification_category_id: string | null;
664
+ updated_at_millis: number;
665
+ tsx_source: string;
666
+ theme_id: string | null;
666
667
  variables: Record<string, {} | null>;
667
668
  skip_deliverability_check: boolean;
668
669
  scheduled_at_millis: number;
@@ -687,7 +688,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
687
688
  rendered_at_millis: number;
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;
@@ -727,9 +727,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
727
727
  status: "paused";
728
728
  id: string;
729
729
  created_at_millis: number;
730
- updated_at_millis: number;
731
- tsx_source: string;
732
- theme_id: string | null;
733
730
  to: {
734
731
  user_id: string;
735
732
  type: "user-primary-email";
@@ -741,6 +738,9 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
741
738
  type: "custom-emails";
742
739
  emails: string[];
743
740
  };
741
+ updated_at_millis: number;
742
+ tsx_source: string;
743
+ theme_id: string | null;
744
744
  variables: Record<string, {} | null>;
745
745
  skip_deliverability_check: boolean;
746
746
  scheduled_at_millis: number;
@@ -765,9 +765,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
765
765
  status: "preparing";
766
766
  id: string;
767
767
  created_at_millis: number;
768
- updated_at_millis: number;
769
- tsx_source: string;
770
- theme_id: string | null;
771
768
  to: {
772
769
  user_id: string;
773
770
  type: "user-primary-email";
@@ -779,6 +776,9 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
779
776
  type: "custom-emails";
780
777
  emails: string[];
781
778
  };
779
+ updated_at_millis: number;
780
+ tsx_source: string;
781
+ theme_id: string | null;
782
782
  variables: Record<string, {} | null>;
783
783
  skip_deliverability_check: boolean;
784
784
  scheduled_at_millis: number;
@@ -803,9 +803,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
803
803
  status: "rendering";
804
804
  id: string;
805
805
  created_at_millis: number;
806
- updated_at_millis: number;
807
- tsx_source: string;
808
- theme_id: string | null;
809
806
  to: {
810
807
  user_id: string;
811
808
  type: "user-primary-email";
@@ -817,6 +814,9 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
817
814
  type: "custom-emails";
818
815
  emails: string[];
819
816
  };
817
+ updated_at_millis: number;
818
+ tsx_source: string;
819
+ theme_id: string | null;
820
820
  variables: Record<string, {} | null>;
821
821
  skip_deliverability_check: boolean;
822
822
  scheduled_at_millis: number;
@@ -842,9 +842,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
842
842
  status: "render-error";
843
843
  id: string;
844
844
  created_at_millis: number;
845
- updated_at_millis: number;
846
- tsx_source: string;
847
- theme_id: string | null;
848
845
  to: {
849
846
  user_id: string;
850
847
  type: "user-primary-email";
@@ -856,6 +853,9 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
856
853
  type: "custom-emails";
857
854
  emails: string[];
858
855
  };
856
+ updated_at_millis: number;
857
+ tsx_source: string;
858
+ theme_id: string | null;
859
859
  variables: Record<string, {} | null>;
860
860
  skip_deliverability_check: boolean;
861
861
  scheduled_at_millis: number;
@@ -881,14 +881,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
881
881
  render_error: string;
882
882
  } | {
883
883
  status: "scheduled";
884
+ html: string | null;
885
+ text: string | null;
884
886
  id: string;
885
887
  subject: string;
886
888
  created_at_millis: number;
887
- html: string | null;
888
- text: string | null;
889
- updated_at_millis: number;
890
- tsx_source: string;
891
- theme_id: string | null;
892
889
  to: {
893
890
  user_id: string;
894
891
  type: "user-primary-email";
@@ -900,6 +897,10 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
900
897
  type: "custom-emails";
901
898
  emails: string[];
902
899
  };
900
+ notification_category_id: string | null;
901
+ updated_at_millis: number;
902
+ tsx_source: string;
903
+ theme_id: string | null;
903
904
  variables: Record<string, {} | null>;
904
905
  skip_deliverability_check: boolean;
905
906
  scheduled_at_millis: number;
@@ -924,17 +925,13 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
924
925
  rendered_at_millis: number;
925
926
  is_transactional: boolean;
926
927
  is_high_priority: boolean;
927
- notification_category_id: string | null;
928
928
  } | {
929
929
  status: "queued";
930
+ html: string | null;
931
+ text: string | null;
930
932
  id: string;
931
933
  subject: string;
932
934
  created_at_millis: number;
933
- html: string | null;
934
- text: string | null;
935
- updated_at_millis: number;
936
- tsx_source: string;
937
- theme_id: string | null;
938
935
  to: {
939
936
  user_id: string;
940
937
  type: "user-primary-email";
@@ -946,6 +943,10 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
946
943
  type: "custom-emails";
947
944
  emails: string[];
948
945
  };
946
+ notification_category_id: string | null;
947
+ updated_at_millis: number;
948
+ tsx_source: string;
949
+ theme_id: string | null;
949
950
  variables: Record<string, {} | null>;
950
951
  skip_deliverability_check: boolean;
951
952
  scheduled_at_millis: number;
@@ -970,17 +971,13 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
970
971
  rendered_at_millis: number;
971
972
  is_transactional: boolean;
972
973
  is_high_priority: boolean;
973
- notification_category_id: string | null;
974
974
  } | {
975
975
  status: "sending";
976
+ html: string | null;
977
+ text: string | null;
976
978
  id: string;
977
979
  subject: string;
978
980
  created_at_millis: number;
979
- html: string | null;
980
- text: string | null;
981
- updated_at_millis: number;
982
- tsx_source: string;
983
- theme_id: string | null;
984
981
  to: {
985
982
  user_id: string;
986
983
  type: "user-primary-email";
@@ -992,6 +989,10 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
992
989
  type: "custom-emails";
993
990
  emails: string[];
994
991
  };
992
+ notification_category_id: string | null;
993
+ updated_at_millis: number;
994
+ tsx_source: string;
995
+ theme_id: string | null;
995
996
  variables: Record<string, {} | null>;
996
997
  skip_deliverability_check: boolean;
997
998
  scheduled_at_millis: number;
@@ -1016,18 +1017,14 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1016
1017
  rendered_at_millis: number;
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
1022
  status: "server-error";
1023
+ html: string | null;
1024
+ text: string | null;
1023
1025
  id: string;
1024
1026
  subject: string;
1025
1027
  created_at_millis: number;
1026
- html: string | null;
1027
- text: string | null;
1028
- updated_at_millis: number;
1029
- tsx_source: string;
1030
- theme_id: string | null;
1031
1028
  to: {
1032
1029
  user_id: string;
1033
1030
  type: "user-primary-email";
@@ -1039,6 +1036,10 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1039
1036
  type: "custom-emails";
1040
1037
  emails: string[];
1041
1038
  };
1039
+ notification_category_id: string | null;
1040
+ updated_at_millis: number;
1041
+ tsx_source: string;
1042
+ theme_id: string | null;
1042
1043
  variables: Record<string, {} | null>;
1043
1044
  skip_deliverability_check: boolean;
1044
1045
  scheduled_at_millis: number;
@@ -1063,26 +1064,22 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1063
1064
  rendered_at_millis: number;
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
- subject?: string | undefined;
1072
1071
  html?: string | null | undefined;
1073
1072
  text?: string | null | undefined;
1073
+ subject?: string | undefined;
1074
+ notification_category_id?: string | null | undefined;
1074
1075
  started_rendering_at_millis?: number | undefined;
1075
1076
  rendered_at_millis?: number | 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;
1082
1082
  created_at_millis: number;
1083
- updated_at_millis: number;
1084
- tsx_source: string;
1085
- theme_id: string | null;
1086
1083
  to: {
1087
1084
  user_id: string;
1088
1085
  type: "user-primary-email";
@@ -1094,6 +1091,9 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1094
1091
  type: "custom-emails";
1095
1092
  emails: string[];
1096
1093
  };
1094
+ updated_at_millis: number;
1095
+ tsx_source: string;
1096
+ theme_id: string | null;
1097
1097
  variables: Record<string, {} | null>;
1098
1098
  skip_deliverability_check: boolean;
1099
1099
  scheduled_at_millis: number;
@@ -1119,14 +1119,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1119
1119
  skipped_details: Record<string, {} | null>;
1120
1120
  } | {
1121
1121
  status: "bounced";
1122
+ html: string | null;
1123
+ text: string | null;
1122
1124
  id: string;
1123
1125
  subject: string;
1124
1126
  created_at_millis: number;
1125
- html: string | null;
1126
- text: string | null;
1127
- updated_at_millis: number;
1128
- tsx_source: string;
1129
- theme_id: string | null;
1130
1127
  to: {
1131
1128
  user_id: string;
1132
1129
  type: "user-primary-email";
@@ -1138,6 +1135,10 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1138
1135
  type: "custom-emails";
1139
1136
  emails: string[];
1140
1137
  };
1138
+ notification_category_id: string | null;
1139
+ updated_at_millis: number;
1140
+ tsx_source: string;
1141
+ theme_id: string | null;
1141
1142
  variables: Record<string, {} | null>;
1142
1143
  skip_deliverability_check: boolean;
1143
1144
  scheduled_at_millis: number;
@@ -1162,19 +1163,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1162
1163
  rendered_at_millis: number;
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
1169
  status: "delivery-delayed";
1170
+ html: string | null;
1171
+ text: string | null;
1170
1172
  id: string;
1171
1173
  subject: string;
1172
1174
  created_at_millis: number;
1173
- html: string | null;
1174
- text: string | null;
1175
- updated_at_millis: number;
1176
- tsx_source: string;
1177
- theme_id: string | null;
1178
1175
  to: {
1179
1176
  user_id: string;
1180
1177
  type: "user-primary-email";
@@ -1186,6 +1183,10 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1186
1183
  type: "custom-emails";
1187
1184
  emails: string[];
1188
1185
  };
1186
+ notification_category_id: string | null;
1187
+ updated_at_millis: number;
1188
+ tsx_source: string;
1189
+ theme_id: string | null;
1189
1190
  variables: Record<string, {} | null>;
1190
1191
  skip_deliverability_check: boolean;
1191
1192
  scheduled_at_millis: number;
@@ -1210,19 +1211,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1210
1211
  rendered_at_millis: number;
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
1217
  status: "sent";
1218
+ html: string | null;
1219
+ text: string | null;
1218
1220
  id: string;
1219
1221
  subject: string;
1220
1222
  created_at_millis: number;
1221
- html: string | null;
1222
- text: string | null;
1223
- updated_at_millis: number;
1224
- tsx_source: string;
1225
- theme_id: string | null;
1226
1223
  to: {
1227
1224
  user_id: string;
1228
1225
  type: "user-primary-email";
@@ -1234,6 +1231,10 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1234
1231
  type: "custom-emails";
1235
1232
  emails: string[];
1236
1233
  };
1234
+ notification_category_id: string | null;
1235
+ updated_at_millis: number;
1236
+ tsx_source: string;
1237
+ theme_id: string | null;
1237
1238
  variables: Record<string, {} | null>;
1238
1239
  skip_deliverability_check: boolean;
1239
1240
  scheduled_at_millis: number;
@@ -1258,20 +1259,16 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1258
1259
  rendered_at_millis: number;
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
1266
  status: "opened";
1267
+ html: string | null;
1268
+ text: string | null;
1267
1269
  id: string;
1268
1270
  subject: string;
1269
1271
  created_at_millis: number;
1270
- html: string | null;
1271
- text: string | null;
1272
- updated_at_millis: number;
1273
- tsx_source: string;
1274
- theme_id: string | null;
1275
1272
  to: {
1276
1273
  user_id: string;
1277
1274
  type: "user-primary-email";
@@ -1283,6 +1280,10 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1283
1280
  type: "custom-emails";
1284
1281
  emails: string[];
1285
1282
  };
1283
+ notification_category_id: string | null;
1284
+ updated_at_millis: number;
1285
+ tsx_source: string;
1286
+ theme_id: string | null;
1286
1287
  variables: Record<string, {} | null>;
1287
1288
  skip_deliverability_check: boolean;
1288
1289
  scheduled_at_millis: number;
@@ -1307,21 +1308,17 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1307
1308
  rendered_at_millis: number;
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
1316
  status: "clicked";
1317
+ html: string | null;
1318
+ text: string | null;
1317
1319
  id: string;
1318
1320
  subject: string;
1319
1321
  created_at_millis: number;
1320
- html: string | null;
1321
- text: string | null;
1322
- updated_at_millis: number;
1323
- tsx_source: string;
1324
- theme_id: string | null;
1325
1322
  to: {
1326
1323
  user_id: string;
1327
1324
  type: "user-primary-email";
@@ -1333,6 +1330,10 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1333
1330
  type: "custom-emails";
1334
1331
  emails: string[];
1335
1332
  };
1333
+ notification_category_id: string | null;
1334
+ updated_at_millis: number;
1335
+ tsx_source: string;
1336
+ theme_id: string | null;
1336
1337
  variables: Record<string, {} | null>;
1337
1338
  skip_deliverability_check: boolean;
1338
1339
  scheduled_at_millis: number;
@@ -1357,21 +1358,17 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1357
1358
  rendered_at_millis: number;
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
1366
  status: "marked-as-spam";
1367
+ html: string | null;
1368
+ text: string | null;
1367
1369
  id: string;
1368
1370
  subject: string;
1369
1371
  created_at_millis: number;
1370
- html: string | null;
1371
- text: string | null;
1372
- updated_at_millis: number;
1373
- tsx_source: string;
1374
- theme_id: string | null;
1375
1372
  to: {
1376
1373
  user_id: string;
1377
1374
  type: "user-primary-email";
@@ -1383,6 +1380,10 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1383
1380
  type: "custom-emails";
1384
1381
  emails: string[];
1385
1382
  };
1383
+ notification_category_id: string | null;
1384
+ updated_at_millis: number;
1385
+ tsx_source: string;
1386
+ theme_id: string | null;
1386
1387
  variables: Record<string, {} | null>;
1387
1388
  skip_deliverability_check: boolean;
1388
1389
  scheduled_at_millis: number;
@@ -1407,7 +1408,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1407
1408
  rendered_at_millis: number;
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;