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