@hexclave/shared 1.0.6 → 1.0.8

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 (27) hide show
  1. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  2. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +10 -7
  3. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  4. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  5. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +10 -7
  6. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  7. package/dist/esm/interface/admin-metrics.d.ts +2 -2
  8. package/dist/esm/interface/client-interface.js +1 -1
  9. package/dist/esm/interface/client-interface.js.map +1 -1
  10. package/dist/esm/interface/conversations.d.ts +27 -27
  11. package/dist/esm/interface/crud/current-user.d.ts +2 -2
  12. package/dist/esm/interface/crud/email-outbox.d.ts +156 -156
  13. package/dist/esm/interface/crud/team-member-profiles.d.ts +10 -10
  14. package/dist/esm/interface/crud/users.d.ts +8 -8
  15. package/dist/esm/interface/webhooks.d.ts +2 -2
  16. package/dist/interface/admin-metrics.d.ts +12 -12
  17. package/dist/interface/client-interface.js +1 -1
  18. package/dist/interface/client-interface.js.map +1 -1
  19. package/dist/interface/conversations.d.ts +27 -27
  20. package/dist/interface/crud/current-user.d.ts +2 -2
  21. package/dist/interface/crud/email-outbox.d.ts +156 -156
  22. package/dist/interface/crud/team-member-profiles.d.ts +10 -10
  23. package/dist/interface/crud/users.d.ts +8 -8
  24. package/dist/interface/webhooks.d.ts +2 -2
  25. package/package.json +1 -1
  26. package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +10 -7
  27. package/src/interface/client-interface.ts +2 -2
@@ -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;
@@ -161,11 +161,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
161
161
  render_error: string;
162
162
  } | {
163
163
  status: "scheduled";
164
- html: string | null;
165
- text: string | null;
166
164
  id: string;
167
165
  subject: string;
168
166
  created_at_millis: number;
167
+ updated_at_millis: number;
168
+ tsx_source: string;
169
+ theme_id: string | null;
169
170
  to: {
170
171
  user_id: string;
171
172
  type: "user-primary-email";
@@ -177,10 +178,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
177
178
  type: "custom-emails";
178
179
  emails: string[];
179
180
  };
180
- notification_category_id: string | null;
181
- updated_at_millis: number;
182
- tsx_source: string;
183
- theme_id: string | null;
184
181
  variables: Record<string, {} | null>;
185
182
  skip_deliverability_check: boolean;
186
183
  scheduled_at_millis: number;
@@ -203,15 +200,19 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
203
200
  has_delivered: boolean;
204
201
  started_rendering_at_millis: number;
205
202
  rendered_at_millis: number;
203
+ html: string | null;
204
+ text: string | null;
206
205
  is_transactional: boolean;
207
206
  is_high_priority: boolean;
207
+ notification_category_id: string | null;
208
208
  } | {
209
209
  status: "queued";
210
- html: string | null;
211
- text: string | null;
212
210
  id: string;
213
211
  subject: string;
214
212
  created_at_millis: number;
213
+ updated_at_millis: number;
214
+ tsx_source: string;
215
+ theme_id: string | null;
215
216
  to: {
216
217
  user_id: string;
217
218
  type: "user-primary-email";
@@ -223,10 +224,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
223
224
  type: "custom-emails";
224
225
  emails: string[];
225
226
  };
226
- notification_category_id: string | null;
227
- updated_at_millis: number;
228
- tsx_source: string;
229
- theme_id: string | null;
230
227
  variables: Record<string, {} | null>;
231
228
  skip_deliverability_check: boolean;
232
229
  scheduled_at_millis: number;
@@ -249,15 +246,19 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
249
246
  has_delivered: boolean;
250
247
  started_rendering_at_millis: number;
251
248
  rendered_at_millis: number;
249
+ html: string | null;
250
+ text: string | null;
252
251
  is_transactional: boolean;
253
252
  is_high_priority: boolean;
253
+ notification_category_id: string | null;
254
254
  } | {
255
255
  status: "sending";
256
- html: string | null;
257
- text: string | null;
258
256
  id: string;
259
257
  subject: string;
260
258
  created_at_millis: number;
259
+ updated_at_millis: number;
260
+ tsx_source: string;
261
+ theme_id: string | null;
261
262
  to: {
262
263
  user_id: string;
263
264
  type: "user-primary-email";
@@ -269,10 +270,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
269
270
  type: "custom-emails";
270
271
  emails: string[];
271
272
  };
272
- notification_category_id: string | null;
273
- updated_at_millis: number;
274
- tsx_source: string;
275
- theme_id: string | null;
276
273
  variables: Record<string, {} | null>;
277
274
  skip_deliverability_check: boolean;
278
275
  scheduled_at_millis: number;
@@ -295,16 +292,20 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
295
292
  has_delivered: boolean;
296
293
  started_rendering_at_millis: number;
297
294
  rendered_at_millis: number;
295
+ html: string | null;
296
+ text: string | null;
298
297
  is_transactional: boolean;
299
298
  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
- html: string | null;
304
- text: string | null;
305
303
  id: string;
306
304
  subject: string;
307
305
  created_at_millis: number;
306
+ updated_at_millis: number;
307
+ tsx_source: string;
308
+ theme_id: string | null;
308
309
  to: {
309
310
  user_id: string;
310
311
  type: "user-primary-email";
@@ -316,10 +317,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
316
317
  type: "custom-emails";
317
318
  emails: string[];
318
319
  };
319
- notification_category_id: string | null;
320
- updated_at_millis: number;
321
- tsx_source: string;
322
- theme_id: string | null;
323
320
  variables: Record<string, {} | null>;
324
321
  skip_deliverability_check: boolean;
325
322
  scheduled_at_millis: number;
@@ -342,24 +339,30 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
342
339
  has_delivered: boolean;
343
340
  started_rendering_at_millis: number;
344
341
  rendered_at_millis: number;
342
+ html: string | null;
343
+ text: string | null;
345
344
  is_transactional: boolean;
346
345
  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
- html?: string | null | undefined;
352
- text?: string | null | undefined;
353
351
  subject?: string | undefined;
354
- notification_category_id?: string | null | undefined;
355
352
  started_rendering_at_millis?: number | undefined;
356
353
  rendered_at_millis?: number | undefined;
354
+ html?: string | null | undefined;
355
+ text?: string | null | undefined;
357
356
  is_transactional?: boolean | undefined;
358
357
  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;
@@ -399,11 +399,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
399
399
  skipped_details: Record<string, {} | null>;
400
400
  } | {
401
401
  status: "bounced";
402
- html: string | null;
403
- text: string | null;
404
402
  id: string;
405
403
  subject: string;
406
404
  created_at_millis: number;
405
+ updated_at_millis: number;
406
+ tsx_source: string;
407
+ theme_id: string | null;
407
408
  to: {
408
409
  user_id: string;
409
410
  type: "user-primary-email";
@@ -415,10 +416,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
415
416
  type: "custom-emails";
416
417
  emails: string[];
417
418
  };
418
- notification_category_id: string | null;
419
- updated_at_millis: number;
420
- tsx_source: string;
421
- theme_id: string | null;
422
419
  variables: Record<string, {} | null>;
423
420
  skip_deliverability_check: boolean;
424
421
  scheduled_at_millis: number;
@@ -441,17 +438,21 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
441
438
  has_delivered: boolean;
442
439
  started_rendering_at_millis: number;
443
440
  rendered_at_millis: number;
441
+ html: string | null;
442
+ text: string | null;
444
443
  is_transactional: boolean;
445
444
  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
  } | {
449
449
  status: "delivery-delayed";
450
- html: string | null;
451
- text: string | null;
452
450
  id: string;
453
451
  subject: string;
454
452
  created_at_millis: number;
453
+ updated_at_millis: number;
454
+ tsx_source: string;
455
+ theme_id: string | null;
455
456
  to: {
456
457
  user_id: string;
457
458
  type: "user-primary-email";
@@ -463,10 +464,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
463
464
  type: "custom-emails";
464
465
  emails: string[];
465
466
  };
466
- notification_category_id: string | null;
467
- updated_at_millis: number;
468
- tsx_source: string;
469
- theme_id: string | null;
470
467
  variables: Record<string, {} | null>;
471
468
  skip_deliverability_check: boolean;
472
469
  scheduled_at_millis: number;
@@ -489,17 +486,21 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
489
486
  has_delivered: boolean;
490
487
  started_rendering_at_millis: number;
491
488
  rendered_at_millis: number;
489
+ html: string | null;
490
+ text: string | null;
492
491
  is_transactional: boolean;
493
492
  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
  } | {
497
497
  status: "sent";
498
- html: string | null;
499
- text: string | null;
500
498
  id: string;
501
499
  subject: string;
502
500
  created_at_millis: number;
501
+ updated_at_millis: number;
502
+ tsx_source: string;
503
+ theme_id: string | null;
503
504
  to: {
504
505
  user_id: string;
505
506
  type: "user-primary-email";
@@ -511,10 +512,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
511
512
  type: "custom-emails";
512
513
  emails: string[];
513
514
  };
514
- notification_category_id: string | null;
515
- updated_at_millis: number;
516
- tsx_source: string;
517
- theme_id: string | null;
518
515
  variables: Record<string, {} | null>;
519
516
  skip_deliverability_check: boolean;
520
517
  scheduled_at_millis: number;
@@ -537,18 +534,22 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
537
534
  has_delivered: boolean;
538
535
  started_rendering_at_millis: number;
539
536
  rendered_at_millis: number;
537
+ html: string | null;
538
+ text: string | null;
540
539
  is_transactional: boolean;
541
540
  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;
545
545
  } | {
546
546
  status: "opened";
547
- html: string | null;
548
- text: string | null;
549
547
  id: string;
550
548
  subject: string;
551
549
  created_at_millis: number;
550
+ updated_at_millis: number;
551
+ tsx_source: string;
552
+ theme_id: string | null;
552
553
  to: {
553
554
  user_id: string;
554
555
  type: "user-primary-email";
@@ -560,10 +561,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
560
561
  type: "custom-emails";
561
562
  emails: string[];
562
563
  };
563
- notification_category_id: string | null;
564
- updated_at_millis: number;
565
- tsx_source: string;
566
- theme_id: string | null;
567
564
  variables: Record<string, {} | null>;
568
565
  skip_deliverability_check: boolean;
569
566
  scheduled_at_millis: number;
@@ -586,19 +583,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
586
583
  has_delivered: boolean;
587
584
  started_rendering_at_millis: number;
588
585
  rendered_at_millis: number;
586
+ html: string | null;
587
+ text: string | null;
589
588
  is_transactional: boolean;
590
589
  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;
594
594
  opened_at_millis: number;
595
595
  } | {
596
596
  status: "clicked";
597
- html: string | null;
598
- text: string | null;
599
597
  id: string;
600
598
  subject: string;
601
599
  created_at_millis: number;
600
+ updated_at_millis: number;
601
+ tsx_source: string;
602
+ theme_id: string | null;
602
603
  to: {
603
604
  user_id: string;
604
605
  type: "user-primary-email";
@@ -610,10 +611,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
610
611
  type: "custom-emails";
611
612
  emails: string[];
612
613
  };
613
- notification_category_id: string | null;
614
- updated_at_millis: number;
615
- tsx_source: string;
616
- theme_id: string | null;
617
614
  variables: Record<string, {} | null>;
618
615
  skip_deliverability_check: boolean;
619
616
  scheduled_at_millis: number;
@@ -636,19 +633,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
636
633
  has_delivered: boolean;
637
634
  started_rendering_at_millis: number;
638
635
  rendered_at_millis: number;
636
+ html: string | null;
637
+ text: string | null;
639
638
  is_transactional: boolean;
640
639
  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;
644
644
  clicked_at_millis: number;
645
645
  } | {
646
646
  status: "marked-as-spam";
647
- html: string | null;
648
- text: string | null;
649
647
  id: string;
650
648
  subject: string;
651
649
  created_at_millis: number;
650
+ updated_at_millis: number;
651
+ tsx_source: string;
652
+ theme_id: string | null;
652
653
  to: {
653
654
  user_id: string;
654
655
  type: "user-primary-email";
@@ -660,10 +661,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
660
661
  type: "custom-emails";
661
662
  emails: string[];
662
663
  };
663
- notification_category_id: string | null;
664
- updated_at_millis: number;
665
- tsx_source: string;
666
- theme_id: string | null;
667
664
  variables: Record<string, {} | null>;
668
665
  skip_deliverability_check: boolean;
669
666
  scheduled_at_millis: number;
@@ -686,8 +683,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
686
683
  has_delivered: boolean;
687
684
  started_rendering_at_millis: number;
688
685
  rendered_at_millis: number;
686
+ html: string | null;
687
+ text: string | null;
689
688
  is_transactional: boolean;
690
689
  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;
@@ -881,11 +881,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
881
881
  render_error: string;
882
882
  } | {
883
883
  status: "scheduled";
884
- html: string | null;
885
- text: string | null;
886
884
  id: string;
887
885
  subject: string;
888
886
  created_at_millis: number;
887
+ updated_at_millis: number;
888
+ tsx_source: string;
889
+ theme_id: string | null;
889
890
  to: {
890
891
  user_id: string;
891
892
  type: "user-primary-email";
@@ -897,10 +898,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
897
898
  type: "custom-emails";
898
899
  emails: string[];
899
900
  };
900
- notification_category_id: string | null;
901
- updated_at_millis: number;
902
- tsx_source: string;
903
- theme_id: string | null;
904
901
  variables: Record<string, {} | null>;
905
902
  skip_deliverability_check: boolean;
906
903
  scheduled_at_millis: number;
@@ -923,15 +920,19 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
923
920
  has_delivered: boolean;
924
921
  started_rendering_at_millis: number;
925
922
  rendered_at_millis: number;
923
+ html: string | null;
924
+ text: string | null;
926
925
  is_transactional: boolean;
927
926
  is_high_priority: boolean;
927
+ notification_category_id: string | null;
928
928
  } | {
929
929
  status: "queued";
930
- html: string | null;
931
- text: string | null;
932
930
  id: string;
933
931
  subject: string;
934
932
  created_at_millis: number;
933
+ updated_at_millis: number;
934
+ tsx_source: string;
935
+ theme_id: string | null;
935
936
  to: {
936
937
  user_id: string;
937
938
  type: "user-primary-email";
@@ -943,10 +944,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
943
944
  type: "custom-emails";
944
945
  emails: string[];
945
946
  };
946
- notification_category_id: string | null;
947
- updated_at_millis: number;
948
- tsx_source: string;
949
- theme_id: string | null;
950
947
  variables: Record<string, {} | null>;
951
948
  skip_deliverability_check: boolean;
952
949
  scheduled_at_millis: number;
@@ -969,15 +966,19 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
969
966
  has_delivered: boolean;
970
967
  started_rendering_at_millis: number;
971
968
  rendered_at_millis: number;
969
+ html: string | null;
970
+ text: string | null;
972
971
  is_transactional: boolean;
973
972
  is_high_priority: boolean;
973
+ notification_category_id: string | null;
974
974
  } | {
975
975
  status: "sending";
976
- html: string | null;
977
- text: string | null;
978
976
  id: string;
979
977
  subject: string;
980
978
  created_at_millis: number;
979
+ updated_at_millis: number;
980
+ tsx_source: string;
981
+ theme_id: string | null;
981
982
  to: {
982
983
  user_id: string;
983
984
  type: "user-primary-email";
@@ -989,10 +990,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
989
990
  type: "custom-emails";
990
991
  emails: string[];
991
992
  };
992
- notification_category_id: string | null;
993
- updated_at_millis: number;
994
- tsx_source: string;
995
- theme_id: string | null;
996
993
  variables: Record<string, {} | null>;
997
994
  skip_deliverability_check: boolean;
998
995
  scheduled_at_millis: number;
@@ -1015,16 +1012,20 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1015
1012
  has_delivered: boolean;
1016
1013
  started_rendering_at_millis: number;
1017
1014
  rendered_at_millis: number;
1015
+ html: string | null;
1016
+ text: string | null;
1018
1017
  is_transactional: boolean;
1019
1018
  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
- html: string | null;
1024
- text: string | null;
1025
1023
  id: string;
1026
1024
  subject: string;
1027
1025
  created_at_millis: number;
1026
+ updated_at_millis: number;
1027
+ tsx_source: string;
1028
+ theme_id: string | null;
1028
1029
  to: {
1029
1030
  user_id: string;
1030
1031
  type: "user-primary-email";
@@ -1036,10 +1037,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1036
1037
  type: "custom-emails";
1037
1038
  emails: string[];
1038
1039
  };
1039
- notification_category_id: string | null;
1040
- updated_at_millis: number;
1041
- tsx_source: string;
1042
- theme_id: string | null;
1043
1040
  variables: Record<string, {} | null>;
1044
1041
  skip_deliverability_check: boolean;
1045
1042
  scheduled_at_millis: number;
@@ -1062,24 +1059,30 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1062
1059
  has_delivered: boolean;
1063
1060
  started_rendering_at_millis: number;
1064
1061
  rendered_at_millis: number;
1062
+ html: string | null;
1063
+ text: string | null;
1065
1064
  is_transactional: boolean;
1066
1065
  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
- html?: string | null | undefined;
1072
- text?: string | null | undefined;
1073
1071
  subject?: string | undefined;
1074
- notification_category_id?: string | null | undefined;
1075
1072
  started_rendering_at_millis?: number | undefined;
1076
1073
  rendered_at_millis?: number | undefined;
1074
+ html?: string | null | undefined;
1075
+ text?: string | null | undefined;
1077
1076
  is_transactional?: boolean | undefined;
1078
1077
  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;
@@ -1119,11 +1119,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1119
1119
  skipped_details: Record<string, {} | null>;
1120
1120
  } | {
1121
1121
  status: "bounced";
1122
- html: string | null;
1123
- text: string | null;
1124
1122
  id: string;
1125
1123
  subject: string;
1126
1124
  created_at_millis: number;
1125
+ updated_at_millis: number;
1126
+ tsx_source: string;
1127
+ theme_id: string | null;
1127
1128
  to: {
1128
1129
  user_id: string;
1129
1130
  type: "user-primary-email";
@@ -1135,10 +1136,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1135
1136
  type: "custom-emails";
1136
1137
  emails: string[];
1137
1138
  };
1138
- notification_category_id: string | null;
1139
- updated_at_millis: number;
1140
- tsx_source: string;
1141
- theme_id: string | null;
1142
1139
  variables: Record<string, {} | null>;
1143
1140
  skip_deliverability_check: boolean;
1144
1141
  scheduled_at_millis: number;
@@ -1161,17 +1158,21 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1161
1158
  has_delivered: boolean;
1162
1159
  started_rendering_at_millis: number;
1163
1160
  rendered_at_millis: number;
1161
+ html: string | null;
1162
+ text: string | null;
1164
1163
  is_transactional: boolean;
1165
1164
  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
  } | {
1169
1169
  status: "delivery-delayed";
1170
- html: string | null;
1171
- text: string | null;
1172
1170
  id: string;
1173
1171
  subject: string;
1174
1172
  created_at_millis: number;
1173
+ updated_at_millis: number;
1174
+ tsx_source: string;
1175
+ theme_id: string | null;
1175
1176
  to: {
1176
1177
  user_id: string;
1177
1178
  type: "user-primary-email";
@@ -1183,10 +1184,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1183
1184
  type: "custom-emails";
1184
1185
  emails: string[];
1185
1186
  };
1186
- notification_category_id: string | null;
1187
- updated_at_millis: number;
1188
- tsx_source: string;
1189
- theme_id: string | null;
1190
1187
  variables: Record<string, {} | null>;
1191
1188
  skip_deliverability_check: boolean;
1192
1189
  scheduled_at_millis: number;
@@ -1209,17 +1206,21 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1209
1206
  has_delivered: boolean;
1210
1207
  started_rendering_at_millis: number;
1211
1208
  rendered_at_millis: number;
1209
+ html: string | null;
1210
+ text: string | null;
1212
1211
  is_transactional: boolean;
1213
1212
  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
  } | {
1217
1217
  status: "sent";
1218
- html: string | null;
1219
- text: string | null;
1220
1218
  id: string;
1221
1219
  subject: string;
1222
1220
  created_at_millis: number;
1221
+ updated_at_millis: number;
1222
+ tsx_source: string;
1223
+ theme_id: string | null;
1223
1224
  to: {
1224
1225
  user_id: string;
1225
1226
  type: "user-primary-email";
@@ -1231,10 +1232,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1231
1232
  type: "custom-emails";
1232
1233
  emails: string[];
1233
1234
  };
1234
- notification_category_id: string | null;
1235
- updated_at_millis: number;
1236
- tsx_source: string;
1237
- theme_id: string | null;
1238
1235
  variables: Record<string, {} | null>;
1239
1236
  skip_deliverability_check: boolean;
1240
1237
  scheduled_at_millis: number;
@@ -1257,18 +1254,22 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1257
1254
  has_delivered: boolean;
1258
1255
  started_rendering_at_millis: number;
1259
1256
  rendered_at_millis: number;
1257
+ html: string | null;
1258
+ text: string | null;
1260
1259
  is_transactional: boolean;
1261
1260
  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;
1265
1265
  } | {
1266
1266
  status: "opened";
1267
- html: string | null;
1268
- text: string | null;
1269
1267
  id: string;
1270
1268
  subject: string;
1271
1269
  created_at_millis: number;
1270
+ updated_at_millis: number;
1271
+ tsx_source: string;
1272
+ theme_id: string | null;
1272
1273
  to: {
1273
1274
  user_id: string;
1274
1275
  type: "user-primary-email";
@@ -1280,10 +1281,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1280
1281
  type: "custom-emails";
1281
1282
  emails: string[];
1282
1283
  };
1283
- notification_category_id: string | null;
1284
- updated_at_millis: number;
1285
- tsx_source: string;
1286
- theme_id: string | null;
1287
1284
  variables: Record<string, {} | null>;
1288
1285
  skip_deliverability_check: boolean;
1289
1286
  scheduled_at_millis: number;
@@ -1306,19 +1303,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1306
1303
  has_delivered: boolean;
1307
1304
  started_rendering_at_millis: number;
1308
1305
  rendered_at_millis: number;
1306
+ html: string | null;
1307
+ text: string | null;
1309
1308
  is_transactional: boolean;
1310
1309
  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;
1314
1314
  opened_at_millis: number;
1315
1315
  } | {
1316
1316
  status: "clicked";
1317
- html: string | null;
1318
- text: string | null;
1319
1317
  id: string;
1320
1318
  subject: string;
1321
1319
  created_at_millis: number;
1320
+ updated_at_millis: number;
1321
+ tsx_source: string;
1322
+ theme_id: string | null;
1322
1323
  to: {
1323
1324
  user_id: string;
1324
1325
  type: "user-primary-email";
@@ -1330,10 +1331,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1330
1331
  type: "custom-emails";
1331
1332
  emails: string[];
1332
1333
  };
1333
- notification_category_id: string | null;
1334
- updated_at_millis: number;
1335
- tsx_source: string;
1336
- theme_id: string | null;
1337
1334
  variables: Record<string, {} | null>;
1338
1335
  skip_deliverability_check: boolean;
1339
1336
  scheduled_at_millis: number;
@@ -1356,19 +1353,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1356
1353
  has_delivered: boolean;
1357
1354
  started_rendering_at_millis: number;
1358
1355
  rendered_at_millis: number;
1356
+ html: string | null;
1357
+ text: string | null;
1359
1358
  is_transactional: boolean;
1360
1359
  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;
1364
1364
  clicked_at_millis: number;
1365
1365
  } | {
1366
1366
  status: "marked-as-spam";
1367
- html: string | null;
1368
- text: string | null;
1369
1367
  id: string;
1370
1368
  subject: string;
1371
1369
  created_at_millis: number;
1370
+ updated_at_millis: number;
1371
+ tsx_source: string;
1372
+ theme_id: string | null;
1372
1373
  to: {
1373
1374
  user_id: string;
1374
1375
  type: "user-primary-email";
@@ -1380,10 +1381,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1380
1381
  type: "custom-emails";
1381
1382
  emails: string[];
1382
1383
  };
1383
- notification_category_id: string | null;
1384
- updated_at_millis: number;
1385
- tsx_source: string;
1386
- theme_id: string | null;
1387
1384
  variables: Record<string, {} | null>;
1388
1385
  skip_deliverability_check: boolean;
1389
1386
  scheduled_at_millis: number;
@@ -1406,8 +1403,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1406
1403
  has_delivered: boolean;
1407
1404
  started_rendering_at_millis: number;
1408
1405
  rendered_at_millis: number;
1406
+ html: string | null;
1407
+ text: string | null;
1409
1408
  is_transactional: boolean;
1410
1409
  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;