@hexclave/shared 1.0.18 → 1.0.19
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 +10 -7
- package/dist/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts +2 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +238 -10
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt.js +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt.js.map +1 -1
- package/dist/apps/apps-config.d.ts +7 -3
- package/dist/apps/apps-config.d.ts.map +1 -1
- package/dist/apps/apps-config.js +12 -4
- package/dist/apps/apps-config.js.map +1 -1
- package/dist/config/schema.d.ts +217 -217
- package/dist/esm/ai/unified-prompts/reminders.js +10 -7
- package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts +2 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +238 -11
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt.js +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt.js.map +1 -1
- package/dist/esm/apps/apps-config.d.ts +7 -3
- package/dist/esm/apps/apps-config.d.ts.map +1 -1
- package/dist/esm/apps/apps-config.js +12 -5
- package/dist/esm/apps/apps-config.js.map +1 -1
- package/dist/esm/config/schema.d.ts +217 -217
- package/dist/esm/interface/admin-metrics.d.ts +15 -15
- package/dist/esm/interface/conversations.d.ts +12 -12
- package/dist/esm/interface/crud/current-user.d.ts +10 -10
- package/dist/esm/interface/crud/email-outbox.d.ts +146 -146
- package/dist/esm/interface/crud/products.d.ts +16 -16
- package/dist/esm/interface/crud/products.d.ts.map +1 -1
- package/dist/esm/interface/crud/project-api-keys.d.ts +6 -6
- package/dist/esm/interface/crud/projects.d.ts +35 -35
- package/dist/esm/interface/crud/team-member-profiles.d.ts +20 -20
- package/dist/esm/interface/crud/transactions.d.ts +21 -21
- package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
- package/dist/esm/interface/crud/users.d.ts +16 -16
- package/dist/esm/interface/webhooks.d.ts +4 -4
- package/dist/esm/known-errors.d.ts +5 -5
- package/dist/esm/schema-fields.d.ts +5 -5
- package/dist/esm/sessions.d.ts +7 -7
- package/dist/interface/admin-metrics.d.ts +15 -15
- package/dist/interface/conversations.d.ts +12 -12
- package/dist/interface/crud/current-user.d.ts +10 -10
- package/dist/interface/crud/email-outbox.d.ts +146 -146
- package/dist/interface/crud/products.d.ts +16 -16
- package/dist/interface/crud/products.d.ts.map +1 -1
- package/dist/interface/crud/project-api-keys.d.ts +6 -6
- package/dist/interface/crud/projects.d.ts +35 -35
- package/dist/interface/crud/team-member-profiles.d.ts +20 -20
- package/dist/interface/crud/transactions.d.ts +21 -21
- package/dist/interface/crud/transactions.d.ts.map +1 -1
- package/dist/interface/crud/users.d.ts +16 -16
- package/dist/interface/webhooks.d.ts +4 -4
- package/dist/known-errors.d.ts +5 -5
- package/dist/schema-fields.d.ts +5 -5
- package/dist/sessions.d.ts +7 -7
- package/package.json +1 -1
- package/src/ai/unified-prompts/reminders.ts +10 -7
- package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +244 -10
- package/src/ai/unified-prompts/skill-site-prompt.ts +1 -1
- package/src/apps/apps-config.ts +13 -2
|
@@ -3,20 +3,20 @@ import * as yup$1 from "yup";
|
|
|
3
3
|
|
|
4
4
|
//#region src/interface/crud/email-outbox.d.ts
|
|
5
5
|
declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
6
|
-
status: "paused";
|
|
7
6
|
id: string;
|
|
7
|
+
status: "paused";
|
|
8
|
+
created_at_millis: number;
|
|
8
9
|
to: {
|
|
9
|
-
user_id: string;
|
|
10
10
|
type: "user-primary-email";
|
|
11
|
-
} | {
|
|
12
11
|
user_id: string;
|
|
12
|
+
} | {
|
|
13
13
|
type: "user-custom-emails";
|
|
14
|
+
user_id: string;
|
|
14
15
|
emails: string[];
|
|
15
16
|
} | {
|
|
16
17
|
type: "custom-emails";
|
|
17
18
|
emails: string[];
|
|
18
19
|
};
|
|
19
|
-
created_at_millis: number;
|
|
20
20
|
updated_at_millis: number;
|
|
21
21
|
tsx_source: string;
|
|
22
22
|
theme_id: string | null;
|
|
@@ -41,20 +41,20 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
41
41
|
has_rendered: boolean;
|
|
42
42
|
has_delivered: boolean;
|
|
43
43
|
} | {
|
|
44
|
-
status: "preparing";
|
|
45
44
|
id: string;
|
|
45
|
+
status: "preparing";
|
|
46
|
+
created_at_millis: number;
|
|
46
47
|
to: {
|
|
47
|
-
user_id: string;
|
|
48
48
|
type: "user-primary-email";
|
|
49
|
-
} | {
|
|
50
49
|
user_id: string;
|
|
50
|
+
} | {
|
|
51
51
|
type: "user-custom-emails";
|
|
52
|
+
user_id: string;
|
|
52
53
|
emails: string[];
|
|
53
54
|
} | {
|
|
54
55
|
type: "custom-emails";
|
|
55
56
|
emails: string[];
|
|
56
57
|
};
|
|
57
|
-
created_at_millis: number;
|
|
58
58
|
updated_at_millis: number;
|
|
59
59
|
tsx_source: string;
|
|
60
60
|
theme_id: string | null;
|
|
@@ -79,20 +79,20 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
79
79
|
has_rendered: boolean;
|
|
80
80
|
has_delivered: boolean;
|
|
81
81
|
} | {
|
|
82
|
-
status: "rendering";
|
|
83
82
|
id: string;
|
|
83
|
+
status: "rendering";
|
|
84
|
+
created_at_millis: number;
|
|
84
85
|
to: {
|
|
85
|
-
user_id: string;
|
|
86
86
|
type: "user-primary-email";
|
|
87
|
-
} | {
|
|
88
87
|
user_id: string;
|
|
88
|
+
} | {
|
|
89
89
|
type: "user-custom-emails";
|
|
90
|
+
user_id: string;
|
|
90
91
|
emails: string[];
|
|
91
92
|
} | {
|
|
92
93
|
type: "custom-emails";
|
|
93
94
|
emails: string[];
|
|
94
95
|
};
|
|
95
|
-
created_at_millis: number;
|
|
96
96
|
updated_at_millis: number;
|
|
97
97
|
tsx_source: string;
|
|
98
98
|
theme_id: string | null;
|
|
@@ -118,20 +118,20 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
118
118
|
has_delivered: boolean;
|
|
119
119
|
started_rendering_at_millis: number;
|
|
120
120
|
} | {
|
|
121
|
-
status: "render-error";
|
|
122
121
|
id: string;
|
|
122
|
+
status: "render-error";
|
|
123
|
+
created_at_millis: number;
|
|
123
124
|
to: {
|
|
124
|
-
user_id: string;
|
|
125
125
|
type: "user-primary-email";
|
|
126
|
-
} | {
|
|
127
126
|
user_id: string;
|
|
127
|
+
} | {
|
|
128
128
|
type: "user-custom-emails";
|
|
129
|
+
user_id: string;
|
|
129
130
|
emails: string[];
|
|
130
131
|
} | {
|
|
131
132
|
type: "custom-emails";
|
|
132
133
|
emails: string[];
|
|
133
134
|
};
|
|
134
|
-
created_at_millis: number;
|
|
135
135
|
updated_at_millis: number;
|
|
136
136
|
tsx_source: string;
|
|
137
137
|
theme_id: string | null;
|
|
@@ -159,21 +159,22 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
159
159
|
rendered_at_millis: number;
|
|
160
160
|
render_error: string;
|
|
161
161
|
} | {
|
|
162
|
-
status: "scheduled";
|
|
163
162
|
id: string;
|
|
163
|
+
status: "scheduled";
|
|
164
164
|
subject: string;
|
|
165
|
+
created_at_millis: number;
|
|
166
|
+
notification_category_id: string | null;
|
|
165
167
|
to: {
|
|
166
|
-
user_id: string;
|
|
167
168
|
type: "user-primary-email";
|
|
168
|
-
} | {
|
|
169
169
|
user_id: string;
|
|
170
|
+
} | {
|
|
170
171
|
type: "user-custom-emails";
|
|
172
|
+
user_id: string;
|
|
171
173
|
emails: string[];
|
|
172
174
|
} | {
|
|
173
175
|
type: "custom-emails";
|
|
174
176
|
emails: string[];
|
|
175
177
|
};
|
|
176
|
-
created_at_millis: number;
|
|
177
178
|
updated_at_millis: number;
|
|
178
179
|
tsx_source: string;
|
|
179
180
|
theme_id: string | null;
|
|
@@ -203,23 +204,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
203
204
|
text: string | null;
|
|
204
205
|
is_transactional: boolean;
|
|
205
206
|
is_high_priority: boolean;
|
|
206
|
-
notification_category_id: string | null;
|
|
207
207
|
} | {
|
|
208
|
-
status: "queued";
|
|
209
208
|
id: string;
|
|
209
|
+
status: "queued";
|
|
210
210
|
subject: string;
|
|
211
|
+
created_at_millis: number;
|
|
212
|
+
notification_category_id: string | null;
|
|
211
213
|
to: {
|
|
212
|
-
user_id: string;
|
|
213
214
|
type: "user-primary-email";
|
|
214
|
-
} | {
|
|
215
215
|
user_id: string;
|
|
216
|
+
} | {
|
|
216
217
|
type: "user-custom-emails";
|
|
218
|
+
user_id: string;
|
|
217
219
|
emails: string[];
|
|
218
220
|
} | {
|
|
219
221
|
type: "custom-emails";
|
|
220
222
|
emails: string[];
|
|
221
223
|
};
|
|
222
|
-
created_at_millis: number;
|
|
223
224
|
updated_at_millis: number;
|
|
224
225
|
tsx_source: string;
|
|
225
226
|
theme_id: string | null;
|
|
@@ -249,23 +250,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
249
250
|
text: string | null;
|
|
250
251
|
is_transactional: boolean;
|
|
251
252
|
is_high_priority: boolean;
|
|
252
|
-
notification_category_id: string | null;
|
|
253
253
|
} | {
|
|
254
|
-
status: "sending";
|
|
255
254
|
id: string;
|
|
255
|
+
status: "sending";
|
|
256
256
|
subject: string;
|
|
257
|
+
created_at_millis: number;
|
|
258
|
+
notification_category_id: string | null;
|
|
257
259
|
to: {
|
|
258
|
-
user_id: string;
|
|
259
260
|
type: "user-primary-email";
|
|
260
|
-
} | {
|
|
261
261
|
user_id: string;
|
|
262
|
+
} | {
|
|
262
263
|
type: "user-custom-emails";
|
|
264
|
+
user_id: string;
|
|
263
265
|
emails: string[];
|
|
264
266
|
} | {
|
|
265
267
|
type: "custom-emails";
|
|
266
268
|
emails: string[];
|
|
267
269
|
};
|
|
268
|
-
created_at_millis: number;
|
|
269
270
|
updated_at_millis: number;
|
|
270
271
|
tsx_source: string;
|
|
271
272
|
theme_id: string | null;
|
|
@@ -295,24 +296,24 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
295
296
|
text: string | null;
|
|
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
301
|
id: string;
|
|
302
|
+
status: "server-error";
|
|
303
303
|
subject: string;
|
|
304
|
+
created_at_millis: number;
|
|
305
|
+
notification_category_id: string | null;
|
|
304
306
|
to: {
|
|
305
|
-
user_id: string;
|
|
306
307
|
type: "user-primary-email";
|
|
307
|
-
} | {
|
|
308
308
|
user_id: string;
|
|
309
|
+
} | {
|
|
309
310
|
type: "user-custom-emails";
|
|
311
|
+
user_id: string;
|
|
310
312
|
emails: string[];
|
|
311
313
|
} | {
|
|
312
314
|
type: "custom-emails";
|
|
313
315
|
emails: string[];
|
|
314
316
|
};
|
|
315
|
-
created_at_millis: number;
|
|
316
317
|
updated_at_millis: number;
|
|
317
318
|
tsx_source: string;
|
|
318
319
|
theme_id: string | null;
|
|
@@ -342,34 +343,33 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
342
343
|
text: string | null;
|
|
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
|
subject?: string | undefined;
|
|
351
|
+
notification_category_id?: string | null | undefined;
|
|
351
352
|
started_rendering_at_millis?: number | undefined;
|
|
352
353
|
rendered_at_millis?: number | undefined;
|
|
353
354
|
html?: string | null | undefined;
|
|
354
355
|
text?: string | null | 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
|
-
status: "skipped";
|
|
360
359
|
id: string;
|
|
360
|
+
status: "skipped";
|
|
361
|
+
created_at_millis: number;
|
|
361
362
|
to: {
|
|
362
|
-
user_id: string;
|
|
363
363
|
type: "user-primary-email";
|
|
364
|
-
} | {
|
|
365
364
|
user_id: string;
|
|
365
|
+
} | {
|
|
366
366
|
type: "user-custom-emails";
|
|
367
|
+
user_id: string;
|
|
367
368
|
emails: string[];
|
|
368
369
|
} | {
|
|
369
370
|
type: "custom-emails";
|
|
370
371
|
emails: string[];
|
|
371
372
|
};
|
|
372
|
-
created_at_millis: number;
|
|
373
373
|
updated_at_millis: number;
|
|
374
374
|
tsx_source: string;
|
|
375
375
|
theme_id: string | null;
|
|
@@ -397,21 +397,22 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
397
397
|
skipped_reason: string;
|
|
398
398
|
skipped_details: Record<string, {} | null>;
|
|
399
399
|
} | {
|
|
400
|
-
status: "bounced";
|
|
401
400
|
id: string;
|
|
401
|
+
status: "bounced";
|
|
402
402
|
subject: string;
|
|
403
|
+
created_at_millis: number;
|
|
404
|
+
notification_category_id: string | null;
|
|
403
405
|
to: {
|
|
404
|
-
user_id: string;
|
|
405
406
|
type: "user-primary-email";
|
|
406
|
-
} | {
|
|
407
407
|
user_id: string;
|
|
408
|
+
} | {
|
|
408
409
|
type: "user-custom-emails";
|
|
410
|
+
user_id: string;
|
|
409
411
|
emails: string[];
|
|
410
412
|
} | {
|
|
411
413
|
type: "custom-emails";
|
|
412
414
|
emails: string[];
|
|
413
415
|
};
|
|
414
|
-
created_at_millis: number;
|
|
415
416
|
updated_at_millis: number;
|
|
416
417
|
tsx_source: string;
|
|
417
418
|
theme_id: string | null;
|
|
@@ -441,25 +442,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
441
442
|
text: string | null;
|
|
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
448
|
id: string;
|
|
449
|
+
status: "delivery-delayed";
|
|
450
450
|
subject: string;
|
|
451
|
+
created_at_millis: number;
|
|
452
|
+
notification_category_id: string | null;
|
|
451
453
|
to: {
|
|
452
|
-
user_id: string;
|
|
453
454
|
type: "user-primary-email";
|
|
454
|
-
} | {
|
|
455
455
|
user_id: string;
|
|
456
|
+
} | {
|
|
456
457
|
type: "user-custom-emails";
|
|
458
|
+
user_id: string;
|
|
457
459
|
emails: string[];
|
|
458
460
|
} | {
|
|
459
461
|
type: "custom-emails";
|
|
460
462
|
emails: string[];
|
|
461
463
|
};
|
|
462
|
-
created_at_millis: number;
|
|
463
464
|
updated_at_millis: number;
|
|
464
465
|
tsx_source: string;
|
|
465
466
|
theme_id: string | null;
|
|
@@ -489,25 +490,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
489
490
|
text: string | null;
|
|
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
496
|
id: string;
|
|
497
|
+
status: "sent";
|
|
498
498
|
subject: string;
|
|
499
|
+
created_at_millis: number;
|
|
500
|
+
notification_category_id: string | null;
|
|
499
501
|
to: {
|
|
500
|
-
user_id: string;
|
|
501
502
|
type: "user-primary-email";
|
|
502
|
-
} | {
|
|
503
503
|
user_id: string;
|
|
504
|
+
} | {
|
|
504
505
|
type: "user-custom-emails";
|
|
506
|
+
user_id: string;
|
|
505
507
|
emails: string[];
|
|
506
508
|
} | {
|
|
507
509
|
type: "custom-emails";
|
|
508
510
|
emails: string[];
|
|
509
511
|
};
|
|
510
|
-
created_at_millis: number;
|
|
511
512
|
updated_at_millis: number;
|
|
512
513
|
tsx_source: string;
|
|
513
514
|
theme_id: string | null;
|
|
@@ -537,26 +538,26 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
537
538
|
text: string | null;
|
|
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
545
|
id: string;
|
|
546
|
+
status: "opened";
|
|
547
547
|
subject: string;
|
|
548
|
+
created_at_millis: number;
|
|
549
|
+
notification_category_id: string | null;
|
|
548
550
|
to: {
|
|
549
|
-
user_id: string;
|
|
550
551
|
type: "user-primary-email";
|
|
551
|
-
} | {
|
|
552
552
|
user_id: string;
|
|
553
|
+
} | {
|
|
553
554
|
type: "user-custom-emails";
|
|
555
|
+
user_id: string;
|
|
554
556
|
emails: string[];
|
|
555
557
|
} | {
|
|
556
558
|
type: "custom-emails";
|
|
557
559
|
emails: string[];
|
|
558
560
|
};
|
|
559
|
-
created_at_millis: number;
|
|
560
561
|
updated_at_millis: number;
|
|
561
562
|
tsx_source: string;
|
|
562
563
|
theme_id: string | null;
|
|
@@ -586,27 +587,27 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
586
587
|
text: string | null;
|
|
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
595
|
id: string;
|
|
596
|
+
status: "clicked";
|
|
597
597
|
subject: string;
|
|
598
|
+
created_at_millis: number;
|
|
599
|
+
notification_category_id: string | null;
|
|
598
600
|
to: {
|
|
599
|
-
user_id: string;
|
|
600
601
|
type: "user-primary-email";
|
|
601
|
-
} | {
|
|
602
602
|
user_id: string;
|
|
603
|
+
} | {
|
|
603
604
|
type: "user-custom-emails";
|
|
605
|
+
user_id: string;
|
|
604
606
|
emails: string[];
|
|
605
607
|
} | {
|
|
606
608
|
type: "custom-emails";
|
|
607
609
|
emails: string[];
|
|
608
610
|
};
|
|
609
|
-
created_at_millis: number;
|
|
610
611
|
updated_at_millis: number;
|
|
611
612
|
tsx_source: string;
|
|
612
613
|
theme_id: string | null;
|
|
@@ -636,27 +637,27 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
636
637
|
text: string | null;
|
|
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
645
|
id: string;
|
|
646
|
+
status: "marked-as-spam";
|
|
647
647
|
subject: string;
|
|
648
|
+
created_at_millis: number;
|
|
649
|
+
notification_category_id: string | null;
|
|
648
650
|
to: {
|
|
649
|
-
user_id: string;
|
|
650
651
|
type: "user-primary-email";
|
|
651
|
-
} | {
|
|
652
652
|
user_id: string;
|
|
653
|
+
} | {
|
|
653
654
|
type: "user-custom-emails";
|
|
655
|
+
user_id: string;
|
|
654
656
|
emails: string[];
|
|
655
657
|
} | {
|
|
656
658
|
type: "custom-emails";
|
|
657
659
|
emails: string[];
|
|
658
660
|
};
|
|
659
|
-
created_at_millis: number;
|
|
660
661
|
updated_at_millis: number;
|
|
661
662
|
tsx_source: string;
|
|
662
663
|
theme_id: string | null;
|
|
@@ -686,7 +687,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
686
687
|
text: string | null;
|
|
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;
|
|
@@ -696,11 +696,11 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
|
|
|
696
696
|
tsx_source: string | undefined;
|
|
697
697
|
theme_id: string | null | undefined;
|
|
698
698
|
to: {
|
|
699
|
-
user_id: string;
|
|
700
699
|
type: "user-primary-email";
|
|
701
|
-
} | {
|
|
702
700
|
user_id: string;
|
|
701
|
+
} | {
|
|
703
702
|
type: "user-custom-emails";
|
|
703
|
+
user_id: string;
|
|
704
704
|
emails: string[];
|
|
705
705
|
} | {
|
|
706
706
|
type: "custom-emails";
|
|
@@ -723,20 +723,20 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
|
|
|
723
723
|
}, "">;
|
|
724
724
|
declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
725
725
|
serverReadSchema: yup$1.MixedSchema<{
|
|
726
|
-
status: "paused";
|
|
727
726
|
id: string;
|
|
727
|
+
status: "paused";
|
|
728
|
+
created_at_millis: number;
|
|
728
729
|
to: {
|
|
729
|
-
user_id: string;
|
|
730
730
|
type: "user-primary-email";
|
|
731
|
-
} | {
|
|
732
731
|
user_id: string;
|
|
732
|
+
} | {
|
|
733
733
|
type: "user-custom-emails";
|
|
734
|
+
user_id: string;
|
|
734
735
|
emails: string[];
|
|
735
736
|
} | {
|
|
736
737
|
type: "custom-emails";
|
|
737
738
|
emails: string[];
|
|
738
739
|
};
|
|
739
|
-
created_at_millis: number;
|
|
740
740
|
updated_at_millis: number;
|
|
741
741
|
tsx_source: string;
|
|
742
742
|
theme_id: string | null;
|
|
@@ -761,20 +761,20 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
761
761
|
has_rendered: boolean;
|
|
762
762
|
has_delivered: boolean;
|
|
763
763
|
} | {
|
|
764
|
-
status: "preparing";
|
|
765
764
|
id: string;
|
|
765
|
+
status: "preparing";
|
|
766
|
+
created_at_millis: number;
|
|
766
767
|
to: {
|
|
767
|
-
user_id: string;
|
|
768
768
|
type: "user-primary-email";
|
|
769
|
-
} | {
|
|
770
769
|
user_id: string;
|
|
770
|
+
} | {
|
|
771
771
|
type: "user-custom-emails";
|
|
772
|
+
user_id: string;
|
|
772
773
|
emails: string[];
|
|
773
774
|
} | {
|
|
774
775
|
type: "custom-emails";
|
|
775
776
|
emails: string[];
|
|
776
777
|
};
|
|
777
|
-
created_at_millis: number;
|
|
778
778
|
updated_at_millis: number;
|
|
779
779
|
tsx_source: string;
|
|
780
780
|
theme_id: string | null;
|
|
@@ -799,20 +799,20 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
799
799
|
has_rendered: boolean;
|
|
800
800
|
has_delivered: boolean;
|
|
801
801
|
} | {
|
|
802
|
-
status: "rendering";
|
|
803
802
|
id: string;
|
|
803
|
+
status: "rendering";
|
|
804
|
+
created_at_millis: number;
|
|
804
805
|
to: {
|
|
805
|
-
user_id: string;
|
|
806
806
|
type: "user-primary-email";
|
|
807
|
-
} | {
|
|
808
807
|
user_id: string;
|
|
808
|
+
} | {
|
|
809
809
|
type: "user-custom-emails";
|
|
810
|
+
user_id: string;
|
|
810
811
|
emails: string[];
|
|
811
812
|
} | {
|
|
812
813
|
type: "custom-emails";
|
|
813
814
|
emails: string[];
|
|
814
815
|
};
|
|
815
|
-
created_at_millis: number;
|
|
816
816
|
updated_at_millis: number;
|
|
817
817
|
tsx_source: string;
|
|
818
818
|
theme_id: string | null;
|
|
@@ -838,20 +838,20 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
838
838
|
has_delivered: boolean;
|
|
839
839
|
started_rendering_at_millis: number;
|
|
840
840
|
} | {
|
|
841
|
-
status: "render-error";
|
|
842
841
|
id: string;
|
|
842
|
+
status: "render-error";
|
|
843
|
+
created_at_millis: number;
|
|
843
844
|
to: {
|
|
844
|
-
user_id: string;
|
|
845
845
|
type: "user-primary-email";
|
|
846
|
-
} | {
|
|
847
846
|
user_id: string;
|
|
847
|
+
} | {
|
|
848
848
|
type: "user-custom-emails";
|
|
849
|
+
user_id: string;
|
|
849
850
|
emails: string[];
|
|
850
851
|
} | {
|
|
851
852
|
type: "custom-emails";
|
|
852
853
|
emails: string[];
|
|
853
854
|
};
|
|
854
|
-
created_at_millis: number;
|
|
855
855
|
updated_at_millis: number;
|
|
856
856
|
tsx_source: string;
|
|
857
857
|
theme_id: string | null;
|
|
@@ -879,21 +879,22 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
879
879
|
rendered_at_millis: number;
|
|
880
880
|
render_error: string;
|
|
881
881
|
} | {
|
|
882
|
-
status: "scheduled";
|
|
883
882
|
id: string;
|
|
883
|
+
status: "scheduled";
|
|
884
884
|
subject: string;
|
|
885
|
+
created_at_millis: number;
|
|
886
|
+
notification_category_id: string | null;
|
|
885
887
|
to: {
|
|
886
|
-
user_id: string;
|
|
887
888
|
type: "user-primary-email";
|
|
888
|
-
} | {
|
|
889
889
|
user_id: string;
|
|
890
|
+
} | {
|
|
890
891
|
type: "user-custom-emails";
|
|
892
|
+
user_id: string;
|
|
891
893
|
emails: string[];
|
|
892
894
|
} | {
|
|
893
895
|
type: "custom-emails";
|
|
894
896
|
emails: string[];
|
|
895
897
|
};
|
|
896
|
-
created_at_millis: number;
|
|
897
898
|
updated_at_millis: number;
|
|
898
899
|
tsx_source: string;
|
|
899
900
|
theme_id: string | null;
|
|
@@ -923,23 +924,23 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
923
924
|
text: string | null;
|
|
924
925
|
is_transactional: boolean;
|
|
925
926
|
is_high_priority: boolean;
|
|
926
|
-
notification_category_id: string | null;
|
|
927
927
|
} | {
|
|
928
|
-
status: "queued";
|
|
929
928
|
id: string;
|
|
929
|
+
status: "queued";
|
|
930
930
|
subject: string;
|
|
931
|
+
created_at_millis: number;
|
|
932
|
+
notification_category_id: string | null;
|
|
931
933
|
to: {
|
|
932
|
-
user_id: string;
|
|
933
934
|
type: "user-primary-email";
|
|
934
|
-
} | {
|
|
935
935
|
user_id: string;
|
|
936
|
+
} | {
|
|
936
937
|
type: "user-custom-emails";
|
|
938
|
+
user_id: string;
|
|
937
939
|
emails: string[];
|
|
938
940
|
} | {
|
|
939
941
|
type: "custom-emails";
|
|
940
942
|
emails: string[];
|
|
941
943
|
};
|
|
942
|
-
created_at_millis: number;
|
|
943
944
|
updated_at_millis: number;
|
|
944
945
|
tsx_source: string;
|
|
945
946
|
theme_id: string | null;
|
|
@@ -969,23 +970,23 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
969
970
|
text: string | null;
|
|
970
971
|
is_transactional: boolean;
|
|
971
972
|
is_high_priority: boolean;
|
|
972
|
-
notification_category_id: string | null;
|
|
973
973
|
} | {
|
|
974
|
-
status: "sending";
|
|
975
974
|
id: string;
|
|
975
|
+
status: "sending";
|
|
976
976
|
subject: string;
|
|
977
|
+
created_at_millis: number;
|
|
978
|
+
notification_category_id: string | null;
|
|
977
979
|
to: {
|
|
978
|
-
user_id: string;
|
|
979
980
|
type: "user-primary-email";
|
|
980
|
-
} | {
|
|
981
981
|
user_id: string;
|
|
982
|
+
} | {
|
|
982
983
|
type: "user-custom-emails";
|
|
984
|
+
user_id: string;
|
|
983
985
|
emails: string[];
|
|
984
986
|
} | {
|
|
985
987
|
type: "custom-emails";
|
|
986
988
|
emails: string[];
|
|
987
989
|
};
|
|
988
|
-
created_at_millis: number;
|
|
989
990
|
updated_at_millis: number;
|
|
990
991
|
tsx_source: string;
|
|
991
992
|
theme_id: string | null;
|
|
@@ -1015,24 +1016,24 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1015
1016
|
text: string | null;
|
|
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
1021
|
id: string;
|
|
1022
|
+
status: "server-error";
|
|
1023
1023
|
subject: string;
|
|
1024
|
+
created_at_millis: number;
|
|
1025
|
+
notification_category_id: string | null;
|
|
1024
1026
|
to: {
|
|
1025
|
-
user_id: string;
|
|
1026
1027
|
type: "user-primary-email";
|
|
1027
|
-
} | {
|
|
1028
1028
|
user_id: string;
|
|
1029
|
+
} | {
|
|
1029
1030
|
type: "user-custom-emails";
|
|
1031
|
+
user_id: string;
|
|
1030
1032
|
emails: string[];
|
|
1031
1033
|
} | {
|
|
1032
1034
|
type: "custom-emails";
|
|
1033
1035
|
emails: string[];
|
|
1034
1036
|
};
|
|
1035
|
-
created_at_millis: number;
|
|
1036
1037
|
updated_at_millis: number;
|
|
1037
1038
|
tsx_source: string;
|
|
1038
1039
|
theme_id: string | null;
|
|
@@ -1062,34 +1063,33 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1062
1063
|
text: string | null;
|
|
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
|
subject?: string | undefined;
|
|
1071
|
+
notification_category_id?: string | null | undefined;
|
|
1071
1072
|
started_rendering_at_millis?: number | undefined;
|
|
1072
1073
|
rendered_at_millis?: number | undefined;
|
|
1073
1074
|
html?: string | null | undefined;
|
|
1074
1075
|
text?: string | null | 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
|
-
status: "skipped";
|
|
1080
1079
|
id: string;
|
|
1080
|
+
status: "skipped";
|
|
1081
|
+
created_at_millis: number;
|
|
1081
1082
|
to: {
|
|
1082
|
-
user_id: string;
|
|
1083
1083
|
type: "user-primary-email";
|
|
1084
|
-
} | {
|
|
1085
1084
|
user_id: string;
|
|
1085
|
+
} | {
|
|
1086
1086
|
type: "user-custom-emails";
|
|
1087
|
+
user_id: string;
|
|
1087
1088
|
emails: string[];
|
|
1088
1089
|
} | {
|
|
1089
1090
|
type: "custom-emails";
|
|
1090
1091
|
emails: string[];
|
|
1091
1092
|
};
|
|
1092
|
-
created_at_millis: number;
|
|
1093
1093
|
updated_at_millis: number;
|
|
1094
1094
|
tsx_source: string;
|
|
1095
1095
|
theme_id: string | null;
|
|
@@ -1117,21 +1117,22 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1117
1117
|
skipped_reason: string;
|
|
1118
1118
|
skipped_details: Record<string, {} | null>;
|
|
1119
1119
|
} | {
|
|
1120
|
-
status: "bounced";
|
|
1121
1120
|
id: string;
|
|
1121
|
+
status: "bounced";
|
|
1122
1122
|
subject: string;
|
|
1123
|
+
created_at_millis: number;
|
|
1124
|
+
notification_category_id: string | null;
|
|
1123
1125
|
to: {
|
|
1124
|
-
user_id: string;
|
|
1125
1126
|
type: "user-primary-email";
|
|
1126
|
-
} | {
|
|
1127
1127
|
user_id: string;
|
|
1128
|
+
} | {
|
|
1128
1129
|
type: "user-custom-emails";
|
|
1130
|
+
user_id: string;
|
|
1129
1131
|
emails: string[];
|
|
1130
1132
|
} | {
|
|
1131
1133
|
type: "custom-emails";
|
|
1132
1134
|
emails: string[];
|
|
1133
1135
|
};
|
|
1134
|
-
created_at_millis: number;
|
|
1135
1136
|
updated_at_millis: number;
|
|
1136
1137
|
tsx_source: string;
|
|
1137
1138
|
theme_id: string | null;
|
|
@@ -1161,25 +1162,25 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1161
1162
|
text: string | null;
|
|
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
1168
|
id: string;
|
|
1169
|
+
status: "delivery-delayed";
|
|
1170
1170
|
subject: string;
|
|
1171
|
+
created_at_millis: number;
|
|
1172
|
+
notification_category_id: string | null;
|
|
1171
1173
|
to: {
|
|
1172
|
-
user_id: string;
|
|
1173
1174
|
type: "user-primary-email";
|
|
1174
|
-
} | {
|
|
1175
1175
|
user_id: string;
|
|
1176
|
+
} | {
|
|
1176
1177
|
type: "user-custom-emails";
|
|
1178
|
+
user_id: string;
|
|
1177
1179
|
emails: string[];
|
|
1178
1180
|
} | {
|
|
1179
1181
|
type: "custom-emails";
|
|
1180
1182
|
emails: string[];
|
|
1181
1183
|
};
|
|
1182
|
-
created_at_millis: number;
|
|
1183
1184
|
updated_at_millis: number;
|
|
1184
1185
|
tsx_source: string;
|
|
1185
1186
|
theme_id: string | null;
|
|
@@ -1209,25 +1210,25 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1209
1210
|
text: string | null;
|
|
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
1216
|
id: string;
|
|
1217
|
+
status: "sent";
|
|
1218
1218
|
subject: string;
|
|
1219
|
+
created_at_millis: number;
|
|
1220
|
+
notification_category_id: string | null;
|
|
1219
1221
|
to: {
|
|
1220
|
-
user_id: string;
|
|
1221
1222
|
type: "user-primary-email";
|
|
1222
|
-
} | {
|
|
1223
1223
|
user_id: string;
|
|
1224
|
+
} | {
|
|
1224
1225
|
type: "user-custom-emails";
|
|
1226
|
+
user_id: string;
|
|
1225
1227
|
emails: string[];
|
|
1226
1228
|
} | {
|
|
1227
1229
|
type: "custom-emails";
|
|
1228
1230
|
emails: string[];
|
|
1229
1231
|
};
|
|
1230
|
-
created_at_millis: number;
|
|
1231
1232
|
updated_at_millis: number;
|
|
1232
1233
|
tsx_source: string;
|
|
1233
1234
|
theme_id: string | null;
|
|
@@ -1257,26 +1258,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1257
1258
|
text: string | null;
|
|
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
1265
|
id: string;
|
|
1266
|
+
status: "opened";
|
|
1267
1267
|
subject: string;
|
|
1268
|
+
created_at_millis: number;
|
|
1269
|
+
notification_category_id: string | null;
|
|
1268
1270
|
to: {
|
|
1269
|
-
user_id: string;
|
|
1270
1271
|
type: "user-primary-email";
|
|
1271
|
-
} | {
|
|
1272
1272
|
user_id: string;
|
|
1273
|
+
} | {
|
|
1273
1274
|
type: "user-custom-emails";
|
|
1275
|
+
user_id: string;
|
|
1274
1276
|
emails: string[];
|
|
1275
1277
|
} | {
|
|
1276
1278
|
type: "custom-emails";
|
|
1277
1279
|
emails: string[];
|
|
1278
1280
|
};
|
|
1279
|
-
created_at_millis: number;
|
|
1280
1281
|
updated_at_millis: number;
|
|
1281
1282
|
tsx_source: string;
|
|
1282
1283
|
theme_id: string | null;
|
|
@@ -1306,27 +1307,27 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1306
1307
|
text: string | null;
|
|
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
1315
|
id: string;
|
|
1316
|
+
status: "clicked";
|
|
1317
1317
|
subject: string;
|
|
1318
|
+
created_at_millis: number;
|
|
1319
|
+
notification_category_id: string | null;
|
|
1318
1320
|
to: {
|
|
1319
|
-
user_id: string;
|
|
1320
1321
|
type: "user-primary-email";
|
|
1321
|
-
} | {
|
|
1322
1322
|
user_id: string;
|
|
1323
|
+
} | {
|
|
1323
1324
|
type: "user-custom-emails";
|
|
1325
|
+
user_id: string;
|
|
1324
1326
|
emails: string[];
|
|
1325
1327
|
} | {
|
|
1326
1328
|
type: "custom-emails";
|
|
1327
1329
|
emails: string[];
|
|
1328
1330
|
};
|
|
1329
|
-
created_at_millis: number;
|
|
1330
1331
|
updated_at_millis: number;
|
|
1331
1332
|
tsx_source: string;
|
|
1332
1333
|
theme_id: string | null;
|
|
@@ -1356,27 +1357,27 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1356
1357
|
text: string | null;
|
|
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
1365
|
id: string;
|
|
1366
|
+
status: "marked-as-spam";
|
|
1367
1367
|
subject: string;
|
|
1368
|
+
created_at_millis: number;
|
|
1369
|
+
notification_category_id: string | null;
|
|
1368
1370
|
to: {
|
|
1369
|
-
user_id: string;
|
|
1370
1371
|
type: "user-primary-email";
|
|
1371
|
-
} | {
|
|
1372
1372
|
user_id: string;
|
|
1373
|
+
} | {
|
|
1373
1374
|
type: "user-custom-emails";
|
|
1375
|
+
user_id: string;
|
|
1374
1376
|
emails: string[];
|
|
1375
1377
|
} | {
|
|
1376
1378
|
type: "custom-emails";
|
|
1377
1379
|
emails: string[];
|
|
1378
1380
|
};
|
|
1379
|
-
created_at_millis: number;
|
|
1380
1381
|
updated_at_millis: number;
|
|
1381
1382
|
tsx_source: string;
|
|
1382
1383
|
theme_id: string | null;
|
|
@@ -1406,7 +1407,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1406
1407
|
text: string | null;
|
|
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;
|
|
@@ -1416,11 +1416,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1416
1416
|
tsx_source: string | undefined;
|
|
1417
1417
|
theme_id: string | null | undefined;
|
|
1418
1418
|
to: {
|
|
1419
|
-
user_id: string;
|
|
1420
1419
|
type: "user-primary-email";
|
|
1421
|
-
} | {
|
|
1422
1420
|
user_id: string;
|
|
1421
|
+
} | {
|
|
1423
1422
|
type: "user-custom-emails";
|
|
1423
|
+
user_id: string;
|
|
1424
1424
|
emails: string[];
|
|
1425
1425
|
} | {
|
|
1426
1426
|
type: "custom-emails";
|