@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
@@ -6,6 +6,9 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
6
6
  status: "paused";
7
7
  id: string;
8
8
  created_at_millis: number;
9
+ updated_at_millis: number;
10
+ tsx_source: string;
11
+ theme_id: string | null;
9
12
  to: {
10
13
  user_id: string;
11
14
  type: "user-primary-email";
@@ -17,9 +20,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
17
20
  type: "custom-emails";
18
21
  emails: string[];
19
22
  };
20
- updated_at_millis: number;
21
- tsx_source: string;
22
- theme_id: string | null;
23
23
  variables: Record<string, {} | null>;
24
24
  skip_deliverability_check: boolean;
25
25
  scheduled_at_millis: number;
@@ -44,6 +44,9 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
44
44
  status: "preparing";
45
45
  id: string;
46
46
  created_at_millis: number;
47
+ updated_at_millis: number;
48
+ tsx_source: string;
49
+ theme_id: string | null;
47
50
  to: {
48
51
  user_id: string;
49
52
  type: "user-primary-email";
@@ -55,9 +58,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
55
58
  type: "custom-emails";
56
59
  emails: string[];
57
60
  };
58
- updated_at_millis: number;
59
- tsx_source: string;
60
- theme_id: string | null;
61
61
  variables: Record<string, {} | null>;
62
62
  skip_deliverability_check: boolean;
63
63
  scheduled_at_millis: number;
@@ -82,6 +82,9 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
82
82
  status: "rendering";
83
83
  id: string;
84
84
  created_at_millis: number;
85
+ updated_at_millis: number;
86
+ tsx_source: string;
87
+ theme_id: string | null;
85
88
  to: {
86
89
  user_id: string;
87
90
  type: "user-primary-email";
@@ -93,9 +96,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
93
96
  type: "custom-emails";
94
97
  emails: string[];
95
98
  };
96
- updated_at_millis: number;
97
- tsx_source: string;
98
- theme_id: string | null;
99
99
  variables: Record<string, {} | null>;
100
100
  skip_deliverability_check: boolean;
101
101
  scheduled_at_millis: number;
@@ -121,6 +121,9 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
121
121
  status: "render-error";
122
122
  id: string;
123
123
  created_at_millis: number;
124
+ updated_at_millis: number;
125
+ tsx_source: string;
126
+ theme_id: string | null;
124
127
  to: {
125
128
  user_id: string;
126
129
  type: "user-primary-email";
@@ -132,9 +135,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
132
135
  type: "custom-emails";
133
136
  emails: string[];
134
137
  };
135
- updated_at_millis: number;
136
- tsx_source: string;
137
- theme_id: string | null;
138
138
  variables: Record<string, {} | null>;
139
139
  skip_deliverability_check: boolean;
140
140
  scheduled_at_millis: number;
@@ -160,11 +160,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
160
160
  render_error: string;
161
161
  } | {
162
162
  status: "scheduled";
163
- html: string | null;
164
- text: string | null;
165
163
  id: string;
166
164
  subject: string;
167
165
  created_at_millis: number;
166
+ updated_at_millis: number;
167
+ tsx_source: string;
168
+ theme_id: string | null;
168
169
  to: {
169
170
  user_id: string;
170
171
  type: "user-primary-email";
@@ -176,10 +177,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
176
177
  type: "custom-emails";
177
178
  emails: string[];
178
179
  };
179
- notification_category_id: string | null;
180
- updated_at_millis: number;
181
- tsx_source: string;
182
- theme_id: string | null;
183
180
  variables: Record<string, {} | null>;
184
181
  skip_deliverability_check: boolean;
185
182
  scheduled_at_millis: number;
@@ -202,15 +199,19 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
202
199
  has_delivered: boolean;
203
200
  started_rendering_at_millis: number;
204
201
  rendered_at_millis: number;
202
+ html: string | null;
203
+ text: string | null;
205
204
  is_transactional: boolean;
206
205
  is_high_priority: boolean;
206
+ notification_category_id: string | null;
207
207
  } | {
208
208
  status: "queued";
209
- html: string | null;
210
- text: string | null;
211
209
  id: string;
212
210
  subject: string;
213
211
  created_at_millis: number;
212
+ updated_at_millis: number;
213
+ tsx_source: string;
214
+ theme_id: string | null;
214
215
  to: {
215
216
  user_id: string;
216
217
  type: "user-primary-email";
@@ -222,10 +223,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
222
223
  type: "custom-emails";
223
224
  emails: string[];
224
225
  };
225
- notification_category_id: string | null;
226
- updated_at_millis: number;
227
- tsx_source: string;
228
- theme_id: string | null;
229
226
  variables: Record<string, {} | null>;
230
227
  skip_deliverability_check: boolean;
231
228
  scheduled_at_millis: number;
@@ -248,15 +245,19 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
248
245
  has_delivered: boolean;
249
246
  started_rendering_at_millis: number;
250
247
  rendered_at_millis: number;
248
+ html: string | null;
249
+ text: string | null;
251
250
  is_transactional: boolean;
252
251
  is_high_priority: boolean;
252
+ notification_category_id: string | null;
253
253
  } | {
254
254
  status: "sending";
255
- html: string | null;
256
- text: string | null;
257
255
  id: string;
258
256
  subject: string;
259
257
  created_at_millis: number;
258
+ updated_at_millis: number;
259
+ tsx_source: string;
260
+ theme_id: string | null;
260
261
  to: {
261
262
  user_id: string;
262
263
  type: "user-primary-email";
@@ -268,10 +269,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
268
269
  type: "custom-emails";
269
270
  emails: string[];
270
271
  };
271
- notification_category_id: string | null;
272
- updated_at_millis: number;
273
- tsx_source: string;
274
- theme_id: string | null;
275
272
  variables: Record<string, {} | null>;
276
273
  skip_deliverability_check: boolean;
277
274
  scheduled_at_millis: number;
@@ -294,16 +291,20 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
294
291
  has_delivered: boolean;
295
292
  started_rendering_at_millis: number;
296
293
  rendered_at_millis: number;
294
+ html: string | null;
295
+ text: string | null;
297
296
  is_transactional: boolean;
298
297
  is_high_priority: boolean;
298
+ notification_category_id: string | null;
299
299
  started_sending_at_millis: number;
300
300
  } | {
301
301
  status: "server-error";
302
- html: string | null;
303
- text: string | null;
304
302
  id: string;
305
303
  subject: string;
306
304
  created_at_millis: number;
305
+ updated_at_millis: number;
306
+ tsx_source: string;
307
+ theme_id: string | null;
307
308
  to: {
308
309
  user_id: string;
309
310
  type: "user-primary-email";
@@ -315,10 +316,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
315
316
  type: "custom-emails";
316
317
  emails: string[];
317
318
  };
318
- notification_category_id: string | null;
319
- updated_at_millis: number;
320
- tsx_source: string;
321
- theme_id: string | null;
322
319
  variables: Record<string, {} | null>;
323
320
  skip_deliverability_check: boolean;
324
321
  scheduled_at_millis: number;
@@ -341,24 +338,30 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
341
338
  has_delivered: boolean;
342
339
  started_rendering_at_millis: number;
343
340
  rendered_at_millis: number;
341
+ html: string | null;
342
+ text: string | null;
344
343
  is_transactional: boolean;
345
344
  is_high_priority: boolean;
345
+ notification_category_id: string | null;
346
346
  started_sending_at_millis: number;
347
347
  error_at_millis: number;
348
348
  server_error: string;
349
349
  } | {
350
- html?: string | null | undefined;
351
- text?: string | null | undefined;
352
350
  subject?: string | undefined;
353
- notification_category_id?: string | null | undefined;
354
351
  started_rendering_at_millis?: number | undefined;
355
352
  rendered_at_millis?: number | undefined;
353
+ html?: string | null | undefined;
354
+ text?: string | null | undefined;
356
355
  is_transactional?: boolean | undefined;
357
356
  is_high_priority?: boolean | undefined;
357
+ notification_category_id?: string | null | undefined;
358
358
  started_sending_at_millis?: number | undefined;
359
359
  status: "skipped";
360
360
  id: string;
361
361
  created_at_millis: number;
362
+ updated_at_millis: number;
363
+ tsx_source: string;
364
+ theme_id: string | null;
362
365
  to: {
363
366
  user_id: string;
364
367
  type: "user-primary-email";
@@ -370,9 +373,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
370
373
  type: "custom-emails";
371
374
  emails: string[];
372
375
  };
373
- updated_at_millis: number;
374
- tsx_source: string;
375
- theme_id: string | null;
376
376
  variables: Record<string, {} | null>;
377
377
  skip_deliverability_check: boolean;
378
378
  scheduled_at_millis: number;
@@ -398,11 +398,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
398
398
  skipped_details: Record<string, {} | null>;
399
399
  } | {
400
400
  status: "bounced";
401
- html: string | null;
402
- text: string | null;
403
401
  id: string;
404
402
  subject: string;
405
403
  created_at_millis: number;
404
+ updated_at_millis: number;
405
+ tsx_source: string;
406
+ theme_id: string | null;
406
407
  to: {
407
408
  user_id: string;
408
409
  type: "user-primary-email";
@@ -414,10 +415,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
414
415
  type: "custom-emails";
415
416
  emails: string[];
416
417
  };
417
- notification_category_id: string | null;
418
- updated_at_millis: number;
419
- tsx_source: string;
420
- theme_id: string | null;
421
418
  variables: Record<string, {} | null>;
422
419
  skip_deliverability_check: boolean;
423
420
  scheduled_at_millis: number;
@@ -440,17 +437,21 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
440
437
  has_delivered: boolean;
441
438
  started_rendering_at_millis: number;
442
439
  rendered_at_millis: number;
440
+ html: string | null;
441
+ text: string | null;
443
442
  is_transactional: boolean;
444
443
  is_high_priority: boolean;
444
+ notification_category_id: string | null;
445
445
  started_sending_at_millis: number;
446
446
  bounced_at_millis: number;
447
447
  } | {
448
448
  status: "delivery-delayed";
449
- html: string | null;
450
- text: string | null;
451
449
  id: string;
452
450
  subject: string;
453
451
  created_at_millis: number;
452
+ updated_at_millis: number;
453
+ tsx_source: string;
454
+ theme_id: string | null;
454
455
  to: {
455
456
  user_id: string;
456
457
  type: "user-primary-email";
@@ -462,10 +463,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
462
463
  type: "custom-emails";
463
464
  emails: string[];
464
465
  };
465
- notification_category_id: string | null;
466
- updated_at_millis: number;
467
- tsx_source: string;
468
- theme_id: string | null;
469
466
  variables: Record<string, {} | null>;
470
467
  skip_deliverability_check: boolean;
471
468
  scheduled_at_millis: number;
@@ -488,17 +485,21 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
488
485
  has_delivered: boolean;
489
486
  started_rendering_at_millis: number;
490
487
  rendered_at_millis: number;
488
+ html: string | null;
489
+ text: string | null;
491
490
  is_transactional: boolean;
492
491
  is_high_priority: boolean;
492
+ notification_category_id: string | null;
493
493
  started_sending_at_millis: number;
494
494
  delivery_delayed_at_millis: number;
495
495
  } | {
496
496
  status: "sent";
497
- html: string | null;
498
- text: string | null;
499
497
  id: string;
500
498
  subject: string;
501
499
  created_at_millis: number;
500
+ updated_at_millis: number;
501
+ tsx_source: string;
502
+ theme_id: string | null;
502
503
  to: {
503
504
  user_id: string;
504
505
  type: "user-primary-email";
@@ -510,10 +511,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
510
511
  type: "custom-emails";
511
512
  emails: string[];
512
513
  };
513
- notification_category_id: string | null;
514
- updated_at_millis: number;
515
- tsx_source: string;
516
- theme_id: string | null;
517
514
  variables: Record<string, {} | null>;
518
515
  skip_deliverability_check: boolean;
519
516
  scheduled_at_millis: number;
@@ -536,18 +533,22 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
536
533
  has_delivered: boolean;
537
534
  started_rendering_at_millis: number;
538
535
  rendered_at_millis: number;
536
+ html: string | null;
537
+ text: string | null;
539
538
  is_transactional: boolean;
540
539
  is_high_priority: boolean;
540
+ notification_category_id: string | null;
541
541
  started_sending_at_millis: number;
542
542
  delivered_at_millis: number;
543
543
  can_have_delivery_info: boolean;
544
544
  } | {
545
545
  status: "opened";
546
- html: string | null;
547
- text: string | null;
548
546
  id: string;
549
547
  subject: string;
550
548
  created_at_millis: number;
549
+ updated_at_millis: number;
550
+ tsx_source: string;
551
+ theme_id: string | null;
551
552
  to: {
552
553
  user_id: string;
553
554
  type: "user-primary-email";
@@ -559,10 +560,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
559
560
  type: "custom-emails";
560
561
  emails: string[];
561
562
  };
562
- notification_category_id: string | null;
563
- updated_at_millis: number;
564
- tsx_source: string;
565
- theme_id: string | null;
566
563
  variables: Record<string, {} | null>;
567
564
  skip_deliverability_check: boolean;
568
565
  scheduled_at_millis: number;
@@ -585,19 +582,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
585
582
  has_delivered: boolean;
586
583
  started_rendering_at_millis: number;
587
584
  rendered_at_millis: number;
585
+ html: string | null;
586
+ text: string | null;
588
587
  is_transactional: boolean;
589
588
  is_high_priority: boolean;
589
+ notification_category_id: string | null;
590
590
  started_sending_at_millis: number;
591
591
  delivered_at_millis: number;
592
592
  can_have_delivery_info: boolean;
593
593
  opened_at_millis: number;
594
594
  } | {
595
595
  status: "clicked";
596
- html: string | null;
597
- text: string | null;
598
596
  id: string;
599
597
  subject: string;
600
598
  created_at_millis: number;
599
+ updated_at_millis: number;
600
+ tsx_source: string;
601
+ theme_id: string | null;
601
602
  to: {
602
603
  user_id: string;
603
604
  type: "user-primary-email";
@@ -609,10 +610,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
609
610
  type: "custom-emails";
610
611
  emails: string[];
611
612
  };
612
- notification_category_id: string | null;
613
- updated_at_millis: number;
614
- tsx_source: string;
615
- theme_id: string | null;
616
613
  variables: Record<string, {} | null>;
617
614
  skip_deliverability_check: boolean;
618
615
  scheduled_at_millis: number;
@@ -635,19 +632,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
635
632
  has_delivered: boolean;
636
633
  started_rendering_at_millis: number;
637
634
  rendered_at_millis: number;
635
+ html: string | null;
636
+ text: string | null;
638
637
  is_transactional: boolean;
639
638
  is_high_priority: boolean;
639
+ notification_category_id: string | null;
640
640
  started_sending_at_millis: number;
641
641
  delivered_at_millis: number;
642
642
  can_have_delivery_info: boolean;
643
643
  clicked_at_millis: number;
644
644
  } | {
645
645
  status: "marked-as-spam";
646
- html: string | null;
647
- text: string | null;
648
646
  id: string;
649
647
  subject: string;
650
648
  created_at_millis: number;
649
+ updated_at_millis: number;
650
+ tsx_source: string;
651
+ theme_id: string | null;
651
652
  to: {
652
653
  user_id: string;
653
654
  type: "user-primary-email";
@@ -659,10 +660,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
659
660
  type: "custom-emails";
660
661
  emails: string[];
661
662
  };
662
- notification_category_id: string | null;
663
- updated_at_millis: number;
664
- tsx_source: string;
665
- theme_id: string | null;
666
663
  variables: Record<string, {} | null>;
667
664
  skip_deliverability_check: boolean;
668
665
  scheduled_at_millis: number;
@@ -685,8 +682,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
685
682
  has_delivered: boolean;
686
683
  started_rendering_at_millis: number;
687
684
  rendered_at_millis: number;
685
+ html: string | null;
686
+ text: string | null;
688
687
  is_transactional: boolean;
689
688
  is_high_priority: boolean;
689
+ notification_category_id: string | null;
690
690
  started_sending_at_millis: number;
691
691
  delivered_at_millis: number;
692
692
  can_have_delivery_info: boolean;
@@ -726,6 +726,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
726
726
  status: "paused";
727
727
  id: string;
728
728
  created_at_millis: number;
729
+ updated_at_millis: number;
730
+ tsx_source: string;
731
+ theme_id: string | null;
729
732
  to: {
730
733
  user_id: string;
731
734
  type: "user-primary-email";
@@ -737,9 +740,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
737
740
  type: "custom-emails";
738
741
  emails: string[];
739
742
  };
740
- updated_at_millis: number;
741
- tsx_source: string;
742
- theme_id: string | null;
743
743
  variables: Record<string, {} | null>;
744
744
  skip_deliverability_check: boolean;
745
745
  scheduled_at_millis: number;
@@ -764,6 +764,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
764
764
  status: "preparing";
765
765
  id: string;
766
766
  created_at_millis: number;
767
+ updated_at_millis: number;
768
+ tsx_source: string;
769
+ theme_id: string | null;
767
770
  to: {
768
771
  user_id: string;
769
772
  type: "user-primary-email";
@@ -775,9 +778,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
775
778
  type: "custom-emails";
776
779
  emails: string[];
777
780
  };
778
- updated_at_millis: number;
779
- tsx_source: string;
780
- theme_id: string | null;
781
781
  variables: Record<string, {} | null>;
782
782
  skip_deliverability_check: boolean;
783
783
  scheduled_at_millis: number;
@@ -802,6 +802,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
802
802
  status: "rendering";
803
803
  id: string;
804
804
  created_at_millis: number;
805
+ updated_at_millis: number;
806
+ tsx_source: string;
807
+ theme_id: string | null;
805
808
  to: {
806
809
  user_id: string;
807
810
  type: "user-primary-email";
@@ -813,9 +816,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
813
816
  type: "custom-emails";
814
817
  emails: string[];
815
818
  };
816
- updated_at_millis: number;
817
- tsx_source: string;
818
- theme_id: string | null;
819
819
  variables: Record<string, {} | null>;
820
820
  skip_deliverability_check: boolean;
821
821
  scheduled_at_millis: number;
@@ -841,6 +841,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
841
841
  status: "render-error";
842
842
  id: string;
843
843
  created_at_millis: number;
844
+ updated_at_millis: number;
845
+ tsx_source: string;
846
+ theme_id: string | null;
844
847
  to: {
845
848
  user_id: string;
846
849
  type: "user-primary-email";
@@ -852,9 +855,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
852
855
  type: "custom-emails";
853
856
  emails: string[];
854
857
  };
855
- updated_at_millis: number;
856
- tsx_source: string;
857
- theme_id: string | null;
858
858
  variables: Record<string, {} | null>;
859
859
  skip_deliverability_check: boolean;
860
860
  scheduled_at_millis: number;
@@ -880,11 +880,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
880
880
  render_error: string;
881
881
  } | {
882
882
  status: "scheduled";
883
- html: string | null;
884
- text: string | null;
885
883
  id: string;
886
884
  subject: string;
887
885
  created_at_millis: number;
886
+ updated_at_millis: number;
887
+ tsx_source: string;
888
+ theme_id: string | null;
888
889
  to: {
889
890
  user_id: string;
890
891
  type: "user-primary-email";
@@ -896,10 +897,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
896
897
  type: "custom-emails";
897
898
  emails: string[];
898
899
  };
899
- notification_category_id: string | null;
900
- updated_at_millis: number;
901
- tsx_source: string;
902
- theme_id: string | null;
903
900
  variables: Record<string, {} | null>;
904
901
  skip_deliverability_check: boolean;
905
902
  scheduled_at_millis: number;
@@ -922,15 +919,19 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
922
919
  has_delivered: boolean;
923
920
  started_rendering_at_millis: number;
924
921
  rendered_at_millis: number;
922
+ html: string | null;
923
+ text: string | null;
925
924
  is_transactional: boolean;
926
925
  is_high_priority: boolean;
926
+ notification_category_id: string | null;
927
927
  } | {
928
928
  status: "queued";
929
- html: string | null;
930
- text: string | null;
931
929
  id: string;
932
930
  subject: string;
933
931
  created_at_millis: number;
932
+ updated_at_millis: number;
933
+ tsx_source: string;
934
+ theme_id: string | null;
934
935
  to: {
935
936
  user_id: string;
936
937
  type: "user-primary-email";
@@ -942,10 +943,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
942
943
  type: "custom-emails";
943
944
  emails: string[];
944
945
  };
945
- notification_category_id: string | null;
946
- updated_at_millis: number;
947
- tsx_source: string;
948
- theme_id: string | null;
949
946
  variables: Record<string, {} | null>;
950
947
  skip_deliverability_check: boolean;
951
948
  scheduled_at_millis: number;
@@ -968,15 +965,19 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
968
965
  has_delivered: boolean;
969
966
  started_rendering_at_millis: number;
970
967
  rendered_at_millis: number;
968
+ html: string | null;
969
+ text: string | null;
971
970
  is_transactional: boolean;
972
971
  is_high_priority: boolean;
972
+ notification_category_id: string | null;
973
973
  } | {
974
974
  status: "sending";
975
- html: string | null;
976
- text: string | null;
977
975
  id: string;
978
976
  subject: string;
979
977
  created_at_millis: number;
978
+ updated_at_millis: number;
979
+ tsx_source: string;
980
+ theme_id: string | null;
980
981
  to: {
981
982
  user_id: string;
982
983
  type: "user-primary-email";
@@ -988,10 +989,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
988
989
  type: "custom-emails";
989
990
  emails: string[];
990
991
  };
991
- notification_category_id: string | null;
992
- updated_at_millis: number;
993
- tsx_source: string;
994
- theme_id: string | null;
995
992
  variables: Record<string, {} | null>;
996
993
  skip_deliverability_check: boolean;
997
994
  scheduled_at_millis: number;
@@ -1014,16 +1011,20 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1014
1011
  has_delivered: boolean;
1015
1012
  started_rendering_at_millis: number;
1016
1013
  rendered_at_millis: number;
1014
+ html: string | null;
1015
+ text: string | null;
1017
1016
  is_transactional: boolean;
1018
1017
  is_high_priority: boolean;
1018
+ notification_category_id: string | null;
1019
1019
  started_sending_at_millis: number;
1020
1020
  } | {
1021
1021
  status: "server-error";
1022
- html: string | null;
1023
- text: string | null;
1024
1022
  id: string;
1025
1023
  subject: string;
1026
1024
  created_at_millis: number;
1025
+ updated_at_millis: number;
1026
+ tsx_source: string;
1027
+ theme_id: string | null;
1027
1028
  to: {
1028
1029
  user_id: string;
1029
1030
  type: "user-primary-email";
@@ -1035,10 +1036,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1035
1036
  type: "custom-emails";
1036
1037
  emails: string[];
1037
1038
  };
1038
- notification_category_id: string | null;
1039
- updated_at_millis: number;
1040
- tsx_source: string;
1041
- theme_id: string | null;
1042
1039
  variables: Record<string, {} | null>;
1043
1040
  skip_deliverability_check: boolean;
1044
1041
  scheduled_at_millis: number;
@@ -1061,24 +1058,30 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1061
1058
  has_delivered: boolean;
1062
1059
  started_rendering_at_millis: number;
1063
1060
  rendered_at_millis: number;
1061
+ html: string | null;
1062
+ text: string | null;
1064
1063
  is_transactional: boolean;
1065
1064
  is_high_priority: boolean;
1065
+ notification_category_id: string | null;
1066
1066
  started_sending_at_millis: number;
1067
1067
  error_at_millis: number;
1068
1068
  server_error: string;
1069
1069
  } | {
1070
- html?: string | null | undefined;
1071
- text?: string | null | undefined;
1072
1070
  subject?: string | undefined;
1073
- notification_category_id?: string | null | undefined;
1074
1071
  started_rendering_at_millis?: number | undefined;
1075
1072
  rendered_at_millis?: number | undefined;
1073
+ html?: string | null | undefined;
1074
+ text?: string | null | undefined;
1076
1075
  is_transactional?: boolean | undefined;
1077
1076
  is_high_priority?: boolean | undefined;
1077
+ notification_category_id?: string | null | undefined;
1078
1078
  started_sending_at_millis?: number | undefined;
1079
1079
  status: "skipped";
1080
1080
  id: string;
1081
1081
  created_at_millis: number;
1082
+ updated_at_millis: number;
1083
+ tsx_source: string;
1084
+ theme_id: string | null;
1082
1085
  to: {
1083
1086
  user_id: string;
1084
1087
  type: "user-primary-email";
@@ -1090,9 +1093,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1090
1093
  type: "custom-emails";
1091
1094
  emails: string[];
1092
1095
  };
1093
- updated_at_millis: number;
1094
- tsx_source: string;
1095
- theme_id: string | null;
1096
1096
  variables: Record<string, {} | null>;
1097
1097
  skip_deliverability_check: boolean;
1098
1098
  scheduled_at_millis: number;
@@ -1118,11 +1118,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1118
1118
  skipped_details: Record<string, {} | null>;
1119
1119
  } | {
1120
1120
  status: "bounced";
1121
- html: string | null;
1122
- text: string | null;
1123
1121
  id: string;
1124
1122
  subject: string;
1125
1123
  created_at_millis: number;
1124
+ updated_at_millis: number;
1125
+ tsx_source: string;
1126
+ theme_id: string | null;
1126
1127
  to: {
1127
1128
  user_id: string;
1128
1129
  type: "user-primary-email";
@@ -1134,10 +1135,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1134
1135
  type: "custom-emails";
1135
1136
  emails: string[];
1136
1137
  };
1137
- notification_category_id: string | null;
1138
- updated_at_millis: number;
1139
- tsx_source: string;
1140
- theme_id: string | null;
1141
1138
  variables: Record<string, {} | null>;
1142
1139
  skip_deliverability_check: boolean;
1143
1140
  scheduled_at_millis: number;
@@ -1160,17 +1157,21 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1160
1157
  has_delivered: boolean;
1161
1158
  started_rendering_at_millis: number;
1162
1159
  rendered_at_millis: number;
1160
+ html: string | null;
1161
+ text: string | null;
1163
1162
  is_transactional: boolean;
1164
1163
  is_high_priority: boolean;
1164
+ notification_category_id: string | null;
1165
1165
  started_sending_at_millis: number;
1166
1166
  bounced_at_millis: number;
1167
1167
  } | {
1168
1168
  status: "delivery-delayed";
1169
- html: string | null;
1170
- text: string | null;
1171
1169
  id: string;
1172
1170
  subject: string;
1173
1171
  created_at_millis: number;
1172
+ updated_at_millis: number;
1173
+ tsx_source: string;
1174
+ theme_id: string | null;
1174
1175
  to: {
1175
1176
  user_id: string;
1176
1177
  type: "user-primary-email";
@@ -1182,10 +1183,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1182
1183
  type: "custom-emails";
1183
1184
  emails: string[];
1184
1185
  };
1185
- notification_category_id: string | null;
1186
- updated_at_millis: number;
1187
- tsx_source: string;
1188
- theme_id: string | null;
1189
1186
  variables: Record<string, {} | null>;
1190
1187
  skip_deliverability_check: boolean;
1191
1188
  scheduled_at_millis: number;
@@ -1208,17 +1205,21 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1208
1205
  has_delivered: boolean;
1209
1206
  started_rendering_at_millis: number;
1210
1207
  rendered_at_millis: number;
1208
+ html: string | null;
1209
+ text: string | null;
1211
1210
  is_transactional: boolean;
1212
1211
  is_high_priority: boolean;
1212
+ notification_category_id: string | null;
1213
1213
  started_sending_at_millis: number;
1214
1214
  delivery_delayed_at_millis: number;
1215
1215
  } | {
1216
1216
  status: "sent";
1217
- html: string | null;
1218
- text: string | null;
1219
1217
  id: string;
1220
1218
  subject: string;
1221
1219
  created_at_millis: number;
1220
+ updated_at_millis: number;
1221
+ tsx_source: string;
1222
+ theme_id: string | null;
1222
1223
  to: {
1223
1224
  user_id: string;
1224
1225
  type: "user-primary-email";
@@ -1230,10 +1231,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1230
1231
  type: "custom-emails";
1231
1232
  emails: string[];
1232
1233
  };
1233
- notification_category_id: string | null;
1234
- updated_at_millis: number;
1235
- tsx_source: string;
1236
- theme_id: string | null;
1237
1234
  variables: Record<string, {} | null>;
1238
1235
  skip_deliverability_check: boolean;
1239
1236
  scheduled_at_millis: number;
@@ -1256,18 +1253,22 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1256
1253
  has_delivered: boolean;
1257
1254
  started_rendering_at_millis: number;
1258
1255
  rendered_at_millis: number;
1256
+ html: string | null;
1257
+ text: string | null;
1259
1258
  is_transactional: boolean;
1260
1259
  is_high_priority: boolean;
1260
+ notification_category_id: string | null;
1261
1261
  started_sending_at_millis: number;
1262
1262
  delivered_at_millis: number;
1263
1263
  can_have_delivery_info: boolean;
1264
1264
  } | {
1265
1265
  status: "opened";
1266
- html: string | null;
1267
- text: string | null;
1268
1266
  id: string;
1269
1267
  subject: string;
1270
1268
  created_at_millis: number;
1269
+ updated_at_millis: number;
1270
+ tsx_source: string;
1271
+ theme_id: string | null;
1271
1272
  to: {
1272
1273
  user_id: string;
1273
1274
  type: "user-primary-email";
@@ -1279,10 +1280,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1279
1280
  type: "custom-emails";
1280
1281
  emails: string[];
1281
1282
  };
1282
- notification_category_id: string | null;
1283
- updated_at_millis: number;
1284
- tsx_source: string;
1285
- theme_id: string | null;
1286
1283
  variables: Record<string, {} | null>;
1287
1284
  skip_deliverability_check: boolean;
1288
1285
  scheduled_at_millis: number;
@@ -1305,19 +1302,23 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1305
1302
  has_delivered: boolean;
1306
1303
  started_rendering_at_millis: number;
1307
1304
  rendered_at_millis: number;
1305
+ html: string | null;
1306
+ text: string | null;
1308
1307
  is_transactional: boolean;
1309
1308
  is_high_priority: boolean;
1309
+ notification_category_id: string | null;
1310
1310
  started_sending_at_millis: number;
1311
1311
  delivered_at_millis: number;
1312
1312
  can_have_delivery_info: boolean;
1313
1313
  opened_at_millis: number;
1314
1314
  } | {
1315
1315
  status: "clicked";
1316
- html: string | null;
1317
- text: string | null;
1318
1316
  id: string;
1319
1317
  subject: string;
1320
1318
  created_at_millis: number;
1319
+ updated_at_millis: number;
1320
+ tsx_source: string;
1321
+ theme_id: string | null;
1321
1322
  to: {
1322
1323
  user_id: string;
1323
1324
  type: "user-primary-email";
@@ -1329,10 +1330,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1329
1330
  type: "custom-emails";
1330
1331
  emails: string[];
1331
1332
  };
1332
- notification_category_id: string | null;
1333
- updated_at_millis: number;
1334
- tsx_source: string;
1335
- theme_id: string | null;
1336
1333
  variables: Record<string, {} | null>;
1337
1334
  skip_deliverability_check: boolean;
1338
1335
  scheduled_at_millis: number;
@@ -1355,19 +1352,23 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1355
1352
  has_delivered: boolean;
1356
1353
  started_rendering_at_millis: number;
1357
1354
  rendered_at_millis: number;
1355
+ html: string | null;
1356
+ text: string | null;
1358
1357
  is_transactional: boolean;
1359
1358
  is_high_priority: boolean;
1359
+ notification_category_id: string | null;
1360
1360
  started_sending_at_millis: number;
1361
1361
  delivered_at_millis: number;
1362
1362
  can_have_delivery_info: boolean;
1363
1363
  clicked_at_millis: number;
1364
1364
  } | {
1365
1365
  status: "marked-as-spam";
1366
- html: string | null;
1367
- text: string | null;
1368
1366
  id: string;
1369
1367
  subject: string;
1370
1368
  created_at_millis: number;
1369
+ updated_at_millis: number;
1370
+ tsx_source: string;
1371
+ theme_id: string | null;
1371
1372
  to: {
1372
1373
  user_id: string;
1373
1374
  type: "user-primary-email";
@@ -1379,10 +1380,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1379
1380
  type: "custom-emails";
1380
1381
  emails: string[];
1381
1382
  };
1382
- notification_category_id: string | null;
1383
- updated_at_millis: number;
1384
- tsx_source: string;
1385
- theme_id: string | null;
1386
1383
  variables: Record<string, {} | null>;
1387
1384
  skip_deliverability_check: boolean;
1388
1385
  scheduled_at_millis: number;
@@ -1405,8 +1402,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1405
1402
  has_delivered: boolean;
1406
1403
  started_rendering_at_millis: number;
1407
1404
  rendered_at_millis: number;
1405
+ html: string | null;
1406
+ text: string | null;
1408
1407
  is_transactional: boolean;
1409
1408
  is_high_priority: boolean;
1409
+ notification_category_id: string | null;
1410
1410
  started_sending_at_millis: number;
1411
1411
  delivered_at_millis: number;
1412
1412
  can_have_delivery_info: boolean;