@hexclave/shared 1.0.32 → 1.0.34

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 (42) hide show
  1. package/dist/config/schema.d.ts +106 -106
  2. package/dist/esm/config/schema.d.ts +106 -106
  3. package/dist/esm/helpers/init-prompt.js +1 -1
  4. package/dist/esm/helpers/init-prompt.js.map +1 -1
  5. package/dist/esm/interface/admin-metrics.d.ts +16 -16
  6. package/dist/esm/interface/conversations.d.ts +4 -4
  7. package/dist/esm/interface/crud/current-user.d.ts +14 -14
  8. package/dist/esm/interface/crud/email-outbox.d.ts +271 -271
  9. package/dist/esm/interface/crud/products.d.ts +23 -23
  10. package/dist/esm/interface/crud/products.d.ts.map +1 -1
  11. package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
  12. package/dist/esm/interface/crud/projects.d.ts +7 -7
  13. package/dist/esm/interface/crud/team-member-profiles.d.ts +24 -24
  14. package/dist/esm/interface/crud/transactions.d.ts +25 -25
  15. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  16. package/dist/esm/interface/crud/users.d.ts +16 -16
  17. package/dist/esm/interface/plan-usage.d.ts +1 -1
  18. package/dist/esm/interface/webhooks.d.ts +2 -2
  19. package/dist/esm/known-errors.d.ts +6 -6
  20. package/dist/esm/schema-fields.d.ts +17 -17
  21. package/dist/esm/sessions.d.ts +8 -8
  22. package/dist/helpers/init-prompt.js +1 -1
  23. package/dist/helpers/init-prompt.js.map +1 -1
  24. package/dist/interface/admin-metrics.d.ts +16 -16
  25. package/dist/interface/conversations.d.ts +4 -4
  26. package/dist/interface/crud/current-user.d.ts +14 -14
  27. package/dist/interface/crud/email-outbox.d.ts +271 -271
  28. package/dist/interface/crud/products.d.ts +23 -23
  29. package/dist/interface/crud/products.d.ts.map +1 -1
  30. package/dist/interface/crud/project-api-keys.d.ts +2 -2
  31. package/dist/interface/crud/projects.d.ts +7 -7
  32. package/dist/interface/crud/team-member-profiles.d.ts +24 -24
  33. package/dist/interface/crud/transactions.d.ts +25 -25
  34. package/dist/interface/crud/transactions.d.ts.map +1 -1
  35. package/dist/interface/crud/users.d.ts +16 -16
  36. package/dist/interface/plan-usage.d.ts +1 -1
  37. package/dist/interface/webhooks.d.ts +2 -2
  38. package/dist/known-errors.d.ts +6 -6
  39. package/dist/schema-fields.d.ts +17 -17
  40. package/dist/sessions.d.ts +8 -8
  41. package/package.json +1 -1
  42. package/src/helpers/init-prompt.ts +1 -1
@@ -4,23 +4,23 @@ import { CrudTypeOf } from "../../crud";
4
4
 
5
5
  //#region src/interface/crud/email-outbox.d.ts
6
6
  declare const emailOutboxReadSchema: yup$1.MixedSchema<{
7
- status: "paused";
8
7
  id: string;
8
+ status: "paused";
9
9
  created_at_millis: number;
10
+ updated_at_millis: number;
11
+ tsx_source: string;
12
+ theme_id: string | null;
10
13
  to: {
11
- user_id: string;
12
14
  type: "user-primary-email";
13
- } | {
14
15
  user_id: string;
15
- type: "user-custom-emails";
16
+ } | {
16
17
  emails: string[];
18
+ type: "user-custom-emails";
19
+ user_id: string;
17
20
  } | {
18
- type: "custom-emails";
19
21
  emails: string[];
22
+ type: "custom-emails";
20
23
  };
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;
@@ -42,23 +42,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
42
42
  has_rendered: boolean;
43
43
  has_delivered: boolean;
44
44
  } | {
45
- status: "preparing";
46
45
  id: string;
46
+ status: "preparing";
47
47
  created_at_millis: number;
48
+ updated_at_millis: number;
49
+ tsx_source: string;
50
+ theme_id: string | null;
48
51
  to: {
49
- user_id: string;
50
52
  type: "user-primary-email";
51
- } | {
52
53
  user_id: string;
53
- type: "user-custom-emails";
54
+ } | {
54
55
  emails: string[];
56
+ type: "user-custom-emails";
57
+ user_id: string;
55
58
  } | {
56
- type: "custom-emails";
57
59
  emails: string[];
60
+ type: "custom-emails";
58
61
  };
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;
@@ -80,23 +80,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
80
80
  has_rendered: boolean;
81
81
  has_delivered: boolean;
82
82
  } | {
83
- status: "rendering";
84
83
  id: string;
84
+ status: "rendering";
85
85
  created_at_millis: number;
86
+ updated_at_millis: number;
87
+ tsx_source: string;
88
+ theme_id: string | null;
86
89
  to: {
87
- user_id: string;
88
90
  type: "user-primary-email";
89
- } | {
90
91
  user_id: string;
91
- type: "user-custom-emails";
92
+ } | {
92
93
  emails: string[];
94
+ type: "user-custom-emails";
95
+ user_id: string;
93
96
  } | {
94
- type: "custom-emails";
95
97
  emails: string[];
98
+ type: "custom-emails";
96
99
  };
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;
@@ -119,23 +119,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
119
119
  has_delivered: boolean;
120
120
  started_rendering_at_millis: number;
121
121
  } | {
122
- status: "render-error";
123
122
  id: string;
123
+ status: "render-error";
124
124
  created_at_millis: number;
125
+ updated_at_millis: number;
126
+ tsx_source: string;
127
+ theme_id: string | null;
125
128
  to: {
126
- user_id: string;
127
129
  type: "user-primary-email";
128
- } | {
129
130
  user_id: string;
130
- type: "user-custom-emails";
131
+ } | {
131
132
  emails: string[];
133
+ type: "user-custom-emails";
134
+ user_id: string;
132
135
  } | {
133
- type: "custom-emails";
134
136
  emails: string[];
137
+ type: "custom-emails";
135
138
  };
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;
@@ -160,25 +160,24 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
160
160
  rendered_at_millis: number;
161
161
  render_error: string;
162
162
  } | {
163
- status: "scheduled";
164
163
  id: string;
164
+ status: "scheduled";
165
165
  subject: string;
166
166
  created_at_millis: number;
167
- notification_category_id: string | null;
167
+ updated_at_millis: number;
168
+ tsx_source: string;
169
+ theme_id: string | null;
168
170
  to: {
169
- user_id: string;
170
171
  type: "user-primary-email";
171
- } | {
172
172
  user_id: string;
173
- type: "user-custom-emails";
173
+ } | {
174
174
  emails: string[];
175
+ type: "user-custom-emails";
176
+ user_id: string;
175
177
  } | {
176
- type: "custom-emails";
177
178
  emails: string[];
179
+ type: "custom-emails";
178
180
  };
179
- updated_at_millis: number;
180
- tsx_source: string;
181
- theme_id: string | null;
182
181
  variables: Record<string, {} | null>;
183
182
  skip_deliverability_check: boolean;
184
183
  scheduled_at_millis: number;
@@ -205,26 +204,26 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
205
204
  text: string | null;
206
205
  is_transactional: boolean;
207
206
  is_high_priority: boolean;
207
+ notification_category_id: string | null;
208
208
  } | {
209
- status: "queued";
210
209
  id: string;
210
+ status: "queued";
211
211
  subject: string;
212
212
  created_at_millis: number;
213
- notification_category_id: string | null;
213
+ updated_at_millis: number;
214
+ tsx_source: string;
215
+ theme_id: string | null;
214
216
  to: {
215
- user_id: string;
216
217
  type: "user-primary-email";
217
- } | {
218
218
  user_id: string;
219
- type: "user-custom-emails";
219
+ } | {
220
220
  emails: string[];
221
+ type: "user-custom-emails";
222
+ user_id: string;
221
223
  } | {
222
- type: "custom-emails";
223
224
  emails: string[];
225
+ type: "custom-emails";
224
226
  };
225
- updated_at_millis: number;
226
- tsx_source: string;
227
- theme_id: string | null;
228
227
  variables: Record<string, {} | null>;
229
228
  skip_deliverability_check: boolean;
230
229
  scheduled_at_millis: number;
@@ -251,26 +250,26 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
251
250
  text: string | null;
252
251
  is_transactional: boolean;
253
252
  is_high_priority: boolean;
253
+ notification_category_id: string | null;
254
254
  } | {
255
- status: "sending";
256
255
  id: string;
256
+ status: "sending";
257
257
  subject: string;
258
258
  created_at_millis: number;
259
- notification_category_id: string | null;
259
+ updated_at_millis: number;
260
+ tsx_source: string;
261
+ theme_id: string | null;
260
262
  to: {
261
- user_id: string;
262
263
  type: "user-primary-email";
263
- } | {
264
264
  user_id: string;
265
- type: "user-custom-emails";
265
+ } | {
266
266
  emails: string[];
267
+ type: "user-custom-emails";
268
+ user_id: string;
267
269
  } | {
268
- type: "custom-emails";
269
270
  emails: string[];
271
+ type: "custom-emails";
270
272
  };
271
- updated_at_millis: number;
272
- tsx_source: string;
273
- theme_id: string | null;
274
273
  variables: Record<string, {} | null>;
275
274
  skip_deliverability_check: boolean;
276
275
  scheduled_at_millis: number;
@@ -297,27 +296,27 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
297
296
  text: string | null;
298
297
  is_transactional: boolean;
299
298
  is_high_priority: boolean;
299
+ notification_category_id: string | null;
300
300
  started_sending_at_millis: number;
301
301
  } | {
302
- status: "server-error";
303
302
  id: string;
303
+ status: "server-error";
304
304
  subject: string;
305
305
  created_at_millis: number;
306
- notification_category_id: string | null;
306
+ updated_at_millis: number;
307
+ tsx_source: string;
308
+ theme_id: string | null;
307
309
  to: {
308
- user_id: string;
309
310
  type: "user-primary-email";
310
- } | {
311
311
  user_id: string;
312
- type: "user-custom-emails";
312
+ } | {
313
313
  emails: string[];
314
+ type: "user-custom-emails";
315
+ user_id: string;
314
316
  } | {
315
- type: "custom-emails";
316
317
  emails: string[];
318
+ type: "custom-emails";
317
319
  };
318
- updated_at_millis: number;
319
- tsx_source: string;
320
- theme_id: string | null;
321
320
  variables: Record<string, {} | null>;
322
321
  skip_deliverability_check: boolean;
323
322
  scheduled_at_millis: number;
@@ -344,36 +343,37 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
344
343
  text: string | null;
345
344
  is_transactional: boolean;
346
345
  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
  subject?: string | undefined;
352
- notification_category_id?: string | null | undefined;
353
352
  started_rendering_at_millis?: number | undefined;
354
353
  rendered_at_millis?: number | undefined;
355
354
  html?: string | null | undefined;
356
355
  text?: string | null | undefined;
357
356
  is_transactional?: boolean | undefined;
358
357
  is_high_priority?: boolean | undefined;
358
+ notification_category_id?: string | null | undefined;
359
359
  started_sending_at_millis?: number | undefined;
360
- status: "skipped";
361
360
  id: string;
361
+ status: "skipped";
362
362
  created_at_millis: number;
363
+ updated_at_millis: number;
364
+ tsx_source: string;
365
+ theme_id: string | null;
363
366
  to: {
364
- user_id: string;
365
367
  type: "user-primary-email";
366
- } | {
367
368
  user_id: string;
368
- type: "user-custom-emails";
369
+ } | {
369
370
  emails: string[];
371
+ type: "user-custom-emails";
372
+ user_id: string;
370
373
  } | {
371
- type: "custom-emails";
372
374
  emails: string[];
375
+ type: "custom-emails";
373
376
  };
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;
@@ -398,25 +398,24 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
398
398
  skipped_reason: string;
399
399
  skipped_details: Record<string, {} | null>;
400
400
  } | {
401
- status: "bounced";
402
401
  id: string;
402
+ status: "bounced";
403
403
  subject: string;
404
404
  created_at_millis: number;
405
- notification_category_id: string | null;
405
+ updated_at_millis: number;
406
+ tsx_source: string;
407
+ theme_id: string | null;
406
408
  to: {
407
- user_id: string;
408
409
  type: "user-primary-email";
409
- } | {
410
410
  user_id: string;
411
- type: "user-custom-emails";
411
+ } | {
412
412
  emails: string[];
413
+ type: "user-custom-emails";
414
+ user_id: string;
413
415
  } | {
414
- type: "custom-emails";
415
416
  emails: string[];
417
+ type: "custom-emails";
416
418
  };
417
- updated_at_millis: number;
418
- tsx_source: string;
419
- theme_id: string | null;
420
419
  variables: Record<string, {} | null>;
421
420
  skip_deliverability_check: boolean;
422
421
  scheduled_at_millis: number;
@@ -443,28 +442,28 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
443
442
  text: string | null;
444
443
  is_transactional: boolean;
445
444
  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
- status: "delivery-delayed";
450
449
  id: string;
450
+ status: "delivery-delayed";
451
451
  subject: string;
452
452
  created_at_millis: number;
453
- notification_category_id: string | null;
453
+ updated_at_millis: number;
454
+ tsx_source: string;
455
+ theme_id: string | null;
454
456
  to: {
455
- user_id: string;
456
457
  type: "user-primary-email";
457
- } | {
458
458
  user_id: string;
459
- type: "user-custom-emails";
459
+ } | {
460
460
  emails: string[];
461
+ type: "user-custom-emails";
462
+ user_id: string;
461
463
  } | {
462
- type: "custom-emails";
463
464
  emails: string[];
465
+ type: "custom-emails";
464
466
  };
465
- updated_at_millis: number;
466
- tsx_source: string;
467
- theme_id: string | null;
468
467
  variables: Record<string, {} | null>;
469
468
  skip_deliverability_check: boolean;
470
469
  scheduled_at_millis: number;
@@ -491,28 +490,28 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
491
490
  text: string | null;
492
491
  is_transactional: boolean;
493
492
  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
- status: "sent";
498
497
  id: string;
498
+ status: "sent";
499
499
  subject: string;
500
500
  created_at_millis: number;
501
- notification_category_id: string | null;
501
+ updated_at_millis: number;
502
+ tsx_source: string;
503
+ theme_id: string | null;
502
504
  to: {
503
- user_id: string;
504
505
  type: "user-primary-email";
505
- } | {
506
506
  user_id: string;
507
- type: "user-custom-emails";
507
+ } | {
508
508
  emails: string[];
509
+ type: "user-custom-emails";
510
+ user_id: string;
509
511
  } | {
510
- type: "custom-emails";
511
512
  emails: string[];
513
+ type: "custom-emails";
512
514
  };
513
- updated_at_millis: number;
514
- tsx_source: string;
515
- theme_id: string | null;
516
515
  variables: Record<string, {} | null>;
517
516
  skip_deliverability_check: boolean;
518
517
  scheduled_at_millis: number;
@@ -539,29 +538,29 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
539
538
  text: string | null;
540
539
  is_transactional: boolean;
541
540
  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
- status: "opened";
547
546
  id: string;
547
+ status: "opened";
548
548
  subject: string;
549
549
  created_at_millis: number;
550
- notification_category_id: string | null;
550
+ updated_at_millis: number;
551
+ tsx_source: string;
552
+ theme_id: string | null;
551
553
  to: {
552
- user_id: string;
553
554
  type: "user-primary-email";
554
- } | {
555
555
  user_id: string;
556
- type: "user-custom-emails";
556
+ } | {
557
557
  emails: string[];
558
+ type: "user-custom-emails";
559
+ user_id: string;
558
560
  } | {
559
- type: "custom-emails";
560
561
  emails: string[];
562
+ type: "custom-emails";
561
563
  };
562
- updated_at_millis: number;
563
- tsx_source: string;
564
- theme_id: string | null;
565
564
  variables: Record<string, {} | null>;
566
565
  skip_deliverability_check: boolean;
567
566
  scheduled_at_millis: number;
@@ -588,30 +587,30 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
588
587
  text: string | null;
589
588
  is_transactional: boolean;
590
589
  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
- status: "clicked";
597
596
  id: string;
597
+ status: "clicked";
598
598
  subject: string;
599
599
  created_at_millis: number;
600
- notification_category_id: string | null;
600
+ updated_at_millis: number;
601
+ tsx_source: string;
602
+ theme_id: string | null;
601
603
  to: {
602
- user_id: string;
603
604
  type: "user-primary-email";
604
- } | {
605
605
  user_id: string;
606
- type: "user-custom-emails";
606
+ } | {
607
607
  emails: string[];
608
+ type: "user-custom-emails";
609
+ user_id: string;
608
610
  } | {
609
- type: "custom-emails";
610
611
  emails: string[];
612
+ type: "custom-emails";
611
613
  };
612
- updated_at_millis: number;
613
- tsx_source: string;
614
- theme_id: string | null;
615
614
  variables: Record<string, {} | null>;
616
615
  skip_deliverability_check: boolean;
617
616
  scheduled_at_millis: number;
@@ -638,30 +637,30 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
638
637
  text: string | null;
639
638
  is_transactional: boolean;
640
639
  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
- status: "marked-as-spam";
647
646
  id: string;
647
+ status: "marked-as-spam";
648
648
  subject: string;
649
649
  created_at_millis: number;
650
- notification_category_id: string | null;
650
+ updated_at_millis: number;
651
+ tsx_source: string;
652
+ theme_id: string | null;
651
653
  to: {
652
- user_id: string;
653
654
  type: "user-primary-email";
654
- } | {
655
655
  user_id: string;
656
- type: "user-custom-emails";
656
+ } | {
657
657
  emails: string[];
658
+ type: "user-custom-emails";
659
+ user_id: string;
658
660
  } | {
659
- type: "custom-emails";
660
661
  emails: string[];
662
+ type: "custom-emails";
661
663
  };
662
- updated_at_millis: number;
663
- tsx_source: string;
664
- theme_id: string | null;
665
664
  variables: Record<string, {} | null>;
666
665
  skip_deliverability_check: boolean;
667
666
  scheduled_at_millis: number;
@@ -688,6 +687,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
688
687
  text: string | null;
689
688
  is_transactional: boolean;
690
689
  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
- user_id: string;
701
700
  type: "user-primary-email";
702
- } | {
703
701
  user_id: string;
704
- type: "user-custom-emails";
702
+ } | {
705
703
  emails: string[];
704
+ type: "user-custom-emails";
705
+ user_id: string;
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;
@@ -724,23 +724,23 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
724
724
  }, "">;
725
725
  declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
726
726
  serverReadSchema: yup$1.MixedSchema<{
727
- status: "paused";
728
727
  id: string;
728
+ status: "paused";
729
729
  created_at_millis: number;
730
+ updated_at_millis: number;
731
+ tsx_source: string;
732
+ theme_id: string | null;
730
733
  to: {
731
- user_id: string;
732
734
  type: "user-primary-email";
733
- } | {
734
735
  user_id: string;
735
- type: "user-custom-emails";
736
+ } | {
736
737
  emails: string[];
738
+ type: "user-custom-emails";
739
+ user_id: string;
737
740
  } | {
738
- type: "custom-emails";
739
741
  emails: string[];
740
- };
741
- updated_at_millis: number;
742
- tsx_source: string;
743
- theme_id: string | null;
742
+ type: "custom-emails";
743
+ };
744
744
  variables: Record<string, {} | null>;
745
745
  skip_deliverability_check: boolean;
746
746
  scheduled_at_millis: number;
@@ -762,23 +762,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
762
762
  has_rendered: boolean;
763
763
  has_delivered: boolean;
764
764
  } | {
765
- status: "preparing";
766
765
  id: string;
766
+ status: "preparing";
767
767
  created_at_millis: number;
768
+ updated_at_millis: number;
769
+ tsx_source: string;
770
+ theme_id: string | null;
768
771
  to: {
769
- user_id: string;
770
772
  type: "user-primary-email";
771
- } | {
772
773
  user_id: string;
773
- type: "user-custom-emails";
774
+ } | {
774
775
  emails: string[];
776
+ type: "user-custom-emails";
777
+ user_id: string;
775
778
  } | {
776
- type: "custom-emails";
777
779
  emails: string[];
780
+ type: "custom-emails";
778
781
  };
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;
@@ -800,23 +800,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
800
800
  has_rendered: boolean;
801
801
  has_delivered: boolean;
802
802
  } | {
803
- status: "rendering";
804
803
  id: string;
804
+ status: "rendering";
805
805
  created_at_millis: number;
806
+ updated_at_millis: number;
807
+ tsx_source: string;
808
+ theme_id: string | null;
806
809
  to: {
807
- user_id: string;
808
810
  type: "user-primary-email";
809
- } | {
810
811
  user_id: string;
811
- type: "user-custom-emails";
812
+ } | {
812
813
  emails: string[];
814
+ type: "user-custom-emails";
815
+ user_id: string;
813
816
  } | {
814
- type: "custom-emails";
815
817
  emails: string[];
818
+ type: "custom-emails";
816
819
  };
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;
@@ -839,23 +839,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
839
839
  has_delivered: boolean;
840
840
  started_rendering_at_millis: number;
841
841
  } | {
842
- status: "render-error";
843
842
  id: string;
843
+ status: "render-error";
844
844
  created_at_millis: number;
845
+ updated_at_millis: number;
846
+ tsx_source: string;
847
+ theme_id: string | null;
845
848
  to: {
846
- user_id: string;
847
849
  type: "user-primary-email";
848
- } | {
849
850
  user_id: string;
850
- type: "user-custom-emails";
851
+ } | {
851
852
  emails: string[];
853
+ type: "user-custom-emails";
854
+ user_id: string;
852
855
  } | {
853
- type: "custom-emails";
854
856
  emails: string[];
857
+ type: "custom-emails";
855
858
  };
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;
@@ -880,25 +880,24 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
880
880
  rendered_at_millis: number;
881
881
  render_error: string;
882
882
  } | {
883
- status: "scheduled";
884
883
  id: string;
884
+ status: "scheduled";
885
885
  subject: string;
886
886
  created_at_millis: number;
887
- notification_category_id: string | null;
887
+ updated_at_millis: number;
888
+ tsx_source: string;
889
+ theme_id: string | null;
888
890
  to: {
889
- user_id: string;
890
891
  type: "user-primary-email";
891
- } | {
892
892
  user_id: string;
893
- type: "user-custom-emails";
893
+ } | {
894
894
  emails: string[];
895
+ type: "user-custom-emails";
896
+ user_id: string;
895
897
  } | {
896
- type: "custom-emails";
897
898
  emails: string[];
899
+ type: "custom-emails";
898
900
  };
899
- updated_at_millis: number;
900
- tsx_source: string;
901
- theme_id: string | null;
902
901
  variables: Record<string, {} | null>;
903
902
  skip_deliverability_check: boolean;
904
903
  scheduled_at_millis: number;
@@ -925,26 +924,26 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
925
924
  text: string | null;
926
925
  is_transactional: boolean;
927
926
  is_high_priority: boolean;
927
+ notification_category_id: string | null;
928
928
  } | {
929
- status: "queued";
930
929
  id: string;
930
+ status: "queued";
931
931
  subject: string;
932
932
  created_at_millis: number;
933
- notification_category_id: string | null;
933
+ updated_at_millis: number;
934
+ tsx_source: string;
935
+ theme_id: string | null;
934
936
  to: {
935
- user_id: string;
936
937
  type: "user-primary-email";
937
- } | {
938
938
  user_id: string;
939
- type: "user-custom-emails";
939
+ } | {
940
940
  emails: string[];
941
+ type: "user-custom-emails";
942
+ user_id: string;
941
943
  } | {
942
- type: "custom-emails";
943
944
  emails: string[];
945
+ type: "custom-emails";
944
946
  };
945
- updated_at_millis: number;
946
- tsx_source: string;
947
- theme_id: string | null;
948
947
  variables: Record<string, {} | null>;
949
948
  skip_deliverability_check: boolean;
950
949
  scheduled_at_millis: number;
@@ -971,26 +970,26 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
971
970
  text: string | null;
972
971
  is_transactional: boolean;
973
972
  is_high_priority: boolean;
973
+ notification_category_id: string | null;
974
974
  } | {
975
- status: "sending";
976
975
  id: string;
976
+ status: "sending";
977
977
  subject: string;
978
978
  created_at_millis: number;
979
- notification_category_id: string | null;
979
+ updated_at_millis: number;
980
+ tsx_source: string;
981
+ theme_id: string | null;
980
982
  to: {
981
- user_id: string;
982
983
  type: "user-primary-email";
983
- } | {
984
984
  user_id: string;
985
- type: "user-custom-emails";
985
+ } | {
986
986
  emails: string[];
987
+ type: "user-custom-emails";
988
+ user_id: string;
987
989
  } | {
988
- type: "custom-emails";
989
990
  emails: string[];
991
+ type: "custom-emails";
990
992
  };
991
- updated_at_millis: number;
992
- tsx_source: string;
993
- theme_id: string | null;
994
993
  variables: Record<string, {} | null>;
995
994
  skip_deliverability_check: boolean;
996
995
  scheduled_at_millis: number;
@@ -1017,27 +1016,27 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1017
1016
  text: string | null;
1018
1017
  is_transactional: boolean;
1019
1018
  is_high_priority: boolean;
1019
+ notification_category_id: string | null;
1020
1020
  started_sending_at_millis: number;
1021
1021
  } | {
1022
- status: "server-error";
1023
1022
  id: string;
1023
+ status: "server-error";
1024
1024
  subject: string;
1025
1025
  created_at_millis: number;
1026
- notification_category_id: string | null;
1026
+ updated_at_millis: number;
1027
+ tsx_source: string;
1028
+ theme_id: string | null;
1027
1029
  to: {
1028
- user_id: string;
1029
1030
  type: "user-primary-email";
1030
- } | {
1031
1031
  user_id: string;
1032
- type: "user-custom-emails";
1032
+ } | {
1033
1033
  emails: string[];
1034
+ type: "user-custom-emails";
1035
+ user_id: string;
1034
1036
  } | {
1035
- type: "custom-emails";
1036
1037
  emails: string[];
1038
+ type: "custom-emails";
1037
1039
  };
1038
- updated_at_millis: number;
1039
- tsx_source: string;
1040
- theme_id: string | null;
1041
1040
  variables: Record<string, {} | null>;
1042
1041
  skip_deliverability_check: boolean;
1043
1042
  scheduled_at_millis: number;
@@ -1064,36 +1063,37 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1064
1063
  text: string | null;
1065
1064
  is_transactional: boolean;
1066
1065
  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
  subject?: string | undefined;
1072
- notification_category_id?: string | null | undefined;
1073
1072
  started_rendering_at_millis?: number | undefined;
1074
1073
  rendered_at_millis?: number | undefined;
1075
1074
  html?: string | null | undefined;
1076
1075
  text?: string | null | undefined;
1077
1076
  is_transactional?: boolean | undefined;
1078
1077
  is_high_priority?: boolean | undefined;
1078
+ notification_category_id?: string | null | undefined;
1079
1079
  started_sending_at_millis?: number | undefined;
1080
- status: "skipped";
1081
1080
  id: string;
1081
+ status: "skipped";
1082
1082
  created_at_millis: number;
1083
+ updated_at_millis: number;
1084
+ tsx_source: string;
1085
+ theme_id: string | null;
1083
1086
  to: {
1084
- user_id: string;
1085
1087
  type: "user-primary-email";
1086
- } | {
1087
1088
  user_id: string;
1088
- type: "user-custom-emails";
1089
+ } | {
1089
1090
  emails: string[];
1091
+ type: "user-custom-emails";
1092
+ user_id: string;
1090
1093
  } | {
1091
- type: "custom-emails";
1092
1094
  emails: string[];
1095
+ type: "custom-emails";
1093
1096
  };
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;
@@ -1118,25 +1118,24 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1118
1118
  skipped_reason: string;
1119
1119
  skipped_details: Record<string, {} | null>;
1120
1120
  } | {
1121
- status: "bounced";
1122
1121
  id: string;
1122
+ status: "bounced";
1123
1123
  subject: string;
1124
1124
  created_at_millis: number;
1125
- notification_category_id: string | null;
1125
+ updated_at_millis: number;
1126
+ tsx_source: string;
1127
+ theme_id: string | null;
1126
1128
  to: {
1127
- user_id: string;
1128
1129
  type: "user-primary-email";
1129
- } | {
1130
1130
  user_id: string;
1131
- type: "user-custom-emails";
1131
+ } | {
1132
1132
  emails: string[];
1133
+ type: "user-custom-emails";
1134
+ user_id: string;
1133
1135
  } | {
1134
- type: "custom-emails";
1135
1136
  emails: string[];
1137
+ type: "custom-emails";
1136
1138
  };
1137
- updated_at_millis: number;
1138
- tsx_source: string;
1139
- theme_id: string | null;
1140
1139
  variables: Record<string, {} | null>;
1141
1140
  skip_deliverability_check: boolean;
1142
1141
  scheduled_at_millis: number;
@@ -1163,28 +1162,28 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1163
1162
  text: string | null;
1164
1163
  is_transactional: boolean;
1165
1164
  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
- status: "delivery-delayed";
1170
1169
  id: string;
1170
+ status: "delivery-delayed";
1171
1171
  subject: string;
1172
1172
  created_at_millis: number;
1173
- notification_category_id: string | null;
1173
+ updated_at_millis: number;
1174
+ tsx_source: string;
1175
+ theme_id: string | null;
1174
1176
  to: {
1175
- user_id: string;
1176
1177
  type: "user-primary-email";
1177
- } | {
1178
1178
  user_id: string;
1179
- type: "user-custom-emails";
1179
+ } | {
1180
1180
  emails: string[];
1181
+ type: "user-custom-emails";
1182
+ user_id: string;
1181
1183
  } | {
1182
- type: "custom-emails";
1183
1184
  emails: string[];
1185
+ type: "custom-emails";
1184
1186
  };
1185
- updated_at_millis: number;
1186
- tsx_source: string;
1187
- theme_id: string | null;
1188
1187
  variables: Record<string, {} | null>;
1189
1188
  skip_deliverability_check: boolean;
1190
1189
  scheduled_at_millis: number;
@@ -1211,28 +1210,28 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1211
1210
  text: string | null;
1212
1211
  is_transactional: boolean;
1213
1212
  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
- status: "sent";
1218
1217
  id: string;
1218
+ status: "sent";
1219
1219
  subject: string;
1220
1220
  created_at_millis: number;
1221
- notification_category_id: string | null;
1221
+ updated_at_millis: number;
1222
+ tsx_source: string;
1223
+ theme_id: string | null;
1222
1224
  to: {
1223
- user_id: string;
1224
1225
  type: "user-primary-email";
1225
- } | {
1226
1226
  user_id: string;
1227
- type: "user-custom-emails";
1227
+ } | {
1228
1228
  emails: string[];
1229
+ type: "user-custom-emails";
1230
+ user_id: string;
1229
1231
  } | {
1230
- type: "custom-emails";
1231
1232
  emails: string[];
1233
+ type: "custom-emails";
1232
1234
  };
1233
- updated_at_millis: number;
1234
- tsx_source: string;
1235
- theme_id: string | null;
1236
1235
  variables: Record<string, {} | null>;
1237
1236
  skip_deliverability_check: boolean;
1238
1237
  scheduled_at_millis: number;
@@ -1259,29 +1258,29 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1259
1258
  text: string | null;
1260
1259
  is_transactional: boolean;
1261
1260
  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
- status: "opened";
1267
1266
  id: string;
1267
+ status: "opened";
1268
1268
  subject: string;
1269
1269
  created_at_millis: number;
1270
- notification_category_id: string | null;
1270
+ updated_at_millis: number;
1271
+ tsx_source: string;
1272
+ theme_id: string | null;
1271
1273
  to: {
1272
- user_id: string;
1273
1274
  type: "user-primary-email";
1274
- } | {
1275
1275
  user_id: string;
1276
- type: "user-custom-emails";
1276
+ } | {
1277
1277
  emails: string[];
1278
+ type: "user-custom-emails";
1279
+ user_id: string;
1278
1280
  } | {
1279
- type: "custom-emails";
1280
1281
  emails: string[];
1282
+ type: "custom-emails";
1281
1283
  };
1282
- updated_at_millis: number;
1283
- tsx_source: string;
1284
- theme_id: string | null;
1285
1284
  variables: Record<string, {} | null>;
1286
1285
  skip_deliverability_check: boolean;
1287
1286
  scheduled_at_millis: number;
@@ -1308,30 +1307,30 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1308
1307
  text: string | null;
1309
1308
  is_transactional: boolean;
1310
1309
  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
- status: "clicked";
1317
1316
  id: string;
1317
+ status: "clicked";
1318
1318
  subject: string;
1319
1319
  created_at_millis: number;
1320
- notification_category_id: string | null;
1320
+ updated_at_millis: number;
1321
+ tsx_source: string;
1322
+ theme_id: string | null;
1321
1323
  to: {
1322
- user_id: string;
1323
1324
  type: "user-primary-email";
1324
- } | {
1325
1325
  user_id: string;
1326
- type: "user-custom-emails";
1326
+ } | {
1327
1327
  emails: string[];
1328
+ type: "user-custom-emails";
1329
+ user_id: string;
1328
1330
  } | {
1329
- type: "custom-emails";
1330
1331
  emails: string[];
1332
+ type: "custom-emails";
1331
1333
  };
1332
- updated_at_millis: number;
1333
- tsx_source: string;
1334
- theme_id: string | null;
1335
1334
  variables: Record<string, {} | null>;
1336
1335
  skip_deliverability_check: boolean;
1337
1336
  scheduled_at_millis: number;
@@ -1358,30 +1357,30 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1358
1357
  text: string | null;
1359
1358
  is_transactional: boolean;
1360
1359
  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
- status: "marked-as-spam";
1367
1366
  id: string;
1367
+ status: "marked-as-spam";
1368
1368
  subject: string;
1369
1369
  created_at_millis: number;
1370
- notification_category_id: string | null;
1370
+ updated_at_millis: number;
1371
+ tsx_source: string;
1372
+ theme_id: string | null;
1371
1373
  to: {
1372
- user_id: string;
1373
1374
  type: "user-primary-email";
1374
- } | {
1375
1375
  user_id: string;
1376
- type: "user-custom-emails";
1376
+ } | {
1377
1377
  emails: string[];
1378
+ type: "user-custom-emails";
1379
+ user_id: string;
1378
1380
  } | {
1379
- type: "custom-emails";
1380
1381
  emails: string[];
1382
+ type: "custom-emails";
1381
1383
  };
1382
- updated_at_millis: number;
1383
- tsx_source: string;
1384
- theme_id: string | null;
1385
1384
  variables: Record<string, {} | null>;
1386
1385
  skip_deliverability_check: boolean;
1387
1386
  scheduled_at_millis: number;
@@ -1408,6 +1407,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1408
1407
  text: string | null;
1409
1408
  is_transactional: boolean;
1410
1409
  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
- user_id: string;
1421
1420
  type: "user-primary-email";
1422
- } | {
1423
1421
  user_id: string;
1424
- type: "user-custom-emails";
1422
+ } | {
1425
1423
  emails: string[];
1424
+ type: "user-custom-emails";
1425
+ user_id: string;
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;