@hexclave/shared 1.0.35 → 1.0.37

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