@hexclave/shared 1.0.54 → 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-DuboQXpC.d.ts → admin-interface-sca4FCAt.d.ts} +11 -11
  2. package/dist/{admin-interface-DuboQXpC.d.ts.map → admin-interface-sca4FCAt.d.ts.map} +1 -1
  3. package/dist/{admin-metrics-IxLyJ-cP.d.ts → admin-metrics-BTgqWZXI.d.ts} +18 -18
  4. package/dist/{admin-metrics-IxLyJ-cP.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 +4 -4
  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-Ca6UZywk.d.ts → client-interface-BQakINAH.d.ts} +10 -10
  19. package/dist/{client-interface-Ca6UZywk.d.ts.map → client-interface-BQakINAH.d.ts.map} +1 -1
  20. package/dist/config/schema.d.ts +1 -1
  21. package/dist/config-authoring.d.ts +1 -1
  22. package/dist/{current-user-DNxac4sS.d.ts → current-user-DosTPiF7.d.ts} +16 -16
  23. package/dist/{current-user-DNxac4sS.d.ts.map → current-user-DosTPiF7.d.ts.map} +1 -1
  24. package/dist/{email-outbox-ILs0LlGd.d.ts → email-outbox-C07KfbmL.d.ts} +155 -155
  25. package/dist/{email-outbox-ILs0LlGd.d.ts.map → email-outbox-C07KfbmL.d.ts.map} +1 -1
  26. package/dist/esm/ai/hexclave-ask.d.ts +37 -0
  27. package/dist/esm/ai/hexclave-ask.d.ts.map +1 -0
  28. package/dist/esm/ai/hexclave-ask.js +117 -0
  29. package/dist/esm/ai/hexclave-ask.js.map +1 -0
  30. package/dist/esm/ai/hexclave-ask.test.d.ts +1 -0
  31. package/dist/esm/ai/hexclave-ask.test.js +47 -0
  32. package/dist/esm/ai/hexclave-ask.test.js.map +1 -0
  33. package/dist/esm/ai/unified-prompts/reminders.js +4 -4
  34. package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
  35. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -1
  36. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  37. package/dist/esm/ai/unified-prompts/skill-site-prompt.js +2 -2
  38. package/dist/esm/ai/unified-prompts/skill-site-prompt.js.map +1 -1
  39. package/dist/esm/config/schema.d.ts +112 -112
  40. package/dist/esm/interface/admin-interface.js +1 -1
  41. package/dist/esm/interface/admin-metrics.d.ts +17 -17
  42. package/dist/esm/interface/client-interface.js +1 -1
  43. package/dist/esm/interface/conversations.d.ts +36 -36
  44. package/dist/esm/interface/crud/current-user.d.ts +15 -15
  45. package/dist/esm/interface/crud/email-outbox.d.ts +154 -154
  46. package/dist/esm/interface/crud/invoices.d.ts +2 -2
  47. package/dist/esm/interface/crud/products.d.ts +20 -20
  48. package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
  49. package/dist/esm/interface/crud/projects.d.ts +94 -94
  50. package/dist/esm/interface/crud/team-member-profiles.d.ts +30 -30
  51. package/dist/esm/interface/crud/transactions.d.ts +23 -23
  52. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  53. package/dist/esm/interface/crud/users.d.ts +14 -14
  54. package/dist/esm/interface/plan-usage.d.ts +2 -2
  55. package/dist/esm/interface/server-interface.js +1 -1
  56. package/dist/esm/interface/webhooks.d.ts +2 -2
  57. package/dist/esm/known-errors.d.ts +4 -4
  58. package/dist/esm/schema-fields.d.ts +5 -5
  59. package/dist/esm/sessions.d.ts +1 -1
  60. package/dist/esm/utils/promises.js +1 -1
  61. package/dist/helpers/password.d.ts +1 -1
  62. package/dist/helpers/production-mode.d.ts +1 -1
  63. package/dist/index.d.ts +4 -4
  64. package/dist/interface/admin-interface.d.ts +2 -2
  65. package/dist/interface/admin-interface.js +1 -1
  66. package/dist/interface/admin-metrics.d.ts +1 -1
  67. package/dist/interface/client-interface.d.ts +1 -1
  68. package/dist/interface/client-interface.js +1 -1
  69. package/dist/interface/conversations.d.ts +36 -36
  70. package/dist/interface/crud/current-user.d.ts +1 -1
  71. package/dist/interface/crud/email-outbox.d.ts +1 -1
  72. package/dist/interface/crud/invoices.d.ts +1 -1
  73. package/dist/interface/crud/products.d.ts +1 -1
  74. package/dist/interface/crud/project-api-keys.d.ts +1 -1
  75. package/dist/interface/crud/projects.d.ts +1 -1
  76. package/dist/interface/crud/team-member-profiles.d.ts +1 -1
  77. package/dist/interface/crud/transactions.d.ts +1 -1
  78. package/dist/interface/crud/users.d.ts +1 -1
  79. package/dist/interface/plan-usage.d.ts +1 -1
  80. package/dist/interface/server-interface.d.ts +1 -1
  81. package/dist/interface/server-interface.js +1 -1
  82. package/dist/interface/webhooks.d.ts +1 -1
  83. package/dist/{invoices-CHo9YKbI.d.ts → invoices-U65KzAZX.d.ts} +3 -3
  84. package/dist/{invoices-CHo9YKbI.d.ts.map → invoices-U65KzAZX.d.ts.map} +1 -1
  85. package/dist/{known-errors-g7JC8z58.d.ts → known-errors-BFf8SVm8.d.ts} +5 -5
  86. package/dist/{known-errors-g7JC8z58.d.ts.map → known-errors-BFf8SVm8.d.ts.map} +1 -1
  87. package/dist/known-errors.d.ts +1 -1
  88. package/dist/{plan-usage-D0kWw4HR.d.ts → plan-usage-CFwV688o.d.ts} +3 -3
  89. package/dist/{plan-usage-D0kWw4HR.d.ts.map → plan-usage-CFwV688o.d.ts.map} +1 -1
  90. package/dist/{products-C98fCS-1.d.ts → products-DzedG6oU.d.ts} +21 -21
  91. package/dist/{products-C98fCS-1.d.ts.map → products-DzedG6oU.d.ts.map} +1 -1
  92. package/dist/{project-api-keys-P97ElZZe.d.ts → project-api-keys-Di2ENRam.d.ts} +5 -5
  93. package/dist/{project-api-keys-P97ElZZe.d.ts.map → project-api-keys-Di2ENRam.d.ts.map} +1 -1
  94. package/dist/{projects-BM2a4sfO.d.ts → projects-W2I5ueag.d.ts} +95 -95
  95. package/dist/{projects-BM2a4sfO.d.ts.map → projects-W2I5ueag.d.ts.map} +1 -1
  96. package/dist/{schema-Bq1TSMFV.d.ts → schema-BXM8B2V2.d.ts} +113 -113
  97. package/dist/{schema-Bq1TSMFV.d.ts.map → schema-BXM8B2V2.d.ts.map} +1 -1
  98. package/dist/{schema-fields-Cch3V5nd.d.ts → schema-fields-DhryPaD4.d.ts} +6 -6
  99. package/dist/{schema-fields-Cch3V5nd.d.ts.map → schema-fields-DhryPaD4.d.ts.map} +1 -1
  100. package/dist/schema-fields.d.ts +1 -1
  101. package/dist/{server-interface-yKuDPrQI.d.ts → server-interface--aZDYxx4.d.ts} +8 -8
  102. package/dist/{server-interface-yKuDPrQI.d.ts.map → server-interface--aZDYxx4.d.ts.map} +1 -1
  103. package/dist/{sessions-DCTyJhi3.d.ts → sessions-CKNkS48M.d.ts} +3 -3
  104. package/dist/{sessions-DCTyJhi3.d.ts.map → sessions-CKNkS48M.d.ts.map} +1 -1
  105. package/dist/sessions.d.ts +1 -1
  106. package/dist/{team-member-profiles-CaD1OJqt.d.ts → team-member-profiles-BhcD2OP5.d.ts} +31 -31
  107. package/dist/{team-member-profiles-CaD1OJqt.d.ts.map → team-member-profiles-BhcD2OP5.d.ts.map} +1 -1
  108. package/dist/{transactions-CrAZLdGo.d.ts → transactions-icyjJzs-.d.ts} +24 -24
  109. package/dist/transactions-icyjJzs-.d.ts.map +1 -0
  110. package/dist/{users-DSpJgn9Z.d.ts → users-DMNuqLTW.d.ts} +16 -16
  111. package/dist/{users-DSpJgn9Z.d.ts.map → users-DMNuqLTW.d.ts.map} +1 -1
  112. package/dist/utils/promises.js +1 -1
  113. package/dist/{webhooks-_aXIgZBW.d.ts → webhooks-8Ts1Clcb.d.ts} +3 -3
  114. package/dist/{webhooks-_aXIgZBW.d.ts.map → webhooks-8Ts1Clcb.d.ts.map} +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 +4 -4
  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-CrAZLdGo.d.ts.map +0 -1
@@ -5,6 +5,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
5
5
  id: string;
6
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
12
  type: "user-primary-email";
10
13
  user_id: string;
@@ -16,9 +19,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
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;
@@ -43,6 +43,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
43
43
  id: string;
44
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
50
  type: "user-primary-email";
48
51
  user_id: string;
@@ -54,9 +57,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
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;
@@ -81,6 +81,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
81
81
  id: string;
82
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
88
  type: "user-primary-email";
86
89
  user_id: string;
@@ -92,9 +95,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
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;
@@ -120,6 +120,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
120
120
  id: string;
121
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
127
  type: "user-primary-email";
125
128
  user_id: string;
@@ -131,9 +134,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
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;
@@ -160,10 +160,10 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
160
160
  } | {
161
161
  id: string;
162
162
  status: "scheduled";
163
- subject: string;
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
168
  type: "user-primary-email";
169
169
  user_id: string;
@@ -175,9 +175,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
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,16 +197,19 @@ 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
207
  id: string;
208
208
  status: "queued";
209
- subject: string;
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
214
  type: "user-primary-email";
215
215
  user_id: string;
@@ -221,9 +221,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
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,16 +243,19 @@ 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
253
  id: string;
254
254
  status: "sending";
255
- subject: string;
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
260
  type: "user-primary-email";
261
261
  user_id: string;
@@ -267,9 +267,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
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,6 +289,9 @@ 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;
@@ -299,10 +299,10 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
299
299
  } | {
300
300
  id: string;
301
301
  status: "server-error";
302
- subject: string;
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
307
  type: "user-primary-email";
308
308
  user_id: string;
@@ -314,9 +314,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
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,11 +346,11 @@ 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;
@@ -358,6 +358,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
358
358
  id: string;
359
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
365
  type: "user-primary-email";
363
366
  user_id: string;
@@ -369,9 +372,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
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;
@@ -398,10 +398,10 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
398
398
  } | {
399
399
  id: string;
400
400
  status: "bounced";
401
- subject: string;
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
406
  type: "user-primary-email";
407
407
  user_id: string;
@@ -413,9 +413,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
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,6 +435,9 @@ 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;
@@ -446,10 +446,10 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
446
446
  } | {
447
447
  id: string;
448
448
  status: "delivery-delayed";
449
- subject: string;
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
454
  type: "user-primary-email";
455
455
  user_id: string;
@@ -461,9 +461,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
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,6 +483,9 @@ 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;
@@ -494,10 +494,10 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
494
494
  } | {
495
495
  id: string;
496
496
  status: "sent";
497
- subject: string;
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
502
  type: "user-primary-email";
503
503
  user_id: string;
@@ -509,9 +509,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
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;
@@ -543,10 +543,10 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
543
543
  } | {
544
544
  id: string;
545
545
  status: "opened";
546
- subject: string;
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
551
  type: "user-primary-email";
552
552
  user_id: string;
@@ -558,9 +558,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
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;
@@ -593,10 +593,10 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
593
593
  } | {
594
594
  id: string;
595
595
  status: "clicked";
596
- subject: string;
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
601
  type: "user-primary-email";
602
602
  user_id: string;
@@ -608,9 +608,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
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;
@@ -643,10 +643,10 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
643
643
  } | {
644
644
  id: string;
645
645
  status: "marked-as-spam";
646
- subject: string;
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
651
  type: "user-primary-email";
652
652
  user_id: string;
@@ -658,9 +658,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
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;
@@ -725,6 +725,9 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
725
725
  id: string;
726
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
732
  type: "user-primary-email";
730
733
  user_id: string;
@@ -736,9 +739,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
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;
@@ -763,6 +763,9 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
763
763
  id: string;
764
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
770
  type: "user-primary-email";
768
771
  user_id: string;
@@ -774,9 +777,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
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;
@@ -801,6 +801,9 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
801
801
  id: string;
802
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
808
  type: "user-primary-email";
806
809
  user_id: string;
@@ -812,9 +815,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
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;
@@ -840,6 +840,9 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
840
840
  id: string;
841
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
847
  type: "user-primary-email";
845
848
  user_id: string;
@@ -851,9 +854,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
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;
@@ -880,10 +880,10 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
880
880
  } | {
881
881
  id: string;
882
882
  status: "scheduled";
883
- subject: string;
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
888
  type: "user-primary-email";
889
889
  user_id: string;
@@ -895,9 +895,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
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,16 +917,19 @@ declare const emailOutboxCrud: import("../../crud").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
927
  id: string;
928
928
  status: "queued";
929
- subject: string;
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
934
  type: "user-primary-email";
935
935
  user_id: string;
@@ -941,9 +941,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
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,16 +963,19 @@ declare const emailOutboxCrud: import("../../crud").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
973
  id: string;
974
974
  status: "sending";
975
- subject: string;
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
980
  type: "user-primary-email";
981
981
  user_id: string;
@@ -987,9 +987,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
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,6 +1009,9 @@ declare const emailOutboxCrud: import("../../crud").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;
@@ -1019,10 +1019,10 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1019
1019
  } | {
1020
1020
  id: string;
1021
1021
  status: "server-error";
1022
- subject: string;
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
1027
  type: "user-primary-email";
1028
1028
  user_id: string;
@@ -1034,9 +1034,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
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: import("../../crud").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,11 +1066,11 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1066
1066
  error_at_millis: number;
1067
1067
  server_error: string;
1068
1068
  } | {
1069
+ started_rendering_at_millis?: number | undefined;
1070
+ rendered_at_millis?: number | undefined;
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;
@@ -1078,6 +1078,9 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1078
1078
  id: string;
1079
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
1085
  type: "user-primary-email";
1083
1086
  user_id: string;
@@ -1089,9 +1092,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
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;
@@ -1118,10 +1118,10 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1118
1118
  } | {
1119
1119
  id: string;
1120
1120
  status: "bounced";
1121
- subject: string;
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
1126
  type: "user-primary-email";
1127
1127
  user_id: string;
@@ -1133,9 +1133,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
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,6 +1155,9 @@ declare const emailOutboxCrud: import("../../crud").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;
@@ -1166,10 +1166,10 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1166
1166
  } | {
1167
1167
  id: string;
1168
1168
  status: "delivery-delayed";
1169
- subject: string;
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
1174
  type: "user-primary-email";
1175
1175
  user_id: string;
@@ -1181,9 +1181,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
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,6 +1203,9 @@ declare const emailOutboxCrud: import("../../crud").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;
@@ -1214,10 +1214,10 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1214
1214
  } | {
1215
1215
  id: string;
1216
1216
  status: "sent";
1217
- subject: string;
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
1222
  type: "user-primary-email";
1223
1223
  user_id: string;
@@ -1229,9 +1229,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
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: import("../../crud").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;
@@ -1263,10 +1263,10 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1263
1263
  } | {
1264
1264
  id: string;
1265
1265
  status: "opened";
1266
- subject: string;
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
1271
  type: "user-primary-email";
1272
1272
  user_id: string;
@@ -1278,9 +1278,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
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: import("../../crud").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;
@@ -1313,10 +1313,10 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1313
1313
  } | {
1314
1314
  id: string;
1315
1315
  status: "clicked";
1316
- subject: string;
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
1321
  type: "user-primary-email";
1322
1322
  user_id: string;
@@ -1328,9 +1328,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
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: import("../../crud").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;
@@ -1363,10 +1363,10 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
1363
1363
  } | {
1364
1364
  id: string;
1365
1365
  status: "marked-as-spam";
1366
- subject: string;
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
1371
  type: "user-primary-email";
1372
1372
  user_id: string;
@@ -1378,9 +1378,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
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: import("../../crud").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;