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