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