@hexclave/shared 1.0.17 → 1.0.18
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/config/schema.d.ts +50 -50
- package/dist/esm/config/schema.d.ts +50 -50
- package/dist/esm/interface/admin-metrics.d.ts +5 -5
- package/dist/esm/interface/conversations.d.ts +5 -5
- package/dist/esm/interface/crud/current-user.d.ts +5 -5
- package/dist/esm/interface/crud/email-outbox.d.ts +96 -96
- package/dist/esm/interface/crud/products.d.ts +1 -1
- package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
- package/dist/esm/interface/crud/projects.d.ts +35 -35
- package/dist/esm/interface/crud/team-member-profiles.d.ts +12 -12
- package/dist/esm/interface/crud/users.d.ts +12 -12
- package/dist/esm/interface/webhooks.d.ts +4 -4
- package/dist/interface/admin-metrics.d.ts +5 -5
- package/dist/interface/conversations.d.ts +5 -5
- package/dist/interface/crud/current-user.d.ts +5 -5
- package/dist/interface/crud/email-outbox.d.ts +96 -96
- package/dist/interface/crud/products.d.ts +1 -1
- package/dist/interface/crud/project-api-keys.d.ts +4 -4
- package/dist/interface/crud/projects.d.ts +35 -35
- package/dist/interface/crud/team-member-profiles.d.ts +12 -12
- package/dist/interface/crud/users.d.ts +12 -12
- package/dist/interface/webhooks.d.ts +4 -4
- package/package.json +1 -1
|
@@ -6,7 +6,6 @@ import { CrudTypeOf } from "../../crud";
|
|
|
6
6
|
declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
7
7
|
status: "paused";
|
|
8
8
|
id: string;
|
|
9
|
-
created_at_millis: number;
|
|
10
9
|
to: {
|
|
11
10
|
user_id: string;
|
|
12
11
|
type: "user-primary-email";
|
|
@@ -18,6 +17,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
18
17
|
type: "custom-emails";
|
|
19
18
|
emails: string[];
|
|
20
19
|
};
|
|
20
|
+
created_at_millis: number;
|
|
21
21
|
updated_at_millis: number;
|
|
22
22
|
tsx_source: string;
|
|
23
23
|
theme_id: string | null;
|
|
@@ -44,7 +44,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
44
44
|
} | {
|
|
45
45
|
status: "preparing";
|
|
46
46
|
id: string;
|
|
47
|
-
created_at_millis: number;
|
|
48
47
|
to: {
|
|
49
48
|
user_id: string;
|
|
50
49
|
type: "user-primary-email";
|
|
@@ -56,6 +55,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
56
55
|
type: "custom-emails";
|
|
57
56
|
emails: string[];
|
|
58
57
|
};
|
|
58
|
+
created_at_millis: number;
|
|
59
59
|
updated_at_millis: number;
|
|
60
60
|
tsx_source: string;
|
|
61
61
|
theme_id: string | null;
|
|
@@ -82,7 +82,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
82
82
|
} | {
|
|
83
83
|
status: "rendering";
|
|
84
84
|
id: string;
|
|
85
|
-
created_at_millis: number;
|
|
86
85
|
to: {
|
|
87
86
|
user_id: string;
|
|
88
87
|
type: "user-primary-email";
|
|
@@ -94,6 +93,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
94
93
|
type: "custom-emails";
|
|
95
94
|
emails: string[];
|
|
96
95
|
};
|
|
96
|
+
created_at_millis: number;
|
|
97
97
|
updated_at_millis: number;
|
|
98
98
|
tsx_source: string;
|
|
99
99
|
theme_id: string | null;
|
|
@@ -121,7 +121,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
121
121
|
} | {
|
|
122
122
|
status: "render-error";
|
|
123
123
|
id: string;
|
|
124
|
-
created_at_millis: number;
|
|
125
124
|
to: {
|
|
126
125
|
user_id: string;
|
|
127
126
|
type: "user-primary-email";
|
|
@@ -133,6 +132,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
133
132
|
type: "custom-emails";
|
|
134
133
|
emails: string[];
|
|
135
134
|
};
|
|
135
|
+
created_at_millis: number;
|
|
136
136
|
updated_at_millis: number;
|
|
137
137
|
tsx_source: string;
|
|
138
138
|
theme_id: string | null;
|
|
@@ -163,10 +163,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
163
163
|
status: "scheduled";
|
|
164
164
|
id: string;
|
|
165
165
|
subject: string;
|
|
166
|
-
created_at_millis: number;
|
|
167
|
-
html: string | null;
|
|
168
|
-
text: string | null;
|
|
169
|
-
notification_category_id: string | null;
|
|
170
166
|
to: {
|
|
171
167
|
user_id: string;
|
|
172
168
|
type: "user-primary-email";
|
|
@@ -178,6 +174,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
178
174
|
type: "custom-emails";
|
|
179
175
|
emails: string[];
|
|
180
176
|
};
|
|
177
|
+
created_at_millis: number;
|
|
181
178
|
updated_at_millis: number;
|
|
182
179
|
tsx_source: string;
|
|
183
180
|
theme_id: string | null;
|
|
@@ -203,16 +200,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
203
200
|
has_delivered: boolean;
|
|
204
201
|
started_rendering_at_millis: number;
|
|
205
202
|
rendered_at_millis: number;
|
|
203
|
+
html: string | null;
|
|
204
|
+
text: string | null;
|
|
206
205
|
is_transactional: boolean;
|
|
207
206
|
is_high_priority: boolean;
|
|
207
|
+
notification_category_id: string | null;
|
|
208
208
|
} | {
|
|
209
209
|
status: "queued";
|
|
210
210
|
id: string;
|
|
211
211
|
subject: string;
|
|
212
|
-
created_at_millis: number;
|
|
213
|
-
html: string | null;
|
|
214
|
-
text: string | null;
|
|
215
|
-
notification_category_id: string | null;
|
|
216
212
|
to: {
|
|
217
213
|
user_id: string;
|
|
218
214
|
type: "user-primary-email";
|
|
@@ -224,6 +220,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
224
220
|
type: "custom-emails";
|
|
225
221
|
emails: string[];
|
|
226
222
|
};
|
|
223
|
+
created_at_millis: number;
|
|
227
224
|
updated_at_millis: number;
|
|
228
225
|
tsx_source: string;
|
|
229
226
|
theme_id: string | null;
|
|
@@ -249,16 +246,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
249
246
|
has_delivered: boolean;
|
|
250
247
|
started_rendering_at_millis: number;
|
|
251
248
|
rendered_at_millis: number;
|
|
249
|
+
html: string | null;
|
|
250
|
+
text: string | null;
|
|
252
251
|
is_transactional: boolean;
|
|
253
252
|
is_high_priority: boolean;
|
|
253
|
+
notification_category_id: string | null;
|
|
254
254
|
} | {
|
|
255
255
|
status: "sending";
|
|
256
256
|
id: string;
|
|
257
257
|
subject: string;
|
|
258
|
-
created_at_millis: number;
|
|
259
|
-
html: string | null;
|
|
260
|
-
text: string | null;
|
|
261
|
-
notification_category_id: string | null;
|
|
262
258
|
to: {
|
|
263
259
|
user_id: string;
|
|
264
260
|
type: "user-primary-email";
|
|
@@ -270,6 +266,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
270
266
|
type: "custom-emails";
|
|
271
267
|
emails: string[];
|
|
272
268
|
};
|
|
269
|
+
created_at_millis: number;
|
|
273
270
|
updated_at_millis: number;
|
|
274
271
|
tsx_source: string;
|
|
275
272
|
theme_id: string | null;
|
|
@@ -295,17 +292,16 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
295
292
|
has_delivered: boolean;
|
|
296
293
|
started_rendering_at_millis: number;
|
|
297
294
|
rendered_at_millis: number;
|
|
295
|
+
html: string | null;
|
|
296
|
+
text: string | null;
|
|
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
302
|
status: "server-error";
|
|
303
303
|
id: string;
|
|
304
304
|
subject: string;
|
|
305
|
-
created_at_millis: number;
|
|
306
|
-
html: string | null;
|
|
307
|
-
text: string | null;
|
|
308
|
-
notification_category_id: string | null;
|
|
309
305
|
to: {
|
|
310
306
|
user_id: string;
|
|
311
307
|
type: "user-primary-email";
|
|
@@ -317,6 +313,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
317
313
|
type: "custom-emails";
|
|
318
314
|
emails: string[];
|
|
319
315
|
};
|
|
316
|
+
created_at_millis: number;
|
|
320
317
|
updated_at_millis: number;
|
|
321
318
|
tsx_source: string;
|
|
322
319
|
theme_id: string | null;
|
|
@@ -342,24 +339,26 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
342
339
|
has_delivered: boolean;
|
|
343
340
|
started_rendering_at_millis: number;
|
|
344
341
|
rendered_at_millis: number;
|
|
342
|
+
html: string | null;
|
|
343
|
+
text: string | null;
|
|
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
|
subject?: string | undefined;
|
|
352
|
-
html?: string | null | undefined;
|
|
353
|
-
text?: string | null | undefined;
|
|
354
|
-
notification_category_id?: string | null | undefined;
|
|
355
352
|
started_rendering_at_millis?: number | undefined;
|
|
356
353
|
rendered_at_millis?: number | undefined;
|
|
354
|
+
html?: string | null | undefined;
|
|
355
|
+
text?: string | null | 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
360
|
status: "skipped";
|
|
361
361
|
id: string;
|
|
362
|
-
created_at_millis: number;
|
|
363
362
|
to: {
|
|
364
363
|
user_id: string;
|
|
365
364
|
type: "user-primary-email";
|
|
@@ -371,6 +370,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
371
370
|
type: "custom-emails";
|
|
372
371
|
emails: string[];
|
|
373
372
|
};
|
|
373
|
+
created_at_millis: number;
|
|
374
374
|
updated_at_millis: number;
|
|
375
375
|
tsx_source: string;
|
|
376
376
|
theme_id: string | null;
|
|
@@ -401,10 +401,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
401
401
|
status: "bounced";
|
|
402
402
|
id: string;
|
|
403
403
|
subject: string;
|
|
404
|
-
created_at_millis: number;
|
|
405
|
-
html: string | null;
|
|
406
|
-
text: string | null;
|
|
407
|
-
notification_category_id: string | null;
|
|
408
404
|
to: {
|
|
409
405
|
user_id: string;
|
|
410
406
|
type: "user-primary-email";
|
|
@@ -416,6 +412,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
416
412
|
type: "custom-emails";
|
|
417
413
|
emails: string[];
|
|
418
414
|
};
|
|
415
|
+
created_at_millis: number;
|
|
419
416
|
updated_at_millis: number;
|
|
420
417
|
tsx_source: string;
|
|
421
418
|
theme_id: string | null;
|
|
@@ -441,18 +438,17 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
441
438
|
has_delivered: boolean;
|
|
442
439
|
started_rendering_at_millis: number;
|
|
443
440
|
rendered_at_millis: number;
|
|
441
|
+
html: string | null;
|
|
442
|
+
text: string | null;
|
|
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
449
|
status: "delivery-delayed";
|
|
450
450
|
id: string;
|
|
451
451
|
subject: string;
|
|
452
|
-
created_at_millis: number;
|
|
453
|
-
html: string | null;
|
|
454
|
-
text: string | null;
|
|
455
|
-
notification_category_id: string | null;
|
|
456
452
|
to: {
|
|
457
453
|
user_id: string;
|
|
458
454
|
type: "user-primary-email";
|
|
@@ -464,6 +460,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
464
460
|
type: "custom-emails";
|
|
465
461
|
emails: string[];
|
|
466
462
|
};
|
|
463
|
+
created_at_millis: number;
|
|
467
464
|
updated_at_millis: number;
|
|
468
465
|
tsx_source: string;
|
|
469
466
|
theme_id: string | null;
|
|
@@ -489,18 +486,17 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
489
486
|
has_delivered: boolean;
|
|
490
487
|
started_rendering_at_millis: number;
|
|
491
488
|
rendered_at_millis: number;
|
|
489
|
+
html: string | null;
|
|
490
|
+
text: string | null;
|
|
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
497
|
status: "sent";
|
|
498
498
|
id: string;
|
|
499
499
|
subject: string;
|
|
500
|
-
created_at_millis: number;
|
|
501
|
-
html: string | null;
|
|
502
|
-
text: string | null;
|
|
503
|
-
notification_category_id: string | null;
|
|
504
500
|
to: {
|
|
505
501
|
user_id: string;
|
|
506
502
|
type: "user-primary-email";
|
|
@@ -512,6 +508,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
512
508
|
type: "custom-emails";
|
|
513
509
|
emails: string[];
|
|
514
510
|
};
|
|
511
|
+
created_at_millis: number;
|
|
515
512
|
updated_at_millis: number;
|
|
516
513
|
tsx_source: string;
|
|
517
514
|
theme_id: string | null;
|
|
@@ -537,8 +534,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
537
534
|
has_delivered: boolean;
|
|
538
535
|
started_rendering_at_millis: number;
|
|
539
536
|
rendered_at_millis: number;
|
|
537
|
+
html: string | null;
|
|
538
|
+
text: string | null;
|
|
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;
|
|
@@ -546,10 +546,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
546
546
|
status: "opened";
|
|
547
547
|
id: string;
|
|
548
548
|
subject: string;
|
|
549
|
-
created_at_millis: number;
|
|
550
|
-
html: string | null;
|
|
551
|
-
text: string | null;
|
|
552
|
-
notification_category_id: string | null;
|
|
553
549
|
to: {
|
|
554
550
|
user_id: string;
|
|
555
551
|
type: "user-primary-email";
|
|
@@ -561,6 +557,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
561
557
|
type: "custom-emails";
|
|
562
558
|
emails: string[];
|
|
563
559
|
};
|
|
560
|
+
created_at_millis: number;
|
|
564
561
|
updated_at_millis: number;
|
|
565
562
|
tsx_source: string;
|
|
566
563
|
theme_id: string | null;
|
|
@@ -586,8 +583,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
586
583
|
has_delivered: boolean;
|
|
587
584
|
started_rendering_at_millis: number;
|
|
588
585
|
rendered_at_millis: number;
|
|
586
|
+
html: string | null;
|
|
587
|
+
text: string | null;
|
|
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;
|
|
@@ -596,10 +596,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
596
596
|
status: "clicked";
|
|
597
597
|
id: string;
|
|
598
598
|
subject: string;
|
|
599
|
-
created_at_millis: number;
|
|
600
|
-
html: string | null;
|
|
601
|
-
text: string | null;
|
|
602
|
-
notification_category_id: string | null;
|
|
603
599
|
to: {
|
|
604
600
|
user_id: string;
|
|
605
601
|
type: "user-primary-email";
|
|
@@ -611,6 +607,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
611
607
|
type: "custom-emails";
|
|
612
608
|
emails: string[];
|
|
613
609
|
};
|
|
610
|
+
created_at_millis: number;
|
|
614
611
|
updated_at_millis: number;
|
|
615
612
|
tsx_source: string;
|
|
616
613
|
theme_id: string | null;
|
|
@@ -636,8 +633,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
636
633
|
has_delivered: boolean;
|
|
637
634
|
started_rendering_at_millis: number;
|
|
638
635
|
rendered_at_millis: number;
|
|
636
|
+
html: string | null;
|
|
637
|
+
text: string | null;
|
|
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;
|
|
@@ -646,10 +646,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
646
646
|
status: "marked-as-spam";
|
|
647
647
|
id: string;
|
|
648
648
|
subject: string;
|
|
649
|
-
created_at_millis: number;
|
|
650
|
-
html: string | null;
|
|
651
|
-
text: string | null;
|
|
652
|
-
notification_category_id: string | null;
|
|
653
649
|
to: {
|
|
654
650
|
user_id: string;
|
|
655
651
|
type: "user-primary-email";
|
|
@@ -661,6 +657,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
661
657
|
type: "custom-emails";
|
|
662
658
|
emails: string[];
|
|
663
659
|
};
|
|
660
|
+
created_at_millis: number;
|
|
664
661
|
updated_at_millis: number;
|
|
665
662
|
tsx_source: string;
|
|
666
663
|
theme_id: string | null;
|
|
@@ -686,8 +683,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
686
683
|
has_delivered: boolean;
|
|
687
684
|
started_rendering_at_millis: number;
|
|
688
685
|
rendered_at_millis: number;
|
|
686
|
+
html: string | null;
|
|
687
|
+
text: string | null;
|
|
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;
|
|
@@ -726,7 +726,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
726
726
|
serverReadSchema: yup$1.MixedSchema<{
|
|
727
727
|
status: "paused";
|
|
728
728
|
id: string;
|
|
729
|
-
created_at_millis: number;
|
|
730
729
|
to: {
|
|
731
730
|
user_id: string;
|
|
732
731
|
type: "user-primary-email";
|
|
@@ -738,6 +737,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
738
737
|
type: "custom-emails";
|
|
739
738
|
emails: string[];
|
|
740
739
|
};
|
|
740
|
+
created_at_millis: number;
|
|
741
741
|
updated_at_millis: number;
|
|
742
742
|
tsx_source: string;
|
|
743
743
|
theme_id: string | null;
|
|
@@ -764,7 +764,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
764
764
|
} | {
|
|
765
765
|
status: "preparing";
|
|
766
766
|
id: string;
|
|
767
|
-
created_at_millis: number;
|
|
768
767
|
to: {
|
|
769
768
|
user_id: string;
|
|
770
769
|
type: "user-primary-email";
|
|
@@ -776,6 +775,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
776
775
|
type: "custom-emails";
|
|
777
776
|
emails: string[];
|
|
778
777
|
};
|
|
778
|
+
created_at_millis: number;
|
|
779
779
|
updated_at_millis: number;
|
|
780
780
|
tsx_source: string;
|
|
781
781
|
theme_id: string | null;
|
|
@@ -802,7 +802,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
802
802
|
} | {
|
|
803
803
|
status: "rendering";
|
|
804
804
|
id: string;
|
|
805
|
-
created_at_millis: number;
|
|
806
805
|
to: {
|
|
807
806
|
user_id: string;
|
|
808
807
|
type: "user-primary-email";
|
|
@@ -814,6 +813,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
814
813
|
type: "custom-emails";
|
|
815
814
|
emails: string[];
|
|
816
815
|
};
|
|
816
|
+
created_at_millis: number;
|
|
817
817
|
updated_at_millis: number;
|
|
818
818
|
tsx_source: string;
|
|
819
819
|
theme_id: string | null;
|
|
@@ -841,7 +841,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
841
841
|
} | {
|
|
842
842
|
status: "render-error";
|
|
843
843
|
id: string;
|
|
844
|
-
created_at_millis: number;
|
|
845
844
|
to: {
|
|
846
845
|
user_id: string;
|
|
847
846
|
type: "user-primary-email";
|
|
@@ -853,6 +852,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
853
852
|
type: "custom-emails";
|
|
854
853
|
emails: string[];
|
|
855
854
|
};
|
|
855
|
+
created_at_millis: number;
|
|
856
856
|
updated_at_millis: number;
|
|
857
857
|
tsx_source: string;
|
|
858
858
|
theme_id: string | null;
|
|
@@ -883,10 +883,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
883
883
|
status: "scheduled";
|
|
884
884
|
id: string;
|
|
885
885
|
subject: string;
|
|
886
|
-
created_at_millis: number;
|
|
887
|
-
html: string | null;
|
|
888
|
-
text: string | null;
|
|
889
|
-
notification_category_id: string | null;
|
|
890
886
|
to: {
|
|
891
887
|
user_id: string;
|
|
892
888
|
type: "user-primary-email";
|
|
@@ -898,6 +894,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
898
894
|
type: "custom-emails";
|
|
899
895
|
emails: string[];
|
|
900
896
|
};
|
|
897
|
+
created_at_millis: number;
|
|
901
898
|
updated_at_millis: number;
|
|
902
899
|
tsx_source: string;
|
|
903
900
|
theme_id: string | null;
|
|
@@ -923,16 +920,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
923
920
|
has_delivered: boolean;
|
|
924
921
|
started_rendering_at_millis: number;
|
|
925
922
|
rendered_at_millis: number;
|
|
923
|
+
html: string | null;
|
|
924
|
+
text: string | null;
|
|
926
925
|
is_transactional: boolean;
|
|
927
926
|
is_high_priority: boolean;
|
|
927
|
+
notification_category_id: string | null;
|
|
928
928
|
} | {
|
|
929
929
|
status: "queued";
|
|
930
930
|
id: string;
|
|
931
931
|
subject: string;
|
|
932
|
-
created_at_millis: number;
|
|
933
|
-
html: string | null;
|
|
934
|
-
text: string | null;
|
|
935
|
-
notification_category_id: string | null;
|
|
936
932
|
to: {
|
|
937
933
|
user_id: string;
|
|
938
934
|
type: "user-primary-email";
|
|
@@ -944,6 +940,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
944
940
|
type: "custom-emails";
|
|
945
941
|
emails: string[];
|
|
946
942
|
};
|
|
943
|
+
created_at_millis: number;
|
|
947
944
|
updated_at_millis: number;
|
|
948
945
|
tsx_source: string;
|
|
949
946
|
theme_id: string | null;
|
|
@@ -969,16 +966,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
969
966
|
has_delivered: boolean;
|
|
970
967
|
started_rendering_at_millis: number;
|
|
971
968
|
rendered_at_millis: number;
|
|
969
|
+
html: string | null;
|
|
970
|
+
text: string | null;
|
|
972
971
|
is_transactional: boolean;
|
|
973
972
|
is_high_priority: boolean;
|
|
973
|
+
notification_category_id: string | null;
|
|
974
974
|
} | {
|
|
975
975
|
status: "sending";
|
|
976
976
|
id: string;
|
|
977
977
|
subject: string;
|
|
978
|
-
created_at_millis: number;
|
|
979
|
-
html: string | null;
|
|
980
|
-
text: string | null;
|
|
981
|
-
notification_category_id: string | null;
|
|
982
978
|
to: {
|
|
983
979
|
user_id: string;
|
|
984
980
|
type: "user-primary-email";
|
|
@@ -990,6 +986,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
990
986
|
type: "custom-emails";
|
|
991
987
|
emails: string[];
|
|
992
988
|
};
|
|
989
|
+
created_at_millis: number;
|
|
993
990
|
updated_at_millis: number;
|
|
994
991
|
tsx_source: string;
|
|
995
992
|
theme_id: string | null;
|
|
@@ -1015,17 +1012,16 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1015
1012
|
has_delivered: boolean;
|
|
1016
1013
|
started_rendering_at_millis: number;
|
|
1017
1014
|
rendered_at_millis: number;
|
|
1015
|
+
html: string | null;
|
|
1016
|
+
text: string | null;
|
|
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
1022
|
status: "server-error";
|
|
1023
1023
|
id: string;
|
|
1024
1024
|
subject: string;
|
|
1025
|
-
created_at_millis: number;
|
|
1026
|
-
html: string | null;
|
|
1027
|
-
text: string | null;
|
|
1028
|
-
notification_category_id: string | null;
|
|
1029
1025
|
to: {
|
|
1030
1026
|
user_id: string;
|
|
1031
1027
|
type: "user-primary-email";
|
|
@@ -1037,6 +1033,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1037
1033
|
type: "custom-emails";
|
|
1038
1034
|
emails: string[];
|
|
1039
1035
|
};
|
|
1036
|
+
created_at_millis: number;
|
|
1040
1037
|
updated_at_millis: number;
|
|
1041
1038
|
tsx_source: string;
|
|
1042
1039
|
theme_id: string | null;
|
|
@@ -1062,24 +1059,26 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1062
1059
|
has_delivered: boolean;
|
|
1063
1060
|
started_rendering_at_millis: number;
|
|
1064
1061
|
rendered_at_millis: number;
|
|
1062
|
+
html: string | null;
|
|
1063
|
+
text: string | null;
|
|
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
|
subject?: string | undefined;
|
|
1072
|
-
html?: string | null | undefined;
|
|
1073
|
-
text?: string | null | undefined;
|
|
1074
|
-
notification_category_id?: string | null | undefined;
|
|
1075
1072
|
started_rendering_at_millis?: number | undefined;
|
|
1076
1073
|
rendered_at_millis?: number | undefined;
|
|
1074
|
+
html?: string | null | undefined;
|
|
1075
|
+
text?: string | null | 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
1080
|
status: "skipped";
|
|
1081
1081
|
id: string;
|
|
1082
|
-
created_at_millis: number;
|
|
1083
1082
|
to: {
|
|
1084
1083
|
user_id: string;
|
|
1085
1084
|
type: "user-primary-email";
|
|
@@ -1091,6 +1090,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1091
1090
|
type: "custom-emails";
|
|
1092
1091
|
emails: string[];
|
|
1093
1092
|
};
|
|
1093
|
+
created_at_millis: number;
|
|
1094
1094
|
updated_at_millis: number;
|
|
1095
1095
|
tsx_source: string;
|
|
1096
1096
|
theme_id: string | null;
|
|
@@ -1121,10 +1121,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1121
1121
|
status: "bounced";
|
|
1122
1122
|
id: string;
|
|
1123
1123
|
subject: string;
|
|
1124
|
-
created_at_millis: number;
|
|
1125
|
-
html: string | null;
|
|
1126
|
-
text: string | null;
|
|
1127
|
-
notification_category_id: string | null;
|
|
1128
1124
|
to: {
|
|
1129
1125
|
user_id: string;
|
|
1130
1126
|
type: "user-primary-email";
|
|
@@ -1136,6 +1132,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1136
1132
|
type: "custom-emails";
|
|
1137
1133
|
emails: string[];
|
|
1138
1134
|
};
|
|
1135
|
+
created_at_millis: number;
|
|
1139
1136
|
updated_at_millis: number;
|
|
1140
1137
|
tsx_source: string;
|
|
1141
1138
|
theme_id: string | null;
|
|
@@ -1161,18 +1158,17 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1161
1158
|
has_delivered: boolean;
|
|
1162
1159
|
started_rendering_at_millis: number;
|
|
1163
1160
|
rendered_at_millis: number;
|
|
1161
|
+
html: string | null;
|
|
1162
|
+
text: string | null;
|
|
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
1169
|
status: "delivery-delayed";
|
|
1170
1170
|
id: string;
|
|
1171
1171
|
subject: string;
|
|
1172
|
-
created_at_millis: number;
|
|
1173
|
-
html: string | null;
|
|
1174
|
-
text: string | null;
|
|
1175
|
-
notification_category_id: string | null;
|
|
1176
1172
|
to: {
|
|
1177
1173
|
user_id: string;
|
|
1178
1174
|
type: "user-primary-email";
|
|
@@ -1184,6 +1180,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1184
1180
|
type: "custom-emails";
|
|
1185
1181
|
emails: string[];
|
|
1186
1182
|
};
|
|
1183
|
+
created_at_millis: number;
|
|
1187
1184
|
updated_at_millis: number;
|
|
1188
1185
|
tsx_source: string;
|
|
1189
1186
|
theme_id: string | null;
|
|
@@ -1209,18 +1206,17 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1209
1206
|
has_delivered: boolean;
|
|
1210
1207
|
started_rendering_at_millis: number;
|
|
1211
1208
|
rendered_at_millis: number;
|
|
1209
|
+
html: string | null;
|
|
1210
|
+
text: string | null;
|
|
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
1217
|
status: "sent";
|
|
1218
1218
|
id: string;
|
|
1219
1219
|
subject: string;
|
|
1220
|
-
created_at_millis: number;
|
|
1221
|
-
html: string | null;
|
|
1222
|
-
text: string | null;
|
|
1223
|
-
notification_category_id: string | null;
|
|
1224
1220
|
to: {
|
|
1225
1221
|
user_id: string;
|
|
1226
1222
|
type: "user-primary-email";
|
|
@@ -1232,6 +1228,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1232
1228
|
type: "custom-emails";
|
|
1233
1229
|
emails: string[];
|
|
1234
1230
|
};
|
|
1231
|
+
created_at_millis: number;
|
|
1235
1232
|
updated_at_millis: number;
|
|
1236
1233
|
tsx_source: string;
|
|
1237
1234
|
theme_id: string | null;
|
|
@@ -1257,8 +1254,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1257
1254
|
has_delivered: boolean;
|
|
1258
1255
|
started_rendering_at_millis: number;
|
|
1259
1256
|
rendered_at_millis: number;
|
|
1257
|
+
html: string | null;
|
|
1258
|
+
text: string | null;
|
|
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;
|
|
@@ -1266,10 +1266,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1266
1266
|
status: "opened";
|
|
1267
1267
|
id: string;
|
|
1268
1268
|
subject: string;
|
|
1269
|
-
created_at_millis: number;
|
|
1270
|
-
html: string | null;
|
|
1271
|
-
text: string | null;
|
|
1272
|
-
notification_category_id: string | null;
|
|
1273
1269
|
to: {
|
|
1274
1270
|
user_id: string;
|
|
1275
1271
|
type: "user-primary-email";
|
|
@@ -1281,6 +1277,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1281
1277
|
type: "custom-emails";
|
|
1282
1278
|
emails: string[];
|
|
1283
1279
|
};
|
|
1280
|
+
created_at_millis: number;
|
|
1284
1281
|
updated_at_millis: number;
|
|
1285
1282
|
tsx_source: string;
|
|
1286
1283
|
theme_id: string | null;
|
|
@@ -1306,8 +1303,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1306
1303
|
has_delivered: boolean;
|
|
1307
1304
|
started_rendering_at_millis: number;
|
|
1308
1305
|
rendered_at_millis: number;
|
|
1306
|
+
html: string | null;
|
|
1307
|
+
text: string | null;
|
|
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;
|
|
@@ -1316,10 +1316,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1316
1316
|
status: "clicked";
|
|
1317
1317
|
id: string;
|
|
1318
1318
|
subject: string;
|
|
1319
|
-
created_at_millis: number;
|
|
1320
|
-
html: string | null;
|
|
1321
|
-
text: string | null;
|
|
1322
|
-
notification_category_id: string | null;
|
|
1323
1319
|
to: {
|
|
1324
1320
|
user_id: string;
|
|
1325
1321
|
type: "user-primary-email";
|
|
@@ -1331,6 +1327,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1331
1327
|
type: "custom-emails";
|
|
1332
1328
|
emails: string[];
|
|
1333
1329
|
};
|
|
1330
|
+
created_at_millis: number;
|
|
1334
1331
|
updated_at_millis: number;
|
|
1335
1332
|
tsx_source: string;
|
|
1336
1333
|
theme_id: string | null;
|
|
@@ -1356,8 +1353,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1356
1353
|
has_delivered: boolean;
|
|
1357
1354
|
started_rendering_at_millis: number;
|
|
1358
1355
|
rendered_at_millis: number;
|
|
1356
|
+
html: string | null;
|
|
1357
|
+
text: string | null;
|
|
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;
|
|
@@ -1366,10 +1366,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1366
1366
|
status: "marked-as-spam";
|
|
1367
1367
|
id: string;
|
|
1368
1368
|
subject: string;
|
|
1369
|
-
created_at_millis: number;
|
|
1370
|
-
html: string | null;
|
|
1371
|
-
text: string | null;
|
|
1372
|
-
notification_category_id: string | null;
|
|
1373
1369
|
to: {
|
|
1374
1370
|
user_id: string;
|
|
1375
1371
|
type: "user-primary-email";
|
|
@@ -1381,6 +1377,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1381
1377
|
type: "custom-emails";
|
|
1382
1378
|
emails: string[];
|
|
1383
1379
|
};
|
|
1380
|
+
created_at_millis: number;
|
|
1384
1381
|
updated_at_millis: number;
|
|
1385
1382
|
tsx_source: string;
|
|
1386
1383
|
theme_id: string | null;
|
|
@@ -1406,8 +1403,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1406
1403
|
has_delivered: boolean;
|
|
1407
1404
|
started_rendering_at_millis: number;
|
|
1408
1405
|
rendered_at_millis: number;
|
|
1406
|
+
html: string | null;
|
|
1407
|
+
text: string | null;
|
|
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;
|