@hexclave/shared 1.0.12 → 1.0.14

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 (31) hide show
  1. package/dist/config/schema.d.ts +173 -173
  2. package/dist/esm/config/schema.d.ts +173 -173
  3. package/dist/esm/interface/admin-metrics.d.ts +8 -8
  4. package/dist/esm/interface/conversations.d.ts +31 -31
  5. package/dist/esm/interface/crud/current-user.d.ts +7 -7
  6. package/dist/esm/interface/crud/email-outbox.d.ts +212 -212
  7. package/dist/esm/interface/crud/invoices.d.ts +2 -2
  8. package/dist/esm/interface/crud/products.d.ts +4 -4
  9. package/dist/esm/interface/crud/project-api-keys.d.ts +3 -3
  10. package/dist/esm/interface/crud/projects.d.ts +16 -16
  11. package/dist/esm/interface/crud/team-member-profiles.d.ts +18 -18
  12. package/dist/esm/interface/crud/transactions.d.ts +2 -2
  13. package/dist/esm/interface/crud/users.d.ts +10 -10
  14. package/dist/esm/interface/webhooks.d.ts +2 -2
  15. package/dist/esm/schema-fields.d.ts +3 -3
  16. package/dist/esm/sessions.d.ts +8 -8
  17. package/dist/interface/admin-metrics.d.ts +8 -8
  18. package/dist/interface/conversations.d.ts +31 -31
  19. package/dist/interface/crud/current-user.d.ts +7 -7
  20. package/dist/interface/crud/email-outbox.d.ts +212 -212
  21. package/dist/interface/crud/invoices.d.ts +2 -2
  22. package/dist/interface/crud/products.d.ts +4 -4
  23. package/dist/interface/crud/project-api-keys.d.ts +3 -3
  24. package/dist/interface/crud/projects.d.ts +16 -16
  25. package/dist/interface/crud/team-member-profiles.d.ts +18 -18
  26. package/dist/interface/crud/transactions.d.ts +2 -2
  27. package/dist/interface/crud/users.d.ts +10 -10
  28. package/dist/interface/webhooks.d.ts +2 -2
  29. package/dist/schema-fields.d.ts +3 -3
  30. package/dist/sessions.d.ts +8 -8
  31. package/package.json +1 -1
@@ -11,15 +11,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
11
11
  tsx_source: string;
12
12
  theme_id: string | null;
13
13
  to: {
14
- type: "user-primary-email";
15
14
  user_id: string;
15
+ type: "user-primary-email";
16
16
  } | {
17
- type: "user-custom-emails";
18
- user_id: string;
19
17
  emails: string[];
18
+ user_id: string;
19
+ type: "user-custom-emails";
20
20
  } | {
21
- type: "custom-emails";
22
21
  emails: string[];
22
+ type: "custom-emails";
23
23
  };
24
24
  variables: Record<string, {} | null>;
25
25
  skip_deliverability_check: boolean;
@@ -49,15 +49,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
49
49
  tsx_source: string;
50
50
  theme_id: string | null;
51
51
  to: {
52
- type: "user-primary-email";
53
52
  user_id: string;
53
+ type: "user-primary-email";
54
54
  } | {
55
- type: "user-custom-emails";
56
- user_id: string;
57
55
  emails: string[];
56
+ user_id: string;
57
+ type: "user-custom-emails";
58
58
  } | {
59
- type: "custom-emails";
60
59
  emails: string[];
60
+ type: "custom-emails";
61
61
  };
62
62
  variables: Record<string, {} | null>;
63
63
  skip_deliverability_check: boolean;
@@ -87,15 +87,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
87
87
  tsx_source: string;
88
88
  theme_id: string | null;
89
89
  to: {
90
- type: "user-primary-email";
91
90
  user_id: string;
91
+ type: "user-primary-email";
92
92
  } | {
93
- type: "user-custom-emails";
94
- user_id: string;
95
93
  emails: string[];
94
+ user_id: string;
95
+ type: "user-custom-emails";
96
96
  } | {
97
- type: "custom-emails";
98
97
  emails: string[];
98
+ type: "custom-emails";
99
99
  };
100
100
  variables: Record<string, {} | null>;
101
101
  skip_deliverability_check: boolean;
@@ -126,15 +126,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
126
126
  tsx_source: string;
127
127
  theme_id: string | null;
128
128
  to: {
129
- type: "user-primary-email";
130
129
  user_id: string;
130
+ type: "user-primary-email";
131
131
  } | {
132
- type: "user-custom-emails";
133
- user_id: string;
134
132
  emails: string[];
133
+ user_id: string;
134
+ type: "user-custom-emails";
135
135
  } | {
136
- type: "custom-emails";
137
136
  emails: string[];
137
+ type: "custom-emails";
138
138
  };
139
139
  variables: Record<string, {} | null>;
140
140
  skip_deliverability_check: boolean;
@@ -160,25 +160,26 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
160
160
  rendered_at_millis: number;
161
161
  render_error: string;
162
162
  } | {
163
+ html: string | null;
164
+ text: string | null;
163
165
  status: "scheduled";
164
166
  id: string;
165
- subject: string;
167
+ notification_category_id: string | null;
166
168
  created_at_millis: number;
167
- html: string | null;
168
- text: string | null;
169
+ subject: string;
169
170
  updated_at_millis: number;
170
171
  tsx_source: string;
171
172
  theme_id: string | null;
172
173
  to: {
173
- type: "user-primary-email";
174
174
  user_id: string;
175
+ type: "user-primary-email";
175
176
  } | {
176
- type: "user-custom-emails";
177
- user_id: string;
178
177
  emails: string[];
178
+ user_id: string;
179
+ type: "user-custom-emails";
179
180
  } | {
180
- type: "custom-emails";
181
181
  emails: string[];
182
+ type: "custom-emails";
182
183
  };
183
184
  variables: Record<string, {} | null>;
184
185
  skip_deliverability_check: boolean;
@@ -204,27 +205,27 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
204
205
  rendered_at_millis: number;
205
206
  is_transactional: boolean;
206
207
  is_high_priority: boolean;
207
- notification_category_id: string | null;
208
208
  } | {
209
+ html: string | null;
210
+ text: string | null;
209
211
  status: "queued";
210
212
  id: string;
211
- subject: string;
213
+ notification_category_id: string | null;
212
214
  created_at_millis: number;
213
- html: string | null;
214
- text: string | null;
215
+ subject: string;
215
216
  updated_at_millis: number;
216
217
  tsx_source: string;
217
218
  theme_id: string | null;
218
219
  to: {
219
- type: "user-primary-email";
220
220
  user_id: string;
221
+ type: "user-primary-email";
221
222
  } | {
222
- type: "user-custom-emails";
223
- user_id: string;
224
223
  emails: string[];
224
+ user_id: string;
225
+ type: "user-custom-emails";
225
226
  } | {
226
- type: "custom-emails";
227
227
  emails: string[];
228
+ type: "custom-emails";
228
229
  };
229
230
  variables: Record<string, {} | null>;
230
231
  skip_deliverability_check: boolean;
@@ -250,27 +251,27 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
250
251
  rendered_at_millis: number;
251
252
  is_transactional: boolean;
252
253
  is_high_priority: boolean;
253
- notification_category_id: string | null;
254
254
  } | {
255
+ html: string | null;
256
+ text: string | null;
255
257
  status: "sending";
256
258
  id: string;
257
- subject: string;
259
+ notification_category_id: string | null;
258
260
  created_at_millis: number;
259
- html: string | null;
260
- text: string | null;
261
+ subject: string;
261
262
  updated_at_millis: number;
262
263
  tsx_source: string;
263
264
  theme_id: string | null;
264
265
  to: {
265
- type: "user-primary-email";
266
266
  user_id: string;
267
+ type: "user-primary-email";
267
268
  } | {
268
- type: "user-custom-emails";
269
- user_id: string;
270
269
  emails: string[];
270
+ user_id: string;
271
+ type: "user-custom-emails";
271
272
  } | {
272
- type: "custom-emails";
273
273
  emails: string[];
274
+ type: "custom-emails";
274
275
  };
275
276
  variables: Record<string, {} | null>;
276
277
  skip_deliverability_check: boolean;
@@ -296,28 +297,28 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
296
297
  rendered_at_millis: number;
297
298
  is_transactional: boolean;
298
299
  is_high_priority: boolean;
299
- notification_category_id: string | null;
300
300
  started_sending_at_millis: number;
301
301
  } | {
302
+ html: string | null;
303
+ text: string | null;
302
304
  status: "server-error";
303
305
  id: string;
304
- subject: string;
306
+ notification_category_id: string | null;
305
307
  created_at_millis: number;
306
- html: string | null;
307
- text: string | null;
308
+ subject: string;
308
309
  updated_at_millis: number;
309
310
  tsx_source: string;
310
311
  theme_id: string | null;
311
312
  to: {
312
- type: "user-primary-email";
313
313
  user_id: string;
314
+ type: "user-primary-email";
314
315
  } | {
315
- type: "user-custom-emails";
316
- user_id: string;
317
316
  emails: string[];
317
+ user_id: string;
318
+ type: "user-custom-emails";
318
319
  } | {
319
- type: "custom-emails";
320
320
  emails: string[];
321
+ type: "custom-emails";
321
322
  };
322
323
  variables: Record<string, {} | null>;
323
324
  skip_deliverability_check: boolean;
@@ -343,19 +344,18 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
343
344
  rendered_at_millis: number;
344
345
  is_transactional: boolean;
345
346
  is_high_priority: boolean;
346
- notification_category_id: string | null;
347
347
  started_sending_at_millis: number;
348
348
  error_at_millis: number;
349
349
  server_error: string;
350
350
  } | {
351
- subject?: string | undefined;
352
351
  html?: string | null | undefined;
353
352
  text?: string | null | undefined;
353
+ notification_category_id?: string | null | undefined;
354
+ subject?: string | undefined;
354
355
  started_rendering_at_millis?: number | undefined;
355
356
  rendered_at_millis?: number | undefined;
356
357
  is_transactional?: boolean | undefined;
357
358
  is_high_priority?: boolean | undefined;
358
- notification_category_id?: string | null | undefined;
359
359
  started_sending_at_millis?: number | undefined;
360
360
  status: "skipped";
361
361
  id: string;
@@ -364,15 +364,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
364
364
  tsx_source: string;
365
365
  theme_id: string | null;
366
366
  to: {
367
- type: "user-primary-email";
368
367
  user_id: string;
368
+ type: "user-primary-email";
369
369
  } | {
370
- type: "user-custom-emails";
371
- user_id: string;
372
370
  emails: string[];
371
+ user_id: string;
372
+ type: "user-custom-emails";
373
373
  } | {
374
- type: "custom-emails";
375
374
  emails: string[];
375
+ type: "custom-emails";
376
376
  };
377
377
  variables: Record<string, {} | null>;
378
378
  skip_deliverability_check: boolean;
@@ -398,25 +398,26 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
398
398
  skipped_reason: string;
399
399
  skipped_details: Record<string, {} | null>;
400
400
  } | {
401
+ html: string | null;
402
+ text: string | null;
401
403
  status: "bounced";
402
404
  id: string;
403
- subject: string;
405
+ notification_category_id: string | null;
404
406
  created_at_millis: number;
405
- html: string | null;
406
- text: string | null;
407
+ subject: string;
407
408
  updated_at_millis: number;
408
409
  tsx_source: string;
409
410
  theme_id: string | null;
410
411
  to: {
411
- type: "user-primary-email";
412
412
  user_id: string;
413
+ type: "user-primary-email";
413
414
  } | {
414
- type: "user-custom-emails";
415
- user_id: string;
416
415
  emails: string[];
416
+ user_id: string;
417
+ type: "user-custom-emails";
417
418
  } | {
418
- type: "custom-emails";
419
419
  emails: string[];
420
+ type: "custom-emails";
420
421
  };
421
422
  variables: Record<string, {} | null>;
422
423
  skip_deliverability_check: boolean;
@@ -442,29 +443,29 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
442
443
  rendered_at_millis: number;
443
444
  is_transactional: boolean;
444
445
  is_high_priority: boolean;
445
- notification_category_id: string | null;
446
446
  started_sending_at_millis: number;
447
447
  bounced_at_millis: number;
448
448
  } | {
449
+ html: string | null;
450
+ text: string | null;
449
451
  status: "delivery-delayed";
450
452
  id: string;
451
- subject: string;
453
+ notification_category_id: string | null;
452
454
  created_at_millis: number;
453
- html: string | null;
454
- text: string | null;
455
+ subject: string;
455
456
  updated_at_millis: number;
456
457
  tsx_source: string;
457
458
  theme_id: string | null;
458
459
  to: {
459
- type: "user-primary-email";
460
460
  user_id: string;
461
+ type: "user-primary-email";
461
462
  } | {
462
- type: "user-custom-emails";
463
- user_id: string;
464
463
  emails: string[];
464
+ user_id: string;
465
+ type: "user-custom-emails";
465
466
  } | {
466
- type: "custom-emails";
467
467
  emails: string[];
468
+ type: "custom-emails";
468
469
  };
469
470
  variables: Record<string, {} | null>;
470
471
  skip_deliverability_check: boolean;
@@ -490,29 +491,29 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
490
491
  rendered_at_millis: number;
491
492
  is_transactional: boolean;
492
493
  is_high_priority: boolean;
493
- notification_category_id: string | null;
494
494
  started_sending_at_millis: number;
495
495
  delivery_delayed_at_millis: number;
496
496
  } | {
497
+ html: string | null;
498
+ text: string | null;
497
499
  status: "sent";
498
500
  id: string;
499
- subject: string;
501
+ notification_category_id: string | null;
500
502
  created_at_millis: number;
501
- html: string | null;
502
- text: string | null;
503
+ subject: string;
503
504
  updated_at_millis: number;
504
505
  tsx_source: string;
505
506
  theme_id: string | null;
506
507
  to: {
507
- type: "user-primary-email";
508
508
  user_id: string;
509
+ type: "user-primary-email";
509
510
  } | {
510
- type: "user-custom-emails";
511
- user_id: string;
512
511
  emails: string[];
512
+ user_id: string;
513
+ type: "user-custom-emails";
513
514
  } | {
514
- type: "custom-emails";
515
515
  emails: string[];
516
+ type: "custom-emails";
516
517
  };
517
518
  variables: Record<string, {} | null>;
518
519
  skip_deliverability_check: boolean;
@@ -538,30 +539,30 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
538
539
  rendered_at_millis: number;
539
540
  is_transactional: boolean;
540
541
  is_high_priority: boolean;
541
- notification_category_id: string | null;
542
542
  started_sending_at_millis: number;
543
543
  delivered_at_millis: number;
544
544
  can_have_delivery_info: boolean;
545
545
  } | {
546
+ html: string | null;
547
+ text: string | null;
546
548
  status: "opened";
547
549
  id: string;
548
- subject: string;
550
+ notification_category_id: string | null;
549
551
  created_at_millis: number;
550
- html: string | null;
551
- text: string | null;
552
+ subject: string;
552
553
  updated_at_millis: number;
553
554
  tsx_source: string;
554
555
  theme_id: string | null;
555
556
  to: {
556
- type: "user-primary-email";
557
557
  user_id: string;
558
+ type: "user-primary-email";
558
559
  } | {
559
- type: "user-custom-emails";
560
- user_id: string;
561
560
  emails: string[];
561
+ user_id: string;
562
+ type: "user-custom-emails";
562
563
  } | {
563
- type: "custom-emails";
564
564
  emails: string[];
565
+ type: "custom-emails";
565
566
  };
566
567
  variables: Record<string, {} | null>;
567
568
  skip_deliverability_check: boolean;
@@ -587,31 +588,31 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
587
588
  rendered_at_millis: number;
588
589
  is_transactional: boolean;
589
590
  is_high_priority: boolean;
590
- notification_category_id: string | null;
591
591
  started_sending_at_millis: number;
592
592
  delivered_at_millis: number;
593
593
  can_have_delivery_info: boolean;
594
594
  opened_at_millis: number;
595
595
  } | {
596
+ html: string | null;
597
+ text: string | null;
596
598
  status: "clicked";
597
599
  id: string;
598
- subject: string;
600
+ notification_category_id: string | null;
599
601
  created_at_millis: number;
600
- html: string | null;
601
- text: string | null;
602
+ subject: string;
602
603
  updated_at_millis: number;
603
604
  tsx_source: string;
604
605
  theme_id: string | null;
605
606
  to: {
606
- type: "user-primary-email";
607
607
  user_id: string;
608
+ type: "user-primary-email";
608
609
  } | {
609
- type: "user-custom-emails";
610
- user_id: string;
611
610
  emails: string[];
611
+ user_id: string;
612
+ type: "user-custom-emails";
612
613
  } | {
613
- type: "custom-emails";
614
614
  emails: string[];
615
+ type: "custom-emails";
615
616
  };
616
617
  variables: Record<string, {} | null>;
617
618
  skip_deliverability_check: boolean;
@@ -637,31 +638,31 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
637
638
  rendered_at_millis: number;
638
639
  is_transactional: boolean;
639
640
  is_high_priority: boolean;
640
- notification_category_id: string | null;
641
641
  started_sending_at_millis: number;
642
642
  delivered_at_millis: number;
643
643
  can_have_delivery_info: boolean;
644
644
  clicked_at_millis: number;
645
645
  } | {
646
+ html: string | null;
647
+ text: string | null;
646
648
  status: "marked-as-spam";
647
649
  id: string;
648
- subject: string;
650
+ notification_category_id: string | null;
649
651
  created_at_millis: number;
650
- html: string | null;
651
- text: string | null;
652
+ subject: string;
652
653
  updated_at_millis: number;
653
654
  tsx_source: string;
654
655
  theme_id: string | null;
655
656
  to: {
656
- type: "user-primary-email";
657
657
  user_id: string;
658
+ type: "user-primary-email";
658
659
  } | {
659
- type: "user-custom-emails";
660
- user_id: string;
661
660
  emails: string[];
661
+ user_id: string;
662
+ type: "user-custom-emails";
662
663
  } | {
663
- type: "custom-emails";
664
664
  emails: string[];
665
+ type: "custom-emails";
665
666
  };
666
667
  variables: Record<string, {} | null>;
667
668
  skip_deliverability_check: boolean;
@@ -687,7 +688,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
687
688
  rendered_at_millis: number;
688
689
  is_transactional: boolean;
689
690
  is_high_priority: boolean;
690
- notification_category_id: string | null;
691
691
  started_sending_at_millis: number;
692
692
  delivered_at_millis: number;
693
693
  can_have_delivery_info: boolean;
@@ -697,15 +697,15 @@ 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
- user_id: string;
705
703
  emails: string[];
704
+ user_id: string;
705
+ type: "user-custom-emails";
706
706
  } | {
707
- type: "custom-emails";
708
707
  emails: string[];
708
+ type: "custom-emails";
709
709
  } | undefined;
710
710
  variables: Record<string, {} | null> | undefined;
711
711
  skip_deliverability_check: boolean | undefined;
@@ -731,15 +731,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
731
731
  tsx_source: string;
732
732
  theme_id: string | null;
733
733
  to: {
734
- type: "user-primary-email";
735
734
  user_id: string;
735
+ type: "user-primary-email";
736
736
  } | {
737
- type: "user-custom-emails";
738
- user_id: string;
739
737
  emails: string[];
738
+ user_id: string;
739
+ type: "user-custom-emails";
740
740
  } | {
741
- type: "custom-emails";
742
741
  emails: string[];
742
+ type: "custom-emails";
743
743
  };
744
744
  variables: Record<string, {} | null>;
745
745
  skip_deliverability_check: boolean;
@@ -769,15 +769,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
769
769
  tsx_source: string;
770
770
  theme_id: string | null;
771
771
  to: {
772
- type: "user-primary-email";
773
772
  user_id: string;
773
+ type: "user-primary-email";
774
774
  } | {
775
- type: "user-custom-emails";
776
- user_id: string;
777
775
  emails: string[];
776
+ user_id: string;
777
+ type: "user-custom-emails";
778
778
  } | {
779
- type: "custom-emails";
780
779
  emails: string[];
780
+ type: "custom-emails";
781
781
  };
782
782
  variables: Record<string, {} | null>;
783
783
  skip_deliverability_check: boolean;
@@ -807,15 +807,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
807
807
  tsx_source: string;
808
808
  theme_id: string | null;
809
809
  to: {
810
- type: "user-primary-email";
811
810
  user_id: string;
811
+ type: "user-primary-email";
812
812
  } | {
813
- type: "user-custom-emails";
814
- user_id: string;
815
813
  emails: string[];
814
+ user_id: string;
815
+ type: "user-custom-emails";
816
816
  } | {
817
- type: "custom-emails";
818
817
  emails: string[];
818
+ type: "custom-emails";
819
819
  };
820
820
  variables: Record<string, {} | null>;
821
821
  skip_deliverability_check: boolean;
@@ -846,15 +846,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
846
846
  tsx_source: string;
847
847
  theme_id: string | null;
848
848
  to: {
849
- type: "user-primary-email";
850
849
  user_id: string;
850
+ type: "user-primary-email";
851
851
  } | {
852
- type: "user-custom-emails";
853
- user_id: string;
854
852
  emails: string[];
853
+ user_id: string;
854
+ type: "user-custom-emails";
855
855
  } | {
856
- type: "custom-emails";
857
856
  emails: string[];
857
+ type: "custom-emails";
858
858
  };
859
859
  variables: Record<string, {} | null>;
860
860
  skip_deliverability_check: boolean;
@@ -880,25 +880,26 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
880
880
  rendered_at_millis: number;
881
881
  render_error: string;
882
882
  } | {
883
+ html: string | null;
884
+ text: string | null;
883
885
  status: "scheduled";
884
886
  id: string;
885
- subject: string;
887
+ notification_category_id: string | null;
886
888
  created_at_millis: number;
887
- html: string | null;
888
- text: string | null;
889
+ subject: string;
889
890
  updated_at_millis: number;
890
891
  tsx_source: string;
891
892
  theme_id: string | null;
892
893
  to: {
893
- type: "user-primary-email";
894
894
  user_id: string;
895
+ type: "user-primary-email";
895
896
  } | {
896
- type: "user-custom-emails";
897
- user_id: string;
898
897
  emails: string[];
898
+ user_id: string;
899
+ type: "user-custom-emails";
899
900
  } | {
900
- type: "custom-emails";
901
901
  emails: string[];
902
+ type: "custom-emails";
902
903
  };
903
904
  variables: Record<string, {} | null>;
904
905
  skip_deliverability_check: boolean;
@@ -924,27 +925,27 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
924
925
  rendered_at_millis: number;
925
926
  is_transactional: boolean;
926
927
  is_high_priority: boolean;
927
- notification_category_id: string | null;
928
928
  } | {
929
+ html: string | null;
930
+ text: string | null;
929
931
  status: "queued";
930
932
  id: string;
931
- subject: string;
933
+ notification_category_id: string | null;
932
934
  created_at_millis: number;
933
- html: string | null;
934
- text: string | null;
935
+ subject: string;
935
936
  updated_at_millis: number;
936
937
  tsx_source: string;
937
938
  theme_id: string | null;
938
939
  to: {
939
- type: "user-primary-email";
940
940
  user_id: string;
941
+ type: "user-primary-email";
941
942
  } | {
942
- type: "user-custom-emails";
943
- user_id: string;
944
943
  emails: string[];
944
+ user_id: string;
945
+ type: "user-custom-emails";
945
946
  } | {
946
- type: "custom-emails";
947
947
  emails: string[];
948
+ type: "custom-emails";
948
949
  };
949
950
  variables: Record<string, {} | null>;
950
951
  skip_deliverability_check: boolean;
@@ -970,27 +971,27 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
970
971
  rendered_at_millis: number;
971
972
  is_transactional: boolean;
972
973
  is_high_priority: boolean;
973
- notification_category_id: string | null;
974
974
  } | {
975
+ html: string | null;
976
+ text: string | null;
975
977
  status: "sending";
976
978
  id: string;
977
- subject: string;
979
+ notification_category_id: string | null;
978
980
  created_at_millis: number;
979
- html: string | null;
980
- text: string | null;
981
+ subject: string;
981
982
  updated_at_millis: number;
982
983
  tsx_source: string;
983
984
  theme_id: string | null;
984
985
  to: {
985
- type: "user-primary-email";
986
986
  user_id: string;
987
+ type: "user-primary-email";
987
988
  } | {
988
- type: "user-custom-emails";
989
- user_id: string;
990
989
  emails: string[];
990
+ user_id: string;
991
+ type: "user-custom-emails";
991
992
  } | {
992
- type: "custom-emails";
993
993
  emails: string[];
994
+ type: "custom-emails";
994
995
  };
995
996
  variables: Record<string, {} | null>;
996
997
  skip_deliverability_check: boolean;
@@ -1016,28 +1017,28 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1016
1017
  rendered_at_millis: number;
1017
1018
  is_transactional: boolean;
1018
1019
  is_high_priority: boolean;
1019
- notification_category_id: string | null;
1020
1020
  started_sending_at_millis: number;
1021
1021
  } | {
1022
+ html: string | null;
1023
+ text: string | null;
1022
1024
  status: "server-error";
1023
1025
  id: string;
1024
- subject: string;
1026
+ notification_category_id: string | null;
1025
1027
  created_at_millis: number;
1026
- html: string | null;
1027
- text: string | null;
1028
+ subject: string;
1028
1029
  updated_at_millis: number;
1029
1030
  tsx_source: string;
1030
1031
  theme_id: string | null;
1031
1032
  to: {
1032
- type: "user-primary-email";
1033
1033
  user_id: string;
1034
+ type: "user-primary-email";
1034
1035
  } | {
1035
- type: "user-custom-emails";
1036
- user_id: string;
1037
1036
  emails: string[];
1037
+ user_id: string;
1038
+ type: "user-custom-emails";
1038
1039
  } | {
1039
- type: "custom-emails";
1040
1040
  emails: string[];
1041
+ type: "custom-emails";
1041
1042
  };
1042
1043
  variables: Record<string, {} | null>;
1043
1044
  skip_deliverability_check: boolean;
@@ -1063,19 +1064,18 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1063
1064
  rendered_at_millis: number;
1064
1065
  is_transactional: boolean;
1065
1066
  is_high_priority: boolean;
1066
- notification_category_id: string | null;
1067
1067
  started_sending_at_millis: number;
1068
1068
  error_at_millis: number;
1069
1069
  server_error: string;
1070
1070
  } | {
1071
- subject?: string | undefined;
1072
1071
  html?: string | null | undefined;
1073
1072
  text?: string | null | undefined;
1073
+ notification_category_id?: string | null | undefined;
1074
+ subject?: string | undefined;
1074
1075
  started_rendering_at_millis?: number | undefined;
1075
1076
  rendered_at_millis?: number | undefined;
1076
1077
  is_transactional?: boolean | undefined;
1077
1078
  is_high_priority?: boolean | undefined;
1078
- notification_category_id?: string | null | undefined;
1079
1079
  started_sending_at_millis?: number | undefined;
1080
1080
  status: "skipped";
1081
1081
  id: string;
@@ -1084,15 +1084,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1084
1084
  tsx_source: string;
1085
1085
  theme_id: string | null;
1086
1086
  to: {
1087
- type: "user-primary-email";
1088
1087
  user_id: string;
1088
+ type: "user-primary-email";
1089
1089
  } | {
1090
- type: "user-custom-emails";
1091
- user_id: string;
1092
1090
  emails: string[];
1091
+ user_id: string;
1092
+ type: "user-custom-emails";
1093
1093
  } | {
1094
- type: "custom-emails";
1095
1094
  emails: string[];
1095
+ type: "custom-emails";
1096
1096
  };
1097
1097
  variables: Record<string, {} | null>;
1098
1098
  skip_deliverability_check: boolean;
@@ -1118,25 +1118,26 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1118
1118
  skipped_reason: string;
1119
1119
  skipped_details: Record<string, {} | null>;
1120
1120
  } | {
1121
+ html: string | null;
1122
+ text: string | null;
1121
1123
  status: "bounced";
1122
1124
  id: string;
1123
- subject: string;
1125
+ notification_category_id: string | null;
1124
1126
  created_at_millis: number;
1125
- html: string | null;
1126
- text: string | null;
1127
+ subject: string;
1127
1128
  updated_at_millis: number;
1128
1129
  tsx_source: string;
1129
1130
  theme_id: string | null;
1130
1131
  to: {
1131
- type: "user-primary-email";
1132
1132
  user_id: string;
1133
+ type: "user-primary-email";
1133
1134
  } | {
1134
- type: "user-custom-emails";
1135
- user_id: string;
1136
1135
  emails: string[];
1136
+ user_id: string;
1137
+ type: "user-custom-emails";
1137
1138
  } | {
1138
- type: "custom-emails";
1139
1139
  emails: string[];
1140
+ type: "custom-emails";
1140
1141
  };
1141
1142
  variables: Record<string, {} | null>;
1142
1143
  skip_deliverability_check: boolean;
@@ -1162,29 +1163,29 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1162
1163
  rendered_at_millis: number;
1163
1164
  is_transactional: boolean;
1164
1165
  is_high_priority: boolean;
1165
- notification_category_id: string | null;
1166
1166
  started_sending_at_millis: number;
1167
1167
  bounced_at_millis: number;
1168
1168
  } | {
1169
+ html: string | null;
1170
+ text: string | null;
1169
1171
  status: "delivery-delayed";
1170
1172
  id: string;
1171
- subject: string;
1173
+ notification_category_id: string | null;
1172
1174
  created_at_millis: number;
1173
- html: string | null;
1174
- text: string | null;
1175
+ subject: string;
1175
1176
  updated_at_millis: number;
1176
1177
  tsx_source: string;
1177
1178
  theme_id: string | null;
1178
1179
  to: {
1179
- type: "user-primary-email";
1180
1180
  user_id: string;
1181
+ type: "user-primary-email";
1181
1182
  } | {
1182
- type: "user-custom-emails";
1183
- user_id: string;
1184
1183
  emails: string[];
1184
+ user_id: string;
1185
+ type: "user-custom-emails";
1185
1186
  } | {
1186
- type: "custom-emails";
1187
1187
  emails: string[];
1188
+ type: "custom-emails";
1188
1189
  };
1189
1190
  variables: Record<string, {} | null>;
1190
1191
  skip_deliverability_check: boolean;
@@ -1210,29 +1211,29 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1210
1211
  rendered_at_millis: number;
1211
1212
  is_transactional: boolean;
1212
1213
  is_high_priority: boolean;
1213
- notification_category_id: string | null;
1214
1214
  started_sending_at_millis: number;
1215
1215
  delivery_delayed_at_millis: number;
1216
1216
  } | {
1217
+ html: string | null;
1218
+ text: string | null;
1217
1219
  status: "sent";
1218
1220
  id: string;
1219
- subject: string;
1221
+ notification_category_id: string | null;
1220
1222
  created_at_millis: number;
1221
- html: string | null;
1222
- text: string | null;
1223
+ subject: string;
1223
1224
  updated_at_millis: number;
1224
1225
  tsx_source: string;
1225
1226
  theme_id: string | null;
1226
1227
  to: {
1227
- type: "user-primary-email";
1228
1228
  user_id: string;
1229
+ type: "user-primary-email";
1229
1230
  } | {
1230
- type: "user-custom-emails";
1231
- user_id: string;
1232
1231
  emails: string[];
1232
+ user_id: string;
1233
+ type: "user-custom-emails";
1233
1234
  } | {
1234
- type: "custom-emails";
1235
1235
  emails: string[];
1236
+ type: "custom-emails";
1236
1237
  };
1237
1238
  variables: Record<string, {} | null>;
1238
1239
  skip_deliverability_check: boolean;
@@ -1258,30 +1259,30 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1258
1259
  rendered_at_millis: number;
1259
1260
  is_transactional: boolean;
1260
1261
  is_high_priority: boolean;
1261
- notification_category_id: string | null;
1262
1262
  started_sending_at_millis: number;
1263
1263
  delivered_at_millis: number;
1264
1264
  can_have_delivery_info: boolean;
1265
1265
  } | {
1266
+ html: string | null;
1267
+ text: string | null;
1266
1268
  status: "opened";
1267
1269
  id: string;
1268
- subject: string;
1270
+ notification_category_id: string | null;
1269
1271
  created_at_millis: number;
1270
- html: string | null;
1271
- text: string | null;
1272
+ subject: string;
1272
1273
  updated_at_millis: number;
1273
1274
  tsx_source: string;
1274
1275
  theme_id: string | null;
1275
1276
  to: {
1276
- type: "user-primary-email";
1277
1277
  user_id: string;
1278
+ type: "user-primary-email";
1278
1279
  } | {
1279
- type: "user-custom-emails";
1280
- user_id: string;
1281
1280
  emails: string[];
1281
+ user_id: string;
1282
+ type: "user-custom-emails";
1282
1283
  } | {
1283
- type: "custom-emails";
1284
1284
  emails: string[];
1285
+ type: "custom-emails";
1285
1286
  };
1286
1287
  variables: Record<string, {} | null>;
1287
1288
  skip_deliverability_check: boolean;
@@ -1307,31 +1308,31 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1307
1308
  rendered_at_millis: number;
1308
1309
  is_transactional: boolean;
1309
1310
  is_high_priority: boolean;
1310
- notification_category_id: string | null;
1311
1311
  started_sending_at_millis: number;
1312
1312
  delivered_at_millis: number;
1313
1313
  can_have_delivery_info: boolean;
1314
1314
  opened_at_millis: number;
1315
1315
  } | {
1316
+ html: string | null;
1317
+ text: string | null;
1316
1318
  status: "clicked";
1317
1319
  id: string;
1318
- subject: string;
1320
+ notification_category_id: string | null;
1319
1321
  created_at_millis: number;
1320
- html: string | null;
1321
- text: string | null;
1322
+ subject: string;
1322
1323
  updated_at_millis: number;
1323
1324
  tsx_source: string;
1324
1325
  theme_id: string | null;
1325
1326
  to: {
1326
- type: "user-primary-email";
1327
1327
  user_id: string;
1328
+ type: "user-primary-email";
1328
1329
  } | {
1329
- type: "user-custom-emails";
1330
- user_id: string;
1331
1330
  emails: string[];
1331
+ user_id: string;
1332
+ type: "user-custom-emails";
1332
1333
  } | {
1333
- type: "custom-emails";
1334
1334
  emails: string[];
1335
+ type: "custom-emails";
1335
1336
  };
1336
1337
  variables: Record<string, {} | null>;
1337
1338
  skip_deliverability_check: boolean;
@@ -1357,31 +1358,31 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1357
1358
  rendered_at_millis: number;
1358
1359
  is_transactional: boolean;
1359
1360
  is_high_priority: boolean;
1360
- notification_category_id: string | null;
1361
1361
  started_sending_at_millis: number;
1362
1362
  delivered_at_millis: number;
1363
1363
  can_have_delivery_info: boolean;
1364
1364
  clicked_at_millis: number;
1365
1365
  } | {
1366
+ html: string | null;
1367
+ text: string | null;
1366
1368
  status: "marked-as-spam";
1367
1369
  id: string;
1368
- subject: string;
1370
+ notification_category_id: string | null;
1369
1371
  created_at_millis: number;
1370
- html: string | null;
1371
- text: string | null;
1372
+ subject: string;
1372
1373
  updated_at_millis: number;
1373
1374
  tsx_source: string;
1374
1375
  theme_id: string | null;
1375
1376
  to: {
1376
- type: "user-primary-email";
1377
1377
  user_id: string;
1378
+ type: "user-primary-email";
1378
1379
  } | {
1379
- type: "user-custom-emails";
1380
- user_id: string;
1381
1380
  emails: string[];
1381
+ user_id: string;
1382
+ type: "user-custom-emails";
1382
1383
  } | {
1383
- type: "custom-emails";
1384
1384
  emails: string[];
1385
+ type: "custom-emails";
1385
1386
  };
1386
1387
  variables: Record<string, {} | null>;
1387
1388
  skip_deliverability_check: boolean;
@@ -1407,7 +1408,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1407
1408
  rendered_at_millis: number;
1408
1409
  is_transactional: boolean;
1409
1410
  is_high_priority: boolean;
1410
- notification_category_id: string | null;
1411
1411
  started_sending_at_millis: number;
1412
1412
  delivered_at_millis: number;
1413
1413
  can_have_delivery_info: boolean;
@@ -1417,15 +1417,15 @@ 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
- user_id: string;
1425
1423
  emails: string[];
1424
+ user_id: string;
1425
+ type: "user-custom-emails";
1426
1426
  } | {
1427
- type: "custom-emails";
1428
1427
  emails: string[];
1428
+ type: "custom-emails";
1429
1429
  } | undefined;
1430
1430
  variables: Record<string, {} | null> | undefined;
1431
1431
  skip_deliverability_check: boolean | undefined;