@hexclave/shared 1.0.24 → 1.0.26
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.
- package/dist/ai/unified-prompts/reminders.js +1 -1
- package/dist/config/schema.d.ts +164 -164
- package/dist/config-authoring.d.ts +5 -2
- package/dist/config-authoring.d.ts.map +1 -1
- package/dist/config-authoring.js +3 -0
- package/dist/config-authoring.js.map +1 -1
- package/dist/esm/ai/unified-prompts/reminders.js +1 -1
- package/dist/esm/config/schema.d.ts +164 -164
- package/dist/esm/config-authoring.d.ts +5 -2
- package/dist/esm/config-authoring.d.ts.map +1 -1
- package/dist/esm/config-authoring.js +3 -0
- package/dist/esm/config-authoring.js.map +1 -1
- package/dist/esm/interface/admin-interface.d.ts +3 -1
- package/dist/esm/interface/admin-interface.d.ts.map +1 -1
- package/dist/esm/interface/admin-interface.js +3 -0
- package/dist/esm/interface/admin-interface.js.map +1 -1
- package/dist/esm/interface/admin-metrics.d.ts +14 -14
- package/dist/esm/interface/conversations.d.ts +1 -1
- package/dist/esm/interface/crud/current-user.d.ts +15 -15
- package/dist/esm/interface/crud/email-outbox.d.ts +158 -158
- package/dist/esm/interface/crud/products.d.ts +15 -15
- package/dist/esm/interface/crud/products.d.ts.map +1 -1
- package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
- package/dist/esm/interface/crud/projects.d.ts +57 -7
- package/dist/esm/interface/crud/projects.d.ts.map +1 -1
- package/dist/esm/interface/crud/projects.js +6 -0
- package/dist/esm/interface/crud/projects.js.map +1 -1
- package/dist/esm/interface/crud/team-member-profiles.d.ts +42 -42
- package/dist/esm/interface/crud/transactions.d.ts +21 -21
- package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
- package/dist/esm/interface/crud/users.d.ts +16 -16
- package/dist/esm/interface/plan-usage.d.ts +57 -0
- package/dist/esm/interface/plan-usage.d.ts.map +1 -0
- package/dist/esm/interface/plan-usage.js +35 -0
- package/dist/esm/interface/plan-usage.js.map +1 -0
- package/dist/esm/known-errors.d.ts +5 -5
- package/dist/esm/schema-fields.d.ts +5 -5
- package/dist/esm/sessions.d.ts +7 -7
- package/dist/{index-fQbeILq7.d.ts → index-nCRuFJTF.d.ts} +1 -1
- package/dist/{index-fQbeILq7.d.ts.map → index-nCRuFJTF.d.ts.map} +1 -1
- package/dist/interface/admin-interface.d.ts +3 -1
- package/dist/interface/admin-interface.d.ts.map +1 -1
- package/dist/interface/admin-interface.js +3 -0
- package/dist/interface/admin-interface.js.map +1 -1
- package/dist/interface/admin-metrics.d.ts +14 -14
- package/dist/interface/client-interface.d.ts +1 -1
- package/dist/interface/conversations.d.ts +1 -1
- package/dist/interface/crud/current-user.d.ts +15 -15
- package/dist/interface/crud/email-outbox.d.ts +158 -158
- package/dist/interface/crud/products.d.ts +15 -15
- package/dist/interface/crud/products.d.ts.map +1 -1
- package/dist/interface/crud/project-api-keys.d.ts +2 -2
- package/dist/interface/crud/projects.d.ts +57 -7
- package/dist/interface/crud/projects.d.ts.map +1 -1
- package/dist/interface/crud/projects.js +6 -0
- package/dist/interface/crud/projects.js.map +1 -1
- package/dist/interface/crud/team-member-profiles.d.ts +42 -42
- package/dist/interface/crud/transactions.d.ts +21 -21
- package/dist/interface/crud/transactions.d.ts.map +1 -1
- package/dist/interface/crud/users.d.ts +16 -16
- package/dist/interface/plan-usage.d.ts +57 -0
- package/dist/interface/plan-usage.d.ts.map +1 -0
- package/dist/interface/plan-usage.js +39 -0
- package/dist/interface/plan-usage.js.map +1 -0
- package/dist/known-errors.d.ts +5 -5
- package/dist/schema-fields.d.ts +5 -5
- package/dist/sessions.d.ts +7 -7
- package/dist/utils/passkey.d.ts +1 -1
- package/package.json +1 -1
- package/src/config-authoring.ts +5 -3
- package/src/interface/admin-interface.ts +14 -0
- package/src/interface/crud/projects.ts +12 -0
- package/src/interface/plan-usage.ts +34 -0
|
@@ -3,18 +3,18 @@ import * as yup$1 from "yup";
|
|
|
3
3
|
|
|
4
4
|
//#region src/interface/crud/email-outbox.d.ts
|
|
5
5
|
declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
6
|
-
id: string;
|
|
7
6
|
status: "paused";
|
|
7
|
+
id: string;
|
|
8
8
|
created_at_millis: number;
|
|
9
9
|
updated_at_millis: number;
|
|
10
10
|
tsx_source: string;
|
|
11
11
|
theme_id: string | null;
|
|
12
12
|
to: {
|
|
13
|
-
type: "user-primary-email";
|
|
14
13
|
user_id: string;
|
|
14
|
+
type: "user-primary-email";
|
|
15
15
|
} | {
|
|
16
|
-
type: "user-custom-emails";
|
|
17
16
|
user_id: string;
|
|
17
|
+
type: "user-custom-emails";
|
|
18
18
|
emails: string[];
|
|
19
19
|
} | {
|
|
20
20
|
type: "custom-emails";
|
|
@@ -41,18 +41,18 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
41
41
|
has_rendered: boolean;
|
|
42
42
|
has_delivered: boolean;
|
|
43
43
|
} | {
|
|
44
|
-
id: string;
|
|
45
44
|
status: "preparing";
|
|
45
|
+
id: string;
|
|
46
46
|
created_at_millis: number;
|
|
47
47
|
updated_at_millis: number;
|
|
48
48
|
tsx_source: string;
|
|
49
49
|
theme_id: string | null;
|
|
50
50
|
to: {
|
|
51
|
-
type: "user-primary-email";
|
|
52
51
|
user_id: string;
|
|
52
|
+
type: "user-primary-email";
|
|
53
53
|
} | {
|
|
54
|
-
type: "user-custom-emails";
|
|
55
54
|
user_id: string;
|
|
55
|
+
type: "user-custom-emails";
|
|
56
56
|
emails: string[];
|
|
57
57
|
} | {
|
|
58
58
|
type: "custom-emails";
|
|
@@ -79,18 +79,18 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
79
79
|
has_rendered: boolean;
|
|
80
80
|
has_delivered: boolean;
|
|
81
81
|
} | {
|
|
82
|
-
id: string;
|
|
83
82
|
status: "rendering";
|
|
83
|
+
id: string;
|
|
84
84
|
created_at_millis: number;
|
|
85
85
|
updated_at_millis: number;
|
|
86
86
|
tsx_source: string;
|
|
87
87
|
theme_id: string | null;
|
|
88
88
|
to: {
|
|
89
|
-
type: "user-primary-email";
|
|
90
89
|
user_id: string;
|
|
90
|
+
type: "user-primary-email";
|
|
91
91
|
} | {
|
|
92
|
-
type: "user-custom-emails";
|
|
93
92
|
user_id: string;
|
|
93
|
+
type: "user-custom-emails";
|
|
94
94
|
emails: string[];
|
|
95
95
|
} | {
|
|
96
96
|
type: "custom-emails";
|
|
@@ -118,18 +118,18 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
118
118
|
has_delivered: boolean;
|
|
119
119
|
started_rendering_at_millis: number;
|
|
120
120
|
} | {
|
|
121
|
-
id: string;
|
|
122
121
|
status: "render-error";
|
|
122
|
+
id: string;
|
|
123
123
|
created_at_millis: number;
|
|
124
124
|
updated_at_millis: number;
|
|
125
125
|
tsx_source: string;
|
|
126
126
|
theme_id: string | null;
|
|
127
127
|
to: {
|
|
128
|
-
type: "user-primary-email";
|
|
129
128
|
user_id: string;
|
|
129
|
+
type: "user-primary-email";
|
|
130
130
|
} | {
|
|
131
|
-
type: "user-custom-emails";
|
|
132
131
|
user_id: string;
|
|
132
|
+
type: "user-custom-emails";
|
|
133
133
|
emails: string[];
|
|
134
134
|
} | {
|
|
135
135
|
type: "custom-emails";
|
|
@@ -159,22 +159,20 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
159
159
|
rendered_at_millis: number;
|
|
160
160
|
render_error: string;
|
|
161
161
|
} | {
|
|
162
|
-
id: string;
|
|
163
162
|
status: "scheduled";
|
|
164
|
-
|
|
163
|
+
id: string;
|
|
165
164
|
html: string | null;
|
|
166
165
|
text: string | null;
|
|
167
|
-
|
|
168
|
-
notification_category_id: string | null;
|
|
166
|
+
created_at_millis: number;
|
|
169
167
|
updated_at_millis: number;
|
|
170
168
|
tsx_source: string;
|
|
171
169
|
theme_id: string | null;
|
|
172
170
|
to: {
|
|
173
|
-
type: "user-primary-email";
|
|
174
171
|
user_id: string;
|
|
172
|
+
type: "user-primary-email";
|
|
175
173
|
} | {
|
|
176
|
-
type: "user-custom-emails";
|
|
177
174
|
user_id: string;
|
|
175
|
+
type: "user-custom-emails";
|
|
178
176
|
emails: string[];
|
|
179
177
|
} | {
|
|
180
178
|
type: "custom-emails";
|
|
@@ -202,25 +200,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
202
200
|
has_delivered: boolean;
|
|
203
201
|
started_rendering_at_millis: number;
|
|
204
202
|
rendered_at_millis: number;
|
|
203
|
+
subject: string;
|
|
205
204
|
is_transactional: boolean;
|
|
206
205
|
is_high_priority: boolean;
|
|
206
|
+
notification_category_id: string | null;
|
|
207
207
|
} | {
|
|
208
|
-
id: string;
|
|
209
208
|
status: "queued";
|
|
210
|
-
|
|
209
|
+
id: string;
|
|
211
210
|
html: string | null;
|
|
212
211
|
text: string | null;
|
|
213
|
-
|
|
214
|
-
notification_category_id: string | null;
|
|
212
|
+
created_at_millis: number;
|
|
215
213
|
updated_at_millis: number;
|
|
216
214
|
tsx_source: string;
|
|
217
215
|
theme_id: string | null;
|
|
218
216
|
to: {
|
|
219
|
-
type: "user-primary-email";
|
|
220
217
|
user_id: string;
|
|
218
|
+
type: "user-primary-email";
|
|
221
219
|
} | {
|
|
222
|
-
type: "user-custom-emails";
|
|
223
220
|
user_id: string;
|
|
221
|
+
type: "user-custom-emails";
|
|
224
222
|
emails: string[];
|
|
225
223
|
} | {
|
|
226
224
|
type: "custom-emails";
|
|
@@ -248,25 +246,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
248
246
|
has_delivered: boolean;
|
|
249
247
|
started_rendering_at_millis: number;
|
|
250
248
|
rendered_at_millis: number;
|
|
249
|
+
subject: string;
|
|
251
250
|
is_transactional: boolean;
|
|
252
251
|
is_high_priority: boolean;
|
|
252
|
+
notification_category_id: string | null;
|
|
253
253
|
} | {
|
|
254
|
-
id: string;
|
|
255
254
|
status: "sending";
|
|
256
|
-
|
|
255
|
+
id: string;
|
|
257
256
|
html: string | null;
|
|
258
257
|
text: string | null;
|
|
259
|
-
|
|
260
|
-
notification_category_id: string | null;
|
|
258
|
+
created_at_millis: number;
|
|
261
259
|
updated_at_millis: number;
|
|
262
260
|
tsx_source: string;
|
|
263
261
|
theme_id: string | null;
|
|
264
262
|
to: {
|
|
265
|
-
type: "user-primary-email";
|
|
266
263
|
user_id: string;
|
|
264
|
+
type: "user-primary-email";
|
|
267
265
|
} | {
|
|
268
|
-
type: "user-custom-emails";
|
|
269
266
|
user_id: string;
|
|
267
|
+
type: "user-custom-emails";
|
|
270
268
|
emails: string[];
|
|
271
269
|
} | {
|
|
272
270
|
type: "custom-emails";
|
|
@@ -294,26 +292,26 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
294
292
|
has_delivered: boolean;
|
|
295
293
|
started_rendering_at_millis: number;
|
|
296
294
|
rendered_at_millis: number;
|
|
295
|
+
subject: string;
|
|
297
296
|
is_transactional: boolean;
|
|
298
297
|
is_high_priority: boolean;
|
|
298
|
+
notification_category_id: string | null;
|
|
299
299
|
started_sending_at_millis: number;
|
|
300
300
|
} | {
|
|
301
|
-
id: string;
|
|
302
301
|
status: "server-error";
|
|
303
|
-
|
|
302
|
+
id: string;
|
|
304
303
|
html: string | null;
|
|
305
304
|
text: string | null;
|
|
306
|
-
|
|
307
|
-
notification_category_id: string | null;
|
|
305
|
+
created_at_millis: number;
|
|
308
306
|
updated_at_millis: number;
|
|
309
307
|
tsx_source: string;
|
|
310
308
|
theme_id: string | null;
|
|
311
309
|
to: {
|
|
312
|
-
type: "user-primary-email";
|
|
313
310
|
user_id: string;
|
|
311
|
+
type: "user-primary-email";
|
|
314
312
|
} | {
|
|
315
|
-
type: "user-custom-emails";
|
|
316
313
|
user_id: string;
|
|
314
|
+
type: "user-custom-emails";
|
|
317
315
|
emails: string[];
|
|
318
316
|
} | {
|
|
319
317
|
type: "custom-emails";
|
|
@@ -341,33 +339,35 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
341
339
|
has_delivered: boolean;
|
|
342
340
|
started_rendering_at_millis: number;
|
|
343
341
|
rendered_at_millis: number;
|
|
342
|
+
subject: string;
|
|
344
343
|
is_transactional: boolean;
|
|
345
344
|
is_high_priority: boolean;
|
|
345
|
+
notification_category_id: string | null;
|
|
346
346
|
started_sending_at_millis: number;
|
|
347
347
|
error_at_millis: number;
|
|
348
348
|
server_error: string;
|
|
349
349
|
} | {
|
|
350
350
|
html?: string | null | undefined;
|
|
351
351
|
text?: string | null | undefined;
|
|
352
|
-
subject?: string | undefined;
|
|
353
|
-
notification_category_id?: string | null | undefined;
|
|
354
352
|
started_rendering_at_millis?: number | undefined;
|
|
355
353
|
rendered_at_millis?: number | undefined;
|
|
354
|
+
subject?: string | undefined;
|
|
356
355
|
is_transactional?: boolean | undefined;
|
|
357
356
|
is_high_priority?: boolean | undefined;
|
|
357
|
+
notification_category_id?: string | null | undefined;
|
|
358
358
|
started_sending_at_millis?: number | undefined;
|
|
359
|
-
id: string;
|
|
360
359
|
status: "skipped";
|
|
360
|
+
id: string;
|
|
361
361
|
created_at_millis: number;
|
|
362
362
|
updated_at_millis: number;
|
|
363
363
|
tsx_source: string;
|
|
364
364
|
theme_id: string | null;
|
|
365
365
|
to: {
|
|
366
|
-
type: "user-primary-email";
|
|
367
366
|
user_id: string;
|
|
367
|
+
type: "user-primary-email";
|
|
368
368
|
} | {
|
|
369
|
-
type: "user-custom-emails";
|
|
370
369
|
user_id: string;
|
|
370
|
+
type: "user-custom-emails";
|
|
371
371
|
emails: string[];
|
|
372
372
|
} | {
|
|
373
373
|
type: "custom-emails";
|
|
@@ -397,22 +397,20 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
397
397
|
skipped_reason: string;
|
|
398
398
|
skipped_details: Record<string, {} | null>;
|
|
399
399
|
} | {
|
|
400
|
-
id: string;
|
|
401
400
|
status: "bounced";
|
|
402
|
-
|
|
401
|
+
id: string;
|
|
403
402
|
html: string | null;
|
|
404
403
|
text: string | null;
|
|
405
|
-
|
|
406
|
-
notification_category_id: string | null;
|
|
404
|
+
created_at_millis: number;
|
|
407
405
|
updated_at_millis: number;
|
|
408
406
|
tsx_source: string;
|
|
409
407
|
theme_id: string | null;
|
|
410
408
|
to: {
|
|
411
|
-
type: "user-primary-email";
|
|
412
409
|
user_id: string;
|
|
410
|
+
type: "user-primary-email";
|
|
413
411
|
} | {
|
|
414
|
-
type: "user-custom-emails";
|
|
415
412
|
user_id: string;
|
|
413
|
+
type: "user-custom-emails";
|
|
416
414
|
emails: string[];
|
|
417
415
|
} | {
|
|
418
416
|
type: "custom-emails";
|
|
@@ -440,27 +438,27 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
440
438
|
has_delivered: boolean;
|
|
441
439
|
started_rendering_at_millis: number;
|
|
442
440
|
rendered_at_millis: number;
|
|
441
|
+
subject: string;
|
|
443
442
|
is_transactional: boolean;
|
|
444
443
|
is_high_priority: boolean;
|
|
444
|
+
notification_category_id: string | null;
|
|
445
445
|
started_sending_at_millis: number;
|
|
446
446
|
bounced_at_millis: number;
|
|
447
447
|
} | {
|
|
448
|
-
id: string;
|
|
449
448
|
status: "delivery-delayed";
|
|
450
|
-
|
|
449
|
+
id: string;
|
|
451
450
|
html: string | null;
|
|
452
451
|
text: string | null;
|
|
453
|
-
|
|
454
|
-
notification_category_id: string | null;
|
|
452
|
+
created_at_millis: number;
|
|
455
453
|
updated_at_millis: number;
|
|
456
454
|
tsx_source: string;
|
|
457
455
|
theme_id: string | null;
|
|
458
456
|
to: {
|
|
459
|
-
type: "user-primary-email";
|
|
460
457
|
user_id: string;
|
|
458
|
+
type: "user-primary-email";
|
|
461
459
|
} | {
|
|
462
|
-
type: "user-custom-emails";
|
|
463
460
|
user_id: string;
|
|
461
|
+
type: "user-custom-emails";
|
|
464
462
|
emails: string[];
|
|
465
463
|
} | {
|
|
466
464
|
type: "custom-emails";
|
|
@@ -488,27 +486,27 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
488
486
|
has_delivered: boolean;
|
|
489
487
|
started_rendering_at_millis: number;
|
|
490
488
|
rendered_at_millis: number;
|
|
489
|
+
subject: string;
|
|
491
490
|
is_transactional: boolean;
|
|
492
491
|
is_high_priority: boolean;
|
|
492
|
+
notification_category_id: string | null;
|
|
493
493
|
started_sending_at_millis: number;
|
|
494
494
|
delivery_delayed_at_millis: number;
|
|
495
495
|
} | {
|
|
496
|
-
id: string;
|
|
497
496
|
status: "sent";
|
|
498
|
-
|
|
497
|
+
id: string;
|
|
499
498
|
html: string | null;
|
|
500
499
|
text: string | null;
|
|
501
|
-
|
|
502
|
-
notification_category_id: string | null;
|
|
500
|
+
created_at_millis: number;
|
|
503
501
|
updated_at_millis: number;
|
|
504
502
|
tsx_source: string;
|
|
505
503
|
theme_id: string | null;
|
|
506
504
|
to: {
|
|
507
|
-
type: "user-primary-email";
|
|
508
505
|
user_id: string;
|
|
506
|
+
type: "user-primary-email";
|
|
509
507
|
} | {
|
|
510
|
-
type: "user-custom-emails";
|
|
511
508
|
user_id: string;
|
|
509
|
+
type: "user-custom-emails";
|
|
512
510
|
emails: string[];
|
|
513
511
|
} | {
|
|
514
512
|
type: "custom-emails";
|
|
@@ -536,28 +534,28 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
536
534
|
has_delivered: boolean;
|
|
537
535
|
started_rendering_at_millis: number;
|
|
538
536
|
rendered_at_millis: number;
|
|
537
|
+
subject: string;
|
|
539
538
|
is_transactional: boolean;
|
|
540
539
|
is_high_priority: boolean;
|
|
540
|
+
notification_category_id: string | null;
|
|
541
541
|
started_sending_at_millis: number;
|
|
542
542
|
delivered_at_millis: number;
|
|
543
543
|
can_have_delivery_info: boolean;
|
|
544
544
|
} | {
|
|
545
|
-
id: string;
|
|
546
545
|
status: "opened";
|
|
547
|
-
|
|
546
|
+
id: string;
|
|
548
547
|
html: string | null;
|
|
549
548
|
text: string | null;
|
|
550
|
-
|
|
551
|
-
notification_category_id: string | null;
|
|
549
|
+
created_at_millis: number;
|
|
552
550
|
updated_at_millis: number;
|
|
553
551
|
tsx_source: string;
|
|
554
552
|
theme_id: string | null;
|
|
555
553
|
to: {
|
|
556
|
-
type: "user-primary-email";
|
|
557
554
|
user_id: string;
|
|
555
|
+
type: "user-primary-email";
|
|
558
556
|
} | {
|
|
559
|
-
type: "user-custom-emails";
|
|
560
557
|
user_id: string;
|
|
558
|
+
type: "user-custom-emails";
|
|
561
559
|
emails: string[];
|
|
562
560
|
} | {
|
|
563
561
|
type: "custom-emails";
|
|
@@ -585,29 +583,29 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
585
583
|
has_delivered: boolean;
|
|
586
584
|
started_rendering_at_millis: number;
|
|
587
585
|
rendered_at_millis: number;
|
|
586
|
+
subject: string;
|
|
588
587
|
is_transactional: boolean;
|
|
589
588
|
is_high_priority: boolean;
|
|
589
|
+
notification_category_id: string | null;
|
|
590
590
|
started_sending_at_millis: number;
|
|
591
591
|
delivered_at_millis: number;
|
|
592
592
|
can_have_delivery_info: boolean;
|
|
593
593
|
opened_at_millis: number;
|
|
594
594
|
} | {
|
|
595
|
-
id: string;
|
|
596
595
|
status: "clicked";
|
|
597
|
-
|
|
596
|
+
id: string;
|
|
598
597
|
html: string | null;
|
|
599
598
|
text: string | null;
|
|
600
|
-
|
|
601
|
-
notification_category_id: string | null;
|
|
599
|
+
created_at_millis: number;
|
|
602
600
|
updated_at_millis: number;
|
|
603
601
|
tsx_source: string;
|
|
604
602
|
theme_id: string | null;
|
|
605
603
|
to: {
|
|
606
|
-
type: "user-primary-email";
|
|
607
604
|
user_id: string;
|
|
605
|
+
type: "user-primary-email";
|
|
608
606
|
} | {
|
|
609
|
-
type: "user-custom-emails";
|
|
610
607
|
user_id: string;
|
|
608
|
+
type: "user-custom-emails";
|
|
611
609
|
emails: string[];
|
|
612
610
|
} | {
|
|
613
611
|
type: "custom-emails";
|
|
@@ -635,29 +633,29 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
635
633
|
has_delivered: boolean;
|
|
636
634
|
started_rendering_at_millis: number;
|
|
637
635
|
rendered_at_millis: number;
|
|
636
|
+
subject: string;
|
|
638
637
|
is_transactional: boolean;
|
|
639
638
|
is_high_priority: boolean;
|
|
639
|
+
notification_category_id: string | null;
|
|
640
640
|
started_sending_at_millis: number;
|
|
641
641
|
delivered_at_millis: number;
|
|
642
642
|
can_have_delivery_info: boolean;
|
|
643
643
|
clicked_at_millis: number;
|
|
644
644
|
} | {
|
|
645
|
-
id: string;
|
|
646
645
|
status: "marked-as-spam";
|
|
647
|
-
|
|
646
|
+
id: string;
|
|
648
647
|
html: string | null;
|
|
649
648
|
text: string | null;
|
|
650
|
-
|
|
651
|
-
notification_category_id: string | null;
|
|
649
|
+
created_at_millis: number;
|
|
652
650
|
updated_at_millis: number;
|
|
653
651
|
tsx_source: string;
|
|
654
652
|
theme_id: string | null;
|
|
655
653
|
to: {
|
|
656
|
-
type: "user-primary-email";
|
|
657
654
|
user_id: string;
|
|
655
|
+
type: "user-primary-email";
|
|
658
656
|
} | {
|
|
659
|
-
type: "user-custom-emails";
|
|
660
657
|
user_id: string;
|
|
658
|
+
type: "user-custom-emails";
|
|
661
659
|
emails: string[];
|
|
662
660
|
} | {
|
|
663
661
|
type: "custom-emails";
|
|
@@ -685,8 +683,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
685
683
|
has_delivered: boolean;
|
|
686
684
|
started_rendering_at_millis: number;
|
|
687
685
|
rendered_at_millis: number;
|
|
686
|
+
subject: string;
|
|
688
687
|
is_transactional: boolean;
|
|
689
688
|
is_high_priority: boolean;
|
|
689
|
+
notification_category_id: string | null;
|
|
690
690
|
started_sending_at_millis: number;
|
|
691
691
|
delivered_at_millis: number;
|
|
692
692
|
can_have_delivery_info: boolean;
|
|
@@ -696,11 +696,11 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
|
|
|
696
696
|
tsx_source: string | undefined;
|
|
697
697
|
theme_id: string | null | undefined;
|
|
698
698
|
to: {
|
|
699
|
-
type: "user-primary-email";
|
|
700
699
|
user_id: string;
|
|
700
|
+
type: "user-primary-email";
|
|
701
701
|
} | {
|
|
702
|
-
type: "user-custom-emails";
|
|
703
702
|
user_id: string;
|
|
703
|
+
type: "user-custom-emails";
|
|
704
704
|
emails: string[];
|
|
705
705
|
} | {
|
|
706
706
|
type: "custom-emails";
|
|
@@ -723,18 +723,18 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
|
|
|
723
723
|
}, "">;
|
|
724
724
|
declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
725
725
|
serverReadSchema: yup$1.MixedSchema<{
|
|
726
|
-
id: string;
|
|
727
726
|
status: "paused";
|
|
727
|
+
id: string;
|
|
728
728
|
created_at_millis: number;
|
|
729
729
|
updated_at_millis: number;
|
|
730
730
|
tsx_source: string;
|
|
731
731
|
theme_id: string | null;
|
|
732
732
|
to: {
|
|
733
|
-
type: "user-primary-email";
|
|
734
733
|
user_id: string;
|
|
734
|
+
type: "user-primary-email";
|
|
735
735
|
} | {
|
|
736
|
-
type: "user-custom-emails";
|
|
737
736
|
user_id: string;
|
|
737
|
+
type: "user-custom-emails";
|
|
738
738
|
emails: string[];
|
|
739
739
|
} | {
|
|
740
740
|
type: "custom-emails";
|
|
@@ -761,18 +761,18 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
761
761
|
has_rendered: boolean;
|
|
762
762
|
has_delivered: boolean;
|
|
763
763
|
} | {
|
|
764
|
-
id: string;
|
|
765
764
|
status: "preparing";
|
|
765
|
+
id: string;
|
|
766
766
|
created_at_millis: number;
|
|
767
767
|
updated_at_millis: number;
|
|
768
768
|
tsx_source: string;
|
|
769
769
|
theme_id: string | null;
|
|
770
770
|
to: {
|
|
771
|
-
type: "user-primary-email";
|
|
772
771
|
user_id: string;
|
|
772
|
+
type: "user-primary-email";
|
|
773
773
|
} | {
|
|
774
|
-
type: "user-custom-emails";
|
|
775
774
|
user_id: string;
|
|
775
|
+
type: "user-custom-emails";
|
|
776
776
|
emails: string[];
|
|
777
777
|
} | {
|
|
778
778
|
type: "custom-emails";
|
|
@@ -799,18 +799,18 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
799
799
|
has_rendered: boolean;
|
|
800
800
|
has_delivered: boolean;
|
|
801
801
|
} | {
|
|
802
|
-
id: string;
|
|
803
802
|
status: "rendering";
|
|
803
|
+
id: string;
|
|
804
804
|
created_at_millis: number;
|
|
805
805
|
updated_at_millis: number;
|
|
806
806
|
tsx_source: string;
|
|
807
807
|
theme_id: string | null;
|
|
808
808
|
to: {
|
|
809
|
-
type: "user-primary-email";
|
|
810
809
|
user_id: string;
|
|
810
|
+
type: "user-primary-email";
|
|
811
811
|
} | {
|
|
812
|
-
type: "user-custom-emails";
|
|
813
812
|
user_id: string;
|
|
813
|
+
type: "user-custom-emails";
|
|
814
814
|
emails: string[];
|
|
815
815
|
} | {
|
|
816
816
|
type: "custom-emails";
|
|
@@ -838,18 +838,18 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
838
838
|
has_delivered: boolean;
|
|
839
839
|
started_rendering_at_millis: number;
|
|
840
840
|
} | {
|
|
841
|
-
id: string;
|
|
842
841
|
status: "render-error";
|
|
842
|
+
id: string;
|
|
843
843
|
created_at_millis: number;
|
|
844
844
|
updated_at_millis: number;
|
|
845
845
|
tsx_source: string;
|
|
846
846
|
theme_id: string | null;
|
|
847
847
|
to: {
|
|
848
|
-
type: "user-primary-email";
|
|
849
848
|
user_id: string;
|
|
849
|
+
type: "user-primary-email";
|
|
850
850
|
} | {
|
|
851
|
-
type: "user-custom-emails";
|
|
852
851
|
user_id: string;
|
|
852
|
+
type: "user-custom-emails";
|
|
853
853
|
emails: string[];
|
|
854
854
|
} | {
|
|
855
855
|
type: "custom-emails";
|
|
@@ -879,22 +879,20 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
879
879
|
rendered_at_millis: number;
|
|
880
880
|
render_error: string;
|
|
881
881
|
} | {
|
|
882
|
-
id: string;
|
|
883
882
|
status: "scheduled";
|
|
884
|
-
|
|
883
|
+
id: string;
|
|
885
884
|
html: string | null;
|
|
886
885
|
text: string | null;
|
|
887
|
-
|
|
888
|
-
notification_category_id: string | null;
|
|
886
|
+
created_at_millis: number;
|
|
889
887
|
updated_at_millis: number;
|
|
890
888
|
tsx_source: string;
|
|
891
889
|
theme_id: string | null;
|
|
892
890
|
to: {
|
|
893
|
-
type: "user-primary-email";
|
|
894
891
|
user_id: string;
|
|
892
|
+
type: "user-primary-email";
|
|
895
893
|
} | {
|
|
896
|
-
type: "user-custom-emails";
|
|
897
894
|
user_id: string;
|
|
895
|
+
type: "user-custom-emails";
|
|
898
896
|
emails: string[];
|
|
899
897
|
} | {
|
|
900
898
|
type: "custom-emails";
|
|
@@ -922,25 +920,25 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
922
920
|
has_delivered: boolean;
|
|
923
921
|
started_rendering_at_millis: number;
|
|
924
922
|
rendered_at_millis: number;
|
|
923
|
+
subject: string;
|
|
925
924
|
is_transactional: boolean;
|
|
926
925
|
is_high_priority: boolean;
|
|
926
|
+
notification_category_id: string | null;
|
|
927
927
|
} | {
|
|
928
|
-
id: string;
|
|
929
928
|
status: "queued";
|
|
930
|
-
|
|
929
|
+
id: string;
|
|
931
930
|
html: string | null;
|
|
932
931
|
text: string | null;
|
|
933
|
-
|
|
934
|
-
notification_category_id: string | null;
|
|
932
|
+
created_at_millis: number;
|
|
935
933
|
updated_at_millis: number;
|
|
936
934
|
tsx_source: string;
|
|
937
935
|
theme_id: string | null;
|
|
938
936
|
to: {
|
|
939
|
-
type: "user-primary-email";
|
|
940
937
|
user_id: string;
|
|
938
|
+
type: "user-primary-email";
|
|
941
939
|
} | {
|
|
942
|
-
type: "user-custom-emails";
|
|
943
940
|
user_id: string;
|
|
941
|
+
type: "user-custom-emails";
|
|
944
942
|
emails: string[];
|
|
945
943
|
} | {
|
|
946
944
|
type: "custom-emails";
|
|
@@ -968,25 +966,25 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
968
966
|
has_delivered: boolean;
|
|
969
967
|
started_rendering_at_millis: number;
|
|
970
968
|
rendered_at_millis: number;
|
|
969
|
+
subject: string;
|
|
971
970
|
is_transactional: boolean;
|
|
972
971
|
is_high_priority: boolean;
|
|
972
|
+
notification_category_id: string | null;
|
|
973
973
|
} | {
|
|
974
|
-
id: string;
|
|
975
974
|
status: "sending";
|
|
976
|
-
|
|
975
|
+
id: string;
|
|
977
976
|
html: string | null;
|
|
978
977
|
text: string | null;
|
|
979
|
-
|
|
980
|
-
notification_category_id: string | null;
|
|
978
|
+
created_at_millis: number;
|
|
981
979
|
updated_at_millis: number;
|
|
982
980
|
tsx_source: string;
|
|
983
981
|
theme_id: string | null;
|
|
984
982
|
to: {
|
|
985
|
-
type: "user-primary-email";
|
|
986
983
|
user_id: string;
|
|
984
|
+
type: "user-primary-email";
|
|
987
985
|
} | {
|
|
988
|
-
type: "user-custom-emails";
|
|
989
986
|
user_id: string;
|
|
987
|
+
type: "user-custom-emails";
|
|
990
988
|
emails: string[];
|
|
991
989
|
} | {
|
|
992
990
|
type: "custom-emails";
|
|
@@ -1014,26 +1012,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1014
1012
|
has_delivered: boolean;
|
|
1015
1013
|
started_rendering_at_millis: number;
|
|
1016
1014
|
rendered_at_millis: number;
|
|
1015
|
+
subject: string;
|
|
1017
1016
|
is_transactional: boolean;
|
|
1018
1017
|
is_high_priority: boolean;
|
|
1018
|
+
notification_category_id: string | null;
|
|
1019
1019
|
started_sending_at_millis: number;
|
|
1020
1020
|
} | {
|
|
1021
|
-
id: string;
|
|
1022
1021
|
status: "server-error";
|
|
1023
|
-
|
|
1022
|
+
id: string;
|
|
1024
1023
|
html: string | null;
|
|
1025
1024
|
text: string | null;
|
|
1026
|
-
|
|
1027
|
-
notification_category_id: string | null;
|
|
1025
|
+
created_at_millis: number;
|
|
1028
1026
|
updated_at_millis: number;
|
|
1029
1027
|
tsx_source: string;
|
|
1030
1028
|
theme_id: string | null;
|
|
1031
1029
|
to: {
|
|
1032
|
-
type: "user-primary-email";
|
|
1033
1030
|
user_id: string;
|
|
1031
|
+
type: "user-primary-email";
|
|
1034
1032
|
} | {
|
|
1035
|
-
type: "user-custom-emails";
|
|
1036
1033
|
user_id: string;
|
|
1034
|
+
type: "user-custom-emails";
|
|
1037
1035
|
emails: string[];
|
|
1038
1036
|
} | {
|
|
1039
1037
|
type: "custom-emails";
|
|
@@ -1061,33 +1059,35 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1061
1059
|
has_delivered: boolean;
|
|
1062
1060
|
started_rendering_at_millis: number;
|
|
1063
1061
|
rendered_at_millis: number;
|
|
1062
|
+
subject: string;
|
|
1064
1063
|
is_transactional: boolean;
|
|
1065
1064
|
is_high_priority: boolean;
|
|
1065
|
+
notification_category_id: string | null;
|
|
1066
1066
|
started_sending_at_millis: number;
|
|
1067
1067
|
error_at_millis: number;
|
|
1068
1068
|
server_error: string;
|
|
1069
1069
|
} | {
|
|
1070
1070
|
html?: string | null | undefined;
|
|
1071
1071
|
text?: string | null | undefined;
|
|
1072
|
-
subject?: string | undefined;
|
|
1073
|
-
notification_category_id?: string | null | undefined;
|
|
1074
1072
|
started_rendering_at_millis?: number | undefined;
|
|
1075
1073
|
rendered_at_millis?: number | undefined;
|
|
1074
|
+
subject?: string | undefined;
|
|
1076
1075
|
is_transactional?: boolean | undefined;
|
|
1077
1076
|
is_high_priority?: boolean | undefined;
|
|
1077
|
+
notification_category_id?: string | null | undefined;
|
|
1078
1078
|
started_sending_at_millis?: number | undefined;
|
|
1079
|
-
id: string;
|
|
1080
1079
|
status: "skipped";
|
|
1080
|
+
id: string;
|
|
1081
1081
|
created_at_millis: number;
|
|
1082
1082
|
updated_at_millis: number;
|
|
1083
1083
|
tsx_source: string;
|
|
1084
1084
|
theme_id: string | null;
|
|
1085
1085
|
to: {
|
|
1086
|
-
type: "user-primary-email";
|
|
1087
1086
|
user_id: string;
|
|
1087
|
+
type: "user-primary-email";
|
|
1088
1088
|
} | {
|
|
1089
|
-
type: "user-custom-emails";
|
|
1090
1089
|
user_id: string;
|
|
1090
|
+
type: "user-custom-emails";
|
|
1091
1091
|
emails: string[];
|
|
1092
1092
|
} | {
|
|
1093
1093
|
type: "custom-emails";
|
|
@@ -1117,22 +1117,20 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1117
1117
|
skipped_reason: string;
|
|
1118
1118
|
skipped_details: Record<string, {} | null>;
|
|
1119
1119
|
} | {
|
|
1120
|
-
id: string;
|
|
1121
1120
|
status: "bounced";
|
|
1122
|
-
|
|
1121
|
+
id: string;
|
|
1123
1122
|
html: string | null;
|
|
1124
1123
|
text: string | null;
|
|
1125
|
-
|
|
1126
|
-
notification_category_id: string | null;
|
|
1124
|
+
created_at_millis: number;
|
|
1127
1125
|
updated_at_millis: number;
|
|
1128
1126
|
tsx_source: string;
|
|
1129
1127
|
theme_id: string | null;
|
|
1130
1128
|
to: {
|
|
1131
|
-
type: "user-primary-email";
|
|
1132
1129
|
user_id: string;
|
|
1130
|
+
type: "user-primary-email";
|
|
1133
1131
|
} | {
|
|
1134
|
-
type: "user-custom-emails";
|
|
1135
1132
|
user_id: string;
|
|
1133
|
+
type: "user-custom-emails";
|
|
1136
1134
|
emails: string[];
|
|
1137
1135
|
} | {
|
|
1138
1136
|
type: "custom-emails";
|
|
@@ -1160,27 +1158,27 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1160
1158
|
has_delivered: boolean;
|
|
1161
1159
|
started_rendering_at_millis: number;
|
|
1162
1160
|
rendered_at_millis: number;
|
|
1161
|
+
subject: string;
|
|
1163
1162
|
is_transactional: boolean;
|
|
1164
1163
|
is_high_priority: boolean;
|
|
1164
|
+
notification_category_id: string | null;
|
|
1165
1165
|
started_sending_at_millis: number;
|
|
1166
1166
|
bounced_at_millis: number;
|
|
1167
1167
|
} | {
|
|
1168
|
-
id: string;
|
|
1169
1168
|
status: "delivery-delayed";
|
|
1170
|
-
|
|
1169
|
+
id: string;
|
|
1171
1170
|
html: string | null;
|
|
1172
1171
|
text: string | null;
|
|
1173
|
-
|
|
1174
|
-
notification_category_id: string | null;
|
|
1172
|
+
created_at_millis: number;
|
|
1175
1173
|
updated_at_millis: number;
|
|
1176
1174
|
tsx_source: string;
|
|
1177
1175
|
theme_id: string | null;
|
|
1178
1176
|
to: {
|
|
1179
|
-
type: "user-primary-email";
|
|
1180
1177
|
user_id: string;
|
|
1178
|
+
type: "user-primary-email";
|
|
1181
1179
|
} | {
|
|
1182
|
-
type: "user-custom-emails";
|
|
1183
1180
|
user_id: string;
|
|
1181
|
+
type: "user-custom-emails";
|
|
1184
1182
|
emails: string[];
|
|
1185
1183
|
} | {
|
|
1186
1184
|
type: "custom-emails";
|
|
@@ -1208,27 +1206,27 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1208
1206
|
has_delivered: boolean;
|
|
1209
1207
|
started_rendering_at_millis: number;
|
|
1210
1208
|
rendered_at_millis: number;
|
|
1209
|
+
subject: string;
|
|
1211
1210
|
is_transactional: boolean;
|
|
1212
1211
|
is_high_priority: boolean;
|
|
1212
|
+
notification_category_id: string | null;
|
|
1213
1213
|
started_sending_at_millis: number;
|
|
1214
1214
|
delivery_delayed_at_millis: number;
|
|
1215
1215
|
} | {
|
|
1216
|
-
id: string;
|
|
1217
1216
|
status: "sent";
|
|
1218
|
-
|
|
1217
|
+
id: string;
|
|
1219
1218
|
html: string | null;
|
|
1220
1219
|
text: string | null;
|
|
1221
|
-
|
|
1222
|
-
notification_category_id: string | null;
|
|
1220
|
+
created_at_millis: number;
|
|
1223
1221
|
updated_at_millis: number;
|
|
1224
1222
|
tsx_source: string;
|
|
1225
1223
|
theme_id: string | null;
|
|
1226
1224
|
to: {
|
|
1227
|
-
type: "user-primary-email";
|
|
1228
1225
|
user_id: string;
|
|
1226
|
+
type: "user-primary-email";
|
|
1229
1227
|
} | {
|
|
1230
|
-
type: "user-custom-emails";
|
|
1231
1228
|
user_id: string;
|
|
1229
|
+
type: "user-custom-emails";
|
|
1232
1230
|
emails: string[];
|
|
1233
1231
|
} | {
|
|
1234
1232
|
type: "custom-emails";
|
|
@@ -1256,28 +1254,28 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1256
1254
|
has_delivered: boolean;
|
|
1257
1255
|
started_rendering_at_millis: number;
|
|
1258
1256
|
rendered_at_millis: number;
|
|
1257
|
+
subject: string;
|
|
1259
1258
|
is_transactional: boolean;
|
|
1260
1259
|
is_high_priority: boolean;
|
|
1260
|
+
notification_category_id: string | null;
|
|
1261
1261
|
started_sending_at_millis: number;
|
|
1262
1262
|
delivered_at_millis: number;
|
|
1263
1263
|
can_have_delivery_info: boolean;
|
|
1264
1264
|
} | {
|
|
1265
|
-
id: string;
|
|
1266
1265
|
status: "opened";
|
|
1267
|
-
|
|
1266
|
+
id: string;
|
|
1268
1267
|
html: string | null;
|
|
1269
1268
|
text: string | null;
|
|
1270
|
-
|
|
1271
|
-
notification_category_id: string | null;
|
|
1269
|
+
created_at_millis: number;
|
|
1272
1270
|
updated_at_millis: number;
|
|
1273
1271
|
tsx_source: string;
|
|
1274
1272
|
theme_id: string | null;
|
|
1275
1273
|
to: {
|
|
1276
|
-
type: "user-primary-email";
|
|
1277
1274
|
user_id: string;
|
|
1275
|
+
type: "user-primary-email";
|
|
1278
1276
|
} | {
|
|
1279
|
-
type: "user-custom-emails";
|
|
1280
1277
|
user_id: string;
|
|
1278
|
+
type: "user-custom-emails";
|
|
1281
1279
|
emails: string[];
|
|
1282
1280
|
} | {
|
|
1283
1281
|
type: "custom-emails";
|
|
@@ -1305,29 +1303,29 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1305
1303
|
has_delivered: boolean;
|
|
1306
1304
|
started_rendering_at_millis: number;
|
|
1307
1305
|
rendered_at_millis: number;
|
|
1306
|
+
subject: string;
|
|
1308
1307
|
is_transactional: boolean;
|
|
1309
1308
|
is_high_priority: boolean;
|
|
1309
|
+
notification_category_id: string | null;
|
|
1310
1310
|
started_sending_at_millis: number;
|
|
1311
1311
|
delivered_at_millis: number;
|
|
1312
1312
|
can_have_delivery_info: boolean;
|
|
1313
1313
|
opened_at_millis: number;
|
|
1314
1314
|
} | {
|
|
1315
|
-
id: string;
|
|
1316
1315
|
status: "clicked";
|
|
1317
|
-
|
|
1316
|
+
id: string;
|
|
1318
1317
|
html: string | null;
|
|
1319
1318
|
text: string | null;
|
|
1320
|
-
|
|
1321
|
-
notification_category_id: string | null;
|
|
1319
|
+
created_at_millis: number;
|
|
1322
1320
|
updated_at_millis: number;
|
|
1323
1321
|
tsx_source: string;
|
|
1324
1322
|
theme_id: string | null;
|
|
1325
1323
|
to: {
|
|
1326
|
-
type: "user-primary-email";
|
|
1327
1324
|
user_id: string;
|
|
1325
|
+
type: "user-primary-email";
|
|
1328
1326
|
} | {
|
|
1329
|
-
type: "user-custom-emails";
|
|
1330
1327
|
user_id: string;
|
|
1328
|
+
type: "user-custom-emails";
|
|
1331
1329
|
emails: string[];
|
|
1332
1330
|
} | {
|
|
1333
1331
|
type: "custom-emails";
|
|
@@ -1355,29 +1353,29 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1355
1353
|
has_delivered: boolean;
|
|
1356
1354
|
started_rendering_at_millis: number;
|
|
1357
1355
|
rendered_at_millis: number;
|
|
1356
|
+
subject: string;
|
|
1358
1357
|
is_transactional: boolean;
|
|
1359
1358
|
is_high_priority: boolean;
|
|
1359
|
+
notification_category_id: string | null;
|
|
1360
1360
|
started_sending_at_millis: number;
|
|
1361
1361
|
delivered_at_millis: number;
|
|
1362
1362
|
can_have_delivery_info: boolean;
|
|
1363
1363
|
clicked_at_millis: number;
|
|
1364
1364
|
} | {
|
|
1365
|
-
id: string;
|
|
1366
1365
|
status: "marked-as-spam";
|
|
1367
|
-
|
|
1366
|
+
id: string;
|
|
1368
1367
|
html: string | null;
|
|
1369
1368
|
text: string | null;
|
|
1370
|
-
|
|
1371
|
-
notification_category_id: string | null;
|
|
1369
|
+
created_at_millis: number;
|
|
1372
1370
|
updated_at_millis: number;
|
|
1373
1371
|
tsx_source: string;
|
|
1374
1372
|
theme_id: string | null;
|
|
1375
1373
|
to: {
|
|
1376
|
-
type: "user-primary-email";
|
|
1377
1374
|
user_id: string;
|
|
1375
|
+
type: "user-primary-email";
|
|
1378
1376
|
} | {
|
|
1379
|
-
type: "user-custom-emails";
|
|
1380
1377
|
user_id: string;
|
|
1378
|
+
type: "user-custom-emails";
|
|
1381
1379
|
emails: string[];
|
|
1382
1380
|
} | {
|
|
1383
1381
|
type: "custom-emails";
|
|
@@ -1405,8 +1403,10 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1405
1403
|
has_delivered: boolean;
|
|
1406
1404
|
started_rendering_at_millis: number;
|
|
1407
1405
|
rendered_at_millis: number;
|
|
1406
|
+
subject: string;
|
|
1408
1407
|
is_transactional: boolean;
|
|
1409
1408
|
is_high_priority: boolean;
|
|
1409
|
+
notification_category_id: string | null;
|
|
1410
1410
|
started_sending_at_millis: number;
|
|
1411
1411
|
delivered_at_millis: number;
|
|
1412
1412
|
can_have_delivery_info: boolean;
|
|
@@ -1416,11 +1416,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1416
1416
|
tsx_source: string | undefined;
|
|
1417
1417
|
theme_id: string | null | undefined;
|
|
1418
1418
|
to: {
|
|
1419
|
-
type: "user-primary-email";
|
|
1420
1419
|
user_id: string;
|
|
1420
|
+
type: "user-primary-email";
|
|
1421
1421
|
} | {
|
|
1422
|
-
type: "user-custom-emails";
|
|
1423
1422
|
user_id: string;
|
|
1423
|
+
type: "user-custom-emails";
|
|
1424
1424
|
emails: string[];
|
|
1425
1425
|
} | {
|
|
1426
1426
|
type: "custom-emails";
|