@hexclave/shared 1.0.55 → 1.0.56

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