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