@hexclave/shared 1.0.26 → 1.0.27

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 +167 -167
  2. package/dist/esm/config/schema.d.ts +167 -167
  3. package/dist/esm/interface/admin-metrics.d.ts +16 -16
  4. package/dist/esm/interface/conversations.d.ts +36 -36
  5. package/dist/esm/interface/crud/current-user.d.ts +9 -9
  6. package/dist/esm/interface/crud/email-outbox.d.ts +226 -226
  7. package/dist/esm/interface/crud/invoices.d.ts +2 -2
  8. package/dist/esm/interface/crud/products.d.ts +5 -5
  9. package/dist/esm/interface/crud/project-api-keys.d.ts +3 -3
  10. package/dist/esm/interface/crud/projects.d.ts +50 -50
  11. package/dist/esm/interface/crud/team-member-profiles.d.ts +22 -22
  12. package/dist/esm/interface/crud/transactions.d.ts +2 -2
  13. package/dist/esm/interface/crud/users.d.ts +18 -18
  14. package/dist/esm/interface/webhooks.d.ts +4 -4
  15. package/dist/esm/schema-fields.d.ts +1 -1
  16. package/dist/esm/sessions.d.ts +3 -3
  17. package/dist/interface/admin-metrics.d.ts +16 -16
  18. package/dist/interface/conversations.d.ts +36 -36
  19. package/dist/interface/crud/current-user.d.ts +9 -9
  20. package/dist/interface/crud/email-outbox.d.ts +226 -226
  21. package/dist/interface/crud/invoices.d.ts +2 -2
  22. package/dist/interface/crud/products.d.ts +5 -5
  23. package/dist/interface/crud/project-api-keys.d.ts +3 -3
  24. package/dist/interface/crud/projects.d.ts +50 -50
  25. package/dist/interface/crud/team-member-profiles.d.ts +22 -22
  26. package/dist/interface/crud/transactions.d.ts +2 -2
  27. package/dist/interface/crud/users.d.ts +18 -18
  28. package/dist/interface/webhooks.d.ts +4 -4
  29. package/dist/schema-fields.d.ts +1 -1
  30. package/dist/sessions.d.ts +3 -3
  31. package/package.json +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;
13
10
  to: {
14
- user_id: string;
15
11
  type: "user-primary-email";
16
- } | {
17
12
  user_id: string;
13
+ } | {
18
14
  type: "user-custom-emails";
15
+ user_id: string;
19
16
  emails: string[];
20
17
  } | {
21
18
  type: "custom-emails";
22
19
  emails: string[];
23
20
  };
21
+ updated_at_millis: number;
22
+ tsx_source: string;
23
+ theme_id: string | null;
24
24
  variables: Record<string, {} | null>;
25
25
  skip_deliverability_check: boolean;
26
26
  scheduled_at_millis: number;
@@ -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;
51
48
  to: {
52
- user_id: string;
53
49
  type: "user-primary-email";
54
- } | {
55
50
  user_id: string;
51
+ } | {
56
52
  type: "user-custom-emails";
53
+ user_id: string;
57
54
  emails: string[];
58
55
  } | {
59
56
  type: "custom-emails";
60
57
  emails: string[];
61
58
  };
59
+ updated_at_millis: number;
60
+ tsx_source: string;
61
+ theme_id: string | null;
62
62
  variables: Record<string, {} | null>;
63
63
  skip_deliverability_check: boolean;
64
64
  scheduled_at_millis: number;
@@ -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;
89
86
  to: {
90
- user_id: string;
91
87
  type: "user-primary-email";
92
- } | {
93
88
  user_id: string;
89
+ } | {
94
90
  type: "user-custom-emails";
91
+ user_id: string;
95
92
  emails: string[];
96
93
  } | {
97
94
  type: "custom-emails";
98
95
  emails: string[];
99
96
  };
97
+ updated_at_millis: number;
98
+ tsx_source: string;
99
+ theme_id: string | null;
100
100
  variables: Record<string, {} | null>;
101
101
  skip_deliverability_check: boolean;
102
102
  scheduled_at_millis: number;
@@ -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;
128
125
  to: {
129
- user_id: string;
130
126
  type: "user-primary-email";
131
- } | {
132
127
  user_id: string;
128
+ } | {
133
129
  type: "user-custom-emails";
130
+ user_id: string;
134
131
  emails: string[];
135
132
  } | {
136
133
  type: "custom-emails";
137
134
  emails: string[];
138
135
  };
136
+ updated_at_millis: number;
137
+ tsx_source: string;
138
+ theme_id: string | null;
139
139
  variables: Record<string, {} | null>;
140
140
  skip_deliverability_check: boolean;
141
141
  scheduled_at_millis: number;
@@ -160,25 +160,26 @@ 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
+ subject: string;
166
+ created_at_millis: number;
165
167
  html: string | null;
166
168
  text: string | null;
167
- created_at_millis: number;
168
- updated_at_millis: number;
169
- tsx_source: string;
170
- theme_id: string | null;
171
169
  to: {
172
- user_id: string;
173
170
  type: "user-primary-email";
174
- } | {
175
171
  user_id: string;
172
+ } | {
176
173
  type: "user-custom-emails";
174
+ user_id: string;
177
175
  emails: string[];
178
176
  } | {
179
177
  type: "custom-emails";
180
178
  emails: string[];
181
179
  };
180
+ updated_at_millis: number;
181
+ tsx_source: string;
182
+ theme_id: string | null;
182
183
  variables: Record<string, {} | null>;
183
184
  skip_deliverability_check: boolean;
184
185
  scheduled_at_millis: number;
@@ -201,30 +202,30 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
201
202
  has_delivered: boolean;
202
203
  started_rendering_at_millis: number;
203
204
  rendered_at_millis: number;
204
- subject: string;
205
205
  is_transactional: boolean;
206
206
  is_high_priority: boolean;
207
207
  notification_category_id: string | null;
208
208
  } | {
209
- status: "queued";
210
209
  id: string;
210
+ status: "queued";
211
+ subject: string;
212
+ created_at_millis: number;
211
213
  html: string | null;
212
214
  text: string | null;
213
- created_at_millis: number;
214
- updated_at_millis: number;
215
- tsx_source: string;
216
- theme_id: string | null;
217
215
  to: {
218
- user_id: string;
219
216
  type: "user-primary-email";
220
- } | {
221
217
  user_id: string;
218
+ } | {
222
219
  type: "user-custom-emails";
220
+ user_id: string;
223
221
  emails: string[];
224
222
  } | {
225
223
  type: "custom-emails";
226
224
  emails: string[];
227
225
  };
226
+ updated_at_millis: number;
227
+ tsx_source: string;
228
+ theme_id: string | null;
228
229
  variables: Record<string, {} | null>;
229
230
  skip_deliverability_check: boolean;
230
231
  scheduled_at_millis: number;
@@ -247,30 +248,30 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
247
248
  has_delivered: boolean;
248
249
  started_rendering_at_millis: number;
249
250
  rendered_at_millis: number;
250
- subject: string;
251
251
  is_transactional: boolean;
252
252
  is_high_priority: boolean;
253
253
  notification_category_id: string | null;
254
254
  } | {
255
- status: "sending";
256
255
  id: string;
256
+ status: "sending";
257
+ subject: string;
258
+ created_at_millis: number;
257
259
  html: string | null;
258
260
  text: string | null;
259
- created_at_millis: number;
260
- updated_at_millis: number;
261
- tsx_source: string;
262
- theme_id: string | null;
263
261
  to: {
264
- user_id: string;
265
262
  type: "user-primary-email";
266
- } | {
267
263
  user_id: string;
264
+ } | {
268
265
  type: "user-custom-emails";
266
+ user_id: string;
269
267
  emails: string[];
270
268
  } | {
271
269
  type: "custom-emails";
272
270
  emails: string[];
273
271
  };
272
+ updated_at_millis: number;
273
+ tsx_source: string;
274
+ theme_id: string | null;
274
275
  variables: Record<string, {} | null>;
275
276
  skip_deliverability_check: boolean;
276
277
  scheduled_at_millis: number;
@@ -293,31 +294,31 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
293
294
  has_delivered: boolean;
294
295
  started_rendering_at_millis: number;
295
296
  rendered_at_millis: number;
296
- subject: string;
297
297
  is_transactional: boolean;
298
298
  is_high_priority: boolean;
299
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
+ subject: string;
305
+ created_at_millis: number;
304
306
  html: string | null;
305
307
  text: string | null;
306
- created_at_millis: number;
307
- updated_at_millis: number;
308
- tsx_source: string;
309
- theme_id: string | null;
310
308
  to: {
311
- user_id: string;
312
309
  type: "user-primary-email";
313
- } | {
314
310
  user_id: string;
311
+ } | {
315
312
  type: "user-custom-emails";
313
+ user_id: string;
316
314
  emails: string[];
317
315
  } | {
318
316
  type: "custom-emails";
319
317
  emails: string[];
320
318
  };
319
+ updated_at_millis: number;
320
+ tsx_source: string;
321
+ theme_id: string | null;
321
322
  variables: Record<string, {} | null>;
322
323
  skip_deliverability_check: boolean;
323
324
  scheduled_at_millis: number;
@@ -340,7 +341,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
340
341
  has_delivered: boolean;
341
342
  started_rendering_at_millis: number;
342
343
  rendered_at_millis: number;
343
- subject: string;
344
344
  is_transactional: boolean;
345
345
  is_high_priority: boolean;
346
346
  notification_category_id: string | null;
@@ -348,32 +348,32 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
348
348
  error_at_millis: number;
349
349
  server_error: string;
350
350
  } | {
351
+ subject?: string | undefined;
351
352
  html?: string | null | undefined;
352
353
  text?: string | null | undefined;
353
354
  started_rendering_at_millis?: number | undefined;
354
355
  rendered_at_millis?: number | undefined;
355
- subject?: string | undefined;
356
356
  is_transactional?: boolean | undefined;
357
357
  is_high_priority?: boolean | undefined;
358
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;
366
363
  to: {
367
- user_id: string;
368
364
  type: "user-primary-email";
369
- } | {
370
365
  user_id: string;
366
+ } | {
371
367
  type: "user-custom-emails";
368
+ user_id: string;
372
369
  emails: string[];
373
370
  } | {
374
371
  type: "custom-emails";
375
372
  emails: string[];
376
373
  };
374
+ updated_at_millis: number;
375
+ tsx_source: string;
376
+ theme_id: string | null;
377
377
  variables: Record<string, {} | null>;
378
378
  skip_deliverability_check: boolean;
379
379
  scheduled_at_millis: number;
@@ -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
- status: "bounced";
402
401
  id: string;
402
+ status: "bounced";
403
+ subject: string;
404
+ created_at_millis: number;
403
405
  html: string | null;
404
406
  text: string | null;
405
- created_at_millis: number;
406
- updated_at_millis: number;
407
- tsx_source: string;
408
- theme_id: string | null;
409
407
  to: {
410
- user_id: string;
411
408
  type: "user-primary-email";
412
- } | {
413
409
  user_id: string;
410
+ } | {
414
411
  type: "user-custom-emails";
412
+ user_id: string;
415
413
  emails: string[];
416
414
  } | {
417
415
  type: "custom-emails";
418
416
  emails: string[];
419
417
  };
418
+ updated_at_millis: number;
419
+ tsx_source: string;
420
+ theme_id: string | null;
420
421
  variables: Record<string, {} | null>;
421
422
  skip_deliverability_check: boolean;
422
423
  scheduled_at_millis: number;
@@ -439,32 +440,32 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
439
440
  has_delivered: boolean;
440
441
  started_rendering_at_millis: number;
441
442
  rendered_at_millis: number;
442
- subject: string;
443
443
  is_transactional: boolean;
444
444
  is_high_priority: boolean;
445
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
+ subject: string;
452
+ created_at_millis: number;
451
453
  html: string | null;
452
454
  text: string | null;
453
- created_at_millis: number;
454
- updated_at_millis: number;
455
- tsx_source: string;
456
- theme_id: string | null;
457
455
  to: {
458
- user_id: string;
459
456
  type: "user-primary-email";
460
- } | {
461
457
  user_id: string;
458
+ } | {
462
459
  type: "user-custom-emails";
460
+ user_id: string;
463
461
  emails: string[];
464
462
  } | {
465
463
  type: "custom-emails";
466
464
  emails: string[];
467
465
  };
466
+ updated_at_millis: number;
467
+ tsx_source: string;
468
+ theme_id: string | null;
468
469
  variables: Record<string, {} | null>;
469
470
  skip_deliverability_check: boolean;
470
471
  scheduled_at_millis: number;
@@ -487,32 +488,32 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
487
488
  has_delivered: boolean;
488
489
  started_rendering_at_millis: number;
489
490
  rendered_at_millis: number;
490
- subject: string;
491
491
  is_transactional: boolean;
492
492
  is_high_priority: boolean;
493
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
+ subject: string;
500
+ created_at_millis: number;
499
501
  html: string | null;
500
502
  text: string | null;
501
- created_at_millis: number;
502
- updated_at_millis: number;
503
- tsx_source: string;
504
- theme_id: string | null;
505
503
  to: {
506
- user_id: string;
507
504
  type: "user-primary-email";
508
- } | {
509
505
  user_id: string;
506
+ } | {
510
507
  type: "user-custom-emails";
508
+ user_id: string;
511
509
  emails: string[];
512
510
  } | {
513
511
  type: "custom-emails";
514
512
  emails: string[];
515
513
  };
514
+ updated_at_millis: number;
515
+ tsx_source: string;
516
+ theme_id: string | null;
516
517
  variables: Record<string, {} | null>;
517
518
  skip_deliverability_check: boolean;
518
519
  scheduled_at_millis: number;
@@ -535,7 +536,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
535
536
  has_delivered: boolean;
536
537
  started_rendering_at_millis: number;
537
538
  rendered_at_millis: number;
538
- subject: string;
539
539
  is_transactional: boolean;
540
540
  is_high_priority: boolean;
541
541
  notification_category_id: string | null;
@@ -543,25 +543,26 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
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
+ subject: string;
549
+ created_at_millis: number;
548
550
  html: string | null;
549
551
  text: string | null;
550
- created_at_millis: number;
551
- updated_at_millis: number;
552
- tsx_source: string;
553
- theme_id: string | null;
554
552
  to: {
555
- user_id: string;
556
553
  type: "user-primary-email";
557
- } | {
558
554
  user_id: string;
555
+ } | {
559
556
  type: "user-custom-emails";
557
+ user_id: string;
560
558
  emails: string[];
561
559
  } | {
562
560
  type: "custom-emails";
563
561
  emails: string[];
564
562
  };
563
+ updated_at_millis: number;
564
+ tsx_source: string;
565
+ theme_id: string | null;
565
566
  variables: Record<string, {} | null>;
566
567
  skip_deliverability_check: boolean;
567
568
  scheduled_at_millis: number;
@@ -584,7 +585,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
584
585
  has_delivered: boolean;
585
586
  started_rendering_at_millis: number;
586
587
  rendered_at_millis: number;
587
- subject: string;
588
588
  is_transactional: boolean;
589
589
  is_high_priority: boolean;
590
590
  notification_category_id: string | null;
@@ -593,25 +593,26 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
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
+ subject: string;
599
+ created_at_millis: number;
598
600
  html: string | null;
599
601
  text: string | null;
600
- created_at_millis: number;
601
- updated_at_millis: number;
602
- tsx_source: string;
603
- theme_id: string | null;
604
602
  to: {
605
- user_id: string;
606
603
  type: "user-primary-email";
607
- } | {
608
604
  user_id: string;
605
+ } | {
609
606
  type: "user-custom-emails";
607
+ user_id: string;
610
608
  emails: string[];
611
609
  } | {
612
610
  type: "custom-emails";
613
611
  emails: string[];
614
612
  };
613
+ updated_at_millis: number;
614
+ tsx_source: string;
615
+ theme_id: string | null;
615
616
  variables: Record<string, {} | null>;
616
617
  skip_deliverability_check: boolean;
617
618
  scheduled_at_millis: number;
@@ -634,7 +635,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
634
635
  has_delivered: boolean;
635
636
  started_rendering_at_millis: number;
636
637
  rendered_at_millis: number;
637
- subject: string;
638
638
  is_transactional: boolean;
639
639
  is_high_priority: boolean;
640
640
  notification_category_id: string | null;
@@ -643,25 +643,26 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
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
+ subject: string;
649
+ created_at_millis: number;
648
650
  html: string | null;
649
651
  text: string | null;
650
- created_at_millis: number;
651
- updated_at_millis: number;
652
- tsx_source: string;
653
- theme_id: string | null;
654
652
  to: {
655
- user_id: string;
656
653
  type: "user-primary-email";
657
- } | {
658
654
  user_id: string;
655
+ } | {
659
656
  type: "user-custom-emails";
657
+ user_id: string;
660
658
  emails: string[];
661
659
  } | {
662
660
  type: "custom-emails";
663
661
  emails: string[];
664
662
  };
663
+ updated_at_millis: number;
664
+ tsx_source: string;
665
+ theme_id: string | null;
665
666
  variables: Record<string, {} | null>;
666
667
  skip_deliverability_check: boolean;
667
668
  scheduled_at_millis: number;
@@ -684,7 +685,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
684
685
  has_delivered: boolean;
685
686
  started_rendering_at_millis: number;
686
687
  rendered_at_millis: number;
687
- subject: string;
688
688
  is_transactional: boolean;
689
689
  is_high_priority: boolean;
690
690
  notification_category_id: string | null;
@@ -697,11 +697,11 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
697
697
  tsx_source: string | undefined;
698
698
  theme_id: string | null | undefined;
699
699
  to: {
700
- user_id: string;
701
700
  type: "user-primary-email";
702
- } | {
703
701
  user_id: string;
702
+ } | {
704
703
  type: "user-custom-emails";
704
+ user_id: string;
705
705
  emails: string[];
706
706
  } | {
707
707
  type: "custom-emails";
@@ -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;
733
730
  to: {
734
- user_id: string;
735
731
  type: "user-primary-email";
736
- } | {
737
732
  user_id: string;
733
+ } | {
738
734
  type: "user-custom-emails";
735
+ user_id: string;
739
736
  emails: string[];
740
737
  } | {
741
738
  type: "custom-emails";
742
739
  emails: string[];
743
740
  };
741
+ updated_at_millis: number;
742
+ tsx_source: string;
743
+ theme_id: string | null;
744
744
  variables: Record<string, {} | null>;
745
745
  skip_deliverability_check: boolean;
746
746
  scheduled_at_millis: number;
@@ -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;
771
768
  to: {
772
- user_id: string;
773
769
  type: "user-primary-email";
774
- } | {
775
770
  user_id: string;
771
+ } | {
776
772
  type: "user-custom-emails";
773
+ user_id: string;
777
774
  emails: string[];
778
775
  } | {
779
776
  type: "custom-emails";
780
777
  emails: string[];
781
778
  };
779
+ updated_at_millis: number;
780
+ tsx_source: string;
781
+ theme_id: string | null;
782
782
  variables: Record<string, {} | null>;
783
783
  skip_deliverability_check: boolean;
784
784
  scheduled_at_millis: number;
@@ -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;
809
806
  to: {
810
- user_id: string;
811
807
  type: "user-primary-email";
812
- } | {
813
808
  user_id: string;
809
+ } | {
814
810
  type: "user-custom-emails";
811
+ user_id: string;
815
812
  emails: string[];
816
813
  } | {
817
814
  type: "custom-emails";
818
815
  emails: string[];
819
816
  };
817
+ updated_at_millis: number;
818
+ tsx_source: string;
819
+ theme_id: string | null;
820
820
  variables: Record<string, {} | null>;
821
821
  skip_deliverability_check: boolean;
822
822
  scheduled_at_millis: number;
@@ -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;
848
845
  to: {
849
- user_id: string;
850
846
  type: "user-primary-email";
851
- } | {
852
847
  user_id: string;
848
+ } | {
853
849
  type: "user-custom-emails";
850
+ user_id: string;
854
851
  emails: string[];
855
852
  } | {
856
853
  type: "custom-emails";
857
854
  emails: string[];
858
855
  };
856
+ updated_at_millis: number;
857
+ tsx_source: string;
858
+ theme_id: string | null;
859
859
  variables: Record<string, {} | null>;
860
860
  skip_deliverability_check: boolean;
861
861
  scheduled_at_millis: number;
@@ -880,25 +880,26 @@ 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
+ subject: string;
886
+ created_at_millis: number;
885
887
  html: string | null;
886
888
  text: string | null;
887
- created_at_millis: number;
888
- updated_at_millis: number;
889
- tsx_source: string;
890
- theme_id: string | null;
891
889
  to: {
892
- user_id: string;
893
890
  type: "user-primary-email";
894
- } | {
895
891
  user_id: string;
892
+ } | {
896
893
  type: "user-custom-emails";
894
+ user_id: string;
897
895
  emails: string[];
898
896
  } | {
899
897
  type: "custom-emails";
900
898
  emails: string[];
901
899
  };
900
+ updated_at_millis: number;
901
+ tsx_source: string;
902
+ theme_id: string | null;
902
903
  variables: Record<string, {} | null>;
903
904
  skip_deliverability_check: boolean;
904
905
  scheduled_at_millis: number;
@@ -921,30 +922,30 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
921
922
  has_delivered: boolean;
922
923
  started_rendering_at_millis: number;
923
924
  rendered_at_millis: number;
924
- subject: string;
925
925
  is_transactional: boolean;
926
926
  is_high_priority: boolean;
927
927
  notification_category_id: string | null;
928
928
  } | {
929
- status: "queued";
930
929
  id: string;
930
+ status: "queued";
931
+ subject: string;
932
+ created_at_millis: number;
931
933
  html: string | null;
932
934
  text: string | null;
933
- created_at_millis: number;
934
- updated_at_millis: number;
935
- tsx_source: string;
936
- theme_id: string | null;
937
935
  to: {
938
- user_id: string;
939
936
  type: "user-primary-email";
940
- } | {
941
937
  user_id: string;
938
+ } | {
942
939
  type: "user-custom-emails";
940
+ user_id: string;
943
941
  emails: string[];
944
942
  } | {
945
943
  type: "custom-emails";
946
944
  emails: string[];
947
945
  };
946
+ updated_at_millis: number;
947
+ tsx_source: string;
948
+ theme_id: string | null;
948
949
  variables: Record<string, {} | null>;
949
950
  skip_deliverability_check: boolean;
950
951
  scheduled_at_millis: number;
@@ -967,30 +968,30 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
967
968
  has_delivered: boolean;
968
969
  started_rendering_at_millis: number;
969
970
  rendered_at_millis: number;
970
- subject: string;
971
971
  is_transactional: boolean;
972
972
  is_high_priority: boolean;
973
973
  notification_category_id: string | null;
974
974
  } | {
975
- status: "sending";
976
975
  id: string;
976
+ status: "sending";
977
+ subject: string;
978
+ created_at_millis: number;
977
979
  html: string | null;
978
980
  text: string | null;
979
- created_at_millis: number;
980
- updated_at_millis: number;
981
- tsx_source: string;
982
- theme_id: string | null;
983
981
  to: {
984
- user_id: string;
985
982
  type: "user-primary-email";
986
- } | {
987
983
  user_id: string;
984
+ } | {
988
985
  type: "user-custom-emails";
986
+ user_id: string;
989
987
  emails: string[];
990
988
  } | {
991
989
  type: "custom-emails";
992
990
  emails: string[];
993
991
  };
992
+ updated_at_millis: number;
993
+ tsx_source: string;
994
+ theme_id: string | null;
994
995
  variables: Record<string, {} | null>;
995
996
  skip_deliverability_check: boolean;
996
997
  scheduled_at_millis: number;
@@ -1013,31 +1014,31 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1013
1014
  has_delivered: boolean;
1014
1015
  started_rendering_at_millis: number;
1015
1016
  rendered_at_millis: number;
1016
- subject: string;
1017
1017
  is_transactional: boolean;
1018
1018
  is_high_priority: boolean;
1019
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
+ subject: string;
1025
+ created_at_millis: number;
1024
1026
  html: string | null;
1025
1027
  text: string | null;
1026
- created_at_millis: number;
1027
- updated_at_millis: number;
1028
- tsx_source: string;
1029
- theme_id: string | null;
1030
1028
  to: {
1031
- user_id: string;
1032
1029
  type: "user-primary-email";
1033
- } | {
1034
1030
  user_id: string;
1031
+ } | {
1035
1032
  type: "user-custom-emails";
1033
+ user_id: string;
1036
1034
  emails: string[];
1037
1035
  } | {
1038
1036
  type: "custom-emails";
1039
1037
  emails: string[];
1040
1038
  };
1039
+ updated_at_millis: number;
1040
+ tsx_source: string;
1041
+ theme_id: string | null;
1041
1042
  variables: Record<string, {} | null>;
1042
1043
  skip_deliverability_check: boolean;
1043
1044
  scheduled_at_millis: number;
@@ -1060,7 +1061,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1060
1061
  has_delivered: boolean;
1061
1062
  started_rendering_at_millis: number;
1062
1063
  rendered_at_millis: number;
1063
- subject: string;
1064
1064
  is_transactional: boolean;
1065
1065
  is_high_priority: boolean;
1066
1066
  notification_category_id: string | null;
@@ -1068,32 +1068,32 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1068
1068
  error_at_millis: number;
1069
1069
  server_error: string;
1070
1070
  } | {
1071
+ subject?: string | undefined;
1071
1072
  html?: string | null | undefined;
1072
1073
  text?: string | null | undefined;
1073
1074
  started_rendering_at_millis?: number | undefined;
1074
1075
  rendered_at_millis?: number | undefined;
1075
- subject?: string | undefined;
1076
1076
  is_transactional?: boolean | undefined;
1077
1077
  is_high_priority?: boolean | undefined;
1078
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;
1086
1083
  to: {
1087
- user_id: string;
1088
1084
  type: "user-primary-email";
1089
- } | {
1090
1085
  user_id: string;
1086
+ } | {
1091
1087
  type: "user-custom-emails";
1088
+ user_id: string;
1092
1089
  emails: string[];
1093
1090
  } | {
1094
1091
  type: "custom-emails";
1095
1092
  emails: string[];
1096
1093
  };
1094
+ updated_at_millis: number;
1095
+ tsx_source: string;
1096
+ theme_id: string | null;
1097
1097
  variables: Record<string, {} | null>;
1098
1098
  skip_deliverability_check: boolean;
1099
1099
  scheduled_at_millis: number;
@@ -1118,25 +1118,26 @@ 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
+ subject: string;
1124
+ created_at_millis: number;
1123
1125
  html: string | null;
1124
1126
  text: string | null;
1125
- created_at_millis: number;
1126
- updated_at_millis: number;
1127
- tsx_source: string;
1128
- theme_id: string | null;
1129
1127
  to: {
1130
- user_id: string;
1131
1128
  type: "user-primary-email";
1132
- } | {
1133
1129
  user_id: string;
1130
+ } | {
1134
1131
  type: "user-custom-emails";
1132
+ user_id: string;
1135
1133
  emails: string[];
1136
1134
  } | {
1137
1135
  type: "custom-emails";
1138
1136
  emails: string[];
1139
1137
  };
1138
+ updated_at_millis: number;
1139
+ tsx_source: string;
1140
+ theme_id: string | null;
1140
1141
  variables: Record<string, {} | null>;
1141
1142
  skip_deliverability_check: boolean;
1142
1143
  scheduled_at_millis: number;
@@ -1159,32 +1160,32 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1159
1160
  has_delivered: boolean;
1160
1161
  started_rendering_at_millis: number;
1161
1162
  rendered_at_millis: number;
1162
- subject: string;
1163
1163
  is_transactional: boolean;
1164
1164
  is_high_priority: boolean;
1165
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
+ subject: string;
1172
+ created_at_millis: number;
1171
1173
  html: string | null;
1172
1174
  text: string | null;
1173
- created_at_millis: number;
1174
- updated_at_millis: number;
1175
- tsx_source: string;
1176
- theme_id: string | null;
1177
1175
  to: {
1178
- user_id: string;
1179
1176
  type: "user-primary-email";
1180
- } | {
1181
1177
  user_id: string;
1178
+ } | {
1182
1179
  type: "user-custom-emails";
1180
+ user_id: string;
1183
1181
  emails: string[];
1184
1182
  } | {
1185
1183
  type: "custom-emails";
1186
1184
  emails: string[];
1187
1185
  };
1186
+ updated_at_millis: number;
1187
+ tsx_source: string;
1188
+ theme_id: string | null;
1188
1189
  variables: Record<string, {} | null>;
1189
1190
  skip_deliverability_check: boolean;
1190
1191
  scheduled_at_millis: number;
@@ -1207,32 +1208,32 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1207
1208
  has_delivered: boolean;
1208
1209
  started_rendering_at_millis: number;
1209
1210
  rendered_at_millis: number;
1210
- subject: string;
1211
1211
  is_transactional: boolean;
1212
1212
  is_high_priority: boolean;
1213
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
+ subject: string;
1220
+ created_at_millis: number;
1219
1221
  html: string | null;
1220
1222
  text: string | null;
1221
- created_at_millis: number;
1222
- updated_at_millis: number;
1223
- tsx_source: string;
1224
- theme_id: string | null;
1225
1223
  to: {
1226
- user_id: string;
1227
1224
  type: "user-primary-email";
1228
- } | {
1229
1225
  user_id: string;
1226
+ } | {
1230
1227
  type: "user-custom-emails";
1228
+ user_id: string;
1231
1229
  emails: string[];
1232
1230
  } | {
1233
1231
  type: "custom-emails";
1234
1232
  emails: string[];
1235
1233
  };
1234
+ updated_at_millis: number;
1235
+ tsx_source: string;
1236
+ theme_id: string | null;
1236
1237
  variables: Record<string, {} | null>;
1237
1238
  skip_deliverability_check: boolean;
1238
1239
  scheduled_at_millis: number;
@@ -1255,7 +1256,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1255
1256
  has_delivered: boolean;
1256
1257
  started_rendering_at_millis: number;
1257
1258
  rendered_at_millis: number;
1258
- subject: string;
1259
1259
  is_transactional: boolean;
1260
1260
  is_high_priority: boolean;
1261
1261
  notification_category_id: string | null;
@@ -1263,25 +1263,26 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
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
+ subject: string;
1269
+ created_at_millis: number;
1268
1270
  html: string | null;
1269
1271
  text: string | null;
1270
- created_at_millis: number;
1271
- updated_at_millis: number;
1272
- tsx_source: string;
1273
- theme_id: string | null;
1274
1272
  to: {
1275
- user_id: string;
1276
1273
  type: "user-primary-email";
1277
- } | {
1278
1274
  user_id: string;
1275
+ } | {
1279
1276
  type: "user-custom-emails";
1277
+ user_id: string;
1280
1278
  emails: string[];
1281
1279
  } | {
1282
1280
  type: "custom-emails";
1283
1281
  emails: string[];
1284
1282
  };
1283
+ updated_at_millis: number;
1284
+ tsx_source: string;
1285
+ theme_id: string | null;
1285
1286
  variables: Record<string, {} | null>;
1286
1287
  skip_deliverability_check: boolean;
1287
1288
  scheduled_at_millis: number;
@@ -1304,7 +1305,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1304
1305
  has_delivered: boolean;
1305
1306
  started_rendering_at_millis: number;
1306
1307
  rendered_at_millis: number;
1307
- subject: string;
1308
1308
  is_transactional: boolean;
1309
1309
  is_high_priority: boolean;
1310
1310
  notification_category_id: string | null;
@@ -1313,25 +1313,26 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
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
+ subject: string;
1319
+ created_at_millis: number;
1318
1320
  html: string | null;
1319
1321
  text: string | null;
1320
- created_at_millis: number;
1321
- updated_at_millis: number;
1322
- tsx_source: string;
1323
- theme_id: string | null;
1324
1322
  to: {
1325
- user_id: string;
1326
1323
  type: "user-primary-email";
1327
- } | {
1328
1324
  user_id: string;
1325
+ } | {
1329
1326
  type: "user-custom-emails";
1327
+ user_id: string;
1330
1328
  emails: string[];
1331
1329
  } | {
1332
1330
  type: "custom-emails";
1333
1331
  emails: string[];
1334
1332
  };
1333
+ updated_at_millis: number;
1334
+ tsx_source: string;
1335
+ theme_id: string | null;
1335
1336
  variables: Record<string, {} | null>;
1336
1337
  skip_deliverability_check: boolean;
1337
1338
  scheduled_at_millis: number;
@@ -1354,7 +1355,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1354
1355
  has_delivered: boolean;
1355
1356
  started_rendering_at_millis: number;
1356
1357
  rendered_at_millis: number;
1357
- subject: string;
1358
1358
  is_transactional: boolean;
1359
1359
  is_high_priority: boolean;
1360
1360
  notification_category_id: string | null;
@@ -1363,25 +1363,26 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
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
+ subject: string;
1369
+ created_at_millis: number;
1368
1370
  html: string | null;
1369
1371
  text: string | null;
1370
- created_at_millis: number;
1371
- updated_at_millis: number;
1372
- tsx_source: string;
1373
- theme_id: string | null;
1374
1372
  to: {
1375
- user_id: string;
1376
1373
  type: "user-primary-email";
1377
- } | {
1378
1374
  user_id: string;
1375
+ } | {
1379
1376
  type: "user-custom-emails";
1377
+ user_id: string;
1380
1378
  emails: string[];
1381
1379
  } | {
1382
1380
  type: "custom-emails";
1383
1381
  emails: string[];
1384
1382
  };
1383
+ updated_at_millis: number;
1384
+ tsx_source: string;
1385
+ theme_id: string | null;
1385
1386
  variables: Record<string, {} | null>;
1386
1387
  skip_deliverability_check: boolean;
1387
1388
  scheduled_at_millis: number;
@@ -1404,7 +1405,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1404
1405
  has_delivered: boolean;
1405
1406
  started_rendering_at_millis: number;
1406
1407
  rendered_at_millis: number;
1407
- subject: string;
1408
1408
  is_transactional: boolean;
1409
1409
  is_high_priority: boolean;
1410
1410
  notification_category_id: string | null;
@@ -1417,11 +1417,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1417
1417
  tsx_source: string | undefined;
1418
1418
  theme_id: string | null | undefined;
1419
1419
  to: {
1420
- user_id: string;
1421
1420
  type: "user-primary-email";
1422
- } | {
1423
1421
  user_id: string;
1422
+ } | {
1424
1423
  type: "user-custom-emails";
1424
+ user_id: string;
1425
1425
  emails: string[];
1426
1426
  } | {
1427
1427
  type: "custom-emails";