@hexclave/shared 1.0.54 → 1.0.55

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 (93) hide show
  1. package/dist/{admin-interface-DuboQXpC.d.ts → admin-interface-DIt0PvhC.d.ts} +11 -11
  2. package/dist/{admin-interface-DuboQXpC.d.ts.map → admin-interface-DIt0PvhC.d.ts.map} +1 -1
  3. package/dist/{admin-metrics-IxLyJ-cP.d.ts → admin-metrics-bsOkw4YQ.d.ts} +18 -18
  4. package/dist/{admin-metrics-IxLyJ-cP.d.ts.map → admin-metrics-bsOkw4YQ.d.ts.map} +1 -1
  5. package/dist/ai/unified-prompts/reminders.js +1 -1
  6. package/dist/ai/unified-prompts/reminders.js.map +1 -1
  7. package/dist/{client-interface-Ca6UZywk.d.ts → client-interface-BQz4jNAC.d.ts} +9 -9
  8. package/dist/{client-interface-Ca6UZywk.d.ts.map → client-interface-BQz4jNAC.d.ts.map} +1 -1
  9. package/dist/config/schema-fuzzer.test.js +1 -1
  10. package/dist/config/schema.d.ts +1 -1
  11. package/dist/config/schema.js +1 -1
  12. package/dist/config-authoring.d.ts +1 -1
  13. package/dist/{current-user-DNxac4sS.d.ts → current-user-BBoN3hsn.d.ts} +15 -15
  14. package/dist/{current-user-DNxac4sS.d.ts.map → current-user-BBoN3hsn.d.ts.map} +1 -1
  15. package/dist/{email-outbox-ILs0LlGd.d.ts → email-outbox-CqzwInBL.d.ts} +95 -95
  16. package/dist/{email-outbox-ILs0LlGd.d.ts.map → email-outbox-CqzwInBL.d.ts.map} +1 -1
  17. package/dist/esm/ai/unified-prompts/reminders.js +1 -1
  18. package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
  19. package/dist/esm/config/schema-fuzzer.test.js +1 -1
  20. package/dist/esm/config/schema.d.ts +99 -99
  21. package/dist/esm/config/schema.js +1 -1
  22. package/dist/esm/interface/admin-interface.js +1 -1
  23. package/dist/esm/interface/admin-metrics.d.ts +17 -17
  24. package/dist/esm/interface/client-interface.js +2 -2
  25. package/dist/esm/interface/conversations.d.ts +10 -10
  26. package/dist/esm/interface/crud/current-user.d.ts +14 -14
  27. package/dist/esm/interface/crud/email-outbox.d.ts +94 -94
  28. package/dist/esm/interface/crud/products.d.ts +17 -17
  29. package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
  30. package/dist/esm/interface/crud/projects.d.ts +28 -28
  31. package/dist/esm/interface/crud/team-member-profiles.d.ts +24 -24
  32. package/dist/esm/interface/crud/transactions.d.ts +15 -15
  33. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  34. package/dist/esm/interface/crud/users.d.ts +16 -16
  35. package/dist/esm/interface/plan-usage.d.ts +2 -2
  36. package/dist/esm/interface/server-interface.js +1 -1
  37. package/dist/esm/interface/webhooks.d.ts +2 -2
  38. package/dist/esm/known-errors.d.ts +3 -3
  39. package/dist/esm/schema-fields.d.ts +5 -5
  40. package/dist/esm/sessions.d.ts +8 -8
  41. package/dist/helpers/password.d.ts +1 -1
  42. package/dist/helpers/production-mode.d.ts +1 -1
  43. package/dist/index.d.ts +4 -4
  44. package/dist/interface/admin-interface.d.ts +2 -2
  45. package/dist/interface/admin-interface.js +1 -1
  46. package/dist/interface/admin-metrics.d.ts +1 -1
  47. package/dist/interface/client-interface.d.ts +1 -1
  48. package/dist/interface/client-interface.js +2 -2
  49. package/dist/interface/conversations.d.ts +10 -10
  50. package/dist/interface/crud/current-user.d.ts +1 -1
  51. package/dist/interface/crud/email-outbox.d.ts +1 -1
  52. package/dist/interface/crud/products.d.ts +1 -1
  53. package/dist/interface/crud/project-api-keys.d.ts +1 -1
  54. package/dist/interface/crud/projects.d.ts +1 -1
  55. package/dist/interface/crud/team-member-profiles.d.ts +1 -1
  56. package/dist/interface/crud/transactions.d.ts +1 -1
  57. package/dist/interface/crud/users.d.ts +1 -1
  58. package/dist/interface/plan-usage.d.ts +1 -1
  59. package/dist/interface/server-interface.d.ts +1 -1
  60. package/dist/interface/server-interface.js +1 -1
  61. package/dist/interface/webhooks.d.ts +1 -1
  62. package/dist/{known-errors-g7JC8z58.d.ts → known-errors-Bm4a61wL.d.ts} +4 -4
  63. package/dist/{known-errors-g7JC8z58.d.ts.map → known-errors-Bm4a61wL.d.ts.map} +1 -1
  64. package/dist/known-errors.d.ts +1 -1
  65. package/dist/{plan-usage-D0kWw4HR.d.ts → plan-usage-BO2GsKlN.d.ts} +3 -3
  66. package/dist/{plan-usage-D0kWw4HR.d.ts.map → plan-usage-BO2GsKlN.d.ts.map} +1 -1
  67. package/dist/{products-C98fCS-1.d.ts → products-D4o8A2W0.d.ts} +18 -18
  68. package/dist/{products-C98fCS-1.d.ts.map → products-D4o8A2W0.d.ts.map} +1 -1
  69. package/dist/{project-api-keys-P97ElZZe.d.ts → project-api-keys--7V5X_UW.d.ts} +5 -5
  70. package/dist/{project-api-keys-P97ElZZe.d.ts.map → project-api-keys--7V5X_UW.d.ts.map} +1 -1
  71. package/dist/{projects-BM2a4sfO.d.ts → projects-CFTNXRfG.d.ts} +29 -29
  72. package/dist/{projects-BM2a4sfO.d.ts.map → projects-CFTNXRfG.d.ts.map} +1 -1
  73. package/dist/{schema-Bq1TSMFV.d.ts → schema-CLmaZetm.d.ts} +100 -100
  74. package/dist/{schema-Bq1TSMFV.d.ts.map → schema-CLmaZetm.d.ts.map} +1 -1
  75. package/dist/{schema-fields-Cch3V5nd.d.ts → schema-fields-DZtDQEEO.d.ts} +6 -6
  76. package/dist/{schema-fields-Cch3V5nd.d.ts.map → schema-fields-DZtDQEEO.d.ts.map} +1 -1
  77. package/dist/schema-fields.d.ts +1 -1
  78. package/dist/{server-interface-yKuDPrQI.d.ts → server-interface-BjY-eS4Q.d.ts} +8 -8
  79. package/dist/{server-interface-yKuDPrQI.d.ts.map → server-interface-BjY-eS4Q.d.ts.map} +1 -1
  80. package/dist/{sessions-DCTyJhi3.d.ts → sessions-CI-0TBQb.d.ts} +10 -10
  81. package/dist/{sessions-DCTyJhi3.d.ts.map → sessions-CI-0TBQb.d.ts.map} +1 -1
  82. package/dist/sessions.d.ts +1 -1
  83. package/dist/{team-member-profiles-CaD1OJqt.d.ts → team-member-profiles-BoDEqx-0.d.ts} +25 -25
  84. package/dist/{team-member-profiles-CaD1OJqt.d.ts.map → team-member-profiles-BoDEqx-0.d.ts.map} +1 -1
  85. package/dist/{transactions-CrAZLdGo.d.ts → transactions-CHNUJ42J.d.ts} +16 -16
  86. package/dist/transactions-CHNUJ42J.d.ts.map +1 -0
  87. package/dist/{users-DSpJgn9Z.d.ts → users-DHNRwoSz.d.ts} +18 -18
  88. package/dist/{users-DSpJgn9Z.d.ts.map → users-DHNRwoSz.d.ts.map} +1 -1
  89. package/dist/{webhooks-_aXIgZBW.d.ts → webhooks-8Ts1Clcb.d.ts} +3 -3
  90. package/dist/{webhooks-_aXIgZBW.d.ts.map → webhooks-8Ts1Clcb.d.ts.map} +1 -1
  91. package/package.json +1 -1
  92. package/src/ai/unified-prompts/reminders.ts +1 -1
  93. package/dist/transactions-CrAZLdGo.d.ts.map +0 -1
@@ -2,15 +2,15 @@ import { CrudTypeOf } from "../../crud.js";
2
2
 
3
3
  //#region src/interface/crud/email-outbox.d.ts
4
4
  declare const emailOutboxReadSchema: import("yup").MixedSchema<{
5
- id: string;
6
5
  status: "paused";
6
+ id: string;
7
7
  created_at_millis: number;
8
8
  to: {
9
- type: "user-primary-email";
10
9
  user_id: string;
10
+ type: "user-primary-email";
11
11
  } | {
12
- type: "user-custom-emails";
13
12
  user_id: string;
13
+ type: "user-custom-emails";
14
14
  emails: string[];
15
15
  } | {
16
16
  type: "custom-emails";
@@ -40,15 +40,15 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
40
40
  has_rendered: boolean;
41
41
  has_delivered: boolean;
42
42
  } | {
43
- id: string;
44
43
  status: "preparing";
44
+ id: string;
45
45
  created_at_millis: number;
46
46
  to: {
47
- type: "user-primary-email";
48
47
  user_id: string;
48
+ type: "user-primary-email";
49
49
  } | {
50
- type: "user-custom-emails";
51
50
  user_id: string;
51
+ type: "user-custom-emails";
52
52
  emails: string[];
53
53
  } | {
54
54
  type: "custom-emails";
@@ -78,15 +78,15 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
78
78
  has_rendered: boolean;
79
79
  has_delivered: boolean;
80
80
  } | {
81
- id: string;
82
81
  status: "rendering";
82
+ id: string;
83
83
  created_at_millis: number;
84
84
  to: {
85
- type: "user-primary-email";
86
85
  user_id: string;
86
+ type: "user-primary-email";
87
87
  } | {
88
- type: "user-custom-emails";
89
88
  user_id: string;
89
+ type: "user-custom-emails";
90
90
  emails: string[];
91
91
  } | {
92
92
  type: "custom-emails";
@@ -117,15 +117,15 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
117
117
  has_delivered: boolean;
118
118
  started_rendering_at_millis: number;
119
119
  } | {
120
- id: string;
121
120
  status: "render-error";
121
+ id: string;
122
122
  created_at_millis: number;
123
123
  to: {
124
- type: "user-primary-email";
125
124
  user_id: string;
125
+ type: "user-primary-email";
126
126
  } | {
127
- type: "user-custom-emails";
128
127
  user_id: string;
128
+ type: "user-custom-emails";
129
129
  emails: string[];
130
130
  } | {
131
131
  type: "custom-emails";
@@ -158,18 +158,18 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
158
158
  rendered_at_millis: number;
159
159
  render_error: string;
160
160
  } | {
161
- id: string;
162
161
  status: "scheduled";
162
+ id: string;
163
163
  subject: string;
164
164
  created_at_millis: number;
165
165
  html: string | null;
166
166
  text: string | null;
167
167
  to: {
168
- type: "user-primary-email";
169
168
  user_id: string;
169
+ type: "user-primary-email";
170
170
  } | {
171
- type: "user-custom-emails";
172
171
  user_id: string;
172
+ type: "user-custom-emails";
173
173
  emails: string[];
174
174
  } | {
175
175
  type: "custom-emails";
@@ -204,18 +204,18 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
204
204
  is_high_priority: boolean;
205
205
  notification_category_id: string | null;
206
206
  } | {
207
- id: string;
208
207
  status: "queued";
208
+ id: string;
209
209
  subject: string;
210
210
  created_at_millis: number;
211
211
  html: string | null;
212
212
  text: string | null;
213
213
  to: {
214
- type: "user-primary-email";
215
214
  user_id: string;
215
+ type: "user-primary-email";
216
216
  } | {
217
- type: "user-custom-emails";
218
217
  user_id: string;
218
+ type: "user-custom-emails";
219
219
  emails: string[];
220
220
  } | {
221
221
  type: "custom-emails";
@@ -250,18 +250,18 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
250
250
  is_high_priority: boolean;
251
251
  notification_category_id: string | null;
252
252
  } | {
253
- id: string;
254
253
  status: "sending";
254
+ id: string;
255
255
  subject: string;
256
256
  created_at_millis: number;
257
257
  html: string | null;
258
258
  text: string | null;
259
259
  to: {
260
- type: "user-primary-email";
261
260
  user_id: string;
261
+ type: "user-primary-email";
262
262
  } | {
263
- type: "user-custom-emails";
264
263
  user_id: string;
264
+ type: "user-custom-emails";
265
265
  emails: string[];
266
266
  } | {
267
267
  type: "custom-emails";
@@ -297,18 +297,18 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
297
297
  notification_category_id: string | null;
298
298
  started_sending_at_millis: number;
299
299
  } | {
300
- id: string;
301
300
  status: "server-error";
301
+ id: string;
302
302
  subject: string;
303
303
  created_at_millis: number;
304
304
  html: string | null;
305
305
  text: string | null;
306
306
  to: {
307
- type: "user-primary-email";
308
307
  user_id: string;
308
+ type: "user-primary-email";
309
309
  } | {
310
- type: "user-custom-emails";
311
310
  user_id: string;
311
+ type: "user-custom-emails";
312
312
  emails: string[];
313
313
  } | {
314
314
  type: "custom-emails";
@@ -355,15 +355,15 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
355
355
  is_high_priority?: boolean | undefined;
356
356
  notification_category_id?: string | null | undefined;
357
357
  started_sending_at_millis?: number | undefined;
358
- id: string;
359
358
  status: "skipped";
359
+ id: string;
360
360
  created_at_millis: number;
361
361
  to: {
362
- type: "user-primary-email";
363
362
  user_id: string;
363
+ type: "user-primary-email";
364
364
  } | {
365
- type: "user-custom-emails";
366
365
  user_id: string;
366
+ type: "user-custom-emails";
367
367
  emails: string[];
368
368
  } | {
369
369
  type: "custom-emails";
@@ -396,18 +396,18 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
396
396
  skipped_reason: string;
397
397
  skipped_details: Record<string, {} | null>;
398
398
  } | {
399
- id: string;
400
399
  status: "bounced";
400
+ id: string;
401
401
  subject: string;
402
402
  created_at_millis: number;
403
403
  html: string | null;
404
404
  text: string | null;
405
405
  to: {
406
- type: "user-primary-email";
407
406
  user_id: string;
407
+ type: "user-primary-email";
408
408
  } | {
409
- type: "user-custom-emails";
410
409
  user_id: string;
410
+ type: "user-custom-emails";
411
411
  emails: string[];
412
412
  } | {
413
413
  type: "custom-emails";
@@ -444,18 +444,18 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
444
444
  started_sending_at_millis: number;
445
445
  bounced_at_millis: number;
446
446
  } | {
447
- id: string;
448
447
  status: "delivery-delayed";
448
+ id: string;
449
449
  subject: string;
450
450
  created_at_millis: number;
451
451
  html: string | null;
452
452
  text: string | null;
453
453
  to: {
454
- type: "user-primary-email";
455
454
  user_id: string;
455
+ type: "user-primary-email";
456
456
  } | {
457
- type: "user-custom-emails";
458
457
  user_id: string;
458
+ type: "user-custom-emails";
459
459
  emails: string[];
460
460
  } | {
461
461
  type: "custom-emails";
@@ -492,18 +492,18 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
492
492
  started_sending_at_millis: number;
493
493
  delivery_delayed_at_millis: number;
494
494
  } | {
495
- id: string;
496
495
  status: "sent";
496
+ id: string;
497
497
  subject: string;
498
498
  created_at_millis: number;
499
499
  html: string | null;
500
500
  text: string | null;
501
501
  to: {
502
- type: "user-primary-email";
503
502
  user_id: string;
503
+ type: "user-primary-email";
504
504
  } | {
505
- type: "user-custom-emails";
506
505
  user_id: string;
506
+ type: "user-custom-emails";
507
507
  emails: string[];
508
508
  } | {
509
509
  type: "custom-emails";
@@ -541,18 +541,18 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
541
541
  delivered_at_millis: number;
542
542
  can_have_delivery_info: boolean;
543
543
  } | {
544
- id: string;
545
544
  status: "opened";
545
+ id: string;
546
546
  subject: string;
547
547
  created_at_millis: number;
548
548
  html: string | null;
549
549
  text: string | null;
550
550
  to: {
551
- type: "user-primary-email";
552
551
  user_id: string;
552
+ type: "user-primary-email";
553
553
  } | {
554
- type: "user-custom-emails";
555
554
  user_id: string;
555
+ type: "user-custom-emails";
556
556
  emails: string[];
557
557
  } | {
558
558
  type: "custom-emails";
@@ -591,18 +591,18 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
591
591
  can_have_delivery_info: boolean;
592
592
  opened_at_millis: number;
593
593
  } | {
594
- id: string;
595
594
  status: "clicked";
595
+ id: string;
596
596
  subject: string;
597
597
  created_at_millis: number;
598
598
  html: string | null;
599
599
  text: string | null;
600
600
  to: {
601
- type: "user-primary-email";
602
601
  user_id: string;
602
+ type: "user-primary-email";
603
603
  } | {
604
- type: "user-custom-emails";
605
604
  user_id: string;
605
+ type: "user-custom-emails";
606
606
  emails: string[];
607
607
  } | {
608
608
  type: "custom-emails";
@@ -641,18 +641,18 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
641
641
  can_have_delivery_info: boolean;
642
642
  clicked_at_millis: number;
643
643
  } | {
644
- id: string;
645
644
  status: "marked-as-spam";
645
+ id: string;
646
646
  subject: string;
647
647
  created_at_millis: number;
648
648
  html: string | null;
649
649
  text: string | null;
650
650
  to: {
651
- type: "user-primary-email";
652
651
  user_id: string;
652
+ type: "user-primary-email";
653
653
  } | {
654
- type: "user-custom-emails";
655
654
  user_id: string;
655
+ type: "user-custom-emails";
656
656
  emails: string[];
657
657
  } | {
658
658
  type: "custom-emails";
@@ -695,11 +695,11 @@ declare const emailOutboxUpdateSchema: import("yup").ObjectSchema<{
695
695
  tsx_source: string | undefined;
696
696
  theme_id: string | null | undefined;
697
697
  to: {
698
- type: "user-primary-email";
699
698
  user_id: string;
699
+ type: "user-primary-email";
700
700
  } | {
701
- type: "user-custom-emails";
702
701
  user_id: string;
702
+ type: "user-custom-emails";
703
703
  emails: string[];
704
704
  } | {
705
705
  type: "custom-emails";
@@ -722,15 +722,15 @@ declare const emailOutboxUpdateSchema: import("yup").ObjectSchema<{
722
722
  }, "">;
723
723
  declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
724
724
  serverReadSchema: import("yup").MixedSchema<{
725
- id: string;
726
725
  status: "paused";
726
+ id: string;
727
727
  created_at_millis: number;
728
728
  to: {
729
- type: "user-primary-email";
730
729
  user_id: string;
730
+ type: "user-primary-email";
731
731
  } | {
732
- type: "user-custom-emails";
733
732
  user_id: string;
733
+ type: "user-custom-emails";
734
734
  emails: string[];
735
735
  } | {
736
736
  type: "custom-emails";
@@ -760,15 +760,15 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
760
760
  has_rendered: boolean;
761
761
  has_delivered: boolean;
762
762
  } | {
763
- id: string;
764
763
  status: "preparing";
764
+ id: string;
765
765
  created_at_millis: number;
766
766
  to: {
767
- type: "user-primary-email";
768
767
  user_id: string;
768
+ type: "user-primary-email";
769
769
  } | {
770
- type: "user-custom-emails";
771
770
  user_id: string;
771
+ type: "user-custom-emails";
772
772
  emails: string[];
773
773
  } | {
774
774
  type: "custom-emails";
@@ -798,15 +798,15 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
798
798
  has_rendered: boolean;
799
799
  has_delivered: boolean;
800
800
  } | {
801
- id: string;
802
801
  status: "rendering";
802
+ id: string;
803
803
  created_at_millis: number;
804
804
  to: {
805
- type: "user-primary-email";
806
805
  user_id: string;
806
+ type: "user-primary-email";
807
807
  } | {
808
- type: "user-custom-emails";
809
808
  user_id: string;
809
+ type: "user-custom-emails";
810
810
  emails: string[];
811
811
  } | {
812
812
  type: "custom-emails";
@@ -837,15 +837,15 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
837
837
  has_delivered: boolean;
838
838
  started_rendering_at_millis: number;
839
839
  } | {
840
- id: string;
841
840
  status: "render-error";
841
+ id: string;
842
842
  created_at_millis: number;
843
843
  to: {
844
- type: "user-primary-email";
845
844
  user_id: string;
845
+ type: "user-primary-email";
846
846
  } | {
847
- type: "user-custom-emails";
848
847
  user_id: string;
848
+ type: "user-custom-emails";
849
849
  emails: string[];
850
850
  } | {
851
851
  type: "custom-emails";
@@ -878,18 +878,18 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
878
878
  rendered_at_millis: number;
879
879
  render_error: string;
880
880
  } | {
881
- id: string;
882
881
  status: "scheduled";
882
+ id: string;
883
883
  subject: string;
884
884
  created_at_millis: number;
885
885
  html: string | null;
886
886
  text: string | null;
887
887
  to: {
888
- type: "user-primary-email";
889
888
  user_id: string;
889
+ type: "user-primary-email";
890
890
  } | {
891
- type: "user-custom-emails";
892
891
  user_id: string;
892
+ type: "user-custom-emails";
893
893
  emails: string[];
894
894
  } | {
895
895
  type: "custom-emails";
@@ -924,18 +924,18 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
924
924
  is_high_priority: boolean;
925
925
  notification_category_id: string | null;
926
926
  } | {
927
- id: string;
928
927
  status: "queued";
928
+ id: string;
929
929
  subject: string;
930
930
  created_at_millis: number;
931
931
  html: string | null;
932
932
  text: string | null;
933
933
  to: {
934
- type: "user-primary-email";
935
934
  user_id: string;
935
+ type: "user-primary-email";
936
936
  } | {
937
- type: "user-custom-emails";
938
937
  user_id: string;
938
+ type: "user-custom-emails";
939
939
  emails: string[];
940
940
  } | {
941
941
  type: "custom-emails";
@@ -970,18 +970,18 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
970
970
  is_high_priority: boolean;
971
971
  notification_category_id: string | null;
972
972
  } | {
973
- id: string;
974
973
  status: "sending";
974
+ id: string;
975
975
  subject: string;
976
976
  created_at_millis: number;
977
977
  html: string | null;
978
978
  text: string | null;
979
979
  to: {
980
- type: "user-primary-email";
981
980
  user_id: string;
981
+ type: "user-primary-email";
982
982
  } | {
983
- type: "user-custom-emails";
984
983
  user_id: string;
984
+ type: "user-custom-emails";
985
985
  emails: string[];
986
986
  } | {
987
987
  type: "custom-emails";
@@ -1017,18 +1017,18 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1017
1017
  notification_category_id: string | null;
1018
1018
  started_sending_at_millis: number;
1019
1019
  } | {
1020
- id: string;
1021
1020
  status: "server-error";
1021
+ id: string;
1022
1022
  subject: string;
1023
1023
  created_at_millis: number;
1024
1024
  html: string | null;
1025
1025
  text: string | null;
1026
1026
  to: {
1027
- type: "user-primary-email";
1028
1027
  user_id: string;
1028
+ type: "user-primary-email";
1029
1029
  } | {
1030
- type: "user-custom-emails";
1031
1030
  user_id: string;
1031
+ type: "user-custom-emails";
1032
1032
  emails: string[];
1033
1033
  } | {
1034
1034
  type: "custom-emails";
@@ -1075,15 +1075,15 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1075
1075
  is_high_priority?: boolean | undefined;
1076
1076
  notification_category_id?: string | null | undefined;
1077
1077
  started_sending_at_millis?: number | undefined;
1078
- id: string;
1079
1078
  status: "skipped";
1079
+ id: string;
1080
1080
  created_at_millis: number;
1081
1081
  to: {
1082
- type: "user-primary-email";
1083
1082
  user_id: string;
1083
+ type: "user-primary-email";
1084
1084
  } | {
1085
- type: "user-custom-emails";
1086
1085
  user_id: string;
1086
+ type: "user-custom-emails";
1087
1087
  emails: string[];
1088
1088
  } | {
1089
1089
  type: "custom-emails";
@@ -1116,18 +1116,18 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1116
1116
  skipped_reason: string;
1117
1117
  skipped_details: Record<string, {} | null>;
1118
1118
  } | {
1119
- id: string;
1120
1119
  status: "bounced";
1120
+ id: string;
1121
1121
  subject: string;
1122
1122
  created_at_millis: number;
1123
1123
  html: string | null;
1124
1124
  text: string | null;
1125
1125
  to: {
1126
- type: "user-primary-email";
1127
1126
  user_id: string;
1127
+ type: "user-primary-email";
1128
1128
  } | {
1129
- type: "user-custom-emails";
1130
1129
  user_id: string;
1130
+ type: "user-custom-emails";
1131
1131
  emails: string[];
1132
1132
  } | {
1133
1133
  type: "custom-emails";
@@ -1164,18 +1164,18 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1164
1164
  started_sending_at_millis: number;
1165
1165
  bounced_at_millis: number;
1166
1166
  } | {
1167
- id: string;
1168
1167
  status: "delivery-delayed";
1168
+ id: string;
1169
1169
  subject: string;
1170
1170
  created_at_millis: number;
1171
1171
  html: string | null;
1172
1172
  text: string | null;
1173
1173
  to: {
1174
- type: "user-primary-email";
1175
1174
  user_id: string;
1175
+ type: "user-primary-email";
1176
1176
  } | {
1177
- type: "user-custom-emails";
1178
1177
  user_id: string;
1178
+ type: "user-custom-emails";
1179
1179
  emails: string[];
1180
1180
  } | {
1181
1181
  type: "custom-emails";
@@ -1212,18 +1212,18 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1212
1212
  started_sending_at_millis: number;
1213
1213
  delivery_delayed_at_millis: number;
1214
1214
  } | {
1215
- id: string;
1216
1215
  status: "sent";
1216
+ id: string;
1217
1217
  subject: string;
1218
1218
  created_at_millis: number;
1219
1219
  html: string | null;
1220
1220
  text: string | null;
1221
1221
  to: {
1222
- type: "user-primary-email";
1223
1222
  user_id: string;
1223
+ type: "user-primary-email";
1224
1224
  } | {
1225
- type: "user-custom-emails";
1226
1225
  user_id: string;
1226
+ type: "user-custom-emails";
1227
1227
  emails: string[];
1228
1228
  } | {
1229
1229
  type: "custom-emails";
@@ -1261,18 +1261,18 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1261
1261
  delivered_at_millis: number;
1262
1262
  can_have_delivery_info: boolean;
1263
1263
  } | {
1264
- id: string;
1265
1264
  status: "opened";
1265
+ id: string;
1266
1266
  subject: string;
1267
1267
  created_at_millis: number;
1268
1268
  html: string | null;
1269
1269
  text: string | null;
1270
1270
  to: {
1271
- type: "user-primary-email";
1272
1271
  user_id: string;
1272
+ type: "user-primary-email";
1273
1273
  } | {
1274
- type: "user-custom-emails";
1275
1274
  user_id: string;
1275
+ type: "user-custom-emails";
1276
1276
  emails: string[];
1277
1277
  } | {
1278
1278
  type: "custom-emails";
@@ -1311,18 +1311,18 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1311
1311
  can_have_delivery_info: boolean;
1312
1312
  opened_at_millis: number;
1313
1313
  } | {
1314
- id: string;
1315
1314
  status: "clicked";
1315
+ id: string;
1316
1316
  subject: string;
1317
1317
  created_at_millis: number;
1318
1318
  html: string | null;
1319
1319
  text: string | null;
1320
1320
  to: {
1321
- type: "user-primary-email";
1322
1321
  user_id: string;
1322
+ type: "user-primary-email";
1323
1323
  } | {
1324
- type: "user-custom-emails";
1325
1324
  user_id: string;
1325
+ type: "user-custom-emails";
1326
1326
  emails: string[];
1327
1327
  } | {
1328
1328
  type: "custom-emails";
@@ -1361,18 +1361,18 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1361
1361
  can_have_delivery_info: boolean;
1362
1362
  clicked_at_millis: number;
1363
1363
  } | {
1364
- id: string;
1365
1364
  status: "marked-as-spam";
1365
+ id: string;
1366
1366
  subject: string;
1367
1367
  created_at_millis: number;
1368
1368
  html: string | null;
1369
1369
  text: string | null;
1370
1370
  to: {
1371
- type: "user-primary-email";
1372
1371
  user_id: string;
1372
+ type: "user-primary-email";
1373
1373
  } | {
1374
- type: "user-custom-emails";
1375
1374
  user_id: string;
1375
+ type: "user-custom-emails";
1376
1376
  emails: string[];
1377
1377
  } | {
1378
1378
  type: "custom-emails";
@@ -1415,11 +1415,11 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1415
1415
  tsx_source: string | undefined;
1416
1416
  theme_id: string | null | undefined;
1417
1417
  to: {
1418
- type: "user-primary-email";
1419
1418
  user_id: string;
1419
+ type: "user-primary-email";
1420
1420
  } | {
1421
- type: "user-custom-emails";
1422
1421
  user_id: string;
1422
+ type: "user-custom-emails";
1423
1423
  emails: string[];
1424
1424
  } | {
1425
1425
  type: "custom-emails";