@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
@@ -7,6 +7,9 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
7
7
  status: "paused";
8
8
  id: string;
9
9
  created_at_millis: number;
10
+ updated_at_millis: number;
11
+ tsx_source: string;
12
+ theme_id: string | null;
10
13
  to: {
11
14
  user_id: string;
12
15
  type: "user-primary-email";
@@ -18,9 +21,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
18
21
  type: "custom-emails";
19
22
  emails: string[];
20
23
  };
21
- updated_at_millis: number;
22
- tsx_source: string;
23
- theme_id: string | null;
24
24
  variables: Record<string, {} | null>;
25
25
  skip_deliverability_check: boolean;
26
26
  scheduled_at_millis: number;
@@ -45,6 +45,9 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
45
45
  status: "preparing";
46
46
  id: string;
47
47
  created_at_millis: number;
48
+ updated_at_millis: number;
49
+ tsx_source: string;
50
+ theme_id: string | null;
48
51
  to: {
49
52
  user_id: string;
50
53
  type: "user-primary-email";
@@ -56,9 +59,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
56
59
  type: "custom-emails";
57
60
  emails: string[];
58
61
  };
59
- updated_at_millis: number;
60
- tsx_source: string;
61
- theme_id: string | null;
62
62
  variables: Record<string, {} | null>;
63
63
  skip_deliverability_check: boolean;
64
64
  scheduled_at_millis: number;
@@ -83,6 +83,9 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
83
83
  status: "rendering";
84
84
  id: string;
85
85
  created_at_millis: number;
86
+ updated_at_millis: number;
87
+ tsx_source: string;
88
+ theme_id: string | null;
86
89
  to: {
87
90
  user_id: string;
88
91
  type: "user-primary-email";
@@ -94,9 +97,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
94
97
  type: "custom-emails";
95
98
  emails: string[];
96
99
  };
97
- updated_at_millis: number;
98
- tsx_source: string;
99
- theme_id: string | null;
100
100
  variables: Record<string, {} | null>;
101
101
  skip_deliverability_check: boolean;
102
102
  scheduled_at_millis: number;
@@ -122,6 +122,9 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
122
122
  status: "render-error";
123
123
  id: string;
124
124
  created_at_millis: number;
125
+ updated_at_millis: number;
126
+ tsx_source: string;
127
+ theme_id: string | null;
125
128
  to: {
126
129
  user_id: string;
127
130
  type: "user-primary-email";
@@ -133,9 +136,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
133
136
  type: "custom-emails";
134
137
  emails: string[];
135
138
  };
136
- updated_at_millis: number;
137
- tsx_source: string;
138
- theme_id: string | null;
139
139
  variables: Record<string, {} | null>;
140
140
  skip_deliverability_check: boolean;
141
141
  scheduled_at_millis: number;
@@ -164,6 +164,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
164
164
  id: string;
165
165
  subject: string;
166
166
  created_at_millis: number;
167
+ html: string | null;
168
+ text: string | null;
169
+ notification_category_id: string | null;
170
+ updated_at_millis: number;
171
+ tsx_source: string;
172
+ theme_id: string | null;
167
173
  to: {
168
174
  user_id: string;
169
175
  type: "user-primary-email";
@@ -175,9 +181,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
175
181
  type: "custom-emails";
176
182
  emails: string[];
177
183
  };
178
- updated_at_millis: number;
179
- tsx_source: string;
180
- theme_id: string | null;
181
184
  variables: Record<string, {} | null>;
182
185
  skip_deliverability_check: boolean;
183
186
  scheduled_at_millis: number;
@@ -200,16 +203,19 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
200
203
  has_delivered: boolean;
201
204
  started_rendering_at_millis: number;
202
205
  rendered_at_millis: number;
203
- html: string | null;
204
- text: string | null;
205
206
  is_transactional: boolean;
206
207
  is_high_priority: boolean;
207
- notification_category_id: string | null;
208
208
  } | {
209
209
  status: "queued";
210
210
  id: string;
211
211
  subject: string;
212
212
  created_at_millis: number;
213
+ html: string | null;
214
+ text: string | null;
215
+ notification_category_id: string | null;
216
+ updated_at_millis: number;
217
+ tsx_source: string;
218
+ theme_id: string | null;
213
219
  to: {
214
220
  user_id: string;
215
221
  type: "user-primary-email";
@@ -221,9 +227,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
221
227
  type: "custom-emails";
222
228
  emails: string[];
223
229
  };
224
- updated_at_millis: number;
225
- tsx_source: string;
226
- theme_id: string | null;
227
230
  variables: Record<string, {} | null>;
228
231
  skip_deliverability_check: boolean;
229
232
  scheduled_at_millis: number;
@@ -246,16 +249,19 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
246
249
  has_delivered: boolean;
247
250
  started_rendering_at_millis: number;
248
251
  rendered_at_millis: number;
249
- html: string | null;
250
- text: string | null;
251
252
  is_transactional: boolean;
252
253
  is_high_priority: boolean;
253
- notification_category_id: string | null;
254
254
  } | {
255
255
  status: "sending";
256
256
  id: string;
257
257
  subject: string;
258
258
  created_at_millis: number;
259
+ html: string | null;
260
+ text: string | null;
261
+ notification_category_id: string | null;
262
+ updated_at_millis: number;
263
+ tsx_source: string;
264
+ theme_id: string | null;
259
265
  to: {
260
266
  user_id: string;
261
267
  type: "user-primary-email";
@@ -267,9 +273,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
267
273
  type: "custom-emails";
268
274
  emails: string[];
269
275
  };
270
- updated_at_millis: number;
271
- tsx_source: string;
272
- theme_id: string | null;
273
276
  variables: Record<string, {} | null>;
274
277
  skip_deliverability_check: boolean;
275
278
  scheduled_at_millis: number;
@@ -292,17 +295,20 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
292
295
  has_delivered: boolean;
293
296
  started_rendering_at_millis: number;
294
297
  rendered_at_millis: number;
295
- html: string | null;
296
- text: string | null;
297
298
  is_transactional: boolean;
298
299
  is_high_priority: boolean;
299
- notification_category_id: string | null;
300
300
  started_sending_at_millis: number;
301
301
  } | {
302
302
  status: "server-error";
303
303
  id: string;
304
304
  subject: string;
305
305
  created_at_millis: number;
306
+ html: string | null;
307
+ text: string | null;
308
+ notification_category_id: string | null;
309
+ updated_at_millis: number;
310
+ tsx_source: string;
311
+ theme_id: string | null;
306
312
  to: {
307
313
  user_id: string;
308
314
  type: "user-primary-email";
@@ -314,9 +320,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
314
320
  type: "custom-emails";
315
321
  emails: string[];
316
322
  };
317
- updated_at_millis: number;
318
- tsx_source: string;
319
- theme_id: string | null;
320
323
  variables: Record<string, {} | null>;
321
324
  skip_deliverability_check: boolean;
322
325
  scheduled_at_millis: number;
@@ -339,27 +342,27 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
339
342
  has_delivered: boolean;
340
343
  started_rendering_at_millis: number;
341
344
  rendered_at_millis: number;
342
- html: string | null;
343
- text: string | null;
344
345
  is_transactional: boolean;
345
346
  is_high_priority: boolean;
346
- notification_category_id: string | null;
347
347
  started_sending_at_millis: number;
348
348
  error_at_millis: number;
349
349
  server_error: string;
350
350
  } | {
351
351
  subject?: string | undefined;
352
- started_rendering_at_millis?: number | undefined;
353
- rendered_at_millis?: number | undefined;
354
352
  html?: string | null | undefined;
355
353
  text?: string | null | undefined;
354
+ notification_category_id?: string | null | undefined;
355
+ started_rendering_at_millis?: number | undefined;
356
+ rendered_at_millis?: number | undefined;
356
357
  is_transactional?: boolean | undefined;
357
358
  is_high_priority?: boolean | undefined;
358
- notification_category_id?: string | null | undefined;
359
359
  started_sending_at_millis?: number | undefined;
360
360
  status: "skipped";
361
361
  id: string;
362
362
  created_at_millis: number;
363
+ updated_at_millis: number;
364
+ tsx_source: string;
365
+ theme_id: string | null;
363
366
  to: {
364
367
  user_id: string;
365
368
  type: "user-primary-email";
@@ -371,9 +374,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
371
374
  type: "custom-emails";
372
375
  emails: string[];
373
376
  };
374
- updated_at_millis: number;
375
- tsx_source: string;
376
- theme_id: string | null;
377
377
  variables: Record<string, {} | null>;
378
378
  skip_deliverability_check: boolean;
379
379
  scheduled_at_millis: number;
@@ -402,6 +402,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
402
402
  id: string;
403
403
  subject: string;
404
404
  created_at_millis: number;
405
+ html: string | null;
406
+ text: string | null;
407
+ notification_category_id: string | null;
408
+ updated_at_millis: number;
409
+ tsx_source: string;
410
+ theme_id: string | null;
405
411
  to: {
406
412
  user_id: string;
407
413
  type: "user-primary-email";
@@ -413,9 +419,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
413
419
  type: "custom-emails";
414
420
  emails: string[];
415
421
  };
416
- updated_at_millis: number;
417
- tsx_source: string;
418
- theme_id: string | null;
419
422
  variables: Record<string, {} | null>;
420
423
  skip_deliverability_check: boolean;
421
424
  scheduled_at_millis: number;
@@ -438,11 +441,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
438
441
  has_delivered: boolean;
439
442
  started_rendering_at_millis: number;
440
443
  rendered_at_millis: number;
441
- html: string | null;
442
- text: string | null;
443
444
  is_transactional: boolean;
444
445
  is_high_priority: boolean;
445
- notification_category_id: string | null;
446
446
  started_sending_at_millis: number;
447
447
  bounced_at_millis: number;
448
448
  } | {
@@ -450,6 +450,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
450
450
  id: string;
451
451
  subject: string;
452
452
  created_at_millis: number;
453
+ html: string | null;
454
+ text: string | null;
455
+ notification_category_id: string | null;
456
+ updated_at_millis: number;
457
+ tsx_source: string;
458
+ theme_id: string | null;
453
459
  to: {
454
460
  user_id: string;
455
461
  type: "user-primary-email";
@@ -461,9 +467,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
461
467
  type: "custom-emails";
462
468
  emails: string[];
463
469
  };
464
- updated_at_millis: number;
465
- tsx_source: string;
466
- theme_id: string | null;
467
470
  variables: Record<string, {} | null>;
468
471
  skip_deliverability_check: boolean;
469
472
  scheduled_at_millis: number;
@@ -486,11 +489,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
486
489
  has_delivered: boolean;
487
490
  started_rendering_at_millis: number;
488
491
  rendered_at_millis: number;
489
- html: string | null;
490
- text: string | null;
491
492
  is_transactional: boolean;
492
493
  is_high_priority: boolean;
493
- notification_category_id: string | null;
494
494
  started_sending_at_millis: number;
495
495
  delivery_delayed_at_millis: number;
496
496
  } | {
@@ -498,6 +498,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
498
498
  id: string;
499
499
  subject: string;
500
500
  created_at_millis: number;
501
+ html: string | null;
502
+ text: string | null;
503
+ notification_category_id: string | null;
504
+ updated_at_millis: number;
505
+ tsx_source: string;
506
+ theme_id: string | null;
501
507
  to: {
502
508
  user_id: string;
503
509
  type: "user-primary-email";
@@ -509,9 +515,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
509
515
  type: "custom-emails";
510
516
  emails: string[];
511
517
  };
512
- updated_at_millis: number;
513
- tsx_source: string;
514
- theme_id: string | null;
515
518
  variables: Record<string, {} | null>;
516
519
  skip_deliverability_check: boolean;
517
520
  scheduled_at_millis: number;
@@ -534,11 +537,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
534
537
  has_delivered: boolean;
535
538
  started_rendering_at_millis: number;
536
539
  rendered_at_millis: number;
537
- html: string | null;
538
- text: string | null;
539
540
  is_transactional: boolean;
540
541
  is_high_priority: boolean;
541
- notification_category_id: string | null;
542
542
  started_sending_at_millis: number;
543
543
  delivered_at_millis: number;
544
544
  can_have_delivery_info: boolean;
@@ -547,6 +547,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
547
547
  id: string;
548
548
  subject: string;
549
549
  created_at_millis: number;
550
+ html: string | null;
551
+ text: string | null;
552
+ notification_category_id: string | null;
553
+ updated_at_millis: number;
554
+ tsx_source: string;
555
+ theme_id: string | null;
550
556
  to: {
551
557
  user_id: string;
552
558
  type: "user-primary-email";
@@ -558,9 +564,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
558
564
  type: "custom-emails";
559
565
  emails: string[];
560
566
  };
561
- updated_at_millis: number;
562
- tsx_source: string;
563
- theme_id: string | null;
564
567
  variables: Record<string, {} | null>;
565
568
  skip_deliverability_check: boolean;
566
569
  scheduled_at_millis: number;
@@ -583,11 +586,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
583
586
  has_delivered: boolean;
584
587
  started_rendering_at_millis: number;
585
588
  rendered_at_millis: number;
586
- html: string | null;
587
- text: string | null;
588
589
  is_transactional: boolean;
589
590
  is_high_priority: boolean;
590
- notification_category_id: string | null;
591
591
  started_sending_at_millis: number;
592
592
  delivered_at_millis: number;
593
593
  can_have_delivery_info: boolean;
@@ -597,6 +597,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
597
597
  id: string;
598
598
  subject: string;
599
599
  created_at_millis: number;
600
+ html: string | null;
601
+ text: string | null;
602
+ notification_category_id: string | null;
603
+ updated_at_millis: number;
604
+ tsx_source: string;
605
+ theme_id: string | null;
600
606
  to: {
601
607
  user_id: string;
602
608
  type: "user-primary-email";
@@ -608,9 +614,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
608
614
  type: "custom-emails";
609
615
  emails: string[];
610
616
  };
611
- updated_at_millis: number;
612
- tsx_source: string;
613
- theme_id: string | null;
614
617
  variables: Record<string, {} | null>;
615
618
  skip_deliverability_check: boolean;
616
619
  scheduled_at_millis: number;
@@ -633,11 +636,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
633
636
  has_delivered: boolean;
634
637
  started_rendering_at_millis: number;
635
638
  rendered_at_millis: number;
636
- html: string | null;
637
- text: string | null;
638
639
  is_transactional: boolean;
639
640
  is_high_priority: boolean;
640
- notification_category_id: string | null;
641
641
  started_sending_at_millis: number;
642
642
  delivered_at_millis: number;
643
643
  can_have_delivery_info: boolean;
@@ -647,6 +647,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
647
647
  id: string;
648
648
  subject: string;
649
649
  created_at_millis: number;
650
+ html: string | null;
651
+ text: string | null;
652
+ notification_category_id: string | null;
653
+ updated_at_millis: number;
654
+ tsx_source: string;
655
+ theme_id: string | null;
650
656
  to: {
651
657
  user_id: string;
652
658
  type: "user-primary-email";
@@ -658,9 +664,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
658
664
  type: "custom-emails";
659
665
  emails: string[];
660
666
  };
661
- updated_at_millis: number;
662
- tsx_source: string;
663
- theme_id: string | null;
664
667
  variables: Record<string, {} | null>;
665
668
  skip_deliverability_check: boolean;
666
669
  scheduled_at_millis: number;
@@ -683,11 +686,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
683
686
  has_delivered: boolean;
684
687
  started_rendering_at_millis: number;
685
688
  rendered_at_millis: number;
686
- html: string | null;
687
- text: string | null;
688
689
  is_transactional: boolean;
689
690
  is_high_priority: boolean;
690
- notification_category_id: string | null;
691
691
  started_sending_at_millis: number;
692
692
  delivered_at_millis: number;
693
693
  can_have_delivery_info: boolean;
@@ -727,6 +727,9 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
727
727
  status: "paused";
728
728
  id: string;
729
729
  created_at_millis: number;
730
+ updated_at_millis: number;
731
+ tsx_source: string;
732
+ theme_id: string | null;
730
733
  to: {
731
734
  user_id: string;
732
735
  type: "user-primary-email";
@@ -738,9 +741,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
738
741
  type: "custom-emails";
739
742
  emails: string[];
740
743
  };
741
- updated_at_millis: number;
742
- tsx_source: string;
743
- theme_id: string | null;
744
744
  variables: Record<string, {} | null>;
745
745
  skip_deliverability_check: boolean;
746
746
  scheduled_at_millis: number;
@@ -765,6 +765,9 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
765
765
  status: "preparing";
766
766
  id: string;
767
767
  created_at_millis: number;
768
+ updated_at_millis: number;
769
+ tsx_source: string;
770
+ theme_id: string | null;
768
771
  to: {
769
772
  user_id: string;
770
773
  type: "user-primary-email";
@@ -776,9 +779,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
776
779
  type: "custom-emails";
777
780
  emails: string[];
778
781
  };
779
- updated_at_millis: number;
780
- tsx_source: string;
781
- theme_id: string | null;
782
782
  variables: Record<string, {} | null>;
783
783
  skip_deliverability_check: boolean;
784
784
  scheduled_at_millis: number;
@@ -803,6 +803,9 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
803
803
  status: "rendering";
804
804
  id: string;
805
805
  created_at_millis: number;
806
+ updated_at_millis: number;
807
+ tsx_source: string;
808
+ theme_id: string | null;
806
809
  to: {
807
810
  user_id: string;
808
811
  type: "user-primary-email";
@@ -814,9 +817,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
814
817
  type: "custom-emails";
815
818
  emails: string[];
816
819
  };
817
- updated_at_millis: number;
818
- tsx_source: string;
819
- theme_id: string | null;
820
820
  variables: Record<string, {} | null>;
821
821
  skip_deliverability_check: boolean;
822
822
  scheduled_at_millis: number;
@@ -842,6 +842,9 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
842
842
  status: "render-error";
843
843
  id: string;
844
844
  created_at_millis: number;
845
+ updated_at_millis: number;
846
+ tsx_source: string;
847
+ theme_id: string | null;
845
848
  to: {
846
849
  user_id: string;
847
850
  type: "user-primary-email";
@@ -853,9 +856,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
853
856
  type: "custom-emails";
854
857
  emails: string[];
855
858
  };
856
- updated_at_millis: number;
857
- tsx_source: string;
858
- theme_id: string | null;
859
859
  variables: Record<string, {} | null>;
860
860
  skip_deliverability_check: boolean;
861
861
  scheduled_at_millis: number;
@@ -884,6 +884,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
884
884
  id: string;
885
885
  subject: string;
886
886
  created_at_millis: number;
887
+ html: string | null;
888
+ text: string | null;
889
+ notification_category_id: string | null;
890
+ updated_at_millis: number;
891
+ tsx_source: string;
892
+ theme_id: string | null;
887
893
  to: {
888
894
  user_id: string;
889
895
  type: "user-primary-email";
@@ -895,9 +901,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
895
901
  type: "custom-emails";
896
902
  emails: string[];
897
903
  };
898
- updated_at_millis: number;
899
- tsx_source: string;
900
- theme_id: string | null;
901
904
  variables: Record<string, {} | null>;
902
905
  skip_deliverability_check: boolean;
903
906
  scheduled_at_millis: number;
@@ -920,16 +923,19 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
920
923
  has_delivered: boolean;
921
924
  started_rendering_at_millis: number;
922
925
  rendered_at_millis: number;
923
- html: string | null;
924
- text: string | null;
925
926
  is_transactional: boolean;
926
927
  is_high_priority: boolean;
927
- notification_category_id: string | null;
928
928
  } | {
929
929
  status: "queued";
930
930
  id: string;
931
931
  subject: string;
932
932
  created_at_millis: number;
933
+ html: string | null;
934
+ text: string | null;
935
+ notification_category_id: string | null;
936
+ updated_at_millis: number;
937
+ tsx_source: string;
938
+ theme_id: string | null;
933
939
  to: {
934
940
  user_id: string;
935
941
  type: "user-primary-email";
@@ -941,9 +947,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
941
947
  type: "custom-emails";
942
948
  emails: string[];
943
949
  };
944
- updated_at_millis: number;
945
- tsx_source: string;
946
- theme_id: string | null;
947
950
  variables: Record<string, {} | null>;
948
951
  skip_deliverability_check: boolean;
949
952
  scheduled_at_millis: number;
@@ -966,16 +969,19 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
966
969
  has_delivered: boolean;
967
970
  started_rendering_at_millis: number;
968
971
  rendered_at_millis: number;
969
- html: string | null;
970
- text: string | null;
971
972
  is_transactional: boolean;
972
973
  is_high_priority: boolean;
973
- notification_category_id: string | null;
974
974
  } | {
975
975
  status: "sending";
976
976
  id: string;
977
977
  subject: string;
978
978
  created_at_millis: number;
979
+ html: string | null;
980
+ text: string | null;
981
+ notification_category_id: string | null;
982
+ updated_at_millis: number;
983
+ tsx_source: string;
984
+ theme_id: string | null;
979
985
  to: {
980
986
  user_id: string;
981
987
  type: "user-primary-email";
@@ -987,9 +993,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
987
993
  type: "custom-emails";
988
994
  emails: string[];
989
995
  };
990
- updated_at_millis: number;
991
- tsx_source: string;
992
- theme_id: string | null;
993
996
  variables: Record<string, {} | null>;
994
997
  skip_deliverability_check: boolean;
995
998
  scheduled_at_millis: number;
@@ -1012,17 +1015,20 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1012
1015
  has_delivered: boolean;
1013
1016
  started_rendering_at_millis: number;
1014
1017
  rendered_at_millis: number;
1015
- html: string | null;
1016
- text: string | null;
1017
1018
  is_transactional: boolean;
1018
1019
  is_high_priority: boolean;
1019
- notification_category_id: string | null;
1020
1020
  started_sending_at_millis: number;
1021
1021
  } | {
1022
1022
  status: "server-error";
1023
1023
  id: string;
1024
1024
  subject: string;
1025
1025
  created_at_millis: number;
1026
+ html: string | null;
1027
+ text: string | null;
1028
+ notification_category_id: string | null;
1029
+ updated_at_millis: number;
1030
+ tsx_source: string;
1031
+ theme_id: string | null;
1026
1032
  to: {
1027
1033
  user_id: string;
1028
1034
  type: "user-primary-email";
@@ -1034,9 +1040,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1034
1040
  type: "custom-emails";
1035
1041
  emails: string[];
1036
1042
  };
1037
- updated_at_millis: number;
1038
- tsx_source: string;
1039
- theme_id: string | null;
1040
1043
  variables: Record<string, {} | null>;
1041
1044
  skip_deliverability_check: boolean;
1042
1045
  scheduled_at_millis: number;
@@ -1059,27 +1062,27 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1059
1062
  has_delivered: boolean;
1060
1063
  started_rendering_at_millis: number;
1061
1064
  rendered_at_millis: number;
1062
- html: string | null;
1063
- text: string | null;
1064
1065
  is_transactional: boolean;
1065
1066
  is_high_priority: boolean;
1066
- notification_category_id: string | null;
1067
1067
  started_sending_at_millis: number;
1068
1068
  error_at_millis: number;
1069
1069
  server_error: string;
1070
1070
  } | {
1071
1071
  subject?: string | undefined;
1072
- started_rendering_at_millis?: number | undefined;
1073
- rendered_at_millis?: number | undefined;
1074
1072
  html?: string | null | undefined;
1075
1073
  text?: string | null | undefined;
1074
+ notification_category_id?: string | null | undefined;
1075
+ started_rendering_at_millis?: number | undefined;
1076
+ rendered_at_millis?: number | undefined;
1076
1077
  is_transactional?: boolean | undefined;
1077
1078
  is_high_priority?: boolean | undefined;
1078
- notification_category_id?: string | null | undefined;
1079
1079
  started_sending_at_millis?: number | undefined;
1080
1080
  status: "skipped";
1081
1081
  id: string;
1082
1082
  created_at_millis: number;
1083
+ updated_at_millis: number;
1084
+ tsx_source: string;
1085
+ theme_id: string | null;
1083
1086
  to: {
1084
1087
  user_id: string;
1085
1088
  type: "user-primary-email";
@@ -1091,9 +1094,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1091
1094
  type: "custom-emails";
1092
1095
  emails: string[];
1093
1096
  };
1094
- updated_at_millis: number;
1095
- tsx_source: string;
1096
- theme_id: string | null;
1097
1097
  variables: Record<string, {} | null>;
1098
1098
  skip_deliverability_check: boolean;
1099
1099
  scheduled_at_millis: number;
@@ -1122,6 +1122,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1122
1122
  id: string;
1123
1123
  subject: string;
1124
1124
  created_at_millis: number;
1125
+ html: string | null;
1126
+ text: string | null;
1127
+ notification_category_id: string | null;
1128
+ updated_at_millis: number;
1129
+ tsx_source: string;
1130
+ theme_id: string | null;
1125
1131
  to: {
1126
1132
  user_id: string;
1127
1133
  type: "user-primary-email";
@@ -1133,9 +1139,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1133
1139
  type: "custom-emails";
1134
1140
  emails: string[];
1135
1141
  };
1136
- updated_at_millis: number;
1137
- tsx_source: string;
1138
- theme_id: string | null;
1139
1142
  variables: Record<string, {} | null>;
1140
1143
  skip_deliverability_check: boolean;
1141
1144
  scheduled_at_millis: number;
@@ -1158,11 +1161,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1158
1161
  has_delivered: boolean;
1159
1162
  started_rendering_at_millis: number;
1160
1163
  rendered_at_millis: number;
1161
- html: string | null;
1162
- text: string | null;
1163
1164
  is_transactional: boolean;
1164
1165
  is_high_priority: boolean;
1165
- notification_category_id: string | null;
1166
1166
  started_sending_at_millis: number;
1167
1167
  bounced_at_millis: number;
1168
1168
  } | {
@@ -1170,6 +1170,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1170
1170
  id: string;
1171
1171
  subject: string;
1172
1172
  created_at_millis: number;
1173
+ html: string | null;
1174
+ text: string | null;
1175
+ notification_category_id: string | null;
1176
+ updated_at_millis: number;
1177
+ tsx_source: string;
1178
+ theme_id: string | null;
1173
1179
  to: {
1174
1180
  user_id: string;
1175
1181
  type: "user-primary-email";
@@ -1181,9 +1187,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1181
1187
  type: "custom-emails";
1182
1188
  emails: string[];
1183
1189
  };
1184
- updated_at_millis: number;
1185
- tsx_source: string;
1186
- theme_id: string | null;
1187
1190
  variables: Record<string, {} | null>;
1188
1191
  skip_deliverability_check: boolean;
1189
1192
  scheduled_at_millis: number;
@@ -1206,11 +1209,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1206
1209
  has_delivered: boolean;
1207
1210
  started_rendering_at_millis: number;
1208
1211
  rendered_at_millis: number;
1209
- html: string | null;
1210
- text: string | null;
1211
1212
  is_transactional: boolean;
1212
1213
  is_high_priority: boolean;
1213
- notification_category_id: string | null;
1214
1214
  started_sending_at_millis: number;
1215
1215
  delivery_delayed_at_millis: number;
1216
1216
  } | {
@@ -1218,6 +1218,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1218
1218
  id: string;
1219
1219
  subject: string;
1220
1220
  created_at_millis: number;
1221
+ html: string | null;
1222
+ text: string | null;
1223
+ notification_category_id: string | null;
1224
+ updated_at_millis: number;
1225
+ tsx_source: string;
1226
+ theme_id: string | null;
1221
1227
  to: {
1222
1228
  user_id: string;
1223
1229
  type: "user-primary-email";
@@ -1229,9 +1235,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1229
1235
  type: "custom-emails";
1230
1236
  emails: string[];
1231
1237
  };
1232
- updated_at_millis: number;
1233
- tsx_source: string;
1234
- theme_id: string | null;
1235
1238
  variables: Record<string, {} | null>;
1236
1239
  skip_deliverability_check: boolean;
1237
1240
  scheduled_at_millis: number;
@@ -1254,11 +1257,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1254
1257
  has_delivered: boolean;
1255
1258
  started_rendering_at_millis: number;
1256
1259
  rendered_at_millis: number;
1257
- html: string | null;
1258
- text: string | null;
1259
1260
  is_transactional: boolean;
1260
1261
  is_high_priority: boolean;
1261
- notification_category_id: string | null;
1262
1262
  started_sending_at_millis: number;
1263
1263
  delivered_at_millis: number;
1264
1264
  can_have_delivery_info: boolean;
@@ -1267,6 +1267,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1267
1267
  id: string;
1268
1268
  subject: string;
1269
1269
  created_at_millis: number;
1270
+ html: string | null;
1271
+ text: string | null;
1272
+ notification_category_id: string | null;
1273
+ updated_at_millis: number;
1274
+ tsx_source: string;
1275
+ theme_id: string | null;
1270
1276
  to: {
1271
1277
  user_id: string;
1272
1278
  type: "user-primary-email";
@@ -1278,9 +1284,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1278
1284
  type: "custom-emails";
1279
1285
  emails: string[];
1280
1286
  };
1281
- updated_at_millis: number;
1282
- tsx_source: string;
1283
- theme_id: string | null;
1284
1287
  variables: Record<string, {} | null>;
1285
1288
  skip_deliverability_check: boolean;
1286
1289
  scheduled_at_millis: number;
@@ -1303,11 +1306,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1303
1306
  has_delivered: boolean;
1304
1307
  started_rendering_at_millis: number;
1305
1308
  rendered_at_millis: number;
1306
- html: string | null;
1307
- text: string | null;
1308
1309
  is_transactional: boolean;
1309
1310
  is_high_priority: boolean;
1310
- notification_category_id: string | null;
1311
1311
  started_sending_at_millis: number;
1312
1312
  delivered_at_millis: number;
1313
1313
  can_have_delivery_info: boolean;
@@ -1317,6 +1317,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1317
1317
  id: string;
1318
1318
  subject: string;
1319
1319
  created_at_millis: number;
1320
+ html: string | null;
1321
+ text: string | null;
1322
+ notification_category_id: string | null;
1323
+ updated_at_millis: number;
1324
+ tsx_source: string;
1325
+ theme_id: string | null;
1320
1326
  to: {
1321
1327
  user_id: string;
1322
1328
  type: "user-primary-email";
@@ -1328,9 +1334,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1328
1334
  type: "custom-emails";
1329
1335
  emails: string[];
1330
1336
  };
1331
- updated_at_millis: number;
1332
- tsx_source: string;
1333
- theme_id: string | null;
1334
1337
  variables: Record<string, {} | null>;
1335
1338
  skip_deliverability_check: boolean;
1336
1339
  scheduled_at_millis: number;
@@ -1353,11 +1356,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1353
1356
  has_delivered: boolean;
1354
1357
  started_rendering_at_millis: number;
1355
1358
  rendered_at_millis: number;
1356
- html: string | null;
1357
- text: string | null;
1358
1359
  is_transactional: boolean;
1359
1360
  is_high_priority: boolean;
1360
- notification_category_id: string | null;
1361
1361
  started_sending_at_millis: number;
1362
1362
  delivered_at_millis: number;
1363
1363
  can_have_delivery_info: boolean;
@@ -1367,6 +1367,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1367
1367
  id: string;
1368
1368
  subject: string;
1369
1369
  created_at_millis: number;
1370
+ html: string | null;
1371
+ text: string | null;
1372
+ notification_category_id: string | null;
1373
+ updated_at_millis: number;
1374
+ tsx_source: string;
1375
+ theme_id: string | null;
1370
1376
  to: {
1371
1377
  user_id: string;
1372
1378
  type: "user-primary-email";
@@ -1378,9 +1384,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1378
1384
  type: "custom-emails";
1379
1385
  emails: string[];
1380
1386
  };
1381
- updated_at_millis: number;
1382
- tsx_source: string;
1383
- theme_id: string | null;
1384
1387
  variables: Record<string, {} | null>;
1385
1388
  skip_deliverability_check: boolean;
1386
1389
  scheduled_at_millis: number;
@@ -1403,11 +1406,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1403
1406
  has_delivered: boolean;
1404
1407
  started_rendering_at_millis: number;
1405
1408
  rendered_at_millis: number;
1406
- html: string | null;
1407
- text: string | null;
1408
1409
  is_transactional: boolean;
1409
1410
  is_high_priority: boolean;
1410
- notification_category_id: string | null;
1411
1411
  started_sending_at_millis: number;
1412
1412
  delivered_at_millis: number;
1413
1413
  can_have_delivery_info: boolean;