@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
@@ -4,15 +4,15 @@ import { CrudTypeOf } from "../../crud";
4
4
 
5
5
  //#region src/interface/crud/email-outbox.d.ts
6
6
  declare const emailOutboxReadSchema: yup$1.MixedSchema<{
7
- id: string;
8
7
  status: "paused";
8
+ id: string;
9
9
  created_at_millis: number;
10
10
  to: {
11
- type: "user-primary-email";
12
11
  user_id: string;
12
+ type: "user-primary-email";
13
13
  } | {
14
- type: "user-custom-emails";
15
14
  user_id: string;
15
+ type: "user-custom-emails";
16
16
  emails: string[];
17
17
  } | {
18
18
  type: "custom-emails";
@@ -42,15 +42,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
42
42
  has_rendered: boolean;
43
43
  has_delivered: boolean;
44
44
  } | {
45
- id: string;
46
45
  status: "preparing";
46
+ id: string;
47
47
  created_at_millis: number;
48
48
  to: {
49
- type: "user-primary-email";
50
49
  user_id: string;
50
+ type: "user-primary-email";
51
51
  } | {
52
- type: "user-custom-emails";
53
52
  user_id: string;
53
+ type: "user-custom-emails";
54
54
  emails: string[];
55
55
  } | {
56
56
  type: "custom-emails";
@@ -80,15 +80,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
80
80
  has_rendered: boolean;
81
81
  has_delivered: boolean;
82
82
  } | {
83
- id: string;
84
83
  status: "rendering";
84
+ id: string;
85
85
  created_at_millis: number;
86
86
  to: {
87
- type: "user-primary-email";
88
87
  user_id: string;
88
+ type: "user-primary-email";
89
89
  } | {
90
- type: "user-custom-emails";
91
90
  user_id: string;
91
+ type: "user-custom-emails";
92
92
  emails: string[];
93
93
  } | {
94
94
  type: "custom-emails";
@@ -119,15 +119,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
119
119
  has_delivered: boolean;
120
120
  started_rendering_at_millis: number;
121
121
  } | {
122
- id: string;
123
122
  status: "render-error";
123
+ id: string;
124
124
  created_at_millis: number;
125
125
  to: {
126
- type: "user-primary-email";
127
126
  user_id: string;
127
+ type: "user-primary-email";
128
128
  } | {
129
- type: "user-custom-emails";
130
129
  user_id: string;
130
+ type: "user-custom-emails";
131
131
  emails: string[];
132
132
  } | {
133
133
  type: "custom-emails";
@@ -160,17 +160,16 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
160
160
  rendered_at_millis: number;
161
161
  render_error: string;
162
162
  } | {
163
- id: string;
164
163
  status: "scheduled";
164
+ id: string;
165
165
  subject: string;
166
166
  created_at_millis: number;
167
- notification_category_id: string | null;
168
167
  to: {
169
- type: "user-primary-email";
170
168
  user_id: string;
169
+ type: "user-primary-email";
171
170
  } | {
172
- type: "user-custom-emails";
173
171
  user_id: string;
172
+ type: "user-custom-emails";
174
173
  emails: string[];
175
174
  } | {
176
175
  type: "custom-emails";
@@ -205,18 +204,18 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
205
204
  text: string | null;
206
205
  is_transactional: boolean;
207
206
  is_high_priority: boolean;
207
+ notification_category_id: string | null;
208
208
  } | {
209
- id: string;
210
209
  status: "queued";
210
+ id: string;
211
211
  subject: string;
212
212
  created_at_millis: number;
213
- notification_category_id: string | null;
214
213
  to: {
215
- type: "user-primary-email";
216
214
  user_id: string;
215
+ type: "user-primary-email";
217
216
  } | {
218
- type: "user-custom-emails";
219
217
  user_id: string;
218
+ type: "user-custom-emails";
220
219
  emails: string[];
221
220
  } | {
222
221
  type: "custom-emails";
@@ -251,18 +250,18 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
251
250
  text: string | null;
252
251
  is_transactional: boolean;
253
252
  is_high_priority: boolean;
253
+ notification_category_id: string | null;
254
254
  } | {
255
- id: string;
256
255
  status: "sending";
256
+ id: string;
257
257
  subject: string;
258
258
  created_at_millis: number;
259
- notification_category_id: string | null;
260
259
  to: {
261
- type: "user-primary-email";
262
260
  user_id: string;
261
+ type: "user-primary-email";
263
262
  } | {
264
- type: "user-custom-emails";
265
263
  user_id: string;
264
+ type: "user-custom-emails";
266
265
  emails: string[];
267
266
  } | {
268
267
  type: "custom-emails";
@@ -297,19 +296,19 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
297
296
  text: string | null;
298
297
  is_transactional: boolean;
299
298
  is_high_priority: boolean;
299
+ notification_category_id: string | null;
300
300
  started_sending_at_millis: number;
301
301
  } | {
302
- id: string;
303
302
  status: "server-error";
303
+ id: string;
304
304
  subject: string;
305
305
  created_at_millis: number;
306
- notification_category_id: string | null;
307
306
  to: {
308
- type: "user-primary-email";
309
307
  user_id: string;
308
+ type: "user-primary-email";
310
309
  } | {
311
- type: "user-custom-emails";
312
310
  user_id: string;
311
+ type: "user-custom-emails";
313
312
  emails: string[];
314
313
  } | {
315
314
  type: "custom-emails";
@@ -344,28 +343,29 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
344
343
  text: string | null;
345
344
  is_transactional: boolean;
346
345
  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
  subject?: string | undefined;
352
- notification_category_id?: string | null | undefined;
353
352
  started_rendering_at_millis?: number | undefined;
354
353
  rendered_at_millis?: number | undefined;
355
354
  html?: string | null | undefined;
356
355
  text?: string | null | undefined;
357
356
  is_transactional?: boolean | undefined;
358
357
  is_high_priority?: boolean | undefined;
358
+ notification_category_id?: string | null | undefined;
359
359
  started_sending_at_millis?: number | undefined;
360
- id: string;
361
360
  status: "skipped";
361
+ id: string;
362
362
  created_at_millis: number;
363
363
  to: {
364
- type: "user-primary-email";
365
364
  user_id: string;
365
+ type: "user-primary-email";
366
366
  } | {
367
- type: "user-custom-emails";
368
367
  user_id: string;
368
+ type: "user-custom-emails";
369
369
  emails: string[];
370
370
  } | {
371
371
  type: "custom-emails";
@@ -398,17 +398,16 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
398
398
  skipped_reason: string;
399
399
  skipped_details: Record<string, {} | null>;
400
400
  } | {
401
- id: string;
402
401
  status: "bounced";
402
+ id: string;
403
403
  subject: string;
404
404
  created_at_millis: number;
405
- notification_category_id: string | null;
406
405
  to: {
407
- type: "user-primary-email";
408
406
  user_id: string;
407
+ type: "user-primary-email";
409
408
  } | {
410
- type: "user-custom-emails";
411
409
  user_id: string;
410
+ type: "user-custom-emails";
412
411
  emails: string[];
413
412
  } | {
414
413
  type: "custom-emails";
@@ -443,20 +442,20 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
443
442
  text: string | null;
444
443
  is_transactional: boolean;
445
444
  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
- id: string;
450
449
  status: "delivery-delayed";
450
+ id: string;
451
451
  subject: string;
452
452
  created_at_millis: number;
453
- notification_category_id: string | null;
454
453
  to: {
455
- type: "user-primary-email";
456
454
  user_id: string;
455
+ type: "user-primary-email";
457
456
  } | {
458
- type: "user-custom-emails";
459
457
  user_id: string;
458
+ type: "user-custom-emails";
460
459
  emails: string[];
461
460
  } | {
462
461
  type: "custom-emails";
@@ -491,20 +490,20 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
491
490
  text: string | null;
492
491
  is_transactional: boolean;
493
492
  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
- id: string;
498
497
  status: "sent";
498
+ id: string;
499
499
  subject: string;
500
500
  created_at_millis: number;
501
- notification_category_id: string | null;
502
501
  to: {
503
- type: "user-primary-email";
504
502
  user_id: string;
503
+ type: "user-primary-email";
505
504
  } | {
506
- type: "user-custom-emails";
507
505
  user_id: string;
506
+ type: "user-custom-emails";
508
507
  emails: string[];
509
508
  } | {
510
509
  type: "custom-emails";
@@ -539,21 +538,21 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
539
538
  text: string | null;
540
539
  is_transactional: boolean;
541
540
  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
- id: string;
547
546
  status: "opened";
547
+ id: string;
548
548
  subject: string;
549
549
  created_at_millis: number;
550
- notification_category_id: string | null;
551
550
  to: {
552
- type: "user-primary-email";
553
551
  user_id: string;
552
+ type: "user-primary-email";
554
553
  } | {
555
- type: "user-custom-emails";
556
554
  user_id: string;
555
+ type: "user-custom-emails";
557
556
  emails: string[];
558
557
  } | {
559
558
  type: "custom-emails";
@@ -588,22 +587,22 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
588
587
  text: string | null;
589
588
  is_transactional: boolean;
590
589
  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
- id: string;
597
596
  status: "clicked";
597
+ id: string;
598
598
  subject: string;
599
599
  created_at_millis: number;
600
- notification_category_id: string | null;
601
600
  to: {
602
- type: "user-primary-email";
603
601
  user_id: string;
602
+ type: "user-primary-email";
604
603
  } | {
605
- type: "user-custom-emails";
606
604
  user_id: string;
605
+ type: "user-custom-emails";
607
606
  emails: string[];
608
607
  } | {
609
608
  type: "custom-emails";
@@ -638,22 +637,22 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
638
637
  text: string | null;
639
638
  is_transactional: boolean;
640
639
  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
- id: string;
647
646
  status: "marked-as-spam";
647
+ id: string;
648
648
  subject: string;
649
649
  created_at_millis: number;
650
- notification_category_id: string | null;
651
650
  to: {
652
- type: "user-primary-email";
653
651
  user_id: string;
652
+ type: "user-primary-email";
654
653
  } | {
655
- type: "user-custom-emails";
656
654
  user_id: string;
655
+ type: "user-custom-emails";
657
656
  emails: string[];
658
657
  } | {
659
658
  type: "custom-emails";
@@ -688,6 +687,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
688
687
  text: string | null;
689
688
  is_transactional: boolean;
690
689
  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;
@@ -697,11 +697,11 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
697
697
  tsx_source: string | undefined;
698
698
  theme_id: string | null | undefined;
699
699
  to: {
700
- type: "user-primary-email";
701
700
  user_id: string;
701
+ type: "user-primary-email";
702
702
  } | {
703
- type: "user-custom-emails";
704
703
  user_id: string;
704
+ type: "user-custom-emails";
705
705
  emails: string[];
706
706
  } | {
707
707
  type: "custom-emails";
@@ -724,15 +724,15 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
724
724
  }, "">;
725
725
  declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
726
726
  serverReadSchema: yup$1.MixedSchema<{
727
- id: string;
728
727
  status: "paused";
728
+ id: string;
729
729
  created_at_millis: number;
730
730
  to: {
731
- type: "user-primary-email";
732
731
  user_id: string;
732
+ type: "user-primary-email";
733
733
  } | {
734
- type: "user-custom-emails";
735
734
  user_id: string;
735
+ type: "user-custom-emails";
736
736
  emails: string[];
737
737
  } | {
738
738
  type: "custom-emails";
@@ -762,15 +762,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
762
762
  has_rendered: boolean;
763
763
  has_delivered: boolean;
764
764
  } | {
765
- id: string;
766
765
  status: "preparing";
766
+ id: string;
767
767
  created_at_millis: number;
768
768
  to: {
769
- type: "user-primary-email";
770
769
  user_id: string;
770
+ type: "user-primary-email";
771
771
  } | {
772
- type: "user-custom-emails";
773
772
  user_id: string;
773
+ type: "user-custom-emails";
774
774
  emails: string[];
775
775
  } | {
776
776
  type: "custom-emails";
@@ -800,15 +800,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
800
800
  has_rendered: boolean;
801
801
  has_delivered: boolean;
802
802
  } | {
803
- id: string;
804
803
  status: "rendering";
804
+ id: string;
805
805
  created_at_millis: number;
806
806
  to: {
807
- type: "user-primary-email";
808
807
  user_id: string;
808
+ type: "user-primary-email";
809
809
  } | {
810
- type: "user-custom-emails";
811
810
  user_id: string;
811
+ type: "user-custom-emails";
812
812
  emails: string[];
813
813
  } | {
814
814
  type: "custom-emails";
@@ -839,15 +839,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
839
839
  has_delivered: boolean;
840
840
  started_rendering_at_millis: number;
841
841
  } | {
842
- id: string;
843
842
  status: "render-error";
843
+ id: string;
844
844
  created_at_millis: number;
845
845
  to: {
846
- type: "user-primary-email";
847
846
  user_id: string;
847
+ type: "user-primary-email";
848
848
  } | {
849
- type: "user-custom-emails";
850
849
  user_id: string;
850
+ type: "user-custom-emails";
851
851
  emails: string[];
852
852
  } | {
853
853
  type: "custom-emails";
@@ -880,17 +880,16 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
880
880
  rendered_at_millis: number;
881
881
  render_error: string;
882
882
  } | {
883
- id: string;
884
883
  status: "scheduled";
884
+ id: string;
885
885
  subject: string;
886
886
  created_at_millis: number;
887
- notification_category_id: string | null;
888
887
  to: {
889
- type: "user-primary-email";
890
888
  user_id: string;
889
+ type: "user-primary-email";
891
890
  } | {
892
- type: "user-custom-emails";
893
891
  user_id: string;
892
+ type: "user-custom-emails";
894
893
  emails: string[];
895
894
  } | {
896
895
  type: "custom-emails";
@@ -925,18 +924,18 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
925
924
  text: string | null;
926
925
  is_transactional: boolean;
927
926
  is_high_priority: boolean;
927
+ notification_category_id: string | null;
928
928
  } | {
929
- id: string;
930
929
  status: "queued";
930
+ id: string;
931
931
  subject: string;
932
932
  created_at_millis: number;
933
- notification_category_id: string | null;
934
933
  to: {
935
- type: "user-primary-email";
936
934
  user_id: string;
935
+ type: "user-primary-email";
937
936
  } | {
938
- type: "user-custom-emails";
939
937
  user_id: string;
938
+ type: "user-custom-emails";
940
939
  emails: string[];
941
940
  } | {
942
941
  type: "custom-emails";
@@ -971,18 +970,18 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
971
970
  text: string | null;
972
971
  is_transactional: boolean;
973
972
  is_high_priority: boolean;
973
+ notification_category_id: string | null;
974
974
  } | {
975
- id: string;
976
975
  status: "sending";
976
+ id: string;
977
977
  subject: string;
978
978
  created_at_millis: number;
979
- notification_category_id: string | null;
980
979
  to: {
981
- type: "user-primary-email";
982
980
  user_id: string;
981
+ type: "user-primary-email";
983
982
  } | {
984
- type: "user-custom-emails";
985
983
  user_id: string;
984
+ type: "user-custom-emails";
986
985
  emails: string[];
987
986
  } | {
988
987
  type: "custom-emails";
@@ -1017,19 +1016,19 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1017
1016
  text: string | null;
1018
1017
  is_transactional: boolean;
1019
1018
  is_high_priority: boolean;
1019
+ notification_category_id: string | null;
1020
1020
  started_sending_at_millis: number;
1021
1021
  } | {
1022
- id: string;
1023
1022
  status: "server-error";
1023
+ id: string;
1024
1024
  subject: string;
1025
1025
  created_at_millis: number;
1026
- notification_category_id: string | null;
1027
1026
  to: {
1028
- type: "user-primary-email";
1029
1027
  user_id: string;
1028
+ type: "user-primary-email";
1030
1029
  } | {
1031
- type: "user-custom-emails";
1032
1030
  user_id: string;
1031
+ type: "user-custom-emails";
1033
1032
  emails: string[];
1034
1033
  } | {
1035
1034
  type: "custom-emails";
@@ -1064,28 +1063,29 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1064
1063
  text: string | null;
1065
1064
  is_transactional: boolean;
1066
1065
  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
  subject?: string | undefined;
1072
- notification_category_id?: string | null | undefined;
1073
1072
  started_rendering_at_millis?: number | undefined;
1074
1073
  rendered_at_millis?: number | undefined;
1075
1074
  html?: string | null | undefined;
1076
1075
  text?: string | null | undefined;
1077
1076
  is_transactional?: boolean | undefined;
1078
1077
  is_high_priority?: boolean | undefined;
1078
+ notification_category_id?: string | null | undefined;
1079
1079
  started_sending_at_millis?: number | undefined;
1080
- id: string;
1081
1080
  status: "skipped";
1081
+ id: string;
1082
1082
  created_at_millis: number;
1083
1083
  to: {
1084
- type: "user-primary-email";
1085
1084
  user_id: string;
1085
+ type: "user-primary-email";
1086
1086
  } | {
1087
- type: "user-custom-emails";
1088
1087
  user_id: string;
1088
+ type: "user-custom-emails";
1089
1089
  emails: string[];
1090
1090
  } | {
1091
1091
  type: "custom-emails";
@@ -1118,17 +1118,16 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1118
1118
  skipped_reason: string;
1119
1119
  skipped_details: Record<string, {} | null>;
1120
1120
  } | {
1121
- id: string;
1122
1121
  status: "bounced";
1122
+ id: string;
1123
1123
  subject: string;
1124
1124
  created_at_millis: number;
1125
- notification_category_id: string | null;
1126
1125
  to: {
1127
- type: "user-primary-email";
1128
1126
  user_id: string;
1127
+ type: "user-primary-email";
1129
1128
  } | {
1130
- type: "user-custom-emails";
1131
1129
  user_id: string;
1130
+ type: "user-custom-emails";
1132
1131
  emails: string[];
1133
1132
  } | {
1134
1133
  type: "custom-emails";
@@ -1163,20 +1162,20 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1163
1162
  text: string | null;
1164
1163
  is_transactional: boolean;
1165
1164
  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
- id: string;
1170
1169
  status: "delivery-delayed";
1170
+ id: string;
1171
1171
  subject: string;
1172
1172
  created_at_millis: number;
1173
- notification_category_id: string | null;
1174
1173
  to: {
1175
- type: "user-primary-email";
1176
1174
  user_id: string;
1175
+ type: "user-primary-email";
1177
1176
  } | {
1178
- type: "user-custom-emails";
1179
1177
  user_id: string;
1178
+ type: "user-custom-emails";
1180
1179
  emails: string[];
1181
1180
  } | {
1182
1181
  type: "custom-emails";
@@ -1211,20 +1210,20 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1211
1210
  text: string | null;
1212
1211
  is_transactional: boolean;
1213
1212
  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
- id: string;
1218
1217
  status: "sent";
1218
+ id: string;
1219
1219
  subject: string;
1220
1220
  created_at_millis: number;
1221
- notification_category_id: string | null;
1222
1221
  to: {
1223
- type: "user-primary-email";
1224
1222
  user_id: string;
1223
+ type: "user-primary-email";
1225
1224
  } | {
1226
- type: "user-custom-emails";
1227
1225
  user_id: string;
1226
+ type: "user-custom-emails";
1228
1227
  emails: string[];
1229
1228
  } | {
1230
1229
  type: "custom-emails";
@@ -1259,21 +1258,21 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1259
1258
  text: string | null;
1260
1259
  is_transactional: boolean;
1261
1260
  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
- id: string;
1267
1266
  status: "opened";
1267
+ id: string;
1268
1268
  subject: string;
1269
1269
  created_at_millis: number;
1270
- notification_category_id: string | null;
1271
1270
  to: {
1272
- type: "user-primary-email";
1273
1271
  user_id: string;
1272
+ type: "user-primary-email";
1274
1273
  } | {
1275
- type: "user-custom-emails";
1276
1274
  user_id: string;
1275
+ type: "user-custom-emails";
1277
1276
  emails: string[];
1278
1277
  } | {
1279
1278
  type: "custom-emails";
@@ -1308,22 +1307,22 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1308
1307
  text: string | null;
1309
1308
  is_transactional: boolean;
1310
1309
  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
- id: string;
1317
1316
  status: "clicked";
1317
+ id: string;
1318
1318
  subject: string;
1319
1319
  created_at_millis: number;
1320
- notification_category_id: string | null;
1321
1320
  to: {
1322
- type: "user-primary-email";
1323
1321
  user_id: string;
1322
+ type: "user-primary-email";
1324
1323
  } | {
1325
- type: "user-custom-emails";
1326
1324
  user_id: string;
1325
+ type: "user-custom-emails";
1327
1326
  emails: string[];
1328
1327
  } | {
1329
1328
  type: "custom-emails";
@@ -1358,22 +1357,22 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1358
1357
  text: string | null;
1359
1358
  is_transactional: boolean;
1360
1359
  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
- id: string;
1367
1366
  status: "marked-as-spam";
1367
+ id: string;
1368
1368
  subject: string;
1369
1369
  created_at_millis: number;
1370
- notification_category_id: string | null;
1371
1370
  to: {
1372
- type: "user-primary-email";
1373
1371
  user_id: string;
1372
+ type: "user-primary-email";
1374
1373
  } | {
1375
- type: "user-custom-emails";
1376
1374
  user_id: string;
1375
+ type: "user-custom-emails";
1377
1376
  emails: string[];
1378
1377
  } | {
1379
1378
  type: "custom-emails";
@@ -1408,6 +1407,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1408
1407
  text: string | null;
1409
1408
  is_transactional: boolean;
1410
1409
  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;
@@ -1417,11 +1417,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1417
1417
  tsx_source: string | undefined;
1418
1418
  theme_id: string | null | undefined;
1419
1419
  to: {
1420
- type: "user-primary-email";
1421
1420
  user_id: string;
1421
+ type: "user-primary-email";
1422
1422
  } | {
1423
- type: "user-custom-emails";
1424
1423
  user_id: string;
1424
+ type: "user-custom-emails";
1425
1425
  emails: string[];
1426
1426
  } | {
1427
1427
  type: "custom-emails";