@hexclave/shared 1.0.11 → 1.0.12

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 (30) hide show
  1. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  2. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -2
  3. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  4. package/dist/config/schema.d.ts +160 -160
  5. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  6. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -2
  7. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  8. package/dist/esm/config/schema.d.ts +160 -160
  9. package/dist/esm/interface/admin-metrics.d.ts +4 -4
  10. package/dist/esm/interface/conversations.d.ts +24 -24
  11. package/dist/esm/interface/crud/current-user.d.ts +11 -11
  12. package/dist/esm/interface/crud/email-outbox.d.ts +288 -288
  13. package/dist/esm/interface/crud/invoices.d.ts +2 -2
  14. package/dist/esm/interface/crud/project-api-keys.d.ts +3 -3
  15. package/dist/esm/interface/crud/projects.d.ts +99 -99
  16. package/dist/esm/interface/crud/team-member-profiles.d.ts +24 -24
  17. package/dist/esm/interface/crud/users.d.ts +4 -4
  18. package/dist/esm/sessions.d.ts +7 -7
  19. package/dist/interface/admin-metrics.d.ts +4 -4
  20. package/dist/interface/conversations.d.ts +24 -24
  21. package/dist/interface/crud/current-user.d.ts +11 -11
  22. package/dist/interface/crud/email-outbox.d.ts +288 -288
  23. package/dist/interface/crud/invoices.d.ts +2 -2
  24. package/dist/interface/crud/project-api-keys.d.ts +3 -3
  25. package/dist/interface/crud/projects.d.ts +99 -99
  26. package/dist/interface/crud/team-member-profiles.d.ts +24 -24
  27. package/dist/interface/crud/users.d.ts +4 -4
  28. package/dist/sessions.d.ts +7 -7
  29. package/package.json +1 -1
  30. package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +1 -2
@@ -6,21 +6,21 @@ import { CrudTypeOf } from "../../crud";
6
6
  declare const emailOutboxReadSchema: yup$1.MixedSchema<{
7
7
  status: "paused";
8
8
  id: string;
9
+ created_at_millis: number;
10
+ updated_at_millis: number;
11
+ tsx_source: string;
12
+ theme_id: string | null;
9
13
  to: {
10
- user_id: string;
11
14
  type: "user-primary-email";
12
- } | {
13
- emails: string[];
14
15
  user_id: string;
15
- type: "user-custom-emails";
16
16
  } | {
17
+ type: "user-custom-emails";
18
+ user_id: string;
17
19
  emails: string[];
20
+ } | {
18
21
  type: "custom-emails";
22
+ emails: string[];
19
23
  };
20
- created_at_millis: number;
21
- updated_at_millis: number;
22
- tsx_source: string;
23
- theme_id: string | null;
24
24
  variables: Record<string, {} | null>;
25
25
  skip_deliverability_check: boolean;
26
26
  scheduled_at_millis: number;
@@ -44,21 +44,21 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
44
44
  } | {
45
45
  status: "preparing";
46
46
  id: string;
47
+ created_at_millis: number;
48
+ updated_at_millis: number;
49
+ tsx_source: string;
50
+ theme_id: string | null;
47
51
  to: {
48
- user_id: string;
49
52
  type: "user-primary-email";
50
- } | {
51
- emails: string[];
52
53
  user_id: string;
53
- type: "user-custom-emails";
54
54
  } | {
55
+ type: "user-custom-emails";
56
+ user_id: string;
55
57
  emails: string[];
58
+ } | {
56
59
  type: "custom-emails";
60
+ emails: string[];
57
61
  };
58
- created_at_millis: number;
59
- updated_at_millis: number;
60
- tsx_source: string;
61
- theme_id: string | null;
62
62
  variables: Record<string, {} | null>;
63
63
  skip_deliverability_check: boolean;
64
64
  scheduled_at_millis: number;
@@ -82,21 +82,21 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
82
82
  } | {
83
83
  status: "rendering";
84
84
  id: string;
85
+ created_at_millis: number;
86
+ updated_at_millis: number;
87
+ tsx_source: string;
88
+ theme_id: string | null;
85
89
  to: {
86
- user_id: string;
87
90
  type: "user-primary-email";
88
- } | {
89
- emails: string[];
90
91
  user_id: string;
91
- type: "user-custom-emails";
92
92
  } | {
93
+ type: "user-custom-emails";
94
+ user_id: string;
93
95
  emails: string[];
96
+ } | {
94
97
  type: "custom-emails";
98
+ emails: string[];
95
99
  };
96
- created_at_millis: number;
97
- updated_at_millis: number;
98
- tsx_source: string;
99
- theme_id: string | null;
100
100
  variables: Record<string, {} | null>;
101
101
  skip_deliverability_check: boolean;
102
102
  scheduled_at_millis: number;
@@ -121,21 +121,21 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
121
121
  } | {
122
122
  status: "render-error";
123
123
  id: string;
124
+ created_at_millis: number;
125
+ updated_at_millis: number;
126
+ tsx_source: string;
127
+ theme_id: string | null;
124
128
  to: {
125
- user_id: string;
126
129
  type: "user-primary-email";
127
- } | {
128
- emails: string[];
129
130
  user_id: string;
130
- type: "user-custom-emails";
131
131
  } | {
132
+ type: "user-custom-emails";
133
+ user_id: string;
132
134
  emails: string[];
135
+ } | {
133
136
  type: "custom-emails";
137
+ emails: string[];
134
138
  };
135
- created_at_millis: number;
136
- updated_at_millis: number;
137
- tsx_source: string;
138
- theme_id: string | null;
139
139
  variables: Record<string, {} | null>;
140
140
  skip_deliverability_check: boolean;
141
141
  scheduled_at_millis: number;
@@ -163,23 +163,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
163
163
  status: "scheduled";
164
164
  id: string;
165
165
  subject: string;
166
+ created_at_millis: number;
167
+ html: string | null;
168
+ text: string | null;
169
+ updated_at_millis: number;
170
+ tsx_source: string;
171
+ theme_id: string | null;
166
172
  to: {
167
- user_id: string;
168
173
  type: "user-primary-email";
169
- } | {
170
- emails: string[];
171
174
  user_id: string;
172
- type: "user-custom-emails";
173
175
  } | {
176
+ type: "user-custom-emails";
177
+ user_id: string;
174
178
  emails: string[];
179
+ } | {
175
180
  type: "custom-emails";
181
+ emails: string[];
176
182
  };
177
- created_at_millis: number;
178
- html: string | null;
179
- text: string | null;
180
- updated_at_millis: number;
181
- tsx_source: string;
182
- theme_id: string | null;
183
183
  variables: Record<string, {} | null>;
184
184
  skip_deliverability_check: boolean;
185
185
  scheduled_at_millis: number;
@@ -209,23 +209,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
209
209
  status: "queued";
210
210
  id: string;
211
211
  subject: string;
212
+ created_at_millis: number;
213
+ html: string | null;
214
+ text: string | null;
215
+ updated_at_millis: number;
216
+ tsx_source: string;
217
+ theme_id: string | null;
212
218
  to: {
213
- user_id: string;
214
219
  type: "user-primary-email";
215
- } | {
216
- emails: string[];
217
220
  user_id: string;
218
- type: "user-custom-emails";
219
221
  } | {
222
+ type: "user-custom-emails";
223
+ user_id: string;
220
224
  emails: string[];
225
+ } | {
221
226
  type: "custom-emails";
227
+ emails: string[];
222
228
  };
223
- created_at_millis: number;
224
- html: string | null;
225
- text: string | null;
226
- updated_at_millis: number;
227
- tsx_source: string;
228
- theme_id: string | null;
229
229
  variables: Record<string, {} | null>;
230
230
  skip_deliverability_check: boolean;
231
231
  scheduled_at_millis: number;
@@ -255,23 +255,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
255
255
  status: "sending";
256
256
  id: string;
257
257
  subject: string;
258
+ created_at_millis: number;
259
+ html: string | null;
260
+ text: string | null;
261
+ updated_at_millis: number;
262
+ tsx_source: string;
263
+ theme_id: string | null;
258
264
  to: {
259
- user_id: string;
260
265
  type: "user-primary-email";
261
- } | {
262
- emails: string[];
263
266
  user_id: string;
264
- type: "user-custom-emails";
265
267
  } | {
268
+ type: "user-custom-emails";
269
+ user_id: string;
266
270
  emails: string[];
271
+ } | {
267
272
  type: "custom-emails";
273
+ emails: string[];
268
274
  };
269
- created_at_millis: number;
270
- html: string | null;
271
- text: string | null;
272
- updated_at_millis: number;
273
- tsx_source: string;
274
- theme_id: string | null;
275
275
  variables: Record<string, {} | null>;
276
276
  skip_deliverability_check: boolean;
277
277
  scheduled_at_millis: number;
@@ -302,23 +302,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
302
302
  status: "server-error";
303
303
  id: string;
304
304
  subject: string;
305
+ created_at_millis: number;
306
+ html: string | null;
307
+ text: string | null;
308
+ updated_at_millis: number;
309
+ tsx_source: string;
310
+ theme_id: string | null;
305
311
  to: {
306
- user_id: string;
307
312
  type: "user-primary-email";
308
- } | {
309
- emails: string[];
310
313
  user_id: string;
311
- type: "user-custom-emails";
312
314
  } | {
315
+ type: "user-custom-emails";
316
+ user_id: string;
313
317
  emails: string[];
318
+ } | {
314
319
  type: "custom-emails";
320
+ emails: string[];
315
321
  };
316
- created_at_millis: number;
317
- html: string | null;
318
- text: string | null;
319
- updated_at_millis: number;
320
- tsx_source: string;
321
- theme_id: string | null;
322
322
  variables: Record<string, {} | null>;
323
323
  skip_deliverability_check: boolean;
324
324
  scheduled_at_millis: number;
@@ -359,21 +359,21 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
359
359
  started_sending_at_millis?: number | undefined;
360
360
  status: "skipped";
361
361
  id: string;
362
+ created_at_millis: number;
363
+ updated_at_millis: number;
364
+ tsx_source: string;
365
+ theme_id: string | null;
362
366
  to: {
363
- user_id: string;
364
367
  type: "user-primary-email";
365
- } | {
366
- emails: string[];
367
368
  user_id: string;
368
- type: "user-custom-emails";
369
369
  } | {
370
+ type: "user-custom-emails";
371
+ user_id: string;
370
372
  emails: string[];
373
+ } | {
371
374
  type: "custom-emails";
375
+ emails: string[];
372
376
  };
373
- created_at_millis: number;
374
- updated_at_millis: number;
375
- tsx_source: string;
376
- theme_id: string | null;
377
377
  variables: Record<string, {} | null>;
378
378
  skip_deliverability_check: boolean;
379
379
  scheduled_at_millis: number;
@@ -401,23 +401,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
401
401
  status: "bounced";
402
402
  id: string;
403
403
  subject: string;
404
+ created_at_millis: number;
405
+ html: string | null;
406
+ text: string | null;
407
+ updated_at_millis: number;
408
+ tsx_source: string;
409
+ theme_id: string | null;
404
410
  to: {
405
- user_id: string;
406
411
  type: "user-primary-email";
407
- } | {
408
- emails: string[];
409
412
  user_id: string;
410
- type: "user-custom-emails";
411
413
  } | {
414
+ type: "user-custom-emails";
415
+ user_id: string;
412
416
  emails: string[];
417
+ } | {
413
418
  type: "custom-emails";
419
+ emails: string[];
414
420
  };
415
- created_at_millis: number;
416
- html: string | null;
417
- text: string | null;
418
- updated_at_millis: number;
419
- tsx_source: string;
420
- theme_id: string | null;
421
421
  variables: Record<string, {} | null>;
422
422
  skip_deliverability_check: boolean;
423
423
  scheduled_at_millis: number;
@@ -449,23 +449,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
449
449
  status: "delivery-delayed";
450
450
  id: string;
451
451
  subject: string;
452
+ created_at_millis: number;
453
+ html: string | null;
454
+ text: string | null;
455
+ updated_at_millis: number;
456
+ tsx_source: string;
457
+ theme_id: string | null;
452
458
  to: {
453
- user_id: string;
454
459
  type: "user-primary-email";
455
- } | {
456
- emails: string[];
457
460
  user_id: string;
458
- type: "user-custom-emails";
459
461
  } | {
462
+ type: "user-custom-emails";
463
+ user_id: string;
460
464
  emails: string[];
465
+ } | {
461
466
  type: "custom-emails";
467
+ emails: string[];
462
468
  };
463
- created_at_millis: number;
464
- html: string | null;
465
- text: string | null;
466
- updated_at_millis: number;
467
- tsx_source: string;
468
- theme_id: string | null;
469
469
  variables: Record<string, {} | null>;
470
470
  skip_deliverability_check: boolean;
471
471
  scheduled_at_millis: number;
@@ -497,23 +497,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
497
497
  status: "sent";
498
498
  id: string;
499
499
  subject: string;
500
+ created_at_millis: number;
501
+ html: string | null;
502
+ text: string | null;
503
+ updated_at_millis: number;
504
+ tsx_source: string;
505
+ theme_id: string | null;
500
506
  to: {
501
- user_id: string;
502
507
  type: "user-primary-email";
503
- } | {
504
- emails: string[];
505
508
  user_id: string;
506
- type: "user-custom-emails";
507
509
  } | {
510
+ type: "user-custom-emails";
511
+ user_id: string;
508
512
  emails: string[];
513
+ } | {
509
514
  type: "custom-emails";
515
+ emails: string[];
510
516
  };
511
- created_at_millis: number;
512
- html: string | null;
513
- text: string | null;
514
- updated_at_millis: number;
515
- tsx_source: string;
516
- theme_id: string | null;
517
517
  variables: Record<string, {} | null>;
518
518
  skip_deliverability_check: boolean;
519
519
  scheduled_at_millis: number;
@@ -546,23 +546,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
546
546
  status: "opened";
547
547
  id: string;
548
548
  subject: string;
549
+ created_at_millis: number;
550
+ html: string | null;
551
+ text: string | null;
552
+ updated_at_millis: number;
553
+ tsx_source: string;
554
+ theme_id: string | null;
549
555
  to: {
550
- user_id: string;
551
556
  type: "user-primary-email";
552
- } | {
553
- emails: string[];
554
557
  user_id: string;
555
- type: "user-custom-emails";
556
558
  } | {
559
+ type: "user-custom-emails";
560
+ user_id: string;
557
561
  emails: string[];
562
+ } | {
558
563
  type: "custom-emails";
564
+ emails: string[];
559
565
  };
560
- created_at_millis: number;
561
- html: string | null;
562
- text: string | null;
563
- updated_at_millis: number;
564
- tsx_source: string;
565
- theme_id: string | null;
566
566
  variables: Record<string, {} | null>;
567
567
  skip_deliverability_check: boolean;
568
568
  scheduled_at_millis: number;
@@ -596,23 +596,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
596
596
  status: "clicked";
597
597
  id: string;
598
598
  subject: string;
599
+ created_at_millis: number;
600
+ html: string | null;
601
+ text: string | null;
602
+ updated_at_millis: number;
603
+ tsx_source: string;
604
+ theme_id: string | null;
599
605
  to: {
600
- user_id: string;
601
606
  type: "user-primary-email";
602
- } | {
603
- emails: string[];
604
607
  user_id: string;
605
- type: "user-custom-emails";
606
608
  } | {
609
+ type: "user-custom-emails";
610
+ user_id: string;
607
611
  emails: string[];
612
+ } | {
608
613
  type: "custom-emails";
614
+ emails: string[];
609
615
  };
610
- created_at_millis: number;
611
- html: string | null;
612
- text: string | null;
613
- updated_at_millis: number;
614
- tsx_source: string;
615
- theme_id: string | null;
616
616
  variables: Record<string, {} | null>;
617
617
  skip_deliverability_check: boolean;
618
618
  scheduled_at_millis: number;
@@ -646,23 +646,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
646
646
  status: "marked-as-spam";
647
647
  id: string;
648
648
  subject: string;
649
+ created_at_millis: number;
650
+ html: string | null;
651
+ text: string | null;
652
+ updated_at_millis: number;
653
+ tsx_source: string;
654
+ theme_id: string | null;
649
655
  to: {
650
- user_id: string;
651
656
  type: "user-primary-email";
652
- } | {
653
- emails: string[];
654
657
  user_id: string;
655
- type: "user-custom-emails";
656
658
  } | {
659
+ type: "user-custom-emails";
660
+ user_id: string;
657
661
  emails: string[];
662
+ } | {
658
663
  type: "custom-emails";
664
+ emails: string[];
659
665
  };
660
- created_at_millis: number;
661
- html: string | null;
662
- text: string | null;
663
- updated_at_millis: number;
664
- tsx_source: string;
665
- theme_id: string | null;
666
666
  variables: Record<string, {} | null>;
667
667
  skip_deliverability_check: boolean;
668
668
  scheduled_at_millis: number;
@@ -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
- emails: string[];
704
701
  user_id: string;
705
- type: "user-custom-emails";
706
702
  } | {
703
+ type: "user-custom-emails";
704
+ user_id: string;
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;
@@ -726,21 +726,21 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
726
726
  serverReadSchema: yup$1.MixedSchema<{
727
727
  status: "paused";
728
728
  id: string;
729
+ created_at_millis: number;
730
+ updated_at_millis: number;
731
+ tsx_source: string;
732
+ theme_id: string | null;
729
733
  to: {
730
- user_id: string;
731
734
  type: "user-primary-email";
732
- } | {
733
- emails: string[];
734
735
  user_id: string;
735
- type: "user-custom-emails";
736
736
  } | {
737
+ type: "user-custom-emails";
738
+ user_id: string;
737
739
  emails: string[];
740
+ } | {
738
741
  type: "custom-emails";
742
+ emails: string[];
739
743
  };
740
- created_at_millis: number;
741
- updated_at_millis: number;
742
- tsx_source: string;
743
- theme_id: string | null;
744
744
  variables: Record<string, {} | null>;
745
745
  skip_deliverability_check: boolean;
746
746
  scheduled_at_millis: number;
@@ -764,21 +764,21 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
764
764
  } | {
765
765
  status: "preparing";
766
766
  id: string;
767
+ created_at_millis: number;
768
+ updated_at_millis: number;
769
+ tsx_source: string;
770
+ theme_id: string | null;
767
771
  to: {
768
- user_id: string;
769
772
  type: "user-primary-email";
770
- } | {
771
- emails: string[];
772
773
  user_id: string;
773
- type: "user-custom-emails";
774
774
  } | {
775
+ type: "user-custom-emails";
776
+ user_id: string;
775
777
  emails: string[];
778
+ } | {
776
779
  type: "custom-emails";
780
+ emails: string[];
777
781
  };
778
- created_at_millis: number;
779
- updated_at_millis: number;
780
- tsx_source: string;
781
- theme_id: string | null;
782
782
  variables: Record<string, {} | null>;
783
783
  skip_deliverability_check: boolean;
784
784
  scheduled_at_millis: number;
@@ -802,21 +802,21 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
802
802
  } | {
803
803
  status: "rendering";
804
804
  id: string;
805
+ created_at_millis: number;
806
+ updated_at_millis: number;
807
+ tsx_source: string;
808
+ theme_id: string | null;
805
809
  to: {
806
- user_id: string;
807
810
  type: "user-primary-email";
808
- } | {
809
- emails: string[];
810
811
  user_id: string;
811
- type: "user-custom-emails";
812
812
  } | {
813
+ type: "user-custom-emails";
814
+ user_id: string;
813
815
  emails: string[];
816
+ } | {
814
817
  type: "custom-emails";
818
+ emails: string[];
815
819
  };
816
- created_at_millis: number;
817
- updated_at_millis: number;
818
- tsx_source: string;
819
- theme_id: string | null;
820
820
  variables: Record<string, {} | null>;
821
821
  skip_deliverability_check: boolean;
822
822
  scheduled_at_millis: number;
@@ -841,21 +841,21 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
841
841
  } | {
842
842
  status: "render-error";
843
843
  id: string;
844
+ created_at_millis: number;
845
+ updated_at_millis: number;
846
+ tsx_source: string;
847
+ theme_id: string | null;
844
848
  to: {
845
- user_id: string;
846
849
  type: "user-primary-email";
847
- } | {
848
- emails: string[];
849
850
  user_id: string;
850
- type: "user-custom-emails";
851
851
  } | {
852
+ type: "user-custom-emails";
853
+ user_id: string;
852
854
  emails: string[];
855
+ } | {
853
856
  type: "custom-emails";
857
+ emails: string[];
854
858
  };
855
- created_at_millis: number;
856
- updated_at_millis: number;
857
- tsx_source: string;
858
- theme_id: string | null;
859
859
  variables: Record<string, {} | null>;
860
860
  skip_deliverability_check: boolean;
861
861
  scheduled_at_millis: number;
@@ -883,23 +883,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
883
883
  status: "scheduled";
884
884
  id: string;
885
885
  subject: string;
886
+ created_at_millis: number;
887
+ html: string | null;
888
+ text: string | null;
889
+ updated_at_millis: number;
890
+ tsx_source: string;
891
+ theme_id: string | null;
886
892
  to: {
887
- user_id: string;
888
893
  type: "user-primary-email";
889
- } | {
890
- emails: string[];
891
894
  user_id: string;
892
- type: "user-custom-emails";
893
895
  } | {
896
+ type: "user-custom-emails";
897
+ user_id: string;
894
898
  emails: string[];
899
+ } | {
895
900
  type: "custom-emails";
901
+ emails: string[];
896
902
  };
897
- created_at_millis: number;
898
- html: string | null;
899
- text: string | null;
900
- updated_at_millis: number;
901
- tsx_source: string;
902
- theme_id: string | null;
903
903
  variables: Record<string, {} | null>;
904
904
  skip_deliverability_check: boolean;
905
905
  scheduled_at_millis: number;
@@ -929,23 +929,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
929
929
  status: "queued";
930
930
  id: string;
931
931
  subject: string;
932
+ created_at_millis: number;
933
+ html: string | null;
934
+ text: string | null;
935
+ updated_at_millis: number;
936
+ tsx_source: string;
937
+ theme_id: string | null;
932
938
  to: {
933
- user_id: string;
934
939
  type: "user-primary-email";
935
- } | {
936
- emails: string[];
937
940
  user_id: string;
938
- type: "user-custom-emails";
939
941
  } | {
942
+ type: "user-custom-emails";
943
+ user_id: string;
940
944
  emails: string[];
945
+ } | {
941
946
  type: "custom-emails";
947
+ emails: string[];
942
948
  };
943
- created_at_millis: number;
944
- html: string | null;
945
- text: string | null;
946
- updated_at_millis: number;
947
- tsx_source: string;
948
- theme_id: string | null;
949
949
  variables: Record<string, {} | null>;
950
950
  skip_deliverability_check: boolean;
951
951
  scheduled_at_millis: number;
@@ -975,23 +975,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
975
975
  status: "sending";
976
976
  id: string;
977
977
  subject: string;
978
+ created_at_millis: number;
979
+ html: string | null;
980
+ text: string | null;
981
+ updated_at_millis: number;
982
+ tsx_source: string;
983
+ theme_id: string | null;
978
984
  to: {
979
- user_id: string;
980
985
  type: "user-primary-email";
981
- } | {
982
- emails: string[];
983
986
  user_id: string;
984
- type: "user-custom-emails";
985
987
  } | {
988
+ type: "user-custom-emails";
989
+ user_id: string;
986
990
  emails: string[];
991
+ } | {
987
992
  type: "custom-emails";
993
+ emails: string[];
988
994
  };
989
- created_at_millis: number;
990
- html: string | null;
991
- text: string | null;
992
- updated_at_millis: number;
993
- tsx_source: string;
994
- theme_id: string | null;
995
995
  variables: Record<string, {} | null>;
996
996
  skip_deliverability_check: boolean;
997
997
  scheduled_at_millis: number;
@@ -1022,23 +1022,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1022
1022
  status: "server-error";
1023
1023
  id: string;
1024
1024
  subject: string;
1025
+ created_at_millis: number;
1026
+ html: string | null;
1027
+ text: string | null;
1028
+ updated_at_millis: number;
1029
+ tsx_source: string;
1030
+ theme_id: string | null;
1025
1031
  to: {
1026
- user_id: string;
1027
1032
  type: "user-primary-email";
1028
- } | {
1029
- emails: string[];
1030
1033
  user_id: string;
1031
- type: "user-custom-emails";
1032
1034
  } | {
1035
+ type: "user-custom-emails";
1036
+ user_id: string;
1033
1037
  emails: string[];
1038
+ } | {
1034
1039
  type: "custom-emails";
1040
+ emails: string[];
1035
1041
  };
1036
- created_at_millis: number;
1037
- html: string | null;
1038
- text: string | null;
1039
- updated_at_millis: number;
1040
- tsx_source: string;
1041
- theme_id: string | null;
1042
1042
  variables: Record<string, {} | null>;
1043
1043
  skip_deliverability_check: boolean;
1044
1044
  scheduled_at_millis: number;
@@ -1079,21 +1079,21 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1079
1079
  started_sending_at_millis?: number | undefined;
1080
1080
  status: "skipped";
1081
1081
  id: string;
1082
+ created_at_millis: number;
1083
+ updated_at_millis: number;
1084
+ tsx_source: string;
1085
+ theme_id: string | null;
1082
1086
  to: {
1083
- user_id: string;
1084
1087
  type: "user-primary-email";
1085
- } | {
1086
- emails: string[];
1087
1088
  user_id: string;
1088
- type: "user-custom-emails";
1089
1089
  } | {
1090
+ type: "user-custom-emails";
1091
+ user_id: string;
1090
1092
  emails: string[];
1093
+ } | {
1091
1094
  type: "custom-emails";
1095
+ emails: string[];
1092
1096
  };
1093
- created_at_millis: number;
1094
- updated_at_millis: number;
1095
- tsx_source: string;
1096
- theme_id: string | null;
1097
1097
  variables: Record<string, {} | null>;
1098
1098
  skip_deliverability_check: boolean;
1099
1099
  scheduled_at_millis: number;
@@ -1121,23 +1121,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1121
1121
  status: "bounced";
1122
1122
  id: string;
1123
1123
  subject: string;
1124
+ created_at_millis: number;
1125
+ html: string | null;
1126
+ text: string | null;
1127
+ updated_at_millis: number;
1128
+ tsx_source: string;
1129
+ theme_id: string | null;
1124
1130
  to: {
1125
- user_id: string;
1126
1131
  type: "user-primary-email";
1127
- } | {
1128
- emails: string[];
1129
1132
  user_id: string;
1130
- type: "user-custom-emails";
1131
1133
  } | {
1134
+ type: "user-custom-emails";
1135
+ user_id: string;
1132
1136
  emails: string[];
1137
+ } | {
1133
1138
  type: "custom-emails";
1139
+ emails: string[];
1134
1140
  };
1135
- created_at_millis: number;
1136
- html: string | null;
1137
- text: string | null;
1138
- updated_at_millis: number;
1139
- tsx_source: string;
1140
- theme_id: string | null;
1141
1141
  variables: Record<string, {} | null>;
1142
1142
  skip_deliverability_check: boolean;
1143
1143
  scheduled_at_millis: number;
@@ -1169,23 +1169,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1169
1169
  status: "delivery-delayed";
1170
1170
  id: string;
1171
1171
  subject: string;
1172
+ created_at_millis: number;
1173
+ html: string | null;
1174
+ text: string | null;
1175
+ updated_at_millis: number;
1176
+ tsx_source: string;
1177
+ theme_id: string | null;
1172
1178
  to: {
1173
- user_id: string;
1174
1179
  type: "user-primary-email";
1175
- } | {
1176
- emails: string[];
1177
1180
  user_id: string;
1178
- type: "user-custom-emails";
1179
1181
  } | {
1182
+ type: "user-custom-emails";
1183
+ user_id: string;
1180
1184
  emails: string[];
1185
+ } | {
1181
1186
  type: "custom-emails";
1187
+ emails: string[];
1182
1188
  };
1183
- created_at_millis: number;
1184
- html: string | null;
1185
- text: string | null;
1186
- updated_at_millis: number;
1187
- tsx_source: string;
1188
- theme_id: string | null;
1189
1189
  variables: Record<string, {} | null>;
1190
1190
  skip_deliverability_check: boolean;
1191
1191
  scheduled_at_millis: number;
@@ -1217,23 +1217,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1217
1217
  status: "sent";
1218
1218
  id: string;
1219
1219
  subject: string;
1220
+ created_at_millis: number;
1221
+ html: string | null;
1222
+ text: string | null;
1223
+ updated_at_millis: number;
1224
+ tsx_source: string;
1225
+ theme_id: string | null;
1220
1226
  to: {
1221
- user_id: string;
1222
1227
  type: "user-primary-email";
1223
- } | {
1224
- emails: string[];
1225
1228
  user_id: string;
1226
- type: "user-custom-emails";
1227
1229
  } | {
1230
+ type: "user-custom-emails";
1231
+ user_id: string;
1228
1232
  emails: string[];
1233
+ } | {
1229
1234
  type: "custom-emails";
1235
+ emails: string[];
1230
1236
  };
1231
- created_at_millis: number;
1232
- html: string | null;
1233
- text: string | null;
1234
- updated_at_millis: number;
1235
- tsx_source: string;
1236
- theme_id: string | null;
1237
1237
  variables: Record<string, {} | null>;
1238
1238
  skip_deliverability_check: boolean;
1239
1239
  scheduled_at_millis: number;
@@ -1266,23 +1266,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1266
1266
  status: "opened";
1267
1267
  id: string;
1268
1268
  subject: string;
1269
+ created_at_millis: number;
1270
+ html: string | null;
1271
+ text: string | null;
1272
+ updated_at_millis: number;
1273
+ tsx_source: string;
1274
+ theme_id: string | null;
1269
1275
  to: {
1270
- user_id: string;
1271
1276
  type: "user-primary-email";
1272
- } | {
1273
- emails: string[];
1274
1277
  user_id: string;
1275
- type: "user-custom-emails";
1276
1278
  } | {
1279
+ type: "user-custom-emails";
1280
+ user_id: string;
1277
1281
  emails: string[];
1282
+ } | {
1278
1283
  type: "custom-emails";
1284
+ emails: string[];
1279
1285
  };
1280
- created_at_millis: number;
1281
- html: string | null;
1282
- text: string | null;
1283
- updated_at_millis: number;
1284
- tsx_source: string;
1285
- theme_id: string | null;
1286
1286
  variables: Record<string, {} | null>;
1287
1287
  skip_deliverability_check: boolean;
1288
1288
  scheduled_at_millis: number;
@@ -1316,23 +1316,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1316
1316
  status: "clicked";
1317
1317
  id: string;
1318
1318
  subject: string;
1319
+ created_at_millis: number;
1320
+ html: string | null;
1321
+ text: string | null;
1322
+ updated_at_millis: number;
1323
+ tsx_source: string;
1324
+ theme_id: string | null;
1319
1325
  to: {
1320
- user_id: string;
1321
1326
  type: "user-primary-email";
1322
- } | {
1323
- emails: string[];
1324
1327
  user_id: string;
1325
- type: "user-custom-emails";
1326
1328
  } | {
1329
+ type: "user-custom-emails";
1330
+ user_id: string;
1327
1331
  emails: string[];
1332
+ } | {
1328
1333
  type: "custom-emails";
1334
+ emails: string[];
1329
1335
  };
1330
- created_at_millis: number;
1331
- html: string | null;
1332
- text: string | null;
1333
- updated_at_millis: number;
1334
- tsx_source: string;
1335
- theme_id: string | null;
1336
1336
  variables: Record<string, {} | null>;
1337
1337
  skip_deliverability_check: boolean;
1338
1338
  scheduled_at_millis: number;
@@ -1366,23 +1366,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1366
1366
  status: "marked-as-spam";
1367
1367
  id: string;
1368
1368
  subject: string;
1369
+ created_at_millis: number;
1370
+ html: string | null;
1371
+ text: string | null;
1372
+ updated_at_millis: number;
1373
+ tsx_source: string;
1374
+ theme_id: string | null;
1369
1375
  to: {
1370
- user_id: string;
1371
1376
  type: "user-primary-email";
1372
- } | {
1373
- emails: string[];
1374
1377
  user_id: string;
1375
- type: "user-custom-emails";
1376
1378
  } | {
1379
+ type: "user-custom-emails";
1380
+ user_id: string;
1377
1381
  emails: string[];
1382
+ } | {
1378
1383
  type: "custom-emails";
1384
+ emails: string[];
1379
1385
  };
1380
- created_at_millis: number;
1381
- html: string | null;
1382
- text: string | null;
1383
- updated_at_millis: number;
1384
- tsx_source: string;
1385
- theme_id: string | null;
1386
1386
  variables: Record<string, {} | null>;
1387
1387
  skip_deliverability_check: boolean;
1388
1388
  scheduled_at_millis: number;
@@ -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
- emails: string[];
1424
1421
  user_id: string;
1425
- type: "user-custom-emails";
1426
1422
  } | {
1423
+ type: "user-custom-emails";
1424
+ user_id: string;
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;