@hexclave/shared 1.0.12 → 1.0.13
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 +64 -64
- package/dist/esm/ai/unified-prompts/reminders.js +1 -1
- package/dist/esm/config/schema.d.ts +64 -64
- package/dist/esm/interface/admin-metrics.d.ts +6 -6
- package/dist/esm/interface/conversations.d.ts +30 -30
- package/dist/esm/interface/crud/current-user.d.ts +7 -7
- package/dist/esm/interface/crud/email-outbox.d.ts +106 -106
- package/dist/esm/interface/crud/invoices.d.ts +2 -2
- package/dist/esm/interface/crud/project-api-keys.d.ts +1 -1
- package/dist/esm/interface/crud/team-member-profiles.d.ts +18 -18
- package/dist/esm/interface/crud/users.d.ts +10 -10
- package/dist/esm/interface/webhooks.d.ts +2 -2
- package/dist/esm/sessions.d.ts +7 -7
- package/dist/interface/admin-metrics.d.ts +6 -6
- package/dist/interface/conversations.d.ts +30 -30
- package/dist/interface/crud/current-user.d.ts +7 -7
- package/dist/interface/crud/email-outbox.d.ts +106 -106
- package/dist/interface/crud/invoices.d.ts +2 -2
- package/dist/interface/crud/project-api-keys.d.ts +1 -1
- package/dist/interface/crud/team-member-profiles.d.ts +18 -18
- package/dist/interface/crud/users.d.ts +10 -10
- package/dist/interface/webhooks.d.ts +2 -2
- package/dist/sessions.d.ts +7 -7
- package/package.json +1 -1
|
@@ -10,11 +10,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
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";
|
|
@@ -48,11 +48,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
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";
|
|
@@ -86,11 +86,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
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";
|
|
@@ -125,11 +125,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
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";
|
|
@@ -161,19 +161,18 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
161
161
|
} | {
|
|
162
162
|
status: "scheduled";
|
|
163
163
|
id: string;
|
|
164
|
-
subject: string;
|
|
165
|
-
created_at_millis: number;
|
|
166
164
|
html: string | null;
|
|
167
165
|
text: string | null;
|
|
166
|
+
created_at_millis: number;
|
|
168
167
|
updated_at_millis: number;
|
|
169
168
|
tsx_source: string;
|
|
170
169
|
theme_id: string | null;
|
|
171
170
|
to: {
|
|
172
|
-
type: "user-primary-email";
|
|
173
171
|
user_id: string;
|
|
172
|
+
type: "user-primary-email";
|
|
174
173
|
} | {
|
|
175
|
-
type: "user-custom-emails";
|
|
176
174
|
user_id: string;
|
|
175
|
+
type: "user-custom-emails";
|
|
177
176
|
emails: string[];
|
|
178
177
|
} | {
|
|
179
178
|
type: "custom-emails";
|
|
@@ -201,25 +200,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
201
200
|
has_delivered: boolean;
|
|
202
201
|
started_rendering_at_millis: number;
|
|
203
202
|
rendered_at_millis: number;
|
|
203
|
+
subject: string;
|
|
204
204
|
is_transactional: boolean;
|
|
205
205
|
is_high_priority: boolean;
|
|
206
206
|
notification_category_id: string | null;
|
|
207
207
|
} | {
|
|
208
208
|
status: "queued";
|
|
209
209
|
id: string;
|
|
210
|
-
subject: string;
|
|
211
|
-
created_at_millis: number;
|
|
212
210
|
html: string | null;
|
|
213
211
|
text: string | null;
|
|
212
|
+
created_at_millis: number;
|
|
214
213
|
updated_at_millis: number;
|
|
215
214
|
tsx_source: string;
|
|
216
215
|
theme_id: string | null;
|
|
217
216
|
to: {
|
|
218
|
-
type: "user-primary-email";
|
|
219
217
|
user_id: string;
|
|
218
|
+
type: "user-primary-email";
|
|
220
219
|
} | {
|
|
221
|
-
type: "user-custom-emails";
|
|
222
220
|
user_id: string;
|
|
221
|
+
type: "user-custom-emails";
|
|
223
222
|
emails: string[];
|
|
224
223
|
} | {
|
|
225
224
|
type: "custom-emails";
|
|
@@ -247,25 +246,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
247
246
|
has_delivered: boolean;
|
|
248
247
|
started_rendering_at_millis: number;
|
|
249
248
|
rendered_at_millis: number;
|
|
249
|
+
subject: string;
|
|
250
250
|
is_transactional: boolean;
|
|
251
251
|
is_high_priority: boolean;
|
|
252
252
|
notification_category_id: string | null;
|
|
253
253
|
} | {
|
|
254
254
|
status: "sending";
|
|
255
255
|
id: string;
|
|
256
|
-
subject: string;
|
|
257
|
-
created_at_millis: number;
|
|
258
256
|
html: string | null;
|
|
259
257
|
text: string | null;
|
|
258
|
+
created_at_millis: number;
|
|
260
259
|
updated_at_millis: number;
|
|
261
260
|
tsx_source: string;
|
|
262
261
|
theme_id: string | null;
|
|
263
262
|
to: {
|
|
264
|
-
type: "user-primary-email";
|
|
265
263
|
user_id: string;
|
|
264
|
+
type: "user-primary-email";
|
|
266
265
|
} | {
|
|
267
|
-
type: "user-custom-emails";
|
|
268
266
|
user_id: string;
|
|
267
|
+
type: "user-custom-emails";
|
|
269
268
|
emails: string[];
|
|
270
269
|
} | {
|
|
271
270
|
type: "custom-emails";
|
|
@@ -293,6 +292,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
293
292
|
has_delivered: boolean;
|
|
294
293
|
started_rendering_at_millis: number;
|
|
295
294
|
rendered_at_millis: number;
|
|
295
|
+
subject: string;
|
|
296
296
|
is_transactional: boolean;
|
|
297
297
|
is_high_priority: boolean;
|
|
298
298
|
notification_category_id: string | null;
|
|
@@ -300,19 +300,18 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
300
300
|
} | {
|
|
301
301
|
status: "server-error";
|
|
302
302
|
id: string;
|
|
303
|
-
subject: string;
|
|
304
|
-
created_at_millis: number;
|
|
305
303
|
html: string | null;
|
|
306
304
|
text: string | null;
|
|
305
|
+
created_at_millis: number;
|
|
307
306
|
updated_at_millis: number;
|
|
308
307
|
tsx_source: string;
|
|
309
308
|
theme_id: string | null;
|
|
310
309
|
to: {
|
|
311
|
-
type: "user-primary-email";
|
|
312
310
|
user_id: string;
|
|
311
|
+
type: "user-primary-email";
|
|
313
312
|
} | {
|
|
314
|
-
type: "user-custom-emails";
|
|
315
313
|
user_id: string;
|
|
314
|
+
type: "user-custom-emails";
|
|
316
315
|
emails: string[];
|
|
317
316
|
} | {
|
|
318
317
|
type: "custom-emails";
|
|
@@ -340,6 +339,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
340
339
|
has_delivered: boolean;
|
|
341
340
|
started_rendering_at_millis: number;
|
|
342
341
|
rendered_at_millis: number;
|
|
342
|
+
subject: string;
|
|
343
343
|
is_transactional: boolean;
|
|
344
344
|
is_high_priority: boolean;
|
|
345
345
|
notification_category_id: string | null;
|
|
@@ -347,11 +347,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
347
347
|
error_at_millis: number;
|
|
348
348
|
server_error: string;
|
|
349
349
|
} | {
|
|
350
|
-
subject?: string | undefined;
|
|
351
350
|
html?: string | null | undefined;
|
|
352
351
|
text?: string | null | undefined;
|
|
353
352
|
started_rendering_at_millis?: number | undefined;
|
|
354
353
|
rendered_at_millis?: number | undefined;
|
|
354
|
+
subject?: string | undefined;
|
|
355
355
|
is_transactional?: boolean | undefined;
|
|
356
356
|
is_high_priority?: boolean | undefined;
|
|
357
357
|
notification_category_id?: string | null | undefined;
|
|
@@ -363,11 +363,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
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";
|
|
@@ -399,19 +399,18 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
399
399
|
} | {
|
|
400
400
|
status: "bounced";
|
|
401
401
|
id: string;
|
|
402
|
-
subject: string;
|
|
403
|
-
created_at_millis: number;
|
|
404
402
|
html: string | null;
|
|
405
403
|
text: string | null;
|
|
404
|
+
created_at_millis: number;
|
|
406
405
|
updated_at_millis: number;
|
|
407
406
|
tsx_source: string;
|
|
408
407
|
theme_id: string | null;
|
|
409
408
|
to: {
|
|
410
|
-
type: "user-primary-email";
|
|
411
409
|
user_id: string;
|
|
410
|
+
type: "user-primary-email";
|
|
412
411
|
} | {
|
|
413
|
-
type: "user-custom-emails";
|
|
414
412
|
user_id: string;
|
|
413
|
+
type: "user-custom-emails";
|
|
415
414
|
emails: string[];
|
|
416
415
|
} | {
|
|
417
416
|
type: "custom-emails";
|
|
@@ -439,6 +438,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
439
438
|
has_delivered: boolean;
|
|
440
439
|
started_rendering_at_millis: number;
|
|
441
440
|
rendered_at_millis: number;
|
|
441
|
+
subject: string;
|
|
442
442
|
is_transactional: boolean;
|
|
443
443
|
is_high_priority: boolean;
|
|
444
444
|
notification_category_id: string | null;
|
|
@@ -447,19 +447,18 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
447
447
|
} | {
|
|
448
448
|
status: "delivery-delayed";
|
|
449
449
|
id: string;
|
|
450
|
-
subject: string;
|
|
451
|
-
created_at_millis: number;
|
|
452
450
|
html: string | null;
|
|
453
451
|
text: string | null;
|
|
452
|
+
created_at_millis: number;
|
|
454
453
|
updated_at_millis: number;
|
|
455
454
|
tsx_source: string;
|
|
456
455
|
theme_id: string | null;
|
|
457
456
|
to: {
|
|
458
|
-
type: "user-primary-email";
|
|
459
457
|
user_id: string;
|
|
458
|
+
type: "user-primary-email";
|
|
460
459
|
} | {
|
|
461
|
-
type: "user-custom-emails";
|
|
462
460
|
user_id: string;
|
|
461
|
+
type: "user-custom-emails";
|
|
463
462
|
emails: string[];
|
|
464
463
|
} | {
|
|
465
464
|
type: "custom-emails";
|
|
@@ -487,6 +486,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
487
486
|
has_delivered: boolean;
|
|
488
487
|
started_rendering_at_millis: number;
|
|
489
488
|
rendered_at_millis: number;
|
|
489
|
+
subject: string;
|
|
490
490
|
is_transactional: boolean;
|
|
491
491
|
is_high_priority: boolean;
|
|
492
492
|
notification_category_id: string | null;
|
|
@@ -495,19 +495,18 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
495
495
|
} | {
|
|
496
496
|
status: "sent";
|
|
497
497
|
id: string;
|
|
498
|
-
subject: string;
|
|
499
|
-
created_at_millis: number;
|
|
500
498
|
html: string | null;
|
|
501
499
|
text: string | null;
|
|
500
|
+
created_at_millis: number;
|
|
502
501
|
updated_at_millis: number;
|
|
503
502
|
tsx_source: string;
|
|
504
503
|
theme_id: string | null;
|
|
505
504
|
to: {
|
|
506
|
-
type: "user-primary-email";
|
|
507
505
|
user_id: string;
|
|
506
|
+
type: "user-primary-email";
|
|
508
507
|
} | {
|
|
509
|
-
type: "user-custom-emails";
|
|
510
508
|
user_id: string;
|
|
509
|
+
type: "user-custom-emails";
|
|
511
510
|
emails: string[];
|
|
512
511
|
} | {
|
|
513
512
|
type: "custom-emails";
|
|
@@ -535,6 +534,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
535
534
|
has_delivered: boolean;
|
|
536
535
|
started_rendering_at_millis: number;
|
|
537
536
|
rendered_at_millis: number;
|
|
537
|
+
subject: string;
|
|
538
538
|
is_transactional: boolean;
|
|
539
539
|
is_high_priority: boolean;
|
|
540
540
|
notification_category_id: string | null;
|
|
@@ -544,19 +544,18 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
544
544
|
} | {
|
|
545
545
|
status: "opened";
|
|
546
546
|
id: string;
|
|
547
|
-
subject: string;
|
|
548
|
-
created_at_millis: number;
|
|
549
547
|
html: string | null;
|
|
550
548
|
text: string | null;
|
|
549
|
+
created_at_millis: number;
|
|
551
550
|
updated_at_millis: number;
|
|
552
551
|
tsx_source: string;
|
|
553
552
|
theme_id: string | null;
|
|
554
553
|
to: {
|
|
555
|
-
type: "user-primary-email";
|
|
556
554
|
user_id: string;
|
|
555
|
+
type: "user-primary-email";
|
|
557
556
|
} | {
|
|
558
|
-
type: "user-custom-emails";
|
|
559
557
|
user_id: string;
|
|
558
|
+
type: "user-custom-emails";
|
|
560
559
|
emails: string[];
|
|
561
560
|
} | {
|
|
562
561
|
type: "custom-emails";
|
|
@@ -584,6 +583,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
584
583
|
has_delivered: boolean;
|
|
585
584
|
started_rendering_at_millis: number;
|
|
586
585
|
rendered_at_millis: number;
|
|
586
|
+
subject: string;
|
|
587
587
|
is_transactional: boolean;
|
|
588
588
|
is_high_priority: boolean;
|
|
589
589
|
notification_category_id: string | null;
|
|
@@ -594,19 +594,18 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
594
594
|
} | {
|
|
595
595
|
status: "clicked";
|
|
596
596
|
id: string;
|
|
597
|
-
subject: string;
|
|
598
|
-
created_at_millis: number;
|
|
599
597
|
html: string | null;
|
|
600
598
|
text: string | null;
|
|
599
|
+
created_at_millis: number;
|
|
601
600
|
updated_at_millis: number;
|
|
602
601
|
tsx_source: string;
|
|
603
602
|
theme_id: string | null;
|
|
604
603
|
to: {
|
|
605
|
-
type: "user-primary-email";
|
|
606
604
|
user_id: string;
|
|
605
|
+
type: "user-primary-email";
|
|
607
606
|
} | {
|
|
608
|
-
type: "user-custom-emails";
|
|
609
607
|
user_id: string;
|
|
608
|
+
type: "user-custom-emails";
|
|
610
609
|
emails: string[];
|
|
611
610
|
} | {
|
|
612
611
|
type: "custom-emails";
|
|
@@ -634,6 +633,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
634
633
|
has_delivered: boolean;
|
|
635
634
|
started_rendering_at_millis: number;
|
|
636
635
|
rendered_at_millis: number;
|
|
636
|
+
subject: string;
|
|
637
637
|
is_transactional: boolean;
|
|
638
638
|
is_high_priority: boolean;
|
|
639
639
|
notification_category_id: string | null;
|
|
@@ -644,19 +644,18 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
644
644
|
} | {
|
|
645
645
|
status: "marked-as-spam";
|
|
646
646
|
id: string;
|
|
647
|
-
subject: string;
|
|
648
|
-
created_at_millis: number;
|
|
649
647
|
html: string | null;
|
|
650
648
|
text: string | null;
|
|
649
|
+
created_at_millis: number;
|
|
651
650
|
updated_at_millis: number;
|
|
652
651
|
tsx_source: string;
|
|
653
652
|
theme_id: string | null;
|
|
654
653
|
to: {
|
|
655
|
-
type: "user-primary-email";
|
|
656
654
|
user_id: string;
|
|
655
|
+
type: "user-primary-email";
|
|
657
656
|
} | {
|
|
658
|
-
type: "user-custom-emails";
|
|
659
657
|
user_id: string;
|
|
658
|
+
type: "user-custom-emails";
|
|
660
659
|
emails: string[];
|
|
661
660
|
} | {
|
|
662
661
|
type: "custom-emails";
|
|
@@ -684,6 +683,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
684
683
|
has_delivered: boolean;
|
|
685
684
|
started_rendering_at_millis: number;
|
|
686
685
|
rendered_at_millis: number;
|
|
686
|
+
subject: string;
|
|
687
687
|
is_transactional: boolean;
|
|
688
688
|
is_high_priority: boolean;
|
|
689
689
|
notification_category_id: string | null;
|
|
@@ -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";
|
|
@@ -730,11 +730,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
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";
|
|
@@ -768,11 +768,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
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";
|
|
@@ -806,11 +806,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
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";
|
|
@@ -845,11 +845,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
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";
|
|
@@ -881,19 +881,18 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
881
881
|
} | {
|
|
882
882
|
status: "scheduled";
|
|
883
883
|
id: string;
|
|
884
|
-
subject: string;
|
|
885
|
-
created_at_millis: number;
|
|
886
884
|
html: string | null;
|
|
887
885
|
text: string | null;
|
|
886
|
+
created_at_millis: number;
|
|
888
887
|
updated_at_millis: number;
|
|
889
888
|
tsx_source: string;
|
|
890
889
|
theme_id: string | null;
|
|
891
890
|
to: {
|
|
892
|
-
type: "user-primary-email";
|
|
893
891
|
user_id: string;
|
|
892
|
+
type: "user-primary-email";
|
|
894
893
|
} | {
|
|
895
|
-
type: "user-custom-emails";
|
|
896
894
|
user_id: string;
|
|
895
|
+
type: "user-custom-emails";
|
|
897
896
|
emails: string[];
|
|
898
897
|
} | {
|
|
899
898
|
type: "custom-emails";
|
|
@@ -921,25 +920,25 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
921
920
|
has_delivered: boolean;
|
|
922
921
|
started_rendering_at_millis: number;
|
|
923
922
|
rendered_at_millis: number;
|
|
923
|
+
subject: string;
|
|
924
924
|
is_transactional: boolean;
|
|
925
925
|
is_high_priority: boolean;
|
|
926
926
|
notification_category_id: string | null;
|
|
927
927
|
} | {
|
|
928
928
|
status: "queued";
|
|
929
929
|
id: string;
|
|
930
|
-
subject: string;
|
|
931
|
-
created_at_millis: number;
|
|
932
930
|
html: string | null;
|
|
933
931
|
text: string | null;
|
|
932
|
+
created_at_millis: number;
|
|
934
933
|
updated_at_millis: number;
|
|
935
934
|
tsx_source: string;
|
|
936
935
|
theme_id: string | null;
|
|
937
936
|
to: {
|
|
938
|
-
type: "user-primary-email";
|
|
939
937
|
user_id: string;
|
|
938
|
+
type: "user-primary-email";
|
|
940
939
|
} | {
|
|
941
|
-
type: "user-custom-emails";
|
|
942
940
|
user_id: string;
|
|
941
|
+
type: "user-custom-emails";
|
|
943
942
|
emails: string[];
|
|
944
943
|
} | {
|
|
945
944
|
type: "custom-emails";
|
|
@@ -967,25 +966,25 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
967
966
|
has_delivered: boolean;
|
|
968
967
|
started_rendering_at_millis: number;
|
|
969
968
|
rendered_at_millis: number;
|
|
969
|
+
subject: string;
|
|
970
970
|
is_transactional: boolean;
|
|
971
971
|
is_high_priority: boolean;
|
|
972
972
|
notification_category_id: string | null;
|
|
973
973
|
} | {
|
|
974
974
|
status: "sending";
|
|
975
975
|
id: string;
|
|
976
|
-
subject: string;
|
|
977
|
-
created_at_millis: number;
|
|
978
976
|
html: string | null;
|
|
979
977
|
text: string | null;
|
|
978
|
+
created_at_millis: number;
|
|
980
979
|
updated_at_millis: number;
|
|
981
980
|
tsx_source: string;
|
|
982
981
|
theme_id: string | null;
|
|
983
982
|
to: {
|
|
984
|
-
type: "user-primary-email";
|
|
985
983
|
user_id: string;
|
|
984
|
+
type: "user-primary-email";
|
|
986
985
|
} | {
|
|
987
|
-
type: "user-custom-emails";
|
|
988
986
|
user_id: string;
|
|
987
|
+
type: "user-custom-emails";
|
|
989
988
|
emails: string[];
|
|
990
989
|
} | {
|
|
991
990
|
type: "custom-emails";
|
|
@@ -1013,6 +1012,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1013
1012
|
has_delivered: boolean;
|
|
1014
1013
|
started_rendering_at_millis: number;
|
|
1015
1014
|
rendered_at_millis: number;
|
|
1015
|
+
subject: string;
|
|
1016
1016
|
is_transactional: boolean;
|
|
1017
1017
|
is_high_priority: boolean;
|
|
1018
1018
|
notification_category_id: string | null;
|
|
@@ -1020,19 +1020,18 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1020
1020
|
} | {
|
|
1021
1021
|
status: "server-error";
|
|
1022
1022
|
id: string;
|
|
1023
|
-
subject: string;
|
|
1024
|
-
created_at_millis: number;
|
|
1025
1023
|
html: string | null;
|
|
1026
1024
|
text: string | null;
|
|
1025
|
+
created_at_millis: number;
|
|
1027
1026
|
updated_at_millis: number;
|
|
1028
1027
|
tsx_source: string;
|
|
1029
1028
|
theme_id: string | null;
|
|
1030
1029
|
to: {
|
|
1031
|
-
type: "user-primary-email";
|
|
1032
1030
|
user_id: string;
|
|
1031
|
+
type: "user-primary-email";
|
|
1033
1032
|
} | {
|
|
1034
|
-
type: "user-custom-emails";
|
|
1035
1033
|
user_id: string;
|
|
1034
|
+
type: "user-custom-emails";
|
|
1036
1035
|
emails: string[];
|
|
1037
1036
|
} | {
|
|
1038
1037
|
type: "custom-emails";
|
|
@@ -1060,6 +1059,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1060
1059
|
has_delivered: boolean;
|
|
1061
1060
|
started_rendering_at_millis: number;
|
|
1062
1061
|
rendered_at_millis: number;
|
|
1062
|
+
subject: string;
|
|
1063
1063
|
is_transactional: boolean;
|
|
1064
1064
|
is_high_priority: boolean;
|
|
1065
1065
|
notification_category_id: string | null;
|
|
@@ -1067,11 +1067,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1067
1067
|
error_at_millis: number;
|
|
1068
1068
|
server_error: string;
|
|
1069
1069
|
} | {
|
|
1070
|
-
subject?: string | undefined;
|
|
1071
1070
|
html?: string | null | undefined;
|
|
1072
1071
|
text?: string | null | undefined;
|
|
1073
1072
|
started_rendering_at_millis?: number | undefined;
|
|
1074
1073
|
rendered_at_millis?: number | undefined;
|
|
1074
|
+
subject?: string | undefined;
|
|
1075
1075
|
is_transactional?: boolean | undefined;
|
|
1076
1076
|
is_high_priority?: boolean | undefined;
|
|
1077
1077
|
notification_category_id?: string | null | undefined;
|
|
@@ -1083,11 +1083,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
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";
|
|
@@ -1119,19 +1119,18 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1119
1119
|
} | {
|
|
1120
1120
|
status: "bounced";
|
|
1121
1121
|
id: string;
|
|
1122
|
-
subject: string;
|
|
1123
|
-
created_at_millis: number;
|
|
1124
1122
|
html: string | null;
|
|
1125
1123
|
text: string | null;
|
|
1124
|
+
created_at_millis: number;
|
|
1126
1125
|
updated_at_millis: number;
|
|
1127
1126
|
tsx_source: string;
|
|
1128
1127
|
theme_id: string | null;
|
|
1129
1128
|
to: {
|
|
1130
|
-
type: "user-primary-email";
|
|
1131
1129
|
user_id: string;
|
|
1130
|
+
type: "user-primary-email";
|
|
1132
1131
|
} | {
|
|
1133
|
-
type: "user-custom-emails";
|
|
1134
1132
|
user_id: string;
|
|
1133
|
+
type: "user-custom-emails";
|
|
1135
1134
|
emails: string[];
|
|
1136
1135
|
} | {
|
|
1137
1136
|
type: "custom-emails";
|
|
@@ -1159,6 +1158,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1159
1158
|
has_delivered: boolean;
|
|
1160
1159
|
started_rendering_at_millis: number;
|
|
1161
1160
|
rendered_at_millis: number;
|
|
1161
|
+
subject: string;
|
|
1162
1162
|
is_transactional: boolean;
|
|
1163
1163
|
is_high_priority: boolean;
|
|
1164
1164
|
notification_category_id: string | null;
|
|
@@ -1167,19 +1167,18 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1167
1167
|
} | {
|
|
1168
1168
|
status: "delivery-delayed";
|
|
1169
1169
|
id: string;
|
|
1170
|
-
subject: string;
|
|
1171
|
-
created_at_millis: number;
|
|
1172
1170
|
html: string | null;
|
|
1173
1171
|
text: string | null;
|
|
1172
|
+
created_at_millis: number;
|
|
1174
1173
|
updated_at_millis: number;
|
|
1175
1174
|
tsx_source: string;
|
|
1176
1175
|
theme_id: string | null;
|
|
1177
1176
|
to: {
|
|
1178
|
-
type: "user-primary-email";
|
|
1179
1177
|
user_id: string;
|
|
1178
|
+
type: "user-primary-email";
|
|
1180
1179
|
} | {
|
|
1181
|
-
type: "user-custom-emails";
|
|
1182
1180
|
user_id: string;
|
|
1181
|
+
type: "user-custom-emails";
|
|
1183
1182
|
emails: string[];
|
|
1184
1183
|
} | {
|
|
1185
1184
|
type: "custom-emails";
|
|
@@ -1207,6 +1206,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1207
1206
|
has_delivered: boolean;
|
|
1208
1207
|
started_rendering_at_millis: number;
|
|
1209
1208
|
rendered_at_millis: number;
|
|
1209
|
+
subject: string;
|
|
1210
1210
|
is_transactional: boolean;
|
|
1211
1211
|
is_high_priority: boolean;
|
|
1212
1212
|
notification_category_id: string | null;
|
|
@@ -1215,19 +1215,18 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1215
1215
|
} | {
|
|
1216
1216
|
status: "sent";
|
|
1217
1217
|
id: string;
|
|
1218
|
-
subject: string;
|
|
1219
|
-
created_at_millis: number;
|
|
1220
1218
|
html: string | null;
|
|
1221
1219
|
text: string | null;
|
|
1220
|
+
created_at_millis: number;
|
|
1222
1221
|
updated_at_millis: number;
|
|
1223
1222
|
tsx_source: string;
|
|
1224
1223
|
theme_id: string | null;
|
|
1225
1224
|
to: {
|
|
1226
|
-
type: "user-primary-email";
|
|
1227
1225
|
user_id: string;
|
|
1226
|
+
type: "user-primary-email";
|
|
1228
1227
|
} | {
|
|
1229
|
-
type: "user-custom-emails";
|
|
1230
1228
|
user_id: string;
|
|
1229
|
+
type: "user-custom-emails";
|
|
1231
1230
|
emails: string[];
|
|
1232
1231
|
} | {
|
|
1233
1232
|
type: "custom-emails";
|
|
@@ -1255,6 +1254,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1255
1254
|
has_delivered: boolean;
|
|
1256
1255
|
started_rendering_at_millis: number;
|
|
1257
1256
|
rendered_at_millis: number;
|
|
1257
|
+
subject: string;
|
|
1258
1258
|
is_transactional: boolean;
|
|
1259
1259
|
is_high_priority: boolean;
|
|
1260
1260
|
notification_category_id: string | null;
|
|
@@ -1264,19 +1264,18 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1264
1264
|
} | {
|
|
1265
1265
|
status: "opened";
|
|
1266
1266
|
id: string;
|
|
1267
|
-
subject: string;
|
|
1268
|
-
created_at_millis: number;
|
|
1269
1267
|
html: string | null;
|
|
1270
1268
|
text: string | null;
|
|
1269
|
+
created_at_millis: number;
|
|
1271
1270
|
updated_at_millis: number;
|
|
1272
1271
|
tsx_source: string;
|
|
1273
1272
|
theme_id: string | null;
|
|
1274
1273
|
to: {
|
|
1275
|
-
type: "user-primary-email";
|
|
1276
1274
|
user_id: string;
|
|
1275
|
+
type: "user-primary-email";
|
|
1277
1276
|
} | {
|
|
1278
|
-
type: "user-custom-emails";
|
|
1279
1277
|
user_id: string;
|
|
1278
|
+
type: "user-custom-emails";
|
|
1280
1279
|
emails: string[];
|
|
1281
1280
|
} | {
|
|
1282
1281
|
type: "custom-emails";
|
|
@@ -1304,6 +1303,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1304
1303
|
has_delivered: boolean;
|
|
1305
1304
|
started_rendering_at_millis: number;
|
|
1306
1305
|
rendered_at_millis: number;
|
|
1306
|
+
subject: string;
|
|
1307
1307
|
is_transactional: boolean;
|
|
1308
1308
|
is_high_priority: boolean;
|
|
1309
1309
|
notification_category_id: string | null;
|
|
@@ -1314,19 +1314,18 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1314
1314
|
} | {
|
|
1315
1315
|
status: "clicked";
|
|
1316
1316
|
id: string;
|
|
1317
|
-
subject: string;
|
|
1318
|
-
created_at_millis: number;
|
|
1319
1317
|
html: string | null;
|
|
1320
1318
|
text: string | null;
|
|
1319
|
+
created_at_millis: number;
|
|
1321
1320
|
updated_at_millis: number;
|
|
1322
1321
|
tsx_source: string;
|
|
1323
1322
|
theme_id: string | null;
|
|
1324
1323
|
to: {
|
|
1325
|
-
type: "user-primary-email";
|
|
1326
1324
|
user_id: string;
|
|
1325
|
+
type: "user-primary-email";
|
|
1327
1326
|
} | {
|
|
1328
|
-
type: "user-custom-emails";
|
|
1329
1327
|
user_id: string;
|
|
1328
|
+
type: "user-custom-emails";
|
|
1330
1329
|
emails: string[];
|
|
1331
1330
|
} | {
|
|
1332
1331
|
type: "custom-emails";
|
|
@@ -1354,6 +1353,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1354
1353
|
has_delivered: boolean;
|
|
1355
1354
|
started_rendering_at_millis: number;
|
|
1356
1355
|
rendered_at_millis: number;
|
|
1356
|
+
subject: string;
|
|
1357
1357
|
is_transactional: boolean;
|
|
1358
1358
|
is_high_priority: boolean;
|
|
1359
1359
|
notification_category_id: string | null;
|
|
@@ -1364,19 +1364,18 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1364
1364
|
} | {
|
|
1365
1365
|
status: "marked-as-spam";
|
|
1366
1366
|
id: string;
|
|
1367
|
-
subject: string;
|
|
1368
|
-
created_at_millis: number;
|
|
1369
1367
|
html: string | null;
|
|
1370
1368
|
text: string | null;
|
|
1369
|
+
created_at_millis: number;
|
|
1371
1370
|
updated_at_millis: number;
|
|
1372
1371
|
tsx_source: string;
|
|
1373
1372
|
theme_id: string | null;
|
|
1374
1373
|
to: {
|
|
1375
|
-
type: "user-primary-email";
|
|
1376
1374
|
user_id: string;
|
|
1375
|
+
type: "user-primary-email";
|
|
1377
1376
|
} | {
|
|
1378
|
-
type: "user-custom-emails";
|
|
1379
1377
|
user_id: string;
|
|
1378
|
+
type: "user-custom-emails";
|
|
1380
1379
|
emails: string[];
|
|
1381
1380
|
} | {
|
|
1382
1381
|
type: "custom-emails";
|
|
@@ -1404,6 +1403,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1404
1403
|
has_delivered: boolean;
|
|
1405
1404
|
started_rendering_at_millis: number;
|
|
1406
1405
|
rendered_at_millis: number;
|
|
1406
|
+
subject: string;
|
|
1407
1407
|
is_transactional: boolean;
|
|
1408
1408
|
is_high_priority: boolean;
|
|
1409
1409
|
notification_category_id: string | null;
|
|
@@ -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";
|