@hexclave/shared 1.0.29 → 1.0.30

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 (35) hide show
  1. package/dist/config/schema.d.ts +65 -65
  2. package/dist/esm/config/schema.d.ts +65 -65
  3. package/dist/esm/interface/admin-metrics.d.ts +8 -8
  4. package/dist/esm/interface/conversations.d.ts +27 -27
  5. package/dist/esm/interface/crud/current-user.d.ts +8 -8
  6. package/dist/esm/interface/crud/email-outbox.d.ts +196 -196
  7. package/dist/esm/interface/crud/products.d.ts +13 -13
  8. package/dist/esm/interface/crud/products.d.ts.map +1 -1
  9. package/dist/esm/interface/crud/project-api-keys.d.ts +5 -5
  10. package/dist/esm/interface/crud/projects.d.ts +35 -35
  11. package/dist/esm/interface/crud/team-member-profiles.d.ts +12 -12
  12. package/dist/esm/interface/crud/transactions.d.ts +6 -6
  13. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  14. package/dist/esm/interface/crud/users.d.ts +10 -10
  15. package/dist/esm/interface/plan-usage.d.ts +2 -2
  16. package/dist/esm/interface/webhooks.d.ts +2 -2
  17. package/dist/esm/schema-fields.d.ts +1 -1
  18. package/dist/esm/sessions.d.ts +7 -7
  19. package/dist/interface/admin-metrics.d.ts +8 -8
  20. package/dist/interface/conversations.d.ts +27 -27
  21. package/dist/interface/crud/current-user.d.ts +8 -8
  22. package/dist/interface/crud/email-outbox.d.ts +196 -196
  23. package/dist/interface/crud/products.d.ts +13 -13
  24. package/dist/interface/crud/products.d.ts.map +1 -1
  25. package/dist/interface/crud/project-api-keys.d.ts +5 -5
  26. package/dist/interface/crud/projects.d.ts +35 -35
  27. package/dist/interface/crud/team-member-profiles.d.ts +12 -12
  28. package/dist/interface/crud/transactions.d.ts +6 -6
  29. package/dist/interface/crud/transactions.d.ts.map +1 -1
  30. package/dist/interface/crud/users.d.ts +10 -10
  31. package/dist/interface/plan-usage.d.ts +2 -2
  32. package/dist/interface/webhooks.d.ts +2 -2
  33. package/dist/schema-fields.d.ts +1 -1
  34. package/dist/sessions.d.ts +7 -7
  35. package/package.json +1 -1
@@ -7,20 +7,20 @@ 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;
13
10
  to: {
14
- type: "user-primary-email";
15
11
  user_id: string;
12
+ type: "user-primary-email";
16
13
  } | {
17
- type: "user-custom-emails";
18
14
  user_id: string;
15
+ type: "user-custom-emails";
19
16
  emails: string[];
20
17
  } | {
21
18
  type: "custom-emails";
22
19
  emails: string[];
23
20
  };
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,20 +45,20 @@ 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;
51
48
  to: {
52
- type: "user-primary-email";
53
49
  user_id: string;
50
+ type: "user-primary-email";
54
51
  } | {
55
- type: "user-custom-emails";
56
52
  user_id: string;
53
+ type: "user-custom-emails";
57
54
  emails: string[];
58
55
  } | {
59
56
  type: "custom-emails";
60
57
  emails: string[];
61
58
  };
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,20 +83,20 @@ 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;
89
86
  to: {
90
- type: "user-primary-email";
91
87
  user_id: string;
88
+ type: "user-primary-email";
92
89
  } | {
93
- type: "user-custom-emails";
94
90
  user_id: string;
91
+ type: "user-custom-emails";
95
92
  emails: string[];
96
93
  } | {
97
94
  type: "custom-emails";
98
95
  emails: string[];
99
96
  };
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,20 +122,20 @@ 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;
128
125
  to: {
129
- type: "user-primary-email";
130
126
  user_id: string;
127
+ type: "user-primary-email";
131
128
  } | {
132
- type: "user-custom-emails";
133
129
  user_id: string;
130
+ type: "user-custom-emails";
134
131
  emails: string[];
135
132
  } | {
136
133
  type: "custom-emails";
137
134
  emails: string[];
138
135
  };
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,24 +162,24 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
162
162
  } | {
163
163
  status: "scheduled";
164
164
  id: string;
165
- created_at_millis: number;
166
- subject: string;
167
165
  html: string | null;
168
166
  text: string | null;
169
- updated_at_millis: number;
170
- tsx_source: string;
171
- theme_id: string | null;
167
+ created_at_millis: number;
168
+ subject: string;
172
169
  to: {
173
- type: "user-primary-email";
174
170
  user_id: string;
171
+ type: "user-primary-email";
175
172
  } | {
176
- type: "user-custom-emails";
177
173
  user_id: string;
174
+ type: "user-custom-emails";
178
175
  emails: string[];
179
176
  } | {
180
177
  type: "custom-emails";
181
178
  emails: string[];
182
179
  };
180
+ updated_at_millis: number;
181
+ tsx_source: string;
182
+ theme_id: string | null;
183
183
  variables: Record<string, {} | null>;
184
184
  skip_deliverability_check: boolean;
185
185
  scheduled_at_millis: number;
@@ -208,24 +208,24 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
208
208
  } | {
209
209
  status: "queued";
210
210
  id: string;
211
- created_at_millis: number;
212
- subject: string;
213
211
  html: string | null;
214
212
  text: string | null;
215
- updated_at_millis: number;
216
- tsx_source: string;
217
- theme_id: string | null;
213
+ created_at_millis: number;
214
+ subject: string;
218
215
  to: {
219
- type: "user-primary-email";
220
216
  user_id: string;
217
+ type: "user-primary-email";
221
218
  } | {
222
- type: "user-custom-emails";
223
219
  user_id: string;
220
+ type: "user-custom-emails";
224
221
  emails: string[];
225
222
  } | {
226
223
  type: "custom-emails";
227
224
  emails: string[];
228
225
  };
226
+ updated_at_millis: number;
227
+ tsx_source: string;
228
+ theme_id: string | null;
229
229
  variables: Record<string, {} | null>;
230
230
  skip_deliverability_check: boolean;
231
231
  scheduled_at_millis: number;
@@ -254,24 +254,24 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
254
254
  } | {
255
255
  status: "sending";
256
256
  id: string;
257
- created_at_millis: number;
258
- subject: string;
259
257
  html: string | null;
260
258
  text: string | null;
261
- updated_at_millis: number;
262
- tsx_source: string;
263
- theme_id: string | null;
259
+ created_at_millis: number;
260
+ subject: string;
264
261
  to: {
265
- type: "user-primary-email";
266
262
  user_id: string;
263
+ type: "user-primary-email";
267
264
  } | {
268
- type: "user-custom-emails";
269
265
  user_id: string;
266
+ type: "user-custom-emails";
270
267
  emails: string[];
271
268
  } | {
272
269
  type: "custom-emails";
273
270
  emails: string[];
274
271
  };
272
+ updated_at_millis: number;
273
+ tsx_source: string;
274
+ theme_id: string | null;
275
275
  variables: Record<string, {} | null>;
276
276
  skip_deliverability_check: boolean;
277
277
  scheduled_at_millis: number;
@@ -301,24 +301,24 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
301
301
  } | {
302
302
  status: "server-error";
303
303
  id: string;
304
- created_at_millis: number;
305
- subject: string;
306
304
  html: string | null;
307
305
  text: string | null;
308
- updated_at_millis: number;
309
- tsx_source: string;
310
- theme_id: string | null;
306
+ created_at_millis: number;
307
+ subject: string;
311
308
  to: {
312
- type: "user-primary-email";
313
309
  user_id: string;
310
+ type: "user-primary-email";
314
311
  } | {
315
- type: "user-custom-emails";
316
312
  user_id: string;
313
+ type: "user-custom-emails";
317
314
  emails: string[];
318
315
  } | {
319
316
  type: "custom-emails";
320
317
  emails: string[];
321
318
  };
319
+ updated_at_millis: number;
320
+ tsx_source: string;
321
+ theme_id: string | null;
322
322
  variables: Record<string, {} | null>;
323
323
  skip_deliverability_check: boolean;
324
324
  scheduled_at_millis: number;
@@ -348,9 +348,9 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
348
348
  error_at_millis: number;
349
349
  server_error: string;
350
350
  } | {
351
- subject?: string | undefined;
352
351
  html?: string | null | undefined;
353
352
  text?: string | null | undefined;
353
+ subject?: string | undefined;
354
354
  started_rendering_at_millis?: number | undefined;
355
355
  rendered_at_millis?: number | undefined;
356
356
  is_transactional?: boolean | undefined;
@@ -360,20 +360,20 @@ 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;
366
363
  to: {
367
- type: "user-primary-email";
368
364
  user_id: string;
365
+ type: "user-primary-email";
369
366
  } | {
370
- type: "user-custom-emails";
371
367
  user_id: string;
368
+ type: "user-custom-emails";
372
369
  emails: string[];
373
370
  } | {
374
371
  type: "custom-emails";
375
372
  emails: string[];
376
373
  };
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,24 +400,24 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
400
400
  } | {
401
401
  status: "bounced";
402
402
  id: string;
403
- created_at_millis: number;
404
- subject: string;
405
403
  html: string | null;
406
404
  text: string | null;
407
- updated_at_millis: number;
408
- tsx_source: string;
409
- theme_id: string | null;
405
+ created_at_millis: number;
406
+ subject: string;
410
407
  to: {
411
- type: "user-primary-email";
412
408
  user_id: string;
409
+ type: "user-primary-email";
413
410
  } | {
414
- type: "user-custom-emails";
415
411
  user_id: string;
412
+ type: "user-custom-emails";
416
413
  emails: string[];
417
414
  } | {
418
415
  type: "custom-emails";
419
416
  emails: string[];
420
417
  };
418
+ updated_at_millis: number;
419
+ tsx_source: string;
420
+ theme_id: string | null;
421
421
  variables: Record<string, {} | null>;
422
422
  skip_deliverability_check: boolean;
423
423
  scheduled_at_millis: number;
@@ -448,24 +448,24 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
448
448
  } | {
449
449
  status: "delivery-delayed";
450
450
  id: string;
451
- created_at_millis: number;
452
- subject: string;
453
451
  html: string | null;
454
452
  text: string | null;
455
- updated_at_millis: number;
456
- tsx_source: string;
457
- theme_id: string | null;
453
+ created_at_millis: number;
454
+ subject: string;
458
455
  to: {
459
- type: "user-primary-email";
460
456
  user_id: string;
457
+ type: "user-primary-email";
461
458
  } | {
462
- type: "user-custom-emails";
463
459
  user_id: string;
460
+ type: "user-custom-emails";
464
461
  emails: string[];
465
462
  } | {
466
463
  type: "custom-emails";
467
464
  emails: string[];
468
465
  };
466
+ updated_at_millis: number;
467
+ tsx_source: string;
468
+ theme_id: string | null;
469
469
  variables: Record<string, {} | null>;
470
470
  skip_deliverability_check: boolean;
471
471
  scheduled_at_millis: number;
@@ -496,24 +496,24 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
496
496
  } | {
497
497
  status: "sent";
498
498
  id: string;
499
- created_at_millis: number;
500
- subject: string;
501
499
  html: string | null;
502
500
  text: string | null;
503
- updated_at_millis: number;
504
- tsx_source: string;
505
- theme_id: string | null;
501
+ created_at_millis: number;
502
+ subject: string;
506
503
  to: {
507
- type: "user-primary-email";
508
504
  user_id: string;
505
+ type: "user-primary-email";
509
506
  } | {
510
- type: "user-custom-emails";
511
507
  user_id: string;
508
+ type: "user-custom-emails";
512
509
  emails: string[];
513
510
  } | {
514
511
  type: "custom-emails";
515
512
  emails: string[];
516
513
  };
514
+ updated_at_millis: number;
515
+ tsx_source: string;
516
+ theme_id: string | null;
517
517
  variables: Record<string, {} | null>;
518
518
  skip_deliverability_check: boolean;
519
519
  scheduled_at_millis: number;
@@ -545,24 +545,24 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
545
545
  } | {
546
546
  status: "opened";
547
547
  id: string;
548
- created_at_millis: number;
549
- subject: string;
550
548
  html: string | null;
551
549
  text: string | null;
552
- updated_at_millis: number;
553
- tsx_source: string;
554
- theme_id: string | null;
550
+ created_at_millis: number;
551
+ subject: string;
555
552
  to: {
556
- type: "user-primary-email";
557
553
  user_id: string;
554
+ type: "user-primary-email";
558
555
  } | {
559
- type: "user-custom-emails";
560
556
  user_id: string;
557
+ type: "user-custom-emails";
561
558
  emails: string[];
562
559
  } | {
563
560
  type: "custom-emails";
564
561
  emails: string[];
565
562
  };
563
+ updated_at_millis: number;
564
+ tsx_source: string;
565
+ theme_id: string | null;
566
566
  variables: Record<string, {} | null>;
567
567
  skip_deliverability_check: boolean;
568
568
  scheduled_at_millis: number;
@@ -595,24 +595,24 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
595
595
  } | {
596
596
  status: "clicked";
597
597
  id: string;
598
- created_at_millis: number;
599
- subject: string;
600
598
  html: string | null;
601
599
  text: string | null;
602
- updated_at_millis: number;
603
- tsx_source: string;
604
- theme_id: string | null;
600
+ created_at_millis: number;
601
+ subject: string;
605
602
  to: {
606
- type: "user-primary-email";
607
603
  user_id: string;
604
+ type: "user-primary-email";
608
605
  } | {
609
- type: "user-custom-emails";
610
606
  user_id: string;
607
+ type: "user-custom-emails";
611
608
  emails: string[];
612
609
  } | {
613
610
  type: "custom-emails";
614
611
  emails: string[];
615
612
  };
613
+ updated_at_millis: number;
614
+ tsx_source: string;
615
+ theme_id: string | null;
616
616
  variables: Record<string, {} | null>;
617
617
  skip_deliverability_check: boolean;
618
618
  scheduled_at_millis: number;
@@ -645,24 +645,24 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
645
645
  } | {
646
646
  status: "marked-as-spam";
647
647
  id: string;
648
- created_at_millis: number;
649
- subject: string;
650
648
  html: string | null;
651
649
  text: string | null;
652
- updated_at_millis: number;
653
- tsx_source: string;
654
- theme_id: string | null;
650
+ created_at_millis: number;
651
+ subject: string;
655
652
  to: {
656
- type: "user-primary-email";
657
653
  user_id: string;
654
+ type: "user-primary-email";
658
655
  } | {
659
- type: "user-custom-emails";
660
656
  user_id: string;
657
+ type: "user-custom-emails";
661
658
  emails: string[];
662
659
  } | {
663
660
  type: "custom-emails";
664
661
  emails: string[];
665
662
  };
663
+ updated_at_millis: number;
664
+ tsx_source: string;
665
+ theme_id: string | null;
666
666
  variables: Record<string, {} | null>;
667
667
  skip_deliverability_check: boolean;
668
668
  scheduled_at_millis: number;
@@ -697,11 +697,11 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
697
697
  tsx_source: string | undefined;
698
698
  theme_id: string | null | undefined;
699
699
  to: {
700
- type: "user-primary-email";
701
700
  user_id: string;
701
+ type: "user-primary-email";
702
702
  } | {
703
- type: "user-custom-emails";
704
703
  user_id: string;
704
+ type: "user-custom-emails";
705
705
  emails: string[];
706
706
  } | {
707
707
  type: "custom-emails";
@@ -727,20 +727,20 @@ 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;
733
730
  to: {
734
- type: "user-primary-email";
735
731
  user_id: string;
732
+ type: "user-primary-email";
736
733
  } | {
737
- type: "user-custom-emails";
738
734
  user_id: string;
735
+ type: "user-custom-emails";
739
736
  emails: string[];
740
737
  } | {
741
738
  type: "custom-emails";
742
739
  emails: string[];
743
740
  };
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,20 +765,20 @@ 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;
771
768
  to: {
772
- type: "user-primary-email";
773
769
  user_id: string;
770
+ type: "user-primary-email";
774
771
  } | {
775
- type: "user-custom-emails";
776
772
  user_id: string;
773
+ type: "user-custom-emails";
777
774
  emails: string[];
778
775
  } | {
779
776
  type: "custom-emails";
780
777
  emails: string[];
781
778
  };
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,20 +803,20 @@ 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;
809
806
  to: {
810
- type: "user-primary-email";
811
807
  user_id: string;
808
+ type: "user-primary-email";
812
809
  } | {
813
- type: "user-custom-emails";
814
810
  user_id: string;
811
+ type: "user-custom-emails";
815
812
  emails: string[];
816
813
  } | {
817
814
  type: "custom-emails";
818
815
  emails: string[];
819
816
  };
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,20 +842,20 @@ 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;
848
845
  to: {
849
- type: "user-primary-email";
850
846
  user_id: string;
847
+ type: "user-primary-email";
851
848
  } | {
852
- type: "user-custom-emails";
853
849
  user_id: string;
850
+ type: "user-custom-emails";
854
851
  emails: string[];
855
852
  } | {
856
853
  type: "custom-emails";
857
854
  emails: string[];
858
855
  };
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,24 +882,24 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
882
882
  } | {
883
883
  status: "scheduled";
884
884
  id: string;
885
- created_at_millis: number;
886
- subject: string;
887
885
  html: string | null;
888
886
  text: string | null;
889
- updated_at_millis: number;
890
- tsx_source: string;
891
- theme_id: string | null;
887
+ created_at_millis: number;
888
+ subject: string;
892
889
  to: {
893
- type: "user-primary-email";
894
890
  user_id: string;
891
+ type: "user-primary-email";
895
892
  } | {
896
- type: "user-custom-emails";
897
893
  user_id: string;
894
+ type: "user-custom-emails";
898
895
  emails: string[];
899
896
  } | {
900
897
  type: "custom-emails";
901
898
  emails: string[];
902
899
  };
900
+ updated_at_millis: number;
901
+ tsx_source: string;
902
+ theme_id: string | null;
903
903
  variables: Record<string, {} | null>;
904
904
  skip_deliverability_check: boolean;
905
905
  scheduled_at_millis: number;
@@ -928,24 +928,24 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
928
928
  } | {
929
929
  status: "queued";
930
930
  id: string;
931
- created_at_millis: number;
932
- subject: string;
933
931
  html: string | null;
934
932
  text: string | null;
935
- updated_at_millis: number;
936
- tsx_source: string;
937
- theme_id: string | null;
933
+ created_at_millis: number;
934
+ subject: string;
938
935
  to: {
939
- type: "user-primary-email";
940
936
  user_id: string;
937
+ type: "user-primary-email";
941
938
  } | {
942
- type: "user-custom-emails";
943
939
  user_id: string;
940
+ type: "user-custom-emails";
944
941
  emails: string[];
945
942
  } | {
946
943
  type: "custom-emails";
947
944
  emails: string[];
948
945
  };
946
+ updated_at_millis: number;
947
+ tsx_source: string;
948
+ theme_id: string | null;
949
949
  variables: Record<string, {} | null>;
950
950
  skip_deliverability_check: boolean;
951
951
  scheduled_at_millis: number;
@@ -974,24 +974,24 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
974
974
  } | {
975
975
  status: "sending";
976
976
  id: string;
977
- created_at_millis: number;
978
- subject: string;
979
977
  html: string | null;
980
978
  text: string | null;
981
- updated_at_millis: number;
982
- tsx_source: string;
983
- theme_id: string | null;
979
+ created_at_millis: number;
980
+ subject: string;
984
981
  to: {
985
- type: "user-primary-email";
986
982
  user_id: string;
983
+ type: "user-primary-email";
987
984
  } | {
988
- type: "user-custom-emails";
989
985
  user_id: string;
986
+ type: "user-custom-emails";
990
987
  emails: string[];
991
988
  } | {
992
989
  type: "custom-emails";
993
990
  emails: string[];
994
991
  };
992
+ updated_at_millis: number;
993
+ tsx_source: string;
994
+ theme_id: string | null;
995
995
  variables: Record<string, {} | null>;
996
996
  skip_deliverability_check: boolean;
997
997
  scheduled_at_millis: number;
@@ -1021,24 +1021,24 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1021
1021
  } | {
1022
1022
  status: "server-error";
1023
1023
  id: string;
1024
- created_at_millis: number;
1025
- subject: string;
1026
1024
  html: string | null;
1027
1025
  text: string | null;
1028
- updated_at_millis: number;
1029
- tsx_source: string;
1030
- theme_id: string | null;
1026
+ created_at_millis: number;
1027
+ subject: string;
1031
1028
  to: {
1032
- type: "user-primary-email";
1033
1029
  user_id: string;
1030
+ type: "user-primary-email";
1034
1031
  } | {
1035
- type: "user-custom-emails";
1036
1032
  user_id: string;
1033
+ type: "user-custom-emails";
1037
1034
  emails: string[];
1038
1035
  } | {
1039
1036
  type: "custom-emails";
1040
1037
  emails: string[];
1041
1038
  };
1039
+ updated_at_millis: number;
1040
+ tsx_source: string;
1041
+ theme_id: string | null;
1042
1042
  variables: Record<string, {} | null>;
1043
1043
  skip_deliverability_check: boolean;
1044
1044
  scheduled_at_millis: number;
@@ -1068,9 +1068,9 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1068
1068
  error_at_millis: number;
1069
1069
  server_error: string;
1070
1070
  } | {
1071
- subject?: string | undefined;
1072
1071
  html?: string | null | undefined;
1073
1072
  text?: string | null | undefined;
1073
+ subject?: string | undefined;
1074
1074
  started_rendering_at_millis?: number | undefined;
1075
1075
  rendered_at_millis?: number | undefined;
1076
1076
  is_transactional?: boolean | undefined;
@@ -1080,20 +1080,20 @@ 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;
1086
1083
  to: {
1087
- type: "user-primary-email";
1088
1084
  user_id: string;
1085
+ type: "user-primary-email";
1089
1086
  } | {
1090
- type: "user-custom-emails";
1091
1087
  user_id: string;
1088
+ type: "user-custom-emails";
1092
1089
  emails: string[];
1093
1090
  } | {
1094
1091
  type: "custom-emails";
1095
1092
  emails: string[];
1096
1093
  };
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,24 +1120,24 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1120
1120
  } | {
1121
1121
  status: "bounced";
1122
1122
  id: string;
1123
- created_at_millis: number;
1124
- subject: string;
1125
1123
  html: string | null;
1126
1124
  text: string | null;
1127
- updated_at_millis: number;
1128
- tsx_source: string;
1129
- theme_id: string | null;
1125
+ created_at_millis: number;
1126
+ subject: string;
1130
1127
  to: {
1131
- type: "user-primary-email";
1132
1128
  user_id: string;
1129
+ type: "user-primary-email";
1133
1130
  } | {
1134
- type: "user-custom-emails";
1135
1131
  user_id: string;
1132
+ type: "user-custom-emails";
1136
1133
  emails: string[];
1137
1134
  } | {
1138
1135
  type: "custom-emails";
1139
1136
  emails: string[];
1140
1137
  };
1138
+ updated_at_millis: number;
1139
+ tsx_source: string;
1140
+ theme_id: string | null;
1141
1141
  variables: Record<string, {} | null>;
1142
1142
  skip_deliverability_check: boolean;
1143
1143
  scheduled_at_millis: number;
@@ -1168,24 +1168,24 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1168
1168
  } | {
1169
1169
  status: "delivery-delayed";
1170
1170
  id: string;
1171
- created_at_millis: number;
1172
- subject: string;
1173
1171
  html: string | null;
1174
1172
  text: string | null;
1175
- updated_at_millis: number;
1176
- tsx_source: string;
1177
- theme_id: string | null;
1173
+ created_at_millis: number;
1174
+ subject: string;
1178
1175
  to: {
1179
- type: "user-primary-email";
1180
1176
  user_id: string;
1177
+ type: "user-primary-email";
1181
1178
  } | {
1182
- type: "user-custom-emails";
1183
1179
  user_id: string;
1180
+ type: "user-custom-emails";
1184
1181
  emails: string[];
1185
1182
  } | {
1186
1183
  type: "custom-emails";
1187
1184
  emails: string[];
1188
1185
  };
1186
+ updated_at_millis: number;
1187
+ tsx_source: string;
1188
+ theme_id: string | null;
1189
1189
  variables: Record<string, {} | null>;
1190
1190
  skip_deliverability_check: boolean;
1191
1191
  scheduled_at_millis: number;
@@ -1216,24 +1216,24 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1216
1216
  } | {
1217
1217
  status: "sent";
1218
1218
  id: string;
1219
- created_at_millis: number;
1220
- subject: string;
1221
1219
  html: string | null;
1222
1220
  text: string | null;
1223
- updated_at_millis: number;
1224
- tsx_source: string;
1225
- theme_id: string | null;
1221
+ created_at_millis: number;
1222
+ subject: string;
1226
1223
  to: {
1227
- type: "user-primary-email";
1228
1224
  user_id: string;
1225
+ type: "user-primary-email";
1229
1226
  } | {
1230
- type: "user-custom-emails";
1231
1227
  user_id: string;
1228
+ type: "user-custom-emails";
1232
1229
  emails: string[];
1233
1230
  } | {
1234
1231
  type: "custom-emails";
1235
1232
  emails: string[];
1236
1233
  };
1234
+ updated_at_millis: number;
1235
+ tsx_source: string;
1236
+ theme_id: string | null;
1237
1237
  variables: Record<string, {} | null>;
1238
1238
  skip_deliverability_check: boolean;
1239
1239
  scheduled_at_millis: number;
@@ -1265,24 +1265,24 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1265
1265
  } | {
1266
1266
  status: "opened";
1267
1267
  id: string;
1268
- created_at_millis: number;
1269
- subject: string;
1270
1268
  html: string | null;
1271
1269
  text: string | null;
1272
- updated_at_millis: number;
1273
- tsx_source: string;
1274
- theme_id: string | null;
1270
+ created_at_millis: number;
1271
+ subject: string;
1275
1272
  to: {
1276
- type: "user-primary-email";
1277
1273
  user_id: string;
1274
+ type: "user-primary-email";
1278
1275
  } | {
1279
- type: "user-custom-emails";
1280
1276
  user_id: string;
1277
+ type: "user-custom-emails";
1281
1278
  emails: string[];
1282
1279
  } | {
1283
1280
  type: "custom-emails";
1284
1281
  emails: string[];
1285
1282
  };
1283
+ updated_at_millis: number;
1284
+ tsx_source: string;
1285
+ theme_id: string | null;
1286
1286
  variables: Record<string, {} | null>;
1287
1287
  skip_deliverability_check: boolean;
1288
1288
  scheduled_at_millis: number;
@@ -1315,24 +1315,24 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1315
1315
  } | {
1316
1316
  status: "clicked";
1317
1317
  id: string;
1318
- created_at_millis: number;
1319
- subject: string;
1320
1318
  html: string | null;
1321
1319
  text: string | null;
1322
- updated_at_millis: number;
1323
- tsx_source: string;
1324
- theme_id: string | null;
1320
+ created_at_millis: number;
1321
+ subject: string;
1325
1322
  to: {
1326
- type: "user-primary-email";
1327
1323
  user_id: string;
1324
+ type: "user-primary-email";
1328
1325
  } | {
1329
- type: "user-custom-emails";
1330
1326
  user_id: string;
1327
+ type: "user-custom-emails";
1331
1328
  emails: string[];
1332
1329
  } | {
1333
1330
  type: "custom-emails";
1334
1331
  emails: string[];
1335
1332
  };
1333
+ updated_at_millis: number;
1334
+ tsx_source: string;
1335
+ theme_id: string | null;
1336
1336
  variables: Record<string, {} | null>;
1337
1337
  skip_deliverability_check: boolean;
1338
1338
  scheduled_at_millis: number;
@@ -1365,24 +1365,24 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1365
1365
  } | {
1366
1366
  status: "marked-as-spam";
1367
1367
  id: string;
1368
- created_at_millis: number;
1369
- subject: string;
1370
1368
  html: string | null;
1371
1369
  text: string | null;
1372
- updated_at_millis: number;
1373
- tsx_source: string;
1374
- theme_id: string | null;
1370
+ created_at_millis: number;
1371
+ subject: string;
1375
1372
  to: {
1376
- type: "user-primary-email";
1377
1373
  user_id: string;
1374
+ type: "user-primary-email";
1378
1375
  } | {
1379
- type: "user-custom-emails";
1380
1376
  user_id: string;
1377
+ type: "user-custom-emails";
1381
1378
  emails: string[];
1382
1379
  } | {
1383
1380
  type: "custom-emails";
1384
1381
  emails: string[];
1385
1382
  };
1383
+ updated_at_millis: number;
1384
+ tsx_source: string;
1385
+ theme_id: string | null;
1386
1386
  variables: Record<string, {} | null>;
1387
1387
  skip_deliverability_check: boolean;
1388
1388
  scheduled_at_millis: number;
@@ -1417,11 +1417,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1417
1417
  tsx_source: string | undefined;
1418
1418
  theme_id: string | null | undefined;
1419
1419
  to: {
1420
- type: "user-primary-email";
1421
1420
  user_id: string;
1421
+ type: "user-primary-email";
1422
1422
  } | {
1423
- type: "user-custom-emails";
1424
1423
  user_id: string;
1424
+ type: "user-custom-emails";
1425
1425
  emails: string[];
1426
1426
  } | {
1427
1427
  type: "custom-emails";