@hexclave/shared 1.0.0 → 1.0.2

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