@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
@@ -5,6 +5,10 @@ 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
13
  user_id: string;
10
14
  type: "user-primary-email";
@@ -16,10 +20,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
16
20
  type: "custom-emails";
17
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,6 +43,10 @@ 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
51
  user_id: string;
48
52
  type: "user-primary-email";
@@ -54,10 +58,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
54
58
  type: "custom-emails";
55
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,6 +81,10 @@ 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
89
  user_id: string;
86
90
  type: "user-primary-email";
@@ -92,10 +96,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
92
96
  type: "custom-emails";
93
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,6 +120,10 @@ 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
128
  user_id: string;
125
129
  type: "user-primary-email";
@@ -131,10 +135,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
131
135
  type: "custom-emails";
132
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,6 +162,12 @@ 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
172
  user_id: string;
167
173
  type: "user-primary-email";
@@ -173,10 +179,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
173
179
  type: "custom-emails";
174
180
  emails: string[];
175
181
  };
176
- created_at_millis: number;
177
- updated_at_millis: number;
178
- tsx_source: string;
179
- theme_id: string | null;
180
182
  variables: Record<string, {} | null>;
181
183
  skip_deliverability_check: boolean;
182
184
  scheduled_at_millis: number;
@@ -199,8 +201,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
199
201
  has_delivered: boolean;
200
202
  started_rendering_at_millis: number;
201
203
  rendered_at_millis: number;
202
- html: string | null;
203
- text: string | null;
204
204
  is_transactional: boolean;
205
205
  is_high_priority: boolean;
206
206
  notification_category_id: string | null;
@@ -208,6 +208,12 @@ 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
218
  user_id: string;
213
219
  type: "user-primary-email";
@@ -219,10 +225,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
219
225
  type: "custom-emails";
220
226
  emails: string[];
221
227
  };
222
- created_at_millis: number;
223
- updated_at_millis: number;
224
- tsx_source: string;
225
- theme_id: string | null;
226
228
  variables: Record<string, {} | null>;
227
229
  skip_deliverability_check: boolean;
228
230
  scheduled_at_millis: number;
@@ -245,8 +247,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
245
247
  has_delivered: boolean;
246
248
  started_rendering_at_millis: number;
247
249
  rendered_at_millis: number;
248
- html: string | null;
249
- text: string | null;
250
250
  is_transactional: boolean;
251
251
  is_high_priority: boolean;
252
252
  notification_category_id: string | null;
@@ -254,6 +254,12 @@ 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
264
  user_id: string;
259
265
  type: "user-primary-email";
@@ -265,10 +271,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
265
271
  type: "custom-emails";
266
272
  emails: string[];
267
273
  };
268
- created_at_millis: number;
269
- updated_at_millis: number;
270
- tsx_source: string;
271
- theme_id: string | null;
272
274
  variables: Record<string, {} | null>;
273
275
  skip_deliverability_check: boolean;
274
276
  scheduled_at_millis: number;
@@ -291,8 +293,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
291
293
  has_delivered: boolean;
292
294
  started_rendering_at_millis: number;
293
295
  rendered_at_millis: number;
294
- html: string | null;
295
- text: string | null;
296
296
  is_transactional: boolean;
297
297
  is_high_priority: boolean;
298
298
  notification_category_id: string | null;
@@ -301,6 +301,12 @@ 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
311
  user_id: string;
306
312
  type: "user-primary-email";
@@ -312,10 +318,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
312
318
  type: "custom-emails";
313
319
  emails: string[];
314
320
  };
315
- created_at_millis: number;
316
- updated_at_millis: number;
317
- tsx_source: string;
318
- theme_id: string | null;
319
321
  variables: Record<string, {} | null>;
320
322
  skip_deliverability_check: boolean;
321
323
  scheduled_at_millis: number;
@@ -338,8 +340,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
338
340
  has_delivered: boolean;
339
341
  started_rendering_at_millis: number;
340
342
  rendered_at_millis: number;
341
- html: string | null;
342
- text: string | null;
343
343
  is_transactional: boolean;
344
344
  is_high_priority: boolean;
345
345
  notification_category_id: string | null;
@@ -348,16 +348,20 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
348
348
  server_error: string;
349
349
  } | {
350
350
  subject?: string | undefined;
351
- started_rendering_at_millis?: number | undefined;
352
- rendered_at_millis?: number | undefined;
353
351
  html?: string | null | undefined;
354
352
  text?: string | null | undefined;
353
+ started_rendering_at_millis?: number | undefined;
354
+ rendered_at_millis?: number | undefined;
355
355
  is_transactional?: boolean | undefined;
356
356
  is_high_priority?: boolean | undefined;
357
357
  notification_category_id?: string | null | undefined;
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
366
  user_id: string;
363
367
  type: "user-primary-email";
@@ -369,10 +373,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
369
373
  type: "custom-emails";
370
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,6 +400,12 @@ 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
410
  user_id: string;
405
411
  type: "user-primary-email";
@@ -411,10 +417,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
411
417
  type: "custom-emails";
412
418
  emails: string[];
413
419
  };
414
- created_at_millis: number;
415
- updated_at_millis: number;
416
- tsx_source: string;
417
- theme_id: string | null;
418
420
  variables: Record<string, {} | null>;
419
421
  skip_deliverability_check: boolean;
420
422
  scheduled_at_millis: number;
@@ -437,8 +439,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
437
439
  has_delivered: boolean;
438
440
  started_rendering_at_millis: number;
439
441
  rendered_at_millis: number;
440
- html: string | null;
441
- text: string | null;
442
442
  is_transactional: boolean;
443
443
  is_high_priority: boolean;
444
444
  notification_category_id: string | null;
@@ -448,6 +448,12 @@ 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
458
  user_id: string;
453
459
  type: "user-primary-email";
@@ -459,10 +465,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
459
465
  type: "custom-emails";
460
466
  emails: string[];
461
467
  };
462
- created_at_millis: number;
463
- updated_at_millis: number;
464
- tsx_source: string;
465
- theme_id: string | null;
466
468
  variables: Record<string, {} | null>;
467
469
  skip_deliverability_check: boolean;
468
470
  scheduled_at_millis: number;
@@ -485,8 +487,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
485
487
  has_delivered: boolean;
486
488
  started_rendering_at_millis: number;
487
489
  rendered_at_millis: number;
488
- html: string | null;
489
- text: string | null;
490
490
  is_transactional: boolean;
491
491
  is_high_priority: boolean;
492
492
  notification_category_id: string | null;
@@ -496,6 +496,12 @@ 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
506
  user_id: string;
501
507
  type: "user-primary-email";
@@ -507,10 +513,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
507
513
  type: "custom-emails";
508
514
  emails: string[];
509
515
  };
510
- created_at_millis: number;
511
- updated_at_millis: number;
512
- tsx_source: string;
513
- theme_id: string | null;
514
516
  variables: Record<string, {} | null>;
515
517
  skip_deliverability_check: boolean;
516
518
  scheduled_at_millis: number;
@@ -533,8 +535,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
533
535
  has_delivered: boolean;
534
536
  started_rendering_at_millis: number;
535
537
  rendered_at_millis: number;
536
- html: string | null;
537
- text: string | null;
538
538
  is_transactional: boolean;
539
539
  is_high_priority: boolean;
540
540
  notification_category_id: string | null;
@@ -545,6 +545,12 @@ 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
555
  user_id: string;
550
556
  type: "user-primary-email";
@@ -556,10 +562,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
556
562
  type: "custom-emails";
557
563
  emails: string[];
558
564
  };
559
- created_at_millis: number;
560
- updated_at_millis: number;
561
- tsx_source: string;
562
- theme_id: string | null;
563
565
  variables: Record<string, {} | null>;
564
566
  skip_deliverability_check: boolean;
565
567
  scheduled_at_millis: number;
@@ -582,8 +584,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
582
584
  has_delivered: boolean;
583
585
  started_rendering_at_millis: number;
584
586
  rendered_at_millis: number;
585
- html: string | null;
586
- text: string | null;
587
587
  is_transactional: boolean;
588
588
  is_high_priority: boolean;
589
589
  notification_category_id: string | null;
@@ -595,6 +595,12 @@ 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
605
  user_id: string;
600
606
  type: "user-primary-email";
@@ -606,10 +612,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
606
612
  type: "custom-emails";
607
613
  emails: string[];
608
614
  };
609
- created_at_millis: number;
610
- updated_at_millis: number;
611
- tsx_source: string;
612
- theme_id: string | null;
613
615
  variables: Record<string, {} | null>;
614
616
  skip_deliverability_check: boolean;
615
617
  scheduled_at_millis: number;
@@ -632,8 +634,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
632
634
  has_delivered: boolean;
633
635
  started_rendering_at_millis: number;
634
636
  rendered_at_millis: number;
635
- html: string | null;
636
- text: string | null;
637
637
  is_transactional: boolean;
638
638
  is_high_priority: boolean;
639
639
  notification_category_id: string | null;
@@ -645,6 +645,12 @@ 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
655
  user_id: string;
650
656
  type: "user-primary-email";
@@ -656,10 +662,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
656
662
  type: "custom-emails";
657
663
  emails: string[];
658
664
  };
659
- created_at_millis: number;
660
- updated_at_millis: number;
661
- tsx_source: string;
662
- theme_id: string | null;
663
665
  variables: Record<string, {} | null>;
664
666
  skip_deliverability_check: boolean;
665
667
  scheduled_at_millis: number;
@@ -682,8 +684,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
682
684
  has_delivered: boolean;
683
685
  started_rendering_at_millis: number;
684
686
  rendered_at_millis: number;
685
- html: string | null;
686
- text: string | null;
687
687
  is_transactional: boolean;
688
688
  is_high_priority: boolean;
689
689
  notification_category_id: string | null;
@@ -725,6 +725,10 @@ 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
733
  user_id: string;
730
734
  type: "user-primary-email";
@@ -736,10 +740,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
736
740
  type: "custom-emails";
737
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,6 +763,10 @@ 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
771
  user_id: string;
768
772
  type: "user-primary-email";
@@ -774,10 +778,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
774
778
  type: "custom-emails";
775
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,6 +801,10 @@ 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
809
  user_id: string;
806
810
  type: "user-primary-email";
@@ -812,10 +816,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
812
816
  type: "custom-emails";
813
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,6 +840,10 @@ 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
848
  user_id: string;
845
849
  type: "user-primary-email";
@@ -851,10 +855,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
851
855
  type: "custom-emails";
852
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,6 +882,12 @@ 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
892
  user_id: string;
887
893
  type: "user-primary-email";
@@ -893,10 +899,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
893
899
  type: "custom-emails";
894
900
  emails: string[];
895
901
  };
896
- created_at_millis: number;
897
- updated_at_millis: number;
898
- tsx_source: string;
899
- theme_id: string | null;
900
902
  variables: Record<string, {} | null>;
901
903
  skip_deliverability_check: boolean;
902
904
  scheduled_at_millis: number;
@@ -919,8 +921,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
919
921
  has_delivered: boolean;
920
922
  started_rendering_at_millis: number;
921
923
  rendered_at_millis: number;
922
- html: string | null;
923
- text: string | null;
924
924
  is_transactional: boolean;
925
925
  is_high_priority: boolean;
926
926
  notification_category_id: string | null;
@@ -928,6 +928,12 @@ 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
938
  user_id: string;
933
939
  type: "user-primary-email";
@@ -939,10 +945,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
939
945
  type: "custom-emails";
940
946
  emails: string[];
941
947
  };
942
- created_at_millis: number;
943
- updated_at_millis: number;
944
- tsx_source: string;
945
- theme_id: string | null;
946
948
  variables: Record<string, {} | null>;
947
949
  skip_deliverability_check: boolean;
948
950
  scheduled_at_millis: number;
@@ -965,8 +967,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
965
967
  has_delivered: boolean;
966
968
  started_rendering_at_millis: number;
967
969
  rendered_at_millis: number;
968
- html: string | null;
969
- text: string | null;
970
970
  is_transactional: boolean;
971
971
  is_high_priority: boolean;
972
972
  notification_category_id: string | null;
@@ -974,6 +974,12 @@ 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
984
  user_id: string;
979
985
  type: "user-primary-email";
@@ -985,10 +991,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
985
991
  type: "custom-emails";
986
992
  emails: string[];
987
993
  };
988
- created_at_millis: number;
989
- updated_at_millis: number;
990
- tsx_source: string;
991
- theme_id: string | null;
992
994
  variables: Record<string, {} | null>;
993
995
  skip_deliverability_check: boolean;
994
996
  scheduled_at_millis: number;
@@ -1011,8 +1013,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1011
1013
  has_delivered: boolean;
1012
1014
  started_rendering_at_millis: number;
1013
1015
  rendered_at_millis: number;
1014
- html: string | null;
1015
- text: string | null;
1016
1016
  is_transactional: boolean;
1017
1017
  is_high_priority: boolean;
1018
1018
  notification_category_id: string | null;
@@ -1021,6 +1021,12 @@ 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
1031
  user_id: string;
1026
1032
  type: "user-primary-email";
@@ -1032,10 +1038,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1032
1038
  type: "custom-emails";
1033
1039
  emails: string[];
1034
1040
  };
1035
- created_at_millis: number;
1036
- updated_at_millis: number;
1037
- tsx_source: string;
1038
- theme_id: string | null;
1039
1041
  variables: Record<string, {} | null>;
1040
1042
  skip_deliverability_check: boolean;
1041
1043
  scheduled_at_millis: number;
@@ -1058,8 +1060,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1058
1060
  has_delivered: boolean;
1059
1061
  started_rendering_at_millis: number;
1060
1062
  rendered_at_millis: number;
1061
- html: string | null;
1062
- text: string | null;
1063
1063
  is_transactional: boolean;
1064
1064
  is_high_priority: boolean;
1065
1065
  notification_category_id: string | null;
@@ -1068,16 +1068,20 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1068
1068
  server_error: string;
1069
1069
  } | {
1070
1070
  subject?: string | undefined;
1071
- started_rendering_at_millis?: number | undefined;
1072
- rendered_at_millis?: number | undefined;
1073
1071
  html?: string | null | undefined;
1074
1072
  text?: string | null | undefined;
1073
+ started_rendering_at_millis?: number | undefined;
1074
+ rendered_at_millis?: number | undefined;
1075
1075
  is_transactional?: boolean | undefined;
1076
1076
  is_high_priority?: boolean | undefined;
1077
1077
  notification_category_id?: string | null | undefined;
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
1086
  user_id: string;
1083
1087
  type: "user-primary-email";
@@ -1089,10 +1093,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1089
1093
  type: "custom-emails";
1090
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,6 +1120,12 @@ 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
1130
  user_id: string;
1125
1131
  type: "user-primary-email";
@@ -1131,10 +1137,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1131
1137
  type: "custom-emails";
1132
1138
  emails: string[];
1133
1139
  };
1134
- created_at_millis: number;
1135
- updated_at_millis: number;
1136
- tsx_source: string;
1137
- theme_id: string | null;
1138
1140
  variables: Record<string, {} | null>;
1139
1141
  skip_deliverability_check: boolean;
1140
1142
  scheduled_at_millis: number;
@@ -1157,8 +1159,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1157
1159
  has_delivered: boolean;
1158
1160
  started_rendering_at_millis: number;
1159
1161
  rendered_at_millis: number;
1160
- html: string | null;
1161
- text: string | null;
1162
1162
  is_transactional: boolean;
1163
1163
  is_high_priority: boolean;
1164
1164
  notification_category_id: string | null;
@@ -1168,6 +1168,12 @@ 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
1178
  user_id: string;
1173
1179
  type: "user-primary-email";
@@ -1179,10 +1185,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1179
1185
  type: "custom-emails";
1180
1186
  emails: string[];
1181
1187
  };
1182
- created_at_millis: number;
1183
- updated_at_millis: number;
1184
- tsx_source: string;
1185
- theme_id: string | null;
1186
1188
  variables: Record<string, {} | null>;
1187
1189
  skip_deliverability_check: boolean;
1188
1190
  scheduled_at_millis: number;
@@ -1205,8 +1207,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1205
1207
  has_delivered: boolean;
1206
1208
  started_rendering_at_millis: number;
1207
1209
  rendered_at_millis: number;
1208
- html: string | null;
1209
- text: string | null;
1210
1210
  is_transactional: boolean;
1211
1211
  is_high_priority: boolean;
1212
1212
  notification_category_id: string | null;
@@ -1216,6 +1216,12 @@ 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
1226
  user_id: string;
1221
1227
  type: "user-primary-email";
@@ -1227,10 +1233,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1227
1233
  type: "custom-emails";
1228
1234
  emails: string[];
1229
1235
  };
1230
- created_at_millis: number;
1231
- updated_at_millis: number;
1232
- tsx_source: string;
1233
- theme_id: string | null;
1234
1236
  variables: Record<string, {} | null>;
1235
1237
  skip_deliverability_check: boolean;
1236
1238
  scheduled_at_millis: number;
@@ -1253,8 +1255,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1253
1255
  has_delivered: boolean;
1254
1256
  started_rendering_at_millis: number;
1255
1257
  rendered_at_millis: number;
1256
- html: string | null;
1257
- text: string | null;
1258
1258
  is_transactional: boolean;
1259
1259
  is_high_priority: boolean;
1260
1260
  notification_category_id: string | null;
@@ -1265,6 +1265,12 @@ 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
1275
  user_id: string;
1270
1276
  type: "user-primary-email";
@@ -1276,10 +1282,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1276
1282
  type: "custom-emails";
1277
1283
  emails: string[];
1278
1284
  };
1279
- created_at_millis: number;
1280
- updated_at_millis: number;
1281
- tsx_source: string;
1282
- theme_id: string | null;
1283
1285
  variables: Record<string, {} | null>;
1284
1286
  skip_deliverability_check: boolean;
1285
1287
  scheduled_at_millis: number;
@@ -1302,8 +1304,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1302
1304
  has_delivered: boolean;
1303
1305
  started_rendering_at_millis: number;
1304
1306
  rendered_at_millis: number;
1305
- html: string | null;
1306
- text: string | null;
1307
1307
  is_transactional: boolean;
1308
1308
  is_high_priority: boolean;
1309
1309
  notification_category_id: string | null;
@@ -1315,6 +1315,12 @@ 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
1325
  user_id: string;
1320
1326
  type: "user-primary-email";
@@ -1326,10 +1332,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1326
1332
  type: "custom-emails";
1327
1333
  emails: string[];
1328
1334
  };
1329
- created_at_millis: number;
1330
- updated_at_millis: number;
1331
- tsx_source: string;
1332
- theme_id: string | null;
1333
1335
  variables: Record<string, {} | null>;
1334
1336
  skip_deliverability_check: boolean;
1335
1337
  scheduled_at_millis: number;
@@ -1352,8 +1354,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1352
1354
  has_delivered: boolean;
1353
1355
  started_rendering_at_millis: number;
1354
1356
  rendered_at_millis: number;
1355
- html: string | null;
1356
- text: string | null;
1357
1357
  is_transactional: boolean;
1358
1358
  is_high_priority: boolean;
1359
1359
  notification_category_id: string | null;
@@ -1365,6 +1365,12 @@ 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
1375
  user_id: string;
1370
1376
  type: "user-primary-email";
@@ -1376,10 +1382,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1376
1382
  type: "custom-emails";
1377
1383
  emails: string[];
1378
1384
  };
1379
- created_at_millis: number;
1380
- updated_at_millis: number;
1381
- tsx_source: string;
1382
- theme_id: string | null;
1383
1385
  variables: Record<string, {} | null>;
1384
1386
  skip_deliverability_check: boolean;
1385
1387
  scheduled_at_millis: number;
@@ -1402,8 +1404,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1402
1404
  has_delivered: boolean;
1403
1405
  started_rendering_at_millis: number;
1404
1406
  rendered_at_millis: number;
1405
- html: string | null;
1406
- text: string | null;
1407
1407
  is_transactional: boolean;
1408
1408
  is_high_priority: boolean;
1409
1409
  notification_category_id: string | null;