@hexclave/shared 1.0.18 → 1.0.20

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 (88) hide show
  1. package/dist/ai/unified-prompts/reminders.js +10 -7
  2. package/dist/ai/unified-prompts/reminders.js.map +1 -1
  3. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts +2 -1
  4. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  5. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +242 -15
  6. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  7. package/dist/ai/unified-prompts/skill-site-prompt.js +1 -1
  8. package/dist/ai/unified-prompts/skill-site-prompt.js.map +1 -1
  9. package/dist/apps/apps-config.d.ts +7 -3
  10. package/dist/apps/apps-config.d.ts.map +1 -1
  11. package/dist/apps/apps-config.js +12 -4
  12. package/dist/apps/apps-config.js.map +1 -1
  13. package/dist/config/schema-fuzzer.test.js +4 -1
  14. package/dist/config/schema-fuzzer.test.js.map +1 -1
  15. package/dist/config/schema.d.ts +85 -76
  16. package/dist/config/schema.d.ts.map +1 -1
  17. package/dist/config/schema.js +7 -3
  18. package/dist/config/schema.js.map +1 -1
  19. package/dist/esm/ai/unified-prompts/reminders.js +10 -7
  20. package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
  21. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts +2 -1
  22. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  23. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +242 -16
  24. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  25. package/dist/esm/ai/unified-prompts/skill-site-prompt.js +1 -1
  26. package/dist/esm/ai/unified-prompts/skill-site-prompt.js.map +1 -1
  27. package/dist/esm/apps/apps-config.d.ts +7 -3
  28. package/dist/esm/apps/apps-config.d.ts.map +1 -1
  29. package/dist/esm/apps/apps-config.js +12 -5
  30. package/dist/esm/apps/apps-config.js.map +1 -1
  31. package/dist/esm/config/schema-fuzzer.test.js +4 -1
  32. package/dist/esm/config/schema-fuzzer.test.js.map +1 -1
  33. package/dist/esm/config/schema.d.ts +85 -76
  34. package/dist/esm/config/schema.d.ts.map +1 -1
  35. package/dist/esm/config/schema.js +8 -4
  36. package/dist/esm/config/schema.js.map +1 -1
  37. package/dist/esm/interface/admin-metrics.d.ts +5 -5
  38. package/dist/esm/interface/conversations.d.ts +13 -13
  39. package/dist/esm/interface/crud/current-user.d.ts +5 -5
  40. package/dist/esm/interface/crud/email-outbox.d.ts +164 -164
  41. package/dist/esm/interface/crud/products.d.ts +1 -1
  42. package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
  43. package/dist/esm/interface/crud/projects.d.ts +35 -35
  44. package/dist/esm/interface/crud/team-member-profiles.d.ts +12 -12
  45. package/dist/esm/interface/crud/users.d.ts +12 -12
  46. package/dist/esm/interface/page-component-versions.d.ts.map +1 -1
  47. package/dist/esm/interface/page-component-versions.js +20 -4
  48. package/dist/esm/interface/page-component-versions.js.map +1 -1
  49. package/dist/esm/interface/webhooks.d.ts +4 -4
  50. package/dist/esm/schema-fields.d.ts +3 -1
  51. package/dist/esm/schema-fields.d.ts.map +1 -1
  52. package/dist/esm/schema-fields.js +9 -1
  53. package/dist/esm/schema-fields.js.map +1 -1
  54. package/dist/esm/utils/oauth.d.ts +8 -1
  55. package/dist/esm/utils/oauth.d.ts.map +1 -1
  56. package/dist/esm/utils/oauth.js +7 -1
  57. package/dist/esm/utils/oauth.js.map +1 -1
  58. package/dist/interface/admin-metrics.d.ts +5 -5
  59. package/dist/interface/conversations.d.ts +13 -13
  60. package/dist/interface/crud/current-user.d.ts +5 -5
  61. package/dist/interface/crud/email-outbox.d.ts +164 -164
  62. package/dist/interface/crud/products.d.ts +1 -1
  63. package/dist/interface/crud/project-api-keys.d.ts +4 -4
  64. package/dist/interface/crud/projects.d.ts +35 -35
  65. package/dist/interface/crud/team-member-profiles.d.ts +12 -12
  66. package/dist/interface/crud/users.d.ts +12 -12
  67. package/dist/interface/page-component-versions.d.ts.map +1 -1
  68. package/dist/interface/page-component-versions.js +20 -4
  69. package/dist/interface/page-component-versions.js.map +1 -1
  70. package/dist/interface/webhooks.d.ts +4 -4
  71. package/dist/schema-fields.d.ts +3 -1
  72. package/dist/schema-fields.d.ts.map +1 -1
  73. package/dist/schema-fields.js +10 -0
  74. package/dist/schema-fields.js.map +1 -1
  75. package/dist/utils/oauth.d.ts +8 -1
  76. package/dist/utils/oauth.d.ts.map +1 -1
  77. package/dist/utils/oauth.js +7 -0
  78. package/dist/utils/oauth.js.map +1 -1
  79. package/package.json +1 -1
  80. package/src/ai/unified-prompts/reminders.ts +10 -7
  81. package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +248 -15
  82. package/src/ai/unified-prompts/skill-site-prompt.ts +1 -1
  83. package/src/apps/apps-config.ts +13 -2
  84. package/src/config/schema-fuzzer.test.ts +3 -0
  85. package/src/config/schema.ts +9 -4
  86. package/src/interface/page-component-versions.ts +20 -4
  87. package/src/schema-fields.ts +2 -0
  88. package/src/utils/oauth.tsx +8 -0
@@ -6,6 +6,10 @@ 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
14
  user_id: string;
11
15
  type: "user-primary-email";
@@ -17,10 +21,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
17
21
  type: "custom-emails";
18
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,6 +44,10 @@ 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
52
  user_id: string;
49
53
  type: "user-primary-email";
@@ -55,10 +59,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
55
59
  type: "custom-emails";
56
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,6 +82,10 @@ 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
90
  user_id: string;
87
91
  type: "user-primary-email";
@@ -93,10 +97,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
93
97
  type: "custom-emails";
94
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,6 +121,10 @@ 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
129
  user_id: string;
126
130
  type: "user-primary-email";
@@ -132,10 +136,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
132
136
  type: "custom-emails";
133
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,6 +163,12 @@ 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
173
  user_id: string;
168
174
  type: "user-primary-email";
@@ -174,10 +180,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
174
180
  type: "custom-emails";
175
181
  emails: string[];
176
182
  };
177
- created_at_millis: number;
178
- updated_at_millis: number;
179
- tsx_source: string;
180
- theme_id: string | null;
181
183
  variables: Record<string, {} | null>;
182
184
  skip_deliverability_check: boolean;
183
185
  scheduled_at_millis: number;
@@ -200,8 +202,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
200
202
  has_delivered: boolean;
201
203
  started_rendering_at_millis: number;
202
204
  rendered_at_millis: number;
203
- html: string | null;
204
- text: string | null;
205
205
  is_transactional: boolean;
206
206
  is_high_priority: boolean;
207
207
  notification_category_id: string | null;
@@ -209,6 +209,12 @@ 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
219
  user_id: string;
214
220
  type: "user-primary-email";
@@ -220,10 +226,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
220
226
  type: "custom-emails";
221
227
  emails: string[];
222
228
  };
223
- created_at_millis: number;
224
- updated_at_millis: number;
225
- tsx_source: string;
226
- theme_id: string | null;
227
229
  variables: Record<string, {} | null>;
228
230
  skip_deliverability_check: boolean;
229
231
  scheduled_at_millis: number;
@@ -246,8 +248,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
246
248
  has_delivered: boolean;
247
249
  started_rendering_at_millis: number;
248
250
  rendered_at_millis: number;
249
- html: string | null;
250
- text: string | null;
251
251
  is_transactional: boolean;
252
252
  is_high_priority: boolean;
253
253
  notification_category_id: string | null;
@@ -255,6 +255,12 @@ 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
265
  user_id: string;
260
266
  type: "user-primary-email";
@@ -266,10 +272,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
266
272
  type: "custom-emails";
267
273
  emails: string[];
268
274
  };
269
- created_at_millis: number;
270
- updated_at_millis: number;
271
- tsx_source: string;
272
- theme_id: string | null;
273
275
  variables: Record<string, {} | null>;
274
276
  skip_deliverability_check: boolean;
275
277
  scheduled_at_millis: number;
@@ -292,8 +294,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
292
294
  has_delivered: boolean;
293
295
  started_rendering_at_millis: number;
294
296
  rendered_at_millis: number;
295
- html: string | null;
296
- text: string | null;
297
297
  is_transactional: boolean;
298
298
  is_high_priority: boolean;
299
299
  notification_category_id: string | null;
@@ -302,6 +302,12 @@ 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
312
  user_id: string;
307
313
  type: "user-primary-email";
@@ -313,10 +319,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
313
319
  type: "custom-emails";
314
320
  emails: string[];
315
321
  };
316
- created_at_millis: number;
317
- updated_at_millis: number;
318
- tsx_source: string;
319
- theme_id: string | null;
320
322
  variables: Record<string, {} | null>;
321
323
  skip_deliverability_check: boolean;
322
324
  scheduled_at_millis: number;
@@ -339,8 +341,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
339
341
  has_delivered: boolean;
340
342
  started_rendering_at_millis: number;
341
343
  rendered_at_millis: number;
342
- html: string | null;
343
- text: string | null;
344
344
  is_transactional: boolean;
345
345
  is_high_priority: boolean;
346
346
  notification_category_id: string | null;
@@ -349,16 +349,20 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
349
349
  server_error: string;
350
350
  } | {
351
351
  subject?: string | undefined;
352
- started_rendering_at_millis?: number | undefined;
353
- rendered_at_millis?: number | undefined;
354
352
  html?: string | null | undefined;
355
353
  text?: string | null | undefined;
354
+ started_rendering_at_millis?: number | undefined;
355
+ rendered_at_millis?: number | undefined;
356
356
  is_transactional?: boolean | undefined;
357
357
  is_high_priority?: boolean | undefined;
358
358
  notification_category_id?: string | null | undefined;
359
359
  started_sending_at_millis?: number | undefined;
360
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
367
  user_id: string;
364
368
  type: "user-primary-email";
@@ -370,10 +374,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
370
374
  type: "custom-emails";
371
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,6 +401,12 @@ 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
411
  user_id: string;
406
412
  type: "user-primary-email";
@@ -412,10 +418,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
412
418
  type: "custom-emails";
413
419
  emails: string[];
414
420
  };
415
- created_at_millis: number;
416
- updated_at_millis: number;
417
- tsx_source: string;
418
- theme_id: string | null;
419
421
  variables: Record<string, {} | null>;
420
422
  skip_deliverability_check: boolean;
421
423
  scheduled_at_millis: number;
@@ -438,8 +440,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
438
440
  has_delivered: boolean;
439
441
  started_rendering_at_millis: number;
440
442
  rendered_at_millis: number;
441
- html: string | null;
442
- text: string | null;
443
443
  is_transactional: boolean;
444
444
  is_high_priority: boolean;
445
445
  notification_category_id: string | null;
@@ -449,6 +449,12 @@ 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
459
  user_id: string;
454
460
  type: "user-primary-email";
@@ -460,10 +466,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
460
466
  type: "custom-emails";
461
467
  emails: string[];
462
468
  };
463
- created_at_millis: number;
464
- updated_at_millis: number;
465
- tsx_source: string;
466
- theme_id: string | null;
467
469
  variables: Record<string, {} | null>;
468
470
  skip_deliverability_check: boolean;
469
471
  scheduled_at_millis: number;
@@ -486,8 +488,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
486
488
  has_delivered: boolean;
487
489
  started_rendering_at_millis: number;
488
490
  rendered_at_millis: number;
489
- html: string | null;
490
- text: string | null;
491
491
  is_transactional: boolean;
492
492
  is_high_priority: boolean;
493
493
  notification_category_id: string | null;
@@ -497,6 +497,12 @@ 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
507
  user_id: string;
502
508
  type: "user-primary-email";
@@ -508,10 +514,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
508
514
  type: "custom-emails";
509
515
  emails: string[];
510
516
  };
511
- created_at_millis: number;
512
- updated_at_millis: number;
513
- tsx_source: string;
514
- theme_id: string | null;
515
517
  variables: Record<string, {} | null>;
516
518
  skip_deliverability_check: boolean;
517
519
  scheduled_at_millis: number;
@@ -534,8 +536,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
534
536
  has_delivered: boolean;
535
537
  started_rendering_at_millis: number;
536
538
  rendered_at_millis: number;
537
- html: string | null;
538
- text: string | null;
539
539
  is_transactional: boolean;
540
540
  is_high_priority: boolean;
541
541
  notification_category_id: string | null;
@@ -546,6 +546,12 @@ 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
556
  user_id: string;
551
557
  type: "user-primary-email";
@@ -557,10 +563,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
557
563
  type: "custom-emails";
558
564
  emails: string[];
559
565
  };
560
- created_at_millis: number;
561
- updated_at_millis: number;
562
- tsx_source: string;
563
- theme_id: string | null;
564
566
  variables: Record<string, {} | null>;
565
567
  skip_deliverability_check: boolean;
566
568
  scheduled_at_millis: number;
@@ -583,8 +585,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
583
585
  has_delivered: boolean;
584
586
  started_rendering_at_millis: number;
585
587
  rendered_at_millis: number;
586
- html: string | null;
587
- text: string | null;
588
588
  is_transactional: boolean;
589
589
  is_high_priority: boolean;
590
590
  notification_category_id: string | null;
@@ -596,6 +596,12 @@ 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
606
  user_id: string;
601
607
  type: "user-primary-email";
@@ -607,10 +613,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
607
613
  type: "custom-emails";
608
614
  emails: string[];
609
615
  };
610
- created_at_millis: number;
611
- updated_at_millis: number;
612
- tsx_source: string;
613
- theme_id: string | null;
614
616
  variables: Record<string, {} | null>;
615
617
  skip_deliverability_check: boolean;
616
618
  scheduled_at_millis: number;
@@ -633,8 +635,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
633
635
  has_delivered: boolean;
634
636
  started_rendering_at_millis: number;
635
637
  rendered_at_millis: number;
636
- html: string | null;
637
- text: string | null;
638
638
  is_transactional: boolean;
639
639
  is_high_priority: boolean;
640
640
  notification_category_id: string | null;
@@ -646,6 +646,12 @@ 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
656
  user_id: string;
651
657
  type: "user-primary-email";
@@ -657,10 +663,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
657
663
  type: "custom-emails";
658
664
  emails: string[];
659
665
  };
660
- created_at_millis: number;
661
- updated_at_millis: number;
662
- tsx_source: string;
663
- theme_id: string | null;
664
666
  variables: Record<string, {} | null>;
665
667
  skip_deliverability_check: boolean;
666
668
  scheduled_at_millis: number;
@@ -683,8 +685,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
683
685
  has_delivered: boolean;
684
686
  started_rendering_at_millis: number;
685
687
  rendered_at_millis: number;
686
- html: string | null;
687
- text: string | null;
688
688
  is_transactional: boolean;
689
689
  is_high_priority: boolean;
690
690
  notification_category_id: string | null;
@@ -726,6 +726,10 @@ 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
734
  user_id: string;
731
735
  type: "user-primary-email";
@@ -737,10 +741,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
737
741
  type: "custom-emails";
738
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,6 +764,10 @@ 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
772
  user_id: string;
769
773
  type: "user-primary-email";
@@ -775,10 +779,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
775
779
  type: "custom-emails";
776
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,6 +802,10 @@ 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
810
  user_id: string;
807
811
  type: "user-primary-email";
@@ -813,10 +817,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
813
817
  type: "custom-emails";
814
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,6 +841,10 @@ 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
849
  user_id: string;
846
850
  type: "user-primary-email";
@@ -852,10 +856,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
852
856
  type: "custom-emails";
853
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,6 +883,12 @@ 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
893
  user_id: string;
888
894
  type: "user-primary-email";
@@ -894,10 +900,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
894
900
  type: "custom-emails";
895
901
  emails: string[];
896
902
  };
897
- created_at_millis: number;
898
- updated_at_millis: number;
899
- tsx_source: string;
900
- theme_id: string | null;
901
903
  variables: Record<string, {} | null>;
902
904
  skip_deliverability_check: boolean;
903
905
  scheduled_at_millis: number;
@@ -920,8 +922,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
920
922
  has_delivered: boolean;
921
923
  started_rendering_at_millis: number;
922
924
  rendered_at_millis: number;
923
- html: string | null;
924
- text: string | null;
925
925
  is_transactional: boolean;
926
926
  is_high_priority: boolean;
927
927
  notification_category_id: string | null;
@@ -929,6 +929,12 @@ 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
939
  user_id: string;
934
940
  type: "user-primary-email";
@@ -940,10 +946,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
940
946
  type: "custom-emails";
941
947
  emails: string[];
942
948
  };
943
- created_at_millis: number;
944
- updated_at_millis: number;
945
- tsx_source: string;
946
- theme_id: string | null;
947
949
  variables: Record<string, {} | null>;
948
950
  skip_deliverability_check: boolean;
949
951
  scheduled_at_millis: number;
@@ -966,8 +968,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
966
968
  has_delivered: boolean;
967
969
  started_rendering_at_millis: number;
968
970
  rendered_at_millis: number;
969
- html: string | null;
970
- text: string | null;
971
971
  is_transactional: boolean;
972
972
  is_high_priority: boolean;
973
973
  notification_category_id: string | null;
@@ -975,6 +975,12 @@ 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
985
  user_id: string;
980
986
  type: "user-primary-email";
@@ -986,10 +992,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
986
992
  type: "custom-emails";
987
993
  emails: string[];
988
994
  };
989
- created_at_millis: number;
990
- updated_at_millis: number;
991
- tsx_source: string;
992
- theme_id: string | null;
993
995
  variables: Record<string, {} | null>;
994
996
  skip_deliverability_check: boolean;
995
997
  scheduled_at_millis: number;
@@ -1012,8 +1014,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1012
1014
  has_delivered: boolean;
1013
1015
  started_rendering_at_millis: number;
1014
1016
  rendered_at_millis: number;
1015
- html: string | null;
1016
- text: string | null;
1017
1017
  is_transactional: boolean;
1018
1018
  is_high_priority: boolean;
1019
1019
  notification_category_id: string | null;
@@ -1022,6 +1022,12 @@ 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
1032
  user_id: string;
1027
1033
  type: "user-primary-email";
@@ -1033,10 +1039,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1033
1039
  type: "custom-emails";
1034
1040
  emails: string[];
1035
1041
  };
1036
- created_at_millis: number;
1037
- updated_at_millis: number;
1038
- tsx_source: string;
1039
- theme_id: string | null;
1040
1042
  variables: Record<string, {} | null>;
1041
1043
  skip_deliverability_check: boolean;
1042
1044
  scheduled_at_millis: number;
@@ -1059,8 +1061,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1059
1061
  has_delivered: boolean;
1060
1062
  started_rendering_at_millis: number;
1061
1063
  rendered_at_millis: number;
1062
- html: string | null;
1063
- text: string | null;
1064
1064
  is_transactional: boolean;
1065
1065
  is_high_priority: boolean;
1066
1066
  notification_category_id: string | null;
@@ -1069,16 +1069,20 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1069
1069
  server_error: string;
1070
1070
  } | {
1071
1071
  subject?: string | undefined;
1072
- started_rendering_at_millis?: number | undefined;
1073
- rendered_at_millis?: number | undefined;
1074
1072
  html?: string | null | undefined;
1075
1073
  text?: string | null | undefined;
1074
+ started_rendering_at_millis?: number | undefined;
1075
+ rendered_at_millis?: number | undefined;
1076
1076
  is_transactional?: boolean | undefined;
1077
1077
  is_high_priority?: boolean | undefined;
1078
1078
  notification_category_id?: string | null | undefined;
1079
1079
  started_sending_at_millis?: number | undefined;
1080
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
1087
  user_id: string;
1084
1088
  type: "user-primary-email";
@@ -1090,10 +1094,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1090
1094
  type: "custom-emails";
1091
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,6 +1121,12 @@ 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
1131
  user_id: string;
1126
1132
  type: "user-primary-email";
@@ -1132,10 +1138,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1132
1138
  type: "custom-emails";
1133
1139
  emails: string[];
1134
1140
  };
1135
- created_at_millis: number;
1136
- updated_at_millis: number;
1137
- tsx_source: string;
1138
- theme_id: string | null;
1139
1141
  variables: Record<string, {} | null>;
1140
1142
  skip_deliverability_check: boolean;
1141
1143
  scheduled_at_millis: number;
@@ -1158,8 +1160,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1158
1160
  has_delivered: boolean;
1159
1161
  started_rendering_at_millis: number;
1160
1162
  rendered_at_millis: number;
1161
- html: string | null;
1162
- text: string | null;
1163
1163
  is_transactional: boolean;
1164
1164
  is_high_priority: boolean;
1165
1165
  notification_category_id: string | null;
@@ -1169,6 +1169,12 @@ 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
1179
  user_id: string;
1174
1180
  type: "user-primary-email";
@@ -1180,10 +1186,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1180
1186
  type: "custom-emails";
1181
1187
  emails: string[];
1182
1188
  };
1183
- created_at_millis: number;
1184
- updated_at_millis: number;
1185
- tsx_source: string;
1186
- theme_id: string | null;
1187
1189
  variables: Record<string, {} | null>;
1188
1190
  skip_deliverability_check: boolean;
1189
1191
  scheduled_at_millis: number;
@@ -1206,8 +1208,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1206
1208
  has_delivered: boolean;
1207
1209
  started_rendering_at_millis: number;
1208
1210
  rendered_at_millis: number;
1209
- html: string | null;
1210
- text: string | null;
1211
1211
  is_transactional: boolean;
1212
1212
  is_high_priority: boolean;
1213
1213
  notification_category_id: string | null;
@@ -1217,6 +1217,12 @@ 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
1227
  user_id: string;
1222
1228
  type: "user-primary-email";
@@ -1228,10 +1234,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1228
1234
  type: "custom-emails";
1229
1235
  emails: string[];
1230
1236
  };
1231
- created_at_millis: number;
1232
- updated_at_millis: number;
1233
- tsx_source: string;
1234
- theme_id: string | null;
1235
1237
  variables: Record<string, {} | null>;
1236
1238
  skip_deliverability_check: boolean;
1237
1239
  scheduled_at_millis: number;
@@ -1254,8 +1256,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1254
1256
  has_delivered: boolean;
1255
1257
  started_rendering_at_millis: number;
1256
1258
  rendered_at_millis: number;
1257
- html: string | null;
1258
- text: string | null;
1259
1259
  is_transactional: boolean;
1260
1260
  is_high_priority: boolean;
1261
1261
  notification_category_id: string | null;
@@ -1266,6 +1266,12 @@ 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
1276
  user_id: string;
1271
1277
  type: "user-primary-email";
@@ -1277,10 +1283,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1277
1283
  type: "custom-emails";
1278
1284
  emails: string[];
1279
1285
  };
1280
- created_at_millis: number;
1281
- updated_at_millis: number;
1282
- tsx_source: string;
1283
- theme_id: string | null;
1284
1286
  variables: Record<string, {} | null>;
1285
1287
  skip_deliverability_check: boolean;
1286
1288
  scheduled_at_millis: number;
@@ -1303,8 +1305,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1303
1305
  has_delivered: boolean;
1304
1306
  started_rendering_at_millis: number;
1305
1307
  rendered_at_millis: number;
1306
- html: string | null;
1307
- text: string | null;
1308
1308
  is_transactional: boolean;
1309
1309
  is_high_priority: boolean;
1310
1310
  notification_category_id: string | null;
@@ -1316,6 +1316,12 @@ 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
1326
  user_id: string;
1321
1327
  type: "user-primary-email";
@@ -1327,10 +1333,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1327
1333
  type: "custom-emails";
1328
1334
  emails: string[];
1329
1335
  };
1330
- created_at_millis: number;
1331
- updated_at_millis: number;
1332
- tsx_source: string;
1333
- theme_id: string | null;
1334
1336
  variables: Record<string, {} | null>;
1335
1337
  skip_deliverability_check: boolean;
1336
1338
  scheduled_at_millis: number;
@@ -1353,8 +1355,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1353
1355
  has_delivered: boolean;
1354
1356
  started_rendering_at_millis: number;
1355
1357
  rendered_at_millis: number;
1356
- html: string | null;
1357
- text: string | null;
1358
1358
  is_transactional: boolean;
1359
1359
  is_high_priority: boolean;
1360
1360
  notification_category_id: string | null;
@@ -1366,6 +1366,12 @@ 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
1376
  user_id: string;
1371
1377
  type: "user-primary-email";
@@ -1377,10 +1383,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1377
1383
  type: "custom-emails";
1378
1384
  emails: string[];
1379
1385
  };
1380
- created_at_millis: number;
1381
- updated_at_millis: number;
1382
- tsx_source: string;
1383
- theme_id: string | null;
1384
1386
  variables: Record<string, {} | null>;
1385
1387
  skip_deliverability_check: boolean;
1386
1388
  scheduled_at_millis: number;
@@ -1403,8 +1405,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1403
1405
  has_delivered: boolean;
1404
1406
  started_rendering_at_millis: number;
1405
1407
  rendered_at_millis: number;
1406
- html: string | null;
1407
- text: string | null;
1408
1408
  is_transactional: boolean;
1409
1409
  is_high_priority: boolean;
1410
1410
  notification_category_id: string | null;