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