@hexclave/shared 1.0.56 → 1.0.57

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 (97) hide show
  1. package/dist/{admin-interface-sca4FCAt.d.ts → admin-interface-D6kvAhoP.d.ts} +11 -11
  2. package/dist/{admin-interface-sca4FCAt.d.ts.map → admin-interface-D6kvAhoP.d.ts.map} +1 -1
  3. package/dist/{admin-metrics-BTgqWZXI.d.ts → admin-metrics-Cs7JjEj4.d.ts} +13 -13
  4. package/dist/{admin-metrics-BTgqWZXI.d.ts.map → admin-metrics-Cs7JjEj4.d.ts.map} +1 -1
  5. package/dist/{client-interface-BQakINAH.d.ts → client-interface-CnrY_NEa.d.ts} +10 -10
  6. package/dist/{client-interface-BQakINAH.d.ts.map → client-interface-CnrY_NEa.d.ts.map} +1 -1
  7. package/dist/config/schema.d.ts +1 -1
  8. package/dist/config-authoring.d.ts +1 -1
  9. package/dist/{current-user-DosTPiF7.d.ts → current-user-Dvf8Ttjo.d.ts} +13 -13
  10. package/dist/{current-user-DosTPiF7.d.ts.map → current-user-Dvf8Ttjo.d.ts.map} +1 -1
  11. package/dist/{email-outbox-C07KfbmL.d.ts → email-outbox-CJXqsXl0.d.ts} +249 -249
  12. package/dist/{email-outbox-C07KfbmL.d.ts.map → email-outbox-CJXqsXl0.d.ts.map} +1 -1
  13. package/dist/esm/config/schema.d.ts +55 -55
  14. package/dist/esm/interface/admin-interface.js +1 -1
  15. package/dist/esm/interface/admin-metrics.d.ts +12 -12
  16. package/dist/esm/interface/client-interface.js +1 -1
  17. package/dist/esm/interface/conversations.d.ts +30 -30
  18. package/dist/esm/interface/crud/current-user.d.ts +12 -12
  19. package/dist/esm/interface/crud/email-outbox.d.ts +248 -248
  20. package/dist/esm/interface/crud/invoices.d.ts +2 -2
  21. package/dist/esm/interface/crud/products.d.ts +15 -15
  22. package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
  23. package/dist/esm/interface/crud/projects.d.ts +117 -113
  24. package/dist/esm/interface/crud/projects.d.ts.map +1 -1
  25. package/dist/esm/interface/crud/projects.js +1 -0
  26. package/dist/esm/interface/crud/projects.js.map +1 -1
  27. package/dist/esm/interface/crud/team-member-profiles.d.ts +22 -22
  28. package/dist/esm/interface/crud/transactions.d.ts +20 -20
  29. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  30. package/dist/esm/interface/crud/users.d.ts +10 -10
  31. package/dist/esm/interface/plan-usage.d.ts +2 -2
  32. package/dist/esm/interface/server-interface.js +1 -1
  33. package/dist/esm/interface/webhooks.d.ts +2 -2
  34. package/dist/esm/known-errors.d.ts +1 -1
  35. package/dist/esm/schema-fields.d.ts +2 -2
  36. package/dist/esm/sessions.d.ts +7 -7
  37. package/dist/esm/utils/promises.js +1 -1
  38. package/dist/helpers/password.d.ts +1 -1
  39. package/dist/helpers/production-mode.d.ts +1 -1
  40. package/dist/index.d.ts +4 -4
  41. package/dist/interface/admin-interface.d.ts +2 -2
  42. package/dist/interface/admin-interface.js +1 -1
  43. package/dist/interface/admin-metrics.d.ts +1 -1
  44. package/dist/interface/client-interface.d.ts +1 -1
  45. package/dist/interface/client-interface.js +1 -1
  46. package/dist/interface/conversations.d.ts +30 -30
  47. package/dist/interface/crud/current-user.d.ts +1 -1
  48. package/dist/interface/crud/email-outbox.d.ts +1 -1
  49. package/dist/interface/crud/invoices.d.ts +1 -1
  50. package/dist/interface/crud/products.d.ts +1 -1
  51. package/dist/interface/crud/project-api-keys.d.ts +1 -1
  52. package/dist/interface/crud/projects.d.ts +1 -1
  53. package/dist/interface/crud/projects.js +1 -0
  54. package/dist/interface/crud/projects.js.map +1 -1
  55. package/dist/interface/crud/team-member-profiles.d.ts +1 -1
  56. package/dist/interface/crud/transactions.d.ts +1 -1
  57. package/dist/interface/crud/users.d.ts +1 -1
  58. package/dist/interface/plan-usage.d.ts +1 -1
  59. package/dist/interface/server-interface.d.ts +1 -1
  60. package/dist/interface/server-interface.js +1 -1
  61. package/dist/interface/webhooks.d.ts +1 -1
  62. package/dist/{invoices-U65KzAZX.d.ts → invoices-CHo9YKbI.d.ts} +3 -3
  63. package/dist/{invoices-U65KzAZX.d.ts.map → invoices-CHo9YKbI.d.ts.map} +1 -1
  64. package/dist/{known-errors-BFf8SVm8.d.ts → known-errors-Bm4a61wL.d.ts} +2 -2
  65. package/dist/{known-errors-BFf8SVm8.d.ts.map → known-errors-Bm4a61wL.d.ts.map} +1 -1
  66. package/dist/known-errors.d.ts +1 -1
  67. package/dist/{plan-usage-CFwV688o.d.ts → plan-usage-BaDxcLZ1.d.ts} +3 -3
  68. package/dist/{plan-usage-CFwV688o.d.ts.map → plan-usage-BaDxcLZ1.d.ts.map} +1 -1
  69. package/dist/{products-DzedG6oU.d.ts → products-D4o8A2W0.d.ts} +16 -16
  70. package/dist/{products-DzedG6oU.d.ts.map → products-D4o8A2W0.d.ts.map} +1 -1
  71. package/dist/{project-api-keys-Di2ENRam.d.ts → project-api-keys--7V5X_UW.d.ts} +3 -3
  72. package/dist/{project-api-keys-Di2ENRam.d.ts.map → project-api-keys--7V5X_UW.d.ts.map} +1 -1
  73. package/dist/{projects-W2I5ueag.d.ts → projects-BX5Y50kJ.d.ts} +118 -114
  74. package/dist/projects-BX5Y50kJ.d.ts.map +1 -0
  75. package/dist/{schema-BXM8B2V2.d.ts → schema-CLmaZetm.d.ts} +56 -56
  76. package/dist/{schema-BXM8B2V2.d.ts.map → schema-CLmaZetm.d.ts.map} +1 -1
  77. package/dist/{schema-fields-DhryPaD4.d.ts → schema-fields-DZtDQEEO.d.ts} +3 -3
  78. package/dist/{schema-fields-DhryPaD4.d.ts.map → schema-fields-DZtDQEEO.d.ts.map} +1 -1
  79. package/dist/schema-fields.d.ts +1 -1
  80. package/dist/{server-interface--aZDYxx4.d.ts → server-interface-DipGGXYo.d.ts} +8 -8
  81. package/dist/{server-interface--aZDYxx4.d.ts.map → server-interface-DipGGXYo.d.ts.map} +1 -1
  82. package/dist/{sessions-CKNkS48M.d.ts → sessions-CI-0TBQb.d.ts} +9 -9
  83. package/dist/{sessions-CKNkS48M.d.ts.map → sessions-CI-0TBQb.d.ts.map} +1 -1
  84. package/dist/sessions.d.ts +1 -1
  85. package/dist/{team-member-profiles-BhcD2OP5.d.ts → team-member-profiles-uTluO8XI.d.ts} +23 -23
  86. package/dist/{team-member-profiles-BhcD2OP5.d.ts.map → team-member-profiles-uTluO8XI.d.ts.map} +1 -1
  87. package/dist/{transactions-icyjJzs-.d.ts → transactions-CHNUJ42J.d.ts} +21 -21
  88. package/dist/transactions-CHNUJ42J.d.ts.map +1 -0
  89. package/dist/{users-DMNuqLTW.d.ts → users-D9Gnf-Z3.d.ts} +12 -12
  90. package/dist/{users-DMNuqLTW.d.ts.map → users-D9Gnf-Z3.d.ts.map} +1 -1
  91. package/dist/utils/promises.js +1 -1
  92. package/dist/{webhooks-8Ts1Clcb.d.ts → webhooks-ByXrdSOx.d.ts} +3 -3
  93. package/dist/{webhooks-8Ts1Clcb.d.ts.map → webhooks-ByXrdSOx.d.ts.map} +1 -1
  94. package/package.json +1 -1
  95. package/src/interface/crud/projects.ts +1 -0
  96. package/dist/projects-W2I5ueag.d.ts.map +0 -1
  97. package/dist/transactions-icyjJzs-.d.ts.map +0 -1
@@ -2,23 +2,23 @@ import { CrudTypeOf } from "../../crud.js";
2
2
 
3
3
  //#region src/interface/crud/email-outbox.d.ts
4
4
  declare const emailOutboxReadSchema: import("yup").MixedSchema<{
5
- id: string;
6
5
  status: "paused";
6
+ id: string;
7
7
  created_at_millis: number;
8
- updated_at_millis: number;
9
- tsx_source: string;
10
- theme_id: string | null;
11
8
  to: {
12
- type: "user-primary-email";
13
9
  user_id: string;
10
+ type: "user-primary-email";
14
11
  } | {
15
- type: "user-custom-emails";
16
12
  user_id: string;
13
+ type: "user-custom-emails";
17
14
  emails: string[];
18
15
  } | {
19
16
  type: "custom-emails";
20
17
  emails: string[];
21
18
  };
19
+ updated_at_millis: number;
20
+ tsx_source: string;
21
+ theme_id: string | null;
22
22
  variables: Record<string, {} | null>;
23
23
  skip_deliverability_check: boolean;
24
24
  scheduled_at_millis: number;
@@ -40,23 +40,23 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
40
40
  has_rendered: boolean;
41
41
  has_delivered: boolean;
42
42
  } | {
43
- id: string;
44
43
  status: "preparing";
44
+ id: string;
45
45
  created_at_millis: number;
46
- updated_at_millis: number;
47
- tsx_source: string;
48
- theme_id: string | null;
49
46
  to: {
50
- type: "user-primary-email";
51
47
  user_id: string;
48
+ type: "user-primary-email";
52
49
  } | {
53
- type: "user-custom-emails";
54
50
  user_id: string;
51
+ type: "user-custom-emails";
55
52
  emails: string[];
56
53
  } | {
57
54
  type: "custom-emails";
58
55
  emails: string[];
59
56
  };
57
+ updated_at_millis: number;
58
+ tsx_source: string;
59
+ theme_id: string | null;
60
60
  variables: Record<string, {} | null>;
61
61
  skip_deliverability_check: boolean;
62
62
  scheduled_at_millis: number;
@@ -78,23 +78,23 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
78
78
  has_rendered: boolean;
79
79
  has_delivered: boolean;
80
80
  } | {
81
- id: string;
82
81
  status: "rendering";
82
+ id: string;
83
83
  created_at_millis: number;
84
- updated_at_millis: number;
85
- tsx_source: string;
86
- theme_id: string | null;
87
84
  to: {
88
- type: "user-primary-email";
89
85
  user_id: string;
86
+ type: "user-primary-email";
90
87
  } | {
91
- type: "user-custom-emails";
92
88
  user_id: string;
89
+ type: "user-custom-emails";
93
90
  emails: string[];
94
91
  } | {
95
92
  type: "custom-emails";
96
93
  emails: string[];
97
94
  };
95
+ updated_at_millis: number;
96
+ tsx_source: string;
97
+ theme_id: string | null;
98
98
  variables: Record<string, {} | null>;
99
99
  skip_deliverability_check: boolean;
100
100
  scheduled_at_millis: number;
@@ -117,23 +117,23 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
117
117
  has_delivered: boolean;
118
118
  started_rendering_at_millis: number;
119
119
  } | {
120
- id: string;
121
120
  status: "render-error";
121
+ id: string;
122
122
  created_at_millis: number;
123
- updated_at_millis: number;
124
- tsx_source: string;
125
- theme_id: string | null;
126
123
  to: {
127
- type: "user-primary-email";
128
124
  user_id: string;
125
+ type: "user-primary-email";
129
126
  } | {
130
- type: "user-custom-emails";
131
127
  user_id: string;
128
+ type: "user-custom-emails";
132
129
  emails: string[];
133
130
  } | {
134
131
  type: "custom-emails";
135
132
  emails: string[];
136
133
  };
134
+ updated_at_millis: number;
135
+ tsx_source: string;
136
+ theme_id: string | null;
137
137
  variables: Record<string, {} | null>;
138
138
  skip_deliverability_check: boolean;
139
139
  scheduled_at_millis: number;
@@ -158,23 +158,26 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
158
158
  rendered_at_millis: number;
159
159
  render_error: string;
160
160
  } | {
161
- id: string;
162
161
  status: "scheduled";
162
+ id: string;
163
+ subject: string;
163
164
  created_at_millis: number;
164
- updated_at_millis: number;
165
- tsx_source: string;
166
- theme_id: string | null;
167
165
  to: {
168
- type: "user-primary-email";
169
166
  user_id: string;
167
+ type: "user-primary-email";
170
168
  } | {
171
- type: "user-custom-emails";
172
169
  user_id: string;
170
+ type: "user-custom-emails";
173
171
  emails: string[];
174
172
  } | {
175
173
  type: "custom-emails";
176
174
  emails: string[];
177
175
  };
176
+ html: string | null;
177
+ text: string | null;
178
+ updated_at_millis: number;
179
+ tsx_source: string;
180
+ theme_id: string | null;
178
181
  variables: Record<string, {} | null>;
179
182
  skip_deliverability_check: boolean;
180
183
  scheduled_at_millis: number;
@@ -197,30 +200,30 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
197
200
  has_delivered: boolean;
198
201
  started_rendering_at_millis: number;
199
202
  rendered_at_millis: number;
200
- subject: string;
201
- html: string | null;
202
- text: string | null;
203
203
  is_transactional: boolean;
204
204
  is_high_priority: boolean;
205
205
  notification_category_id: string | null;
206
206
  } | {
207
- id: string;
208
207
  status: "queued";
208
+ id: string;
209
+ subject: string;
209
210
  created_at_millis: number;
210
- updated_at_millis: number;
211
- tsx_source: string;
212
- theme_id: string | null;
213
211
  to: {
214
- type: "user-primary-email";
215
212
  user_id: string;
213
+ type: "user-primary-email";
216
214
  } | {
217
- type: "user-custom-emails";
218
215
  user_id: string;
216
+ type: "user-custom-emails";
219
217
  emails: string[];
220
218
  } | {
221
219
  type: "custom-emails";
222
220
  emails: string[];
223
221
  };
222
+ html: string | null;
223
+ text: string | null;
224
+ updated_at_millis: number;
225
+ tsx_source: string;
226
+ theme_id: string | null;
224
227
  variables: Record<string, {} | null>;
225
228
  skip_deliverability_check: boolean;
226
229
  scheduled_at_millis: number;
@@ -243,30 +246,30 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
243
246
  has_delivered: boolean;
244
247
  started_rendering_at_millis: number;
245
248
  rendered_at_millis: number;
246
- subject: string;
247
- html: string | null;
248
- text: string | null;
249
249
  is_transactional: boolean;
250
250
  is_high_priority: boolean;
251
251
  notification_category_id: string | null;
252
252
  } | {
253
- id: string;
254
253
  status: "sending";
254
+ id: string;
255
+ subject: string;
255
256
  created_at_millis: number;
256
- updated_at_millis: number;
257
- tsx_source: string;
258
- theme_id: string | null;
259
257
  to: {
260
- type: "user-primary-email";
261
258
  user_id: string;
259
+ type: "user-primary-email";
262
260
  } | {
263
- type: "user-custom-emails";
264
261
  user_id: string;
262
+ type: "user-custom-emails";
265
263
  emails: string[];
266
264
  } | {
267
265
  type: "custom-emails";
268
266
  emails: string[];
269
267
  };
268
+ html: string | null;
269
+ text: string | null;
270
+ updated_at_millis: number;
271
+ tsx_source: string;
272
+ theme_id: string | null;
270
273
  variables: Record<string, {} | null>;
271
274
  skip_deliverability_check: boolean;
272
275
  scheduled_at_millis: number;
@@ -289,31 +292,31 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
289
292
  has_delivered: boolean;
290
293
  started_rendering_at_millis: number;
291
294
  rendered_at_millis: number;
292
- subject: string;
293
- html: string | null;
294
- text: string | null;
295
295
  is_transactional: boolean;
296
296
  is_high_priority: boolean;
297
297
  notification_category_id: string | null;
298
298
  started_sending_at_millis: number;
299
299
  } | {
300
- id: string;
301
300
  status: "server-error";
301
+ id: string;
302
+ subject: string;
302
303
  created_at_millis: number;
303
- updated_at_millis: number;
304
- tsx_source: string;
305
- theme_id: string | null;
306
304
  to: {
307
- type: "user-primary-email";
308
305
  user_id: string;
306
+ type: "user-primary-email";
309
307
  } | {
310
- type: "user-custom-emails";
311
308
  user_id: string;
309
+ type: "user-custom-emails";
312
310
  emails: string[];
313
311
  } | {
314
312
  type: "custom-emails";
315
313
  emails: string[];
316
314
  };
315
+ html: string | null;
316
+ text: string | null;
317
+ updated_at_millis: number;
318
+ tsx_source: string;
319
+ theme_id: string | null;
317
320
  variables: Record<string, {} | null>;
318
321
  skip_deliverability_check: boolean;
319
322
  scheduled_at_millis: number;
@@ -336,9 +339,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
336
339
  has_delivered: boolean;
337
340
  started_rendering_at_millis: number;
338
341
  rendered_at_millis: number;
339
- subject: string;
340
- html: string | null;
341
- text: string | null;
342
342
  is_transactional: boolean;
343
343
  is_high_priority: boolean;
344
344
  notification_category_id: string | null;
@@ -346,32 +346,32 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
346
346
  error_at_millis: number;
347
347
  server_error: string;
348
348
  } | {
349
- started_rendering_at_millis?: number | undefined;
350
- rendered_at_millis?: number | undefined;
351
349
  subject?: string | undefined;
352
350
  html?: string | null | undefined;
353
351
  text?: string | null | undefined;
352
+ started_rendering_at_millis?: number | undefined;
353
+ rendered_at_millis?: number | undefined;
354
354
  is_transactional?: boolean | undefined;
355
355
  is_high_priority?: boolean | undefined;
356
356
  notification_category_id?: string | null | undefined;
357
357
  started_sending_at_millis?: number | undefined;
358
- id: string;
359
358
  status: "skipped";
359
+ id: string;
360
360
  created_at_millis: number;
361
- updated_at_millis: number;
362
- tsx_source: string;
363
- theme_id: string | null;
364
361
  to: {
365
- type: "user-primary-email";
366
362
  user_id: string;
363
+ type: "user-primary-email";
367
364
  } | {
368
- type: "user-custom-emails";
369
365
  user_id: string;
366
+ type: "user-custom-emails";
370
367
  emails: string[];
371
368
  } | {
372
369
  type: "custom-emails";
373
370
  emails: string[];
374
371
  };
372
+ updated_at_millis: number;
373
+ tsx_source: string;
374
+ theme_id: string | null;
375
375
  variables: Record<string, {} | null>;
376
376
  skip_deliverability_check: boolean;
377
377
  scheduled_at_millis: number;
@@ -396,23 +396,26 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
396
396
  skipped_reason: string;
397
397
  skipped_details: Record<string, {} | null>;
398
398
  } | {
399
- id: string;
400
399
  status: "bounced";
400
+ id: string;
401
+ subject: string;
401
402
  created_at_millis: number;
402
- updated_at_millis: number;
403
- tsx_source: string;
404
- theme_id: string | null;
405
403
  to: {
406
- type: "user-primary-email";
407
404
  user_id: string;
405
+ type: "user-primary-email";
408
406
  } | {
409
- type: "user-custom-emails";
410
407
  user_id: string;
408
+ type: "user-custom-emails";
411
409
  emails: string[];
412
410
  } | {
413
411
  type: "custom-emails";
414
412
  emails: string[];
415
413
  };
414
+ html: string | null;
415
+ text: string | null;
416
+ updated_at_millis: number;
417
+ tsx_source: string;
418
+ theme_id: string | null;
416
419
  variables: Record<string, {} | null>;
417
420
  skip_deliverability_check: boolean;
418
421
  scheduled_at_millis: number;
@@ -435,32 +438,32 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
435
438
  has_delivered: boolean;
436
439
  started_rendering_at_millis: number;
437
440
  rendered_at_millis: number;
438
- subject: string;
439
- html: string | null;
440
- text: string | null;
441
441
  is_transactional: boolean;
442
442
  is_high_priority: boolean;
443
443
  notification_category_id: string | null;
444
444
  started_sending_at_millis: number;
445
445
  bounced_at_millis: number;
446
446
  } | {
447
- id: string;
448
447
  status: "delivery-delayed";
448
+ id: string;
449
+ subject: string;
449
450
  created_at_millis: number;
450
- updated_at_millis: number;
451
- tsx_source: string;
452
- theme_id: string | null;
453
451
  to: {
454
- type: "user-primary-email";
455
452
  user_id: string;
453
+ type: "user-primary-email";
456
454
  } | {
457
- type: "user-custom-emails";
458
455
  user_id: string;
456
+ type: "user-custom-emails";
459
457
  emails: string[];
460
458
  } | {
461
459
  type: "custom-emails";
462
460
  emails: string[];
463
461
  };
462
+ html: string | null;
463
+ text: string | null;
464
+ updated_at_millis: number;
465
+ tsx_source: string;
466
+ theme_id: string | null;
464
467
  variables: Record<string, {} | null>;
465
468
  skip_deliverability_check: boolean;
466
469
  scheduled_at_millis: number;
@@ -483,32 +486,32 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
483
486
  has_delivered: boolean;
484
487
  started_rendering_at_millis: number;
485
488
  rendered_at_millis: number;
486
- subject: string;
487
- html: string | null;
488
- text: string | null;
489
489
  is_transactional: boolean;
490
490
  is_high_priority: boolean;
491
491
  notification_category_id: string | null;
492
492
  started_sending_at_millis: number;
493
493
  delivery_delayed_at_millis: number;
494
494
  } | {
495
- id: string;
496
495
  status: "sent";
496
+ id: string;
497
+ subject: string;
497
498
  created_at_millis: number;
498
- updated_at_millis: number;
499
- tsx_source: string;
500
- theme_id: string | null;
501
499
  to: {
502
- type: "user-primary-email";
503
500
  user_id: string;
501
+ type: "user-primary-email";
504
502
  } | {
505
- type: "user-custom-emails";
506
503
  user_id: string;
504
+ type: "user-custom-emails";
507
505
  emails: string[];
508
506
  } | {
509
507
  type: "custom-emails";
510
508
  emails: string[];
511
509
  };
510
+ html: string | null;
511
+ text: string | null;
512
+ updated_at_millis: number;
513
+ tsx_source: string;
514
+ theme_id: string | null;
512
515
  variables: Record<string, {} | null>;
513
516
  skip_deliverability_check: boolean;
514
517
  scheduled_at_millis: number;
@@ -531,9 +534,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
531
534
  has_delivered: boolean;
532
535
  started_rendering_at_millis: number;
533
536
  rendered_at_millis: number;
534
- subject: string;
535
- html: string | null;
536
- text: string | null;
537
537
  is_transactional: boolean;
538
538
  is_high_priority: boolean;
539
539
  notification_category_id: string | null;
@@ -541,23 +541,26 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
541
541
  delivered_at_millis: number;
542
542
  can_have_delivery_info: boolean;
543
543
  } | {
544
- id: string;
545
544
  status: "opened";
545
+ id: string;
546
+ subject: string;
546
547
  created_at_millis: number;
547
- updated_at_millis: number;
548
- tsx_source: string;
549
- theme_id: string | null;
550
548
  to: {
551
- type: "user-primary-email";
552
549
  user_id: string;
550
+ type: "user-primary-email";
553
551
  } | {
554
- type: "user-custom-emails";
555
552
  user_id: string;
553
+ type: "user-custom-emails";
556
554
  emails: string[];
557
555
  } | {
558
556
  type: "custom-emails";
559
557
  emails: string[];
560
558
  };
559
+ html: string | null;
560
+ text: string | null;
561
+ updated_at_millis: number;
562
+ tsx_source: string;
563
+ theme_id: string | null;
561
564
  variables: Record<string, {} | null>;
562
565
  skip_deliverability_check: boolean;
563
566
  scheduled_at_millis: number;
@@ -580,9 +583,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
580
583
  has_delivered: boolean;
581
584
  started_rendering_at_millis: number;
582
585
  rendered_at_millis: number;
583
- subject: string;
584
- html: string | null;
585
- text: string | null;
586
586
  is_transactional: boolean;
587
587
  is_high_priority: boolean;
588
588
  notification_category_id: string | null;
@@ -591,23 +591,26 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
591
591
  can_have_delivery_info: boolean;
592
592
  opened_at_millis: number;
593
593
  } | {
594
- id: string;
595
594
  status: "clicked";
595
+ id: string;
596
+ subject: string;
596
597
  created_at_millis: number;
597
- updated_at_millis: number;
598
- tsx_source: string;
599
- theme_id: string | null;
600
598
  to: {
601
- type: "user-primary-email";
602
599
  user_id: string;
600
+ type: "user-primary-email";
603
601
  } | {
604
- type: "user-custom-emails";
605
602
  user_id: string;
603
+ type: "user-custom-emails";
606
604
  emails: string[];
607
605
  } | {
608
606
  type: "custom-emails";
609
607
  emails: string[];
610
608
  };
609
+ html: string | null;
610
+ text: string | null;
611
+ updated_at_millis: number;
612
+ tsx_source: string;
613
+ theme_id: string | null;
611
614
  variables: Record<string, {} | null>;
612
615
  skip_deliverability_check: boolean;
613
616
  scheduled_at_millis: number;
@@ -630,9 +633,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
630
633
  has_delivered: boolean;
631
634
  started_rendering_at_millis: number;
632
635
  rendered_at_millis: number;
633
- subject: string;
634
- html: string | null;
635
- text: string | null;
636
636
  is_transactional: boolean;
637
637
  is_high_priority: boolean;
638
638
  notification_category_id: string | null;
@@ -641,23 +641,26 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
641
641
  can_have_delivery_info: boolean;
642
642
  clicked_at_millis: number;
643
643
  } | {
644
- id: string;
645
644
  status: "marked-as-spam";
645
+ id: string;
646
+ subject: string;
646
647
  created_at_millis: number;
647
- updated_at_millis: number;
648
- tsx_source: string;
649
- theme_id: string | null;
650
648
  to: {
651
- type: "user-primary-email";
652
649
  user_id: string;
650
+ type: "user-primary-email";
653
651
  } | {
654
- type: "user-custom-emails";
655
652
  user_id: string;
653
+ type: "user-custom-emails";
656
654
  emails: string[];
657
655
  } | {
658
656
  type: "custom-emails";
659
657
  emails: string[];
660
658
  };
659
+ html: string | null;
660
+ text: string | null;
661
+ updated_at_millis: number;
662
+ tsx_source: string;
663
+ theme_id: string | null;
661
664
  variables: Record<string, {} | null>;
662
665
  skip_deliverability_check: boolean;
663
666
  scheduled_at_millis: number;
@@ -680,9 +683,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
680
683
  has_delivered: boolean;
681
684
  started_rendering_at_millis: number;
682
685
  rendered_at_millis: number;
683
- subject: string;
684
- html: string | null;
685
- text: string | null;
686
686
  is_transactional: boolean;
687
687
  is_high_priority: boolean;
688
688
  notification_category_id: string | null;
@@ -695,11 +695,11 @@ declare const emailOutboxUpdateSchema: import("yup").ObjectSchema<{
695
695
  tsx_source: string | undefined;
696
696
  theme_id: string | null | undefined;
697
697
  to: {
698
- type: "user-primary-email";
699
698
  user_id: string;
699
+ type: "user-primary-email";
700
700
  } | {
701
- type: "user-custom-emails";
702
701
  user_id: string;
702
+ type: "user-custom-emails";
703
703
  emails: string[];
704
704
  } | {
705
705
  type: "custom-emails";
@@ -722,23 +722,23 @@ declare const emailOutboxUpdateSchema: import("yup").ObjectSchema<{
722
722
  }, "">;
723
723
  declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
724
724
  serverReadSchema: import("yup").MixedSchema<{
725
- id: string;
726
725
  status: "paused";
726
+ id: string;
727
727
  created_at_millis: number;
728
- updated_at_millis: number;
729
- tsx_source: string;
730
- theme_id: string | null;
731
728
  to: {
732
- type: "user-primary-email";
733
729
  user_id: string;
730
+ type: "user-primary-email";
734
731
  } | {
735
- type: "user-custom-emails";
736
732
  user_id: string;
733
+ type: "user-custom-emails";
737
734
  emails: string[];
738
735
  } | {
739
736
  type: "custom-emails";
740
737
  emails: string[];
741
738
  };
739
+ updated_at_millis: number;
740
+ tsx_source: string;
741
+ theme_id: string | null;
742
742
  variables: Record<string, {} | null>;
743
743
  skip_deliverability_check: boolean;
744
744
  scheduled_at_millis: number;
@@ -760,23 +760,23 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
760
760
  has_rendered: boolean;
761
761
  has_delivered: boolean;
762
762
  } | {
763
- id: string;
764
763
  status: "preparing";
764
+ id: string;
765
765
  created_at_millis: number;
766
- updated_at_millis: number;
767
- tsx_source: string;
768
- theme_id: string | null;
769
766
  to: {
770
- type: "user-primary-email";
771
767
  user_id: string;
768
+ type: "user-primary-email";
772
769
  } | {
773
- type: "user-custom-emails";
774
770
  user_id: string;
771
+ type: "user-custom-emails";
775
772
  emails: string[];
776
773
  } | {
777
774
  type: "custom-emails";
778
775
  emails: string[];
779
776
  };
777
+ updated_at_millis: number;
778
+ tsx_source: string;
779
+ theme_id: string | null;
780
780
  variables: Record<string, {} | null>;
781
781
  skip_deliverability_check: boolean;
782
782
  scheduled_at_millis: number;
@@ -798,23 +798,23 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
798
798
  has_rendered: boolean;
799
799
  has_delivered: boolean;
800
800
  } | {
801
- id: string;
802
801
  status: "rendering";
802
+ id: string;
803
803
  created_at_millis: number;
804
- updated_at_millis: number;
805
- tsx_source: string;
806
- theme_id: string | null;
807
804
  to: {
808
- type: "user-primary-email";
809
805
  user_id: string;
806
+ type: "user-primary-email";
810
807
  } | {
811
- type: "user-custom-emails";
812
808
  user_id: string;
809
+ type: "user-custom-emails";
813
810
  emails: string[];
814
811
  } | {
815
812
  type: "custom-emails";
816
813
  emails: string[];
817
814
  };
815
+ updated_at_millis: number;
816
+ tsx_source: string;
817
+ theme_id: string | null;
818
818
  variables: Record<string, {} | null>;
819
819
  skip_deliverability_check: boolean;
820
820
  scheduled_at_millis: number;
@@ -837,23 +837,23 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
837
837
  has_delivered: boolean;
838
838
  started_rendering_at_millis: number;
839
839
  } | {
840
- id: string;
841
840
  status: "render-error";
841
+ id: string;
842
842
  created_at_millis: number;
843
- updated_at_millis: number;
844
- tsx_source: string;
845
- theme_id: string | null;
846
843
  to: {
847
- type: "user-primary-email";
848
844
  user_id: string;
845
+ type: "user-primary-email";
849
846
  } | {
850
- type: "user-custom-emails";
851
847
  user_id: string;
848
+ type: "user-custom-emails";
852
849
  emails: string[];
853
850
  } | {
854
851
  type: "custom-emails";
855
852
  emails: string[];
856
853
  };
854
+ updated_at_millis: number;
855
+ tsx_source: string;
856
+ theme_id: string | null;
857
857
  variables: Record<string, {} | null>;
858
858
  skip_deliverability_check: boolean;
859
859
  scheduled_at_millis: number;
@@ -878,23 +878,26 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
878
878
  rendered_at_millis: number;
879
879
  render_error: string;
880
880
  } | {
881
- id: string;
882
881
  status: "scheduled";
882
+ id: string;
883
+ subject: string;
883
884
  created_at_millis: number;
884
- updated_at_millis: number;
885
- tsx_source: string;
886
- theme_id: string | null;
887
885
  to: {
888
- type: "user-primary-email";
889
886
  user_id: string;
887
+ type: "user-primary-email";
890
888
  } | {
891
- type: "user-custom-emails";
892
889
  user_id: string;
890
+ type: "user-custom-emails";
893
891
  emails: string[];
894
892
  } | {
895
893
  type: "custom-emails";
896
894
  emails: string[];
897
895
  };
896
+ html: string | null;
897
+ text: string | null;
898
+ updated_at_millis: number;
899
+ tsx_source: string;
900
+ theme_id: string | null;
898
901
  variables: Record<string, {} | null>;
899
902
  skip_deliverability_check: boolean;
900
903
  scheduled_at_millis: number;
@@ -917,30 +920,30 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
917
920
  has_delivered: boolean;
918
921
  started_rendering_at_millis: number;
919
922
  rendered_at_millis: number;
920
- subject: string;
921
- html: string | null;
922
- text: string | null;
923
923
  is_transactional: boolean;
924
924
  is_high_priority: boolean;
925
925
  notification_category_id: string | null;
926
926
  } | {
927
- id: string;
928
927
  status: "queued";
928
+ id: string;
929
+ subject: string;
929
930
  created_at_millis: number;
930
- updated_at_millis: number;
931
- tsx_source: string;
932
- theme_id: string | null;
933
931
  to: {
934
- type: "user-primary-email";
935
932
  user_id: string;
933
+ type: "user-primary-email";
936
934
  } | {
937
- type: "user-custom-emails";
938
935
  user_id: string;
936
+ type: "user-custom-emails";
939
937
  emails: string[];
940
938
  } | {
941
939
  type: "custom-emails";
942
940
  emails: string[];
943
941
  };
942
+ html: string | null;
943
+ text: string | null;
944
+ updated_at_millis: number;
945
+ tsx_source: string;
946
+ theme_id: string | null;
944
947
  variables: Record<string, {} | null>;
945
948
  skip_deliverability_check: boolean;
946
949
  scheduled_at_millis: number;
@@ -963,30 +966,30 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
963
966
  has_delivered: boolean;
964
967
  started_rendering_at_millis: number;
965
968
  rendered_at_millis: number;
966
- subject: string;
967
- html: string | null;
968
- text: string | null;
969
969
  is_transactional: boolean;
970
970
  is_high_priority: boolean;
971
971
  notification_category_id: string | null;
972
972
  } | {
973
- id: string;
974
973
  status: "sending";
974
+ id: string;
975
+ subject: string;
975
976
  created_at_millis: number;
976
- updated_at_millis: number;
977
- tsx_source: string;
978
- theme_id: string | null;
979
977
  to: {
980
- type: "user-primary-email";
981
978
  user_id: string;
979
+ type: "user-primary-email";
982
980
  } | {
983
- type: "user-custom-emails";
984
981
  user_id: string;
982
+ type: "user-custom-emails";
985
983
  emails: string[];
986
984
  } | {
987
985
  type: "custom-emails";
988
986
  emails: string[];
989
987
  };
988
+ html: string | null;
989
+ text: string | null;
990
+ updated_at_millis: number;
991
+ tsx_source: string;
992
+ theme_id: string | null;
990
993
  variables: Record<string, {} | null>;
991
994
  skip_deliverability_check: boolean;
992
995
  scheduled_at_millis: number;
@@ -1009,31 +1012,31 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1009
1012
  has_delivered: boolean;
1010
1013
  started_rendering_at_millis: number;
1011
1014
  rendered_at_millis: number;
1012
- subject: string;
1013
- html: string | null;
1014
- text: string | null;
1015
1015
  is_transactional: boolean;
1016
1016
  is_high_priority: boolean;
1017
1017
  notification_category_id: string | null;
1018
1018
  started_sending_at_millis: number;
1019
1019
  } | {
1020
- id: string;
1021
1020
  status: "server-error";
1021
+ id: string;
1022
+ subject: string;
1022
1023
  created_at_millis: number;
1023
- updated_at_millis: number;
1024
- tsx_source: string;
1025
- theme_id: string | null;
1026
1024
  to: {
1027
- type: "user-primary-email";
1028
1025
  user_id: string;
1026
+ type: "user-primary-email";
1029
1027
  } | {
1030
- type: "user-custom-emails";
1031
1028
  user_id: string;
1029
+ type: "user-custom-emails";
1032
1030
  emails: string[];
1033
1031
  } | {
1034
1032
  type: "custom-emails";
1035
1033
  emails: string[];
1036
1034
  };
1035
+ html: string | null;
1036
+ text: string | null;
1037
+ updated_at_millis: number;
1038
+ tsx_source: string;
1039
+ theme_id: string | null;
1037
1040
  variables: Record<string, {} | null>;
1038
1041
  skip_deliverability_check: boolean;
1039
1042
  scheduled_at_millis: number;
@@ -1056,9 +1059,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1056
1059
  has_delivered: boolean;
1057
1060
  started_rendering_at_millis: number;
1058
1061
  rendered_at_millis: number;
1059
- subject: string;
1060
- html: string | null;
1061
- text: string | null;
1062
1062
  is_transactional: boolean;
1063
1063
  is_high_priority: boolean;
1064
1064
  notification_category_id: string | null;
@@ -1066,32 +1066,32 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1066
1066
  error_at_millis: number;
1067
1067
  server_error: string;
1068
1068
  } | {
1069
- started_rendering_at_millis?: number | undefined;
1070
- rendered_at_millis?: number | undefined;
1071
1069
  subject?: string | undefined;
1072
1070
  html?: string | null | undefined;
1073
1071
  text?: string | null | undefined;
1072
+ started_rendering_at_millis?: number | undefined;
1073
+ rendered_at_millis?: number | undefined;
1074
1074
  is_transactional?: boolean | undefined;
1075
1075
  is_high_priority?: boolean | undefined;
1076
1076
  notification_category_id?: string | null | undefined;
1077
1077
  started_sending_at_millis?: number | undefined;
1078
- id: string;
1079
1078
  status: "skipped";
1079
+ id: string;
1080
1080
  created_at_millis: number;
1081
- updated_at_millis: number;
1082
- tsx_source: string;
1083
- theme_id: string | null;
1084
1081
  to: {
1085
- type: "user-primary-email";
1086
1082
  user_id: string;
1083
+ type: "user-primary-email";
1087
1084
  } | {
1088
- type: "user-custom-emails";
1089
1085
  user_id: string;
1086
+ type: "user-custom-emails";
1090
1087
  emails: string[];
1091
1088
  } | {
1092
1089
  type: "custom-emails";
1093
1090
  emails: string[];
1094
1091
  };
1092
+ updated_at_millis: number;
1093
+ tsx_source: string;
1094
+ theme_id: string | null;
1095
1095
  variables: Record<string, {} | null>;
1096
1096
  skip_deliverability_check: boolean;
1097
1097
  scheduled_at_millis: number;
@@ -1116,23 +1116,26 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1116
1116
  skipped_reason: string;
1117
1117
  skipped_details: Record<string, {} | null>;
1118
1118
  } | {
1119
- id: string;
1120
1119
  status: "bounced";
1120
+ id: string;
1121
+ subject: string;
1121
1122
  created_at_millis: number;
1122
- updated_at_millis: number;
1123
- tsx_source: string;
1124
- theme_id: string | null;
1125
1123
  to: {
1126
- type: "user-primary-email";
1127
1124
  user_id: string;
1125
+ type: "user-primary-email";
1128
1126
  } | {
1129
- type: "user-custom-emails";
1130
1127
  user_id: string;
1128
+ type: "user-custom-emails";
1131
1129
  emails: string[];
1132
1130
  } | {
1133
1131
  type: "custom-emails";
1134
1132
  emails: string[];
1135
1133
  };
1134
+ html: string | null;
1135
+ text: string | null;
1136
+ updated_at_millis: number;
1137
+ tsx_source: string;
1138
+ theme_id: string | null;
1136
1139
  variables: Record<string, {} | null>;
1137
1140
  skip_deliverability_check: boolean;
1138
1141
  scheduled_at_millis: number;
@@ -1155,32 +1158,32 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1155
1158
  has_delivered: boolean;
1156
1159
  started_rendering_at_millis: number;
1157
1160
  rendered_at_millis: number;
1158
- subject: string;
1159
- html: string | null;
1160
- text: string | null;
1161
1161
  is_transactional: boolean;
1162
1162
  is_high_priority: boolean;
1163
1163
  notification_category_id: string | null;
1164
1164
  started_sending_at_millis: number;
1165
1165
  bounced_at_millis: number;
1166
1166
  } | {
1167
- id: string;
1168
1167
  status: "delivery-delayed";
1168
+ id: string;
1169
+ subject: string;
1169
1170
  created_at_millis: number;
1170
- updated_at_millis: number;
1171
- tsx_source: string;
1172
- theme_id: string | null;
1173
1171
  to: {
1174
- type: "user-primary-email";
1175
1172
  user_id: string;
1173
+ type: "user-primary-email";
1176
1174
  } | {
1177
- type: "user-custom-emails";
1178
1175
  user_id: string;
1176
+ type: "user-custom-emails";
1179
1177
  emails: string[];
1180
1178
  } | {
1181
1179
  type: "custom-emails";
1182
1180
  emails: string[];
1183
1181
  };
1182
+ html: string | null;
1183
+ text: string | null;
1184
+ updated_at_millis: number;
1185
+ tsx_source: string;
1186
+ theme_id: string | null;
1184
1187
  variables: Record<string, {} | null>;
1185
1188
  skip_deliverability_check: boolean;
1186
1189
  scheduled_at_millis: number;
@@ -1203,32 +1206,32 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1203
1206
  has_delivered: boolean;
1204
1207
  started_rendering_at_millis: number;
1205
1208
  rendered_at_millis: number;
1206
- subject: string;
1207
- html: string | null;
1208
- text: string | null;
1209
1209
  is_transactional: boolean;
1210
1210
  is_high_priority: boolean;
1211
1211
  notification_category_id: string | null;
1212
1212
  started_sending_at_millis: number;
1213
1213
  delivery_delayed_at_millis: number;
1214
1214
  } | {
1215
- id: string;
1216
1215
  status: "sent";
1216
+ id: string;
1217
+ subject: string;
1217
1218
  created_at_millis: number;
1218
- updated_at_millis: number;
1219
- tsx_source: string;
1220
- theme_id: string | null;
1221
1219
  to: {
1222
- type: "user-primary-email";
1223
1220
  user_id: string;
1221
+ type: "user-primary-email";
1224
1222
  } | {
1225
- type: "user-custom-emails";
1226
1223
  user_id: string;
1224
+ type: "user-custom-emails";
1227
1225
  emails: string[];
1228
1226
  } | {
1229
1227
  type: "custom-emails";
1230
1228
  emails: string[];
1231
1229
  };
1230
+ html: string | null;
1231
+ text: string | null;
1232
+ updated_at_millis: number;
1233
+ tsx_source: string;
1234
+ theme_id: string | null;
1232
1235
  variables: Record<string, {} | null>;
1233
1236
  skip_deliverability_check: boolean;
1234
1237
  scheduled_at_millis: number;
@@ -1251,9 +1254,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1251
1254
  has_delivered: boolean;
1252
1255
  started_rendering_at_millis: number;
1253
1256
  rendered_at_millis: number;
1254
- subject: string;
1255
- html: string | null;
1256
- text: string | null;
1257
1257
  is_transactional: boolean;
1258
1258
  is_high_priority: boolean;
1259
1259
  notification_category_id: string | null;
@@ -1261,23 +1261,26 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1261
1261
  delivered_at_millis: number;
1262
1262
  can_have_delivery_info: boolean;
1263
1263
  } | {
1264
- id: string;
1265
1264
  status: "opened";
1265
+ id: string;
1266
+ subject: string;
1266
1267
  created_at_millis: number;
1267
- updated_at_millis: number;
1268
- tsx_source: string;
1269
- theme_id: string | null;
1270
1268
  to: {
1271
- type: "user-primary-email";
1272
1269
  user_id: string;
1270
+ type: "user-primary-email";
1273
1271
  } | {
1274
- type: "user-custom-emails";
1275
1272
  user_id: string;
1273
+ type: "user-custom-emails";
1276
1274
  emails: string[];
1277
1275
  } | {
1278
1276
  type: "custom-emails";
1279
1277
  emails: string[];
1280
1278
  };
1279
+ html: string | null;
1280
+ text: string | null;
1281
+ updated_at_millis: number;
1282
+ tsx_source: string;
1283
+ theme_id: string | null;
1281
1284
  variables: Record<string, {} | null>;
1282
1285
  skip_deliverability_check: boolean;
1283
1286
  scheduled_at_millis: number;
@@ -1300,9 +1303,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1300
1303
  has_delivered: boolean;
1301
1304
  started_rendering_at_millis: number;
1302
1305
  rendered_at_millis: number;
1303
- subject: string;
1304
- html: string | null;
1305
- text: string | null;
1306
1306
  is_transactional: boolean;
1307
1307
  is_high_priority: boolean;
1308
1308
  notification_category_id: string | null;
@@ -1311,23 +1311,26 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1311
1311
  can_have_delivery_info: boolean;
1312
1312
  opened_at_millis: number;
1313
1313
  } | {
1314
- id: string;
1315
1314
  status: "clicked";
1315
+ id: string;
1316
+ subject: string;
1316
1317
  created_at_millis: number;
1317
- updated_at_millis: number;
1318
- tsx_source: string;
1319
- theme_id: string | null;
1320
1318
  to: {
1321
- type: "user-primary-email";
1322
1319
  user_id: string;
1320
+ type: "user-primary-email";
1323
1321
  } | {
1324
- type: "user-custom-emails";
1325
1322
  user_id: string;
1323
+ type: "user-custom-emails";
1326
1324
  emails: string[];
1327
1325
  } | {
1328
1326
  type: "custom-emails";
1329
1327
  emails: string[];
1330
1328
  };
1329
+ html: string | null;
1330
+ text: string | null;
1331
+ updated_at_millis: number;
1332
+ tsx_source: string;
1333
+ theme_id: string | null;
1331
1334
  variables: Record<string, {} | null>;
1332
1335
  skip_deliverability_check: boolean;
1333
1336
  scheduled_at_millis: number;
@@ -1350,9 +1353,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1350
1353
  has_delivered: boolean;
1351
1354
  started_rendering_at_millis: number;
1352
1355
  rendered_at_millis: number;
1353
- subject: string;
1354
- html: string | null;
1355
- text: string | null;
1356
1356
  is_transactional: boolean;
1357
1357
  is_high_priority: boolean;
1358
1358
  notification_category_id: string | null;
@@ -1361,23 +1361,26 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1361
1361
  can_have_delivery_info: boolean;
1362
1362
  clicked_at_millis: number;
1363
1363
  } | {
1364
- id: string;
1365
1364
  status: "marked-as-spam";
1365
+ id: string;
1366
+ subject: string;
1366
1367
  created_at_millis: number;
1367
- updated_at_millis: number;
1368
- tsx_source: string;
1369
- theme_id: string | null;
1370
1368
  to: {
1371
- type: "user-primary-email";
1372
1369
  user_id: string;
1370
+ type: "user-primary-email";
1373
1371
  } | {
1374
- type: "user-custom-emails";
1375
1372
  user_id: string;
1373
+ type: "user-custom-emails";
1376
1374
  emails: string[];
1377
1375
  } | {
1378
1376
  type: "custom-emails";
1379
1377
  emails: string[];
1380
1378
  };
1379
+ html: string | null;
1380
+ text: string | null;
1381
+ updated_at_millis: number;
1382
+ tsx_source: string;
1383
+ theme_id: string | null;
1381
1384
  variables: Record<string, {} | null>;
1382
1385
  skip_deliverability_check: boolean;
1383
1386
  scheduled_at_millis: number;
@@ -1400,9 +1403,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1400
1403
  has_delivered: boolean;
1401
1404
  started_rendering_at_millis: number;
1402
1405
  rendered_at_millis: number;
1403
- subject: string;
1404
- html: string | null;
1405
- text: string | null;
1406
1406
  is_transactional: boolean;
1407
1407
  is_high_priority: boolean;
1408
1408
  notification_category_id: string | null;
@@ -1415,11 +1415,11 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1415
1415
  tsx_source: string | undefined;
1416
1416
  theme_id: string | null | undefined;
1417
1417
  to: {
1418
- type: "user-primary-email";
1419
1418
  user_id: string;
1419
+ type: "user-primary-email";
1420
1420
  } | {
1421
- type: "user-custom-emails";
1422
1421
  user_id: string;
1422
+ type: "user-custom-emails";
1423
1423
  emails: string[];
1424
1424
  } | {
1425
1425
  type: "custom-emails";