@hexclave/shared 1.0.19 → 1.0.21

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 (75) hide show
  1. package/dist/ai/unified-prompts/reminders.js +1 -1
  2. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  3. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +4 -5
  4. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  5. package/dist/config/schema-fuzzer.test.js +4 -1
  6. package/dist/config/schema-fuzzer.test.js.map +1 -1
  7. package/dist/config/schema.d.ts +190 -181
  8. package/dist/config/schema.d.ts.map +1 -1
  9. package/dist/config/schema.js +7 -3
  10. package/dist/config/schema.js.map +1 -1
  11. package/dist/esm/ai/unified-prompts/reminders.js +1 -1
  12. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  13. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +4 -5
  14. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  15. package/dist/esm/config/schema-fuzzer.test.js +4 -1
  16. package/dist/esm/config/schema-fuzzer.test.js.map +1 -1
  17. package/dist/esm/config/schema.d.ts +190 -181
  18. package/dist/esm/config/schema.d.ts.map +1 -1
  19. package/dist/esm/config/schema.js +8 -4
  20. package/dist/esm/config/schema.js.map +1 -1
  21. package/dist/esm/interface/admin-metrics.d.ts +10 -10
  22. package/dist/esm/interface/conversations.d.ts +9 -9
  23. package/dist/esm/interface/crud/current-user.d.ts +5 -5
  24. package/dist/esm/interface/crud/email-outbox.d.ts +116 -116
  25. package/dist/esm/interface/crud/products.d.ts +15 -15
  26. package/dist/esm/interface/crud/products.d.ts.map +1 -1
  27. package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
  28. package/dist/esm/interface/crud/team-member-profiles.d.ts +8 -8
  29. package/dist/esm/interface/crud/transactions.d.ts +21 -21
  30. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  31. package/dist/esm/interface/crud/users.d.ts +4 -4
  32. package/dist/esm/interface/page-component-versions.d.ts.map +1 -1
  33. package/dist/esm/interface/page-component-versions.js +20 -4
  34. package/dist/esm/interface/page-component-versions.js.map +1 -1
  35. package/dist/esm/known-errors.d.ts +5 -5
  36. package/dist/esm/schema-fields.d.ts +8 -6
  37. package/dist/esm/schema-fields.d.ts.map +1 -1
  38. package/dist/esm/schema-fields.js +9 -1
  39. package/dist/esm/schema-fields.js.map +1 -1
  40. package/dist/esm/sessions.d.ts +7 -7
  41. package/dist/esm/utils/oauth.d.ts +8 -1
  42. package/dist/esm/utils/oauth.d.ts.map +1 -1
  43. package/dist/esm/utils/oauth.js +7 -1
  44. package/dist/esm/utils/oauth.js.map +1 -1
  45. package/dist/interface/admin-metrics.d.ts +10 -10
  46. package/dist/interface/conversations.d.ts +9 -9
  47. package/dist/interface/crud/current-user.d.ts +5 -5
  48. package/dist/interface/crud/email-outbox.d.ts +116 -116
  49. package/dist/interface/crud/products.d.ts +15 -15
  50. package/dist/interface/crud/products.d.ts.map +1 -1
  51. package/dist/interface/crud/project-api-keys.d.ts +2 -2
  52. package/dist/interface/crud/team-member-profiles.d.ts +8 -8
  53. package/dist/interface/crud/transactions.d.ts +21 -21
  54. package/dist/interface/crud/transactions.d.ts.map +1 -1
  55. package/dist/interface/crud/users.d.ts +4 -4
  56. package/dist/interface/page-component-versions.d.ts.map +1 -1
  57. package/dist/interface/page-component-versions.js +20 -4
  58. package/dist/interface/page-component-versions.js.map +1 -1
  59. package/dist/known-errors.d.ts +5 -5
  60. package/dist/schema-fields.d.ts +8 -6
  61. package/dist/schema-fields.d.ts.map +1 -1
  62. package/dist/schema-fields.js +10 -0
  63. package/dist/schema-fields.js.map +1 -1
  64. package/dist/sessions.d.ts +7 -7
  65. package/dist/utils/oauth.d.ts +8 -1
  66. package/dist/utils/oauth.d.ts.map +1 -1
  67. package/dist/utils/oauth.js +7 -0
  68. package/dist/utils/oauth.js.map +1 -1
  69. package/package.json +1 -1
  70. package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +4 -5
  71. package/src/config/schema-fuzzer.test.ts +3 -0
  72. package/src/config/schema.ts +9 -4
  73. package/src/interface/page-component-versions.ts +20 -4
  74. package/src/schema-fields.ts +2 -0
  75. package/src/utils/oauth.tsx +8 -0
@@ -3,15 +3,15 @@ import * as yup$1 from "yup";
3
3
 
4
4
  //#region src/interface/crud/email-outbox.d.ts
5
5
  declare const emailOutboxReadSchema: yup$1.MixedSchema<{
6
- id: string;
7
6
  status: "paused";
7
+ id: string;
8
8
  created_at_millis: number;
9
9
  to: {
10
- type: "user-primary-email";
11
10
  user_id: string;
11
+ type: "user-primary-email";
12
12
  } | {
13
- type: "user-custom-emails";
14
13
  user_id: string;
14
+ type: "user-custom-emails";
15
15
  emails: string[];
16
16
  } | {
17
17
  type: "custom-emails";
@@ -41,15 +41,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
41
41
  has_rendered: boolean;
42
42
  has_delivered: boolean;
43
43
  } | {
44
- id: string;
45
44
  status: "preparing";
45
+ id: string;
46
46
  created_at_millis: number;
47
47
  to: {
48
- type: "user-primary-email";
49
48
  user_id: string;
49
+ type: "user-primary-email";
50
50
  } | {
51
- type: "user-custom-emails";
52
51
  user_id: string;
52
+ type: "user-custom-emails";
53
53
  emails: string[];
54
54
  } | {
55
55
  type: "custom-emails";
@@ -79,15 +79,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
79
79
  has_rendered: boolean;
80
80
  has_delivered: boolean;
81
81
  } | {
82
- id: string;
83
82
  status: "rendering";
83
+ id: string;
84
84
  created_at_millis: number;
85
85
  to: {
86
- type: "user-primary-email";
87
86
  user_id: string;
87
+ type: "user-primary-email";
88
88
  } | {
89
- type: "user-custom-emails";
90
89
  user_id: string;
90
+ type: "user-custom-emails";
91
91
  emails: string[];
92
92
  } | {
93
93
  type: "custom-emails";
@@ -118,15 +118,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
118
118
  has_delivered: boolean;
119
119
  started_rendering_at_millis: number;
120
120
  } | {
121
- id: string;
122
121
  status: "render-error";
122
+ id: string;
123
123
  created_at_millis: number;
124
124
  to: {
125
- type: "user-primary-email";
126
125
  user_id: string;
126
+ type: "user-primary-email";
127
127
  } | {
128
- type: "user-custom-emails";
129
128
  user_id: string;
129
+ type: "user-custom-emails";
130
130
  emails: string[];
131
131
  } | {
132
132
  type: "custom-emails";
@@ -159,17 +159,16 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
159
159
  rendered_at_millis: number;
160
160
  render_error: string;
161
161
  } | {
162
- id: string;
163
162
  status: "scheduled";
163
+ id: string;
164
164
  subject: string;
165
165
  created_at_millis: number;
166
- notification_category_id: string | null;
167
166
  to: {
168
- type: "user-primary-email";
169
167
  user_id: string;
168
+ type: "user-primary-email";
170
169
  } | {
171
- type: "user-custom-emails";
172
170
  user_id: string;
171
+ type: "user-custom-emails";
173
172
  emails: string[];
174
173
  } | {
175
174
  type: "custom-emails";
@@ -204,18 +203,18 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
204
203
  text: string | null;
205
204
  is_transactional: boolean;
206
205
  is_high_priority: boolean;
206
+ notification_category_id: string | null;
207
207
  } | {
208
- id: string;
209
208
  status: "queued";
209
+ id: string;
210
210
  subject: string;
211
211
  created_at_millis: number;
212
- notification_category_id: string | null;
213
212
  to: {
214
- type: "user-primary-email";
215
213
  user_id: string;
214
+ type: "user-primary-email";
216
215
  } | {
217
- type: "user-custom-emails";
218
216
  user_id: string;
217
+ type: "user-custom-emails";
219
218
  emails: string[];
220
219
  } | {
221
220
  type: "custom-emails";
@@ -250,18 +249,18 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
250
249
  text: string | null;
251
250
  is_transactional: boolean;
252
251
  is_high_priority: boolean;
252
+ notification_category_id: string | null;
253
253
  } | {
254
- id: string;
255
254
  status: "sending";
255
+ id: string;
256
256
  subject: string;
257
257
  created_at_millis: number;
258
- notification_category_id: string | null;
259
258
  to: {
260
- type: "user-primary-email";
261
259
  user_id: string;
260
+ type: "user-primary-email";
262
261
  } | {
263
- type: "user-custom-emails";
264
262
  user_id: string;
263
+ type: "user-custom-emails";
265
264
  emails: string[];
266
265
  } | {
267
266
  type: "custom-emails";
@@ -296,19 +295,19 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
296
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
- id: string;
302
301
  status: "server-error";
302
+ id: string;
303
303
  subject: string;
304
304
  created_at_millis: number;
305
- notification_category_id: string | null;
306
305
  to: {
307
- type: "user-primary-email";
308
306
  user_id: string;
307
+ type: "user-primary-email";
309
308
  } | {
310
- type: "user-custom-emails";
311
309
  user_id: string;
310
+ type: "user-custom-emails";
312
311
  emails: string[];
313
312
  } | {
314
313
  type: "custom-emails";
@@ -343,28 +342,29 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
343
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
- notification_category_id?: string | null | undefined;
352
351
  started_rendering_at_millis?: number | undefined;
353
352
  rendered_at_millis?: number | undefined;
354
353
  html?: string | null | undefined;
355
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
- id: string;
360
359
  status: "skipped";
360
+ id: string;
361
361
  created_at_millis: number;
362
362
  to: {
363
- type: "user-primary-email";
364
363
  user_id: string;
364
+ type: "user-primary-email";
365
365
  } | {
366
- type: "user-custom-emails";
367
366
  user_id: string;
367
+ type: "user-custom-emails";
368
368
  emails: string[];
369
369
  } | {
370
370
  type: "custom-emails";
@@ -397,17 +397,16 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
397
397
  skipped_reason: string;
398
398
  skipped_details: Record<string, {} | null>;
399
399
  } | {
400
- id: string;
401
400
  status: "bounced";
401
+ id: string;
402
402
  subject: string;
403
403
  created_at_millis: number;
404
- notification_category_id: string | null;
405
404
  to: {
406
- type: "user-primary-email";
407
405
  user_id: string;
406
+ type: "user-primary-email";
408
407
  } | {
409
- type: "user-custom-emails";
410
408
  user_id: string;
409
+ type: "user-custom-emails";
411
410
  emails: string[];
412
411
  } | {
413
412
  type: "custom-emails";
@@ -442,20 +441,20 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
442
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
- id: string;
449
448
  status: "delivery-delayed";
449
+ id: string;
450
450
  subject: string;
451
451
  created_at_millis: number;
452
- notification_category_id: string | null;
453
452
  to: {
454
- type: "user-primary-email";
455
453
  user_id: string;
454
+ type: "user-primary-email";
456
455
  } | {
457
- type: "user-custom-emails";
458
456
  user_id: string;
457
+ type: "user-custom-emails";
459
458
  emails: string[];
460
459
  } | {
461
460
  type: "custom-emails";
@@ -490,20 +489,20 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
490
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
- id: string;
497
496
  status: "sent";
497
+ id: string;
498
498
  subject: string;
499
499
  created_at_millis: number;
500
- notification_category_id: string | null;
501
500
  to: {
502
- type: "user-primary-email";
503
501
  user_id: string;
502
+ type: "user-primary-email";
504
503
  } | {
505
- type: "user-custom-emails";
506
504
  user_id: string;
505
+ type: "user-custom-emails";
507
506
  emails: string[];
508
507
  } | {
509
508
  type: "custom-emails";
@@ -538,21 +537,21 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
538
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;
544
544
  } | {
545
- id: string;
546
545
  status: "opened";
546
+ id: string;
547
547
  subject: string;
548
548
  created_at_millis: number;
549
- notification_category_id: string | null;
550
549
  to: {
551
- type: "user-primary-email";
552
550
  user_id: string;
551
+ type: "user-primary-email";
553
552
  } | {
554
- type: "user-custom-emails";
555
553
  user_id: string;
554
+ type: "user-custom-emails";
556
555
  emails: string[];
557
556
  } | {
558
557
  type: "custom-emails";
@@ -587,22 +586,22 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
587
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;
593
593
  opened_at_millis: number;
594
594
  } | {
595
- id: string;
596
595
  status: "clicked";
596
+ id: string;
597
597
  subject: string;
598
598
  created_at_millis: number;
599
- notification_category_id: string | null;
600
599
  to: {
601
- type: "user-primary-email";
602
600
  user_id: string;
601
+ type: "user-primary-email";
603
602
  } | {
604
- type: "user-custom-emails";
605
603
  user_id: string;
604
+ type: "user-custom-emails";
606
605
  emails: string[];
607
606
  } | {
608
607
  type: "custom-emails";
@@ -637,22 +636,22 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
637
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;
643
643
  clicked_at_millis: number;
644
644
  } | {
645
- id: string;
646
645
  status: "marked-as-spam";
646
+ id: string;
647
647
  subject: string;
648
648
  created_at_millis: number;
649
- notification_category_id: string | null;
650
649
  to: {
651
- type: "user-primary-email";
652
650
  user_id: string;
651
+ type: "user-primary-email";
653
652
  } | {
654
- type: "user-custom-emails";
655
653
  user_id: string;
654
+ type: "user-custom-emails";
656
655
  emails: string[];
657
656
  } | {
658
657
  type: "custom-emails";
@@ -687,6 +686,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
687
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;
@@ -696,11 +696,11 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
696
696
  tsx_source: string | undefined;
697
697
  theme_id: string | null | undefined;
698
698
  to: {
699
- type: "user-primary-email";
700
699
  user_id: string;
700
+ type: "user-primary-email";
701
701
  } | {
702
- type: "user-custom-emails";
703
702
  user_id: string;
703
+ type: "user-custom-emails";
704
704
  emails: string[];
705
705
  } | {
706
706
  type: "custom-emails";
@@ -723,15 +723,15 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
723
723
  }, "">;
724
724
  declare const emailOutboxCrud: CrudSchemaFromOptions<{
725
725
  serverReadSchema: yup$1.MixedSchema<{
726
- id: string;
727
726
  status: "paused";
727
+ id: string;
728
728
  created_at_millis: number;
729
729
  to: {
730
- type: "user-primary-email";
731
730
  user_id: string;
731
+ type: "user-primary-email";
732
732
  } | {
733
- type: "user-custom-emails";
734
733
  user_id: string;
734
+ type: "user-custom-emails";
735
735
  emails: string[];
736
736
  } | {
737
737
  type: "custom-emails";
@@ -761,15 +761,15 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
761
761
  has_rendered: boolean;
762
762
  has_delivered: boolean;
763
763
  } | {
764
- id: string;
765
764
  status: "preparing";
765
+ id: string;
766
766
  created_at_millis: number;
767
767
  to: {
768
- type: "user-primary-email";
769
768
  user_id: string;
769
+ type: "user-primary-email";
770
770
  } | {
771
- type: "user-custom-emails";
772
771
  user_id: string;
772
+ type: "user-custom-emails";
773
773
  emails: string[];
774
774
  } | {
775
775
  type: "custom-emails";
@@ -799,15 +799,15 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
799
799
  has_rendered: boolean;
800
800
  has_delivered: boolean;
801
801
  } | {
802
- id: string;
803
802
  status: "rendering";
803
+ id: string;
804
804
  created_at_millis: number;
805
805
  to: {
806
- type: "user-primary-email";
807
806
  user_id: string;
807
+ type: "user-primary-email";
808
808
  } | {
809
- type: "user-custom-emails";
810
809
  user_id: string;
810
+ type: "user-custom-emails";
811
811
  emails: string[];
812
812
  } | {
813
813
  type: "custom-emails";
@@ -838,15 +838,15 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
838
838
  has_delivered: boolean;
839
839
  started_rendering_at_millis: number;
840
840
  } | {
841
- id: string;
842
841
  status: "render-error";
842
+ id: string;
843
843
  created_at_millis: number;
844
844
  to: {
845
- type: "user-primary-email";
846
845
  user_id: string;
846
+ type: "user-primary-email";
847
847
  } | {
848
- type: "user-custom-emails";
849
848
  user_id: string;
849
+ type: "user-custom-emails";
850
850
  emails: string[];
851
851
  } | {
852
852
  type: "custom-emails";
@@ -879,17 +879,16 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
879
879
  rendered_at_millis: number;
880
880
  render_error: string;
881
881
  } | {
882
- id: string;
883
882
  status: "scheduled";
883
+ id: string;
884
884
  subject: string;
885
885
  created_at_millis: number;
886
- notification_category_id: string | null;
887
886
  to: {
888
- type: "user-primary-email";
889
887
  user_id: string;
888
+ type: "user-primary-email";
890
889
  } | {
891
- type: "user-custom-emails";
892
890
  user_id: string;
891
+ type: "user-custom-emails";
893
892
  emails: string[];
894
893
  } | {
895
894
  type: "custom-emails";
@@ -924,18 +923,18 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
924
923
  text: string | null;
925
924
  is_transactional: boolean;
926
925
  is_high_priority: boolean;
926
+ notification_category_id: string | null;
927
927
  } | {
928
- id: string;
929
928
  status: "queued";
929
+ id: string;
930
930
  subject: string;
931
931
  created_at_millis: number;
932
- notification_category_id: string | null;
933
932
  to: {
934
- type: "user-primary-email";
935
933
  user_id: string;
934
+ type: "user-primary-email";
936
935
  } | {
937
- type: "user-custom-emails";
938
936
  user_id: string;
937
+ type: "user-custom-emails";
939
938
  emails: string[];
940
939
  } | {
941
940
  type: "custom-emails";
@@ -970,18 +969,18 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
970
969
  text: string | null;
971
970
  is_transactional: boolean;
972
971
  is_high_priority: boolean;
972
+ notification_category_id: string | null;
973
973
  } | {
974
- id: string;
975
974
  status: "sending";
975
+ id: string;
976
976
  subject: string;
977
977
  created_at_millis: number;
978
- notification_category_id: string | null;
979
978
  to: {
980
- type: "user-primary-email";
981
979
  user_id: string;
980
+ type: "user-primary-email";
982
981
  } | {
983
- type: "user-custom-emails";
984
982
  user_id: string;
983
+ type: "user-custom-emails";
985
984
  emails: string[];
986
985
  } | {
987
986
  type: "custom-emails";
@@ -1016,19 +1015,19 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1016
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
- id: string;
1022
1021
  status: "server-error";
1022
+ id: string;
1023
1023
  subject: string;
1024
1024
  created_at_millis: number;
1025
- notification_category_id: string | null;
1026
1025
  to: {
1027
- type: "user-primary-email";
1028
1026
  user_id: string;
1027
+ type: "user-primary-email";
1029
1028
  } | {
1030
- type: "user-custom-emails";
1031
1029
  user_id: string;
1030
+ type: "user-custom-emails";
1032
1031
  emails: string[];
1033
1032
  } | {
1034
1033
  type: "custom-emails";
@@ -1063,28 +1062,29 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1063
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
- notification_category_id?: string | null | undefined;
1072
1071
  started_rendering_at_millis?: number | undefined;
1073
1072
  rendered_at_millis?: number | undefined;
1074
1073
  html?: string | null | undefined;
1075
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
- id: string;
1080
1079
  status: "skipped";
1080
+ id: string;
1081
1081
  created_at_millis: number;
1082
1082
  to: {
1083
- type: "user-primary-email";
1084
1083
  user_id: string;
1084
+ type: "user-primary-email";
1085
1085
  } | {
1086
- type: "user-custom-emails";
1087
1086
  user_id: string;
1087
+ type: "user-custom-emails";
1088
1088
  emails: string[];
1089
1089
  } | {
1090
1090
  type: "custom-emails";
@@ -1117,17 +1117,16 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1117
1117
  skipped_reason: string;
1118
1118
  skipped_details: Record<string, {} | null>;
1119
1119
  } | {
1120
- id: string;
1121
1120
  status: "bounced";
1121
+ id: string;
1122
1122
  subject: string;
1123
1123
  created_at_millis: number;
1124
- notification_category_id: string | null;
1125
1124
  to: {
1126
- type: "user-primary-email";
1127
1125
  user_id: string;
1126
+ type: "user-primary-email";
1128
1127
  } | {
1129
- type: "user-custom-emails";
1130
1128
  user_id: string;
1129
+ type: "user-custom-emails";
1131
1130
  emails: string[];
1132
1131
  } | {
1133
1132
  type: "custom-emails";
@@ -1162,20 +1161,20 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1162
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
- id: string;
1169
1168
  status: "delivery-delayed";
1169
+ id: string;
1170
1170
  subject: string;
1171
1171
  created_at_millis: number;
1172
- notification_category_id: string | null;
1173
1172
  to: {
1174
- type: "user-primary-email";
1175
1173
  user_id: string;
1174
+ type: "user-primary-email";
1176
1175
  } | {
1177
- type: "user-custom-emails";
1178
1176
  user_id: string;
1177
+ type: "user-custom-emails";
1179
1178
  emails: string[];
1180
1179
  } | {
1181
1180
  type: "custom-emails";
@@ -1210,20 +1209,20 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1210
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
- id: string;
1217
1216
  status: "sent";
1217
+ id: string;
1218
1218
  subject: string;
1219
1219
  created_at_millis: number;
1220
- notification_category_id: string | null;
1221
1220
  to: {
1222
- type: "user-primary-email";
1223
1221
  user_id: string;
1222
+ type: "user-primary-email";
1224
1223
  } | {
1225
- type: "user-custom-emails";
1226
1224
  user_id: string;
1225
+ type: "user-custom-emails";
1227
1226
  emails: string[];
1228
1227
  } | {
1229
1228
  type: "custom-emails";
@@ -1258,21 +1257,21 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1258
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;
1264
1264
  } | {
1265
- id: string;
1266
1265
  status: "opened";
1266
+ id: string;
1267
1267
  subject: string;
1268
1268
  created_at_millis: number;
1269
- notification_category_id: string | null;
1270
1269
  to: {
1271
- type: "user-primary-email";
1272
1270
  user_id: string;
1271
+ type: "user-primary-email";
1273
1272
  } | {
1274
- type: "user-custom-emails";
1275
1273
  user_id: string;
1274
+ type: "user-custom-emails";
1276
1275
  emails: string[];
1277
1276
  } | {
1278
1277
  type: "custom-emails";
@@ -1307,22 +1306,22 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1307
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;
1313
1313
  opened_at_millis: number;
1314
1314
  } | {
1315
- id: string;
1316
1315
  status: "clicked";
1316
+ id: string;
1317
1317
  subject: string;
1318
1318
  created_at_millis: number;
1319
- notification_category_id: string | null;
1320
1319
  to: {
1321
- type: "user-primary-email";
1322
1320
  user_id: string;
1321
+ type: "user-primary-email";
1323
1322
  } | {
1324
- type: "user-custom-emails";
1325
1323
  user_id: string;
1324
+ type: "user-custom-emails";
1326
1325
  emails: string[];
1327
1326
  } | {
1328
1327
  type: "custom-emails";
@@ -1357,22 +1356,22 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1357
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;
1363
1363
  clicked_at_millis: number;
1364
1364
  } | {
1365
- id: string;
1366
1365
  status: "marked-as-spam";
1366
+ id: string;
1367
1367
  subject: string;
1368
1368
  created_at_millis: number;
1369
- notification_category_id: string | null;
1370
1369
  to: {
1371
- type: "user-primary-email";
1372
1370
  user_id: string;
1371
+ type: "user-primary-email";
1373
1372
  } | {
1374
- type: "user-custom-emails";
1375
1373
  user_id: string;
1374
+ type: "user-custom-emails";
1376
1375
  emails: string[];
1377
1376
  } | {
1378
1377
  type: "custom-emails";
@@ -1407,6 +1406,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1407
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;
@@ -1416,11 +1416,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1416
1416
  tsx_source: string | undefined;
1417
1417
  theme_id: string | null | undefined;
1418
1418
  to: {
1419
- type: "user-primary-email";
1420
1419
  user_id: string;
1420
+ type: "user-primary-email";
1421
1421
  } | {
1422
- type: "user-custom-emails";
1423
1422
  user_id: string;
1423
+ type: "user-custom-emails";
1424
1424
  emails: string[];
1425
1425
  } | {
1426
1426
  type: "custom-emails";