@hexclave/shared 1.0.13 → 1.0.14
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 +146 -146
- package/dist/esm/ai/unified-prompts/reminders.js +1 -1
- package/dist/esm/config/schema.d.ts +146 -146
- package/dist/esm/interface/admin-metrics.d.ts +2 -2
- package/dist/esm/interface/conversations.d.ts +8 -8
- package/dist/esm/interface/crud/email-outbox.d.ts +148 -148
- package/dist/esm/interface/crud/products.d.ts +4 -4
- package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
- package/dist/esm/interface/crud/projects.d.ts +16 -16
- package/dist/esm/interface/crud/transactions.d.ts +2 -2
- package/dist/esm/schema-fields.d.ts +3 -3
- package/dist/esm/sessions.d.ts +2 -2
- package/dist/interface/admin-metrics.d.ts +2 -2
- package/dist/interface/conversations.d.ts +8 -8
- package/dist/interface/crud/email-outbox.d.ts +148 -148
- package/dist/interface/crud/products.d.ts +4 -4
- package/dist/interface/crud/project-api-keys.d.ts +2 -2
- package/dist/interface/crud/projects.d.ts +16 -16
- package/dist/interface/crud/transactions.d.ts +2 -2
- package/dist/schema-fields.d.ts +3 -3
- package/dist/sessions.d.ts +2 -2
- package/package.json +1 -1
|
@@ -13,12 +13,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
13
13
|
user_id: string;
|
|
14
14
|
type: "user-primary-email";
|
|
15
15
|
} | {
|
|
16
|
+
emails: string[];
|
|
16
17
|
user_id: string;
|
|
17
18
|
type: "user-custom-emails";
|
|
18
|
-
emails: string[];
|
|
19
19
|
} | {
|
|
20
|
-
type: "custom-emails";
|
|
21
20
|
emails: string[];
|
|
21
|
+
type: "custom-emails";
|
|
22
22
|
};
|
|
23
23
|
variables: Record<string, {} | null>;
|
|
24
24
|
skip_deliverability_check: boolean;
|
|
@@ -51,12 +51,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
51
51
|
user_id: string;
|
|
52
52
|
type: "user-primary-email";
|
|
53
53
|
} | {
|
|
54
|
+
emails: string[];
|
|
54
55
|
user_id: string;
|
|
55
56
|
type: "user-custom-emails";
|
|
56
|
-
emails: string[];
|
|
57
57
|
} | {
|
|
58
|
-
type: "custom-emails";
|
|
59
58
|
emails: string[];
|
|
59
|
+
type: "custom-emails";
|
|
60
60
|
};
|
|
61
61
|
variables: Record<string, {} | null>;
|
|
62
62
|
skip_deliverability_check: boolean;
|
|
@@ -89,12 +89,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
89
89
|
user_id: string;
|
|
90
90
|
type: "user-primary-email";
|
|
91
91
|
} | {
|
|
92
|
+
emails: string[];
|
|
92
93
|
user_id: string;
|
|
93
94
|
type: "user-custom-emails";
|
|
94
|
-
emails: string[];
|
|
95
95
|
} | {
|
|
96
|
-
type: "custom-emails";
|
|
97
96
|
emails: string[];
|
|
97
|
+
type: "custom-emails";
|
|
98
98
|
};
|
|
99
99
|
variables: Record<string, {} | null>;
|
|
100
100
|
skip_deliverability_check: boolean;
|
|
@@ -128,12 +128,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
128
128
|
user_id: string;
|
|
129
129
|
type: "user-primary-email";
|
|
130
130
|
} | {
|
|
131
|
+
emails: string[];
|
|
131
132
|
user_id: string;
|
|
132
133
|
type: "user-custom-emails";
|
|
133
|
-
emails: string[];
|
|
134
134
|
} | {
|
|
135
|
-
type: "custom-emails";
|
|
136
135
|
emails: string[];
|
|
136
|
+
type: "custom-emails";
|
|
137
137
|
};
|
|
138
138
|
variables: Record<string, {} | null>;
|
|
139
139
|
skip_deliverability_check: boolean;
|
|
@@ -159,11 +159,13 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
159
159
|
rendered_at_millis: number;
|
|
160
160
|
render_error: string;
|
|
161
161
|
} | {
|
|
162
|
-
status: "scheduled";
|
|
163
|
-
id: string;
|
|
164
162
|
html: string | null;
|
|
165
163
|
text: string | null;
|
|
164
|
+
status: "scheduled";
|
|
165
|
+
id: string;
|
|
166
|
+
notification_category_id: string | null;
|
|
166
167
|
created_at_millis: number;
|
|
168
|
+
subject: string;
|
|
167
169
|
updated_at_millis: number;
|
|
168
170
|
tsx_source: string;
|
|
169
171
|
theme_id: string | null;
|
|
@@ -171,12 +173,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
171
173
|
user_id: string;
|
|
172
174
|
type: "user-primary-email";
|
|
173
175
|
} | {
|
|
176
|
+
emails: string[];
|
|
174
177
|
user_id: string;
|
|
175
178
|
type: "user-custom-emails";
|
|
176
|
-
emails: string[];
|
|
177
179
|
} | {
|
|
178
|
-
type: "custom-emails";
|
|
179
180
|
emails: string[];
|
|
181
|
+
type: "custom-emails";
|
|
180
182
|
};
|
|
181
183
|
variables: Record<string, {} | null>;
|
|
182
184
|
skip_deliverability_check: boolean;
|
|
@@ -200,16 +202,16 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
200
202
|
has_delivered: boolean;
|
|
201
203
|
started_rendering_at_millis: number;
|
|
202
204
|
rendered_at_millis: number;
|
|
203
|
-
subject: string;
|
|
204
205
|
is_transactional: boolean;
|
|
205
206
|
is_high_priority: boolean;
|
|
206
|
-
notification_category_id: string | null;
|
|
207
207
|
} | {
|
|
208
|
-
status: "queued";
|
|
209
|
-
id: string;
|
|
210
208
|
html: string | null;
|
|
211
209
|
text: string | null;
|
|
210
|
+
status: "queued";
|
|
211
|
+
id: string;
|
|
212
|
+
notification_category_id: string | null;
|
|
212
213
|
created_at_millis: number;
|
|
214
|
+
subject: string;
|
|
213
215
|
updated_at_millis: number;
|
|
214
216
|
tsx_source: string;
|
|
215
217
|
theme_id: string | null;
|
|
@@ -217,12 +219,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
217
219
|
user_id: string;
|
|
218
220
|
type: "user-primary-email";
|
|
219
221
|
} | {
|
|
222
|
+
emails: string[];
|
|
220
223
|
user_id: string;
|
|
221
224
|
type: "user-custom-emails";
|
|
222
|
-
emails: string[];
|
|
223
225
|
} | {
|
|
224
|
-
type: "custom-emails";
|
|
225
226
|
emails: string[];
|
|
227
|
+
type: "custom-emails";
|
|
226
228
|
};
|
|
227
229
|
variables: Record<string, {} | null>;
|
|
228
230
|
skip_deliverability_check: boolean;
|
|
@@ -246,16 +248,16 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
246
248
|
has_delivered: boolean;
|
|
247
249
|
started_rendering_at_millis: number;
|
|
248
250
|
rendered_at_millis: number;
|
|
249
|
-
subject: string;
|
|
250
251
|
is_transactional: boolean;
|
|
251
252
|
is_high_priority: boolean;
|
|
252
|
-
notification_category_id: string | null;
|
|
253
253
|
} | {
|
|
254
|
-
status: "sending";
|
|
255
|
-
id: string;
|
|
256
254
|
html: string | null;
|
|
257
255
|
text: string | null;
|
|
256
|
+
status: "sending";
|
|
257
|
+
id: string;
|
|
258
|
+
notification_category_id: string | null;
|
|
258
259
|
created_at_millis: number;
|
|
260
|
+
subject: string;
|
|
259
261
|
updated_at_millis: number;
|
|
260
262
|
tsx_source: string;
|
|
261
263
|
theme_id: string | null;
|
|
@@ -263,12 +265,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
263
265
|
user_id: string;
|
|
264
266
|
type: "user-primary-email";
|
|
265
267
|
} | {
|
|
268
|
+
emails: string[];
|
|
266
269
|
user_id: string;
|
|
267
270
|
type: "user-custom-emails";
|
|
268
|
-
emails: string[];
|
|
269
271
|
} | {
|
|
270
|
-
type: "custom-emails";
|
|
271
272
|
emails: string[];
|
|
273
|
+
type: "custom-emails";
|
|
272
274
|
};
|
|
273
275
|
variables: Record<string, {} | null>;
|
|
274
276
|
skip_deliverability_check: boolean;
|
|
@@ -292,17 +294,17 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
292
294
|
has_delivered: boolean;
|
|
293
295
|
started_rendering_at_millis: number;
|
|
294
296
|
rendered_at_millis: number;
|
|
295
|
-
subject: string;
|
|
296
297
|
is_transactional: boolean;
|
|
297
298
|
is_high_priority: boolean;
|
|
298
|
-
notification_category_id: string | null;
|
|
299
299
|
started_sending_at_millis: number;
|
|
300
300
|
} | {
|
|
301
|
-
status: "server-error";
|
|
302
|
-
id: string;
|
|
303
301
|
html: string | null;
|
|
304
302
|
text: string | null;
|
|
303
|
+
status: "server-error";
|
|
304
|
+
id: string;
|
|
305
|
+
notification_category_id: string | null;
|
|
305
306
|
created_at_millis: number;
|
|
307
|
+
subject: string;
|
|
306
308
|
updated_at_millis: number;
|
|
307
309
|
tsx_source: string;
|
|
308
310
|
theme_id: string | null;
|
|
@@ -310,12 +312,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
310
312
|
user_id: string;
|
|
311
313
|
type: "user-primary-email";
|
|
312
314
|
} | {
|
|
315
|
+
emails: string[];
|
|
313
316
|
user_id: string;
|
|
314
317
|
type: "user-custom-emails";
|
|
315
|
-
emails: string[];
|
|
316
318
|
} | {
|
|
317
|
-
type: "custom-emails";
|
|
318
319
|
emails: string[];
|
|
320
|
+
type: "custom-emails";
|
|
319
321
|
};
|
|
320
322
|
variables: Record<string, {} | null>;
|
|
321
323
|
skip_deliverability_check: boolean;
|
|
@@ -339,22 +341,20 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
339
341
|
has_delivered: boolean;
|
|
340
342
|
started_rendering_at_millis: number;
|
|
341
343
|
rendered_at_millis: number;
|
|
342
|
-
subject: string;
|
|
343
344
|
is_transactional: boolean;
|
|
344
345
|
is_high_priority: boolean;
|
|
345
|
-
notification_category_id: string | null;
|
|
346
346
|
started_sending_at_millis: number;
|
|
347
347
|
error_at_millis: number;
|
|
348
348
|
server_error: string;
|
|
349
349
|
} | {
|
|
350
350
|
html?: string | null | undefined;
|
|
351
351
|
text?: string | null | undefined;
|
|
352
|
+
notification_category_id?: string | null | undefined;
|
|
353
|
+
subject?: string | undefined;
|
|
352
354
|
started_rendering_at_millis?: number | undefined;
|
|
353
355
|
rendered_at_millis?: number | undefined;
|
|
354
|
-
subject?: string | undefined;
|
|
355
356
|
is_transactional?: boolean | undefined;
|
|
356
357
|
is_high_priority?: boolean | undefined;
|
|
357
|
-
notification_category_id?: string | null | undefined;
|
|
358
358
|
started_sending_at_millis?: number | undefined;
|
|
359
359
|
status: "skipped";
|
|
360
360
|
id: string;
|
|
@@ -366,12 +366,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
366
366
|
user_id: string;
|
|
367
367
|
type: "user-primary-email";
|
|
368
368
|
} | {
|
|
369
|
+
emails: string[];
|
|
369
370
|
user_id: string;
|
|
370
371
|
type: "user-custom-emails";
|
|
371
|
-
emails: string[];
|
|
372
372
|
} | {
|
|
373
|
-
type: "custom-emails";
|
|
374
373
|
emails: string[];
|
|
374
|
+
type: "custom-emails";
|
|
375
375
|
};
|
|
376
376
|
variables: Record<string, {} | null>;
|
|
377
377
|
skip_deliverability_check: boolean;
|
|
@@ -397,11 +397,13 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
397
397
|
skipped_reason: string;
|
|
398
398
|
skipped_details: Record<string, {} | null>;
|
|
399
399
|
} | {
|
|
400
|
-
status: "bounced";
|
|
401
|
-
id: string;
|
|
402
400
|
html: string | null;
|
|
403
401
|
text: string | null;
|
|
402
|
+
status: "bounced";
|
|
403
|
+
id: string;
|
|
404
|
+
notification_category_id: string | null;
|
|
404
405
|
created_at_millis: number;
|
|
406
|
+
subject: string;
|
|
405
407
|
updated_at_millis: number;
|
|
406
408
|
tsx_source: string;
|
|
407
409
|
theme_id: string | null;
|
|
@@ -409,12 +411,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
409
411
|
user_id: string;
|
|
410
412
|
type: "user-primary-email";
|
|
411
413
|
} | {
|
|
414
|
+
emails: string[];
|
|
412
415
|
user_id: string;
|
|
413
416
|
type: "user-custom-emails";
|
|
414
|
-
emails: string[];
|
|
415
417
|
} | {
|
|
416
|
-
type: "custom-emails";
|
|
417
418
|
emails: string[];
|
|
419
|
+
type: "custom-emails";
|
|
418
420
|
};
|
|
419
421
|
variables: Record<string, {} | null>;
|
|
420
422
|
skip_deliverability_check: boolean;
|
|
@@ -438,18 +440,18 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
438
440
|
has_delivered: boolean;
|
|
439
441
|
started_rendering_at_millis: number;
|
|
440
442
|
rendered_at_millis: number;
|
|
441
|
-
subject: string;
|
|
442
443
|
is_transactional: boolean;
|
|
443
444
|
is_high_priority: boolean;
|
|
444
|
-
notification_category_id: string | null;
|
|
445
445
|
started_sending_at_millis: number;
|
|
446
446
|
bounced_at_millis: number;
|
|
447
447
|
} | {
|
|
448
|
-
status: "delivery-delayed";
|
|
449
|
-
id: string;
|
|
450
448
|
html: string | null;
|
|
451
449
|
text: string | null;
|
|
450
|
+
status: "delivery-delayed";
|
|
451
|
+
id: string;
|
|
452
|
+
notification_category_id: string | null;
|
|
452
453
|
created_at_millis: number;
|
|
454
|
+
subject: string;
|
|
453
455
|
updated_at_millis: number;
|
|
454
456
|
tsx_source: string;
|
|
455
457
|
theme_id: string | null;
|
|
@@ -457,12 +459,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
457
459
|
user_id: string;
|
|
458
460
|
type: "user-primary-email";
|
|
459
461
|
} | {
|
|
462
|
+
emails: string[];
|
|
460
463
|
user_id: string;
|
|
461
464
|
type: "user-custom-emails";
|
|
462
|
-
emails: string[];
|
|
463
465
|
} | {
|
|
464
|
-
type: "custom-emails";
|
|
465
466
|
emails: string[];
|
|
467
|
+
type: "custom-emails";
|
|
466
468
|
};
|
|
467
469
|
variables: Record<string, {} | null>;
|
|
468
470
|
skip_deliverability_check: boolean;
|
|
@@ -486,18 +488,18 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
486
488
|
has_delivered: boolean;
|
|
487
489
|
started_rendering_at_millis: number;
|
|
488
490
|
rendered_at_millis: number;
|
|
489
|
-
subject: string;
|
|
490
491
|
is_transactional: boolean;
|
|
491
492
|
is_high_priority: boolean;
|
|
492
|
-
notification_category_id: string | null;
|
|
493
493
|
started_sending_at_millis: number;
|
|
494
494
|
delivery_delayed_at_millis: number;
|
|
495
495
|
} | {
|
|
496
|
-
status: "sent";
|
|
497
|
-
id: string;
|
|
498
496
|
html: string | null;
|
|
499
497
|
text: string | null;
|
|
498
|
+
status: "sent";
|
|
499
|
+
id: string;
|
|
500
|
+
notification_category_id: string | null;
|
|
500
501
|
created_at_millis: number;
|
|
502
|
+
subject: string;
|
|
501
503
|
updated_at_millis: number;
|
|
502
504
|
tsx_source: string;
|
|
503
505
|
theme_id: string | null;
|
|
@@ -505,12 +507,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
505
507
|
user_id: string;
|
|
506
508
|
type: "user-primary-email";
|
|
507
509
|
} | {
|
|
510
|
+
emails: string[];
|
|
508
511
|
user_id: string;
|
|
509
512
|
type: "user-custom-emails";
|
|
510
|
-
emails: string[];
|
|
511
513
|
} | {
|
|
512
|
-
type: "custom-emails";
|
|
513
514
|
emails: string[];
|
|
515
|
+
type: "custom-emails";
|
|
514
516
|
};
|
|
515
517
|
variables: Record<string, {} | null>;
|
|
516
518
|
skip_deliverability_check: boolean;
|
|
@@ -534,19 +536,19 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
534
536
|
has_delivered: boolean;
|
|
535
537
|
started_rendering_at_millis: number;
|
|
536
538
|
rendered_at_millis: number;
|
|
537
|
-
subject: string;
|
|
538
539
|
is_transactional: boolean;
|
|
539
540
|
is_high_priority: boolean;
|
|
540
|
-
notification_category_id: string | null;
|
|
541
541
|
started_sending_at_millis: number;
|
|
542
542
|
delivered_at_millis: number;
|
|
543
543
|
can_have_delivery_info: boolean;
|
|
544
544
|
} | {
|
|
545
|
-
status: "opened";
|
|
546
|
-
id: string;
|
|
547
545
|
html: string | null;
|
|
548
546
|
text: string | null;
|
|
547
|
+
status: "opened";
|
|
548
|
+
id: string;
|
|
549
|
+
notification_category_id: string | null;
|
|
549
550
|
created_at_millis: number;
|
|
551
|
+
subject: string;
|
|
550
552
|
updated_at_millis: number;
|
|
551
553
|
tsx_source: string;
|
|
552
554
|
theme_id: string | null;
|
|
@@ -554,12 +556,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
554
556
|
user_id: string;
|
|
555
557
|
type: "user-primary-email";
|
|
556
558
|
} | {
|
|
559
|
+
emails: string[];
|
|
557
560
|
user_id: string;
|
|
558
561
|
type: "user-custom-emails";
|
|
559
|
-
emails: string[];
|
|
560
562
|
} | {
|
|
561
|
-
type: "custom-emails";
|
|
562
563
|
emails: string[];
|
|
564
|
+
type: "custom-emails";
|
|
563
565
|
};
|
|
564
566
|
variables: Record<string, {} | null>;
|
|
565
567
|
skip_deliverability_check: boolean;
|
|
@@ -583,20 +585,20 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
583
585
|
has_delivered: boolean;
|
|
584
586
|
started_rendering_at_millis: number;
|
|
585
587
|
rendered_at_millis: number;
|
|
586
|
-
subject: string;
|
|
587
588
|
is_transactional: boolean;
|
|
588
589
|
is_high_priority: boolean;
|
|
589
|
-
notification_category_id: string | null;
|
|
590
590
|
started_sending_at_millis: number;
|
|
591
591
|
delivered_at_millis: number;
|
|
592
592
|
can_have_delivery_info: boolean;
|
|
593
593
|
opened_at_millis: number;
|
|
594
594
|
} | {
|
|
595
|
-
status: "clicked";
|
|
596
|
-
id: string;
|
|
597
595
|
html: string | null;
|
|
598
596
|
text: string | null;
|
|
597
|
+
status: "clicked";
|
|
598
|
+
id: string;
|
|
599
|
+
notification_category_id: string | null;
|
|
599
600
|
created_at_millis: number;
|
|
601
|
+
subject: string;
|
|
600
602
|
updated_at_millis: number;
|
|
601
603
|
tsx_source: string;
|
|
602
604
|
theme_id: string | null;
|
|
@@ -604,12 +606,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
604
606
|
user_id: string;
|
|
605
607
|
type: "user-primary-email";
|
|
606
608
|
} | {
|
|
609
|
+
emails: string[];
|
|
607
610
|
user_id: string;
|
|
608
611
|
type: "user-custom-emails";
|
|
609
|
-
emails: string[];
|
|
610
612
|
} | {
|
|
611
|
-
type: "custom-emails";
|
|
612
613
|
emails: string[];
|
|
614
|
+
type: "custom-emails";
|
|
613
615
|
};
|
|
614
616
|
variables: Record<string, {} | null>;
|
|
615
617
|
skip_deliverability_check: boolean;
|
|
@@ -633,20 +635,20 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
633
635
|
has_delivered: boolean;
|
|
634
636
|
started_rendering_at_millis: number;
|
|
635
637
|
rendered_at_millis: number;
|
|
636
|
-
subject: string;
|
|
637
638
|
is_transactional: boolean;
|
|
638
639
|
is_high_priority: boolean;
|
|
639
|
-
notification_category_id: string | null;
|
|
640
640
|
started_sending_at_millis: number;
|
|
641
641
|
delivered_at_millis: number;
|
|
642
642
|
can_have_delivery_info: boolean;
|
|
643
643
|
clicked_at_millis: number;
|
|
644
644
|
} | {
|
|
645
|
-
status: "marked-as-spam";
|
|
646
|
-
id: string;
|
|
647
645
|
html: string | null;
|
|
648
646
|
text: string | null;
|
|
647
|
+
status: "marked-as-spam";
|
|
648
|
+
id: string;
|
|
649
|
+
notification_category_id: string | null;
|
|
649
650
|
created_at_millis: number;
|
|
651
|
+
subject: string;
|
|
650
652
|
updated_at_millis: number;
|
|
651
653
|
tsx_source: string;
|
|
652
654
|
theme_id: string | null;
|
|
@@ -654,12 +656,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
654
656
|
user_id: string;
|
|
655
657
|
type: "user-primary-email";
|
|
656
658
|
} | {
|
|
659
|
+
emails: string[];
|
|
657
660
|
user_id: string;
|
|
658
661
|
type: "user-custom-emails";
|
|
659
|
-
emails: string[];
|
|
660
662
|
} | {
|
|
661
|
-
type: "custom-emails";
|
|
662
663
|
emails: string[];
|
|
664
|
+
type: "custom-emails";
|
|
663
665
|
};
|
|
664
666
|
variables: Record<string, {} | null>;
|
|
665
667
|
skip_deliverability_check: boolean;
|
|
@@ -683,10 +685,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
683
685
|
has_delivered: boolean;
|
|
684
686
|
started_rendering_at_millis: number;
|
|
685
687
|
rendered_at_millis: number;
|
|
686
|
-
subject: string;
|
|
687
688
|
is_transactional: boolean;
|
|
688
689
|
is_high_priority: boolean;
|
|
689
|
-
notification_category_id: string | null;
|
|
690
690
|
started_sending_at_millis: number;
|
|
691
691
|
delivered_at_millis: number;
|
|
692
692
|
can_have_delivery_info: boolean;
|
|
@@ -699,12 +699,12 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
|
|
|
699
699
|
user_id: string;
|
|
700
700
|
type: "user-primary-email";
|
|
701
701
|
} | {
|
|
702
|
+
emails: string[];
|
|
702
703
|
user_id: string;
|
|
703
704
|
type: "user-custom-emails";
|
|
704
|
-
emails: string[];
|
|
705
705
|
} | {
|
|
706
|
-
type: "custom-emails";
|
|
707
706
|
emails: string[];
|
|
707
|
+
type: "custom-emails";
|
|
708
708
|
} | undefined;
|
|
709
709
|
variables: Record<string, {} | null> | undefined;
|
|
710
710
|
skip_deliverability_check: boolean | undefined;
|
|
@@ -733,12 +733,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
733
733
|
user_id: string;
|
|
734
734
|
type: "user-primary-email";
|
|
735
735
|
} | {
|
|
736
|
+
emails: string[];
|
|
736
737
|
user_id: string;
|
|
737
738
|
type: "user-custom-emails";
|
|
738
|
-
emails: string[];
|
|
739
739
|
} | {
|
|
740
|
-
type: "custom-emails";
|
|
741
740
|
emails: string[];
|
|
741
|
+
type: "custom-emails";
|
|
742
742
|
};
|
|
743
743
|
variables: Record<string, {} | null>;
|
|
744
744
|
skip_deliverability_check: boolean;
|
|
@@ -771,12 +771,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
771
771
|
user_id: string;
|
|
772
772
|
type: "user-primary-email";
|
|
773
773
|
} | {
|
|
774
|
+
emails: string[];
|
|
774
775
|
user_id: string;
|
|
775
776
|
type: "user-custom-emails";
|
|
776
|
-
emails: string[];
|
|
777
777
|
} | {
|
|
778
|
-
type: "custom-emails";
|
|
779
778
|
emails: string[];
|
|
779
|
+
type: "custom-emails";
|
|
780
780
|
};
|
|
781
781
|
variables: Record<string, {} | null>;
|
|
782
782
|
skip_deliverability_check: boolean;
|
|
@@ -809,12 +809,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
809
809
|
user_id: string;
|
|
810
810
|
type: "user-primary-email";
|
|
811
811
|
} | {
|
|
812
|
+
emails: string[];
|
|
812
813
|
user_id: string;
|
|
813
814
|
type: "user-custom-emails";
|
|
814
|
-
emails: string[];
|
|
815
815
|
} | {
|
|
816
|
-
type: "custom-emails";
|
|
817
816
|
emails: string[];
|
|
817
|
+
type: "custom-emails";
|
|
818
818
|
};
|
|
819
819
|
variables: Record<string, {} | null>;
|
|
820
820
|
skip_deliverability_check: boolean;
|
|
@@ -848,12 +848,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
848
848
|
user_id: string;
|
|
849
849
|
type: "user-primary-email";
|
|
850
850
|
} | {
|
|
851
|
+
emails: string[];
|
|
851
852
|
user_id: string;
|
|
852
853
|
type: "user-custom-emails";
|
|
853
|
-
emails: string[];
|
|
854
854
|
} | {
|
|
855
|
-
type: "custom-emails";
|
|
856
855
|
emails: string[];
|
|
856
|
+
type: "custom-emails";
|
|
857
857
|
};
|
|
858
858
|
variables: Record<string, {} | null>;
|
|
859
859
|
skip_deliverability_check: boolean;
|
|
@@ -879,11 +879,13 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
879
879
|
rendered_at_millis: number;
|
|
880
880
|
render_error: string;
|
|
881
881
|
} | {
|
|
882
|
-
status: "scheduled";
|
|
883
|
-
id: string;
|
|
884
882
|
html: string | null;
|
|
885
883
|
text: string | null;
|
|
884
|
+
status: "scheduled";
|
|
885
|
+
id: string;
|
|
886
|
+
notification_category_id: string | null;
|
|
886
887
|
created_at_millis: number;
|
|
888
|
+
subject: string;
|
|
887
889
|
updated_at_millis: number;
|
|
888
890
|
tsx_source: string;
|
|
889
891
|
theme_id: string | null;
|
|
@@ -891,12 +893,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
891
893
|
user_id: string;
|
|
892
894
|
type: "user-primary-email";
|
|
893
895
|
} | {
|
|
896
|
+
emails: string[];
|
|
894
897
|
user_id: string;
|
|
895
898
|
type: "user-custom-emails";
|
|
896
|
-
emails: string[];
|
|
897
899
|
} | {
|
|
898
|
-
type: "custom-emails";
|
|
899
900
|
emails: string[];
|
|
901
|
+
type: "custom-emails";
|
|
900
902
|
};
|
|
901
903
|
variables: Record<string, {} | null>;
|
|
902
904
|
skip_deliverability_check: boolean;
|
|
@@ -920,16 +922,16 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
920
922
|
has_delivered: boolean;
|
|
921
923
|
started_rendering_at_millis: number;
|
|
922
924
|
rendered_at_millis: number;
|
|
923
|
-
subject: string;
|
|
924
925
|
is_transactional: boolean;
|
|
925
926
|
is_high_priority: boolean;
|
|
926
|
-
notification_category_id: string | null;
|
|
927
927
|
} | {
|
|
928
|
-
status: "queued";
|
|
929
|
-
id: string;
|
|
930
928
|
html: string | null;
|
|
931
929
|
text: string | null;
|
|
930
|
+
status: "queued";
|
|
931
|
+
id: string;
|
|
932
|
+
notification_category_id: string | null;
|
|
932
933
|
created_at_millis: number;
|
|
934
|
+
subject: string;
|
|
933
935
|
updated_at_millis: number;
|
|
934
936
|
tsx_source: string;
|
|
935
937
|
theme_id: string | null;
|
|
@@ -937,12 +939,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
937
939
|
user_id: string;
|
|
938
940
|
type: "user-primary-email";
|
|
939
941
|
} | {
|
|
942
|
+
emails: string[];
|
|
940
943
|
user_id: string;
|
|
941
944
|
type: "user-custom-emails";
|
|
942
|
-
emails: string[];
|
|
943
945
|
} | {
|
|
944
|
-
type: "custom-emails";
|
|
945
946
|
emails: string[];
|
|
947
|
+
type: "custom-emails";
|
|
946
948
|
};
|
|
947
949
|
variables: Record<string, {} | null>;
|
|
948
950
|
skip_deliverability_check: boolean;
|
|
@@ -966,16 +968,16 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
966
968
|
has_delivered: boolean;
|
|
967
969
|
started_rendering_at_millis: number;
|
|
968
970
|
rendered_at_millis: number;
|
|
969
|
-
subject: string;
|
|
970
971
|
is_transactional: boolean;
|
|
971
972
|
is_high_priority: boolean;
|
|
972
|
-
notification_category_id: string | null;
|
|
973
973
|
} | {
|
|
974
|
-
status: "sending";
|
|
975
|
-
id: string;
|
|
976
974
|
html: string | null;
|
|
977
975
|
text: string | null;
|
|
976
|
+
status: "sending";
|
|
977
|
+
id: string;
|
|
978
|
+
notification_category_id: string | null;
|
|
978
979
|
created_at_millis: number;
|
|
980
|
+
subject: string;
|
|
979
981
|
updated_at_millis: number;
|
|
980
982
|
tsx_source: string;
|
|
981
983
|
theme_id: string | null;
|
|
@@ -983,12 +985,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
983
985
|
user_id: string;
|
|
984
986
|
type: "user-primary-email";
|
|
985
987
|
} | {
|
|
988
|
+
emails: string[];
|
|
986
989
|
user_id: string;
|
|
987
990
|
type: "user-custom-emails";
|
|
988
|
-
emails: string[];
|
|
989
991
|
} | {
|
|
990
|
-
type: "custom-emails";
|
|
991
992
|
emails: string[];
|
|
993
|
+
type: "custom-emails";
|
|
992
994
|
};
|
|
993
995
|
variables: Record<string, {} | null>;
|
|
994
996
|
skip_deliverability_check: boolean;
|
|
@@ -1012,17 +1014,17 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1012
1014
|
has_delivered: boolean;
|
|
1013
1015
|
started_rendering_at_millis: number;
|
|
1014
1016
|
rendered_at_millis: number;
|
|
1015
|
-
subject: string;
|
|
1016
1017
|
is_transactional: boolean;
|
|
1017
1018
|
is_high_priority: boolean;
|
|
1018
|
-
notification_category_id: string | null;
|
|
1019
1019
|
started_sending_at_millis: number;
|
|
1020
1020
|
} | {
|
|
1021
|
-
status: "server-error";
|
|
1022
|
-
id: string;
|
|
1023
1021
|
html: string | null;
|
|
1024
1022
|
text: string | null;
|
|
1023
|
+
status: "server-error";
|
|
1024
|
+
id: string;
|
|
1025
|
+
notification_category_id: string | null;
|
|
1025
1026
|
created_at_millis: number;
|
|
1027
|
+
subject: string;
|
|
1026
1028
|
updated_at_millis: number;
|
|
1027
1029
|
tsx_source: string;
|
|
1028
1030
|
theme_id: string | null;
|
|
@@ -1030,12 +1032,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1030
1032
|
user_id: string;
|
|
1031
1033
|
type: "user-primary-email";
|
|
1032
1034
|
} | {
|
|
1035
|
+
emails: string[];
|
|
1033
1036
|
user_id: string;
|
|
1034
1037
|
type: "user-custom-emails";
|
|
1035
|
-
emails: string[];
|
|
1036
1038
|
} | {
|
|
1037
|
-
type: "custom-emails";
|
|
1038
1039
|
emails: string[];
|
|
1040
|
+
type: "custom-emails";
|
|
1039
1041
|
};
|
|
1040
1042
|
variables: Record<string, {} | null>;
|
|
1041
1043
|
skip_deliverability_check: boolean;
|
|
@@ -1059,22 +1061,20 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1059
1061
|
has_delivered: boolean;
|
|
1060
1062
|
started_rendering_at_millis: number;
|
|
1061
1063
|
rendered_at_millis: number;
|
|
1062
|
-
subject: string;
|
|
1063
1064
|
is_transactional: boolean;
|
|
1064
1065
|
is_high_priority: boolean;
|
|
1065
|
-
notification_category_id: string | null;
|
|
1066
1066
|
started_sending_at_millis: number;
|
|
1067
1067
|
error_at_millis: number;
|
|
1068
1068
|
server_error: string;
|
|
1069
1069
|
} | {
|
|
1070
1070
|
html?: string | null | undefined;
|
|
1071
1071
|
text?: string | null | undefined;
|
|
1072
|
+
notification_category_id?: string | null | undefined;
|
|
1073
|
+
subject?: string | undefined;
|
|
1072
1074
|
started_rendering_at_millis?: number | undefined;
|
|
1073
1075
|
rendered_at_millis?: number | undefined;
|
|
1074
|
-
subject?: string | undefined;
|
|
1075
1076
|
is_transactional?: boolean | undefined;
|
|
1076
1077
|
is_high_priority?: boolean | undefined;
|
|
1077
|
-
notification_category_id?: string | null | undefined;
|
|
1078
1078
|
started_sending_at_millis?: number | undefined;
|
|
1079
1079
|
status: "skipped";
|
|
1080
1080
|
id: string;
|
|
@@ -1086,12 +1086,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1086
1086
|
user_id: string;
|
|
1087
1087
|
type: "user-primary-email";
|
|
1088
1088
|
} | {
|
|
1089
|
+
emails: string[];
|
|
1089
1090
|
user_id: string;
|
|
1090
1091
|
type: "user-custom-emails";
|
|
1091
|
-
emails: string[];
|
|
1092
1092
|
} | {
|
|
1093
|
-
type: "custom-emails";
|
|
1094
1093
|
emails: string[];
|
|
1094
|
+
type: "custom-emails";
|
|
1095
1095
|
};
|
|
1096
1096
|
variables: Record<string, {} | null>;
|
|
1097
1097
|
skip_deliverability_check: boolean;
|
|
@@ -1117,11 +1117,13 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1117
1117
|
skipped_reason: string;
|
|
1118
1118
|
skipped_details: Record<string, {} | null>;
|
|
1119
1119
|
} | {
|
|
1120
|
-
status: "bounced";
|
|
1121
|
-
id: string;
|
|
1122
1120
|
html: string | null;
|
|
1123
1121
|
text: string | null;
|
|
1122
|
+
status: "bounced";
|
|
1123
|
+
id: string;
|
|
1124
|
+
notification_category_id: string | null;
|
|
1124
1125
|
created_at_millis: number;
|
|
1126
|
+
subject: string;
|
|
1125
1127
|
updated_at_millis: number;
|
|
1126
1128
|
tsx_source: string;
|
|
1127
1129
|
theme_id: string | null;
|
|
@@ -1129,12 +1131,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1129
1131
|
user_id: string;
|
|
1130
1132
|
type: "user-primary-email";
|
|
1131
1133
|
} | {
|
|
1134
|
+
emails: string[];
|
|
1132
1135
|
user_id: string;
|
|
1133
1136
|
type: "user-custom-emails";
|
|
1134
|
-
emails: string[];
|
|
1135
1137
|
} | {
|
|
1136
|
-
type: "custom-emails";
|
|
1137
1138
|
emails: string[];
|
|
1139
|
+
type: "custom-emails";
|
|
1138
1140
|
};
|
|
1139
1141
|
variables: Record<string, {} | null>;
|
|
1140
1142
|
skip_deliverability_check: boolean;
|
|
@@ -1158,18 +1160,18 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1158
1160
|
has_delivered: boolean;
|
|
1159
1161
|
started_rendering_at_millis: number;
|
|
1160
1162
|
rendered_at_millis: number;
|
|
1161
|
-
subject: string;
|
|
1162
1163
|
is_transactional: boolean;
|
|
1163
1164
|
is_high_priority: boolean;
|
|
1164
|
-
notification_category_id: string | null;
|
|
1165
1165
|
started_sending_at_millis: number;
|
|
1166
1166
|
bounced_at_millis: number;
|
|
1167
1167
|
} | {
|
|
1168
|
-
status: "delivery-delayed";
|
|
1169
|
-
id: string;
|
|
1170
1168
|
html: string | null;
|
|
1171
1169
|
text: string | null;
|
|
1170
|
+
status: "delivery-delayed";
|
|
1171
|
+
id: string;
|
|
1172
|
+
notification_category_id: string | null;
|
|
1172
1173
|
created_at_millis: number;
|
|
1174
|
+
subject: string;
|
|
1173
1175
|
updated_at_millis: number;
|
|
1174
1176
|
tsx_source: string;
|
|
1175
1177
|
theme_id: string | null;
|
|
@@ -1177,12 +1179,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1177
1179
|
user_id: string;
|
|
1178
1180
|
type: "user-primary-email";
|
|
1179
1181
|
} | {
|
|
1182
|
+
emails: string[];
|
|
1180
1183
|
user_id: string;
|
|
1181
1184
|
type: "user-custom-emails";
|
|
1182
|
-
emails: string[];
|
|
1183
1185
|
} | {
|
|
1184
|
-
type: "custom-emails";
|
|
1185
1186
|
emails: string[];
|
|
1187
|
+
type: "custom-emails";
|
|
1186
1188
|
};
|
|
1187
1189
|
variables: Record<string, {} | null>;
|
|
1188
1190
|
skip_deliverability_check: boolean;
|
|
@@ -1206,18 +1208,18 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1206
1208
|
has_delivered: boolean;
|
|
1207
1209
|
started_rendering_at_millis: number;
|
|
1208
1210
|
rendered_at_millis: number;
|
|
1209
|
-
subject: string;
|
|
1210
1211
|
is_transactional: boolean;
|
|
1211
1212
|
is_high_priority: boolean;
|
|
1212
|
-
notification_category_id: string | null;
|
|
1213
1213
|
started_sending_at_millis: number;
|
|
1214
1214
|
delivery_delayed_at_millis: number;
|
|
1215
1215
|
} | {
|
|
1216
|
-
status: "sent";
|
|
1217
|
-
id: string;
|
|
1218
1216
|
html: string | null;
|
|
1219
1217
|
text: string | null;
|
|
1218
|
+
status: "sent";
|
|
1219
|
+
id: string;
|
|
1220
|
+
notification_category_id: string | null;
|
|
1220
1221
|
created_at_millis: number;
|
|
1222
|
+
subject: string;
|
|
1221
1223
|
updated_at_millis: number;
|
|
1222
1224
|
tsx_source: string;
|
|
1223
1225
|
theme_id: string | null;
|
|
@@ -1225,12 +1227,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1225
1227
|
user_id: string;
|
|
1226
1228
|
type: "user-primary-email";
|
|
1227
1229
|
} | {
|
|
1230
|
+
emails: string[];
|
|
1228
1231
|
user_id: string;
|
|
1229
1232
|
type: "user-custom-emails";
|
|
1230
|
-
emails: string[];
|
|
1231
1233
|
} | {
|
|
1232
|
-
type: "custom-emails";
|
|
1233
1234
|
emails: string[];
|
|
1235
|
+
type: "custom-emails";
|
|
1234
1236
|
};
|
|
1235
1237
|
variables: Record<string, {} | null>;
|
|
1236
1238
|
skip_deliverability_check: boolean;
|
|
@@ -1254,19 +1256,19 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1254
1256
|
has_delivered: boolean;
|
|
1255
1257
|
started_rendering_at_millis: number;
|
|
1256
1258
|
rendered_at_millis: number;
|
|
1257
|
-
subject: string;
|
|
1258
1259
|
is_transactional: boolean;
|
|
1259
1260
|
is_high_priority: boolean;
|
|
1260
|
-
notification_category_id: string | null;
|
|
1261
1261
|
started_sending_at_millis: number;
|
|
1262
1262
|
delivered_at_millis: number;
|
|
1263
1263
|
can_have_delivery_info: boolean;
|
|
1264
1264
|
} | {
|
|
1265
|
-
status: "opened";
|
|
1266
|
-
id: string;
|
|
1267
1265
|
html: string | null;
|
|
1268
1266
|
text: string | null;
|
|
1267
|
+
status: "opened";
|
|
1268
|
+
id: string;
|
|
1269
|
+
notification_category_id: string | null;
|
|
1269
1270
|
created_at_millis: number;
|
|
1271
|
+
subject: string;
|
|
1270
1272
|
updated_at_millis: number;
|
|
1271
1273
|
tsx_source: string;
|
|
1272
1274
|
theme_id: string | null;
|
|
@@ -1274,12 +1276,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1274
1276
|
user_id: string;
|
|
1275
1277
|
type: "user-primary-email";
|
|
1276
1278
|
} | {
|
|
1279
|
+
emails: string[];
|
|
1277
1280
|
user_id: string;
|
|
1278
1281
|
type: "user-custom-emails";
|
|
1279
|
-
emails: string[];
|
|
1280
1282
|
} | {
|
|
1281
|
-
type: "custom-emails";
|
|
1282
1283
|
emails: string[];
|
|
1284
|
+
type: "custom-emails";
|
|
1283
1285
|
};
|
|
1284
1286
|
variables: Record<string, {} | null>;
|
|
1285
1287
|
skip_deliverability_check: boolean;
|
|
@@ -1303,20 +1305,20 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1303
1305
|
has_delivered: boolean;
|
|
1304
1306
|
started_rendering_at_millis: number;
|
|
1305
1307
|
rendered_at_millis: number;
|
|
1306
|
-
subject: string;
|
|
1307
1308
|
is_transactional: boolean;
|
|
1308
1309
|
is_high_priority: boolean;
|
|
1309
|
-
notification_category_id: string | null;
|
|
1310
1310
|
started_sending_at_millis: number;
|
|
1311
1311
|
delivered_at_millis: number;
|
|
1312
1312
|
can_have_delivery_info: boolean;
|
|
1313
1313
|
opened_at_millis: number;
|
|
1314
1314
|
} | {
|
|
1315
|
-
status: "clicked";
|
|
1316
|
-
id: string;
|
|
1317
1315
|
html: string | null;
|
|
1318
1316
|
text: string | null;
|
|
1317
|
+
status: "clicked";
|
|
1318
|
+
id: string;
|
|
1319
|
+
notification_category_id: string | null;
|
|
1319
1320
|
created_at_millis: number;
|
|
1321
|
+
subject: string;
|
|
1320
1322
|
updated_at_millis: number;
|
|
1321
1323
|
tsx_source: string;
|
|
1322
1324
|
theme_id: string | null;
|
|
@@ -1324,12 +1326,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1324
1326
|
user_id: string;
|
|
1325
1327
|
type: "user-primary-email";
|
|
1326
1328
|
} | {
|
|
1329
|
+
emails: string[];
|
|
1327
1330
|
user_id: string;
|
|
1328
1331
|
type: "user-custom-emails";
|
|
1329
|
-
emails: string[];
|
|
1330
1332
|
} | {
|
|
1331
|
-
type: "custom-emails";
|
|
1332
1333
|
emails: string[];
|
|
1334
|
+
type: "custom-emails";
|
|
1333
1335
|
};
|
|
1334
1336
|
variables: Record<string, {} | null>;
|
|
1335
1337
|
skip_deliverability_check: boolean;
|
|
@@ -1353,20 +1355,20 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1353
1355
|
has_delivered: boolean;
|
|
1354
1356
|
started_rendering_at_millis: number;
|
|
1355
1357
|
rendered_at_millis: number;
|
|
1356
|
-
subject: string;
|
|
1357
1358
|
is_transactional: boolean;
|
|
1358
1359
|
is_high_priority: boolean;
|
|
1359
|
-
notification_category_id: string | null;
|
|
1360
1360
|
started_sending_at_millis: number;
|
|
1361
1361
|
delivered_at_millis: number;
|
|
1362
1362
|
can_have_delivery_info: boolean;
|
|
1363
1363
|
clicked_at_millis: number;
|
|
1364
1364
|
} | {
|
|
1365
|
-
status: "marked-as-spam";
|
|
1366
|
-
id: string;
|
|
1367
1365
|
html: string | null;
|
|
1368
1366
|
text: string | null;
|
|
1367
|
+
status: "marked-as-spam";
|
|
1368
|
+
id: string;
|
|
1369
|
+
notification_category_id: string | null;
|
|
1369
1370
|
created_at_millis: number;
|
|
1371
|
+
subject: string;
|
|
1370
1372
|
updated_at_millis: number;
|
|
1371
1373
|
tsx_source: string;
|
|
1372
1374
|
theme_id: string | null;
|
|
@@ -1374,12 +1376,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1374
1376
|
user_id: string;
|
|
1375
1377
|
type: "user-primary-email";
|
|
1376
1378
|
} | {
|
|
1379
|
+
emails: string[];
|
|
1377
1380
|
user_id: string;
|
|
1378
1381
|
type: "user-custom-emails";
|
|
1379
|
-
emails: string[];
|
|
1380
1382
|
} | {
|
|
1381
|
-
type: "custom-emails";
|
|
1382
1383
|
emails: string[];
|
|
1384
|
+
type: "custom-emails";
|
|
1383
1385
|
};
|
|
1384
1386
|
variables: Record<string, {} | null>;
|
|
1385
1387
|
skip_deliverability_check: boolean;
|
|
@@ -1403,10 +1405,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1403
1405
|
has_delivered: boolean;
|
|
1404
1406
|
started_rendering_at_millis: number;
|
|
1405
1407
|
rendered_at_millis: number;
|
|
1406
|
-
subject: string;
|
|
1407
1408
|
is_transactional: boolean;
|
|
1408
1409
|
is_high_priority: boolean;
|
|
1409
|
-
notification_category_id: string | null;
|
|
1410
1410
|
started_sending_at_millis: number;
|
|
1411
1411
|
delivered_at_millis: number;
|
|
1412
1412
|
can_have_delivery_info: boolean;
|
|
@@ -1419,12 +1419,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1419
1419
|
user_id: string;
|
|
1420
1420
|
type: "user-primary-email";
|
|
1421
1421
|
} | {
|
|
1422
|
+
emails: string[];
|
|
1422
1423
|
user_id: string;
|
|
1423
1424
|
type: "user-custom-emails";
|
|
1424
|
-
emails: string[];
|
|
1425
1425
|
} | {
|
|
1426
|
-
type: "custom-emails";
|
|
1427
1426
|
emails: string[];
|
|
1427
|
+
type: "custom-emails";
|
|
1428
1428
|
} | undefined;
|
|
1429
1429
|
variables: Record<string, {} | null> | undefined;
|
|
1430
1430
|
skip_deliverability_check: boolean | undefined;
|