@hexclave/shared 1.0.26 → 1.0.28

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 (43) hide show
  1. package/dist/config/schema.d.ts +154 -154
  2. package/dist/esm/config/schema.d.ts +154 -154
  3. package/dist/esm/hooks/use-async-callback.js +1 -1
  4. package/dist/esm/hooks/use-async-external-store.js +1 -1
  5. package/dist/esm/hooks/use-strict-memo.js +1 -1
  6. package/dist/esm/interface/admin-interface.js +1 -1
  7. package/dist/esm/interface/admin-metrics.d.ts +3 -3
  8. package/dist/esm/interface/client-interface.js +1 -1
  9. package/dist/esm/interface/conversations.d.ts +5 -5
  10. package/dist/esm/interface/crud/current-user.d.ts +7 -7
  11. package/dist/esm/interface/crud/email-outbox.d.ts +184 -184
  12. package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
  13. package/dist/esm/interface/crud/projects.d.ts +43 -43
  14. package/dist/esm/interface/crud/team-member-profiles.d.ts +12 -12
  15. package/dist/esm/interface/crud/users.d.ts +10 -10
  16. package/dist/esm/interface/server-interface.js +1 -1
  17. package/dist/esm/interface/webhooks.d.ts +2 -2
  18. package/dist/esm/sessions.d.ts +1 -1
  19. package/dist/esm/utils/passkey.d.ts +1 -1
  20. package/dist/esm/utils/promises.js +1 -1
  21. package/dist/hooks/use-async-callback.js +1 -1
  22. package/dist/hooks/use-async-external-store.js +1 -1
  23. package/dist/hooks/use-strict-memo.js +1 -1
  24. package/dist/interface/admin-interface.js +1 -1
  25. package/dist/interface/admin-metrics.d.ts +3 -3
  26. package/dist/interface/client-interface.d.ts +1 -1
  27. package/dist/interface/client-interface.js +1 -1
  28. package/dist/interface/conversations.d.ts +5 -5
  29. package/dist/interface/crud/current-user.d.ts +7 -7
  30. package/dist/interface/crud/email-outbox.d.ts +184 -184
  31. package/dist/interface/crud/project-api-keys.d.ts +2 -2
  32. package/dist/interface/crud/projects.d.ts +43 -43
  33. package/dist/interface/crud/team-member-profiles.d.ts +12 -12
  34. package/dist/interface/crud/users.d.ts +10 -10
  35. package/dist/interface/server-interface.js +1 -1
  36. package/dist/interface/webhooks.d.ts +2 -2
  37. package/dist/sessions.d.ts +1 -1
  38. package/dist/utils/passkey.d.ts +1 -1
  39. package/dist/utils/promises.js +1 -1
  40. package/package.json +3 -7
  41. package/src/utils/passkey.tsx +1 -1
  42. package/dist/index-nCRuFJTF.d.ts +0 -153
  43. package/dist/index-nCRuFJTF.d.ts.map +0 -1
@@ -6,10 +6,6 @@ import { CrudTypeOf } from "../../crud";
6
6
  declare const emailOutboxReadSchema: yup$1.MixedSchema<{
7
7
  status: "paused";
8
8
  id: string;
9
- created_at_millis: number;
10
- updated_at_millis: number;
11
- tsx_source: string;
12
- theme_id: string | null;
13
9
  to: {
14
10
  user_id: string;
15
11
  type: "user-primary-email";
@@ -21,6 +17,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
21
17
  type: "custom-emails";
22
18
  emails: string[];
23
19
  };
20
+ created_at_millis: number;
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;
@@ -44,10 +44,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
44
44
  } | {
45
45
  status: "preparing";
46
46
  id: string;
47
- created_at_millis: number;
48
- updated_at_millis: number;
49
- tsx_source: string;
50
- theme_id: string | null;
51
47
  to: {
52
48
  user_id: string;
53
49
  type: "user-primary-email";
@@ -59,6 +55,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
59
55
  type: "custom-emails";
60
56
  emails: string[];
61
57
  };
58
+ created_at_millis: number;
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;
@@ -82,10 +82,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
82
82
  } | {
83
83
  status: "rendering";
84
84
  id: string;
85
- created_at_millis: number;
86
- updated_at_millis: number;
87
- tsx_source: string;
88
- theme_id: string | null;
89
85
  to: {
90
86
  user_id: string;
91
87
  type: "user-primary-email";
@@ -97,6 +93,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
97
93
  type: "custom-emails";
98
94
  emails: string[];
99
95
  };
96
+ created_at_millis: number;
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;
@@ -121,10 +121,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
121
121
  } | {
122
122
  status: "render-error";
123
123
  id: string;
124
- created_at_millis: number;
125
- updated_at_millis: number;
126
- tsx_source: string;
127
- theme_id: string | null;
128
124
  to: {
129
125
  user_id: string;
130
126
  type: "user-primary-email";
@@ -136,6 +132,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
136
132
  type: "custom-emails";
137
133
  emails: string[];
138
134
  };
135
+ created_at_millis: number;
136
+ updated_at_millis: number;
137
+ tsx_source: string;
138
+ theme_id: string | null;
139
139
  variables: Record<string, {} | null>;
140
140
  skip_deliverability_check: boolean;
141
141
  scheduled_at_millis: number;
@@ -161,13 +161,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
161
161
  render_error: string;
162
162
  } | {
163
163
  status: "scheduled";
164
- id: string;
165
164
  html: string | null;
166
165
  text: string | null;
167
- created_at_millis: number;
168
- updated_at_millis: number;
169
- tsx_source: string;
170
- theme_id: string | null;
166
+ id: string;
167
+ subject: string;
171
168
  to: {
172
169
  user_id: string;
173
170
  type: "user-primary-email";
@@ -179,6 +176,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
179
176
  type: "custom-emails";
180
177
  emails: string[];
181
178
  };
179
+ created_at_millis: number;
180
+ notification_category_id: string | null;
181
+ updated_at_millis: number;
182
+ tsx_source: string;
183
+ theme_id: string | null;
182
184
  variables: Record<string, {} | null>;
183
185
  skip_deliverability_check: boolean;
184
186
  scheduled_at_millis: number;
@@ -201,19 +203,14 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
201
203
  has_delivered: boolean;
202
204
  started_rendering_at_millis: number;
203
205
  rendered_at_millis: number;
204
- subject: string;
205
206
  is_transactional: boolean;
206
207
  is_high_priority: boolean;
207
- notification_category_id: string | null;
208
208
  } | {
209
209
  status: "queued";
210
- id: string;
211
210
  html: string | null;
212
211
  text: string | null;
213
- created_at_millis: number;
214
- updated_at_millis: number;
215
- tsx_source: string;
216
- theme_id: string | null;
212
+ id: string;
213
+ subject: string;
217
214
  to: {
218
215
  user_id: string;
219
216
  type: "user-primary-email";
@@ -225,6 +222,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
225
222
  type: "custom-emails";
226
223
  emails: string[];
227
224
  };
225
+ created_at_millis: number;
226
+ notification_category_id: string | null;
227
+ updated_at_millis: number;
228
+ tsx_source: string;
229
+ theme_id: string | null;
228
230
  variables: Record<string, {} | null>;
229
231
  skip_deliverability_check: boolean;
230
232
  scheduled_at_millis: number;
@@ -247,19 +249,14 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
247
249
  has_delivered: boolean;
248
250
  started_rendering_at_millis: number;
249
251
  rendered_at_millis: number;
250
- subject: string;
251
252
  is_transactional: boolean;
252
253
  is_high_priority: boolean;
253
- notification_category_id: string | null;
254
254
  } | {
255
255
  status: "sending";
256
- id: string;
257
256
  html: string | null;
258
257
  text: string | null;
259
- created_at_millis: number;
260
- updated_at_millis: number;
261
- tsx_source: string;
262
- theme_id: string | null;
258
+ id: string;
259
+ subject: string;
263
260
  to: {
264
261
  user_id: string;
265
262
  type: "user-primary-email";
@@ -271,6 +268,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
271
268
  type: "custom-emails";
272
269
  emails: string[];
273
270
  };
271
+ created_at_millis: number;
272
+ notification_category_id: string | null;
273
+ updated_at_millis: number;
274
+ tsx_source: string;
275
+ theme_id: string | null;
274
276
  variables: Record<string, {} | null>;
275
277
  skip_deliverability_check: boolean;
276
278
  scheduled_at_millis: number;
@@ -293,20 +295,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
293
295
  has_delivered: boolean;
294
296
  started_rendering_at_millis: number;
295
297
  rendered_at_millis: number;
296
- subject: string;
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
302
  status: "server-error";
303
- id: string;
304
303
  html: string | null;
305
304
  text: string | null;
306
- created_at_millis: number;
307
- updated_at_millis: number;
308
- tsx_source: string;
309
- theme_id: string | null;
305
+ id: string;
306
+ subject: string;
310
307
  to: {
311
308
  user_id: string;
312
309
  type: "user-primary-email";
@@ -318,6 +315,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
318
315
  type: "custom-emails";
319
316
  emails: string[];
320
317
  };
318
+ created_at_millis: number;
319
+ notification_category_id: string | null;
320
+ updated_at_millis: number;
321
+ tsx_source: string;
322
+ theme_id: string | null;
321
323
  variables: Record<string, {} | null>;
322
324
  skip_deliverability_check: boolean;
323
325
  scheduled_at_millis: number;
@@ -340,29 +342,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
340
342
  has_delivered: boolean;
341
343
  started_rendering_at_millis: number;
342
344
  rendered_at_millis: number;
343
- subject: string;
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
351
  html?: string | null | undefined;
352
352
  text?: string | null | undefined;
353
+ subject?: string | undefined;
354
+ notification_category_id?: string | null | undefined;
353
355
  started_rendering_at_millis?: number | undefined;
354
356
  rendered_at_millis?: number | undefined;
355
- subject?: string | 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;
362
- created_at_millis: number;
363
- updated_at_millis: number;
364
- tsx_source: string;
365
- theme_id: string | null;
366
362
  to: {
367
363
  user_id: string;
368
364
  type: "user-primary-email";
@@ -374,6 +370,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
374
370
  type: "custom-emails";
375
371
  emails: string[];
376
372
  };
373
+ created_at_millis: number;
374
+ updated_at_millis: number;
375
+ tsx_source: string;
376
+ theme_id: string | null;
377
377
  variables: Record<string, {} | null>;
378
378
  skip_deliverability_check: boolean;
379
379
  scheduled_at_millis: number;
@@ -399,13 +399,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
399
399
  skipped_details: Record<string, {} | null>;
400
400
  } | {
401
401
  status: "bounced";
402
- id: string;
403
402
  html: string | null;
404
403
  text: string | null;
405
- created_at_millis: number;
406
- updated_at_millis: number;
407
- tsx_source: string;
408
- theme_id: string | null;
404
+ id: string;
405
+ subject: string;
409
406
  to: {
410
407
  user_id: string;
411
408
  type: "user-primary-email";
@@ -417,6 +414,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
417
414
  type: "custom-emails";
418
415
  emails: string[];
419
416
  };
417
+ created_at_millis: number;
418
+ notification_category_id: string | null;
419
+ updated_at_millis: number;
420
+ tsx_source: string;
421
+ theme_id: string | null;
420
422
  variables: Record<string, {} | null>;
421
423
  skip_deliverability_check: boolean;
422
424
  scheduled_at_millis: number;
@@ -439,21 +441,16 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
439
441
  has_delivered: boolean;
440
442
  started_rendering_at_millis: number;
441
443
  rendered_at_millis: number;
442
- subject: string;
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
449
  status: "delivery-delayed";
450
- id: string;
451
450
  html: string | null;
452
451
  text: string | null;
453
- created_at_millis: number;
454
- updated_at_millis: number;
455
- tsx_source: string;
456
- theme_id: string | null;
452
+ id: string;
453
+ subject: string;
457
454
  to: {
458
455
  user_id: string;
459
456
  type: "user-primary-email";
@@ -465,6 +462,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
465
462
  type: "custom-emails";
466
463
  emails: string[];
467
464
  };
465
+ created_at_millis: number;
466
+ notification_category_id: string | null;
467
+ updated_at_millis: number;
468
+ tsx_source: string;
469
+ theme_id: string | null;
468
470
  variables: Record<string, {} | null>;
469
471
  skip_deliverability_check: boolean;
470
472
  scheduled_at_millis: number;
@@ -487,21 +489,16 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
487
489
  has_delivered: boolean;
488
490
  started_rendering_at_millis: number;
489
491
  rendered_at_millis: number;
490
- subject: string;
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
497
  status: "sent";
498
- id: string;
499
498
  html: string | null;
500
499
  text: string | null;
501
- created_at_millis: number;
502
- updated_at_millis: number;
503
- tsx_source: string;
504
- theme_id: string | null;
500
+ id: string;
501
+ subject: string;
505
502
  to: {
506
503
  user_id: string;
507
504
  type: "user-primary-email";
@@ -513,6 +510,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
513
510
  type: "custom-emails";
514
511
  emails: string[];
515
512
  };
513
+ created_at_millis: number;
514
+ notification_category_id: string | null;
515
+ updated_at_millis: number;
516
+ tsx_source: string;
517
+ theme_id: string | null;
516
518
  variables: Record<string, {} | null>;
517
519
  skip_deliverability_check: boolean;
518
520
  scheduled_at_millis: number;
@@ -535,22 +537,17 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
535
537
  has_delivered: boolean;
536
538
  started_rendering_at_millis: number;
537
539
  rendered_at_millis: number;
538
- subject: string;
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
546
  status: "opened";
547
- id: string;
548
547
  html: string | null;
549
548
  text: string | null;
550
- created_at_millis: number;
551
- updated_at_millis: number;
552
- tsx_source: string;
553
- theme_id: string | null;
549
+ id: string;
550
+ subject: string;
554
551
  to: {
555
552
  user_id: string;
556
553
  type: "user-primary-email";
@@ -562,6 +559,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
562
559
  type: "custom-emails";
563
560
  emails: string[];
564
561
  };
562
+ created_at_millis: number;
563
+ notification_category_id: string | null;
564
+ updated_at_millis: number;
565
+ tsx_source: string;
566
+ theme_id: string | null;
565
567
  variables: Record<string, {} | null>;
566
568
  skip_deliverability_check: boolean;
567
569
  scheduled_at_millis: number;
@@ -584,23 +586,18 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
584
586
  has_delivered: boolean;
585
587
  started_rendering_at_millis: number;
586
588
  rendered_at_millis: number;
587
- subject: string;
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
596
  status: "clicked";
597
- id: string;
598
597
  html: string | null;
599
598
  text: string | null;
600
- created_at_millis: number;
601
- updated_at_millis: number;
602
- tsx_source: string;
603
- theme_id: string | null;
599
+ id: string;
600
+ subject: string;
604
601
  to: {
605
602
  user_id: string;
606
603
  type: "user-primary-email";
@@ -612,6 +609,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
612
609
  type: "custom-emails";
613
610
  emails: string[];
614
611
  };
612
+ created_at_millis: number;
613
+ notification_category_id: string | null;
614
+ updated_at_millis: number;
615
+ tsx_source: string;
616
+ theme_id: string | null;
615
617
  variables: Record<string, {} | null>;
616
618
  skip_deliverability_check: boolean;
617
619
  scheduled_at_millis: number;
@@ -634,23 +636,18 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
634
636
  has_delivered: boolean;
635
637
  started_rendering_at_millis: number;
636
638
  rendered_at_millis: number;
637
- subject: string;
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
646
  status: "marked-as-spam";
647
- id: string;
648
647
  html: string | null;
649
648
  text: string | null;
650
- created_at_millis: number;
651
- updated_at_millis: number;
652
- tsx_source: string;
653
- theme_id: string | null;
649
+ id: string;
650
+ subject: string;
654
651
  to: {
655
652
  user_id: string;
656
653
  type: "user-primary-email";
@@ -662,6 +659,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
662
659
  type: "custom-emails";
663
660
  emails: string[];
664
661
  };
662
+ created_at_millis: number;
663
+ notification_category_id: string | null;
664
+ updated_at_millis: number;
665
+ tsx_source: string;
666
+ theme_id: string | null;
665
667
  variables: Record<string, {} | null>;
666
668
  skip_deliverability_check: boolean;
667
669
  scheduled_at_millis: number;
@@ -684,10 +686,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
684
686
  has_delivered: boolean;
685
687
  started_rendering_at_millis: number;
686
688
  rendered_at_millis: number;
687
- subject: string;
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;
@@ -726,10 +726,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
726
726
  serverReadSchema: yup$1.MixedSchema<{
727
727
  status: "paused";
728
728
  id: string;
729
- created_at_millis: number;
730
- updated_at_millis: number;
731
- tsx_source: string;
732
- theme_id: string | null;
733
729
  to: {
734
730
  user_id: string;
735
731
  type: "user-primary-email";
@@ -741,6 +737,10 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
741
737
  type: "custom-emails";
742
738
  emails: string[];
743
739
  };
740
+ created_at_millis: number;
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;
@@ -764,10 +764,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
764
764
  } | {
765
765
  status: "preparing";
766
766
  id: string;
767
- created_at_millis: number;
768
- updated_at_millis: number;
769
- tsx_source: string;
770
- theme_id: string | null;
771
767
  to: {
772
768
  user_id: string;
773
769
  type: "user-primary-email";
@@ -779,6 +775,10 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
779
775
  type: "custom-emails";
780
776
  emails: string[];
781
777
  };
778
+ created_at_millis: number;
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;
@@ -802,10 +802,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
802
802
  } | {
803
803
  status: "rendering";
804
804
  id: string;
805
- created_at_millis: number;
806
- updated_at_millis: number;
807
- tsx_source: string;
808
- theme_id: string | null;
809
805
  to: {
810
806
  user_id: string;
811
807
  type: "user-primary-email";
@@ -817,6 +813,10 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
817
813
  type: "custom-emails";
818
814
  emails: string[];
819
815
  };
816
+ created_at_millis: number;
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;
@@ -841,10 +841,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
841
841
  } | {
842
842
  status: "render-error";
843
843
  id: string;
844
- created_at_millis: number;
845
- updated_at_millis: number;
846
- tsx_source: string;
847
- theme_id: string | null;
848
844
  to: {
849
845
  user_id: string;
850
846
  type: "user-primary-email";
@@ -856,6 +852,10 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
856
852
  type: "custom-emails";
857
853
  emails: string[];
858
854
  };
855
+ created_at_millis: number;
856
+ updated_at_millis: number;
857
+ tsx_source: string;
858
+ theme_id: string | null;
859
859
  variables: Record<string, {} | null>;
860
860
  skip_deliverability_check: boolean;
861
861
  scheduled_at_millis: number;
@@ -881,13 +881,10 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
881
881
  render_error: string;
882
882
  } | {
883
883
  status: "scheduled";
884
- id: string;
885
884
  html: string | null;
886
885
  text: string | null;
887
- created_at_millis: number;
888
- updated_at_millis: number;
889
- tsx_source: string;
890
- theme_id: string | null;
886
+ id: string;
887
+ subject: string;
891
888
  to: {
892
889
  user_id: string;
893
890
  type: "user-primary-email";
@@ -899,6 +896,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
899
896
  type: "custom-emails";
900
897
  emails: string[];
901
898
  };
899
+ created_at_millis: number;
900
+ notification_category_id: string | null;
901
+ updated_at_millis: number;
902
+ tsx_source: string;
903
+ theme_id: string | null;
902
904
  variables: Record<string, {} | null>;
903
905
  skip_deliverability_check: boolean;
904
906
  scheduled_at_millis: number;
@@ -921,19 +923,14 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
921
923
  has_delivered: boolean;
922
924
  started_rendering_at_millis: number;
923
925
  rendered_at_millis: number;
924
- subject: string;
925
926
  is_transactional: boolean;
926
927
  is_high_priority: boolean;
927
- notification_category_id: string | null;
928
928
  } | {
929
929
  status: "queued";
930
- id: string;
931
930
  html: string | null;
932
931
  text: string | null;
933
- created_at_millis: number;
934
- updated_at_millis: number;
935
- tsx_source: string;
936
- theme_id: string | null;
932
+ id: string;
933
+ subject: string;
937
934
  to: {
938
935
  user_id: string;
939
936
  type: "user-primary-email";
@@ -945,6 +942,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
945
942
  type: "custom-emails";
946
943
  emails: string[];
947
944
  };
945
+ created_at_millis: number;
946
+ notification_category_id: string | null;
947
+ updated_at_millis: number;
948
+ tsx_source: string;
949
+ theme_id: string | null;
948
950
  variables: Record<string, {} | null>;
949
951
  skip_deliverability_check: boolean;
950
952
  scheduled_at_millis: number;
@@ -967,19 +969,14 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
967
969
  has_delivered: boolean;
968
970
  started_rendering_at_millis: number;
969
971
  rendered_at_millis: number;
970
- subject: string;
971
972
  is_transactional: boolean;
972
973
  is_high_priority: boolean;
973
- notification_category_id: string | null;
974
974
  } | {
975
975
  status: "sending";
976
- id: string;
977
976
  html: string | null;
978
977
  text: string | null;
979
- created_at_millis: number;
980
- updated_at_millis: number;
981
- tsx_source: string;
982
- theme_id: string | null;
978
+ id: string;
979
+ subject: string;
983
980
  to: {
984
981
  user_id: string;
985
982
  type: "user-primary-email";
@@ -991,6 +988,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
991
988
  type: "custom-emails";
992
989
  emails: string[];
993
990
  };
991
+ created_at_millis: number;
992
+ notification_category_id: string | null;
993
+ updated_at_millis: number;
994
+ tsx_source: string;
995
+ theme_id: string | null;
994
996
  variables: Record<string, {} | null>;
995
997
  skip_deliverability_check: boolean;
996
998
  scheduled_at_millis: number;
@@ -1013,20 +1015,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1013
1015
  has_delivered: boolean;
1014
1016
  started_rendering_at_millis: number;
1015
1017
  rendered_at_millis: number;
1016
- subject: string;
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
1022
  status: "server-error";
1023
- id: string;
1024
1023
  html: string | null;
1025
1024
  text: string | null;
1026
- created_at_millis: number;
1027
- updated_at_millis: number;
1028
- tsx_source: string;
1029
- theme_id: string | null;
1025
+ id: string;
1026
+ subject: string;
1030
1027
  to: {
1031
1028
  user_id: string;
1032
1029
  type: "user-primary-email";
@@ -1038,6 +1035,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1038
1035
  type: "custom-emails";
1039
1036
  emails: string[];
1040
1037
  };
1038
+ created_at_millis: number;
1039
+ notification_category_id: string | null;
1040
+ updated_at_millis: number;
1041
+ tsx_source: string;
1042
+ theme_id: string | null;
1041
1043
  variables: Record<string, {} | null>;
1042
1044
  skip_deliverability_check: boolean;
1043
1045
  scheduled_at_millis: number;
@@ -1060,29 +1062,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1060
1062
  has_delivered: boolean;
1061
1063
  started_rendering_at_millis: number;
1062
1064
  rendered_at_millis: number;
1063
- subject: string;
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
1071
  html?: string | null | undefined;
1072
1072
  text?: string | null | undefined;
1073
+ subject?: string | undefined;
1074
+ notification_category_id?: string | null | undefined;
1073
1075
  started_rendering_at_millis?: number | undefined;
1074
1076
  rendered_at_millis?: number | undefined;
1075
- subject?: string | 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;
1082
- created_at_millis: number;
1083
- updated_at_millis: number;
1084
- tsx_source: string;
1085
- theme_id: string | null;
1086
1082
  to: {
1087
1083
  user_id: string;
1088
1084
  type: "user-primary-email";
@@ -1094,6 +1090,10 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1094
1090
  type: "custom-emails";
1095
1091
  emails: string[];
1096
1092
  };
1093
+ created_at_millis: number;
1094
+ updated_at_millis: number;
1095
+ tsx_source: string;
1096
+ theme_id: string | null;
1097
1097
  variables: Record<string, {} | null>;
1098
1098
  skip_deliverability_check: boolean;
1099
1099
  scheduled_at_millis: number;
@@ -1119,13 +1119,10 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1119
1119
  skipped_details: Record<string, {} | null>;
1120
1120
  } | {
1121
1121
  status: "bounced";
1122
- id: string;
1123
1122
  html: string | null;
1124
1123
  text: string | null;
1125
- created_at_millis: number;
1126
- updated_at_millis: number;
1127
- tsx_source: string;
1128
- theme_id: string | null;
1124
+ id: string;
1125
+ subject: string;
1129
1126
  to: {
1130
1127
  user_id: string;
1131
1128
  type: "user-primary-email";
@@ -1137,6 +1134,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1137
1134
  type: "custom-emails";
1138
1135
  emails: string[];
1139
1136
  };
1137
+ created_at_millis: number;
1138
+ notification_category_id: string | null;
1139
+ updated_at_millis: number;
1140
+ tsx_source: string;
1141
+ theme_id: string | null;
1140
1142
  variables: Record<string, {} | null>;
1141
1143
  skip_deliverability_check: boolean;
1142
1144
  scheduled_at_millis: number;
@@ -1159,21 +1161,16 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1159
1161
  has_delivered: boolean;
1160
1162
  started_rendering_at_millis: number;
1161
1163
  rendered_at_millis: number;
1162
- subject: string;
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
1169
  status: "delivery-delayed";
1170
- id: string;
1171
1170
  html: string | null;
1172
1171
  text: string | null;
1173
- created_at_millis: number;
1174
- updated_at_millis: number;
1175
- tsx_source: string;
1176
- theme_id: string | null;
1172
+ id: string;
1173
+ subject: string;
1177
1174
  to: {
1178
1175
  user_id: string;
1179
1176
  type: "user-primary-email";
@@ -1185,6 +1182,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1185
1182
  type: "custom-emails";
1186
1183
  emails: string[];
1187
1184
  };
1185
+ created_at_millis: number;
1186
+ notification_category_id: string | null;
1187
+ updated_at_millis: number;
1188
+ tsx_source: string;
1189
+ theme_id: string | null;
1188
1190
  variables: Record<string, {} | null>;
1189
1191
  skip_deliverability_check: boolean;
1190
1192
  scheduled_at_millis: number;
@@ -1207,21 +1209,16 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1207
1209
  has_delivered: boolean;
1208
1210
  started_rendering_at_millis: number;
1209
1211
  rendered_at_millis: number;
1210
- subject: string;
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
1217
  status: "sent";
1218
- id: string;
1219
1218
  html: string | null;
1220
1219
  text: string | null;
1221
- created_at_millis: number;
1222
- updated_at_millis: number;
1223
- tsx_source: string;
1224
- theme_id: string | null;
1220
+ id: string;
1221
+ subject: string;
1225
1222
  to: {
1226
1223
  user_id: string;
1227
1224
  type: "user-primary-email";
@@ -1233,6 +1230,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1233
1230
  type: "custom-emails";
1234
1231
  emails: string[];
1235
1232
  };
1233
+ created_at_millis: number;
1234
+ notification_category_id: string | null;
1235
+ updated_at_millis: number;
1236
+ tsx_source: string;
1237
+ theme_id: string | null;
1236
1238
  variables: Record<string, {} | null>;
1237
1239
  skip_deliverability_check: boolean;
1238
1240
  scheduled_at_millis: number;
@@ -1255,22 +1257,17 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1255
1257
  has_delivered: boolean;
1256
1258
  started_rendering_at_millis: number;
1257
1259
  rendered_at_millis: number;
1258
- subject: string;
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
1266
  status: "opened";
1267
- id: string;
1268
1267
  html: string | null;
1269
1268
  text: string | null;
1270
- created_at_millis: number;
1271
- updated_at_millis: number;
1272
- tsx_source: string;
1273
- theme_id: string | null;
1269
+ id: string;
1270
+ subject: string;
1274
1271
  to: {
1275
1272
  user_id: string;
1276
1273
  type: "user-primary-email";
@@ -1282,6 +1279,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1282
1279
  type: "custom-emails";
1283
1280
  emails: string[];
1284
1281
  };
1282
+ created_at_millis: number;
1283
+ notification_category_id: string | null;
1284
+ updated_at_millis: number;
1285
+ tsx_source: string;
1286
+ theme_id: string | null;
1285
1287
  variables: Record<string, {} | null>;
1286
1288
  skip_deliverability_check: boolean;
1287
1289
  scheduled_at_millis: number;
@@ -1304,23 +1306,18 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1304
1306
  has_delivered: boolean;
1305
1307
  started_rendering_at_millis: number;
1306
1308
  rendered_at_millis: number;
1307
- subject: string;
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
1316
  status: "clicked";
1317
- id: string;
1318
1317
  html: string | null;
1319
1318
  text: string | null;
1320
- created_at_millis: number;
1321
- updated_at_millis: number;
1322
- tsx_source: string;
1323
- theme_id: string | null;
1319
+ id: string;
1320
+ subject: string;
1324
1321
  to: {
1325
1322
  user_id: string;
1326
1323
  type: "user-primary-email";
@@ -1332,6 +1329,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1332
1329
  type: "custom-emails";
1333
1330
  emails: string[];
1334
1331
  };
1332
+ created_at_millis: number;
1333
+ notification_category_id: string | null;
1334
+ updated_at_millis: number;
1335
+ tsx_source: string;
1336
+ theme_id: string | null;
1335
1337
  variables: Record<string, {} | null>;
1336
1338
  skip_deliverability_check: boolean;
1337
1339
  scheduled_at_millis: number;
@@ -1354,23 +1356,18 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1354
1356
  has_delivered: boolean;
1355
1357
  started_rendering_at_millis: number;
1356
1358
  rendered_at_millis: number;
1357
- subject: string;
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
1366
  status: "marked-as-spam";
1367
- id: string;
1368
1367
  html: string | null;
1369
1368
  text: string | null;
1370
- created_at_millis: number;
1371
- updated_at_millis: number;
1372
- tsx_source: string;
1373
- theme_id: string | null;
1369
+ id: string;
1370
+ subject: string;
1374
1371
  to: {
1375
1372
  user_id: string;
1376
1373
  type: "user-primary-email";
@@ -1382,6 +1379,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1382
1379
  type: "custom-emails";
1383
1380
  emails: string[];
1384
1381
  };
1382
+ created_at_millis: number;
1383
+ notification_category_id: string | null;
1384
+ updated_at_millis: number;
1385
+ tsx_source: string;
1386
+ theme_id: string | null;
1385
1387
  variables: Record<string, {} | null>;
1386
1388
  skip_deliverability_check: boolean;
1387
1389
  scheduled_at_millis: number;
@@ -1404,10 +1406,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1404
1406
  has_delivered: boolean;
1405
1407
  started_rendering_at_millis: number;
1406
1408
  rendered_at_millis: number;
1407
- subject: string;
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;