@hexclave/shared 1.0.39 → 1.0.41

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