@hexclave/shared 1.0.49 → 1.0.51

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 (87) hide show
  1. package/dist/{admin-interface-BPBTfhZC.d.ts → admin-interface-CoReEE6d.d.ts} +10 -10
  2. package/dist/{admin-interface-BPBTfhZC.d.ts.map → admin-interface-CoReEE6d.d.ts.map} +1 -1
  3. package/dist/{admin-metrics-bsOkw4YQ.d.ts → admin-metrics-mSeJUgs_.d.ts} +11 -11
  4. package/dist/{admin-metrics-bsOkw4YQ.d.ts.map → admin-metrics-mSeJUgs_.d.ts.map} +1 -1
  5. package/dist/ai/unified-prompts/reminders.js +1 -0
  6. package/dist/ai/unified-prompts/reminders.js.map +1 -1
  7. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  8. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +3 -27
  9. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  10. package/dist/{client-interface-BQz4jNAC.d.ts → client-interface-Dq3rFlfp.d.ts} +8 -8
  11. package/dist/{client-interface-BQz4jNAC.d.ts.map → client-interface-Dq3rFlfp.d.ts.map} +1 -1
  12. package/dist/config/schema.d.ts +1 -1
  13. package/dist/config-authoring.d.ts +1 -1
  14. package/dist/{current-user-BBoN3hsn.d.ts → current-user-yKG-BuFC.d.ts} +6 -6
  15. package/dist/{current-user-BBoN3hsn.d.ts.map → current-user-yKG-BuFC.d.ts.map} +1 -1
  16. package/dist/{email-outbox-B1wmVPRG.d.ts → email-outbox-szT3xGTQ.d.ts} +95 -95
  17. package/dist/{email-outbox-B1wmVPRG.d.ts.map → email-outbox-szT3xGTQ.d.ts.map} +1 -1
  18. package/dist/esm/ai/unified-prompts/reminders.js +1 -0
  19. package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
  20. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  21. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +3 -27
  22. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  23. package/dist/esm/config/schema.d.ts +2 -2
  24. package/dist/esm/interface/admin-interface.js +1 -1
  25. package/dist/esm/interface/admin-metrics.d.ts +10 -10
  26. package/dist/esm/interface/client-interface.js +1 -1
  27. package/dist/esm/interface/conversations.d.ts +4 -4
  28. package/dist/esm/interface/crud/current-user.d.ts +5 -5
  29. package/dist/esm/interface/crud/email-outbox.d.ts +94 -94
  30. package/dist/esm/interface/crud/products.d.ts +15 -15
  31. package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
  32. package/dist/esm/interface/crud/team-member-profiles.d.ts +8 -8
  33. package/dist/esm/interface/crud/transactions.d.ts +20 -20
  34. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  35. package/dist/esm/interface/crud/users.d.ts +6 -6
  36. package/dist/esm/interface/plan-usage.d.ts +1 -1
  37. package/dist/esm/interface/server-interface.js +1 -1
  38. package/dist/esm/known-errors.d.ts +1 -1
  39. package/dist/esm/schema-fields.d.ts +2 -2
  40. package/dist/esm/sessions.d.ts +7 -7
  41. package/dist/helpers/password.d.ts +1 -1
  42. package/dist/index.d.ts +4 -4
  43. package/dist/interface/admin-interface.d.ts +2 -2
  44. package/dist/interface/admin-interface.js +1 -1
  45. package/dist/interface/admin-metrics.d.ts +1 -1
  46. package/dist/interface/client-interface.d.ts +1 -1
  47. package/dist/interface/client-interface.js +1 -1
  48. package/dist/interface/conversations.d.ts +4 -4
  49. package/dist/interface/crud/current-user.d.ts +1 -1
  50. package/dist/interface/crud/email-outbox.d.ts +1 -1
  51. package/dist/interface/crud/products.d.ts +1 -1
  52. package/dist/interface/crud/project-api-keys.d.ts +1 -1
  53. package/dist/interface/crud/team-member-profiles.d.ts +1 -1
  54. package/dist/interface/crud/transactions.d.ts +1 -1
  55. package/dist/interface/crud/users.d.ts +1 -1
  56. package/dist/interface/plan-usage.d.ts +1 -1
  57. package/dist/interface/server-interface.d.ts +1 -1
  58. package/dist/interface/server-interface.js +1 -1
  59. package/dist/{known-errors-Bm4a61wL.d.ts → known-errors-BFf8SVm8.d.ts} +2 -2
  60. package/dist/{known-errors-Bm4a61wL.d.ts.map → known-errors-BFf8SVm8.d.ts.map} +1 -1
  61. package/dist/known-errors.d.ts +1 -1
  62. package/dist/{plan-usage-BO2GsKlN.d.ts → plan-usage-CFwV688o.d.ts} +2 -2
  63. package/dist/{plan-usage-BO2GsKlN.d.ts.map → plan-usage-CFwV688o.d.ts.map} +1 -1
  64. package/dist/{products-D4o8A2W0.d.ts → products-DzedG6oU.d.ts} +16 -16
  65. package/dist/{products-D4o8A2W0.d.ts.map → products-DzedG6oU.d.ts.map} +1 -1
  66. package/dist/{project-api-keys--7V5X_UW.d.ts → project-api-keys-Di2ENRam.d.ts} +3 -3
  67. package/dist/{project-api-keys--7V5X_UW.d.ts.map → project-api-keys-Di2ENRam.d.ts.map} +1 -1
  68. package/dist/{schema-Daq0b_sf.d.ts → schema-Hy94hCXp.d.ts} +3 -3
  69. package/dist/{schema-Daq0b_sf.d.ts.map → schema-Hy94hCXp.d.ts.map} +1 -1
  70. package/dist/{schema-fields-DZtDQEEO.d.ts → schema-fields-DhryPaD4.d.ts} +3 -3
  71. package/dist/{schema-fields-DZtDQEEO.d.ts.map → schema-fields-DhryPaD4.d.ts.map} +1 -1
  72. package/dist/schema-fields.d.ts +1 -1
  73. package/dist/{server-interface-BjY-eS4Q.d.ts → server-interface-CCkVoW9E.d.ts} +8 -8
  74. package/dist/{server-interface-BjY-eS4Q.d.ts.map → server-interface-CCkVoW9E.d.ts.map} +1 -1
  75. package/dist/{sessions-CI-0TBQb.d.ts → sessions-CKNkS48M.d.ts} +9 -9
  76. package/dist/{sessions-CI-0TBQb.d.ts.map → sessions-CKNkS48M.d.ts.map} +1 -1
  77. package/dist/sessions.d.ts +1 -1
  78. package/dist/{team-member-profiles-BoDEqx-0.d.ts → team-member-profiles-jSNAduek.d.ts} +9 -9
  79. package/dist/{team-member-profiles-BoDEqx-0.d.ts.map → team-member-profiles-jSNAduek.d.ts.map} +1 -1
  80. package/dist/{transactions-CHNUJ42J.d.ts → transactions-icyjJzs-.d.ts} +21 -21
  81. package/dist/transactions-icyjJzs-.d.ts.map +1 -0
  82. package/dist/{users-DHNRwoSz.d.ts → users-CCg66YDE.d.ts} +7 -7
  83. package/dist/{users-DHNRwoSz.d.ts.map → users-CCg66YDE.d.ts.map} +1 -1
  84. package/package.json +1 -1
  85. package/src/ai/unified-prompts/reminders.ts +1 -0
  86. package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +3 -27
  87. package/dist/transactions-CHNUJ42J.d.ts.map +0 -1
@@ -2,18 +2,18 @@ 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
- status: "paused";
6
5
  id: string;
6
+ status: "paused";
7
7
  created_at_millis: number;
8
8
  updated_at_millis: number;
9
9
  tsx_source: string;
10
10
  theme_id: string | null;
11
11
  to: {
12
- user_id: string;
13
12
  type: "user-primary-email";
14
- } | {
15
13
  user_id: string;
14
+ } | {
16
15
  type: "user-custom-emails";
16
+ user_id: string;
17
17
  emails: string[];
18
18
  } | {
19
19
  type: "custom-emails";
@@ -40,18 +40,18 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
40
40
  has_rendered: boolean;
41
41
  has_delivered: boolean;
42
42
  } | {
43
- status: "preparing";
44
43
  id: string;
44
+ status: "preparing";
45
45
  created_at_millis: number;
46
46
  updated_at_millis: number;
47
47
  tsx_source: string;
48
48
  theme_id: string | null;
49
49
  to: {
50
- user_id: string;
51
50
  type: "user-primary-email";
52
- } | {
53
51
  user_id: string;
52
+ } | {
54
53
  type: "user-custom-emails";
54
+ user_id: string;
55
55
  emails: string[];
56
56
  } | {
57
57
  type: "custom-emails";
@@ -78,18 +78,18 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
78
78
  has_rendered: boolean;
79
79
  has_delivered: boolean;
80
80
  } | {
81
- status: "rendering";
82
81
  id: string;
82
+ status: "rendering";
83
83
  created_at_millis: number;
84
84
  updated_at_millis: number;
85
85
  tsx_source: string;
86
86
  theme_id: string | null;
87
87
  to: {
88
- user_id: string;
89
88
  type: "user-primary-email";
90
- } | {
91
89
  user_id: string;
90
+ } | {
92
91
  type: "user-custom-emails";
92
+ user_id: string;
93
93
  emails: string[];
94
94
  } | {
95
95
  type: "custom-emails";
@@ -117,18 +117,18 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
117
117
  has_delivered: boolean;
118
118
  started_rendering_at_millis: number;
119
119
  } | {
120
- status: "render-error";
121
120
  id: string;
121
+ status: "render-error";
122
122
  created_at_millis: number;
123
123
  updated_at_millis: number;
124
124
  tsx_source: string;
125
125
  theme_id: string | null;
126
126
  to: {
127
- user_id: string;
128
127
  type: "user-primary-email";
129
- } | {
130
128
  user_id: string;
129
+ } | {
131
130
  type: "user-custom-emails";
131
+ user_id: string;
132
132
  emails: string[];
133
133
  } | {
134
134
  type: "custom-emails";
@@ -158,8 +158,8 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
158
158
  rendered_at_millis: number;
159
159
  render_error: string;
160
160
  } | {
161
- status: "scheduled";
162
161
  id: string;
162
+ status: "scheduled";
163
163
  subject: string;
164
164
  created_at_millis: number;
165
165
  html: string | null;
@@ -168,11 +168,11 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
168
168
  tsx_source: string;
169
169
  theme_id: string | null;
170
170
  to: {
171
- user_id: string;
172
171
  type: "user-primary-email";
173
- } | {
174
172
  user_id: string;
173
+ } | {
175
174
  type: "user-custom-emails";
175
+ user_id: string;
176
176
  emails: string[];
177
177
  } | {
178
178
  type: "custom-emails";
@@ -204,8 +204,8 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
204
204
  is_high_priority: boolean;
205
205
  notification_category_id: string | null;
206
206
  } | {
207
- status: "queued";
208
207
  id: string;
208
+ status: "queued";
209
209
  subject: string;
210
210
  created_at_millis: number;
211
211
  html: string | null;
@@ -214,11 +214,11 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
214
214
  tsx_source: string;
215
215
  theme_id: string | null;
216
216
  to: {
217
- user_id: string;
218
217
  type: "user-primary-email";
219
- } | {
220
218
  user_id: string;
219
+ } | {
221
220
  type: "user-custom-emails";
221
+ user_id: string;
222
222
  emails: string[];
223
223
  } | {
224
224
  type: "custom-emails";
@@ -250,8 +250,8 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
250
250
  is_high_priority: boolean;
251
251
  notification_category_id: string | null;
252
252
  } | {
253
- status: "sending";
254
253
  id: string;
254
+ status: "sending";
255
255
  subject: string;
256
256
  created_at_millis: number;
257
257
  html: string | null;
@@ -260,11 +260,11 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
260
260
  tsx_source: string;
261
261
  theme_id: string | null;
262
262
  to: {
263
- user_id: string;
264
263
  type: "user-primary-email";
265
- } | {
266
264
  user_id: string;
265
+ } | {
267
266
  type: "user-custom-emails";
267
+ user_id: string;
268
268
  emails: string[];
269
269
  } | {
270
270
  type: "custom-emails";
@@ -297,8 +297,8 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
297
297
  notification_category_id: string | null;
298
298
  started_sending_at_millis: number;
299
299
  } | {
300
- status: "server-error";
301
300
  id: string;
301
+ status: "server-error";
302
302
  subject: string;
303
303
  created_at_millis: number;
304
304
  html: string | null;
@@ -307,11 +307,11 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
307
307
  tsx_source: string;
308
308
  theme_id: string | null;
309
309
  to: {
310
- user_id: string;
311
310
  type: "user-primary-email";
312
- } | {
313
311
  user_id: string;
312
+ } | {
314
313
  type: "user-custom-emails";
314
+ user_id: string;
315
315
  emails: string[];
316
316
  } | {
317
317
  type: "custom-emails";
@@ -355,18 +355,18 @@ 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
- status: "skipped";
359
358
  id: string;
359
+ status: "skipped";
360
360
  created_at_millis: number;
361
361
  updated_at_millis: number;
362
362
  tsx_source: string;
363
363
  theme_id: string | null;
364
364
  to: {
365
- user_id: string;
366
365
  type: "user-primary-email";
367
- } | {
368
366
  user_id: string;
367
+ } | {
369
368
  type: "user-custom-emails";
369
+ user_id: string;
370
370
  emails: string[];
371
371
  } | {
372
372
  type: "custom-emails";
@@ -396,8 +396,8 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
396
396
  skipped_reason: string;
397
397
  skipped_details: Record<string, {} | null>;
398
398
  } | {
399
- status: "bounced";
400
399
  id: string;
400
+ status: "bounced";
401
401
  subject: string;
402
402
  created_at_millis: number;
403
403
  html: string | null;
@@ -406,11 +406,11 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
406
406
  tsx_source: string;
407
407
  theme_id: string | null;
408
408
  to: {
409
- user_id: string;
410
409
  type: "user-primary-email";
411
- } | {
412
410
  user_id: string;
411
+ } | {
413
412
  type: "user-custom-emails";
413
+ user_id: string;
414
414
  emails: string[];
415
415
  } | {
416
416
  type: "custom-emails";
@@ -444,8 +444,8 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
444
444
  started_sending_at_millis: number;
445
445
  bounced_at_millis: number;
446
446
  } | {
447
- status: "delivery-delayed";
448
447
  id: string;
448
+ status: "delivery-delayed";
449
449
  subject: string;
450
450
  created_at_millis: number;
451
451
  html: string | null;
@@ -454,11 +454,11 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
454
454
  tsx_source: string;
455
455
  theme_id: string | null;
456
456
  to: {
457
- user_id: string;
458
457
  type: "user-primary-email";
459
- } | {
460
458
  user_id: string;
459
+ } | {
461
460
  type: "user-custom-emails";
461
+ user_id: string;
462
462
  emails: string[];
463
463
  } | {
464
464
  type: "custom-emails";
@@ -492,8 +492,8 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
492
492
  started_sending_at_millis: number;
493
493
  delivery_delayed_at_millis: number;
494
494
  } | {
495
- status: "sent";
496
495
  id: string;
496
+ status: "sent";
497
497
  subject: string;
498
498
  created_at_millis: number;
499
499
  html: string | null;
@@ -502,11 +502,11 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
502
502
  tsx_source: string;
503
503
  theme_id: string | null;
504
504
  to: {
505
- user_id: string;
506
505
  type: "user-primary-email";
507
- } | {
508
506
  user_id: string;
507
+ } | {
509
508
  type: "user-custom-emails";
509
+ user_id: string;
510
510
  emails: string[];
511
511
  } | {
512
512
  type: "custom-emails";
@@ -541,8 +541,8 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
541
541
  delivered_at_millis: number;
542
542
  can_have_delivery_info: boolean;
543
543
  } | {
544
- status: "opened";
545
544
  id: string;
545
+ status: "opened";
546
546
  subject: string;
547
547
  created_at_millis: number;
548
548
  html: string | null;
@@ -551,11 +551,11 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
551
551
  tsx_source: string;
552
552
  theme_id: string | null;
553
553
  to: {
554
- user_id: string;
555
554
  type: "user-primary-email";
556
- } | {
557
555
  user_id: string;
556
+ } | {
558
557
  type: "user-custom-emails";
558
+ user_id: string;
559
559
  emails: string[];
560
560
  } | {
561
561
  type: "custom-emails";
@@ -591,8 +591,8 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
591
591
  can_have_delivery_info: boolean;
592
592
  opened_at_millis: number;
593
593
  } | {
594
- status: "clicked";
595
594
  id: string;
595
+ status: "clicked";
596
596
  subject: string;
597
597
  created_at_millis: number;
598
598
  html: string | null;
@@ -601,11 +601,11 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
601
601
  tsx_source: string;
602
602
  theme_id: string | null;
603
603
  to: {
604
- user_id: string;
605
604
  type: "user-primary-email";
606
- } | {
607
605
  user_id: string;
606
+ } | {
608
607
  type: "user-custom-emails";
608
+ user_id: string;
609
609
  emails: string[];
610
610
  } | {
611
611
  type: "custom-emails";
@@ -641,8 +641,8 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
641
641
  can_have_delivery_info: boolean;
642
642
  clicked_at_millis: number;
643
643
  } | {
644
- status: "marked-as-spam";
645
644
  id: string;
645
+ status: "marked-as-spam";
646
646
  subject: string;
647
647
  created_at_millis: number;
648
648
  html: string | null;
@@ -651,11 +651,11 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
651
651
  tsx_source: string;
652
652
  theme_id: string | null;
653
653
  to: {
654
- user_id: string;
655
654
  type: "user-primary-email";
656
- } | {
657
655
  user_id: string;
656
+ } | {
658
657
  type: "user-custom-emails";
658
+ user_id: string;
659
659
  emails: string[];
660
660
  } | {
661
661
  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
- user_id: string;
699
698
  type: "user-primary-email";
700
- } | {
701
699
  user_id: string;
700
+ } | {
702
701
  type: "user-custom-emails";
702
+ user_id: string;
703
703
  emails: string[];
704
704
  } | {
705
705
  type: "custom-emails";
@@ -722,18 +722,18 @@ declare const emailOutboxUpdateSchema: import("yup").ObjectSchema<{
722
722
  }, "">;
723
723
  declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
724
724
  serverReadSchema: import("yup").MixedSchema<{
725
- status: "paused";
726
725
  id: string;
726
+ status: "paused";
727
727
  created_at_millis: number;
728
728
  updated_at_millis: number;
729
729
  tsx_source: string;
730
730
  theme_id: string | null;
731
731
  to: {
732
- user_id: string;
733
732
  type: "user-primary-email";
734
- } | {
735
733
  user_id: string;
734
+ } | {
736
735
  type: "user-custom-emails";
736
+ user_id: string;
737
737
  emails: string[];
738
738
  } | {
739
739
  type: "custom-emails";
@@ -760,18 +760,18 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
760
760
  has_rendered: boolean;
761
761
  has_delivered: boolean;
762
762
  } | {
763
- status: "preparing";
764
763
  id: string;
764
+ status: "preparing";
765
765
  created_at_millis: number;
766
766
  updated_at_millis: number;
767
767
  tsx_source: string;
768
768
  theme_id: string | null;
769
769
  to: {
770
- user_id: string;
771
770
  type: "user-primary-email";
772
- } | {
773
771
  user_id: string;
772
+ } | {
774
773
  type: "user-custom-emails";
774
+ user_id: string;
775
775
  emails: string[];
776
776
  } | {
777
777
  type: "custom-emails";
@@ -798,18 +798,18 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
798
798
  has_rendered: boolean;
799
799
  has_delivered: boolean;
800
800
  } | {
801
- status: "rendering";
802
801
  id: string;
802
+ status: "rendering";
803
803
  created_at_millis: number;
804
804
  updated_at_millis: number;
805
805
  tsx_source: string;
806
806
  theme_id: string | null;
807
807
  to: {
808
- user_id: string;
809
808
  type: "user-primary-email";
810
- } | {
811
809
  user_id: string;
810
+ } | {
812
811
  type: "user-custom-emails";
812
+ user_id: string;
813
813
  emails: string[];
814
814
  } | {
815
815
  type: "custom-emails";
@@ -837,18 +837,18 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
837
837
  has_delivered: boolean;
838
838
  started_rendering_at_millis: number;
839
839
  } | {
840
- status: "render-error";
841
840
  id: string;
841
+ status: "render-error";
842
842
  created_at_millis: number;
843
843
  updated_at_millis: number;
844
844
  tsx_source: string;
845
845
  theme_id: string | null;
846
846
  to: {
847
- user_id: string;
848
847
  type: "user-primary-email";
849
- } | {
850
848
  user_id: string;
849
+ } | {
851
850
  type: "user-custom-emails";
851
+ user_id: string;
852
852
  emails: string[];
853
853
  } | {
854
854
  type: "custom-emails";
@@ -878,8 +878,8 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
878
878
  rendered_at_millis: number;
879
879
  render_error: string;
880
880
  } | {
881
- status: "scheduled";
882
881
  id: string;
882
+ status: "scheduled";
883
883
  subject: string;
884
884
  created_at_millis: number;
885
885
  html: string | null;
@@ -888,11 +888,11 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
888
888
  tsx_source: string;
889
889
  theme_id: string | null;
890
890
  to: {
891
- user_id: string;
892
891
  type: "user-primary-email";
893
- } | {
894
892
  user_id: string;
893
+ } | {
895
894
  type: "user-custom-emails";
895
+ user_id: string;
896
896
  emails: string[];
897
897
  } | {
898
898
  type: "custom-emails";
@@ -924,8 +924,8 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
924
924
  is_high_priority: boolean;
925
925
  notification_category_id: string | null;
926
926
  } | {
927
- status: "queued";
928
927
  id: string;
928
+ status: "queued";
929
929
  subject: string;
930
930
  created_at_millis: number;
931
931
  html: string | null;
@@ -934,11 +934,11 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
934
934
  tsx_source: string;
935
935
  theme_id: string | null;
936
936
  to: {
937
- user_id: string;
938
937
  type: "user-primary-email";
939
- } | {
940
938
  user_id: string;
939
+ } | {
941
940
  type: "user-custom-emails";
941
+ user_id: string;
942
942
  emails: string[];
943
943
  } | {
944
944
  type: "custom-emails";
@@ -970,8 +970,8 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
970
970
  is_high_priority: boolean;
971
971
  notification_category_id: string | null;
972
972
  } | {
973
- status: "sending";
974
973
  id: string;
974
+ status: "sending";
975
975
  subject: string;
976
976
  created_at_millis: number;
977
977
  html: string | null;
@@ -980,11 +980,11 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
980
980
  tsx_source: string;
981
981
  theme_id: string | null;
982
982
  to: {
983
- user_id: string;
984
983
  type: "user-primary-email";
985
- } | {
986
984
  user_id: string;
985
+ } | {
987
986
  type: "user-custom-emails";
987
+ user_id: string;
988
988
  emails: string[];
989
989
  } | {
990
990
  type: "custom-emails";
@@ -1017,8 +1017,8 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1017
1017
  notification_category_id: string | null;
1018
1018
  started_sending_at_millis: number;
1019
1019
  } | {
1020
- status: "server-error";
1021
1020
  id: string;
1021
+ status: "server-error";
1022
1022
  subject: string;
1023
1023
  created_at_millis: number;
1024
1024
  html: string | null;
@@ -1027,11 +1027,11 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1027
1027
  tsx_source: string;
1028
1028
  theme_id: string | null;
1029
1029
  to: {
1030
- user_id: string;
1031
1030
  type: "user-primary-email";
1032
- } | {
1033
1031
  user_id: string;
1032
+ } | {
1034
1033
  type: "user-custom-emails";
1034
+ user_id: string;
1035
1035
  emails: string[];
1036
1036
  } | {
1037
1037
  type: "custom-emails";
@@ -1075,18 +1075,18 @@ 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
- status: "skipped";
1079
1078
  id: string;
1079
+ status: "skipped";
1080
1080
  created_at_millis: number;
1081
1081
  updated_at_millis: number;
1082
1082
  tsx_source: string;
1083
1083
  theme_id: string | null;
1084
1084
  to: {
1085
- user_id: string;
1086
1085
  type: "user-primary-email";
1087
- } | {
1088
1086
  user_id: string;
1087
+ } | {
1089
1088
  type: "user-custom-emails";
1089
+ user_id: string;
1090
1090
  emails: string[];
1091
1091
  } | {
1092
1092
  type: "custom-emails";
@@ -1116,8 +1116,8 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1116
1116
  skipped_reason: string;
1117
1117
  skipped_details: Record<string, {} | null>;
1118
1118
  } | {
1119
- status: "bounced";
1120
1119
  id: string;
1120
+ status: "bounced";
1121
1121
  subject: string;
1122
1122
  created_at_millis: number;
1123
1123
  html: string | null;
@@ -1126,11 +1126,11 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1126
1126
  tsx_source: string;
1127
1127
  theme_id: string | null;
1128
1128
  to: {
1129
- user_id: string;
1130
1129
  type: "user-primary-email";
1131
- } | {
1132
1130
  user_id: string;
1131
+ } | {
1133
1132
  type: "user-custom-emails";
1133
+ user_id: string;
1134
1134
  emails: string[];
1135
1135
  } | {
1136
1136
  type: "custom-emails";
@@ -1164,8 +1164,8 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1164
1164
  started_sending_at_millis: number;
1165
1165
  bounced_at_millis: number;
1166
1166
  } | {
1167
- status: "delivery-delayed";
1168
1167
  id: string;
1168
+ status: "delivery-delayed";
1169
1169
  subject: string;
1170
1170
  created_at_millis: number;
1171
1171
  html: string | null;
@@ -1174,11 +1174,11 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1174
1174
  tsx_source: string;
1175
1175
  theme_id: string | null;
1176
1176
  to: {
1177
- user_id: string;
1178
1177
  type: "user-primary-email";
1179
- } | {
1180
1178
  user_id: string;
1179
+ } | {
1181
1180
  type: "user-custom-emails";
1181
+ user_id: string;
1182
1182
  emails: string[];
1183
1183
  } | {
1184
1184
  type: "custom-emails";
@@ -1212,8 +1212,8 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1212
1212
  started_sending_at_millis: number;
1213
1213
  delivery_delayed_at_millis: number;
1214
1214
  } | {
1215
- status: "sent";
1216
1215
  id: string;
1216
+ status: "sent";
1217
1217
  subject: string;
1218
1218
  created_at_millis: number;
1219
1219
  html: string | null;
@@ -1222,11 +1222,11 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1222
1222
  tsx_source: string;
1223
1223
  theme_id: string | null;
1224
1224
  to: {
1225
- user_id: string;
1226
1225
  type: "user-primary-email";
1227
- } | {
1228
1226
  user_id: string;
1227
+ } | {
1229
1228
  type: "user-custom-emails";
1229
+ user_id: string;
1230
1230
  emails: string[];
1231
1231
  } | {
1232
1232
  type: "custom-emails";
@@ -1261,8 +1261,8 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1261
1261
  delivered_at_millis: number;
1262
1262
  can_have_delivery_info: boolean;
1263
1263
  } | {
1264
- status: "opened";
1265
1264
  id: string;
1265
+ status: "opened";
1266
1266
  subject: string;
1267
1267
  created_at_millis: number;
1268
1268
  html: string | null;
@@ -1271,11 +1271,11 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1271
1271
  tsx_source: string;
1272
1272
  theme_id: string | null;
1273
1273
  to: {
1274
- user_id: string;
1275
1274
  type: "user-primary-email";
1276
- } | {
1277
1275
  user_id: string;
1276
+ } | {
1278
1277
  type: "user-custom-emails";
1278
+ user_id: string;
1279
1279
  emails: string[];
1280
1280
  } | {
1281
1281
  type: "custom-emails";
@@ -1311,8 +1311,8 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1311
1311
  can_have_delivery_info: boolean;
1312
1312
  opened_at_millis: number;
1313
1313
  } | {
1314
- status: "clicked";
1315
1314
  id: string;
1315
+ status: "clicked";
1316
1316
  subject: string;
1317
1317
  created_at_millis: number;
1318
1318
  html: string | null;
@@ -1321,11 +1321,11 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1321
1321
  tsx_source: string;
1322
1322
  theme_id: string | null;
1323
1323
  to: {
1324
- user_id: string;
1325
1324
  type: "user-primary-email";
1326
- } | {
1327
1325
  user_id: string;
1326
+ } | {
1328
1327
  type: "user-custom-emails";
1328
+ user_id: string;
1329
1329
  emails: string[];
1330
1330
  } | {
1331
1331
  type: "custom-emails";
@@ -1361,8 +1361,8 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1361
1361
  can_have_delivery_info: boolean;
1362
1362
  clicked_at_millis: number;
1363
1363
  } | {
1364
- status: "marked-as-spam";
1365
1364
  id: string;
1365
+ status: "marked-as-spam";
1366
1366
  subject: string;
1367
1367
  created_at_millis: number;
1368
1368
  html: string | null;
@@ -1371,11 +1371,11 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1371
1371
  tsx_source: string;
1372
1372
  theme_id: string | null;
1373
1373
  to: {
1374
- user_id: string;
1375
1374
  type: "user-primary-email";
1376
- } | {
1377
1375
  user_id: string;
1376
+ } | {
1378
1377
  type: "user-custom-emails";
1378
+ user_id: string;
1379
1379
  emails: string[];
1380
1380
  } | {
1381
1381
  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
- user_id: string;
1419
1418
  type: "user-primary-email";
1420
- } | {
1421
1419
  user_id: string;
1420
+ } | {
1422
1421
  type: "user-custom-emails";
1422
+ user_id: string;
1423
1423
  emails: string[];
1424
1424
  } | {
1425
1425
  type: "custom-emails";