@hexclave/shared 1.0.21 → 1.0.22

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 (34) 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 +34 -34
  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 +34 -34
  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 +2 -1
  14. package/dist/esm/interface/admin-interface.js.map +1 -1
  15. package/dist/esm/interface/client-interface.js +1 -1
  16. package/dist/esm/interface/conversations.d.ts +9 -9
  17. package/dist/esm/interface/crud/email-outbox.d.ts +156 -156
  18. package/dist/esm/interface/crud/email-outbox.js +1 -1
  19. package/dist/esm/interface/crud/email-outbox.js.map +1 -1
  20. package/dist/esm/interface/server-interface.js +1 -1
  21. package/dist/interface/admin-interface.d.ts +1 -0
  22. package/dist/interface/admin-interface.d.ts.map +1 -1
  23. package/dist/interface/admin-interface.js +2 -1
  24. package/dist/interface/admin-interface.js.map +1 -1
  25. package/dist/interface/client-interface.js +1 -1
  26. package/dist/interface/conversations.d.ts +9 -9
  27. package/dist/interface/crud/email-outbox.d.ts +156 -156
  28. package/dist/interface/crud/email-outbox.js +1 -1
  29. package/dist/interface/crud/email-outbox.js.map +1 -1
  30. package/dist/interface/server-interface.js +1 -1
  31. package/package.json +1 -1
  32. package/src/ai/unified-prompts/skill-site-prompt.ts +4 -1
  33. package/src/interface/admin-interface.ts +2 -1
  34. 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;
@@ -163,6 +163,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
163
163
  id: string;
164
164
  subject: string;
165
165
  created_at_millis: number;
166
+ html: string | null;
167
+ text: string | null;
168
+ notification_category_id: string | null;
169
+ updated_at_millis: number;
170
+ tsx_source: string;
171
+ theme_id: string | null;
166
172
  to: {
167
173
  user_id: string;
168
174
  type: "user-primary-email";
@@ -174,9 +180,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
174
180
  type: "custom-emails";
175
181
  emails: string[];
176
182
  };
177
- updated_at_millis: number;
178
- tsx_source: string;
179
- theme_id: string | null;
180
183
  variables: Record<string, {} | null>;
181
184
  skip_deliverability_check: boolean;
182
185
  scheduled_at_millis: number;
@@ -199,16 +202,19 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
199
202
  has_delivered: boolean;
200
203
  started_rendering_at_millis: number;
201
204
  rendered_at_millis: number;
202
- html: string | null;
203
- text: string | null;
204
205
  is_transactional: boolean;
205
206
  is_high_priority: boolean;
206
- notification_category_id: string | null;
207
207
  } | {
208
208
  status: "queued";
209
209
  id: string;
210
210
  subject: string;
211
211
  created_at_millis: number;
212
+ html: string | null;
213
+ text: string | null;
214
+ notification_category_id: string | null;
215
+ updated_at_millis: number;
216
+ tsx_source: string;
217
+ theme_id: string | null;
212
218
  to: {
213
219
  user_id: string;
214
220
  type: "user-primary-email";
@@ -220,9 +226,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
220
226
  type: "custom-emails";
221
227
  emails: string[];
222
228
  };
223
- updated_at_millis: number;
224
- tsx_source: string;
225
- theme_id: string | null;
226
229
  variables: Record<string, {} | null>;
227
230
  skip_deliverability_check: boolean;
228
231
  scheduled_at_millis: number;
@@ -245,16 +248,19 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
245
248
  has_delivered: boolean;
246
249
  started_rendering_at_millis: number;
247
250
  rendered_at_millis: number;
248
- html: string | null;
249
- text: string | null;
250
251
  is_transactional: boolean;
251
252
  is_high_priority: boolean;
252
- notification_category_id: string | null;
253
253
  } | {
254
254
  status: "sending";
255
255
  id: string;
256
256
  subject: string;
257
257
  created_at_millis: number;
258
+ html: string | null;
259
+ text: string | null;
260
+ notification_category_id: string | null;
261
+ updated_at_millis: number;
262
+ tsx_source: string;
263
+ theme_id: string | null;
258
264
  to: {
259
265
  user_id: string;
260
266
  type: "user-primary-email";
@@ -266,9 +272,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
266
272
  type: "custom-emails";
267
273
  emails: string[];
268
274
  };
269
- updated_at_millis: number;
270
- tsx_source: string;
271
- theme_id: string | null;
272
275
  variables: Record<string, {} | null>;
273
276
  skip_deliverability_check: boolean;
274
277
  scheduled_at_millis: number;
@@ -291,17 +294,20 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
291
294
  has_delivered: boolean;
292
295
  started_rendering_at_millis: number;
293
296
  rendered_at_millis: number;
294
- html: string | null;
295
- text: string | null;
296
297
  is_transactional: boolean;
297
298
  is_high_priority: boolean;
298
- notification_category_id: string | null;
299
299
  started_sending_at_millis: number;
300
300
  } | {
301
301
  status: "server-error";
302
302
  id: string;
303
303
  subject: string;
304
304
  created_at_millis: number;
305
+ html: string | null;
306
+ text: string | null;
307
+ notification_category_id: string | null;
308
+ updated_at_millis: number;
309
+ tsx_source: string;
310
+ theme_id: string | null;
305
311
  to: {
306
312
  user_id: string;
307
313
  type: "user-primary-email";
@@ -313,9 +319,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
313
319
  type: "custom-emails";
314
320
  emails: string[];
315
321
  };
316
- updated_at_millis: number;
317
- tsx_source: string;
318
- theme_id: string | null;
319
322
  variables: Record<string, {} | null>;
320
323
  skip_deliverability_check: boolean;
321
324
  scheduled_at_millis: number;
@@ -338,27 +341,27 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
338
341
  has_delivered: boolean;
339
342
  started_rendering_at_millis: number;
340
343
  rendered_at_millis: number;
341
- html: string | null;
342
- text: string | null;
343
344
  is_transactional: boolean;
344
345
  is_high_priority: boolean;
345
- notification_category_id: string | null;
346
346
  started_sending_at_millis: number;
347
347
  error_at_millis: number;
348
348
  server_error: string;
349
349
  } | {
350
350
  subject?: string | undefined;
351
- started_rendering_at_millis?: number | undefined;
352
- rendered_at_millis?: number | undefined;
353
351
  html?: string | null | undefined;
354
352
  text?: string | null | undefined;
353
+ notification_category_id?: string | null | undefined;
354
+ started_rendering_at_millis?: number | undefined;
355
+ rendered_at_millis?: number | undefined;
355
356
  is_transactional?: boolean | undefined;
356
357
  is_high_priority?: boolean | undefined;
357
- notification_category_id?: string | null | undefined;
358
358
  started_sending_at_millis?: number | undefined;
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;
@@ -401,6 +401,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
401
401
  id: string;
402
402
  subject: string;
403
403
  created_at_millis: number;
404
+ html: string | null;
405
+ text: string | null;
406
+ notification_category_id: string | null;
407
+ updated_at_millis: number;
408
+ tsx_source: string;
409
+ theme_id: string | null;
404
410
  to: {
405
411
  user_id: string;
406
412
  type: "user-primary-email";
@@ -412,9 +418,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
412
418
  type: "custom-emails";
413
419
  emails: string[];
414
420
  };
415
- updated_at_millis: number;
416
- tsx_source: string;
417
- theme_id: string | null;
418
421
  variables: Record<string, {} | null>;
419
422
  skip_deliverability_check: boolean;
420
423
  scheduled_at_millis: number;
@@ -437,11 +440,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
437
440
  has_delivered: boolean;
438
441
  started_rendering_at_millis: number;
439
442
  rendered_at_millis: number;
440
- html: string | null;
441
- text: string | null;
442
443
  is_transactional: boolean;
443
444
  is_high_priority: boolean;
444
- notification_category_id: string | null;
445
445
  started_sending_at_millis: number;
446
446
  bounced_at_millis: number;
447
447
  } | {
@@ -449,6 +449,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
449
449
  id: string;
450
450
  subject: string;
451
451
  created_at_millis: number;
452
+ html: string | null;
453
+ text: string | null;
454
+ notification_category_id: string | null;
455
+ updated_at_millis: number;
456
+ tsx_source: string;
457
+ theme_id: string | null;
452
458
  to: {
453
459
  user_id: string;
454
460
  type: "user-primary-email";
@@ -460,9 +466,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
460
466
  type: "custom-emails";
461
467
  emails: string[];
462
468
  };
463
- updated_at_millis: number;
464
- tsx_source: string;
465
- theme_id: string | null;
466
469
  variables: Record<string, {} | null>;
467
470
  skip_deliverability_check: boolean;
468
471
  scheduled_at_millis: number;
@@ -485,11 +488,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
485
488
  has_delivered: boolean;
486
489
  started_rendering_at_millis: number;
487
490
  rendered_at_millis: number;
488
- html: string | null;
489
- text: string | null;
490
491
  is_transactional: boolean;
491
492
  is_high_priority: boolean;
492
- notification_category_id: string | null;
493
493
  started_sending_at_millis: number;
494
494
  delivery_delayed_at_millis: number;
495
495
  } | {
@@ -497,6 +497,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
497
497
  id: string;
498
498
  subject: string;
499
499
  created_at_millis: number;
500
+ html: string | null;
501
+ text: string | null;
502
+ notification_category_id: string | null;
503
+ updated_at_millis: number;
504
+ tsx_source: string;
505
+ theme_id: string | null;
500
506
  to: {
501
507
  user_id: string;
502
508
  type: "user-primary-email";
@@ -508,9 +514,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
508
514
  type: "custom-emails";
509
515
  emails: string[];
510
516
  };
511
- updated_at_millis: number;
512
- tsx_source: string;
513
- theme_id: string | null;
514
517
  variables: Record<string, {} | null>;
515
518
  skip_deliverability_check: boolean;
516
519
  scheduled_at_millis: number;
@@ -533,11 +536,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
533
536
  has_delivered: boolean;
534
537
  started_rendering_at_millis: number;
535
538
  rendered_at_millis: number;
536
- html: string | null;
537
- text: string | null;
538
539
  is_transactional: boolean;
539
540
  is_high_priority: boolean;
540
- notification_category_id: string | null;
541
541
  started_sending_at_millis: number;
542
542
  delivered_at_millis: number;
543
543
  can_have_delivery_info: boolean;
@@ -546,6 +546,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
546
546
  id: string;
547
547
  subject: string;
548
548
  created_at_millis: number;
549
+ html: string | null;
550
+ text: string | null;
551
+ notification_category_id: string | null;
552
+ updated_at_millis: number;
553
+ tsx_source: string;
554
+ theme_id: string | null;
549
555
  to: {
550
556
  user_id: string;
551
557
  type: "user-primary-email";
@@ -557,9 +563,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
557
563
  type: "custom-emails";
558
564
  emails: string[];
559
565
  };
560
- updated_at_millis: number;
561
- tsx_source: string;
562
- theme_id: string | null;
563
566
  variables: Record<string, {} | null>;
564
567
  skip_deliverability_check: boolean;
565
568
  scheduled_at_millis: number;
@@ -582,11 +585,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
582
585
  has_delivered: boolean;
583
586
  started_rendering_at_millis: number;
584
587
  rendered_at_millis: number;
585
- html: string | null;
586
- text: string | null;
587
588
  is_transactional: boolean;
588
589
  is_high_priority: boolean;
589
- notification_category_id: string | null;
590
590
  started_sending_at_millis: number;
591
591
  delivered_at_millis: number;
592
592
  can_have_delivery_info: boolean;
@@ -596,6 +596,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
596
596
  id: string;
597
597
  subject: string;
598
598
  created_at_millis: number;
599
+ html: string | null;
600
+ text: string | null;
601
+ notification_category_id: string | null;
602
+ updated_at_millis: number;
603
+ tsx_source: string;
604
+ theme_id: string | null;
599
605
  to: {
600
606
  user_id: string;
601
607
  type: "user-primary-email";
@@ -607,9 +613,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
607
613
  type: "custom-emails";
608
614
  emails: string[];
609
615
  };
610
- updated_at_millis: number;
611
- tsx_source: string;
612
- theme_id: string | null;
613
616
  variables: Record<string, {} | null>;
614
617
  skip_deliverability_check: boolean;
615
618
  scheduled_at_millis: number;
@@ -632,11 +635,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
632
635
  has_delivered: boolean;
633
636
  started_rendering_at_millis: number;
634
637
  rendered_at_millis: number;
635
- html: string | null;
636
- text: string | null;
637
638
  is_transactional: boolean;
638
639
  is_high_priority: boolean;
639
- notification_category_id: string | null;
640
640
  started_sending_at_millis: number;
641
641
  delivered_at_millis: number;
642
642
  can_have_delivery_info: boolean;
@@ -646,6 +646,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
646
646
  id: string;
647
647
  subject: string;
648
648
  created_at_millis: number;
649
+ html: string | null;
650
+ text: string | null;
651
+ notification_category_id: string | null;
652
+ updated_at_millis: number;
653
+ tsx_source: string;
654
+ theme_id: string | null;
649
655
  to: {
650
656
  user_id: string;
651
657
  type: "user-primary-email";
@@ -657,9 +663,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
657
663
  type: "custom-emails";
658
664
  emails: string[];
659
665
  };
660
- updated_at_millis: number;
661
- tsx_source: string;
662
- theme_id: string | null;
663
666
  variables: Record<string, {} | null>;
664
667
  skip_deliverability_check: boolean;
665
668
  scheduled_at_millis: number;
@@ -682,11 +685,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
682
685
  has_delivered: boolean;
683
686
  started_rendering_at_millis: number;
684
687
  rendered_at_millis: number;
685
- html: string | null;
686
- text: string | null;
687
688
  is_transactional: boolean;
688
689
  is_high_priority: boolean;
689
- notification_category_id: string | null;
690
690
  started_sending_at_millis: number;
691
691
  delivered_at_millis: number;
692
692
  can_have_delivery_info: boolean;
@@ -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;
@@ -883,6 +883,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
883
883
  id: string;
884
884
  subject: string;
885
885
  created_at_millis: number;
886
+ html: string | null;
887
+ text: string | null;
888
+ notification_category_id: string | null;
889
+ updated_at_millis: number;
890
+ tsx_source: string;
891
+ theme_id: string | null;
886
892
  to: {
887
893
  user_id: string;
888
894
  type: "user-primary-email";
@@ -894,9 +900,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
894
900
  type: "custom-emails";
895
901
  emails: string[];
896
902
  };
897
- updated_at_millis: number;
898
- tsx_source: string;
899
- theme_id: string | null;
900
903
  variables: Record<string, {} | null>;
901
904
  skip_deliverability_check: boolean;
902
905
  scheduled_at_millis: number;
@@ -919,16 +922,19 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
919
922
  has_delivered: boolean;
920
923
  started_rendering_at_millis: number;
921
924
  rendered_at_millis: number;
922
- html: string | null;
923
- text: string | null;
924
925
  is_transactional: boolean;
925
926
  is_high_priority: boolean;
926
- notification_category_id: string | null;
927
927
  } | {
928
928
  status: "queued";
929
929
  id: string;
930
930
  subject: string;
931
931
  created_at_millis: number;
932
+ html: string | null;
933
+ text: string | null;
934
+ notification_category_id: string | null;
935
+ updated_at_millis: number;
936
+ tsx_source: string;
937
+ theme_id: string | null;
932
938
  to: {
933
939
  user_id: string;
934
940
  type: "user-primary-email";
@@ -940,9 +946,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
940
946
  type: "custom-emails";
941
947
  emails: string[];
942
948
  };
943
- updated_at_millis: number;
944
- tsx_source: string;
945
- theme_id: string | null;
946
949
  variables: Record<string, {} | null>;
947
950
  skip_deliverability_check: boolean;
948
951
  scheduled_at_millis: number;
@@ -965,16 +968,19 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
965
968
  has_delivered: boolean;
966
969
  started_rendering_at_millis: number;
967
970
  rendered_at_millis: number;
968
- html: string | null;
969
- text: string | null;
970
971
  is_transactional: boolean;
971
972
  is_high_priority: boolean;
972
- notification_category_id: string | null;
973
973
  } | {
974
974
  status: "sending";
975
975
  id: string;
976
976
  subject: string;
977
977
  created_at_millis: number;
978
+ html: string | null;
979
+ text: string | null;
980
+ notification_category_id: string | null;
981
+ updated_at_millis: number;
982
+ tsx_source: string;
983
+ theme_id: string | null;
978
984
  to: {
979
985
  user_id: string;
980
986
  type: "user-primary-email";
@@ -986,9 +992,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
986
992
  type: "custom-emails";
987
993
  emails: string[];
988
994
  };
989
- updated_at_millis: number;
990
- tsx_source: string;
991
- theme_id: string | null;
992
995
  variables: Record<string, {} | null>;
993
996
  skip_deliverability_check: boolean;
994
997
  scheduled_at_millis: number;
@@ -1011,17 +1014,20 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1011
1014
  has_delivered: boolean;
1012
1015
  started_rendering_at_millis: number;
1013
1016
  rendered_at_millis: number;
1014
- html: string | null;
1015
- text: string | null;
1016
1017
  is_transactional: boolean;
1017
1018
  is_high_priority: boolean;
1018
- notification_category_id: string | null;
1019
1019
  started_sending_at_millis: number;
1020
1020
  } | {
1021
1021
  status: "server-error";
1022
1022
  id: string;
1023
1023
  subject: string;
1024
1024
  created_at_millis: number;
1025
+ html: string | null;
1026
+ text: string | null;
1027
+ notification_category_id: string | null;
1028
+ updated_at_millis: number;
1029
+ tsx_source: string;
1030
+ theme_id: string | null;
1025
1031
  to: {
1026
1032
  user_id: string;
1027
1033
  type: "user-primary-email";
@@ -1033,9 +1039,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1033
1039
  type: "custom-emails";
1034
1040
  emails: string[];
1035
1041
  };
1036
- updated_at_millis: number;
1037
- tsx_source: string;
1038
- theme_id: string | null;
1039
1042
  variables: Record<string, {} | null>;
1040
1043
  skip_deliverability_check: boolean;
1041
1044
  scheduled_at_millis: number;
@@ -1058,27 +1061,27 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1058
1061
  has_delivered: boolean;
1059
1062
  started_rendering_at_millis: number;
1060
1063
  rendered_at_millis: number;
1061
- html: string | null;
1062
- text: string | null;
1063
1064
  is_transactional: boolean;
1064
1065
  is_high_priority: boolean;
1065
- notification_category_id: string | null;
1066
1066
  started_sending_at_millis: number;
1067
1067
  error_at_millis: number;
1068
1068
  server_error: string;
1069
1069
  } | {
1070
1070
  subject?: string | undefined;
1071
- started_rendering_at_millis?: number | undefined;
1072
- rendered_at_millis?: number | undefined;
1073
1071
  html?: string | null | undefined;
1074
1072
  text?: string | null | undefined;
1073
+ notification_category_id?: string | null | undefined;
1074
+ started_rendering_at_millis?: number | undefined;
1075
+ rendered_at_millis?: number | undefined;
1075
1076
  is_transactional?: boolean | undefined;
1076
1077
  is_high_priority?: boolean | undefined;
1077
- notification_category_id?: string | null | undefined;
1078
1078
  started_sending_at_millis?: number | undefined;
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;
@@ -1121,6 +1121,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1121
1121
  id: string;
1122
1122
  subject: string;
1123
1123
  created_at_millis: number;
1124
+ html: string | null;
1125
+ text: string | null;
1126
+ notification_category_id: string | null;
1127
+ updated_at_millis: number;
1128
+ tsx_source: string;
1129
+ theme_id: string | null;
1124
1130
  to: {
1125
1131
  user_id: string;
1126
1132
  type: "user-primary-email";
@@ -1132,9 +1138,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1132
1138
  type: "custom-emails";
1133
1139
  emails: string[];
1134
1140
  };
1135
- updated_at_millis: number;
1136
- tsx_source: string;
1137
- theme_id: string | null;
1138
1141
  variables: Record<string, {} | null>;
1139
1142
  skip_deliverability_check: boolean;
1140
1143
  scheduled_at_millis: number;
@@ -1157,11 +1160,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1157
1160
  has_delivered: boolean;
1158
1161
  started_rendering_at_millis: number;
1159
1162
  rendered_at_millis: number;
1160
- html: string | null;
1161
- text: string | null;
1162
1163
  is_transactional: boolean;
1163
1164
  is_high_priority: boolean;
1164
- notification_category_id: string | null;
1165
1165
  started_sending_at_millis: number;
1166
1166
  bounced_at_millis: number;
1167
1167
  } | {
@@ -1169,6 +1169,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1169
1169
  id: string;
1170
1170
  subject: string;
1171
1171
  created_at_millis: number;
1172
+ html: string | null;
1173
+ text: string | null;
1174
+ notification_category_id: string | null;
1175
+ updated_at_millis: number;
1176
+ tsx_source: string;
1177
+ theme_id: string | null;
1172
1178
  to: {
1173
1179
  user_id: string;
1174
1180
  type: "user-primary-email";
@@ -1180,9 +1186,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1180
1186
  type: "custom-emails";
1181
1187
  emails: string[];
1182
1188
  };
1183
- updated_at_millis: number;
1184
- tsx_source: string;
1185
- theme_id: string | null;
1186
1189
  variables: Record<string, {} | null>;
1187
1190
  skip_deliverability_check: boolean;
1188
1191
  scheduled_at_millis: number;
@@ -1205,11 +1208,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1205
1208
  has_delivered: boolean;
1206
1209
  started_rendering_at_millis: number;
1207
1210
  rendered_at_millis: number;
1208
- html: string | null;
1209
- text: string | null;
1210
1211
  is_transactional: boolean;
1211
1212
  is_high_priority: boolean;
1212
- notification_category_id: string | null;
1213
1213
  started_sending_at_millis: number;
1214
1214
  delivery_delayed_at_millis: number;
1215
1215
  } | {
@@ -1217,6 +1217,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1217
1217
  id: string;
1218
1218
  subject: string;
1219
1219
  created_at_millis: number;
1220
+ html: string | null;
1221
+ text: string | null;
1222
+ notification_category_id: string | null;
1223
+ updated_at_millis: number;
1224
+ tsx_source: string;
1225
+ theme_id: string | null;
1220
1226
  to: {
1221
1227
  user_id: string;
1222
1228
  type: "user-primary-email";
@@ -1228,9 +1234,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1228
1234
  type: "custom-emails";
1229
1235
  emails: string[];
1230
1236
  };
1231
- updated_at_millis: number;
1232
- tsx_source: string;
1233
- theme_id: string | null;
1234
1237
  variables: Record<string, {} | null>;
1235
1238
  skip_deliverability_check: boolean;
1236
1239
  scheduled_at_millis: number;
@@ -1253,11 +1256,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1253
1256
  has_delivered: boolean;
1254
1257
  started_rendering_at_millis: number;
1255
1258
  rendered_at_millis: number;
1256
- html: string | null;
1257
- text: string | null;
1258
1259
  is_transactional: boolean;
1259
1260
  is_high_priority: boolean;
1260
- notification_category_id: string | null;
1261
1261
  started_sending_at_millis: number;
1262
1262
  delivered_at_millis: number;
1263
1263
  can_have_delivery_info: boolean;
@@ -1266,6 +1266,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1266
1266
  id: string;
1267
1267
  subject: string;
1268
1268
  created_at_millis: number;
1269
+ html: string | null;
1270
+ text: string | null;
1271
+ notification_category_id: string | null;
1272
+ updated_at_millis: number;
1273
+ tsx_source: string;
1274
+ theme_id: string | null;
1269
1275
  to: {
1270
1276
  user_id: string;
1271
1277
  type: "user-primary-email";
@@ -1277,9 +1283,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1277
1283
  type: "custom-emails";
1278
1284
  emails: string[];
1279
1285
  };
1280
- updated_at_millis: number;
1281
- tsx_source: string;
1282
- theme_id: string | null;
1283
1286
  variables: Record<string, {} | null>;
1284
1287
  skip_deliverability_check: boolean;
1285
1288
  scheduled_at_millis: number;
@@ -1302,11 +1305,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1302
1305
  has_delivered: boolean;
1303
1306
  started_rendering_at_millis: number;
1304
1307
  rendered_at_millis: number;
1305
- html: string | null;
1306
- text: string | null;
1307
1308
  is_transactional: boolean;
1308
1309
  is_high_priority: boolean;
1309
- notification_category_id: string | null;
1310
1310
  started_sending_at_millis: number;
1311
1311
  delivered_at_millis: number;
1312
1312
  can_have_delivery_info: boolean;
@@ -1316,6 +1316,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1316
1316
  id: string;
1317
1317
  subject: string;
1318
1318
  created_at_millis: number;
1319
+ html: string | null;
1320
+ text: string | null;
1321
+ notification_category_id: string | null;
1322
+ updated_at_millis: number;
1323
+ tsx_source: string;
1324
+ theme_id: string | null;
1319
1325
  to: {
1320
1326
  user_id: string;
1321
1327
  type: "user-primary-email";
@@ -1327,9 +1333,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1327
1333
  type: "custom-emails";
1328
1334
  emails: string[];
1329
1335
  };
1330
- updated_at_millis: number;
1331
- tsx_source: string;
1332
- theme_id: string | null;
1333
1336
  variables: Record<string, {} | null>;
1334
1337
  skip_deliverability_check: boolean;
1335
1338
  scheduled_at_millis: number;
@@ -1352,11 +1355,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1352
1355
  has_delivered: boolean;
1353
1356
  started_rendering_at_millis: number;
1354
1357
  rendered_at_millis: number;
1355
- html: string | null;
1356
- text: string | null;
1357
1358
  is_transactional: boolean;
1358
1359
  is_high_priority: boolean;
1359
- notification_category_id: string | null;
1360
1360
  started_sending_at_millis: number;
1361
1361
  delivered_at_millis: number;
1362
1362
  can_have_delivery_info: boolean;
@@ -1366,6 +1366,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1366
1366
  id: string;
1367
1367
  subject: string;
1368
1368
  created_at_millis: number;
1369
+ html: string | null;
1370
+ text: string | null;
1371
+ notification_category_id: string | null;
1372
+ updated_at_millis: number;
1373
+ tsx_source: string;
1374
+ theme_id: string | null;
1369
1375
  to: {
1370
1376
  user_id: string;
1371
1377
  type: "user-primary-email";
@@ -1377,9 +1383,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1377
1383
  type: "custom-emails";
1378
1384
  emails: string[];
1379
1385
  };
1380
- updated_at_millis: number;
1381
- tsx_source: string;
1382
- theme_id: string | null;
1383
1386
  variables: Record<string, {} | null>;
1384
1387
  skip_deliverability_check: boolean;
1385
1388
  scheduled_at_millis: number;
@@ -1402,11 +1405,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1402
1405
  has_delivered: boolean;
1403
1406
  started_rendering_at_millis: number;
1404
1407
  rendered_at_millis: number;
1405
- html: string | null;
1406
- text: string | null;
1407
1408
  is_transactional: boolean;
1408
1409
  is_high_priority: boolean;
1409
- notification_category_id: string | null;
1410
1410
  started_sending_at_millis: number;
1411
1411
  delivered_at_millis: number;
1412
1412
  can_have_delivery_info: boolean;