@hexclave/shared 1.0.21 → 1.0.23

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 (40) hide show
  1. package/dist/ai/unified-prompts/reminders.js +1 -1
  2. package/dist/ai/unified-prompts/skill-site-prompt.d.ts.map +1 -1
  3. package/dist/ai/unified-prompts/skill-site-prompt.js +4 -1
  4. package/dist/ai/unified-prompts/skill-site-prompt.js.map +1 -1
  5. package/dist/config/schema.d.ts +28 -28
  6. package/dist/esm/ai/unified-prompts/reminders.js +1 -1
  7. package/dist/esm/ai/unified-prompts/skill-site-prompt.d.ts.map +1 -1
  8. package/dist/esm/ai/unified-prompts/skill-site-prompt.js +4 -1
  9. package/dist/esm/ai/unified-prompts/skill-site-prompt.js.map +1 -1
  10. package/dist/esm/config/schema.d.ts +28 -28
  11. package/dist/esm/interface/admin-interface.d.ts +1 -0
  12. package/dist/esm/interface/admin-interface.d.ts.map +1 -1
  13. package/dist/esm/interface/admin-interface.js +1 -0
  14. package/dist/esm/interface/admin-interface.js.map +1 -1
  15. package/dist/esm/interface/admin-metrics.d.ts +5 -5
  16. package/dist/esm/interface/conversations.d.ts +24 -24
  17. package/dist/esm/interface/crud/current-user.d.ts +1 -1
  18. package/dist/esm/interface/crud/email-outbox.d.ts +154 -154
  19. package/dist/esm/interface/crud/email-outbox.js +1 -1
  20. package/dist/esm/interface/crud/email-outbox.js.map +1 -1
  21. package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
  22. package/dist/esm/interface/crud/team-member-profiles.d.ts +8 -8
  23. package/dist/esm/interface/crud/users.d.ts +4 -4
  24. package/dist/interface/admin-interface.d.ts +1 -0
  25. package/dist/interface/admin-interface.d.ts.map +1 -1
  26. package/dist/interface/admin-interface.js +1 -0
  27. package/dist/interface/admin-interface.js.map +1 -1
  28. package/dist/interface/admin-metrics.d.ts +5 -5
  29. package/dist/interface/conversations.d.ts +24 -24
  30. package/dist/interface/crud/current-user.d.ts +1 -1
  31. package/dist/interface/crud/email-outbox.d.ts +154 -154
  32. package/dist/interface/crud/email-outbox.js +1 -1
  33. package/dist/interface/crud/email-outbox.js.map +1 -1
  34. package/dist/interface/crud/project-api-keys.d.ts +2 -2
  35. package/dist/interface/crud/team-member-profiles.d.ts +8 -8
  36. package/dist/interface/crud/users.d.ts +4 -4
  37. package/package.json +1 -1
  38. package/src/ai/unified-prompts/skill-site-prompt.ts +4 -1
  39. package/src/interface/admin-interface.ts +2 -1
  40. package/src/interface/crud/email-outbox.ts +1 -1
@@ -6,6 +6,9 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
6
6
  status: "paused";
7
7
  id: string;
8
8
  created_at_millis: number;
9
+ updated_at_millis: number;
10
+ tsx_source: string;
11
+ theme_id: string | null;
9
12
  to: {
10
13
  user_id: string;
11
14
  type: "user-primary-email";
@@ -17,9 +20,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
17
20
  type: "custom-emails";
18
21
  emails: string[];
19
22
  };
20
- updated_at_millis: number;
21
- tsx_source: string;
22
- theme_id: string | null;
23
23
  variables: Record<string, {} | null>;
24
24
  skip_deliverability_check: boolean;
25
25
  scheduled_at_millis: number;
@@ -44,6 +44,9 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
44
44
  status: "preparing";
45
45
  id: string;
46
46
  created_at_millis: number;
47
+ updated_at_millis: number;
48
+ tsx_source: string;
49
+ theme_id: string | null;
47
50
  to: {
48
51
  user_id: string;
49
52
  type: "user-primary-email";
@@ -55,9 +58,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
55
58
  type: "custom-emails";
56
59
  emails: string[];
57
60
  };
58
- updated_at_millis: number;
59
- tsx_source: string;
60
- theme_id: string | null;
61
61
  variables: Record<string, {} | null>;
62
62
  skip_deliverability_check: boolean;
63
63
  scheduled_at_millis: number;
@@ -82,6 +82,9 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
82
82
  status: "rendering";
83
83
  id: string;
84
84
  created_at_millis: number;
85
+ updated_at_millis: number;
86
+ tsx_source: string;
87
+ theme_id: string | null;
85
88
  to: {
86
89
  user_id: string;
87
90
  type: "user-primary-email";
@@ -93,9 +96,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
93
96
  type: "custom-emails";
94
97
  emails: string[];
95
98
  };
96
- updated_at_millis: number;
97
- tsx_source: string;
98
- theme_id: string | null;
99
99
  variables: Record<string, {} | null>;
100
100
  skip_deliverability_check: boolean;
101
101
  scheduled_at_millis: number;
@@ -121,6 +121,9 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
121
121
  status: "render-error";
122
122
  id: string;
123
123
  created_at_millis: number;
124
+ updated_at_millis: number;
125
+ tsx_source: string;
126
+ theme_id: string | null;
124
127
  to: {
125
128
  user_id: string;
126
129
  type: "user-primary-email";
@@ -132,9 +135,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
132
135
  type: "custom-emails";
133
136
  emails: string[];
134
137
  };
135
- updated_at_millis: number;
136
- tsx_source: string;
137
- theme_id: string | null;
138
138
  variables: Record<string, {} | null>;
139
139
  skip_deliverability_check: boolean;
140
140
  scheduled_at_millis: number;
@@ -161,8 +161,13 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
161
161
  } | {
162
162
  status: "scheduled";
163
163
  id: string;
164
- subject: string;
164
+ html: string | null;
165
+ text: string | null;
165
166
  created_at_millis: number;
167
+ subject: string;
168
+ updated_at_millis: number;
169
+ tsx_source: string;
170
+ theme_id: string | null;
166
171
  to: {
167
172
  user_id: string;
168
173
  type: "user-primary-email";
@@ -174,9 +179,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
174
179
  type: "custom-emails";
175
180
  emails: string[];
176
181
  };
177
- updated_at_millis: number;
178
- tsx_source: string;
179
- theme_id: string | null;
180
182
  variables: Record<string, {} | null>;
181
183
  skip_deliverability_check: boolean;
182
184
  scheduled_at_millis: number;
@@ -199,16 +201,19 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
199
201
  has_delivered: boolean;
200
202
  started_rendering_at_millis: number;
201
203
  rendered_at_millis: number;
202
- html: string | null;
203
- text: string | null;
204
204
  is_transactional: boolean;
205
205
  is_high_priority: boolean;
206
206
  notification_category_id: string | null;
207
207
  } | {
208
208
  status: "queued";
209
209
  id: string;
210
- subject: string;
210
+ html: string | null;
211
+ text: string | null;
211
212
  created_at_millis: number;
213
+ subject: string;
214
+ updated_at_millis: number;
215
+ tsx_source: string;
216
+ theme_id: string | null;
212
217
  to: {
213
218
  user_id: string;
214
219
  type: "user-primary-email";
@@ -220,9 +225,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
220
225
  type: "custom-emails";
221
226
  emails: string[];
222
227
  };
223
- updated_at_millis: number;
224
- tsx_source: string;
225
- theme_id: string | null;
226
228
  variables: Record<string, {} | null>;
227
229
  skip_deliverability_check: boolean;
228
230
  scheduled_at_millis: number;
@@ -245,16 +247,19 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
245
247
  has_delivered: boolean;
246
248
  started_rendering_at_millis: number;
247
249
  rendered_at_millis: number;
248
- html: string | null;
249
- text: string | null;
250
250
  is_transactional: boolean;
251
251
  is_high_priority: boolean;
252
252
  notification_category_id: string | null;
253
253
  } | {
254
254
  status: "sending";
255
255
  id: string;
256
- subject: string;
256
+ html: string | null;
257
+ text: string | null;
257
258
  created_at_millis: number;
259
+ subject: string;
260
+ updated_at_millis: number;
261
+ tsx_source: string;
262
+ theme_id: string | null;
258
263
  to: {
259
264
  user_id: string;
260
265
  type: "user-primary-email";
@@ -266,9 +271,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
266
271
  type: "custom-emails";
267
272
  emails: string[];
268
273
  };
269
- updated_at_millis: number;
270
- tsx_source: string;
271
- theme_id: string | null;
272
274
  variables: Record<string, {} | null>;
273
275
  skip_deliverability_check: boolean;
274
276
  scheduled_at_millis: number;
@@ -291,8 +293,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
291
293
  has_delivered: boolean;
292
294
  started_rendering_at_millis: number;
293
295
  rendered_at_millis: number;
294
- html: string | null;
295
- text: string | null;
296
296
  is_transactional: boolean;
297
297
  is_high_priority: boolean;
298
298
  notification_category_id: string | null;
@@ -300,8 +300,13 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
300
300
  } | {
301
301
  status: "server-error";
302
302
  id: string;
303
- subject: string;
303
+ html: string | null;
304
+ text: string | null;
304
305
  created_at_millis: number;
306
+ subject: string;
307
+ updated_at_millis: number;
308
+ tsx_source: string;
309
+ theme_id: string | null;
305
310
  to: {
306
311
  user_id: string;
307
312
  type: "user-primary-email";
@@ -313,9 +318,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
313
318
  type: "custom-emails";
314
319
  emails: string[];
315
320
  };
316
- updated_at_millis: number;
317
- tsx_source: string;
318
- theme_id: string | null;
319
321
  variables: Record<string, {} | null>;
320
322
  skip_deliverability_check: boolean;
321
323
  scheduled_at_millis: number;
@@ -338,8 +340,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
338
340
  has_delivered: boolean;
339
341
  started_rendering_at_millis: number;
340
342
  rendered_at_millis: number;
341
- html: string | null;
342
- text: string | null;
343
343
  is_transactional: boolean;
344
344
  is_high_priority: boolean;
345
345
  notification_category_id: string | null;
@@ -347,11 +347,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
347
347
  error_at_millis: number;
348
348
  server_error: string;
349
349
  } | {
350
+ html?: string | null | undefined;
351
+ text?: string | null | undefined;
350
352
  subject?: string | undefined;
351
353
  started_rendering_at_millis?: number | undefined;
352
354
  rendered_at_millis?: number | undefined;
353
- html?: string | null | undefined;
354
- text?: string | null | undefined;
355
355
  is_transactional?: boolean | undefined;
356
356
  is_high_priority?: boolean | undefined;
357
357
  notification_category_id?: string | null | undefined;
@@ -359,6 +359,9 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
359
359
  status: "skipped";
360
360
  id: string;
361
361
  created_at_millis: number;
362
+ updated_at_millis: number;
363
+ tsx_source: string;
364
+ theme_id: string | null;
362
365
  to: {
363
366
  user_id: string;
364
367
  type: "user-primary-email";
@@ -370,9 +373,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
370
373
  type: "custom-emails";
371
374
  emails: string[];
372
375
  };
373
- updated_at_millis: number;
374
- tsx_source: string;
375
- theme_id: string | null;
376
376
  variables: Record<string, {} | null>;
377
377
  skip_deliverability_check: boolean;
378
378
  scheduled_at_millis: number;
@@ -399,8 +399,13 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
399
399
  } | {
400
400
  status: "bounced";
401
401
  id: string;
402
- subject: string;
402
+ html: string | null;
403
+ text: string | null;
403
404
  created_at_millis: number;
405
+ subject: string;
406
+ updated_at_millis: number;
407
+ tsx_source: string;
408
+ theme_id: string | null;
404
409
  to: {
405
410
  user_id: string;
406
411
  type: "user-primary-email";
@@ -412,9 +417,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
412
417
  type: "custom-emails";
413
418
  emails: string[];
414
419
  };
415
- updated_at_millis: number;
416
- tsx_source: string;
417
- theme_id: string | null;
418
420
  variables: Record<string, {} | null>;
419
421
  skip_deliverability_check: boolean;
420
422
  scheduled_at_millis: number;
@@ -437,8 +439,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
437
439
  has_delivered: boolean;
438
440
  started_rendering_at_millis: number;
439
441
  rendered_at_millis: number;
440
- html: string | null;
441
- text: string | null;
442
442
  is_transactional: boolean;
443
443
  is_high_priority: boolean;
444
444
  notification_category_id: string | null;
@@ -447,8 +447,13 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
447
447
  } | {
448
448
  status: "delivery-delayed";
449
449
  id: string;
450
- subject: string;
450
+ html: string | null;
451
+ text: string | null;
451
452
  created_at_millis: number;
453
+ subject: string;
454
+ updated_at_millis: number;
455
+ tsx_source: string;
456
+ theme_id: string | null;
452
457
  to: {
453
458
  user_id: string;
454
459
  type: "user-primary-email";
@@ -460,9 +465,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
460
465
  type: "custom-emails";
461
466
  emails: string[];
462
467
  };
463
- updated_at_millis: number;
464
- tsx_source: string;
465
- theme_id: string | null;
466
468
  variables: Record<string, {} | null>;
467
469
  skip_deliverability_check: boolean;
468
470
  scheduled_at_millis: number;
@@ -485,8 +487,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
485
487
  has_delivered: boolean;
486
488
  started_rendering_at_millis: number;
487
489
  rendered_at_millis: number;
488
- html: string | null;
489
- text: string | null;
490
490
  is_transactional: boolean;
491
491
  is_high_priority: boolean;
492
492
  notification_category_id: string | null;
@@ -495,8 +495,13 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
495
495
  } | {
496
496
  status: "sent";
497
497
  id: string;
498
- subject: string;
498
+ html: string | null;
499
+ text: string | null;
499
500
  created_at_millis: number;
501
+ subject: string;
502
+ updated_at_millis: number;
503
+ tsx_source: string;
504
+ theme_id: string | null;
500
505
  to: {
501
506
  user_id: string;
502
507
  type: "user-primary-email";
@@ -508,9 +513,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
508
513
  type: "custom-emails";
509
514
  emails: string[];
510
515
  };
511
- updated_at_millis: number;
512
- tsx_source: string;
513
- theme_id: string | null;
514
516
  variables: Record<string, {} | null>;
515
517
  skip_deliverability_check: boolean;
516
518
  scheduled_at_millis: number;
@@ -533,8 +535,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
533
535
  has_delivered: boolean;
534
536
  started_rendering_at_millis: number;
535
537
  rendered_at_millis: number;
536
- html: string | null;
537
- text: string | null;
538
538
  is_transactional: boolean;
539
539
  is_high_priority: boolean;
540
540
  notification_category_id: string | null;
@@ -544,8 +544,13 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
544
544
  } | {
545
545
  status: "opened";
546
546
  id: string;
547
- subject: string;
547
+ html: string | null;
548
+ text: string | null;
548
549
  created_at_millis: number;
550
+ subject: string;
551
+ updated_at_millis: number;
552
+ tsx_source: string;
553
+ theme_id: string | null;
549
554
  to: {
550
555
  user_id: string;
551
556
  type: "user-primary-email";
@@ -557,9 +562,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
557
562
  type: "custom-emails";
558
563
  emails: string[];
559
564
  };
560
- updated_at_millis: number;
561
- tsx_source: string;
562
- theme_id: string | null;
563
565
  variables: Record<string, {} | null>;
564
566
  skip_deliverability_check: boolean;
565
567
  scheduled_at_millis: number;
@@ -582,8 +584,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
582
584
  has_delivered: boolean;
583
585
  started_rendering_at_millis: number;
584
586
  rendered_at_millis: number;
585
- html: string | null;
586
- text: string | null;
587
587
  is_transactional: boolean;
588
588
  is_high_priority: boolean;
589
589
  notification_category_id: string | null;
@@ -594,8 +594,13 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
594
594
  } | {
595
595
  status: "clicked";
596
596
  id: string;
597
- subject: string;
597
+ html: string | null;
598
+ text: string | null;
598
599
  created_at_millis: number;
600
+ subject: string;
601
+ updated_at_millis: number;
602
+ tsx_source: string;
603
+ theme_id: string | null;
599
604
  to: {
600
605
  user_id: string;
601
606
  type: "user-primary-email";
@@ -607,9 +612,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
607
612
  type: "custom-emails";
608
613
  emails: string[];
609
614
  };
610
- updated_at_millis: number;
611
- tsx_source: string;
612
- theme_id: string | null;
613
615
  variables: Record<string, {} | null>;
614
616
  skip_deliverability_check: boolean;
615
617
  scheduled_at_millis: number;
@@ -632,8 +634,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
632
634
  has_delivered: boolean;
633
635
  started_rendering_at_millis: number;
634
636
  rendered_at_millis: number;
635
- html: string | null;
636
- text: string | null;
637
637
  is_transactional: boolean;
638
638
  is_high_priority: boolean;
639
639
  notification_category_id: string | null;
@@ -644,8 +644,13 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
644
644
  } | {
645
645
  status: "marked-as-spam";
646
646
  id: string;
647
- subject: string;
647
+ html: string | null;
648
+ text: string | null;
648
649
  created_at_millis: number;
650
+ subject: string;
651
+ updated_at_millis: number;
652
+ tsx_source: string;
653
+ theme_id: string | null;
649
654
  to: {
650
655
  user_id: string;
651
656
  type: "user-primary-email";
@@ -657,9 +662,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
657
662
  type: "custom-emails";
658
663
  emails: string[];
659
664
  };
660
- updated_at_millis: number;
661
- tsx_source: string;
662
- theme_id: string | null;
663
665
  variables: Record<string, {} | null>;
664
666
  skip_deliverability_check: boolean;
665
667
  scheduled_at_millis: number;
@@ -682,8 +684,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
682
684
  has_delivered: boolean;
683
685
  started_rendering_at_millis: number;
684
686
  rendered_at_millis: number;
685
- html: string | null;
686
- text: string | null;
687
687
  is_transactional: boolean;
688
688
  is_high_priority: boolean;
689
689
  notification_category_id: string | null;
@@ -726,6 +726,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
726
726
  status: "paused";
727
727
  id: string;
728
728
  created_at_millis: number;
729
+ updated_at_millis: number;
730
+ tsx_source: string;
731
+ theme_id: string | null;
729
732
  to: {
730
733
  user_id: string;
731
734
  type: "user-primary-email";
@@ -737,9 +740,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
737
740
  type: "custom-emails";
738
741
  emails: string[];
739
742
  };
740
- updated_at_millis: number;
741
- tsx_source: string;
742
- theme_id: string | null;
743
743
  variables: Record<string, {} | null>;
744
744
  skip_deliverability_check: boolean;
745
745
  scheduled_at_millis: number;
@@ -764,6 +764,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
764
764
  status: "preparing";
765
765
  id: string;
766
766
  created_at_millis: number;
767
+ updated_at_millis: number;
768
+ tsx_source: string;
769
+ theme_id: string | null;
767
770
  to: {
768
771
  user_id: string;
769
772
  type: "user-primary-email";
@@ -775,9 +778,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
775
778
  type: "custom-emails";
776
779
  emails: string[];
777
780
  };
778
- updated_at_millis: number;
779
- tsx_source: string;
780
- theme_id: string | null;
781
781
  variables: Record<string, {} | null>;
782
782
  skip_deliverability_check: boolean;
783
783
  scheduled_at_millis: number;
@@ -802,6 +802,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
802
802
  status: "rendering";
803
803
  id: string;
804
804
  created_at_millis: number;
805
+ updated_at_millis: number;
806
+ tsx_source: string;
807
+ theme_id: string | null;
805
808
  to: {
806
809
  user_id: string;
807
810
  type: "user-primary-email";
@@ -813,9 +816,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
813
816
  type: "custom-emails";
814
817
  emails: string[];
815
818
  };
816
- updated_at_millis: number;
817
- tsx_source: string;
818
- theme_id: string | null;
819
819
  variables: Record<string, {} | null>;
820
820
  skip_deliverability_check: boolean;
821
821
  scheduled_at_millis: number;
@@ -841,6 +841,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
841
841
  status: "render-error";
842
842
  id: string;
843
843
  created_at_millis: number;
844
+ updated_at_millis: number;
845
+ tsx_source: string;
846
+ theme_id: string | null;
844
847
  to: {
845
848
  user_id: string;
846
849
  type: "user-primary-email";
@@ -852,9 +855,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
852
855
  type: "custom-emails";
853
856
  emails: string[];
854
857
  };
855
- updated_at_millis: number;
856
- tsx_source: string;
857
- theme_id: string | null;
858
858
  variables: Record<string, {} | null>;
859
859
  skip_deliverability_check: boolean;
860
860
  scheduled_at_millis: number;
@@ -881,8 +881,13 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
881
881
  } | {
882
882
  status: "scheduled";
883
883
  id: string;
884
- subject: string;
884
+ html: string | null;
885
+ text: string | null;
885
886
  created_at_millis: number;
887
+ subject: string;
888
+ updated_at_millis: number;
889
+ tsx_source: string;
890
+ theme_id: string | null;
886
891
  to: {
887
892
  user_id: string;
888
893
  type: "user-primary-email";
@@ -894,9 +899,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
894
899
  type: "custom-emails";
895
900
  emails: string[];
896
901
  };
897
- updated_at_millis: number;
898
- tsx_source: string;
899
- theme_id: string | null;
900
902
  variables: Record<string, {} | null>;
901
903
  skip_deliverability_check: boolean;
902
904
  scheduled_at_millis: number;
@@ -919,16 +921,19 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
919
921
  has_delivered: boolean;
920
922
  started_rendering_at_millis: number;
921
923
  rendered_at_millis: number;
922
- html: string | null;
923
- text: string | null;
924
924
  is_transactional: boolean;
925
925
  is_high_priority: boolean;
926
926
  notification_category_id: string | null;
927
927
  } | {
928
928
  status: "queued";
929
929
  id: string;
930
- subject: string;
930
+ html: string | null;
931
+ text: string | null;
931
932
  created_at_millis: number;
933
+ subject: string;
934
+ updated_at_millis: number;
935
+ tsx_source: string;
936
+ theme_id: string | null;
932
937
  to: {
933
938
  user_id: string;
934
939
  type: "user-primary-email";
@@ -940,9 +945,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
940
945
  type: "custom-emails";
941
946
  emails: string[];
942
947
  };
943
- updated_at_millis: number;
944
- tsx_source: string;
945
- theme_id: string | null;
946
948
  variables: Record<string, {} | null>;
947
949
  skip_deliverability_check: boolean;
948
950
  scheduled_at_millis: number;
@@ -965,16 +967,19 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
965
967
  has_delivered: boolean;
966
968
  started_rendering_at_millis: number;
967
969
  rendered_at_millis: number;
968
- html: string | null;
969
- text: string | null;
970
970
  is_transactional: boolean;
971
971
  is_high_priority: boolean;
972
972
  notification_category_id: string | null;
973
973
  } | {
974
974
  status: "sending";
975
975
  id: string;
976
- subject: string;
976
+ html: string | null;
977
+ text: string | null;
977
978
  created_at_millis: number;
979
+ subject: string;
980
+ updated_at_millis: number;
981
+ tsx_source: string;
982
+ theme_id: string | null;
978
983
  to: {
979
984
  user_id: string;
980
985
  type: "user-primary-email";
@@ -986,9 +991,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
986
991
  type: "custom-emails";
987
992
  emails: string[];
988
993
  };
989
- updated_at_millis: number;
990
- tsx_source: string;
991
- theme_id: string | null;
992
994
  variables: Record<string, {} | null>;
993
995
  skip_deliverability_check: boolean;
994
996
  scheduled_at_millis: number;
@@ -1011,8 +1013,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1011
1013
  has_delivered: boolean;
1012
1014
  started_rendering_at_millis: number;
1013
1015
  rendered_at_millis: number;
1014
- html: string | null;
1015
- text: string | null;
1016
1016
  is_transactional: boolean;
1017
1017
  is_high_priority: boolean;
1018
1018
  notification_category_id: string | null;
@@ -1020,8 +1020,13 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1020
1020
  } | {
1021
1021
  status: "server-error";
1022
1022
  id: string;
1023
- subject: string;
1023
+ html: string | null;
1024
+ text: string | null;
1024
1025
  created_at_millis: number;
1026
+ subject: string;
1027
+ updated_at_millis: number;
1028
+ tsx_source: string;
1029
+ theme_id: string | null;
1025
1030
  to: {
1026
1031
  user_id: string;
1027
1032
  type: "user-primary-email";
@@ -1033,9 +1038,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1033
1038
  type: "custom-emails";
1034
1039
  emails: string[];
1035
1040
  };
1036
- updated_at_millis: number;
1037
- tsx_source: string;
1038
- theme_id: string | null;
1039
1041
  variables: Record<string, {} | null>;
1040
1042
  skip_deliverability_check: boolean;
1041
1043
  scheduled_at_millis: number;
@@ -1058,8 +1060,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1058
1060
  has_delivered: boolean;
1059
1061
  started_rendering_at_millis: number;
1060
1062
  rendered_at_millis: number;
1061
- html: string | null;
1062
- text: string | null;
1063
1063
  is_transactional: boolean;
1064
1064
  is_high_priority: boolean;
1065
1065
  notification_category_id: string | null;
@@ -1067,11 +1067,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1067
1067
  error_at_millis: number;
1068
1068
  server_error: string;
1069
1069
  } | {
1070
+ html?: string | null | undefined;
1071
+ text?: string | null | undefined;
1070
1072
  subject?: string | undefined;
1071
1073
  started_rendering_at_millis?: number | undefined;
1072
1074
  rendered_at_millis?: number | undefined;
1073
- html?: string | null | undefined;
1074
- text?: string | null | undefined;
1075
1075
  is_transactional?: boolean | undefined;
1076
1076
  is_high_priority?: boolean | undefined;
1077
1077
  notification_category_id?: string | null | undefined;
@@ -1079,6 +1079,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1079
1079
  status: "skipped";
1080
1080
  id: string;
1081
1081
  created_at_millis: number;
1082
+ updated_at_millis: number;
1083
+ tsx_source: string;
1084
+ theme_id: string | null;
1082
1085
  to: {
1083
1086
  user_id: string;
1084
1087
  type: "user-primary-email";
@@ -1090,9 +1093,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1090
1093
  type: "custom-emails";
1091
1094
  emails: string[];
1092
1095
  };
1093
- updated_at_millis: number;
1094
- tsx_source: string;
1095
- theme_id: string | null;
1096
1096
  variables: Record<string, {} | null>;
1097
1097
  skip_deliverability_check: boolean;
1098
1098
  scheduled_at_millis: number;
@@ -1119,8 +1119,13 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1119
1119
  } | {
1120
1120
  status: "bounced";
1121
1121
  id: string;
1122
- subject: string;
1122
+ html: string | null;
1123
+ text: string | null;
1123
1124
  created_at_millis: number;
1125
+ subject: string;
1126
+ updated_at_millis: number;
1127
+ tsx_source: string;
1128
+ theme_id: string | null;
1124
1129
  to: {
1125
1130
  user_id: string;
1126
1131
  type: "user-primary-email";
@@ -1132,9 +1137,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1132
1137
  type: "custom-emails";
1133
1138
  emails: string[];
1134
1139
  };
1135
- updated_at_millis: number;
1136
- tsx_source: string;
1137
- theme_id: string | null;
1138
1140
  variables: Record<string, {} | null>;
1139
1141
  skip_deliverability_check: boolean;
1140
1142
  scheduled_at_millis: number;
@@ -1157,8 +1159,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1157
1159
  has_delivered: boolean;
1158
1160
  started_rendering_at_millis: number;
1159
1161
  rendered_at_millis: number;
1160
- html: string | null;
1161
- text: string | null;
1162
1162
  is_transactional: boolean;
1163
1163
  is_high_priority: boolean;
1164
1164
  notification_category_id: string | null;
@@ -1167,8 +1167,13 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1167
1167
  } | {
1168
1168
  status: "delivery-delayed";
1169
1169
  id: string;
1170
- subject: string;
1170
+ html: string | null;
1171
+ text: string | null;
1171
1172
  created_at_millis: number;
1173
+ subject: string;
1174
+ updated_at_millis: number;
1175
+ tsx_source: string;
1176
+ theme_id: string | null;
1172
1177
  to: {
1173
1178
  user_id: string;
1174
1179
  type: "user-primary-email";
@@ -1180,9 +1185,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1180
1185
  type: "custom-emails";
1181
1186
  emails: string[];
1182
1187
  };
1183
- updated_at_millis: number;
1184
- tsx_source: string;
1185
- theme_id: string | null;
1186
1188
  variables: Record<string, {} | null>;
1187
1189
  skip_deliverability_check: boolean;
1188
1190
  scheduled_at_millis: number;
@@ -1205,8 +1207,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1205
1207
  has_delivered: boolean;
1206
1208
  started_rendering_at_millis: number;
1207
1209
  rendered_at_millis: number;
1208
- html: string | null;
1209
- text: string | null;
1210
1210
  is_transactional: boolean;
1211
1211
  is_high_priority: boolean;
1212
1212
  notification_category_id: string | null;
@@ -1215,8 +1215,13 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1215
1215
  } | {
1216
1216
  status: "sent";
1217
1217
  id: string;
1218
- subject: string;
1218
+ html: string | null;
1219
+ text: string | null;
1219
1220
  created_at_millis: number;
1221
+ subject: string;
1222
+ updated_at_millis: number;
1223
+ tsx_source: string;
1224
+ theme_id: string | null;
1220
1225
  to: {
1221
1226
  user_id: string;
1222
1227
  type: "user-primary-email";
@@ -1228,9 +1233,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1228
1233
  type: "custom-emails";
1229
1234
  emails: string[];
1230
1235
  };
1231
- updated_at_millis: number;
1232
- tsx_source: string;
1233
- theme_id: string | null;
1234
1236
  variables: Record<string, {} | null>;
1235
1237
  skip_deliverability_check: boolean;
1236
1238
  scheduled_at_millis: number;
@@ -1253,8 +1255,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1253
1255
  has_delivered: boolean;
1254
1256
  started_rendering_at_millis: number;
1255
1257
  rendered_at_millis: number;
1256
- html: string | null;
1257
- text: string | null;
1258
1258
  is_transactional: boolean;
1259
1259
  is_high_priority: boolean;
1260
1260
  notification_category_id: string | null;
@@ -1264,8 +1264,13 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1264
1264
  } | {
1265
1265
  status: "opened";
1266
1266
  id: string;
1267
- subject: string;
1267
+ html: string | null;
1268
+ text: string | null;
1268
1269
  created_at_millis: number;
1270
+ subject: string;
1271
+ updated_at_millis: number;
1272
+ tsx_source: string;
1273
+ theme_id: string | null;
1269
1274
  to: {
1270
1275
  user_id: string;
1271
1276
  type: "user-primary-email";
@@ -1277,9 +1282,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1277
1282
  type: "custom-emails";
1278
1283
  emails: string[];
1279
1284
  };
1280
- updated_at_millis: number;
1281
- tsx_source: string;
1282
- theme_id: string | null;
1283
1285
  variables: Record<string, {} | null>;
1284
1286
  skip_deliverability_check: boolean;
1285
1287
  scheduled_at_millis: number;
@@ -1302,8 +1304,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1302
1304
  has_delivered: boolean;
1303
1305
  started_rendering_at_millis: number;
1304
1306
  rendered_at_millis: number;
1305
- html: string | null;
1306
- text: string | null;
1307
1307
  is_transactional: boolean;
1308
1308
  is_high_priority: boolean;
1309
1309
  notification_category_id: string | null;
@@ -1314,8 +1314,13 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1314
1314
  } | {
1315
1315
  status: "clicked";
1316
1316
  id: string;
1317
- subject: string;
1317
+ html: string | null;
1318
+ text: string | null;
1318
1319
  created_at_millis: number;
1320
+ subject: string;
1321
+ updated_at_millis: number;
1322
+ tsx_source: string;
1323
+ theme_id: string | null;
1319
1324
  to: {
1320
1325
  user_id: string;
1321
1326
  type: "user-primary-email";
@@ -1327,9 +1332,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1327
1332
  type: "custom-emails";
1328
1333
  emails: string[];
1329
1334
  };
1330
- updated_at_millis: number;
1331
- tsx_source: string;
1332
- theme_id: string | null;
1333
1335
  variables: Record<string, {} | null>;
1334
1336
  skip_deliverability_check: boolean;
1335
1337
  scheduled_at_millis: number;
@@ -1352,8 +1354,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1352
1354
  has_delivered: boolean;
1353
1355
  started_rendering_at_millis: number;
1354
1356
  rendered_at_millis: number;
1355
- html: string | null;
1356
- text: string | null;
1357
1357
  is_transactional: boolean;
1358
1358
  is_high_priority: boolean;
1359
1359
  notification_category_id: string | null;
@@ -1364,8 +1364,13 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1364
1364
  } | {
1365
1365
  status: "marked-as-spam";
1366
1366
  id: string;
1367
- subject: string;
1367
+ html: string | null;
1368
+ text: string | null;
1368
1369
  created_at_millis: number;
1370
+ subject: string;
1371
+ updated_at_millis: number;
1372
+ tsx_source: string;
1373
+ theme_id: string | null;
1369
1374
  to: {
1370
1375
  user_id: string;
1371
1376
  type: "user-primary-email";
@@ -1377,9 +1382,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1377
1382
  type: "custom-emails";
1378
1383
  emails: string[];
1379
1384
  };
1380
- updated_at_millis: number;
1381
- tsx_source: string;
1382
- theme_id: string | null;
1383
1385
  variables: Record<string, {} | null>;
1384
1386
  skip_deliverability_check: boolean;
1385
1387
  scheduled_at_millis: number;
@@ -1402,8 +1404,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1402
1404
  has_delivered: boolean;
1403
1405
  started_rendering_at_millis: number;
1404
1406
  rendered_at_millis: number;
1405
- html: string | null;
1406
- text: string | null;
1407
1407
  is_transactional: boolean;
1408
1408
  is_high_priority: boolean;
1409
1409
  notification_category_id: string | null;