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